diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/bug-report.yml
index bbcfb4a42e6..970bdc494c4 100644
--- a/.github/ISSUE_TEMPLATE/bug-report.yml
+++ b/.github/ISSUE_TEMPLATE/bug-report.yml
@@ -12,6 +12,14 @@ body:
description: What is the problem? A clear and concise description of the bug.
validations:
required: true
+ - type: checkboxes
+ id: regression
+ attributes:
+ label: Regression Issue
+ description: What is a regression? If it worked in a previous version but doesn't in the latest version, it's considered a regression. In this case, please provide specific version number in the report.
+ options:
+ - label: Select this option if this issue appears to be a regression.
+ required: false
- type: textarea
id: expected
attributes:
diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml
index c2eca8092d6..ff9a700acee 100644
--- a/.github/workflows/changelog.yml
+++ b/.github/workflows/changelog.yml
@@ -10,7 +10,7 @@ jobs:
steps:
- name: Get changed files
id: changed-files
- uses: tj-actions/changed-files@e9772d140489982e0e3704fea5ee93d536f1e275
+ uses: tj-actions/changed-files@48d8f15b2aaa3d255ca5af3eba4870f807ce6b3c
with:
githubToken: ${{ secrets.GITHUB_TOKEN }}
diff --git a/.github/workflows/issue-regression-labeler.yml b/.github/workflows/issue-regression-labeler.yml
new file mode 100644
index 00000000000..bd000719d10
--- /dev/null
+++ b/.github/workflows/issue-regression-labeler.yml
@@ -0,0 +1,32 @@
+# Apply potential regression label on issues
+name: issue-regression-label
+on:
+ issues:
+ types: [opened, edited]
+jobs:
+ add-regression-label:
+ runs-on: ubuntu-latest
+ permissions:
+ issues: write
+ steps:
+ - name: Fetch template body
+ id: check_regression
+ uses: actions/github-script@v7
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ TEMPLATE_BODY: ${{ github.event.issue.body }}
+ with:
+ script: |
+ const regressionPattern = /\[x\] Select this option if this issue appears to be a regression\./i;
+ const template = `${process.env.TEMPLATE_BODY}`
+ const match = regressionPattern.test(template);
+ core.setOutput('is_regression', match);
+ - name: Manage regression label
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: |
+ if [ "${{ steps.check_regression.outputs.is_regression }}" == "true" ]; then
+ gh issue edit ${{ github.event.issue.number }} --add-label "potential-regression" -R ${{ github.repository }}
+ else
+ gh issue edit ${{ github.event.issue.number }} --remove-label "potential-regression" -R ${{ github.repository }}
+ fi
diff --git a/README.md b/README.md
index 4cb4af5ef1f..eed9697d7eb 100644
--- a/README.md
+++ b/README.md
@@ -355,6 +355,7 @@ RubyGems.org page under "LINKS" section.
| AWS Device Farm | Aws::DeviceFarm | aws-sdk-devicefarm | 2015-06-23 |
| AWS Direct Connect | Aws::DirectConnect | aws-sdk-directconnect | 2012-10-25 |
| AWS Directory Service | Aws::DirectoryService | aws-sdk-directoryservice | 2015-04-16 |
+| AWS Directory Service Data | Aws::DirectoryServiceData | aws-sdk-directoryservicedata | 2023-05-31 |
| AWS EC2 Instance Connect | Aws::EC2InstanceConnect | aws-sdk-ec2instanceconnect | 2018-04-02 |
| AWS Elastic Beanstalk | Aws::ElasticBeanstalk | aws-sdk-elasticbeanstalk | 2010-12-01 |
| AWS Elemental MediaConvert | Aws::MediaConvert | aws-sdk-mediaconvert | 2017-08-29 |
@@ -527,7 +528,6 @@ RubyGems.org page under "LINKS" section.
| Amazon DynamoDB | Aws::DynamoDB | aws-sdk-dynamodb | 2012-08-10 |
| Amazon DynamoDB Accelerator (DAX) | Aws::DAX | aws-sdk-dax | 2017-04-19 |
| Amazon DynamoDB Streams | Aws::DynamoDBStreams | aws-sdk-dynamodbstreams | 2012-08-10 |
-| Amazon EC2 Container Registry | Aws::ECR | aws-sdk-ecr | 2015-09-21 |
| Amazon EC2 Container Service | Aws::ECS | aws-sdk-ecs | 2014-11-13 |
| Amazon EKS Auth | Aws::EKSAuth | aws-sdk-eksauth | 2023-11-26 |
| Amazon EMR | Aws::EMR | aws-sdk-emr | 2009-03-31 |
@@ -536,6 +536,7 @@ RubyGems.org page under "LINKS" section.
| Amazon Elastic Inference | Aws::ElasticInference | aws-sdk-elasticinference | 2017-07-25 |
| Amazon Elastic Block Store | Aws::EBS | aws-sdk-ebs | 2019-11-02 |
| Amazon Elastic Compute Cloud | Aws::EC2 | aws-sdk-ec2 | 2016-11-15 |
+| Amazon Elastic Container Registry | Aws::ECR | aws-sdk-ecr | 2015-09-21 |
| Amazon Elastic Container Registry Public | Aws::ECRPublic | aws-sdk-ecrpublic | 2020-10-30 |
| Amazon Elastic File System | Aws::EFS | aws-sdk-efs | 2015-02-01 |
| Amazon Elastic Kubernetes Service | Aws::EKS | aws-sdk-eks | 2017-11-01 |
@@ -636,7 +637,6 @@ RubyGems.org page under "LINKS" section.
| Amazon Verified Permissions | Aws::VerifiedPermissions | aws-sdk-verifiedpermissions | 2021-12-01 |
| Amazon Voice ID | Aws::VoiceID | aws-sdk-voiceid | 2021-09-27 |
| Amazon WorkDocs | Aws::WorkDocs | aws-sdk-workdocs | 2016-05-01 |
-| Amazon WorkLink | Aws::WorkLink | aws-sdk-worklink | 2018-09-25 |
| Amazon WorkMail | Aws::WorkMail | aws-sdk-workmail | 2017-10-01 |
| Amazon WorkMail Message Flow | Aws::WorkMailMessageFlow | aws-sdk-workmailmessageflow | 2019-05-01 |
| Amazon WorkSpaces | Aws::WorkSpaces | aws-sdk-workspaces | 2015-04-08 |
diff --git a/apis/amplify/2017-07-25/docs-2.json b/apis/amplify/2017-07-25/docs-2.json
index 00f2f0ab980..1b129407708 100644
--- a/apis/amplify/2017-07-25/docs-2.json
+++ b/apis/amplify/2017-07-25/docs-2.json
@@ -1124,9 +1124,9 @@
"Platform": {
"base": null,
"refs": {
- "App$platform": "
The platform for the Amplify app. For a static app, set the platform type to WEB
. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.
",
- "CreateAppRequest$platform": "The platform for the Amplify app. For a static app, set the platform type to WEB
. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.
",
- "UpdateAppRequest$platform": "The platform for the Amplify app. For a static app, set the platform type to WEB
. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.
"
+ "App$platform": "The platform for the Amplify app. For a static app, set the platform type to WEB
. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.
If you are deploying an SSG only app with Next.js 14 or later, you must use the platform type WEB_COMPUTE
.
",
+ "CreateAppRequest$platform": "The platform for the Amplify app. For a static app, set the platform type to WEB
. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.
If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to WEB_COMPUTE
and set the artifacts baseDirectory
to .next
in the application's build settings. For an example of the build specification settings, see Amplify build settings for a Next.js 14 SSG application in the Amplify Hosting User Guide.
",
+ "UpdateAppRequest$platform": "The platform for the Amplify app. For a static app, set the platform type to WEB
. For a dynamic server-side rendered (SSR) app, set the platform type to WEB_COMPUTE
. For an app requiring Amplify Hosting's original SSR support only, set the platform type to WEB_DYNAMIC
.
If you are deploying an SSG only app with Next.js version 14 or later, you must set the platform type to WEB_COMPUTE
.
"
}
},
"ProductionBranch": {
diff --git a/apis/bedrock-agent-runtime/2023-07-26/api-2.json b/apis/bedrock-agent-runtime/2023-07-26/api-2.json
index 821152e72ab..b02114cbdc8 100644
--- a/apis/bedrock-agent-runtime/2023-07-26/api-2.json
+++ b/apis/bedrock-agent-runtime/2023-07-26/api-2.json
@@ -293,9 +293,9 @@
},
"BedrockModelArn":{
"type":"string",
- "max":1011,
- "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}))$"
+ "max":2048,
+ "min":1,
+ "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}))))|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)$"
},
"Boolean":{
"type":"boolean",
diff --git a/apis/bedrock-agent-runtime/2023-07-26/docs-2.json b/apis/bedrock-agent-runtime/2023-07-26/docs-2.json
index 7bd9b8b960f..eebf3f1bab1 100644
--- a/apis/bedrock-agent-runtime/2023-07-26/docs-2.json
+++ b/apis/bedrock-agent-runtime/2023-07-26/docs-2.json
@@ -7,7 +7,7 @@
"InvokeAgent": " The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeAgent
.
Sends a prompt for the agent to process and respond to. Note the following fields for the request:
-
To continue the same conversation with an agent, use the same sessionId
value in the request.
-
To activate trace enablement, turn enableTrace
to true
. Trace enablement helps you follow the agent's reasoning process that led it to the information it processed, the actions it took, and the final result it yielded. For more information, see Trace enablement.
-
End a conversation by setting endSession
to true
.
-
In the sessionState
object, you can include attributes for the session or prompt or, if you configured an action group to return control, results from invocation of the action group.
The response is returned in the bytes
field of the chunk
object.
-
The attribution
object contains citations for parts of the response.
-
If you set enableTrace
to true
in the request, you can trace the agent's steps and reasoning process that led it to the response.
-
If the action predicted was configured to return control, the response returns parameters for the action, elicited from the user, in the returnControl
field.
-
Errors are also surfaced in the response.
",
"InvokeFlow": "Invokes an alias of a flow to run the inputs that you specify and return the output of each node as a stream. If there's an error, the error is returned. For more information, see Test a flow in Amazon Bedrock in the Amazon Bedrock User Guide.
The CLI doesn't support streaming operations in Amazon Bedrock, including InvokeFlow
.
",
"Retrieve": "Queries a knowledge base and retrieves information from it.
",
- "RetrieveAndGenerate": "Queries a knowledge base and generates responses based on the retrieved results. The response only cites sources that are relevant to the query.
"
+ "RetrieveAndGenerate": "Queries a knowledge base and generates responses based on the retrieved results and using the specified foundation model or inference profile. The response only cites sources that are relevant to the query.
"
},
"shapes": {
"AccessDeniedException": {
@@ -152,7 +152,7 @@
"base": null,
"refs": {
"ExternalSourcesRetrieveAndGenerateConfiguration$modelArn": "The modelArn used with the external source wrapper object in the retrieveAndGenerate function.
",
- "KnowledgeBaseRetrieveAndGenerateConfiguration$modelArn": "The ARN of the foundation model used to generate a response.
"
+ "KnowledgeBaseRetrieveAndGenerateConfiguration$modelArn": "The ARN of the foundation model or inference profile used to generate a response.
"
}
},
"Boolean": {
@@ -847,7 +847,7 @@
"base": null,
"refs": {
"KnowledgeBaseConfiguration$knowledgeBaseId": "The unique identifier for a knowledge base attached to the agent.
",
- "KnowledgeBaseRetrieveAndGenerateConfiguration$knowledgeBaseId": "The unique identifier of the knowledge base that is queried and the foundation model used for generation.
",
+ "KnowledgeBaseRetrieveAndGenerateConfiguration$knowledgeBaseId": "The unique identifier of the knowledge base that is queried.
",
"RetrieveRequest$knowledgeBaseId": "The unique identifier of the knowledge base to query.
"
}
},
diff --git a/apis/bedrock-agent/2023-06-05/api-2.json b/apis/bedrock-agent/2023-06-05/api-2.json
index 761f9aff43c..c1ec81f6fae 100644
--- a/apis/bedrock-agent/2023-06-05/api-2.json
+++ b/apis/bedrock-agent/2023-06-05/api-2.json
@@ -1575,7 +1575,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})$"
+ "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-:.]+)$"
},
"Boolean":{
"type":"boolean",
diff --git a/apis/bedrock-agent/2023-06-05/docs-2.json b/apis/bedrock-agent/2023-06-05/docs-2.json
index 797b3210b39..462c119bd3b 100644
--- a/apis/bedrock-agent/2023-06-05/docs-2.json
+++ b/apis/bedrock-agent/2023-06-05/docs-2.json
@@ -318,7 +318,7 @@
}
},
"BedrockFoundationModelConfiguration": {
- "base": "Settings for a foundation model used to parse documents for a data source.
",
+ "base": "Settings for a foundation model or inference profile used to parse documents for a data source.
",
"refs": {
"ParsingConfiguration$bedrockFoundationModelConfiguration": "Settings for a foundation model used to parse documents for a data source.
"
}
@@ -326,7 +326,7 @@
"BedrockModelArn": {
"base": null,
"refs": {
- "BedrockFoundationModelConfiguration$modelArn": "The model's ARN.
"
+ "BedrockFoundationModelConfiguration$modelArn": "The ARN of the foundation model or inference profile.
"
}
},
"Boolean": {
@@ -2217,7 +2217,7 @@
}
},
"ParsingConfiguration": {
- "base": "Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.
To use a model to parse PDF documents, set the parsing strategy to BEDROCK_FOUNDATION_MODEL
and specify the model to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported.
You can get the ARN of a model with the ListFoundationModels action. Standard model usage charges apply for the foundation model parsing strategy.
",
+ "base": "Settings for parsing document contents. By default, the service converts the contents of each document into text before splitting it into chunks. To improve processing of PDF files with tables and images, you can configure the data source to convert the pages of text into images and use a model to describe the contents of each page.
To use a model to parse PDF documents, set the parsing strategy to BEDROCK_FOUNDATION_MODEL
and specify the model or inference profile to use by ARN. You can also override the default parsing prompt with instructions for how to interpret images and tables in your documents. The following models are supported.
You can get the ARN of a model with the ListFoundationModels action. Standard model usage charges apply for the foundation model parsing strategy.
",
"refs": {
"VectorIngestionConfiguration$parsingConfiguration": "A custom parser for data source documents.
"
}
diff --git a/apis/bedrock/2023-04-20/api-2.json b/apis/bedrock/2023-04-20/api-2.json
index 8687e4d5324..01b7754412d 100644
--- a/apis/bedrock/2023-04-20/api-2.json
+++ b/apis/bedrock/2023-04-20/api-2.json
@@ -1161,6 +1161,7 @@
"modelId":{"shape":"ModelId"},
"inputDataConfig":{"shape":"ModelInvocationJobInputDataConfig"},
"outputDataConfig":{"shape":"ModelInvocationJobOutputDataConfig"},
+ "vpcConfig":{"shape":"VpcConfig"},
"timeoutDurationInHours":{"shape":"ModelInvocationJobTimeoutDurationInHours"},
"tags":{"shape":"TagList"}
}
@@ -1977,6 +1978,7 @@
"endTime":{"shape":"Timestamp"},
"inputDataConfig":{"shape":"ModelInvocationJobInputDataConfig"},
"outputDataConfig":{"shape":"ModelInvocationJobOutputDataConfig"},
+ "vpcConfig":{"shape":"VpcConfig"},
"timeoutDurationInHours":{"shape":"ModelInvocationJobTimeoutDurationInHours"},
"jobExpirationTime":{"shape":"Timestamp"}
}
@@ -3576,7 +3578,8 @@
"required":["s3Uri"],
"members":{
"s3InputFormat":{"shape":"S3InputFormat"},
- "s3Uri":{"shape":"S3Uri"}
+ "s3Uri":{"shape":"S3Uri"},
+ "s3BucketOwner":{"shape":"AccountId"}
}
},
"ModelInvocationJobS3OutputDataConfig":{
@@ -3584,7 +3587,8 @@
"required":["s3Uri"],
"members":{
"s3Uri":{"shape":"S3Uri"},
- "s3EncryptionKeyId":{"shape":"KmsKeyId"}
+ "s3EncryptionKeyId":{"shape":"KmsKeyId"},
+ "s3BucketOwner":{"shape":"AccountId"}
}
},
"ModelInvocationJobStatus":{
@@ -3630,6 +3634,7 @@
"endTime":{"shape":"Timestamp"},
"inputDataConfig":{"shape":"ModelInvocationJobInputDataConfig"},
"outputDataConfig":{"shape":"ModelInvocationJobOutputDataConfig"},
+ "vpcConfig":{"shape":"VpcConfig"},
"timeoutDurationInHours":{"shape":"ModelInvocationJobTimeoutDurationInHours"},
"jobExpirationTime":{"shape":"Timestamp"}
}
diff --git a/apis/bedrock/2023-04-20/docs-2.json b/apis/bedrock/2023-04-20/docs-2.json
index 4a18670183c..0591d28c8b3 100644
--- a/apis/bedrock/2023-04-20/docs-2.json
+++ b/apis/bedrock/2023-04-20/docs-2.json
@@ -61,7 +61,9 @@
"CustomModelSummary$ownerAccountId": "The unique identifier of the account that owns the model.
",
"GetModelCopyJobResponse$sourceAccountId": "The unique identifier of the account that the model being copied originated from.
",
"ListModelCopyJobsRequest$sourceAccountEquals": "Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.
",
- "ModelCopyJobSummary$sourceAccountId": "The unique identifier of the account that the model being copied originated from.
"
+ "ModelCopyJobSummary$sourceAccountId": "The unique identifier of the account that the model being copied originated from.
",
+ "ModelInvocationJobS3InputDataConfig$s3BucketOwner": "The ID of the Amazon Web Services account that owns the S3 bucket containing the input data.
",
+ "ModelInvocationJobS3OutputDataConfig$s3BucketOwner": "The ID of the Amazon Web Services account that owns the S3 bucket containing the output data.
"
}
},
"AutomatedEvaluationConfig": {
@@ -1816,7 +1818,7 @@
}
},
"ModelInvocationJobS3InputDataConfig": {
- "base": "Contains the configuration of the S3 location of the output data.
",
+ "base": "Contains the configuration of the S3 location of the input data.
",
"refs": {
"ModelInvocationJobInputDataConfig$s3InputDataConfig": "Contains the configuration of the S3 location of the input data.
"
}
@@ -2062,7 +2064,7 @@
"SecurityGroupIds": {
"base": null,
"refs": {
- "VpcConfig$securityGroupIds": "VPC configuration security group Ids.
"
+ "VpcConfig$securityGroupIds": "An array of IDs for each security group in the VPC to use.
"
}
},
"ServiceQuotaExceededException": {
@@ -2155,7 +2157,7 @@
"SubnetIds": {
"base": null,
"refs": {
- "VpcConfig$subnetIds": "VPC configuration subnets.
"
+ "VpcConfig$subnetIds": "An array of IDs for each subnet in the VPC to use.
"
}
},
"Tag": {
@@ -2380,12 +2382,15 @@
}
},
"VpcConfig": {
- "base": "VPC configuration.
",
+ "base": "The configuration of a virtual private cloud (VPC). For more information, see Protect your data using Amazon Virtual Private Cloud and Amazon Web Services PrivateLink.
",
"refs": {
- "CreateModelCustomizationJobRequest$vpcConfig": "VPC configuration (optional). Configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for this job.
",
+ "CreateModelCustomizationJobRequest$vpcConfig": "The configuration of the Virtual Private Cloud (VPC) that contains the resources that you're using for this job. For more information, see Protect your model customization jobs using a VPC.
",
"CreateModelImportJobRequest$vpcConfig": "VPC configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.
",
+ "CreateModelInvocationJobRequest$vpcConfig": "The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.
",
"GetModelCustomizationJobResponse$vpcConfig": "VPC configuration for the custom model job.
",
- "GetModelImportJobResponse$vpcConfig": "The Virtual Private Cloud (VPC) configuration of the import model job.
"
+ "GetModelImportJobResponse$vpcConfig": "The Virtual Private Cloud (VPC) configuration of the import model job.
",
+ "GetModelInvocationJobResponse$vpcConfig": "The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.
",
+ "ModelInvocationJobSummary$vpcConfig": "The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see Protect batch inference jobs using a VPC.
"
}
}
}
diff --git a/apis/ce/2017-10-25/api-2.json b/apis/ce/2017-10-25/api-2.json
index 25918b5079c..e52227458b3 100644
--- a/apis/ce/2017-10-25/api-2.json
+++ b/apis/ce/2017-10-25/api-2.json
@@ -1274,6 +1274,13 @@
"DiskWriteBytesPerSecond":{"shape":"GenericString"}
}
},
+ "DynamoDBCapacityDetails":{
+ "type":"structure",
+ "members":{
+ "CapacityUnits":{"shape":"GenericString"},
+ "Region":{"shape":"GenericString"}
+ }
+ },
"EBSResourceUtilization":{
"type":"structure",
"members":{
@@ -2439,7 +2446,12 @@
"EstimatedMonthlyOnDemandCost":{"shape":"GenericString"},
"EstimatedReservationCostForLookbackPeriod":{"shape":"GenericString"},
"UpfrontCost":{"shape":"GenericString"},
- "RecurringStandardMonthlyCost":{"shape":"GenericString"}
+ "RecurringStandardMonthlyCost":{"shape":"GenericString"},
+ "ReservedCapacityDetails":{"shape":"ReservedCapacityDetails"},
+ "RecommendedNumberOfCapacityUnitsToPurchase":{"shape":"GenericString"},
+ "MinimumNumberOfCapacityUnitsUsedPerHour":{"shape":"GenericString"},
+ "MaximumNumberOfCapacityUnitsUsedPerHour":{"shape":"GenericString"},
+ "AverageNumberOfCapacityUnitsUsedPerHour":{"shape":"GenericString"}
}
},
"ReservationPurchaseRecommendationDetails":{
@@ -2479,6 +2491,12 @@
"type":"list",
"member":{"shape":"ReservationUtilizationGroup"}
},
+ "ReservedCapacityDetails":{
+ "type":"structure",
+ "members":{
+ "DynamoDBCapacityDetails":{"shape":"DynamoDBCapacityDetails"}
+ }
+ },
"ReservedHours":{"type":"string"},
"ReservedNormalizedUnits":{"type":"string"},
"ResourceDetails":{
diff --git a/apis/ce/2017-10-25/docs-2.json b/apis/ce/2017-10-25/docs-2.json
index e3050c3f9f5..bcb7a2e68fd 100644
--- a/apis/ce/2017-10-25/docs-2.json
+++ b/apis/ce/2017-10-25/docs-2.json
@@ -198,7 +198,7 @@
"Context": {
"base": null,
"refs": {
- "GetDimensionValuesRequest$Context": "The context for the call to GetDimensionValues
. This can be RESERVATIONS
or COST_AND_USAGE
. The default value is COST_AND_USAGE
. If the context is set to RESERVATIONS
, the resulting dimension values can be used in the GetReservationUtilization
operation. If the context is set to COST_AND_USAGE
, the resulting dimension values can be used in the GetCostAndUsage
operation.
If you set the context to COST_AND_USAGE
, you can use the following dimensions for searching:
-
AZ - The Availability Zone. An example is us-east-1a
.
-
BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following:
- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Services.
- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting reseller for Amazon Web Services in India.
- Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on Amazon Web Services by third-party software providers.
-
CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
-
DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ
and MultiAZ
.
-
DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL.
-
INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge
.
-
INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use cases. Examples are Compute Optimized
(for example, C4
, C5
, C6g
, and C7g
), Memory Optimization
(for example, R4
, R5n
, R5b
, and R6g
).
-
INVOICING_ENTITY - The name of the entity that issues the Amazon Web Services invoice.
-
LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.
-
LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
-
OPERATING_SYSTEM - The operating system. Examples are Windows or Linux.
-
OPERATION - The action performed. Examples include RunInstance
and CreateBucket
.
-
PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
-
PURCHASE_TYPE - The reservation type of the purchase that this usage is related to. Examples include On-Demand Instances and Standard Reserved Instances.
-
RESERVATION_ID - The unique identifier for an Amazon Web Services Reservation Instance.
-
SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
-
SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute).
-
SERVICE - The Amazon Web Services service such as Amazon DynamoDB.
-
TENANCY - The tenancy of a resource. Examples are shared or dedicated.
-
USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues
operation includes a unit attribute. Examples include GB and Hrs.
-
USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute.
-
REGION - The Amazon Web Services Region.
-
RECORD_TYPE - The different types of charges such as Reserved Instance (RI) fees, usage costs, tax refunds, and credits.
-
RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.
If you set the context to RESERVATIONS
, you can use the following dimensions for searching:
-
AZ - The Availability Zone. An example is us-east-1a
.
-
CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
-
DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ
and MultiAZ
.
-
INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge
.
-
LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
-
PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
-
REGION - The Amazon Web Services Region.
-
SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone.
-
TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI).
-
TENANCY - The tenancy of a resource. Examples are shared or dedicated.
If you set the context to SAVINGS_PLANS
, you can use the following dimensions for searching:
-
SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)
-
PAYMENT_OPTION - The payment option for the given Savings Plans (for example, All Upfront)
-
REGION - The Amazon Web Services Region.
-
INSTANCE_TYPE_FAMILY - The family of instances (For example, m5
)
-
LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
-
SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
"
+ "GetDimensionValuesRequest$Context": "The context for the call to GetDimensionValues
. This can be RESERVATIONS
or COST_AND_USAGE
. The default value is COST_AND_USAGE
. If the context is set to RESERVATIONS
, the resulting dimension values can be used in the GetReservationUtilization
operation. If the context is set to COST_AND_USAGE
, the resulting dimension values can be used in the GetCostAndUsage
operation.
If you set the context to COST_AND_USAGE
, you can use the following dimensions for searching:
-
AZ - The Availability Zone. An example is us-east-1a
.
-
BILLING_ENTITY - The Amazon Web Services seller that your account is with. Possible values are the following:
- Amazon Web Services(Amazon Web Services): The entity that sells Amazon Web Servicesservices.
- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian entity that's an acting reseller for Amazon Web Servicesservices in India.
- Amazon Web Services Marketplace: The entity that supports the sale of solutions that are built on Amazon Web Services by third-party software providers.
-
CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
-
DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ
and MultiAZ
.
-
DATABASE_ENGINE - The Amazon Relational Database Service database. Examples are Aurora or MySQL.
-
INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge
.
-
INSTANCE_TYPE_FAMILY - A family of instance types optimized to fit different use cases. Examples are Compute Optimized
(for example, C4
, C5
, C6g
, and C7g
), Memory Optimization
(for example, R4
, R5n
, R5b
, and R6g
).
-
INVOICING_ENTITY - The name of the entity that issues the Amazon Web Services invoice.
-
LEGAL_ENTITY_NAME - The name of the organization that sells you Amazon Web Services services, such as Amazon Web Services.
-
LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
-
OPERATING_SYSTEM - The operating system. Examples are Windows or Linux.
-
OPERATION - The action performed. Examples include RunInstance
and CreateBucket
.
-
PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
-
PURCHASE_TYPE - The reservation type of the purchase that this usage is related to. Examples include On-Demand Instances and Standard Reserved Instances.
-
RESERVATION_ID - The unique identifier for an Amazon Web Services Reservation Instance.
-
SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
-
SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute).
-
SERVICE - The Amazon Web Services service such as Amazon DynamoDB.
-
TENANCY - The tenancy of a resource. Examples are shared or dedicated.
-
USAGE_TYPE - The type of usage. An example is DataTransfer-In-Bytes. The response for the GetDimensionValues
operation includes a unit attribute. Examples include GB and Hrs.
-
USAGE_TYPE_GROUP - The grouping of common usage types. An example is Amazon EC2: CloudWatch – Alarms. The response for this operation includes a unit attribute.
-
REGION - The Amazon Web Services Region.
-
RECORD_TYPE - The different types of charges such as Reserved Instance (RI) fees, usage costs, tax refunds, and credits.
-
RESOURCE_ID - The unique identifier of the resource. ResourceId is an opt-in feature only available for last 14 days for EC2-Compute Service.
If you set the context to RESERVATIONS
, you can use the following dimensions for searching:
-
AZ - The Availability Zone. An example is us-east-1a
.
-
CACHE_ENGINE - The Amazon ElastiCache operating system. Examples are Windows or Linux.
-
DEPLOYMENT_OPTION - The scope of Amazon Relational Database Service deployments. Valid values are SingleAZ
and MultiAZ
.
-
INSTANCE_TYPE - The type of Amazon EC2 instance. An example is m4.xlarge
.
-
LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
-
PLATFORM - The Amazon EC2 operating system. Examples are Windows or Linux.
-
REGION - The Amazon Web Services Region.
-
SCOPE (Utilization only) - The scope of a Reserved Instance (RI). Values are regional or a single Availability Zone.
-
TAG (Coverage only) - The tags that are associated with a Reserved Instance (RI).
-
TENANCY - The tenancy of a resource. Examples are shared or dedicated.
If you set the context to SAVINGS_PLANS
, you can use the following dimensions for searching:
-
SAVINGS_PLANS_TYPE - Type of Savings Plans (EC2 Instance or Compute)
-
PAYMENT_OPTION - The payment option for the given Savings Plans (for example, All Upfront)
-
REGION - The Amazon Web Services Region.
-
INSTANCE_TYPE_FAMILY - The family of instances (For example, m5
)
-
LINKED_ACCOUNT - The description in the attribute map that includes the full name of the member account. The value field contains the Amazon Web Services ID of the member account.
-
SAVINGS_PLAN_ARN - The unique identifier for your Savings Plans.
"
}
},
"CostAllocationTag": {
@@ -641,6 +641,12 @@
"EC2ResourceUtilization$DiskResourceUtilization": "The field that contains a list of disk (local storage) metrics that are associated with the current instance.
"
}
},
+ "DynamoDBCapacityDetails": {
+ "base": "The DynamoDB reservations that Amazon Web Services recommends that you purchase.
",
+ "refs": {
+ "ReservedCapacityDetails$DynamoDBCapacityDetails": "The DynamoDB reservations that Amazon Web Services recommends that you purchase.
"
+ }
+ },
"EBSResourceUtilization": {
"base": "The EBS field that contains a list of EBS metrics that are associated with the current instance.
",
"refs": {
@@ -830,7 +836,7 @@
"base": null,
"refs": {
"Anomaly$AnomalyId": "The unique identifier for the anomaly.
",
- "Anomaly$DimensionValue": "The dimension for the anomaly (for example, an Amazon Web Service in a service monitor).
",
+ "Anomaly$DimensionValue": "The dimension for the anomaly (for example, an Amazon Web Servicesservice in a service monitor).
",
"Anomaly$MonitorArn": "The Amazon Resource Name (ARN) for the cost monitor that generated this anomaly.
",
"AnomalyMonitor$MonitorArn": "The Amazon Resource Name (ARN) value.
",
"AnomalyMonitor$MonitorName": "The name of the monitor.
",
@@ -858,6 +864,8 @@
"DiskResourceUtilization$DiskWriteOpsPerSecond": "The maximum number of write operations per second.
",
"DiskResourceUtilization$DiskReadBytesPerSecond": "The maximum read throughput operations per second.
",
"DiskResourceUtilization$DiskWriteBytesPerSecond": "The maximum write throughput operations per second.
",
+ "DynamoDBCapacityDetails$CapacityUnits": "The capacity unit of the recommended reservation.
",
+ "DynamoDBCapacityDetails$Region": "The Amazon Web Services Region of the recommended reservation.
",
"EBSResourceUtilization$EbsReadOpsPerSecond": "The maximum number of read operations per second.
",
"EBSResourceUtilization$EbsWriteOpsPerSecond": "The maximum number of write operations per second.
",
"EBSResourceUtilization$EbsReadBytesPerSecond": "The maximum size of read operations per second
",
@@ -948,15 +956,19 @@
"ReservationPurchaseRecommendationDetail$MaximumNormalizedUnitsUsedPerHour": "The maximum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
",
"ReservationPurchaseRecommendationDetail$AverageNumberOfInstancesUsedPerHour": "The average number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
",
"ReservationPurchaseRecommendationDetail$AverageNormalizedUnitsUsedPerHour": "The average number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
",
- "ReservationPurchaseRecommendationDetail$AverageUtilization": "The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.
",
- "ReservationPurchaseRecommendationDetail$EstimatedBreakEvenInMonths": "How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.
",
- "ReservationPurchaseRecommendationDetail$CurrencyCode": "The currency code that Amazon Web Services used to calculate the costs for this instance.
",
+ "ReservationPurchaseRecommendationDetail$AverageUtilization": "The average utilization of your recommendations. Amazon Web Services uses this to calculate your recommended reservation purchases.
",
+ "ReservationPurchaseRecommendationDetail$EstimatedBreakEvenInMonths": "How long Amazon Web Services estimates that it takes for this recommendation to start saving you money, in months.
",
+ "ReservationPurchaseRecommendationDetail$CurrencyCode": "The currency code that Amazon Web Services used to calculate the costs for this recommendation.
",
"ReservationPurchaseRecommendationDetail$EstimatedMonthlySavingsAmount": "How much Amazon Web Services estimates that this specific recommendation might save you in a month.
",
"ReservationPurchaseRecommendationDetail$EstimatedMonthlySavingsPercentage": "How much Amazon Web Services estimates that this specific recommendation might save you in a month, as a percentage of your overall costs.
",
"ReservationPurchaseRecommendationDetail$EstimatedMonthlyOnDemandCost": "How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.
",
"ReservationPurchaseRecommendationDetail$EstimatedReservationCostForLookbackPeriod": "How much Amazon Web Services estimates that you might spend for all usage during the specified historical period if you had a reservation.
",
- "ReservationPurchaseRecommendationDetail$UpfrontCost": "How much purchasing this instance costs you upfront.
",
- "ReservationPurchaseRecommendationDetail$RecurringStandardMonthlyCost": "How much purchasing this instance costs you on a monthly basis.
",
+ "ReservationPurchaseRecommendationDetail$UpfrontCost": "How much purchasing this recommendation costs you upfront.
",
+ "ReservationPurchaseRecommendationDetail$RecurringStandardMonthlyCost": "How much purchasing this recommendation costs you on a monthly basis.
",
+ "ReservationPurchaseRecommendationDetail$RecommendedNumberOfCapacityUnitsToPurchase": "The number of reserved capacity units that Amazon Web Services recommends that you purchase.
",
+ "ReservationPurchaseRecommendationDetail$MinimumNumberOfCapacityUnitsUsedPerHour": "The minimum number of provisioned capacity units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
",
+ "ReservationPurchaseRecommendationDetail$MaximumNumberOfCapacityUnitsUsedPerHour": "The maximum number of provisioned capacity units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
",
+ "ReservationPurchaseRecommendationDetail$AverageNumberOfCapacityUnitsUsedPerHour": "The average number of provisioned capacity units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
",
"ReservationPurchaseRecommendationMetadata$RecommendationId": "The ID for the recommendation.
",
"ReservationPurchaseRecommendationMetadata$GenerationTimestamp": "The timestamp for when Amazon Web Services made the recommendation.
",
"ReservationPurchaseRecommendationMetadata$AdditionalMetadata": "Additional metadata that might be applicable to the recommendation.
",
@@ -971,7 +983,7 @@
"RightsizingRecommendationSummary$EstimatedTotalMonthlySavingsAmount": "The estimated total savings resulting from modifications, on a monthly basis.
",
"RightsizingRecommendationSummary$SavingsCurrencyCode": "The currency code that Amazon Web Services used to calculate the savings.
",
"RightsizingRecommendationSummary$SavingsPercentage": " The savings percentage based on the recommended modifications. It's relative to the total On-Demand costs that are associated with these instances.
",
- "RootCause$Service": "The Amazon Web Service name that's associated with the cost anomaly.
",
+ "RootCause$Service": "The Amazon Web Servicesservice name that's associated with the cost anomaly.
",
"RootCause$Region": "The Amazon Web Services Region that's associated with the cost anomaly.
",
"RootCause$LinkedAccount": "The member account value that's associated with the cost anomaly.
",
"RootCause$UsageType": "The UsageType
value that's associated with the cost anomaly.
",
@@ -1833,6 +1845,12 @@
"UtilizationByTime$Groups": "The groups that this utilization result uses.
"
}
},
+ "ReservedCapacityDetails": {
+ "base": "Details about the reservations that Amazon Web Services recommends that you purchase.
",
+ "refs": {
+ "ReservationPurchaseRecommendationDetail$ReservedCapacityDetails": "Details about the reservations that Amazon Web Services recommends that you purchase.
"
+ }
+ },
"ReservedHours": {
"base": null,
"refs": {
@@ -1950,7 +1968,7 @@
}
},
"RootCause": {
- "base": "The combination of Amazon Web Service, linked account, linked account name, Region, and usage type where a cost anomaly is observed. The linked account name will only be available when the account name can be identified.
",
+ "base": "The combination of Amazon Web Servicesservice, linked account, linked account name, Region, and usage type where a cost anomaly is observed. The linked account name will only be available when the account name can be identified.
",
"refs": {
"RootCauses$member": null
}
diff --git a/apis/codebuild/2016-10-06/api-2.json b/apis/codebuild/2016-10-06/api-2.json
index ec37192de83..58aa35bdf8b 100644
--- a/apis/codebuild/2016-10-06/api-2.json
+++ b/apis/codebuild/2016-10-06/api-2.json
@@ -2911,7 +2911,8 @@
"type":"string",
"enum":[
"GITHUB_ORGANIZATION",
- "GITHUB_GLOBAL"
+ "GITHUB_GLOBAL",
+ "GITLAB_GROUP"
]
},
"WrapperBoolean":{"type":"boolean"},
diff --git a/apis/codebuild/2016-10-06/docs-2.json b/apis/codebuild/2016-10-06/docs-2.json
index 9c165409e9c..cefb506ca73 100644
--- a/apis/codebuild/2016-10-06/docs-2.json
+++ b/apis/codebuild/2016-10-06/docs-2.json
@@ -1840,8 +1840,8 @@
"S3LogsConfig$location": " The ARN of an S3 bucket and the path prefix for S3 logs. If your Amazon S3 bucket name is my-bucket
, and your path prefix is build-log
, then acceptable formats are my-bucket/build-log
or arn:aws:s3:::my-bucket/build-log
.
",
"S3ReportExportConfig$bucketOwner": "The Amazon Web Services account identifier of the owner of the Amazon S3 bucket. This allows report data to be exported to an Amazon S3 bucket that is owned by an account other than the account running the build.
",
"S3ReportExportConfig$path": " The path to the exported report's raw data results.
",
- "ScopeConfiguration$name": "The name of either the enterprise or organization that will send webhook events to CodeBuild, depending on if the webhook is a global or organization webhook respectively.
",
- "ScopeConfiguration$domain": "The domain of the GitHub Enterprise organization. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE
",
+ "ScopeConfiguration$name": "The name of either the group, enterprise, or organization that will send webhook events to CodeBuild, depending on the type of webhook.
",
+ "ScopeConfiguration$domain": "The domain of the GitHub Enterprise organization or the GitLab Self Managed group. Note that this parameter is only required if your project's source type is GITHUB_ENTERPRISE or GITLAB_SELF_MANAGED.
",
"SourceAuth$resource": "The resource value that applies to the specified authorization type.
",
"SourceCredentialsInfo$resource": "The connection ARN if your authType is CODECONNECTIONS or SECRETS_MANAGER.
",
"StartBuildBatchInput$sourceVersion": "The version of the batch build input to be built, for this build only. If not specified, the latest version is used. If specified, the contents depends on the source provider:
- CodeCommit
-
The commit ID, branch, or Git tag to use.
- GitHub
-
The commit ID, pull request ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a pull request ID is specified, it must use the format pr/pull-request-ID
(for example pr/25
). If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
- Bitbucket
-
The commit ID, branch name, or tag name that corresponds to the version of the source code you want to build. If a branch name is specified, the branch's HEAD commit ID is used. If not specified, the default branch's HEAD commit ID is used.
- Amazon S3
-
The version ID of the object that represents the build input ZIP file to use.
If sourceVersion
is specified at the project level, then this sourceVersion
(at the build level) takes precedence.
For more information, see Source Version Sample with CodeBuild in the CodeBuild User Guide.
",
@@ -2065,7 +2065,7 @@
"WebhookScopeType": {
"base": null,
"refs": {
- "ScopeConfiguration$scope": "The type of scope for a GitHub webhook.
"
+ "ScopeConfiguration$scope": "The type of scope for a GitHub or GitLab webhook.
"
}
},
"WrapperBoolean": {
diff --git a/apis/codeconnections/2023-12-01/api-2.json b/apis/codeconnections/2023-12-01/api-2.json
index 81dbfc06a96..367e8fd2b2f 100644
--- a/apis/codeconnections/2023-12-01/api-2.json
+++ b/apis/codeconnections/2023-12-01/api-2.json
@@ -595,7 +595,8 @@
"RoleArn":{"shape":"IamRoleArn"},
"SyncType":{"shape":"SyncConfigurationType"},
"PublishDeploymentStatus":{"shape":"PublishDeploymentStatus"},
- "TriggerResourceUpdateOn":{"shape":"TriggerResourceUpdateOn"}
+ "TriggerResourceUpdateOn":{"shape":"TriggerResourceUpdateOn"},
+ "PullRequestComment":{"shape":"PullRequestComment"}
}
},
"CreateSyncConfigurationOutput":{
@@ -996,6 +997,13 @@
"DISABLED"
]
},
+ "PullRequestComment":{
+ "type":"string",
+ "enum":[
+ "ENABLED",
+ "DISABLED"
+ ]
+ },
"RepositoryLinkArn":{
"type":"string",
"pattern":"^arn:aws(?:-[a-z]+)*:(codestar-connections|codeconnections):[a-z\\-0-9]+:\\d{12}:repository-link\\/[a-zA-Z0-9\\-:/]+"
@@ -1309,7 +1317,8 @@
"RoleArn":{"shape":"IamRoleArn"},
"SyncType":{"shape":"SyncConfigurationType"},
"PublishDeploymentStatus":{"shape":"PublishDeploymentStatus"},
- "TriggerResourceUpdateOn":{"shape":"TriggerResourceUpdateOn"}
+ "TriggerResourceUpdateOn":{"shape":"TriggerResourceUpdateOn"},
+ "PullRequestComment":{"shape":"PullRequestComment"}
}
},
"SyncConfigurationList":{
@@ -1509,7 +1518,8 @@
"RoleArn":{"shape":"IamRoleArn"},
"SyncType":{"shape":"SyncConfigurationType"},
"PublishDeploymentStatus":{"shape":"PublishDeploymentStatus"},
- "TriggerResourceUpdateOn":{"shape":"TriggerResourceUpdateOn"}
+ "TriggerResourceUpdateOn":{"shape":"TriggerResourceUpdateOn"},
+ "PullRequestComment":{"shape":"PullRequestComment"}
}
},
"UpdateSyncConfigurationOutput":{
diff --git a/apis/codeconnections/2023-12-01/docs-2.json b/apis/codeconnections/2023-12-01/docs-2.json
index d1361e84277..ed530c3ff0b 100644
--- a/apis/codeconnections/2023-12-01/docs-2.json
+++ b/apis/codeconnections/2023-12-01/docs-2.json
@@ -98,7 +98,7 @@
"ConnectionArn": {
"base": null,
"refs": {
- "Connection$ConnectionArn": "The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Services.
The ARN is never reused if the connection is deleted.
",
+ "Connection$ConnectionArn": "The Amazon Resource Name (ARN) of the connection. The ARN is used as the connection reference when the connection is shared between Amazon Web Servicesservices.
The ARN is never reused if the connection is deleted.
",
"CreateConnectionOutput$ConnectionArn": "The Amazon Resource Name (ARN) of the connection to be created. The ARN is used as the connection reference when the connection is shared between Amazon Web Services services.
The ARN is never reused if the connection is deleted.
",
"CreateRepositoryLinkInput$ConnectionArn": "The Amazon Resource Name (ARN) of the connection to be associated with the repository link.
",
"DeleteConnectionInput$ConnectionArn": "The Amazon Resource Name (ARN) of the connection to be deleted.
The ARN is never reused if the connection is deleted.
",
@@ -538,6 +538,14 @@
"UpdateSyncConfigurationInput$PublishDeploymentStatus": "Whether to enable or disable publishing of deployment status to source providers.
"
}
},
+ "PullRequestComment": {
+ "base": null,
+ "refs": {
+ "CreateSyncConfigurationInput$PullRequestComment": "A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.
",
+ "SyncConfiguration$PullRequestComment": "A toggle that specifies whether to enable or disable pull request comments for the sync configuration to be created.
",
+ "UpdateSyncConfigurationInput$PullRequestComment": "TA toggle that specifies whether to enable or disable pull request comments for the sync configuration to be updated.
"
+ }
+ },
"RepositoryLinkArn": {
"base": null,
"refs": {
diff --git a/apis/cognito-idp/2016-04-18/api-2.json b/apis/cognito-idp/2016-04-18/api-2.json
index 2d3829656db..5624a7a2ed1 100644
--- a/apis/cognito-idp/2016-04-18/api-2.json
+++ b/apis/cognito-idp/2016-04-18/api-2.json
@@ -252,6 +252,7 @@
{"shape":"InvalidLambdaResponseException"},
{"shape":"MFAMethodNotFoundException"},
{"shape":"InvalidSmsRoleAccessPolicyException"},
+ {"shape":"InvalidEmailRoleAccessPolicyException"},
{"shape":"InvalidSmsRoleTrustRelationshipException"},
{"shape":"PasswordResetRequiredException"},
{"shape":"UserNotFoundException"},
@@ -392,6 +393,7 @@
{"shape":"InvalidUserPoolConfigurationException"},
{"shape":"InternalErrorException"},
{"shape":"MFAMethodNotFoundException"},
+ {"shape":"InvalidEmailRoleAccessPolicyException"},
{"shape":"InvalidSmsRoleAccessPolicyException"},
{"shape":"InvalidSmsRoleTrustRelationshipException"},
{"shape":"AliasExistsException"},
@@ -1314,6 +1316,7 @@
{"shape":"UserNotConfirmedException"},
{"shape":"InternalErrorException"},
{"shape":"InvalidSmsRoleAccessPolicyException"},
+ {"shape":"InvalidEmailRoleAccessPolicyException"},
{"shape":"InvalidSmsRoleTrustRelationshipException"},
{"shape":"ForbiddenException"}
],
@@ -1541,6 +1544,7 @@
{"shape":"UserNotConfirmedException"},
{"shape":"InvalidSmsRoleAccessPolicyException"},
{"shape":"InvalidSmsRoleTrustRelationshipException"},
+ {"shape":"InvalidEmailRoleAccessPolicyException"},
{"shape":"AliasExistsException"},
{"shape":"InternalErrorException"},
{"shape":"SoftwareTokenMFANotFoundException"},
@@ -2455,6 +2459,7 @@
"members":{
"SMSMfaSettings":{"shape":"SMSMfaSettingsType"},
"SoftwareTokenMfaSettings":{"shape":"SoftwareTokenMfaSettingsType"},
+ "EmailMfaSettings":{"shape":"EmailMfaSettingsType"},
"Username":{"shape":"UsernameType"},
"UserPoolId":{"shape":"UserPoolIdType"}
}
@@ -2781,6 +2786,7 @@
"type":"string",
"enum":[
"SMS_MFA",
+ "EMAIL_OTP",
"SOFTWARE_TOKEN_MFA",
"SELECT_MFA_TYPE",
"MFA_SETUP",
@@ -3583,6 +3589,30 @@
"ConfigurationSet":{"shape":"SESConfigurationSet"}
}
},
+ "EmailMfaConfigType":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"EmailMfaMessageType"},
+ "Subject":{"shape":"EmailMfaSubjectType"}
+ }
+ },
+ "EmailMfaMessageType":{
+ "type":"string",
+ "max":20000,
+ "min":6,
+ "pattern":"[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*\\{####\\}[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s*]*"
+ },
+ "EmailMfaSettingsType":{
+ "type":"structure",
+ "members":{
+ "Enabled":{"shape":"BooleanType"},
+ "PreferredMfa":{"shape":"BooleanType"}
+ }
+ },
+ "EmailMfaSubjectType":{
+ "type":"string",
+ "pattern":"[\\p{L}\\p{M}\\p{S}\\p{N}\\p{P}\\s]+"
+ },
"EmailNotificationBodyType":{
"type":"string",
"max":20000,
@@ -3916,6 +3946,7 @@
"members":{
"SmsMfaConfiguration":{"shape":"SmsMfaConfigType"},
"SoftwareTokenMfaConfiguration":{"shape":"SoftwareTokenMfaConfigType"},
+ "EmailMfaConfiguration":{"shape":"EmailMfaConfigType"},
"MfaConfiguration":{"shape":"UserPoolMfaType"}
}
},
@@ -4987,6 +5018,7 @@
"members":{
"SMSMfaSettings":{"shape":"SMSMfaSettingsType"},
"SoftwareTokenMfaSettings":{"shape":"SoftwareTokenMfaSettingsType"},
+ "EmailMfaSettings":{"shape":"EmailMfaSettingsType"},
"AccessToken":{"shape":"TokenModelType"}
}
},
@@ -5002,6 +5034,7 @@
"UserPoolId":{"shape":"UserPoolIdType"},
"SmsMfaConfiguration":{"shape":"SmsMfaConfigType"},
"SoftwareTokenMfaConfiguration":{"shape":"SoftwareTokenMfaConfigType"},
+ "EmailMfaConfiguration":{"shape":"EmailMfaConfigType"},
"MfaConfiguration":{"shape":"UserPoolMfaType"}
}
},
@@ -5010,6 +5043,7 @@
"members":{
"SmsMfaConfiguration":{"shape":"SmsMfaConfigType"},
"SoftwareTokenMfaConfiguration":{"shape":"SoftwareTokenMfaConfigType"},
+ "EmailMfaConfiguration":{"shape":"EmailMfaConfigType"},
"MfaConfiguration":{"shape":"UserPoolMfaType"}
}
},
diff --git a/apis/cognito-idp/2016-04-18/docs-2.json b/apis/cognito-idp/2016-04-18/docs-2.json
index 09ea8117bce..70ff9e2e5eb 100644
--- a/apis/cognito-idp/2016-04-18/docs-2.json
+++ b/apis/cognito-idp/2016-04-18/docs-2.json
@@ -5,7 +5,7 @@
"AddCustomAttributes": "Adds additional user attributes to the user pool schema.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminAddUserToGroup": "Adds a user to a group. A user who is in a group can present a preferred-role claim to an identity pool, and populates a cognito:groups
claim to their access and identity tokens.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminConfirmSignUp": "This IAM-authenticated API operation confirms user sign-up as an administrator. Unlike ConfirmSignUp, your IAM credentials authorize user account confirmation. No confirmation code is required.
This request sets a user account active in a user pool that requires confirmation of new user accounts before they can sign in. You can configure your user pool to not send confirmation codes to new users and instead confirm them with this API operation on the back end.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
- "AdminCreateUser": "Creates a new user in the specified user pool.
If MessageAction
isn't set, the default is to send a welcome message via email or phone (SMS).
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
This message is based on a template that you configured in your call to create or update a user pool. This template includes your custom sign-up instructions and placeholders for user name and temporary password.
Alternatively, you can call AdminCreateUser
with SUPPRESS
for the MessageAction
parameter, and Amazon Cognito won't send any email.
In either case, the user will be in the FORCE_CHANGE_PASSWORD
state until they sign in and change their password.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
+ "AdminCreateUser": "Creates a new user in the specified user pool.
If MessageAction
isn't set, the default is to send a welcome message via email or phone (SMS).
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
This message is based on a template that you configured in your call to create or update a user pool. This template includes your custom sign-up instructions and placeholders for user name and temporary password.
Alternatively, you can call AdminCreateUser
with SUPPRESS
for the MessageAction
parameter, and Amazon Cognito won't send any email.
In either case, the user will be in the FORCE_CHANGE_PASSWORD
state until they sign in and change their password.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminDeleteUser": "Deletes a user as an administrator. Works on any user.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminDeleteUserAttributes": "Deletes the user attributes in a user pool as an administrator. Works on any user.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminDisableProviderForUser": "Prevents the user from signing in with the specified external (SAML or social) identity provider (IdP). If the user that you want to deactivate is a Amazon Cognito user pools native username + password user, they can't use their password to sign in. If the user to deactivate is a linked external IdP user, any link between that user and an existing user is removed. When the external user signs in again, and the user is no longer attached to the previously linked DestinationUser
, the user must create a new user account. See AdminLinkProviderForUser.
The ProviderName
must match the value specified when creating an IdP for the pool.
To deactivate a native username + password user, the ProviderName
value must be Cognito
and the ProviderAttributeName
must be Cognito_Subject
. The ProviderAttributeValue
must be the name that is used in the user pool for the user.
The ProviderAttributeName
must always be Cognito_Subject
for social IdPs. The ProviderAttributeValue
must always be the exact subject that was used when the user was originally linked as a source user.
For de-linking a SAML identity, there are two scenarios. If the linked identity has not yet been used to sign in, the ProviderAttributeName
and ProviderAttributeValue
must be the same values that were used for the SourceUser
when the identities were originally linked using AdminLinkProviderForUser
call. (If the linking was done with ProviderAttributeName
set to Cognito_Subject
, the same applies here). However, if the user has already signed in, the ProviderAttributeName
must be Cognito_Subject
and ProviderAttributeValue
must be the subject of the SAML assertion.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
@@ -14,20 +14,20 @@
"AdminForgetDevice": "Forgets the device, as an administrator.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminGetDevice": "Gets the device, as an administrator.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminGetUser": "Gets the specified user by user name in a user pool as an administrator. Works on any user.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
- "AdminInitiateAuth": "Initiates the authentication flow, as an administrator.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
+ "AdminInitiateAuth": "Initiates the authentication flow, as an administrator.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminLinkProviderForUser": "Links an existing user account in a user pool (DestinationUser
) to an identity from an external IdP (SourceUser
) based on a specified attribute name and value from the external IdP. This allows you to create a link from the existing user account to an external federated user identity that has not yet been used to sign in. You can then use the federated user identity to sign in as the existing user account.
For example, if there is an existing user with a username and password, this API links that user to a federated user identity. When the user signs in with a federated user identity, they sign in as the existing user account.
The maximum number of federated identities linked to a user is five.
Because this API allows a user with an external federated identity to sign in as an existing user in the user pool, it is critical that it only be used with external IdPs and provider attributes that have been trusted by the application owner.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminListDevices": "Lists devices, as an administrator.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminListGroupsForUser": "Lists the groups that a user belongs to.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminListUserAuthEvents": "A history of user activity and any risks detected as part of Amazon Cognito advanced security.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminRemoveUserFromGroup": "Removes the specified user from the specified group.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
- "AdminResetUserPassword": "Resets the specified user's password in a user pool as an administrator. Works on any user.
To use this API operation, your user pool must have self-service account recovery configured. Use AdminSetUserPassword if you manage passwords as an administrator.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Deactivates a user's password, requiring them to change it. If a user tries to sign in after the API is called, Amazon Cognito responds with a PasswordResetRequiredException
error. Your app must then perform the actions that reset your user's password: the forgot-password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
- "AdminRespondToAuthChallenge": "Some API operations in a user pool generate a challenge, like a prompt for an MFA code, for device authentication that bypasses MFA, or for a custom authentication challenge. An AdminRespondToAuthChallenge
API request provides the answer to that challenge, like a code or a secure remote password (SRP). The parameters of a response to an authentication challenge vary with the type of challenge.
For more information about custom authentication challenges, see Custom authentication challenge Lambda triggers.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
- "AdminSetUserMFAPreference": "The user's multi-factor authentication (MFA) preference, including which MFA options are activated, and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
+ "AdminResetUserPassword": "Resets the specified user's password in a user pool as an administrator. Works on any user.
To use this API operation, your user pool must have self-service account recovery configured. Use AdminSetUserPassword if you manage passwords as an administrator.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Deactivates a user's password, requiring them to change it. If a user tries to sign in after the API is called, Amazon Cognito responds with a PasswordResetRequiredException
error. Your app must then perform the actions that reset your user's password: the forgot-password flow. In addition, if the user pool has phone verification selected and a verified phone number exists for the user, or if email verification is selected and a verified email exists for the user, calling this API will also result in sending a message to the end user with the code to change their password.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
+ "AdminRespondToAuthChallenge": "Some API operations in a user pool generate a challenge, like a prompt for an MFA code, for device authentication that bypasses MFA, or for a custom authentication challenge. An AdminRespondToAuthChallenge
API request provides the answer to that challenge, like a code or a secure remote password (SRP). The parameters of a response to an authentication challenge vary with the type of challenge.
For more information about custom authentication challenges, see Custom authentication challenge Lambda triggers.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
+ "AdminSetUserMFAPreference": "Sets the user's multi-factor authentication (MFA) preference, including which MFA options are activated, and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminSetUserPassword": "Sets the specified user's password in a user pool as an administrator. Works on any user.
The password can be temporary or permanent. If it is temporary, the user status enters the FORCE_CHANGE_PASSWORD
state. When the user next tries to sign in, the InitiateAuth/AdminInitiateAuth response will contain the NEW_PASSWORD_REQUIRED
challenge. If the user doesn't sign in before it expires, the user won't be able to sign in, and an administrator must reset their password.
Once the user has set a new password, or the password is permanent, the user status is set to Confirmed
.
AdminSetUserPassword
can set a password for the user profile that Amazon Cognito creates for third-party federated users. When you set a password, the federated user's status changes from EXTERNAL_PROVIDER
to CONFIRMED
. A user in this state can sign in as a federated user, and initiate authentication flows in the API like a linked native user. They can also modify their password and attributes in token-authenticated API requests like ChangePassword
and UpdateUserAttributes
. As a best security practice and to keep users in sync with your external IdP, don't set passwords on federated user profiles. To set up a federated user for native sign-in with a linked native user, refer to Linking federated users to an existing user profile.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminSetUserSettings": " This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure time-based one-time password (TOTP) software token MFA. To configure either type of MFA, use AdminSetUserMFAPreference instead.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminUpdateAuthEventFeedback": "Provides feedback for an authentication event indicating if it was from a valid user. This feedback is used for improving the risk evaluation decision for the user pool as part of Amazon Cognito advanced security.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminUpdateDeviceStatus": "Updates the device status as an administrator.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
- "AdminUpdateUserAttributes": " This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user. To delete an attribute from your user, submit the attribute in your API request with a blank value.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
In addition to updating user attributes, this API can also be used to mark phone and email as verified.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
+ "AdminUpdateUserAttributes": " This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Updates the specified user's attributes, including developer attributes, as an administrator. Works on any user. To delete an attribute from your user, submit the attribute in your API request with a blank value.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
In addition to updating user attributes, this API can also be used to mark phone and email as verified.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AdminUserGlobalSignOut": "Invalidates the identity, access, and refresh tokens that Amazon Cognito issued to a user. Call this operation with your administrative credentials when your user signs out of your app. This results in the following behavior.
-
Amazon Cognito no longer accepts token-authorized user operations that you authorize with a signed-out user's access tokens. For more information, see Using the Amazon Cognito user pools API and user pool endpoints.
Amazon Cognito returns an Access Token has been revoked
error when your app attempts to authorize a user pools API request with a revoked access token that contains the scope aws.cognito.signin.user.admin
.
-
Amazon Cognito no longer accepts a signed-out user's ID token in a GetId request to an identity pool with ServerSideTokenCheck
enabled for its user pool IdP configuration in CognitoIdentityProvider.
-
Amazon Cognito no longer accepts a signed-out user's refresh tokens in refresh requests.
Other requests might be valid until your user's token expires.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"AssociateSoftwareToken": "Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response. You can authorize an AssociateSoftwareToken
request with either the user's access token, or a session string from a challenge response that you received from Amazon Cognito.
Amazon Cognito disassociates an existing software token when you verify the new token in a VerifySoftwareToken API request. If you don't verify the software token and your user pool doesn't require MFA, the user can then authenticate with user name and password credentials alone. If your user pool requires TOTP MFA, Amazon Cognito generates an MFA_SETUP
or SOFTWARE_TOKEN_SETUP
challenge each time your user signs in. Complete setup with AssociateSoftwareToken
and VerifySoftwareToken
.
After you set up software token MFA for your user, Amazon Cognito generates a SOFTWARE_TOKEN_MFA
challenge when they authenticate. Respond to this challenge with your user's TOTP.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
",
"ChangePassword": "Changes the password for a specified user in a user pool.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
",
@@ -38,7 +38,7 @@
"CreateIdentityProvider": "Adds a configuration and trust relationship between a third-party identity provider (IdP) and a user pool.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"CreateResourceServer": "Creates a new OAuth2.0 resource server and defines custom scopes within it.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"CreateUserImportJob": "Creates a user import job.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
- "CreateUserPool": " This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Creates a new Amazon Cognito user pool and sets the password policy for the pool.
If you don't provide a value for an attribute, Amazon Cognito sets it to its default value.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
+ "CreateUserPool": " This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Creates a new Amazon Cognito user pool and sets the password policy for the pool.
If you don't provide a value for an attribute, Amazon Cognito sets it to its default value.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"CreateUserPoolClient": "Creates the user pool client.
When you create a new user pool client, token revocation is automatically activated. For more information about revoking tokens, see RevokeToken.
If you don't provide a value for an attribute, Amazon Cognito sets it to its default value.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"CreateUserPoolDomain": "Creates a new domain for a user pool.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"DeleteGroup": "Deletes a group.
Calling this action requires developer credentials.
",
@@ -57,7 +57,7 @@
"DescribeUserPoolClient": "Client method for returning the configuration information and metadata of the specified user pool app client.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"DescribeUserPoolDomain": "Gets information about a domain.
",
"ForgetDevice": "Forgets the specified device. For more information about device authentication, see Working with user devices in your user pool.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
",
- "ForgotPassword": "Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username
parameter, you can use the username or user alias. The method used to send the confirmation code is sent according to the specified AccountRecoverySetting. For more information, see Recovering User Accounts in the Amazon Cognito Developer Guide. To use the confirmation code for resetting the password, call ConfirmForgotPassword.
If neither a verified phone number nor a verified email exists, this API returns InvalidParameterException
. If your app client has a client secret and you don't provide a SECRET_HASH
parameter, this API returns NotAuthorizedException
.
To use this API operation, your user pool must have self-service account recovery configured. Use AdminSetUserPassword if you manage passwords as an administrator.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
+ "ForgotPassword": "Calling this API causes a message to be sent to the end user with a confirmation code that is required to change the user's password. For the Username
parameter, you can use the username or user alias. The method used to send the confirmation code is sent according to the specified AccountRecoverySetting. For more information, see Recovering User Accounts in the Amazon Cognito Developer Guide. To use the confirmation code for resetting the password, call ConfirmForgotPassword.
If neither a verified phone number nor a verified email exists, this API returns InvalidParameterException
. If your app client has a client secret and you don't provide a SECRET_HASH
parameter, this API returns NotAuthorizedException
.
To use this API operation, your user pool must have self-service account recovery configured. Use AdminSetUserPassword if you manage passwords as an administrator.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
"GetCSVHeader": "Gets the header information for the comma-separated value (CSV) file to be used as input for the user import job.
",
"GetDevice": "Gets the device. For more information about device authentication, see Working with user devices in your user pool.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
",
"GetGroup": "Gets a group.
Calling this action requires developer credentials.
",
@@ -66,10 +66,10 @@
"GetSigningCertificate": "This method takes a user pool ID, and returns the signing certificate. The issued certificate is valid for 10 years from the date of issue.
Amazon Cognito issues and assigns a new signing certificate annually. This process returns a new value in the response to GetSigningCertificate
, but doesn't invalidate the original certificate.
",
"GetUICustomization": "Gets the user interface (UI) Customization information for a particular app client's app UI, if any such information exists for the client. If nothing is set for the particular client, but there is an existing pool level customization (the app clientId
is ALL
), then that information is returned. If nothing is present, then an empty shape is returned.
",
"GetUser": "Gets the user attributes and metadata for a user.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
",
- "GetUserAttributeVerificationCode": "Generates a user attribute verification code for the specified attribute name. Sends a message to a user with a code that they must return in a VerifyUserAttribute request.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
+ "GetUserAttributeVerificationCode": "Generates a user attribute verification code for the specified attribute name. Sends a message to a user with a code that they must return in a VerifyUserAttribute request.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
"GetUserPoolMfaConfig": "Gets the user pool multi-factor authentication (MFA) configuration.
",
"GlobalSignOut": "Invalidates the identity, access, and refresh tokens that Amazon Cognito issued to a user. Call this operation when your user signs out of your app. This results in the following behavior.
-
Amazon Cognito no longer accepts token-authorized user operations that you authorize with a signed-out user's access tokens. For more information, see Using the Amazon Cognito user pools API and user pool endpoints.
Amazon Cognito returns an Access Token has been revoked
error when your app attempts to authorize a user pools API request with a revoked access token that contains the scope aws.cognito.signin.user.admin
.
-
Amazon Cognito no longer accepts a signed-out user's ID token in a GetId request to an identity pool with ServerSideTokenCheck
enabled for its user pool IdP configuration in CognitoIdentityProvider.
-
Amazon Cognito no longer accepts a signed-out user's refresh tokens in refresh requests.
Other requests might be valid until your user's token expires.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
",
- "InitiateAuth": "Initiates sign-in for a user in the Amazon Cognito user directory. You can't sign in a user with a federated IdP with InitiateAuth
. For more information, see Adding user pool sign-in through a third party.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
+ "InitiateAuth": "Initiates sign-in for a user in the Amazon Cognito user directory. You can't sign in a user with a federated IdP with InitiateAuth
. For more information, see Adding user pool sign-in through a third party.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
"ListDevices": "Lists the sign-in devices that Amazon Cognito has registered to the current user. For more information about device authentication, see Working with user devices in your user pool.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
",
"ListGroups": "Lists the groups associated with a user pool.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"ListIdentityProviders": "Lists information about all IdPs for a user pool.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
@@ -80,16 +80,16 @@
"ListUserPools": "Lists the user pools associated with an Amazon Web Services account.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"ListUsers": "Lists users and their basic details in a user pool.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"ListUsersInGroup": "Lists the users in the specified group.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
- "ResendConfirmationCode": "Resends the confirmation (for confirmation of registration) to a specific user in the user pool.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
- "RespondToAuthChallenge": "Some API operations in a user pool generate a challenge, like a prompt for an MFA code, for device authentication that bypasses MFA, or for a custom authentication challenge. A RespondToAuthChallenge
API request provides the answer to that challenge, like a code or a secure remote password (SRP). The parameters of a response to an authentication challenge vary with the type of challenge.
For more information about custom authentication challenges, see Custom authentication challenge Lambda triggers.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
+ "ResendConfirmationCode": "Resends the confirmation (for confirmation of registration) to a specific user in the user pool.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
+ "RespondToAuthChallenge": "Some API operations in a user pool generate a challenge, like a prompt for an MFA code, for device authentication that bypasses MFA, or for a custom authentication challenge. A RespondToAuthChallenge
API request provides the answer to that challenge, like a code or a secure remote password (SRP). The parameters of a response to an authentication challenge vary with the type of challenge.
For more information about custom authentication challenges, see Custom authentication challenge Lambda triggers.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
"RevokeToken": "Revokes all of the access tokens generated by, and at the same time as, the specified refresh token. After a token is revoked, you can't use the revoked token to access Amazon Cognito user APIs, or to authorize access to your resource server.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
",
"SetLogDeliveryConfiguration": "Sets up or modifies the logging configuration of a user pool. User pools can export user notification logs and advanced security features user activity logs.
",
"SetRiskConfiguration": "Configures actions on detected risks. To delete the risk configuration for UserPoolId
or ClientId
, pass null values for all four configuration types.
To activate Amazon Cognito advanced security features, update the user pool to include the UserPoolAddOns
keyAdvancedSecurityMode
.
",
"SetUICustomization": "Sets the user interface (UI) customization information for a user pool's built-in app UI.
You can specify app UI customization settings for a single client (with a specific clientId
) or for all clients (by setting the clientId
to ALL
). If you specify ALL
, the default configuration is used for every client that has no previously set UI customization. If you specify UI customization settings for a particular client, it will no longer return to the ALL
configuration.
To use this API, your user pool must have a domain associated with it. Otherwise, there is no place to host the app's pages, and the service will throw an error.
",
"SetUserMFAPreference": "Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are activated and if any are preferred. Only one factor can be set as preferred. The preferred MFA factor will be used to authenticate a user if multiple factors are activated. If multiple options are activated and no preference is set, a challenge to choose an MFA option will be returned during sign-in. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts unless device tracking is turned on and the device has been trusted. If you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive Authentication for the user pool.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
",
- "SetUserPoolMfaConfig": "Sets the user pool multi-factor authentication (MFA) configuration.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
+ "SetUserPoolMfaConfig": "Sets the user pool multi-factor authentication (MFA) configuration.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
"SetUserSettings": " This action is no longer supported. You can use it to configure only SMS MFA. You can't use it to configure time-based one-time password (TOTP) software token MFA. To configure either type of MFA, use SetUserMFAPreference instead.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
",
- "SignUp": "Registers the user in the specified user pool and creates a user name, password, and user attributes.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
+ "SignUp": "Registers the user in the specified user pool and creates a user name, password, and user attributes.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
"StartUserImportJob": "Starts the user import.
",
"StopUserImportJob": "Stops the user import job.
",
"TagResource": "Assigns a set of tags to an Amazon Cognito user pool. A tag is a label that you can use to categorize and manage user pools in different ways, such as by purpose, owner, environment, or other criteria.
Each tag consists of a key and value, both of which you define. A key is a general category for more specific values. For example, if you have two versions of a user pool, one for testing and another for production, you might assign an Environment
tag key to both user pools. The value of this key might be Test
for one user pool, and Production
for the other.
Tags are useful for cost tracking and access control. You can activate your tags so that they appear on the Billing and Cost Management console, where you can track the costs associated with your user pools. In an Identity and Access Management policy, you can constrain permissions for user pools based on specific tags or tag values.
You can use this action up to 5 times per second, per account. A user pool can have as many as 50 tags.
",
@@ -99,8 +99,8 @@
"UpdateGroup": "Updates the specified group with the specified attributes.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"UpdateIdentityProvider": "Updates IdP information for a user pool.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"UpdateResourceServer": "Updates the name and scopes of resource server. All other fields are read-only.
If you don't provide a value for an attribute, it is set to the default value.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
- "UpdateUserAttributes": "With this operation, your users can update one or more of their attributes with their own credentials. You authorize this API request with the user's access token. To delete an attribute from your user, submit the attribute in your API request with a blank value. Custom attribute values in this request must include the custom:
prefix.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
- "UpdateUserPool": " This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Services service, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Updates the specified user pool with the specified attributes. You can get a list of the current user pool settings using DescribeUserPool.
If you don't provide a value for an attribute, Amazon Cognito sets it to its default value.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
+ "UpdateUserAttributes": "With this operation, your users can update one or more of their attributes with their own credentials. You authorize this API request with the user's access token. To delete an attribute from your user, submit the attribute in your API request with a blank value. Custom attribute values in this request must include the custom:
prefix.
Authorize this action with a signed-in user's access token. It must include the scope aws.cognito.signin.user.admin
.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
",
+ "UpdateUserPool": " This action might generate an SMS text message. Starting June 1, 2021, US telecom carriers require you to register an origination phone number before you can send SMS messages to US phone numbers. If you use SMS text messages in Amazon Cognito, you must register a phone number with Amazon Pinpoint. Amazon Cognito uses the registered number automatically. Otherwise, Amazon Cognito users who must receive SMS messages might not be able to sign up, activate their accounts, or sign in.
If you have never used SMS text messages with Amazon Cognito or any other Amazon Web Servicesservice, Amazon Simple Notification Service might place your account in the SMS sandbox. In sandbox mode , you can send messages only to verified phone numbers. After you test your app while in the sandbox environment, you can move out of the sandbox and into production. For more information, see SMS message settings for Amazon Cognito user pools in the Amazon Cognito Developer Guide.
Updates the specified user pool with the specified attributes. You can get a list of the current user pool settings using DescribeUserPool.
If you don't provide a value for an attribute, Amazon Cognito sets it to its default value.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"UpdateUserPoolClient": "Updates the specified user pool app client with the specified attributes. You can get a list of the current user pool app client settings using DescribeUserPoolClient.
If you don't provide a value for an attribute, Amazon Cognito sets it to its default value.
You can also use this operation to enable token revocation for user pool clients. For more information about revoking tokens, see RevokeToken.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"UpdateUserPoolDomain": "Updates the Secure Sockets Layer (SSL) certificate for the custom domain for your user pool.
You can use this operation to provide the Amazon Resource Name (ARN) of a new certificate to Amazon Cognito. You can't use it to change the domain for a user pool.
A custom domain is used to host the Amazon Cognito hosted UI, which provides sign-up and sign-in pages for your application. When you set up a custom domain, you provide a certificate that you manage with Certificate Manager (ACM). When necessary, you can use this operation to change the certificate that you applied to your custom domain.
Usually, this is unnecessary following routine certificate renewal with ACM. When you renew your existing certificate in ACM, the ARN for your certificate remains the same, and your custom domain uses the new certificate automatically.
However, if you replace your existing certificate with a new one, ACM gives the new certificate a new ARN. To apply the new certificate to your custom domain, you must provide this ARN to Amazon Cognito.
When you add your new certificate in ACM, you must choose US East (N. Virginia) as the Amazon Web Services Region.
After you submit your request, Amazon Cognito requires up to 1 hour to distribute your new certificate to your custom domain.
For more information about adding a custom domain to your user pool, see Using Your Own Domain for the Hosted UI.
Amazon Cognito evaluates Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you must use IAM credentials to authorize requests, and you must grant yourself the corresponding IAM permission in a policy.
Learn more
",
"VerifySoftwareToken": "Use this API to register a user's entered time-based one-time password (TOTP) code and mark the user's software token MFA status as \"verified\" if successful. The request takes an access token or a session string, but not both.
Amazon Cognito doesn't evaluate Identity and Access Management (IAM) policies in requests for this API operation. For this operation, you can't use IAM credentials to authorize requests, and you can't grant IAM permissions in policies. For more information about authorization models in Amazon Cognito, see Using the Amazon Cognito user pools API and user pool endpoints.
",
@@ -662,11 +662,13 @@
"CreateUserPoolClientRequest$AllowedOAuthFlowsUserPoolClient": "Set to true
to use OAuth 2.0 features in your user pool app client.
AllowedOAuthFlowsUserPoolClient
must be true
before you can configure the following features in your app client.
-
CallBackURLs
: Callback URLs.
-
LogoutURLs
: Sign-out redirect URLs.
-
AllowedOAuthScopes
: OAuth 2.0 scopes.
-
AllowedOAuthFlows
: Support for authorization code, implicit, and client credentials OAuth 2.0 grants.
To use OAuth 2.0 features, configure one of these features in the Amazon Cognito console or set AllowedOAuthFlowsUserPoolClient
to true
in a CreateUserPoolClient
or UpdateUserPoolClient
API request. If you don't set a value for AllowedOAuthFlowsUserPoolClient
in a request with the CLI or SDKs, it defaults to false
.
",
"DeviceConfigurationType$ChallengeRequiredOnNewDevice": "When true, a remembered device can sign in with device authentication instead of SMS and time-based one-time password (TOTP) factors for multi-factor authentication (MFA).
Whether or not ChallengeRequiredOnNewDevice
is true, users who sign in with devices that have not been confirmed or remembered must still provide a second factor in a user pool that requires MFA.
",
"DeviceConfigurationType$DeviceOnlyRememberedOnUserPrompt": "When true, Amazon Cognito doesn't automatically remember a user's device when your app sends a ConfirmDevice API request. In your app, create a prompt for your user to choose whether they want to remember their device. Return the user's choice in an UpdateDeviceStatus API request.
When DeviceOnlyRememberedOnUserPrompt
is false
, Amazon Cognito immediately remembers devices that you register in a ConfirmDevice
API request.
",
+ "EmailMfaSettingsType$Enabled": "Specifies whether email message MFA is active for a user. When the value of this parameter is Enabled
, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned on and the device has been trusted.
",
+ "EmailMfaSettingsType$PreferredMfa": "Specifies whether email message MFA is the user's preferred method.
",
"PasswordPolicyType$RequireUppercase": "In the password policy that you have set, refers to whether you have required users to use at least one uppercase letter in their password.
",
"PasswordPolicyType$RequireLowercase": "In the password policy that you have set, refers to whether you have required users to use at least one lowercase letter in their password.
",
"PasswordPolicyType$RequireNumbers": "In the password policy that you have set, refers to whether you have required users to use at least one number in their password.
",
"PasswordPolicyType$RequireSymbols": "In the password policy that you have set, refers to whether you have required users to use at least one symbol in their password.
",
- "SMSMfaSettingsType$Enabled": "Specifies whether SMS text message MFA is activated. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned on and the device has been trusted.
",
+ "SMSMfaSettingsType$Enabled": "Specifies whether SMS message MFA is activated. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned on and the device has been trusted.
",
"SMSMfaSettingsType$PreferredMfa": "Specifies whether SMS is the preferred MFA method.
",
"SchemaAttributeType$DeveloperOnlyAttribute": " You should use WriteAttributes in the user pool client to control how attributes can be mutated for new use cases instead of using DeveloperOnlyAttribute
.
Specifies whether the attribute type is developer only. This attribute can only be modified by an administrator. Users won't be able to modify this attribute using their access token. For example, DeveloperOnlyAttribute
can be modified using AdminUpdateUserAttributes but can't be updated using UpdateUserAttributes.
",
"SchemaAttributeType$Mutable": "Specifies whether the value of the attribute can be changed.
Any user pool attribute whose value you map from an IdP attribute must be mutable, with a parameter value of true
. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If an attribute is immutable, Amazon Cognito throws an error when it attempts to update the attribute. For more information, see Specifying Identity Provider Attribute Mappings for Your User Pool.
",
@@ -710,10 +712,10 @@
"ChallengeNameType": {
"base": null,
"refs": {
- "AdminInitiateAuthResponse$ChallengeName": "The name of the challenge that you're responding to with this call. This is returned in the AdminInitiateAuth
response if you must pass another challenge.
-
MFA_SETUP
: If MFA is required, users who don't have at least one of the MFA methods set up are presented with an MFA_SETUP
challenge. The user must set up at least one MFA type to continue to authenticate.
-
SELECT_MFA_TYPE
: Selects the MFA type. Valid MFA options are SMS_MFA
for text SMS MFA, and SOFTWARE_TOKEN_MFA
for time-based one-time password (TOTP) software token MFA.
-
SMS_MFA
: Next challenge is to supply an SMS_MFA_CODE
, delivered via SMS.
-
PASSWORD_VERIFIER
: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE
, PASSWORD_CLAIM_SECRET_BLOCK
, and TIMESTAMP
after the client-side SRP calculations.
-
CUSTOM_CHALLENGE
: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued.
-
DEVICE_SRP_AUTH
: If device tracking was activated in your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device.
-
DEVICE_PASSWORD_VERIFIER
: Similar to PASSWORD_VERIFIER
, but for devices only.
-
ADMIN_NO_SRP_AUTH
: This is returned if you must authenticate with USERNAME
and PASSWORD
directly. An app client must be enabled to use this flow.
-
NEW_PASSWORD_REQUIRED
: For users who are required to change their passwords after successful first login. Respond to this challenge with NEW_PASSWORD
and any required attributes that Amazon Cognito returned in the requiredAttributes
parameter. You can also set values for attributes that aren't required by your user pool and that your app client can write. For more information, see AdminRespondToAuthChallenge.
In a NEW_PASSWORD_REQUIRED
challenge response, you can't modify a required attribute that already has a value. In AdminRespondToAuthChallenge
, set a value for any keys that Amazon Cognito returned in the requiredAttributes
parameter, then use the AdminUpdateUserAttributes
API operation to modify the value of any additional attributes.
-
MFA_SETUP
: For users who are required to set up an MFA factor before they can sign in. The MFA types activated for the user pool will be listed in the challenge parameters MFAS_CAN_SETUP
value.
To set up software token MFA, use the session returned here from InitiateAuth
as an input to AssociateSoftwareToken
, and use the session returned by VerifySoftwareToken
as an input to RespondToAuthChallenge
with challenge name MFA_SETUP
to complete sign-in. To set up SMS MFA, users will need help from an administrator to add a phone number to their account and then call InitiateAuth
again to restart sign-in.
",
+ "AdminInitiateAuthResponse$ChallengeName": "The name of the challenge that you're responding to with this call. This is returned in the AdminInitiateAuth
response if you must pass another challenge.
-
MFA_SETUP
: If MFA is required, users who don't have at least one of the MFA methods set up are presented with an MFA_SETUP
challenge. The user must set up at least one MFA type to continue to authenticate.
-
SELECT_MFA_TYPE
: Selects the MFA type. Valid MFA options are SMS_MFA
for SMS message MFA, EMAIL_OTP
for email message MFA, and SOFTWARE_TOKEN_MFA
for time-based one-time password (TOTP) software token MFA.
-
SMS_MFA
: Next challenge is to supply an SMS_MFA_CODE
that your user pool delivered in an SMS message.
-
EMAIL_OTP
: Next challenge is to supply an EMAIL_OTP_CODE
that your user pool delivered in an email message.
-
PASSWORD_VERIFIER
: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE
, PASSWORD_CLAIM_SECRET_BLOCK
, and TIMESTAMP
after the client-side SRP calculations.
-
CUSTOM_CHALLENGE
: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued.
-
DEVICE_SRP_AUTH
: If device tracking was activated in your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device.
-
DEVICE_PASSWORD_VERIFIER
: Similar to PASSWORD_VERIFIER
, but for devices only.
-
ADMIN_NO_SRP_AUTH
: This is returned if you must authenticate with USERNAME
and PASSWORD
directly. An app client must be enabled to use this flow.
-
NEW_PASSWORD_REQUIRED
: For users who are required to change their passwords after successful first login. Respond to this challenge with NEW_PASSWORD
and any required attributes that Amazon Cognito returned in the requiredAttributes
parameter. You can also set values for attributes that aren't required by your user pool and that your app client can write. For more information, see AdminRespondToAuthChallenge.
In a NEW_PASSWORD_REQUIRED
challenge response, you can't modify a required attribute that already has a value. In AdminRespondToAuthChallenge
, set a value for any keys that Amazon Cognito returned in the requiredAttributes
parameter, then use the AdminUpdateUserAttributes
API operation to modify the value of any additional attributes.
-
MFA_SETUP
: For users who are required to set up an MFA factor before they can sign in. The MFA types activated for the user pool will be listed in the challenge parameters MFAS_CAN_SETUP
value.
To set up software token MFA, use the session returned here from InitiateAuth
as an input to AssociateSoftwareToken
, and use the session returned by VerifySoftwareToken
as an input to RespondToAuthChallenge
with challenge name MFA_SETUP
to complete sign-in. To set up SMS MFA, users will need help from an administrator to add a phone number to their account and then call InitiateAuth
again to restart sign-in.
",
"AdminRespondToAuthChallengeRequest$ChallengeName": "The challenge name. For more information, see AdminInitiateAuth.
",
"AdminRespondToAuthChallengeResponse$ChallengeName": "The name of the challenge. For more information, see AdminInitiateAuth.
",
- "InitiateAuthResponse$ChallengeName": "The name of the challenge that you're responding to with this call. This name is returned in the InitiateAuth
response if you must pass another challenge.
Valid values include the following:
All of the following challenges require USERNAME
and SECRET_HASH
(if applicable) in the parameters.
-
SMS_MFA
: Next challenge is to supply an SMS_MFA_CODE
, delivered via SMS.
-
PASSWORD_VERIFIER
: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE
, PASSWORD_CLAIM_SECRET_BLOCK
, and TIMESTAMP
after the client-side SRP calculations.
-
CUSTOM_CHALLENGE
: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued.
-
DEVICE_SRP_AUTH
: If device tracking was activated on your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device.
-
DEVICE_PASSWORD_VERIFIER
: Similar to PASSWORD_VERIFIER
, but for devices only.
-
NEW_PASSWORD_REQUIRED
: For users who are required to change their passwords after successful first login.
Respond to this challenge with NEW_PASSWORD
and any required attributes that Amazon Cognito returned in the requiredAttributes
parameter. You can also set values for attributes that aren't required by your user pool and that your app client can write. For more information, see RespondToAuthChallenge.
In a NEW_PASSWORD_REQUIRED
challenge response, you can't modify a required attribute that already has a value. In RespondToAuthChallenge
, set a value for any keys that Amazon Cognito returned in the requiredAttributes
parameter, then use the UpdateUserAttributes
API operation to modify the value of any additional attributes.
-
MFA_SETUP
: For users who are required to setup an MFA factor before they can sign in. The MFA types activated for the user pool will be listed in the challenge parameters MFAS_CAN_SETUP
value.
To set up software token MFA, use the session returned here from InitiateAuth
as an input to AssociateSoftwareToken
. Use the session returned by VerifySoftwareToken
as an input to RespondToAuthChallenge
with challenge name MFA_SETUP
to complete sign-in. To set up SMS MFA, an administrator should help the user to add a phone number to their account, and then the user should call InitiateAuth
again to restart sign-in.
",
+ "InitiateAuthResponse$ChallengeName": "The name of the challenge that you're responding to with this call. This name is returned in the InitiateAuth
response if you must pass another challenge.
Valid values include the following:
All of the following challenges require USERNAME
and SECRET_HASH
(if applicable) in the parameters.
-
SMS_MFA
: Next challenge is to supply an SMS_MFA_CODE
that your user pool delivered in an SMS message.
-
EMAIL_OTP
: Next challenge is to supply an EMAIL_OTP_CODE
that your user pool delivered in an email message.
-
PASSWORD_VERIFIER
: Next challenge is to supply PASSWORD_CLAIM_SIGNATURE
, PASSWORD_CLAIM_SECRET_BLOCK
, and TIMESTAMP
after the client-side SRP calculations.
-
CUSTOM_CHALLENGE
: This is returned if your custom authentication flow determines that the user should pass another challenge before tokens are issued.
-
DEVICE_SRP_AUTH
: If device tracking was activated on your user pool and the previous challenges were passed, this challenge is returned so that Amazon Cognito can start tracking this device.
-
DEVICE_PASSWORD_VERIFIER
: Similar to PASSWORD_VERIFIER
, but for devices only.
-
NEW_PASSWORD_REQUIRED
: For users who are required to change their passwords after successful first login.
Respond to this challenge with NEW_PASSWORD
and any required attributes that Amazon Cognito returned in the requiredAttributes
parameter. You can also set values for attributes that aren't required by your user pool and that your app client can write. For more information, see RespondToAuthChallenge.
In a NEW_PASSWORD_REQUIRED
challenge response, you can't modify a required attribute that already has a value. In RespondToAuthChallenge
, set a value for any keys that Amazon Cognito returned in the requiredAttributes
parameter, then use the UpdateUserAttributes
API operation to modify the value of any additional attributes.
-
MFA_SETUP
: For users who are required to setup an MFA factor before they can sign in. The MFA types activated for the user pool will be listed in the challenge parameters MFAS_CAN_SETUP
value.
To set up software token MFA, use the session returned here from InitiateAuth
as an input to AssociateSoftwareToken
. Use the session returned by VerifySoftwareToken
as an input to RespondToAuthChallenge
with challenge name MFA_SETUP
to complete sign-in. To set up SMS MFA, an administrator should help the user to add a phone number to their account, and then the user should call InitiateAuth
again to restart sign-in.
",
"RespondToAuthChallengeRequest$ChallengeName": "The challenge name. For more information, see InitiateAuth.
ADMIN_NO_SRP_AUTH
isn't a valid value.
",
"RespondToAuthChallengeResponse$ChallengeName": "The challenge name. For more information, see InitiateAuth.
"
}
@@ -748,8 +750,8 @@
"ChallengeResponsesType": {
"base": null,
"refs": {
- "AdminRespondToAuthChallengeRequest$ChallengeResponses": "The responses to the challenge that you received in the previous request. Each challenge has its own required response parameters. The following examples are partial JSON request bodies that highlight challenge-response parameters.
You must provide a SECRET_HASH parameter in all challenge responses to an app client that has a client secret.
- SMS_MFA
-
\"ChallengeName\": \"SMS_MFA\", \"ChallengeResponses\": {\"SMS_MFA_CODE\": \"[SMS_code]\", \"USERNAME\": \"[username]\"}
- PASSWORD_VERIFIER
-
\"ChallengeName\": \"PASSWORD_VERIFIER\", \"ChallengeResponses\": {\"PASSWORD_CLAIM_SIGNATURE\": \"[claim_signature]\", \"PASSWORD_CLAIM_SECRET_BLOCK\": \"[secret_block]\", \"TIMESTAMP\": [timestamp], \"USERNAME\": \"[username]\"}
Add \"DEVICE_KEY\"
when you sign in with a remembered device.
- CUSTOM_CHALLENGE
-
\"ChallengeName\": \"CUSTOM_CHALLENGE\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"ANSWER\": \"[challenge_answer]\"}
Add \"DEVICE_KEY\"
when you sign in with a remembered device.
- NEW_PASSWORD_REQUIRED
-
\"ChallengeName\": \"NEW_PASSWORD_REQUIRED\", \"ChallengeResponses\": {\"NEW_PASSWORD\": \"[new_password]\", \"USERNAME\": \"[username]\"}
To set any required attributes that InitiateAuth
returned in an requiredAttributes
parameter, add \"userAttributes.[attribute_name]\": \"[attribute_value]\"
. This parameter can also set values for writable attributes that aren't required by your user pool.
In a NEW_PASSWORD_REQUIRED
challenge response, you can't modify a required attribute that already has a value. In RespondToAuthChallenge
, set a value for any keys that Amazon Cognito returned in the requiredAttributes
parameter, then use the UpdateUserAttributes
API operation to modify the value of any additional attributes.
- SOFTWARE_TOKEN_MFA
-
\"ChallengeName\": \"SOFTWARE_TOKEN_MFA\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"SOFTWARE_TOKEN_MFA_CODE\": [authenticator_code]}
- DEVICE_SRP_AUTH
-
\"ChallengeName\": \"DEVICE_SRP_AUTH\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"DEVICE_KEY\": \"[device_key]\", \"SRP_A\": \"[srp_a]\"}
- DEVICE_PASSWORD_VERIFIER
-
\"ChallengeName\": \"DEVICE_PASSWORD_VERIFIER\", \"ChallengeResponses\": {\"DEVICE_KEY\": \"[device_key]\", \"PASSWORD_CLAIM_SIGNATURE\": \"[claim_signature]\", \"PASSWORD_CLAIM_SECRET_BLOCK\": \"[secret_block]\", \"TIMESTAMP\": [timestamp], \"USERNAME\": \"[username]\"}
- MFA_SETUP
-
\"ChallengeName\": \"MFA_SETUP\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\"}, \"SESSION\": \"[Session ID from VerifySoftwareToken]\"
- SELECT_MFA_TYPE
-
\"ChallengeName\": \"SELECT_MFA_TYPE\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"ANSWER\": \"[SMS_MFA or SOFTWARE_TOKEN_MFA]\"}
For more information about SECRET_HASH
, see Computing secret hash values. For information about DEVICE_KEY
, see Working with user devices in your user pool.
",
- "RespondToAuthChallengeRequest$ChallengeResponses": "The responses to the challenge that you received in the previous request. Each challenge has its own required response parameters. The following examples are partial JSON request bodies that highlight challenge-response parameters.
You must provide a SECRET_HASH parameter in all challenge responses to an app client that has a client secret.
- SMS_MFA
-
\"ChallengeName\": \"SMS_MFA\", \"ChallengeResponses\": {\"SMS_MFA_CODE\": \"[SMS_code]\", \"USERNAME\": \"[username]\"}
- PASSWORD_VERIFIER
-
\"ChallengeName\": \"PASSWORD_VERIFIER\", \"ChallengeResponses\": {\"PASSWORD_CLAIM_SIGNATURE\": \"[claim_signature]\", \"PASSWORD_CLAIM_SECRET_BLOCK\": \"[secret_block]\", \"TIMESTAMP\": [timestamp], \"USERNAME\": \"[username]\"}
Add \"DEVICE_KEY\"
when you sign in with a remembered device.
- CUSTOM_CHALLENGE
-
\"ChallengeName\": \"CUSTOM_CHALLENGE\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"ANSWER\": \"[challenge_answer]\"}
Add \"DEVICE_KEY\"
when you sign in with a remembered device.
- NEW_PASSWORD_REQUIRED
-
\"ChallengeName\": \"NEW_PASSWORD_REQUIRED\", \"ChallengeResponses\": {\"NEW_PASSWORD\": \"[new_password]\", \"USERNAME\": \"[username]\"}
To set any required attributes that InitiateAuth
returned in an requiredAttributes
parameter, add \"userAttributes.[attribute_name]\": \"[attribute_value]\"
. This parameter can also set values for writable attributes that aren't required by your user pool.
In a NEW_PASSWORD_REQUIRED
challenge response, you can't modify a required attribute that already has a value. In RespondToAuthChallenge
, set a value for any keys that Amazon Cognito returned in the requiredAttributes
parameter, then use the UpdateUserAttributes
API operation to modify the value of any additional attributes.
- SOFTWARE_TOKEN_MFA
-
\"ChallengeName\": \"SOFTWARE_TOKEN_MFA\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"SOFTWARE_TOKEN_MFA_CODE\": [authenticator_code]}
- DEVICE_SRP_AUTH
-
\"ChallengeName\": \"DEVICE_SRP_AUTH\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"DEVICE_KEY\": \"[device_key]\", \"SRP_A\": \"[srp_a]\"}
- DEVICE_PASSWORD_VERIFIER
-
\"ChallengeName\": \"DEVICE_PASSWORD_VERIFIER\", \"ChallengeResponses\": {\"DEVICE_KEY\": \"[device_key]\", \"PASSWORD_CLAIM_SIGNATURE\": \"[claim_signature]\", \"PASSWORD_CLAIM_SECRET_BLOCK\": \"[secret_block]\", \"TIMESTAMP\": [timestamp], \"USERNAME\": \"[username]\"}
- MFA_SETUP
-
\"ChallengeName\": \"MFA_SETUP\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\"}, \"SESSION\": \"[Session ID from VerifySoftwareToken]\"
- SELECT_MFA_TYPE
-
\"ChallengeName\": \"SELECT_MFA_TYPE\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"ANSWER\": \"[SMS_MFA or SOFTWARE_TOKEN_MFA]\"}
For more information about SECRET_HASH
, see Computing secret hash values. For information about DEVICE_KEY
, see Working with user devices in your user pool.
"
+ "AdminRespondToAuthChallengeRequest$ChallengeResponses": "The responses to the challenge that you received in the previous request. Each challenge has its own required response parameters. The following examples are partial JSON request bodies that highlight challenge-response parameters.
You must provide a SECRET_HASH parameter in all challenge responses to an app client that has a client secret.
- SMS_MFA
-
\"ChallengeName\": \"SMS_MFA\", \"ChallengeResponses\": {\"SMS_MFA_CODE\": \"[code]\", \"USERNAME\": \"[username]\"}
- EMAIL_OTP
-
\"ChallengeName\": \"EMAIL_OTP\", \"ChallengeResponses\": {\"EMAIL_OTP_CODE\": \"[code]\", \"USERNAME\": \"[username]\"}
- PASSWORD_VERIFIER
-
This challenge response is part of the SRP flow. Amazon Cognito requires that your application respond to this challenge within a few seconds. When the response time exceeds this period, your user pool returns a NotAuthorizedException
error.
\"ChallengeName\": \"PASSWORD_VERIFIER\", \"ChallengeResponses\": {\"PASSWORD_CLAIM_SIGNATURE\": \"[claim_signature]\", \"PASSWORD_CLAIM_SECRET_BLOCK\": \"[secret_block]\", \"TIMESTAMP\": [timestamp], \"USERNAME\": \"[username]\"}
Add \"DEVICE_KEY\"
when you sign in with a remembered device.
- CUSTOM_CHALLENGE
-
\"ChallengeName\": \"CUSTOM_CHALLENGE\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"ANSWER\": \"[challenge_answer]\"}
Add \"DEVICE_KEY\"
when you sign in with a remembered device.
- NEW_PASSWORD_REQUIRED
-
\"ChallengeName\": \"NEW_PASSWORD_REQUIRED\", \"ChallengeResponses\": {\"NEW_PASSWORD\": \"[new_password]\", \"USERNAME\": \"[username]\"}
To set any required attributes that InitiateAuth
returned in an requiredAttributes
parameter, add \"userAttributes.[attribute_name]\": \"[attribute_value]\"
. This parameter can also set values for writable attributes that aren't required by your user pool.
In a NEW_PASSWORD_REQUIRED
challenge response, you can't modify a required attribute that already has a value. In RespondToAuthChallenge
, set a value for any keys that Amazon Cognito returned in the requiredAttributes
parameter, then use the UpdateUserAttributes
API operation to modify the value of any additional attributes.
- SOFTWARE_TOKEN_MFA
-
\"ChallengeName\": \"SOFTWARE_TOKEN_MFA\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"SOFTWARE_TOKEN_MFA_CODE\": [authenticator_code]}
- DEVICE_SRP_AUTH
-
\"ChallengeName\": \"DEVICE_SRP_AUTH\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"DEVICE_KEY\": \"[device_key]\", \"SRP_A\": \"[srp_a]\"}
- DEVICE_PASSWORD_VERIFIER
-
\"ChallengeName\": \"DEVICE_PASSWORD_VERIFIER\", \"ChallengeResponses\": {\"DEVICE_KEY\": \"[device_key]\", \"PASSWORD_CLAIM_SIGNATURE\": \"[claim_signature]\", \"PASSWORD_CLAIM_SECRET_BLOCK\": \"[secret_block]\", \"TIMESTAMP\": [timestamp], \"USERNAME\": \"[username]\"}
- MFA_SETUP
-
\"ChallengeName\": \"MFA_SETUP\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\"}, \"SESSION\": \"[Session ID from VerifySoftwareToken]\"
- SELECT_MFA_TYPE
-
\"ChallengeName\": \"SELECT_MFA_TYPE\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"ANSWER\": \"[SMS_MFA or SOFTWARE_TOKEN_MFA]\"}
For more information about SECRET_HASH
, see Computing secret hash values. For information about DEVICE_KEY
, see Working with user devices in your user pool.
",
+ "RespondToAuthChallengeRequest$ChallengeResponses": "The responses to the challenge that you received in the previous request. Each challenge has its own required response parameters. The following examples are partial JSON request bodies that highlight challenge-response parameters.
You must provide a SECRET_HASH parameter in all challenge responses to an app client that has a client secret.
- SMS_MFA
-
\"ChallengeName\": \"SMS_MFA\", \"ChallengeResponses\": {\"SMS_MFA_CODE\": \"[code]\", \"USERNAME\": \"[username]\"}
- EMAIL_OTP
-
\"ChallengeName\": \"EMAIL_OTP\", \"ChallengeResponses\": {\"EMAIL_OTP_CODE\": \"[code]\", \"USERNAME\": \"[username]\"}
- PASSWORD_VERIFIER
-
This challenge response is part of the SRP flow. Amazon Cognito requires that your application respond to this challenge within a few seconds. When the response time exceeds this period, your user pool returns a NotAuthorizedException
error.
\"ChallengeName\": \"PASSWORD_VERIFIER\", \"ChallengeResponses\": {\"PASSWORD_CLAIM_SIGNATURE\": \"[claim_signature]\", \"PASSWORD_CLAIM_SECRET_BLOCK\": \"[secret_block]\", \"TIMESTAMP\": [timestamp], \"USERNAME\": \"[username]\"}
Add \"DEVICE_KEY\"
when you sign in with a remembered device.
- CUSTOM_CHALLENGE
-
\"ChallengeName\": \"CUSTOM_CHALLENGE\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"ANSWER\": \"[challenge_answer]\"}
Add \"DEVICE_KEY\"
when you sign in with a remembered device.
- NEW_PASSWORD_REQUIRED
-
\"ChallengeName\": \"NEW_PASSWORD_REQUIRED\", \"ChallengeResponses\": {\"NEW_PASSWORD\": \"[new_password]\", \"USERNAME\": \"[username]\"}
To set any required attributes that InitiateAuth
returned in an requiredAttributes
parameter, add \"userAttributes.[attribute_name]\": \"[attribute_value]\"
. This parameter can also set values for writable attributes that aren't required by your user pool.
In a NEW_PASSWORD_REQUIRED
challenge response, you can't modify a required attribute that already has a value. In RespondToAuthChallenge
, set a value for any keys that Amazon Cognito returned in the requiredAttributes
parameter, then use the UpdateUserAttributes
API operation to modify the value of any additional attributes.
- SOFTWARE_TOKEN_MFA
-
\"ChallengeName\": \"SOFTWARE_TOKEN_MFA\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"SOFTWARE_TOKEN_MFA_CODE\": [authenticator_code]}
- DEVICE_SRP_AUTH
-
\"ChallengeName\": \"DEVICE_SRP_AUTH\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"DEVICE_KEY\": \"[device_key]\", \"SRP_A\": \"[srp_a]\"}
- DEVICE_PASSWORD_VERIFIER
-
\"ChallengeName\": \"DEVICE_PASSWORD_VERIFIER\", \"ChallengeResponses\": {\"DEVICE_KEY\": \"[device_key]\", \"PASSWORD_CLAIM_SIGNATURE\": \"[claim_signature]\", \"PASSWORD_CLAIM_SECRET_BLOCK\": \"[secret_block]\", \"TIMESTAMP\": [timestamp], \"USERNAME\": \"[username]\"}
- MFA_SETUP
-
\"ChallengeName\": \"MFA_SETUP\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\"}, \"SESSION\": \"[Session ID from VerifySoftwareToken]\"
- SELECT_MFA_TYPE
-
\"ChallengeName\": \"SELECT_MFA_TYPE\", \"ChallengeResponses\": {\"USERNAME\": \"[username]\", \"ANSWER\": \"[SMS_MFA or SOFTWARE_TOKEN_MFA]\"}
For more information about SECRET_HASH
, see Computing secret hash values. For information about DEVICE_KEY
, see Working with user devices in your user pool.
"
}
},
"ChangePasswordRequest": {
@@ -820,11 +822,11 @@
"ClientPermissionListType": {
"base": null,
"refs": {
- "CreateUserPoolClientRequest$ReadAttributes": "The list of user attributes that you want your app client to have read-only access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list. An example of this kind of activity is when your user selects a link to view their profile information. Your app makes a GetUser API request to retrieve and display your user's profile data.
When you don't specify the ReadAttributes
for your app client, your app can read the values of email_verified
, phone_number_verified
, and the Standard attributes of your user pool. When your user pool has read access to these default attributes, ReadAttributes
doesn't return any information. Amazon Cognito only populates ReadAttributes
in the API response if you have specified your own custom set of read attributes.
",
+ "CreateUserPoolClientRequest$ReadAttributes": "The list of user attributes that you want your app client to have read access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list. An example of this kind of activity is when your user selects a link to view their profile information. Your app makes a GetUser API request to retrieve and display your user's profile data.
When you don't specify the ReadAttributes
for your app client, your app can read the values of email_verified
, phone_number_verified
, and the Standard attributes of your user pool. When your user pool app client has read access to these default attributes, ReadAttributes
doesn't return any information. Amazon Cognito only populates ReadAttributes
in the API response if you have specified your own custom set of read attributes.
",
"CreateUserPoolClientRequest$WriteAttributes": "The list of user attributes that you want your app client to have write access to. After your user authenticates in your app, their access token authorizes them to set or modify their own attribute value for any attribute in this list. An example of this kind of activity is when you present your user with a form to update their profile information and they change their last name. Your app then makes an UpdateUserAttributes API request and sets family_name
to the new value.
When you don't specify the WriteAttributes
for your app client, your app can write the values of the Standard attributes of your user pool. When your user pool has write access to these default attributes, WriteAttributes
doesn't return any information. Amazon Cognito only populates WriteAttributes
in the API response if you have specified your own custom set of write attributes.
If your app client allows users to sign in through an IdP, this array must include all attributes that you have mapped to IdP attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If your app client does not have write access to a mapped attribute, Amazon Cognito throws an error when it tries to update the attribute. For more information, see Specifying IdP Attribute Mappings for Your user pool.
",
- "UpdateUserPoolClientRequest$ReadAttributes": "The list of user attributes that you want your app client to have read-only access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list. An example of this kind of activity is when your user selects a link to view their profile information. Your app makes a GetUser API request to retrieve and display your user's profile data.
When you don't specify the ReadAttributes
for your app client, your app can read the values of email_verified
, phone_number_verified
, and the Standard attributes of your user pool. When your user pool has read access to these default attributes, ReadAttributes
doesn't return any information. Amazon Cognito only populates ReadAttributes
in the API response if you have specified your own custom set of read attributes.
",
+ "UpdateUserPoolClientRequest$ReadAttributes": "The list of user attributes that you want your app client to have read access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list. An example of this kind of activity is when your user selects a link to view their profile information. Your app makes a GetUser API request to retrieve and display your user's profile data.
When you don't specify the ReadAttributes
for your app client, your app can read the values of email_verified
, phone_number_verified
, and the Standard attributes of your user pool. When your user pool app client has read access to these default attributes, ReadAttributes
doesn't return any information. Amazon Cognito only populates ReadAttributes
in the API response if you have specified your own custom set of read attributes.
",
"UpdateUserPoolClientRequest$WriteAttributes": "The list of user attributes that you want your app client to have write access to. After your user authenticates in your app, their access token authorizes them to set or modify their own attribute value for any attribute in this list. An example of this kind of activity is when you present your user with a form to update their profile information and they change their last name. Your app then makes an UpdateUserAttributes API request and sets family_name
to the new value.
When you don't specify the WriteAttributes
for your app client, your app can write the values of the Standard attributes of your user pool. When your user pool has write access to these default attributes, WriteAttributes
doesn't return any information. Amazon Cognito only populates WriteAttributes
in the API response if you have specified your own custom set of write attributes.
If your app client allows users to sign in through an IdP, this array must include all attributes that you have mapped to IdP attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If your app client does not have write access to a mapped attribute, Amazon Cognito throws an error when it tries to update the attribute. For more information, see Specifying IdP Attribute Mappings for Your user pool.
",
- "UserPoolClientType$ReadAttributes": "The list of user attributes that you want your app client to have read-only access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list. An example of this kind of activity is when your user selects a link to view their profile information. Your app makes a GetUser API request to retrieve and display your user's profile data.
When you don't specify the ReadAttributes
for your app client, your app can read the values of email_verified
, phone_number_verified
, and the Standard attributes of your user pool. When your user pool has read access to these default attributes, ReadAttributes
doesn't return any information. Amazon Cognito only populates ReadAttributes
in the API response if you have specified your own custom set of read attributes.
",
+ "UserPoolClientType$ReadAttributes": "The list of user attributes that you want your app client to have read access to. After your user authenticates in your app, their access token authorizes them to read their own attribute value for any attribute in this list. An example of this kind of activity is when your user selects a link to view their profile information. Your app makes a GetUser API request to retrieve and display your user's profile data.
When you don't specify the ReadAttributes
for your app client, your app can read the values of email_verified
, phone_number_verified
, and the Standard attributes of your user pool. When your user pool app client has read access to these default attributes, ReadAttributes
doesn't return any information. Amazon Cognito only populates ReadAttributes
in the API response if you have specified your own custom set of read attributes.
",
"UserPoolClientType$WriteAttributes": "The list of user attributes that you want your app client to have write access to. After your user authenticates in your app, their access token authorizes them to set or modify their own attribute value for any attribute in this list. An example of this kind of activity is when you present your user with a form to update their profile information and they change their last name. Your app then makes an UpdateUserAttributes API request and sets family_name
to the new value.
When you don't specify the WriteAttributes
for your app client, your app can write the values of the Standard attributes of your user pool. When your user pool has write access to these default attributes, WriteAttributes
doesn't return any information. Amazon Cognito only populates WriteAttributes
in the API response if you have specified your own custom set of write attributes.
If your app client allows users to sign in through an IdP, this array must include all attributes that you have mapped to IdP attributes. Amazon Cognito updates mapped attributes when users sign in to your application through an IdP. If your app client does not have write access to a mapped attribute, Amazon Cognito throws an error when it tries to update the attribute. For more information, see Specifying IdP Attribute Mappings for Your user pool.
"
}
},
@@ -1357,6 +1359,33 @@
"UserPoolType$EmailConfiguration": "The email configuration of your user pool. The email configuration type sets your preferred sending method, Amazon Web Services Region, and sender for messages from your user pool.
"
}
},
+ "EmailMfaConfigType": {
+ "base": "Sets or shows user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.
",
+ "refs": {
+ "GetUserPoolMfaConfigResponse$EmailMfaConfiguration": "Shows user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.
",
+ "SetUserPoolMfaConfigRequest$EmailMfaConfiguration": "Configures user pool email messages for MFA. Sets the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.
",
+ "SetUserPoolMfaConfigResponse$EmailMfaConfiguration": "Shows user pool email message configuration for MFA. Includes the subject and body of the email message template for MFA messages. To activate this setting, advanced security features must be active in your user pool.
"
+ }
+ },
+ "EmailMfaMessageType": {
+ "base": null,
+ "refs": {
+ "EmailMfaConfigType$Message": "The template for the email message that your user pool sends to users with an MFA code. The message must contain the {####}
placeholder. In the message, Amazon Cognito replaces this placeholder with the code. If you don't provide this parameter, Amazon Cognito sends messages in the default format.
"
+ }
+ },
+ "EmailMfaSettingsType": {
+ "base": "User preferences for multi-factor authentication with email messages. Activates or deactivates email MFA and sets it as the preferred MFA method when multiple methods are available. To activate this setting, advanced security features must be active in your user pool.
",
+ "refs": {
+ "AdminSetUserMFAPreferenceRequest$EmailMfaSettings": "User preferences for email message MFA. Activates or deactivates email MFA and sets it as the preferred MFA method when multiple methods are available. To activate this setting, advanced security features must be active in your user pool.
",
+ "SetUserMFAPreferenceRequest$EmailMfaSettings": "User preferences for email message MFA. Activates or deactivates email MFA and sets it as the preferred MFA method when multiple methods are available. To activate this setting, advanced security features must be active in your user pool.
"
+ }
+ },
+ "EmailMfaSubjectType": {
+ "base": null,
+ "refs": {
+ "EmailMfaConfigType$Subject": "The subject of the email message that your user pool sends to users with an MFA code.
"
+ }
+ },
"EmailNotificationBodyType": {
"base": null,
"refs": {
@@ -2481,8 +2510,8 @@
"SMSMfaSettingsType": {
"base": "The type used for enabling SMS multi-factor authentication (MFA) at the user level. Phone numbers don't need to be verified to be used for SMS MFA. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned on and the device has been trusted. If you would like MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive Authentication for the user pool.
",
"refs": {
- "AdminSetUserMFAPreferenceRequest$SMSMfaSettings": "The SMS text message MFA settings.
",
- "SetUserMFAPreferenceRequest$SMSMfaSettings": "The SMS text message multi-factor authentication (MFA) settings.
"
+ "AdminSetUserMFAPreferenceRequest$SMSMfaSettings": "User preferences for SMS message MFA. Activates or deactivates SMS MFA and sets it as the preferred MFA method when multiple methods are available.
",
+ "SetUserMFAPreferenceRequest$SMSMfaSettings": "User preferences for SMS message MFA. Activates or deactivates SMS MFA and sets it as the preferred MFA method when multiple methods are available.
"
}
},
"SchemaAttributeType": {
@@ -2652,11 +2681,11 @@
}
},
"SmsMfaConfigType": {
- "base": "The SMS text message multi-factor authentication (MFA) configuration type.
",
+ "base": "Configures user pool SMS messages for multi-factor authentication (MFA). Sets the message template and the SMS message sending configuration for Amazon SNS.
",
"refs": {
- "GetUserPoolMfaConfigResponse$SmsMfaConfiguration": "The SMS text message multi-factor authentication (MFA) configuration.
",
- "SetUserPoolMfaConfigRequest$SmsMfaConfiguration": "The SMS text message MFA configuration.
",
- "SetUserPoolMfaConfigResponse$SmsMfaConfiguration": "The SMS text message MFA configuration.
"
+ "GetUserPoolMfaConfigResponse$SmsMfaConfiguration": "Shows user pool SMS message configuration for MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
",
+ "SetUserPoolMfaConfigRequest$SmsMfaConfiguration": "Configures user pool SMS messages for MFA. Sets the message template and the SMS message sending configuration for Amazon SNS.
",
+ "SetUserPoolMfaConfigResponse$SmsMfaConfiguration": "Shows user pool SMS message configuration for MFA. Includes the message template and the SMS message sending configuration for Amazon SNS.
"
}
},
"SmsVerificationMessageType": {
@@ -2665,7 +2694,7 @@
"CreateUserPoolRequest$SmsVerificationMessage": "This parameter is no longer used. See VerificationMessageTemplateType.
",
"CreateUserPoolRequest$SmsAuthenticationMessage": "A string representing the SMS authentication message.
",
"MessageTemplateType$SMSMessage": "The message template for SMS messages.
",
- "SmsMfaConfigType$SmsAuthenticationMessage": "The SMS authentication message that will be sent to users with the code they must sign in. The message must contain the ‘{####}’ placeholder, which is replaced with the code. If the message isn't included, and default message will be used.
",
+ "SmsMfaConfigType$SmsAuthenticationMessage": "The SMS message that your user pool sends to users with an MFA code. The message must contain the {####}
placeholder. In the message, Amazon Cognito replaces this placeholder with the code. If you don't provide this parameter, Amazon Cognito sends messages in the default format.
",
"UpdateUserPoolRequest$SmsVerificationMessage": "This parameter is no longer used. See VerificationMessageTemplateType.
",
"UpdateUserPoolRequest$SmsAuthenticationMessage": "The contents of the SMS authentication message.
",
"UserPoolType$SmsVerificationMessage": "This parameter is no longer used. See VerificationMessageTemplateType.
",
@@ -2685,18 +2714,18 @@
}
},
"SoftwareTokenMfaConfigType": {
- "base": "The type used for enabling software token MFA at the user pool level.
",
+ "base": "Configures a user pool for time-based one-time password (TOTP) multi-factor authentication (MFA). Enables or disables TOTP.
",
"refs": {
- "GetUserPoolMfaConfigResponse$SoftwareTokenMfaConfiguration": "The software token multi-factor authentication (MFA) configuration.
",
- "SetUserPoolMfaConfigRequest$SoftwareTokenMfaConfiguration": "The software token MFA configuration.
",
- "SetUserPoolMfaConfigResponse$SoftwareTokenMfaConfiguration": "The software token MFA configuration.
"
+ "GetUserPoolMfaConfigResponse$SoftwareTokenMfaConfiguration": "Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.
",
+ "SetUserPoolMfaConfigRequest$SoftwareTokenMfaConfiguration": "Configures a user pool for time-based one-time password (TOTP) MFA. Enables or disables TOTP.
",
+ "SetUserPoolMfaConfigResponse$SoftwareTokenMfaConfiguration": "Shows user pool configuration for time-based one-time password (TOTP) MFA. Includes TOTP enabled or disabled state.
"
}
},
"SoftwareTokenMfaSettingsType": {
"base": "The type used for enabling software token MFA at the user level. If an MFA type is activated for a user, the user will be prompted for MFA during all sign-in attempts, unless device tracking is turned on and the device has been trusted. If you want MFA to be applied selectively based on the assessed risk level of sign-in attempts, deactivate MFA for users and turn on Adaptive Authentication for the user pool.
",
"refs": {
- "AdminSetUserMFAPreferenceRequest$SoftwareTokenMfaSettings": "The time-based one-time password software token MFA settings.
",
- "SetUserMFAPreferenceRequest$SoftwareTokenMfaSettings": "The time-based one-time password (TOTP) software token MFA settings.
"
+ "AdminSetUserMFAPreferenceRequest$SoftwareTokenMfaSettings": "User preferences for time-based one-time password (TOTP) MFA. Activates or deactivates TOTP MFA and sets it as the preferred MFA method when multiple methods are available.
",
+ "SetUserMFAPreferenceRequest$SoftwareTokenMfaSettings": "User preferences for time-based one-time password (TOTP) MFA. Activates or deactivates TOTP MFA and sets it as the preferred MFA method when multiple methods are available.
"
}
},
"StartUserImportJobRequest": {
@@ -3098,8 +3127,8 @@
"UserMFASettingListType": {
"base": null,
"refs": {
- "AdminGetUserResponse$UserMFASettingList": "The MFA options that are activated for the user. The possible values in this list are SMS_MFA
and SOFTWARE_TOKEN_MFA
.
",
- "GetUserResponse$UserMFASettingList": "The MFA options that are activated for the user. The possible values in this list are SMS_MFA
and SOFTWARE_TOKEN_MFA
.
"
+ "AdminGetUserResponse$UserMFASettingList": "The MFA options that are activated for the user. The possible values in this list are SMS_MFA
, EMAIL_OTP
, and SOFTWARE_TOKEN_MFA
.
",
+ "GetUserResponse$UserMFASettingList": "The MFA options that are activated for the user. The possible values in this list are SMS_MFA
, EMAIL_OTP
, and SOFTWARE_TOKEN_MFA
.
"
}
},
"UserNotConfirmedException": {
@@ -3172,7 +3201,7 @@
"AdminRemoveUserFromGroupRequest$UserPoolId": "The user pool ID for the user pool.
",
"AdminResetUserPasswordRequest$UserPoolId": "The user pool ID for the user pool where you want to reset the user's password.
",
"AdminRespondToAuthChallengeRequest$UserPoolId": "The ID of the Amazon Cognito user pool.
",
- "AdminSetUserMFAPreferenceRequest$UserPoolId": "The user pool ID.
",
+ "AdminSetUserMFAPreferenceRequest$UserPoolId": "The ID of the user pool where you want to set a user's MFA preferences.
",
"AdminSetUserPasswordRequest$UserPoolId": "The user pool ID for the user pool where you want to set the user's password.
",
"AdminSetUserSettingsRequest$UserPoolId": "The ID of the user pool that contains the user whose options you're setting.
",
"AdminUpdateAuthEventFeedbackRequest$UserPoolId": "The user pool ID.
",
diff --git a/apis/directory-service-data/2023-05-31/api-2.json b/apis/directory-service-data/2023-05-31/api-2.json
new file mode 100644
index 00000000000..9d88e0c7e25
--- /dev/null
+++ b/apis/directory-service-data/2023-05-31/api-2.json
@@ -0,0 +1,1192 @@
+{
+ "version":"2.0",
+ "metadata":{
+ "apiVersion":"2023-05-31",
+ "endpointPrefix":"ds-data",
+ "jsonVersion":"1.1",
+ "protocol":"rest-json",
+ "protocols":["rest-json"],
+ "serviceFullName":"AWS Directory Service Data",
+ "serviceId":"Directory Service Data",
+ "signatureVersion":"v4",
+ "signingName":"ds-data",
+ "uid":"directory-service-data-2023-05-31"
+ },
+ "operations":{
+ "AddGroupMember":{
+ "name":"AddGroupMember",
+ "http":{
+ "method":"POST",
+ "requestUri":"/GroupMemberships/AddGroupMember",
+ "responseCode":200
+ },
+ "input":{"shape":"AddGroupMemberRequest"},
+ "output":{"shape":"AddGroupMemberResult"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "CreateGroup":{
+ "name":"CreateGroup",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Groups/CreateGroup",
+ "responseCode":200
+ },
+ "input":{"shape":"CreateGroupRequest"},
+ "output":{"shape":"CreateGroupResult"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "CreateUser":{
+ "name":"CreateUser",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Users/CreateUser",
+ "responseCode":200
+ },
+ "input":{"shape":"CreateUserRequest"},
+ "output":{"shape":"CreateUserResult"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "DeleteGroup":{
+ "name":"DeleteGroup",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Groups/DeleteGroup",
+ "responseCode":200
+ },
+ "input":{"shape":"DeleteGroupRequest"},
+ "output":{"shape":"DeleteGroupResult"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "DeleteUser":{
+ "name":"DeleteUser",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Users/DeleteUser",
+ "responseCode":200
+ },
+ "input":{"shape":"DeleteUserRequest"},
+ "output":{"shape":"DeleteUserResult"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "DescribeGroup":{
+ "name":"DescribeGroup",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Groups/DescribeGroup",
+ "responseCode":200
+ },
+ "input":{"shape":"DescribeGroupRequest"},
+ "output":{"shape":"DescribeGroupResult"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "DescribeUser":{
+ "name":"DescribeUser",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Users/DescribeUser",
+ "responseCode":200
+ },
+ "input":{"shape":"DescribeUserRequest"},
+ "output":{"shape":"DescribeUserResult"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "DisableUser":{
+ "name":"DisableUser",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Users/DisableUser",
+ "responseCode":200
+ },
+ "input":{"shape":"DisableUserRequest"},
+ "output":{"shape":"DisableUserResult"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "ListGroupMembers":{
+ "name":"ListGroupMembers",
+ "http":{
+ "method":"POST",
+ "requestUri":"/GroupMemberships/ListGroupMembers",
+ "responseCode":200
+ },
+ "input":{"shape":"ListGroupMembersRequest"},
+ "output":{"shape":"ListGroupMembersResult"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "ListGroups":{
+ "name":"ListGroups",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Groups/ListGroups",
+ "responseCode":200
+ },
+ "input":{"shape":"ListGroupsRequest"},
+ "output":{"shape":"ListGroupsResult"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "ListGroupsForMember":{
+ "name":"ListGroupsForMember",
+ "http":{
+ "method":"POST",
+ "requestUri":"/GroupMemberships/ListGroupsForMember",
+ "responseCode":200
+ },
+ "input":{"shape":"ListGroupsForMemberRequest"},
+ "output":{"shape":"ListGroupsForMemberResult"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "ListUsers":{
+ "name":"ListUsers",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Users/ListUsers",
+ "responseCode":200
+ },
+ "input":{"shape":"ListUsersRequest"},
+ "output":{"shape":"ListUsersResult"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "RemoveGroupMember":{
+ "name":"RemoveGroupMember",
+ "http":{
+ "method":"POST",
+ "requestUri":"/GroupMemberships/RemoveGroupMember",
+ "responseCode":200
+ },
+ "input":{"shape":"RemoveGroupMemberRequest"},
+ "output":{"shape":"RemoveGroupMemberResult"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "SearchGroups":{
+ "name":"SearchGroups",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Groups/SearchGroups",
+ "responseCode":200
+ },
+ "input":{"shape":"SearchGroupsRequest"},
+ "output":{"shape":"SearchGroupsResult"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "SearchUsers":{
+ "name":"SearchUsers",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Users/SearchUsers",
+ "responseCode":200
+ },
+ "input":{"shape":"SearchUsersRequest"},
+ "output":{"shape":"SearchUsersResult"},
+ "errors":[
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "UpdateGroup":{
+ "name":"UpdateGroup",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Groups/UpdateGroup",
+ "responseCode":200
+ },
+ "input":{"shape":"UpdateGroupRequest"},
+ "output":{"shape":"UpdateGroupResult"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"}
+ ]
+ },
+ "UpdateUser":{
+ "name":"UpdateUser",
+ "http":{
+ "method":"POST",
+ "requestUri":"/Users/UpdateUser",
+ "responseCode":200
+ },
+ "input":{"shape":"UpdateUserRequest"},
+ "output":{"shape":"UpdateUserResult"},
+ "errors":[
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"ConflictException"},
+ {"shape":"ThrottlingException"}
+ ]
+ }
+ },
+ "shapes":{
+ "AccessDeniedException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"ExceptionMessage"},
+ "Reason":{"shape":"AccessDeniedReason"}
+ },
+ "error":{
+ "httpStatusCode":403,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "AccessDeniedReason":{
+ "type":"string",
+ "enum":[
+ "IAM_AUTH",
+ "DIRECTORY_AUTH",
+ "DATA_DISABLED"
+ ]
+ },
+ "AddGroupMemberRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "GroupName",
+ "MemberName"
+ ],
+ "members":{
+ "ClientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "GroupName":{"shape":"GroupName"},
+ "MemberName":{"shape":"MemberName"},
+ "MemberRealm":{"shape":"Realm"}
+ }
+ },
+ "AddGroupMemberResult":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "AttributeValue":{
+ "type":"structure",
+ "members":{
+ "BOOL":{"shape":"BooleanAttributeValue"},
+ "N":{"shape":"NumberAttributeValue"},
+ "S":{"shape":"StringAttributeValue"},
+ "SS":{"shape":"StringSetAttributeValue"}
+ },
+ "union":true
+ },
+ "Attributes":{
+ "type":"map",
+ "key":{"shape":"LdapDisplayName"},
+ "value":{"shape":"AttributeValue"},
+ "max":25,
+ "min":1
+ },
+ "Boolean":{
+ "type":"boolean",
+ "box":true
+ },
+ "BooleanAttributeValue":{
+ "type":"boolean",
+ "box":true,
+ "sensitive":true
+ },
+ "ClientToken":{
+ "type":"string",
+ "max":128,
+ "min":1,
+ "pattern":"^[\\x00-\\x7F]+$"
+ },
+ "ConflictException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"ExceptionMessage"}
+ },
+ "error":{
+ "httpStatusCode":409,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "CreateGroupRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SAMAccountName"
+ ],
+ "members":{
+ "ClientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "GroupScope":{"shape":"GroupScope"},
+ "GroupType":{"shape":"GroupType"},
+ "OtherAttributes":{"shape":"Attributes"},
+ "SAMAccountName":{"shape":"GroupName"}
+ }
+ },
+ "CreateGroupResult":{
+ "type":"structure",
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "SAMAccountName":{"shape":"GroupName"},
+ "SID":{"shape":"SID"}
+ }
+ },
+ "CreateUserRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SAMAccountName"
+ ],
+ "members":{
+ "ClientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "EmailAddress":{"shape":"EmailAddress"},
+ "GivenName":{"shape":"GivenName"},
+ "OtherAttributes":{"shape":"Attributes"},
+ "SAMAccountName":{"shape":"UserName"},
+ "Surname":{"shape":"Surname"}
+ }
+ },
+ "CreateUserResult":{
+ "type":"structure",
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "SAMAccountName":{"shape":"UserName"},
+ "SID":{"shape":"SID"}
+ }
+ },
+ "DeleteGroupRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SAMAccountName"
+ ],
+ "members":{
+ "ClientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "SAMAccountName":{"shape":"GroupName"}
+ }
+ },
+ "DeleteGroupResult":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DeleteUserRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SAMAccountName"
+ ],
+ "members":{
+ "ClientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "SAMAccountName":{"shape":"UserName"}
+ }
+ },
+ "DeleteUserResult":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DescribeGroupRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SAMAccountName"
+ ],
+ "members":{
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "OtherAttributes":{"shape":"LdapDisplayNameList"},
+ "Realm":{"shape":"Realm"},
+ "SAMAccountName":{"shape":"GroupName"}
+ }
+ },
+ "DescribeGroupResult":{
+ "type":"structure",
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "DistinguishedName":{"shape":"DistinguishedName"},
+ "GroupScope":{"shape":"GroupScope"},
+ "GroupType":{"shape":"GroupType"},
+ "OtherAttributes":{"shape":"Attributes"},
+ "Realm":{"shape":"Realm"},
+ "SAMAccountName":{"shape":"GroupName"},
+ "SID":{"shape":"SID"}
+ }
+ },
+ "DescribeUserRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SAMAccountName"
+ ],
+ "members":{
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "OtherAttributes":{"shape":"LdapDisplayNameList"},
+ "Realm":{"shape":"Realm"},
+ "SAMAccountName":{"shape":"UserName"}
+ }
+ },
+ "DescribeUserResult":{
+ "type":"structure",
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "DistinguishedName":{"shape":"DistinguishedName"},
+ "EmailAddress":{"shape":"EmailAddress"},
+ "Enabled":{"shape":"Boolean"},
+ "GivenName":{"shape":"GivenName"},
+ "OtherAttributes":{"shape":"Attributes"},
+ "Realm":{"shape":"Realm"},
+ "SAMAccountName":{"shape":"UserName"},
+ "SID":{"shape":"SID"},
+ "Surname":{"shape":"Surname"},
+ "UserPrincipalName":{"shape":"UserPrincipalName"}
+ }
+ },
+ "DirectoryId":{
+ "type":"string",
+ "pattern":"^d-[0-9a-f]{10}$"
+ },
+ "DirectoryUnavailableException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"ExceptionMessage"},
+ "Reason":{"shape":"DirectoryUnavailableReason"}
+ },
+ "error":{
+ "httpStatusCode":400,
+ "senderFault":true
+ },
+ "exception":true,
+ "retryable":{"throttling":false}
+ },
+ "DirectoryUnavailableReason":{
+ "type":"string",
+ "enum":[
+ "INVALID_DIRECTORY_STATE",
+ "DIRECTORY_TIMEOUT",
+ "DIRECTORY_RESOURCES_EXCEEDED",
+ "NO_DISK_SPACE",
+ "TRUST_AUTH_FAILURE"
+ ]
+ },
+ "DisableUserRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SAMAccountName"
+ ],
+ "members":{
+ "ClientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "SAMAccountName":{"shape":"UserName"}
+ }
+ },
+ "DisableUserResult":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "DistinguishedName":{
+ "type":"string",
+ "max":256,
+ "min":1,
+ "sensitive":true
+ },
+ "EmailAddress":{
+ "type":"string",
+ "max":256,
+ "min":1,
+ "sensitive":true
+ },
+ "ExceptionMessage":{"type":"string"},
+ "GivenName":{
+ "type":"string",
+ "max":64,
+ "min":1,
+ "sensitive":true
+ },
+ "Group":{
+ "type":"structure",
+ "required":["SAMAccountName"],
+ "members":{
+ "DistinguishedName":{"shape":"DistinguishedName"},
+ "GroupScope":{"shape":"GroupScope"},
+ "GroupType":{"shape":"GroupType"},
+ "OtherAttributes":{"shape":"Attributes"},
+ "SAMAccountName":{"shape":"GroupName"},
+ "SID":{"shape":"SID"}
+ }
+ },
+ "GroupList":{
+ "type":"list",
+ "member":{"shape":"Group"}
+ },
+ "GroupName":{
+ "type":"string",
+ "max":64,
+ "min":1,
+ "pattern":"^[^:;|=+\"*?<>/\\\\,\\[\\]@]+$"
+ },
+ "GroupScope":{
+ "type":"string",
+ "enum":[
+ "DomainLocal",
+ "Global",
+ "Universal",
+ "BuiltinLocal"
+ ]
+ },
+ "GroupSummary":{
+ "type":"structure",
+ "required":[
+ "GroupScope",
+ "GroupType",
+ "SAMAccountName",
+ "SID"
+ ],
+ "members":{
+ "GroupScope":{"shape":"GroupScope"},
+ "GroupType":{"shape":"GroupType"},
+ "SAMAccountName":{"shape":"GroupName"},
+ "SID":{"shape":"SID"}
+ }
+ },
+ "GroupSummaryList":{
+ "type":"list",
+ "member":{"shape":"GroupSummary"}
+ },
+ "GroupType":{
+ "type":"string",
+ "enum":[
+ "Distribution",
+ "Security"
+ ]
+ },
+ "Integer":{
+ "type":"integer",
+ "box":true
+ },
+ "InternalServerException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"ExceptionMessage"}
+ },
+ "error":{"httpStatusCode":500},
+ "exception":true,
+ "fault":true,
+ "retryable":{"throttling":false}
+ },
+ "LdapDisplayName":{
+ "type":"string",
+ "max":63,
+ "min":1,
+ "pattern":"^[A-Za-z*][A-Za-z-*]*$"
+ },
+ "LdapDisplayNameList":{
+ "type":"list",
+ "member":{"shape":"LdapDisplayName"},
+ "max":25,
+ "min":1
+ },
+ "ListGroupMembersRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SAMAccountName"
+ ],
+ "members":{
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "MaxResults":{"shape":"MaxResults"},
+ "MemberRealm":{"shape":"Realm"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"},
+ "SAMAccountName":{"shape":"GroupName"}
+ }
+ },
+ "ListGroupMembersResult":{
+ "type":"structure",
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "MemberRealm":{"shape":"Realm"},
+ "Members":{"shape":"MemberList"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"}
+ }
+ },
+ "ListGroupsForMemberRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SAMAccountName"
+ ],
+ "members":{
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "MaxResults":{"shape":"MaxResults"},
+ "MemberRealm":{"shape":"Realm"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"},
+ "SAMAccountName":{"shape":"MemberName"}
+ }
+ },
+ "ListGroupsForMemberResult":{
+ "type":"structure",
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "Groups":{"shape":"GroupSummaryList"},
+ "MemberRealm":{"shape":"Realm"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"}
+ }
+ },
+ "ListGroupsRequest":{
+ "type":"structure",
+ "required":["DirectoryId"],
+ "members":{
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "MaxResults":{"shape":"MaxResults"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"}
+ }
+ },
+ "ListGroupsResult":{
+ "type":"structure",
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "Groups":{"shape":"GroupSummaryList"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"}
+ }
+ },
+ "ListUsersRequest":{
+ "type":"structure",
+ "required":["DirectoryId"],
+ "members":{
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "MaxResults":{"shape":"MaxResults"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"}
+ }
+ },
+ "ListUsersResult":{
+ "type":"structure",
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"},
+ "Users":{"shape":"UserSummaryList"}
+ }
+ },
+ "MaxResults":{
+ "type":"integer",
+ "box":true,
+ "max":250,
+ "min":1
+ },
+ "Member":{
+ "type":"structure",
+ "required":[
+ "MemberType",
+ "SAMAccountName",
+ "SID"
+ ],
+ "members":{
+ "MemberType":{"shape":"MemberType"},
+ "SAMAccountName":{"shape":"MemberName"},
+ "SID":{"shape":"SID"}
+ }
+ },
+ "MemberList":{
+ "type":"list",
+ "member":{"shape":"Member"}
+ },
+ "MemberName":{
+ "type":"string",
+ "max":63,
+ "min":1,
+ "pattern":"^[^:;|=+\"*?<>/\\\\,\\[\\]@]+$"
+ },
+ "MemberType":{
+ "type":"string",
+ "enum":[
+ "USER",
+ "GROUP",
+ "COMPUTER"
+ ]
+ },
+ "NextToken":{
+ "type":"string",
+ "max":6144,
+ "min":1,
+ "sensitive":true
+ },
+ "NumberAttributeValue":{
+ "type":"long",
+ "box":true,
+ "sensitive":true
+ },
+ "Realm":{
+ "type":"string",
+ "max":255,
+ "min":1,
+ "pattern":"^([a-zA-Z0-9]+[\\\\.-])+([a-zA-Z0-9])+[.]?$"
+ },
+ "RemoveGroupMemberRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "GroupName",
+ "MemberName"
+ ],
+ "members":{
+ "ClientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "GroupName":{"shape":"GroupName"},
+ "MemberName":{"shape":"MemberName"},
+ "MemberRealm":{"shape":"Realm"}
+ }
+ },
+ "RemoveGroupMemberResult":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "ResourceNotFoundException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"ExceptionMessage"}
+ },
+ "error":{
+ "httpStatusCode":404,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "SID":{
+ "type":"string",
+ "max":256,
+ "min":1
+ },
+ "SearchGroupsRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SearchAttributes",
+ "SearchString"
+ ],
+ "members":{
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "MaxResults":{"shape":"MaxResults"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"},
+ "SearchAttributes":{"shape":"LdapDisplayNameList"},
+ "SearchString":{"shape":"SearchString"}
+ }
+ },
+ "SearchGroupsResult":{
+ "type":"structure",
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "Groups":{"shape":"GroupList"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"}
+ }
+ },
+ "SearchString":{
+ "type":"string",
+ "max":64,
+ "min":1,
+ "sensitive":true
+ },
+ "SearchUsersRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SearchAttributes",
+ "SearchString"
+ ],
+ "members":{
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "MaxResults":{"shape":"MaxResults"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"},
+ "SearchAttributes":{"shape":"LdapDisplayNameList"},
+ "SearchString":{"shape":"SearchString"}
+ }
+ },
+ "SearchUsersResult":{
+ "type":"structure",
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"},
+ "NextToken":{"shape":"NextToken"},
+ "Realm":{"shape":"Realm"},
+ "Users":{"shape":"UserList"}
+ }
+ },
+ "StringAttributeValue":{
+ "type":"string",
+ "max":1024,
+ "min":1,
+ "sensitive":true
+ },
+ "StringSetAttributeValue":{
+ "type":"list",
+ "member":{"shape":"StringAttributeValue"},
+ "max":25,
+ "min":0,
+ "sensitive":true
+ },
+ "Surname":{
+ "type":"string",
+ "max":64,
+ "min":1,
+ "sensitive":true
+ },
+ "ThrottlingException":{
+ "type":"structure",
+ "required":["Message"],
+ "members":{
+ "Message":{"shape":"ExceptionMessage"},
+ "RetryAfterSeconds":{
+ "shape":"Integer",
+ "location":"header",
+ "locationName":"Retry-After"
+ }
+ },
+ "error":{
+ "httpStatusCode":429,
+ "senderFault":true
+ },
+ "exception":true,
+ "retryable":{"throttling":true}
+ },
+ "UpdateGroupRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SAMAccountName"
+ ],
+ "members":{
+ "ClientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "GroupScope":{"shape":"GroupScope"},
+ "GroupType":{"shape":"GroupType"},
+ "OtherAttributes":{"shape":"Attributes"},
+ "SAMAccountName":{"shape":"GroupName"},
+ "UpdateType":{"shape":"UpdateType"}
+ }
+ },
+ "UpdateGroupResult":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "UpdateType":{
+ "type":"string",
+ "enum":[
+ "ADD",
+ "REPLACE",
+ "REMOVE"
+ ]
+ },
+ "UpdateUserRequest":{
+ "type":"structure",
+ "required":[
+ "DirectoryId",
+ "SAMAccountName"
+ ],
+ "members":{
+ "ClientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true
+ },
+ "DirectoryId":{
+ "shape":"DirectoryId",
+ "location":"querystring",
+ "locationName":"DirectoryId"
+ },
+ "EmailAddress":{"shape":"EmailAddress"},
+ "GivenName":{"shape":"GivenName"},
+ "OtherAttributes":{"shape":"Attributes"},
+ "SAMAccountName":{"shape":"UserName"},
+ "Surname":{"shape":"Surname"},
+ "UpdateType":{"shape":"UpdateType"}
+ }
+ },
+ "UpdateUserResult":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "User":{
+ "type":"structure",
+ "required":["SAMAccountName"],
+ "members":{
+ "DistinguishedName":{"shape":"DistinguishedName"},
+ "EmailAddress":{"shape":"EmailAddress"},
+ "Enabled":{"shape":"Boolean"},
+ "GivenName":{"shape":"GivenName"},
+ "OtherAttributes":{"shape":"Attributes"},
+ "SAMAccountName":{"shape":"UserName"},
+ "SID":{"shape":"SID"},
+ "Surname":{"shape":"Surname"},
+ "UserPrincipalName":{"shape":"UserPrincipalName"}
+ }
+ },
+ "UserList":{
+ "type":"list",
+ "member":{"shape":"User"}
+ },
+ "UserName":{
+ "type":"string",
+ "max":20,
+ "min":1,
+ "pattern":"^[\\w\\-.]+$"
+ },
+ "UserPrincipalName":{
+ "type":"string",
+ "max":256,
+ "min":1,
+ "sensitive":true
+ },
+ "UserSummary":{
+ "type":"structure",
+ "required":[
+ "Enabled",
+ "SAMAccountName",
+ "SID"
+ ],
+ "members":{
+ "Enabled":{"shape":"Boolean"},
+ "GivenName":{"shape":"GivenName"},
+ "SAMAccountName":{"shape":"UserName"},
+ "SID":{"shape":"SID"},
+ "Surname":{"shape":"Surname"}
+ }
+ },
+ "UserSummaryList":{
+ "type":"list",
+ "member":{"shape":"UserSummary"}
+ },
+ "ValidationException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"ExceptionMessage"},
+ "Reason":{"shape":"ValidationExceptionReason"}
+ },
+ "error":{
+ "httpStatusCode":400,
+ "senderFault":true
+ },
+ "exception":true
+ },
+ "ValidationExceptionReason":{
+ "type":"string",
+ "enum":[
+ "INVALID_REALM",
+ "INVALID_DIRECTORY_TYPE",
+ "INVALID_SECONDARY_REGION",
+ "INVALID_NEXT_TOKEN",
+ "INVALID_ATTRIBUTE_VALUE",
+ "INVALID_ATTRIBUTE_NAME",
+ "INVALID_ATTRIBUTE_FOR_USER",
+ "INVALID_ATTRIBUTE_FOR_GROUP",
+ "INVALID_ATTRIBUTE_FOR_SEARCH",
+ "INVALID_ATTRIBUTE_FOR_MODIFY",
+ "DUPLICATE_ATTRIBUTE",
+ "MISSING_ATTRIBUTE",
+ "ATTRIBUTE_EXISTS",
+ "LDAP_SIZE_LIMIT_EXCEEDED",
+ "LDAP_UNSUPPORTED_OPERATION"
+ ]
+ }
+ }
+}
diff --git a/apis/directory-service-data/2023-05-31/docs-2.json b/apis/directory-service-data/2023-05-31/docs-2.json
new file mode 100644
index 00000000000..fbfb4b8b6e7
--- /dev/null
+++ b/apis/directory-service-data/2023-05-31/docs-2.json
@@ -0,0 +1,634 @@
+{
+ "version": "2.0",
+ "service": " Amazon Web Services Directory Service Data is an extension of Directory Service. This API reference provides detailed information about Directory Service Data operations and object types.
With Directory Service Data, you can create, read, update, and delete users, groups, and memberships from your Managed Microsoft AD without additional costs and without deploying dedicated management instances. You can also perform built-in object management tasks across directories without direct network connectivity, which simplifies provisioning and access management to achieve fully automated deployments. Directory Service Data supports user and group write operations, such as CreateUser
and CreateGroup
, within the organizational unit (OU) of your Managed Microsoft AD. Directory Service Data supports read operations, such as ListUsers
and ListGroups
, on all users, groups, and group memberships within your Managed Microsoft AD and across trusted realms. Directory Service Data supports adding and removing group members in your OU and the Amazon Web Services Delegated Groups OU, so you can grant and deny access to specific roles and permissions. For more information, see Manage users and groups in the Directory Service Administration Guide.
Directory management operations and configuration changes made against the Directory Service API will also reflect in Directory Service Data API with eventual consistency. You can expect a short delay between management changes, such as adding a new directory trust and calling the Directory Service Data API for the newly created trusted realm.
Directory Service Data connects to your Managed Microsoft AD domain controllers and performs operations on underlying directory objects. When you create your Managed Microsoft AD, you choose subnets for domain controllers that Directory Service creates on your behalf. If a domain controller is unavailable, Directory Service Data uses an available domain controller. As a result, you might notice eventual consistency while objects replicate from one domain controller to another domain controller. For more information, see What gets created in the Directory Service Administration Guide. Directory limits vary by Managed Microsoft AD edition:
-
Standard edition – Supports 8 transactions per second (TPS) for read operations and 4 TPS for write operations per directory. There's a concurrency limit of 10 concurrent requests.
-
Enterprise edition – Supports 16 transactions per second (TPS) for read operations and 8 TPS for write operations per directory. There's a concurrency limit of 10 concurrent requests.
-
Amazon Web Services Account - Supports a total of 100 TPS for Directory Service Data operations across all directories.
Directory Service Data only supports the Managed Microsoft AD directory type and is only available in the primary Amazon Web Services Region. For more information, see Managed Microsoft AD and Primary vs additional Regions in the Directory Service Administration Guide.
",
+ "operations": {
+ "AddGroupMember": "Adds an existing user, group, or computer as a group member.
",
+ "CreateGroup": "Creates a new group.
",
+ "CreateUser": "Creates a new user.
",
+ "DeleteGroup": "Deletes a group.
",
+ "DeleteUser": "Deletes a user.
",
+ "DescribeGroup": "Returns information about a specific group.
",
+ "DescribeUser": "Returns information about a specific user.
",
+ "DisableUser": " Deactivates an active user account. For information about how to enable an inactive user account, see ResetUserPassword in the Directory Service API Reference.
",
+ "ListGroupMembers": " Returns member information for the specified group.
This operation supports pagination with the use of the NextToken
request and response parameters. If more results are available, the ListGroupMembers.NextToken
member contains a token that you pass in the next call to ListGroupMembers
. This retrieves the next set of items.
You can also specify a maximum number of return results with the MaxResults
parameter.
",
+ "ListGroups": " Returns group information for the specified directory.
This operation supports pagination with the use of the NextToken
request and response parameters. If more results are available, the ListGroups.NextToken
member contains a token that you pass in the next call to ListGroups
. This retrieves the next set of items.
You can also specify a maximum number of return results with the MaxResults
parameter.
",
+ "ListGroupsForMember": " Returns group information for the specified member.
This operation supports pagination with the use of the NextToken
request and response parameters. If more results are available, the ListGroupsForMember.NextToken
member contains a token that you pass in the next call to ListGroupsForMember
. This retrieves the next set of items.
You can also specify a maximum number of return results with the MaxResults
parameter.
",
+ "ListUsers": " Returns user information for the specified directory.
This operation supports pagination with the use of the NextToken
request and response parameters. If more results are available, the ListUsers.NextToken
member contains a token that you pass in the next call to ListUsers
. This retrieves the next set of items.
You can also specify a maximum number of return results with the MaxResults
parameter.
",
+ "RemoveGroupMember": " Removes a member from a group.
",
+ "SearchGroups": " Searches the specified directory for a group. You can find groups that match the SearchString
parameter with the value of their attributes included in the SearchString
parameter.
This operation supports pagination with the use of the NextToken
request and response parameters. If more results are available, the SearchGroups.NextToken
member contains a token that you pass in the next call to SearchGroups
. This retrieves the next set of items.
You can also specify a maximum number of return results with the MaxResults
parameter.
",
+ "SearchUsers": " Searches the specified directory for a user. You can find users that match the SearchString
parameter with the value of their attributes included in the SearchString
parameter.
This operation supports pagination with the use of the NextToken
request and response parameters. If more results are available, the SearchUsers.NextToken
member contains a token that you pass in the next call to SearchUsers
. This retrieves the next set of items.
You can also specify a maximum number of return results with the MaxResults
parameter.
",
+ "UpdateGroup": " Updates group information.
",
+ "UpdateUser": " Updates user information.
"
+ },
+ "shapes": {
+ "AccessDeniedException": {
+ "base": " You don't have permission to perform the request or access the directory. It can also occur when the DirectoryId
doesn't exist or the user, member, or group might be outside of your organizational unit (OU).
Make sure that you have the authentication and authorization to perform the action. Review the directory information in the request, and make sure that the object isn't outside of your OU.
",
+ "refs": {
+ }
+ },
+ "AccessDeniedReason": {
+ "base": null,
+ "refs": {
+ "AccessDeniedException$Reason": " Reason the request was unauthorized.
"
+ }
+ },
+ "AddGroupMemberRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "AddGroupMemberResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "AttributeValue": {
+ "base": " The data type for an attribute. Each attribute value is described as a name-value pair. The name is the AD schema name, and the value is the data itself. For a list of supported attributes, see Directory Service Data Attributes.
",
+ "refs": {
+ "Attributes$value": null
+ }
+ },
+ "Attributes": {
+ "base": null,
+ "refs": {
+ "CreateGroupRequest$OtherAttributes": " An expression that defines one or more attributes with the data type and value of each attribute.
",
+ "CreateUserRequest$OtherAttributes": " An expression that defines one or more attribute names with the data type and value of each attribute. A key is an attribute name, and the value is a list of maps. For a list of supported attributes, see Directory Service Data Attributes.
Attribute names are case insensitive.
",
+ "DescribeGroupResult$OtherAttributes": " The attribute values that are returned for the attribute names that are included in the request.
",
+ "DescribeUserResult$OtherAttributes": " The attribute values that are returned for the attribute names that are included in the request.
Attribute names are case insensitive.
",
+ "Group$OtherAttributes": " An expression of one or more attributes, data types, and the values of a group.
",
+ "UpdateGroupRequest$OtherAttributes": " An expression that defines one or more attributes with the data type and the value of each attribute.
",
+ "UpdateUserRequest$OtherAttributes": " An expression that defines one or more attribute names with the data type and value of each attribute. A key is an attribute name, and the value is a list of maps. For a list of supported attributes, see Directory Service Data Attributes.
Attribute names are case insensitive.
",
+ "User$OtherAttributes": " An expression that includes one or more attributes, data types, and values of a user.
"
+ }
+ },
+ "Boolean": {
+ "base": null,
+ "refs": {
+ "DescribeUserResult$Enabled": " Indicates whether the user account is active.
",
+ "User$Enabled": " Indicates whether the user account is active.
",
+ "UserSummary$Enabled": "Indicates whether the user account is active.
"
+ }
+ },
+ "BooleanAttributeValue": {
+ "base": null,
+ "refs": {
+ "AttributeValue$BOOL": " Indicates that the attribute type value is a boolean. For example:
\"BOOL\": true
"
+ }
+ },
+ "ClientToken": {
+ "base": null,
+ "refs": {
+ "AddGroupMemberRequest$ClientToken": " A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException
.
This parameter is optional when using the CLI or SDK.
",
+ "CreateGroupRequest$ClientToken": " A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException
.
This parameter is optional when using the CLI or SDK.
",
+ "CreateUserRequest$ClientToken": " A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException
.
This parameter is optional when using the CLI or SDK.
",
+ "DeleteGroupRequest$ClientToken": " A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException
.
This parameter is optional when using the CLI or SDK.
",
+ "DeleteUserRequest$ClientToken": " A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException
.
This parameter is optional when using the CLI or SDK.
",
+ "DisableUserRequest$ClientToken": " A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException
.
This parameter is optional when using the CLI or SDK.
",
+ "RemoveGroupMemberRequest$ClientToken": " A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException
.
This parameter is optional when using the CLI or SDK.
",
+ "UpdateGroupRequest$ClientToken": " A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException
.
This parameter is optional when using the CLI or SDK.
",
+ "UpdateUserRequest$ClientToken": " A unique and case-sensitive identifier that you provide to make sure the idempotency of the request, so multiple identical calls have the same effect as one single call.
A client token is valid for 8 hours after the first request that uses it completes. After 8 hours, any request with the same client token is treated as a new request. If the request succeeds, any future uses of that token will be idempotent for another 8 hours.
If you submit a request with the same client token but change one of the other parameters within the 8-hour idempotency window, Directory Service Data returns an ConflictException
.
This parameter is optional when using the CLI or SDK.
"
+ }
+ },
+ "ConflictException": {
+ "base": " This error will occur when you try to create a resource that conflicts with an existing object. It can also occur when adding a member to a group that the member is already in.
This error can be caused by a request sent within the 8-hour idempotency window with the same client token but different input parameters. Client tokens should not be re-used across different requests. After 8 hours, any request with the same client token is treated as a new request.
",
+ "refs": {
+ }
+ },
+ "CreateGroupRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateGroupResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateUserRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateUserResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteGroupRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteGroupResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteUserRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DeleteUserResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeGroupRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeGroupResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeUserRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeUserResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DirectoryId": {
+ "base": null,
+ "refs": {
+ "AddGroupMemberRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the group.
",
+ "CreateGroupRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the group.
",
+ "CreateGroupResult$DirectoryId": " The identifier (ID) of the directory that's associated with the group.
",
+ "CreateUserRequest$DirectoryId": " The identifier (ID) of the directory that’s associated with the user.
",
+ "CreateUserResult$DirectoryId": " The identifier (ID) of the directory where the address block is added.
",
+ "DeleteGroupRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the group.
",
+ "DeleteUserRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the user.
",
+ "DescribeGroupRequest$DirectoryId": "The Identifier (ID) of the directory associated with the group.
",
+ "DescribeGroupResult$DirectoryId": " The identifier (ID) of the directory that's associated with the group.
",
+ "DescribeUserRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the user.
",
+ "DescribeUserResult$DirectoryId": " The identifier (ID) of the directory that's associated with the user.
",
+ "DisableUserRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the user.
",
+ "ListGroupMembersRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the group.
",
+ "ListGroupMembersResult$DirectoryId": "Identifier (ID) of the directory associated with the group.
",
+ "ListGroupsForMemberRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the member.
",
+ "ListGroupsForMemberResult$DirectoryId": " The identifier (ID) of the directory that's associated with the member.
",
+ "ListGroupsRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the group.
",
+ "ListGroupsResult$DirectoryId": " The identifier (ID) of the directory that's associated with the group.
",
+ "ListUsersRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the user.
",
+ "ListUsersResult$DirectoryId": " The identifier (ID) of the directory that's associated with the user.
",
+ "RemoveGroupMemberRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the member.
",
+ "SearchGroupsRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the group.
",
+ "SearchGroupsResult$DirectoryId": " The identifier (ID) of the directory that's associated with the group.
",
+ "SearchUsersRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the user.
",
+ "SearchUsersResult$DirectoryId": " The identifier (ID) of the directory where the address block is added.
",
+ "UpdateGroupRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the group.
",
+ "UpdateUserRequest$DirectoryId": " The identifier (ID) of the directory that's associated with the user.
"
+ }
+ },
+ "DirectoryUnavailableException": {
+ "base": " The request could not be completed due to a problem in the configuration or current state of the specified directory.
",
+ "refs": {
+ }
+ },
+ "DirectoryUnavailableReason": {
+ "base": null,
+ "refs": {
+ "DirectoryUnavailableException$Reason": " Reason the request failed for the specified directory.
"
+ }
+ },
+ "DisableUserRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DisableUserResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DistinguishedName": {
+ "base": null,
+ "refs": {
+ "DescribeGroupResult$DistinguishedName": " The distinguished name of the object.
",
+ "DescribeUserResult$DistinguishedName": " The distinguished name of the object.
",
+ "Group$DistinguishedName": "The distinguished name of the object.
",
+ "User$DistinguishedName": " The distinguished name of the object.
"
+ }
+ },
+ "EmailAddress": {
+ "base": null,
+ "refs": {
+ "CreateUserRequest$EmailAddress": " The email address of the user.
",
+ "DescribeUserResult$EmailAddress": " The email address of the user.
",
+ "UpdateUserRequest$EmailAddress": " The email address of the user.
",
+ "User$EmailAddress": " The email address of the user.
"
+ }
+ },
+ "ExceptionMessage": {
+ "base": null,
+ "refs": {
+ "AccessDeniedException$Message": null,
+ "ConflictException$Message": null,
+ "DirectoryUnavailableException$Message": null,
+ "InternalServerException$Message": null,
+ "ResourceNotFoundException$Message": null,
+ "ThrottlingException$Message": null,
+ "ValidationException$Message": null
+ }
+ },
+ "GivenName": {
+ "base": null,
+ "refs": {
+ "CreateUserRequest$GivenName": " The first name of the user.
",
+ "DescribeUserResult$GivenName": " The first name of the user.
",
+ "UpdateUserRequest$GivenName": " The first name of the user.
",
+ "User$GivenName": " The first name of the user.
",
+ "UserSummary$GivenName": "The first name of the user.
"
+ }
+ },
+ "Group": {
+ "base": " A group object that contains identifying information and attributes for a specified group.
",
+ "refs": {
+ "GroupList$member": null
+ }
+ },
+ "GroupList": {
+ "base": null,
+ "refs": {
+ "SearchGroupsResult$Groups": " The group information that the request returns.
"
+ }
+ },
+ "GroupName": {
+ "base": null,
+ "refs": {
+ "AddGroupMemberRequest$GroupName": " The name of the group.
",
+ "CreateGroupRequest$SAMAccountName": " The name of the group.
",
+ "CreateGroupResult$SAMAccountName": " The name of the group.
",
+ "DeleteGroupRequest$SAMAccountName": " The name of the group.
",
+ "DescribeGroupRequest$SAMAccountName": " The name of the group.
",
+ "DescribeGroupResult$SAMAccountName": " The name of the group.
",
+ "Group$SAMAccountName": " The name of the group.
",
+ "GroupSummary$SAMAccountName": "The name of the group.
",
+ "ListGroupMembersRequest$SAMAccountName": " The name of the group.
",
+ "RemoveGroupMemberRequest$GroupName": " The name of the group.
",
+ "UpdateGroupRequest$SAMAccountName": " The name of the group.
"
+ }
+ },
+ "GroupScope": {
+ "base": null,
+ "refs": {
+ "CreateGroupRequest$GroupScope": " The scope of the AD group. For details, see Active Directory security group scope.
",
+ "DescribeGroupResult$GroupScope": " The scope of the AD group. For details, see Active Directory security groups.
",
+ "Group$GroupScope": " The scope of the AD group. For details, see Active Directory security groups
",
+ "GroupSummary$GroupScope": "The scope of the AD group. For details, see Active Directory security groups.
",
+ "UpdateGroupRequest$GroupScope": " The scope of the AD group. For details, see Active Directory security groups.
"
+ }
+ },
+ "GroupSummary": {
+ "base": "A structure containing a subset of fields of a group object from a directory.
",
+ "refs": {
+ "GroupSummaryList$member": null
+ }
+ },
+ "GroupSummaryList": {
+ "base": null,
+ "refs": {
+ "ListGroupsForMemberResult$Groups": " The group information that the request returns.
",
+ "ListGroupsResult$Groups": " The group information that the request returns.
"
+ }
+ },
+ "GroupType": {
+ "base": null,
+ "refs": {
+ "CreateGroupRequest$GroupType": " The AD group type. For details, see Active Directory security group type.
",
+ "DescribeGroupResult$GroupType": " The AD group type. For details, see Active Directory security group type.
",
+ "Group$GroupType": " The AD group type. For details, see Active Directory security group type.
",
+ "GroupSummary$GroupType": "The AD group type. For details, see Active Directory security group type.
",
+ "UpdateGroupRequest$GroupType": " The AD group type. For details, see Active Directory security group type.
"
+ }
+ },
+ "Integer": {
+ "base": null,
+ "refs": {
+ "ThrottlingException$RetryAfterSeconds": " The recommended amount of seconds to retry after a throttling exception.
"
+ }
+ },
+ "InternalServerException": {
+ "base": " The operation didn't succeed because an internal error occurred. Try again later.
",
+ "refs": {
+ }
+ },
+ "LdapDisplayName": {
+ "base": null,
+ "refs": {
+ "Attributes$key": null,
+ "LdapDisplayNameList$member": null
+ }
+ },
+ "LdapDisplayNameList": {
+ "base": null,
+ "refs": {
+ "DescribeGroupRequest$OtherAttributes": " One or more attributes to be returned for the group. For a list of supported attributes, see Directory Service Data Attributes.
",
+ "DescribeUserRequest$OtherAttributes": " One or more attribute names to be returned for the user. A key is an attribute name, and the value is a list of maps. For a list of supported attributes, see Directory Service Data Attributes.
",
+ "SearchGroupsRequest$SearchAttributes": " One or more data attributes that are used to search for a group. For a list of supported attributes, see Directory Service Data Attributes.
",
+ "SearchUsersRequest$SearchAttributes": " One or more data attributes that are used to search for a user. For a list of supported attributes, see Directory Service Data Attributes.
"
+ }
+ },
+ "ListGroupMembersRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListGroupMembersResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListGroupsForMemberRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListGroupsForMemberResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListGroupsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListGroupsResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListUsersRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListUsersResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "MaxResults": {
+ "base": null,
+ "refs": {
+ "ListGroupMembersRequest$MaxResults": " The maximum number of results to be returned per request.
",
+ "ListGroupsForMemberRequest$MaxResults": " The maximum number of results to be returned per request.
",
+ "ListGroupsRequest$MaxResults": " The maximum number of results to be returned per request.
",
+ "ListUsersRequest$MaxResults": " The maximum number of results to be returned per request.
",
+ "SearchGroupsRequest$MaxResults": " The maximum number of results to be returned per request.
",
+ "SearchUsersRequest$MaxResults": " The maximum number of results to be returned per request.
"
+ }
+ },
+ "Member": {
+ "base": "A member object that contains identifying information for a specified member.
",
+ "refs": {
+ "MemberList$member": null
+ }
+ },
+ "MemberList": {
+ "base": null,
+ "refs": {
+ "ListGroupMembersResult$Members": " The member information that the request returns.
"
+ }
+ },
+ "MemberName": {
+ "base": null,
+ "refs": {
+ "AddGroupMemberRequest$MemberName": " The SAMAccountName
of the user, group, or computer to add as a group member.
",
+ "ListGroupsForMemberRequest$SAMAccountName": " The SAMAccountName
of the user, group, or computer that's a member of the group.
",
+ "Member$SAMAccountName": " The name of the group member.
",
+ "RemoveGroupMemberRequest$MemberName": " The SAMAccountName
of the user, group, or computer to remove from the group.
"
+ }
+ },
+ "MemberType": {
+ "base": null,
+ "refs": {
+ "Member$MemberType": " The AD type of the member object.
"
+ }
+ },
+ "NextToken": {
+ "base": null,
+ "refs": {
+ "ListGroupMembersRequest$NextToken": "An encoded paging token for paginated calls that can be passed back to retrieve the next page.
",
+ "ListGroupMembersResult$NextToken": " An encoded paging token for paginated calls that can be passed back to retrieve the next page.
",
+ "ListGroupsForMemberRequest$NextToken": " An encoded paging token for paginated calls that can be passed back to retrieve the next page.
",
+ "ListGroupsForMemberResult$NextToken": " An encoded paging token for paginated calls that can be passed back to retrieve the next page.
",
+ "ListGroupsRequest$NextToken": " An encoded paging token for paginated calls that can be passed back to retrieve the next page.
",
+ "ListGroupsResult$NextToken": " An encoded paging token for paginated calls that can be passed back to retrieve the next page.
",
+ "ListUsersRequest$NextToken": " An encoded paging token for paginated calls that can be passed back to retrieve the next page.
",
+ "ListUsersResult$NextToken": " An encoded paging token for paginated calls that can be passed back to retrieve the next page.
",
+ "SearchGroupsRequest$NextToken": " An encoded paging token for paginated calls that can be passed back to retrieve the next page.
",
+ "SearchGroupsResult$NextToken": " An encoded paging token for paginated calls that can be passed back to retrieve the next page.
",
+ "SearchUsersRequest$NextToken": " An encoded paging token for paginated calls that can be passed back to retrieve the next page.
",
+ "SearchUsersResult$NextToken": " An encoded paging token for paginated calls that can be passed back to retrieve the next page.
"
+ }
+ },
+ "NumberAttributeValue": {
+ "base": null,
+ "refs": {
+ "AttributeValue$N": " Indicates that the attribute type value is a number. For example:
\"N\": \"16\"
"
+ }
+ },
+ "Realm": {
+ "base": null,
+ "refs": {
+ "AddGroupMemberRequest$MemberRealm": " The domain name that's associated with the group member. This parameter is required only when adding a member outside of your Managed Microsoft AD domain to a group inside of your Managed Microsoft AD domain. This parameter defaults to the Managed Microsoft AD domain.
This parameter is case insensitive.
",
+ "DescribeGroupRequest$Realm": " The domain name that's associated with the group.
This parameter is optional, so you can return groups outside of your Managed Microsoft AD domain. When no value is defined, only your Managed Microsoft AD groups are returned.
This value is case insensitive.
",
+ "DescribeGroupResult$Realm": " The domain name that's associated with the group.
",
+ "DescribeUserRequest$Realm": " The domain name that's associated with the user.
This parameter is optional, so you can return users outside your Managed Microsoft AD domain. When no value is defined, only your Managed Microsoft AD users are returned.
This value is case insensitive.
",
+ "DescribeUserResult$Realm": " The domain name that's associated with the user.
",
+ "ListGroupMembersRequest$MemberRealm": " The domain name that's associated with the group member. This parameter defaults to the Managed Microsoft AD domain.
This parameter is optional and case insensitive.
",
+ "ListGroupMembersRequest$Realm": " The domain name that's associated with the group.
This parameter is optional, so you can return members from a group outside of your Managed Microsoft AD domain. When no value is defined, only members of your Managed Microsoft AD groups are returned.
This value is case insensitive.
",
+ "ListGroupMembersResult$MemberRealm": " The domain name that's associated with the member.
",
+ "ListGroupMembersResult$Realm": " The domain name that's associated with the group.
",
+ "ListGroupsForMemberRequest$MemberRealm": " The domain name that's associated with the group member.
This parameter is optional, so you can limit your results to the group members in a specific domain.
This parameter is case insensitive and defaults to Realm
",
+ "ListGroupsForMemberRequest$Realm": " The domain name that's associated with the group.
This parameter is optional, so you can return groups outside of your Managed Microsoft AD domain. When no value is defined, only your Managed Microsoft AD groups are returned.
This value is case insensitive and defaults to your Managed Microsoft AD domain.
",
+ "ListGroupsForMemberResult$MemberRealm": " The domain that's associated with the member.
",
+ "ListGroupsForMemberResult$Realm": " The domain that's associated with the group.
",
+ "ListGroupsRequest$Realm": " The domain name associated with the directory.
This parameter is optional, so you can return groups outside of your Managed Microsoft AD domain. When no value is defined, only your Managed Microsoft AD groups are returned.
This value is case insensitive.
",
+ "ListGroupsResult$Realm": "The domain name associated with the group.
",
+ "ListUsersRequest$Realm": " The domain name that's associated with the user.
This parameter is optional, so you can return users outside of your Managed Microsoft AD domain. When no value is defined, only your Managed Microsoft AD users are returned.
This value is case insensitive.
",
+ "ListUsersResult$Realm": " The domain that's associated with the user.
",
+ "RemoveGroupMemberRequest$MemberRealm": " The domain name that's associated with the group member. This parameter defaults to the Managed Microsoft AD domain.
This parameter is optional and case insensitive.
",
+ "SearchGroupsRequest$Realm": " The domain name that's associated with the group.
This parameter is optional, so you can return groups outside of your Managed Microsoft AD domain. When no value is defined, only your Managed Microsoft AD groups are returned.
This value is case insensitive.
",
+ "SearchGroupsResult$Realm": " The domain that's associated with the group.
",
+ "SearchUsersRequest$Realm": " The domain name that's associated with the user.
This parameter is optional, so you can return users outside of your Managed Microsoft AD domain. When no value is defined, only your Managed Microsoft AD users are returned.
This value is case insensitive.
",
+ "SearchUsersResult$Realm": " The domain that's associated with the user.
"
+ }
+ },
+ "RemoveGroupMemberRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "RemoveGroupMemberResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ResourceNotFoundException": {
+ "base": " The resource couldn't be found.
",
+ "refs": {
+ }
+ },
+ "SID": {
+ "base": null,
+ "refs": {
+ "CreateGroupResult$SID": " The unique security identifier (SID) of the group.
",
+ "CreateUserResult$SID": " The unique security identifier (SID) of the user.
",
+ "DescribeGroupResult$SID": " The unique security identifier (SID) of the group.
",
+ "DescribeUserResult$SID": " The unique security identifier (SID) of the user.
",
+ "Group$SID": " The unique security identifier (SID) of the group.
",
+ "GroupSummary$SID": "The unique security identifier (SID) of the group.
",
+ "Member$SID": " The unique security identifier (SID) of the group member.
",
+ "User$SID": " The unique security identifier (SID) of the user.
",
+ "UserSummary$SID": " The unique security identifier (SID) of the user.
"
+ }
+ },
+ "SearchGroupsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SearchGroupsResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SearchString": {
+ "base": null,
+ "refs": {
+ "SearchGroupsRequest$SearchString": " The attribute value that you want to search for.
Wildcard (*)
searches aren't supported. For a list of supported attributes, see Directory Service Data Attributes.
",
+ "SearchUsersRequest$SearchString": " The attribute value that you want to search for.
Wildcard (*)
searches aren't supported. For a list of supported attributes, see Directory Service Data Attributes.
"
+ }
+ },
+ "SearchUsersRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "SearchUsersResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "StringAttributeValue": {
+ "base": null,
+ "refs": {
+ "AttributeValue$S": " Indicates that the attribute type value is a string. For example:
\"S\": \"S Group\"
",
+ "StringSetAttributeValue$member": null
+ }
+ },
+ "StringSetAttributeValue": {
+ "base": null,
+ "refs": {
+ "AttributeValue$SS": " Indicates that the attribute type value is a string set. For example:
\"SS\": [\"sample_service_class/host.sample.com:1234/sample_service_name_1\", \"sample_service_class/host.sample.com:1234/sample_service_name_2\"]
"
+ }
+ },
+ "Surname": {
+ "base": null,
+ "refs": {
+ "CreateUserRequest$Surname": " The last name of the user.
",
+ "DescribeUserResult$Surname": " The last name of the user.
",
+ "UpdateUserRequest$Surname": " The last name of the user.
",
+ "User$Surname": " The last name of the user.
",
+ "UserSummary$Surname": "The last name of the user.
"
+ }
+ },
+ "ThrottlingException": {
+ "base": " The limit on the number of requests per second has been exceeded.
",
+ "refs": {
+ }
+ },
+ "UpdateGroupRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateGroupResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateType": {
+ "base": null,
+ "refs": {
+ "UpdateGroupRequest$UpdateType": " The type of update to be performed. If no value exists for the attribute, use ADD
. Otherwise, use REPLACE
to change an attribute value or REMOVE
to clear the attribute value.
",
+ "UpdateUserRequest$UpdateType": " The type of update to be performed. If no value exists for the attribute, use ADD
. Otherwise, use REPLACE
to change an attribute value or REMOVE
to clear the attribute value.
"
+ }
+ },
+ "UpdateUserRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "UpdateUserResult": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "User": {
+ "base": " A user object that contains identifying information and attributes for a specified user.
",
+ "refs": {
+ "UserList$member": null
+ }
+ },
+ "UserList": {
+ "base": null,
+ "refs": {
+ "SearchUsersResult$Users": " The user information that the request returns.
"
+ }
+ },
+ "UserName": {
+ "base": null,
+ "refs": {
+ "CreateUserRequest$SAMAccountName": " The name of the user.
",
+ "CreateUserResult$SAMAccountName": " The name of the user.
",
+ "DeleteUserRequest$SAMAccountName": " The name of the user.
",
+ "DescribeUserRequest$SAMAccountName": " The name of the user.
",
+ "DescribeUserResult$SAMAccountName": " The name of the user.
",
+ "DisableUserRequest$SAMAccountName": " The name of the user.
",
+ "UpdateUserRequest$SAMAccountName": " The name of the user.
",
+ "User$SAMAccountName": " The name of the user.
",
+ "UserSummary$SAMAccountName": "The name of the user.
"
+ }
+ },
+ "UserPrincipalName": {
+ "base": null,
+ "refs": {
+ "DescribeUserResult$UserPrincipalName": " The UPN that is an Internet-style login name for a user and is based on the Internet standard RFC 822. The UPN is shorter than the distinguished name and easier to remember.
",
+ "User$UserPrincipalName": " The UPN that is an internet-style login name for a user and based on the internet standard RFC 822. The UPN is shorter than the distinguished name and easier to remember.
"
+ }
+ },
+ "UserSummary": {
+ "base": "A structure containing a subset of the fields of a user object from a directory.
",
+ "refs": {
+ "UserSummaryList$member": null
+ }
+ },
+ "UserSummaryList": {
+ "base": null,
+ "refs": {
+ "ListUsersResult$Users": " The user information that the request returns.
"
+ }
+ },
+ "ValidationException": {
+ "base": " The request isn't valid. Review the details in the error message to update the invalid parameters or values in your request.
",
+ "refs": {
+ }
+ },
+ "ValidationExceptionReason": {
+ "base": null,
+ "refs": {
+ "ValidationException$Reason": " Reason the request failed validation.
"
+ }
+ }
+ }
+}
diff --git a/apis/directory-service-data/2023-05-31/endpoint-rule-set-1.json b/apis/directory-service-data/2023-05-31/endpoint-rule-set-1.json
new file mode 100644
index 00000000000..8f4af0f74b5
--- /dev/null
+++ b/apis/directory-service-data/2023-05-31/endpoint-rule-set-1.json
@@ -0,0 +1,350 @@
+{
+ "version": "1.0",
+ "parameters": {
+ "Region": {
+ "builtIn": "AWS::Region",
+ "required": false,
+ "documentation": "The AWS region used to dispatch the request.",
+ "type": "String"
+ },
+ "UseDualStack": {
+ "builtIn": "AWS::UseDualStack",
+ "required": true,
+ "default": false,
+ "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
+ "type": "Boolean"
+ },
+ "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"
+ }
+ },
+ "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": [],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
+ "type": "error"
+ },
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": {
+ "ref": "Endpoint"
+ },
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "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
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ }
+ ]
+ },
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://ds-data-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseFIPS"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsFIPS"
+ ]
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://ds-data-fips.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "FIPS is enabled but this partition does not support FIPS",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ {
+ "ref": "UseDualStack"
+ },
+ true
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [
+ {
+ "fn": "booleanEquals",
+ "argv": [
+ true,
+ {
+ "fn": "getAttr",
+ "argv": [
+ {
+ "ref": "PartitionResult"
+ },
+ "supportsDualStack"
+ ]
+ }
+ ]
+ }
+ ],
+ "rules": [
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://ds-data.{Region}.{PartitionResult#dualStackDnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "DualStack is enabled but this partition does not support DualStack",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "rules": [
+ {
+ "conditions": [],
+ "endpoint": {
+ "url": "https://ds-data.{Region}.{PartitionResult#dnsSuffix}",
+ "properties": {},
+ "headers": {}
+ },
+ "type": "endpoint"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ }
+ ],
+ "type": "tree"
+ },
+ {
+ "conditions": [],
+ "error": "Invalid Configuration: Missing Region",
+ "type": "error"
+ }
+ ],
+ "type": "tree"
+ }
+ ]
+}
\ No newline at end of file
diff --git a/apis/worklink/2018-09-25/endpoint-tests-1.json b/apis/directory-service-data/2023-05-31/endpoint-tests-1.json
similarity index 88%
rename from apis/worklink/2018-09-25/endpoint-tests-1.json
rename to apis/directory-service-data/2023-05-31/endpoint-tests-1.json
index e5d8218f84a..aa20546a9a0 100644
--- a/apis/worklink/2018-09-25/endpoint-tests-1.json
+++ b/apis/directory-service-data/2023-05-31/endpoint-tests-1.json
@@ -4,7 +4,7 @@
"documentation": "For region us-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://worklink-fips.us-east-1.api.aws"
+ "url": "https://ds-data-fips.us-east-1.api.aws"
}
},
"params": {
@@ -17,7 +17,7 @@
"documentation": "For region us-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://worklink-fips.us-east-1.amazonaws.com"
+ "url": "https://ds-data-fips.us-east-1.amazonaws.com"
}
},
"params": {
@@ -30,7 +30,7 @@
"documentation": "For region us-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://worklink.us-east-1.api.aws"
+ "url": "https://ds-data.us-east-1.api.aws"
}
},
"params": {
@@ -43,7 +43,7 @@
"documentation": "For region us-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://worklink.us-east-1.amazonaws.com"
+ "url": "https://ds-data.us-east-1.amazonaws.com"
}
},
"params": {
@@ -56,7 +56,7 @@
"documentation": "For region cn-north-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://worklink-fips.cn-north-1.api.amazonwebservices.com.cn"
+ "url": "https://ds-data-fips.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
@@ -69,7 +69,7 @@
"documentation": "For region cn-north-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://worklink-fips.cn-north-1.amazonaws.com.cn"
+ "url": "https://ds-data-fips.cn-north-1.amazonaws.com.cn"
}
},
"params": {
@@ -82,7 +82,7 @@
"documentation": "For region cn-north-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://worklink.cn-north-1.api.amazonwebservices.com.cn"
+ "url": "https://ds-data.cn-north-1.api.amazonwebservices.com.cn"
}
},
"params": {
@@ -95,7 +95,7 @@
"documentation": "For region cn-north-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://worklink.cn-north-1.amazonaws.com.cn"
+ "url": "https://ds-data.cn-north-1.amazonaws.com.cn"
}
},
"params": {
@@ -108,7 +108,7 @@
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://worklink-fips.us-gov-east-1.api.aws"
+ "url": "https://ds-data-fips.us-gov-east-1.api.aws"
}
},
"params": {
@@ -121,7 +121,7 @@
"documentation": "For region us-gov-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://worklink-fips.us-gov-east-1.amazonaws.com"
+ "url": "https://ds-data-fips.us-gov-east-1.amazonaws.com"
}
},
"params": {
@@ -134,7 +134,7 @@
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack enabled",
"expect": {
"endpoint": {
- "url": "https://worklink.us-gov-east-1.api.aws"
+ "url": "https://ds-data.us-gov-east-1.api.aws"
}
},
"params": {
@@ -147,7 +147,7 @@
"documentation": "For region us-gov-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://worklink.us-gov-east-1.amazonaws.com"
+ "url": "https://ds-data.us-gov-east-1.amazonaws.com"
}
},
"params": {
@@ -171,7 +171,7 @@
"documentation": "For region us-iso-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://worklink-fips.us-iso-east-1.c2s.ic.gov"
+ "url": "https://ds-data-fips.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
@@ -195,7 +195,7 @@
"documentation": "For region us-iso-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://worklink.us-iso-east-1.c2s.ic.gov"
+ "url": "https://ds-data.us-iso-east-1.c2s.ic.gov"
}
},
"params": {
@@ -219,7 +219,7 @@
"documentation": "For region us-isob-east-1 with FIPS enabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://worklink-fips.us-isob-east-1.sc2s.sgov.gov"
+ "url": "https://ds-data-fips.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
@@ -243,7 +243,7 @@
"documentation": "For region us-isob-east-1 with FIPS disabled and DualStack disabled",
"expect": {
"endpoint": {
- "url": "https://worklink.us-isob-east-1.sc2s.sgov.gov"
+ "url": "https://ds-data.us-isob-east-1.sc2s.sgov.gov"
}
},
"params": {
diff --git a/apis/worklink/2018-09-25/examples-1.json b/apis/directory-service-data/2023-05-31/examples-1.json
similarity index 100%
rename from apis/worklink/2018-09-25/examples-1.json
rename to apis/directory-service-data/2023-05-31/examples-1.json
diff --git a/apis/directory-service-data/2023-05-31/paginators-1.json b/apis/directory-service-data/2023-05-31/paginators-1.json
new file mode 100644
index 00000000000..5038135506d
--- /dev/null
+++ b/apis/directory-service-data/2023-05-31/paginators-1.json
@@ -0,0 +1,40 @@
+{
+ "pagination": {
+ "ListGroupMembers": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Members"
+ },
+ "ListGroups": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Groups"
+ },
+ "ListGroupsForMember": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Groups"
+ },
+ "ListUsers": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Users"
+ },
+ "SearchGroups": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Groups"
+ },
+ "SearchUsers": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Users"
+ }
+ }
+}
diff --git a/apis/ds/2015-04-16/api-2.json b/apis/ds/2015-04-16/api-2.json
index 37d19166778..5f067982cd8 100644
--- a/apis/ds/2015-04-16/api-2.json
+++ b/apis/ds/2015-04-16/api-2.json
@@ -427,6 +427,22 @@
{"shape":"ServiceException"}
]
},
+ "DescribeDirectoryDataAccess":{
+ "name":"DescribeDirectoryDataAccess",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DescribeDirectoryDataAccessRequest"},
+ "output":{"shape":"DescribeDirectoryDataAccessResult"},
+ "errors":[
+ {"shape":"DirectoryDoesNotExistException"},
+ {"shape":"UnsupportedOperationException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceException"}
+ ]
+ },
"DescribeDomainControllers":{
"name":"DescribeDomainControllers",
"http":{
@@ -595,6 +611,24 @@
{"shape":"ServiceException"}
]
},
+ "DisableDirectoryDataAccess":{
+ "name":"DisableDirectoryDataAccess",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"DisableDirectoryDataAccessRequest"},
+ "output":{"shape":"DisableDirectoryDataAccessResult"},
+ "errors":[
+ {"shape":"DirectoryDoesNotExistException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"UnsupportedOperationException"},
+ {"shape":"DirectoryInDesiredStateException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceException"}
+ ]
+ },
"DisableLDAPS":{
"name":"DisableLDAPS",
"http":{
@@ -661,6 +695,24 @@
{"shape":"ServiceException"}
]
},
+ "EnableDirectoryDataAccess":{
+ "name":"EnableDirectoryDataAccess",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"EnableDirectoryDataAccessRequest"},
+ "output":{"shape":"EnableDirectoryDataAccessResult"},
+ "errors":[
+ {"shape":"DirectoryDoesNotExistException"},
+ {"shape":"DirectoryUnavailableException"},
+ {"shape":"UnsupportedOperationException"},
+ {"shape":"DirectoryInDesiredStateException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ClientException"},
+ {"shape":"ServiceException"}
+ ]
+ },
"EnableLDAPS":{
"name":"EnableLDAPS",
"http":{
@@ -1632,6 +1684,16 @@
"min":1,
"pattern":"^(?!.*\\\\|.*\"|.*\\/|.*\\[|.*\\]|.*:|.*;|.*\\||.*=|.*,|.*\\+|.*\\*|.*\\?|.*<|.*>|.*@).*$"
},
+ "DataAccessStatus":{
+ "type":"string",
+ "enum":[
+ "Disabled",
+ "Disabling",
+ "Enabled",
+ "Enabling",
+ "Failed"
+ ]
+ },
"DeleteAssociatedConditionalForwarder":{"type":"boolean"},
"DeleteConditionalForwarderRequest":{
"type":"structure",
@@ -1796,6 +1858,19 @@
"NextToken":{"shape":"NextToken"}
}
},
+ "DescribeDirectoryDataAccessRequest":{
+ "type":"structure",
+ "required":["DirectoryId"],
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"}
+ }
+ },
+ "DescribeDirectoryDataAccessResult":{
+ "type":"structure",
+ "members":{
+ "DataAccessStatus":{"shape":"DataAccessStatus"}
+ }
+ },
"DescribeDomainControllersRequest":{
"type":"structure",
"required":["DirectoryId"],
@@ -2154,7 +2229,8 @@
"RestoreFailed",
"Deleting",
"Deleted",
- "Failed"
+ "Failed",
+ "Updating"
]
},
"DirectoryType":{
@@ -2210,6 +2286,18 @@
"members":{
}
},
+ "DisableDirectoryDataAccessRequest":{
+ "type":"structure",
+ "required":["DirectoryId"],
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"}
+ }
+ },
+ "DisableDirectoryDataAccessResult":{
+ "type":"structure",
+ "members":{
+ }
+ },
"DisableLDAPSRequest":{
"type":"structure",
"required":[
@@ -2296,7 +2384,8 @@
"Restoring",
"Deleting",
"Deleted",
- "Failed"
+ "Failed",
+ "Updating"
]
},
"DomainControllerStatusReason":{"type":"string"},
@@ -2320,6 +2409,18 @@
"members":{
}
},
+ "EnableDirectoryDataAccessRequest":{
+ "type":"structure",
+ "required":["DirectoryId"],
+ "members":{
+ "DirectoryId":{"shape":"DirectoryId"}
+ }
+ },
+ "EnableDirectoryDataAccessResult":{
+ "type":"structure",
+ "members":{
+ }
+ },
"EnableLDAPSRequest":{
"type":"structure",
"required":[
@@ -2805,7 +2906,7 @@
},
"RadiusTimeout":{
"type":"integer",
- "max":20,
+ "max":50,
"min":1
},
"RegionDescription":{
diff --git a/apis/ds/2015-04-16/docs-2.json b/apis/ds/2015-04-16/docs-2.json
index 21a1e2f483d..9010526a451 100644
--- a/apis/ds/2015-04-16/docs-2.json
+++ b/apis/ds/2015-04-16/docs-2.json
@@ -27,6 +27,7 @@
"DescribeClientAuthenticationSettings": "Retrieves information about the type of client authentication for the specified directory, if the type is specified. If no type is specified, information about all client authentication types that are supported for the specified directory is retrieved. Currently, only SmartCard
is supported.
",
"DescribeConditionalForwarders": "Obtains information about the conditional forwarders for this account.
If no input parameters are provided for RemoteDomainNames, this request describes all conditional forwarders for the specified directory ID.
",
"DescribeDirectories": "Obtains information about the directories that belong to this account.
You can retrieve information about specific directories by passing the directory identifiers in the DirectoryIds
parameter. Otherwise, all directories that belong to the current account are returned.
This operation supports pagination with the use of the NextToken
request and response parameters. If more results are available, the DescribeDirectoriesResult.NextToken
member contains a token that you pass in the next call to DescribeDirectories to retrieve the next set of items.
You can also specify a maximum number of return results with the Limit
parameter.
",
+ "DescribeDirectoryDataAccess": "Obtains status of directory data access enablement through the Directory Service Data API for the specified directory.
",
"DescribeDomainControllers": "Provides information about any domain controllers in your directory.
",
"DescribeEventTopics": "Obtains information about which Amazon SNS topics receive status messages from the specified directory.
If no input parameters are provided, such as DirectoryId or TopicName, this request describes all of the associations in the account.
",
"DescribeLDAPSSettings": "Describes the status of LDAP security for the specified directory.
",
@@ -37,10 +38,12 @@
"DescribeTrusts": "Obtains information about the trust relationships for this account.
If no input parameters are provided, such as DirectoryId or TrustIds, this request describes all the trust relationships belonging to the account.
",
"DescribeUpdateDirectory": " Describes the updates of a directory for a particular update type.
",
"DisableClientAuthentication": "Disables alternative client authentication methods for the specified directory.
",
+ "DisableDirectoryDataAccess": "Deactivates access to directory data via the Directory Service Data API for the specified directory.
",
"DisableLDAPS": "Deactivates LDAP secure calls for the specified directory.
",
"DisableRadius": "Disables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD directory.
",
"DisableSso": "Disables single-sign on for a directory.
",
"EnableClientAuthentication": "Enables alternative client authentication methods for the specified directory.
",
+ "EnableDirectoryDataAccess": "Enables access to directory data via the Directory Service Data API for the specified directory.
",
"EnableLDAPS": "Activates the switch for the specific directory to always use LDAP secure calls.
",
"EnableRadius": "Enables multi-factor authentication (MFA) with the Remote Authentication Dial In User Service (RADIUS) server for an AD Connector or Microsoft AD directory.
",
"EnableSso": "Enables single sign-on for a directory. Single sign-on allows users in your directory to access certain Amazon Web Services services from a computer joined to the directory without having to enter their credentials separately.
",
@@ -57,7 +60,7 @@
"RemoveIpRoutes": "Removes IP address blocks from a directory.
",
"RemoveRegion": "Stops all replication and removes the domain controllers from the specified Region. You cannot remove the primary Region with this operation. Instead, use the DeleteDirectory
API.
",
"RemoveTagsFromResource": "Removes tags from a directory.
",
- "ResetUserPassword": "Resets the password for any user in your Managed Microsoft AD or Simple AD directory.
You can reset the password for any user in your directory with the following exceptions:
-
For Simple AD, you cannot reset the password for any user that is a member of either the Domain Admins or Enterprise Admins group except for the administrator user.
-
For Managed Microsoft AD, you can only reset the password for a user that is in an OU based off of the NetBIOS name that you typed when you created your directory. For example, you cannot reset the password for a user in the Amazon Web Services Reserved OU. For more information about the OU structure for an Managed Microsoft AD directory, see What Gets Created in the Directory Service Administration Guide.
",
+ "ResetUserPassword": "Resets the password for any user in your Managed Microsoft AD or Simple AD directory. Disabled users will become enabled and can be authenticated following the API call.
You can reset the password for any user in your directory with the following exceptions:
-
For Simple AD, you cannot reset the password for any user that is a member of either the Domain Admins or Enterprise Admins group except for the administrator user.
-
For Managed Microsoft AD, you can only reset the password for a user that is in an OU based off of the NetBIOS name that you typed when you created your directory. For example, you cannot reset the password for a user in the Amazon Web Services Reserved OU. For more information about the OU structure for an Managed Microsoft AD directory, see What Gets Created in the Directory Service Administration Guide.
",
"RestoreFromSnapshot": "Restores a directory using an existing directory snapshot.
When you restore a directory from a snapshot, any changes made to the directory after the snapshot date are overwritten.
This action returns as soon as the restore operation is initiated. You can monitor the progress of the restore operation by calling the DescribeDirectories operation with the directory identifier. When the DirectoryDescription.Stage value changes to Active
, the restore operation is complete.
",
"ShareDirectory": "Shares a specified directory (DirectoryId
) in your Amazon Web Services account (directory owner) with another Amazon Web Services account (directory consumer). With this operation you can use your directory from any Amazon Web Services account and from any Amazon VPC within an Amazon Web Services Region.
When you share your Managed Microsoft AD directory, Directory Service creates a shared directory in the directory consumer account. This shared directory contains the metadata to provide access to the directory within the directory owner account. The shared directory is visible in all VPCs in the directory consumer account.
The ShareMethod
parameter determines whether the specified directory can be shared between Amazon Web Services accounts inside the same Amazon Web Services organization (ORGANIZATIONS
). It also determines whether you can share the directory with any other Amazon Web Services account either inside or outside of the organization (HANDSHAKE
).
The ShareNotes
parameter is only used when HANDSHAKE
is called, which sends a directory sharing request to the directory consumer.
",
"StartSchemaExtension": "Applies a schema extension to a Microsoft AD directory.
",
@@ -82,7 +85,7 @@
}
},
"AccessDeniedException": {
- "base": "Client authentication is not available in this region at this time.
",
+ "base": "You do not have sufficient access to perform this action.
",
"refs": {
}
},
@@ -328,7 +331,7 @@
"refs": {
"ClientAuthenticationSettingInfo$Type": "The type of client authentication for the specified directory. If no type is specified, a list of all client authentication types that are supported for the directory is retrieved.
",
"DescribeClientAuthenticationSettingsRequest$Type": "The type of client authentication for which to retrieve information. If no type is specified, a list of all client authentication types that are supported for the specified directory is retrieved.
",
- "DisableClientAuthenticationRequest$Type": "The type of client authentication to disable. Currently, only the parameter, SmartCard
is supported.
",
+ "DisableClientAuthenticationRequest$Type": "The type of client authentication to disable. Currently the only parameter \"SmartCard\"
is supported.
",
"EnableClientAuthenticationRequest$Type": "The type of client authentication to enable. Currently only the value SmartCard
is supported. Smart card authentication in AD Connector requires that you enable Kerberos Constrained Delegation for the Service User to the LDAP service in your self-managed AD.
"
}
},
@@ -520,6 +523,12 @@
"ResetUserPasswordRequest$UserName": "The user name of the user whose password will be reset.
"
}
},
+ "DataAccessStatus": {
+ "base": null,
+ "refs": {
+ "DescribeDirectoryDataAccessResult$DataAccessStatus": "The current status of data access through the Directory Service Data API.
"
+ }
+ },
"DeleteAssociatedConditionalForwarder": {
"base": null,
"refs": {
@@ -636,6 +645,16 @@
"refs": {
}
},
+ "DescribeDirectoryDataAccessRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeDirectoryDataAccessResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"DescribeDomainControllersRequest": {
"base": null,
"refs": {
@@ -884,6 +903,7 @@
"DescribeCertificateRequest$DirectoryId": "The identifier of the directory.
",
"DescribeClientAuthenticationSettingsRequest$DirectoryId": "The identifier of the directory for which to retrieve information.
",
"DescribeConditionalForwardersRequest$DirectoryId": "The directory ID for which to get the list of associated conditional forwarders.
",
+ "DescribeDirectoryDataAccessRequest$DirectoryId": "The directory identifier.
",
"DescribeDomainControllersRequest$DirectoryId": "Identifier of the directory for which to retrieve the domain controller information.
",
"DescribeEventTopicsRequest$DirectoryId": "The Directory ID for which to get the list of associated Amazon SNS topics. If this member is null, associations for all Directory IDs are returned.
",
"DescribeLDAPSSettingsRequest$DirectoryId": "The identifier of the directory.
",
@@ -897,11 +917,13 @@
"DirectoryDescription$DirectoryId": "The directory identifier.
",
"DirectoryIds$member": null,
"DisableClientAuthenticationRequest$DirectoryId": "The identifier of the directory
",
+ "DisableDirectoryDataAccessRequest$DirectoryId": "The directory identifier.
",
"DisableLDAPSRequest$DirectoryId": "The identifier of the directory.
",
"DisableRadiusRequest$DirectoryId": "The identifier of the directory for which to disable MFA.
",
"DisableSsoRequest$DirectoryId": "The identifier of the directory for which to disable single-sign on.
",
"DomainController$DirectoryId": "Identifier of the directory where the domain controller resides.
",
"EnableClientAuthenticationRequest$DirectoryId": "The identifier of the specified directory.
",
+ "EnableDirectoryDataAccessRequest$DirectoryId": "The directory identifier.
",
"EnableLDAPSRequest$DirectoryId": "The identifier of the directory.
",
"EnableRadiusRequest$DirectoryId": "The identifier of the directory for which to enable MFA.
",
"EnableSsoRequest$DirectoryId": "The identifier of the directory for which to enable single-sign on.
",
@@ -1004,11 +1026,11 @@
"DirectoryType": {
"base": null,
"refs": {
- "DirectoryDescription$Type": "The directory size.
"
+ "DirectoryDescription$Type": "The directory type.
"
}
},
"DirectoryUnavailableException": {
- "base": "The specified directory is unavailable or could not be found.
",
+ "base": "The specified directory is unavailable.
",
"refs": {
}
},
@@ -1038,6 +1060,16 @@
"refs": {
}
},
+ "DisableDirectoryDataAccessRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DisableDirectoryDataAccessResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"DisableLDAPSRequest": {
"base": null,
"refs": {
@@ -1132,6 +1164,16 @@
"refs": {
}
},
+ "EnableDirectoryDataAccessRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "EnableDirectoryDataAccessResult": {
+ "base": null,
+ "refs": {
+ }
+ },
"EnableLDAPSRequest": {
"base": null,
"refs": {
@@ -1635,7 +1677,7 @@
"RadiusRetries": {
"base": null,
"refs": {
- "RadiusSettings$RadiusRetries": "The maximum number of times that communication with the RADIUS server is attempted.
"
+ "RadiusSettings$RadiusRetries": "The maximum number of times that communication with the RADIUS server is retried after the initial attempt.
"
}
},
"RadiusSettings": {
@@ -2138,7 +2180,7 @@
"TagKey": {
"base": null,
"refs": {
- "Tag$Key": "Required name of the tag. The string value can be Unicode characters and cannot be prefixed with \"aws:\". The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\").
",
+ "Tag$Key": "Required name of the tag. The string value can be Unicode characters and cannot be prefixed with \"aws:\". The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-', ':', '@'(Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\").
",
"TagKeys$member": null
}
},
@@ -2156,7 +2198,7 @@
"TagValue": {
"base": null,
"refs": {
- "Tag$Value": "The optional value of the tag. The string value can be Unicode characters. The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\").
"
+ "Tag$Value": "The optional value of the tag. The string value can be Unicode characters. The string can contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-', ':', '@' (Java regex: \"^([\\\\p{L}\\\\p{Z}\\\\p{N}_.:/=+\\\\-]*)$\").
"
}
},
"Tags": {
@@ -2246,7 +2288,7 @@
"TrustPassword": {
"base": null,
"refs": {
- "CreateTrustRequest$TrustPassword": "The trust password. The must be the same password that was used when creating the trust relationship on the external domain.
"
+ "CreateTrustRequest$TrustPassword": "The trust password. The trust password must be the same password that was used when creating the trust relationship on the external domain.
"
}
},
"TrustState": {
@@ -2355,7 +2397,7 @@
"UpdateSecurityGroupForDirectoryControllers": {
"base": null,
"refs": {
- "AddIpRoutesRequest$UpdateSecurityGroupForDirectoryControllers": "If set to true, updates the inbound and outbound rules of the security group that has the description: \"Amazon Web Services created security group for directory ID directory controllers.\" Following are the new rules:
Inbound:
-
Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
-
Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0
-
Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0
-
Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0
-
Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0
-
Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0
-
Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
-
Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0
-
Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0
-
Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0
-
Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0
-
Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source: 0.0.0.0/0
-
Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source: 0.0.0.0/0
-
Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
-
Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
-
Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
-
Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0
Outbound:
These security rules impact an internal network interface that is not exposed publicly.
"
+ "AddIpRoutesRequest$UpdateSecurityGroupForDirectoryControllers": "If set to true, updates the inbound and outbound rules of the security group that has the description: \"Amazon Web Services created security group for directory ID directory controllers.\" Following are the new rules:
Inbound:
-
Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: DNS (UDP), Protocol: UDP, Range: 53, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: DNS (TCP), Protocol: TCP, Range: 53, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: LDAP, Protocol: TCP, Range: 389, Source: Managed Microsoft AD VPC IPv4 CIDR
-
Type: All ICMP, Protocol: All, Range: N/A, Source: Managed Microsoft AD VPC IPv4 CIDR
Outbound:
These security rules impact an internal network interface that is not exposed publicly.
"
}
},
"UpdateSettingsRequest": {
diff --git a/apis/ecr/2015-09-21/api-2.json b/apis/ecr/2015-09-21/api-2.json
index 2ddc879bee7..b29ac6102c7 100644
--- a/apis/ecr/2015-09-21/api-2.json
+++ b/apis/ecr/2015-09-21/api-2.json
@@ -7,7 +7,7 @@
"protocol":"json",
"protocols":["json"],
"serviceAbbreviation":"Amazon ECR",
- "serviceFullName":"Amazon EC2 Container Registry",
+ "serviceFullName":"Amazon Elastic Container Registry",
"serviceId":"ECR",
"signatureVersion":"v4",
"signingName":"ecr",
@@ -1312,7 +1312,8 @@
"type":"string",
"enum":[
"AES256",
- "KMS"
+ "KMS",
+ "KMS_DSSE"
]
},
"EnhancedImageScanFinding":{
@@ -1332,7 +1333,9 @@
"status":{"shape":"Status"},
"title":{"shape":"Title"},
"type":{"shape":"Type"},
- "updatedAt":{"shape":"Date"}
+ "updatedAt":{"shape":"Date"},
+ "fixAvailable":{"shape":"FixAvailable"},
+ "exploitAvailable":{"shape":"ExploitAvailable"}
}
},
"EnhancedImageScanFindingList":{
@@ -1343,6 +1346,7 @@
"EvaluationTimestamp":{"type":"timestamp"},
"ExceptionMessage":{"type":"string"},
"ExpirationTimestamp":{"type":"timestamp"},
+ "ExploitAvailable":{"type":"string"},
"FilePath":{"type":"string"},
"FindingArn":{"type":"string"},
"FindingDescription":{"type":"string"},
@@ -1363,6 +1367,8 @@
"key":{"shape":"FindingSeverity"},
"value":{"shape":"SeverityCount"}
},
+ "FixAvailable":{"type":"string"},
+ "FixedInVersion":{"type":"string"},
"ForceFlag":{"type":"boolean"},
"GetAccountSettingRequest":{
"type":"structure",
@@ -2930,7 +2936,8 @@
"packageManager":{"shape":"PackageManager"},
"release":{"shape":"Release"},
"sourceLayerHash":{"shape":"SourceLayerHash"},
- "version":{"shape":"Version"}
+ "version":{"shape":"Version"},
+ "fixedInVersion":{"shape":"FixedInVersion"}
}
},
"VulnerablePackageName":{"type":"string"},
diff --git a/apis/ecr/2015-09-21/docs-2.json b/apis/ecr/2015-09-21/docs-2.json
index e8cbaa227d9..8a79362c667 100644
--- a/apis/ecr/2015-09-21/docs-2.json
+++ b/apis/ecr/2015-09-21/docs-2.json
@@ -471,7 +471,7 @@
"EncryptionType": {
"base": null,
"refs": {
- "EncryptionConfiguration$encryptionType": "The encryption type to use.
If you use the KMS
encryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. For more information, see Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS) in the Amazon Simple Storage Service Console Developer Guide.
If you use the AES256
encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the Amazon Simple Storage Service Console Developer Guide.
",
+ "EncryptionConfiguration$encryptionType": "The encryption type to use.
If you use the KMS
encryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created.
If you use the KMS_DSSE
encryption type, the contents of the repository will be encrypted with two layers of encryption using server-side encryption with the KMS Management Service key stored in KMS. Similar to the KMS
encryption type, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you've already created.
If you use the AES256
encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm.
For more information, see Amazon ECR encryption at rest in the Amazon Elastic Container Registry User Guide.
",
"EncryptionConfigurationForRepositoryCreationTemplate$encryptionType": "The encryption type to use.
If you use the KMS
encryption type, the contents of the repository will be encrypted using server-side encryption with Key Management Service key stored in KMS. When you use KMS to encrypt your data, you can either use the default Amazon Web Services managed KMS key for Amazon ECR, or specify your own KMS key, which you already created. For more information, see Protecting data using server-side encryption with an KMS key stored in Key Management Service (SSE-KMS) in the Amazon Simple Storage Service Console Developer Guide.
If you use the AES256
encryption type, Amazon ECR uses server-side encryption with Amazon S3-managed encryption keys which encrypts the images in the repository using an AES256 encryption algorithm. For more information, see Protecting data using server-side encryption with Amazon S3-managed encryption keys (SSE-S3) in the Amazon Simple Storage Service Console Developer Guide.
"
}
},
@@ -551,6 +551,12 @@
"AuthorizationData$expiresAt": "The Unix time in seconds and milliseconds when the authorization token expires. Authorization tokens are valid for 12 hours.
"
}
},
+ "ExploitAvailable": {
+ "base": null,
+ "refs": {
+ "EnhancedImageScanFinding$exploitAvailable": "If a finding discovered in your environment has an exploit available.
"
+ }
+ },
"FilePath": {
"base": null,
"refs": {
@@ -590,6 +596,18 @@
"ImageScanFindingsSummary$findingSeverityCounts": "The image vulnerability counts, sorted by severity.
"
}
},
+ "FixAvailable": {
+ "base": null,
+ "refs": {
+ "EnhancedImageScanFinding$fixAvailable": "Details on whether a fix is available through a version update. This value can be YES
, NO
, or PARTIAL
. A PARTIAL
fix means that some, but not all, of the packages identified in the finding have fixes available through updated versions.
"
+ }
+ },
+ "FixedInVersion": {
+ "base": null,
+ "refs": {
+ "VulnerablePackage$fixedInVersion": "The version of the package that contains the vulnerability fix.
"
+ }
+ },
"ForceFlag": {
"base": null,
"refs": {
diff --git a/apis/ecr/2015-09-21/smoke-2.json b/apis/ecr/2015-09-21/smoke-2.json
new file mode 100644
index 00000000000..5915b6f74e7
--- /dev/null
+++ b/apis/ecr/2015-09-21/smoke-2.json
@@ -0,0 +1,29 @@
+{
+ "version": 2,
+ "testCases": [
+ {
+ "id": "DescribeRepositoriesSuccess",
+ "operationName": "DescribeRepositories",
+ "input": {},
+ "expectation": {
+ "success": {}
+ },
+ "config": {
+ "region": "us-west-2"
+ }
+ },
+ {
+ "id": "ListImagesFailure",
+ "operationName": "ListImages",
+ "input": {
+ "repositoryName": "not-a-real-repository"
+ },
+ "expectation": {
+ "failure": {}
+ },
+ "config": {
+ "region": "us-west-2"
+ }
+ }
+ ]
+}
diff --git a/apis/ecs/2014-11-13/docs-2.json b/apis/ecs/2014-11-13/docs-2.json
index 7cf79786034..dd0ac7d017b 100644
--- a/apis/ecs/2014-11-13/docs-2.json
+++ b/apis/ecs/2014-11-13/docs-2.json
@@ -197,11 +197,11 @@
"base": null,
"refs": {
"ContainerDefinition$essential": "If the essential
parameter of a container is marked as true
, and that container fails or stops for any reason, all other containers that are part of the task are stopped. If the essential
parameter of a container is marked as false
, its failure doesn't affect the rest of the containers in a task. If this parameter is omitted, a container is assumed to be essential.
All tasks must have at least one essential container. If you have an application that's composed of multiple containers, group containers that are used for a common purpose into components, and separate the different components into multiple task definitions. For more information, see Application Architecture in the Amazon Elastic Container Service Developer Guide.
",
- "ContainerDefinition$disableNetworking": "When this parameter is true, networking is off within the container. This parameter maps to NetworkDisabled
in the docker conainer create command.
This parameter is not supported for Windows containers.
",
- "ContainerDefinition$privileged": "When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root
user). This parameter maps to Privileged
in the the docker conainer create command and the --privileged
option to docker run
This parameter is not supported for Windows containers or tasks run on Fargate.
",
- "ContainerDefinition$readonlyRootFilesystem": "When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs
in the docker conainer create command and the --read-only
option to docker run.
This parameter is not supported for Windows containers.
",
- "ContainerDefinition$interactive": "When this parameter is true
, you can deploy containerized applications that require stdin
or a tty
to be allocated. This parameter maps to OpenStdin
in the docker conainer create command and the --interactive
option to docker run.
",
- "ContainerDefinition$pseudoTerminal": "When this parameter is true
, a TTY is allocated. This parameter maps to Tty
in tthe docker conainer create command and the --tty
option to docker run.
",
+ "ContainerDefinition$disableNetworking": "When this parameter is true, networking is off within the container. This parameter maps to NetworkDisabled
in the docker container create command.
This parameter is not supported for Windows containers.
",
+ "ContainerDefinition$privileged": "When this parameter is true, the container is given elevated privileges on the host container instance (similar to the root
user). This parameter maps to Privileged
in the docker container create command and the --privileged
option to docker run
This parameter is not supported for Windows containers or tasks run on Fargate.
",
+ "ContainerDefinition$readonlyRootFilesystem": "When this parameter is true, the container is given read-only access to its root file system. This parameter maps to ReadonlyRootfs
in the docker container create command and the --read-only
option to docker run.
This parameter is not supported for Windows containers.
",
+ "ContainerDefinition$interactive": "When this parameter is true
, you can deploy containerized applications that require stdin
or a tty
to be allocated. This parameter maps to OpenStdin
in the docker container create command and the --interactive
option to docker run.
",
+ "ContainerDefinition$pseudoTerminal": "When this parameter is true
, a TTY is allocated. This parameter maps to Tty
in the docker container create command and the --tty
option to docker run.
",
"ContainerRestartPolicy$enabled": "Specifies whether a restart policy is enabled for the container.
",
"DeleteServiceRequest$force": "If true
, allows you to delete a service even if it wasn't scaled down to zero tasks. It's only necessary to use this if the service uses the REPLICA
scheduling strategy.
",
"DeleteTaskSetRequest$force": "If true
, you can delete a task set even if it hasn't been scaled down to zero.
",
@@ -222,10 +222,10 @@
"base": null,
"refs": {
"Container$exitCode": "The exit code returned from the container.
",
- "ContainerDefinition$memory": "The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. The total amount of memory reserved for all containers within a task must be lower than the task memory
value, if one is specified. This parameter maps to Memory
in thethe docker conainer create command and the --memory
option to docker run.
If using the Fargate launch type, this parameter is optional.
If using the EC2 launch type, you must specify either a task-level memory value or a container-level memory value. If you specify both a container-level memory
and memoryReservation
value, memory
must be greater than memoryReservation
. If you specify memoryReservation
, then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of memory
is used.
The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container. So, don't specify less than 6 MiB of memory for your containers.
The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory for a container. So, don't specify less than 4 MiB of memory for your containers.
",
- "ContainerDefinition$memoryReservation": "The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the memory
parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to MemoryReservation
in the the docker conainer create command and the --memory-reservation
option to docker run.
If a task-level memory value is not specified, you must specify a non-zero integer for one or both of memory
or memoryReservation
in a container definition. If you specify both, memory
must be greater than memoryReservation
. If you specify memoryReservation
, then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of memory
is used.
For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a memoryReservation
of 128 MiB, and a memory
hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed.
The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container. So, don't specify less than 6 MiB of memory for your containers.
The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory for a container. So, don't specify less than 4 MiB of memory for your containers.
",
+ "ContainerDefinition$memory": "The amount (in MiB) of memory to present to the container. If your container attempts to exceed the memory specified here, the container is killed. The total amount of memory reserved for all containers within a task must be lower than the task memory
value, if one is specified. This parameter maps to Memory
in the docker container create command and the --memory
option to docker run.
If using the Fargate launch type, this parameter is optional.
If using the EC2 launch type, you must specify either a task-level memory value or a container-level memory value. If you specify both a container-level memory
and memoryReservation
value, memory
must be greater than memoryReservation
. If you specify memoryReservation
, then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of memory
is used.
The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container. So, don't specify less than 6 MiB of memory for your containers.
The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory for a container. So, don't specify less than 4 MiB of memory for your containers.
",
+ "ContainerDefinition$memoryReservation": "The soft limit (in MiB) of memory to reserve for the container. When system memory is under heavy contention, Docker attempts to keep the container memory to this soft limit. However, your container can consume more memory when it needs to, up to either the hard limit specified with the memory
parameter (if applicable), or all of the available memory on the container instance, whichever comes first. This parameter maps to MemoryReservation
in the docker container create command and the --memory-reservation
option to docker run.
If a task-level memory value is not specified, you must specify a non-zero integer for one or both of memory
or memoryReservation
in a container definition. If you specify both, memory
must be greater than memoryReservation
. If you specify memoryReservation
, then that value is subtracted from the available memory resources for the container instance where the container is placed. Otherwise, the value of memory
is used.
For example, if your container normally uses 128 MiB of memory, but occasionally bursts to 256 MiB of memory for short periods of time, you can set a memoryReservation
of 128 MiB, and a memory
hard limit of 300 MiB. This configuration would allow the container to only reserve 128 MiB of memory from the remaining resources on the container instance, but also allow the container to consume more memory resources when needed.
The Docker 20.10.0 or later daemon reserves a minimum of 6 MiB of memory for a container. So, don't specify less than 6 MiB of memory for your containers.
The Docker 19.03.13-ce or earlier daemon reserves a minimum of 4 MiB of memory for a container. So, don't specify less than 4 MiB of memory for your containers.
",
"ContainerDefinition$startTimeout": "Time duration (in seconds) to wait before giving up on resolving dependencies for a container. For example, you specify two containers in a task definition with containerA having a dependency on containerB reaching a COMPLETE
, SUCCESS
, or HEALTHY
status. If a startTimeout
value is specified for containerB and it doesn't reach the desired status within that time then containerA gives up and not start. This results in the task transitioning to a STOPPED
state.
When the ECS_CONTAINER_START_TIMEOUT
container agent configuration variable is used, it's enforced independently from this start timeout value.
For tasks using the Fargate launch type, the task or service requires the following platforms:
For tasks using the EC2 launch type, your container instances require at least version 1.26.0
of the container agent to use a container start timeout value. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see Updating the Amazon ECS Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1
of the ecs-init
package. If your container instances are launched from version 20190301
or later, then they contain the required versions of the container agent and ecs-init
. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.
The valid values for Fargate are 2-120 seconds.
",
- "ContainerDefinition$stopTimeout": "Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
For tasks using the Fargate launch type, the task or service requires the following platforms:
The max stop timeout value is 120 seconds and if the parameter is not specified, the default value of 30 seconds is used.
For tasks that use the EC2 launch type, if the stopTimeout
parameter isn't specified, the value set for the Amazon ECS container agent configuration variable ECS_CONTAINER_STOP_TIMEOUT
is used. If neither the stopTimeout
parameter or the ECS_CONTAINER_STOP_TIMEOUT
agent configuration variable are set, then the default values of 30 seconds for Linux containers and 30 seconds on Windows containers are used. Your container instances require at least version 1.26.0 of the container agent to use a container stop timeout value. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see Updating the Amazon ECS Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ecs-init
package. If your container instances are launched from version 20190301
or later, then they contain the required versions of the container agent and ecs-init
. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.
The valid values are 2-120 seconds.
",
+ "ContainerDefinition$stopTimeout": "Time duration (in seconds) to wait before the container is forcefully killed if it doesn't exit normally on its own.
For tasks using the Fargate launch type, the task or service requires the following platforms:
For tasks that use the Fargate launch type, the max stop timeout value is 120 seconds and if the parameter is not specified, the default value of 30 seconds is used.
For tasks that use the EC2 launch type, if the stopTimeout
parameter isn't specified, the value set for the Amazon ECS container agent configuration variable ECS_CONTAINER_STOP_TIMEOUT
is used. If neither the stopTimeout
parameter or the ECS_CONTAINER_STOP_TIMEOUT
agent configuration variable are set, then the default values of 30 seconds for Linux containers and 30 seconds on Windows containers are used. Your container instances require at least version 1.26.0 of the container agent to use a container stop timeout value. However, we recommend using the latest container agent version. For information about checking your agent version and updating to the latest version, see Updating the Amazon ECS Container Agent in the Amazon Elastic Container Service Developer Guide. If you're using an Amazon ECS-optimized Linux AMI, your instance needs at least version 1.26.0-1 of the ecs-init
package. If your container instances are launched from version 20190301
or later, then they contain the required versions of the container agent and ecs-init
. For more information, see Amazon ECS-optimized Linux AMI in the Amazon Elastic Container Service Developer Guide.
The valid values for Fargate are 2-120 seconds.
",
"ContainerOverride$cpu": "The number of cpu
units reserved for the container, instead of the default value from the task definition. You must also specify a container name.
",
"ContainerOverride$memory": "The hard limit (in MiB) of memory to present to the container, instead of the default value from the task definition. If your container attempts to exceed the memory specified here, the container is killed. You must also specify a container name.
",
"ContainerOverride$memoryReservation": "The soft limit (in MiB) of memory to reserve for the container, instead of the default value from the task definition. You must also specify a container name.
",
@@ -233,8 +233,8 @@
"ContainerStateChange$exitCode": "The exit code for the container, if the state change is a result of the container exiting.
",
"CreateServiceRequest$desiredCount": "The number of instantiations of the specified task definition to place and keep running in your service.
This is required if schedulingStrategy
is REPLICA
or isn't specified. If schedulingStrategy
is DAEMON
then this isn't required.
",
"CreateServiceRequest$healthCheckGracePeriodSeconds": "The period of time, in seconds, that the Amazon ECS service scheduler ignores unhealthy Elastic Load Balancing target health checks after a task has first started. This is only used when your service is configured to use a load balancer. If your service has a load balancer defined and you don't specify a health check grace period value, the default value of 0
is used.
If you do not use an Elastic Load Balancing, we recommend that you use the startPeriod
in the task definition health check parameters. For more information, see Health check.
If your service's tasks take a while to start and respond to Elastic Load Balancing health checks, you can specify a health check grace period of up to 2,147,483,647 seconds (about 69 years). During that time, the Amazon ECS service scheduler ignores health check status. This grace period can prevent the service scheduler from marking tasks as unhealthy and stopping them before they have time to come up.
",
- "DeploymentConfiguration$maximumPercent": "If a service is using the rolling update (ECS
) deployment type, the maximumPercent
parameter represents an upper limit on the number of your service's tasks that are allowed in the RUNNING
or PENDING
state during a deployment, as a percentage of the desiredCount
(rounded down to the nearest integer). This parameter enables you to define the deployment batch size. For example, if your service is using the REPLICA
service scheduler and has a desiredCount
of four tasks and a maximumPercent
value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default maximumPercent
value for a service using the REPLICA
service scheduler is 200%.
If a service is using either the blue/green (CODE_DEPLOY
) or EXTERNAL
deployment types and tasks that use the EC2 launch type, the maximum percent value is set to the default value and is used to define the upper limit on the number of the tasks in the service that remain in the RUNNING
state while the container instances are in the DRAINING
state. If the tasks in the service use the Fargate launch type, the maximum percent value is not used, although it is returned when describing your service.
",
- "DeploymentConfiguration$minimumHealthyPercent": "If a service is using the rolling update (ECS
) deployment type, the minimumHealthyPercent
represents a lower limit on the number of your service's tasks that must remain in the RUNNING
state during a deployment, as a percentage of the desiredCount
(rounded up to the nearest integer). This parameter enables you to deploy without using additional cluster capacity. For example, if your service has a desiredCount
of four tasks and a minimumHealthyPercent
of 50%, the service scheduler may stop two existing tasks to free up cluster capacity before starting two new tasks.
For services that do not use a load balancer, the following should be noted:
-
A service is considered healthy if all essential containers within the tasks in the service pass their health checks.
-
If a task has no essential containers with a health check defined, the service scheduler will wait for 40 seconds after a task reaches a RUNNING
state before the task is counted towards the minimum healthy percent total.
-
If a task has one or more essential containers with a health check defined, the service scheduler will wait for the task to reach a healthy status before counting it towards the minimum healthy percent total. A task is considered healthy when all essential containers within the task have passed their health checks. The amount of time the service scheduler can wait for is determined by the container health check settings.
For services that do use a load balancer, the following should be noted:
-
If a task has no essential containers with a health check defined, the service scheduler will wait for the load balancer target group health check to return a healthy status before counting the task towards the minimum healthy percent total.
-
If a task has an essential container with a health check defined, the service scheduler will wait for both the task to reach a healthy status and the load balancer target group health check to return a healthy status before counting the task towards the minimum healthy percent total.
The default value for a replica service for minimumHealthyPercent
is 100%. The default minimumHealthyPercent
value for a service using the DAEMON
service schedule is 0% for the CLI, the Amazon Web Services SDKs, and the APIs and 50% for the Amazon Web Services Management Console.
The minimum number of healthy tasks during a deployment is the desiredCount
multiplied by the minimumHealthyPercent
/100, rounded up to the nearest integer value.
If a service is using either the blue/green (CODE_DEPLOY
) or EXTERNAL
deployment types and is running tasks that use the EC2 launch type, the minimum healthy percent value is set to the default value and is used to define the lower limit on the number of the tasks in the service that remain in the RUNNING
state while the container instances are in the DRAINING
state. If a service is using either the blue/green (CODE_DEPLOY
) or EXTERNAL
deployment types and is running tasks that use the Fargate launch type, the minimum healthy percent value is not used, although it is returned when describing your service.
",
+ "DeploymentConfiguration$maximumPercent": "If a service is using the rolling update (ECS
) deployment type, the maximumPercent
parameter represents an upper limit on the number of your service's tasks that are allowed in the RUNNING
or PENDING
state during a deployment, as a percentage of the desiredCount
(rounded down to the nearest integer). This parameter enables you to define the deployment batch size. For example, if your service is using the REPLICA
service scheduler and has a desiredCount
of four tasks and a maximumPercent
value of 200%, the scheduler may start four new tasks before stopping the four older tasks (provided that the cluster resources required to do this are available). The default maximumPercent
value for a service using the REPLICA
service scheduler is 200%.
If a service is using either the blue/green (CODE_DEPLOY
) or EXTERNAL
deployment types, and tasks in the service use the EC2 launch type, the maximum percent value is set to the default value. The maximum percent value is used to define the upper limit on the number of the tasks in the service that remain in the RUNNING
state while the container instances are in the DRAINING
state.
You can't specify a custom maximumPercent
value for a service that uses either the blue/green (CODE_DEPLOY
) or EXTERNAL
deployment types and has tasks that use the EC2 launch type.
If the tasks in the service use the Fargate launch type, the maximum percent value is not used, although it is returned when describing your service.
",
+ "DeploymentConfiguration$minimumHealthyPercent": "If a service is using the rolling update (ECS
) deployment type, the minimumHealthyPercent
represents a lower limit on the number of your service's tasks that must remain in the RUNNING
state during a deployment, as a percentage of the desiredCount
(rounded up to the nearest integer). This parameter enables you to deploy without using additional cluster capacity. For example, if your service has a desiredCount
of four tasks and a minimumHealthyPercent
of 50%, the service scheduler may stop two existing tasks to free up cluster capacity before starting two new tasks.
For services that do not use a load balancer, the following should be noted:
-
A service is considered healthy if all essential containers within the tasks in the service pass their health checks.
-
If a task has no essential containers with a health check defined, the service scheduler will wait for 40 seconds after a task reaches a RUNNING
state before the task is counted towards the minimum healthy percent total.
-
If a task has one or more essential containers with a health check defined, the service scheduler will wait for the task to reach a healthy status before counting it towards the minimum healthy percent total. A task is considered healthy when all essential containers within the task have passed their health checks. The amount of time the service scheduler can wait for is determined by the container health check settings.
For services that do use a load balancer, the following should be noted:
-
If a task has no essential containers with a health check defined, the service scheduler will wait for the load balancer target group health check to return a healthy status before counting the task towards the minimum healthy percent total.
-
If a task has an essential container with a health check defined, the service scheduler will wait for both the task to reach a healthy status and the load balancer target group health check to return a healthy status before counting the task towards the minimum healthy percent total.
The default value for a replica service for minimumHealthyPercent
is 100%. The default minimumHealthyPercent
value for a service using the DAEMON
service schedule is 0% for the CLI, the Amazon Web Services SDKs, and the APIs and 50% for the Amazon Web Services Management Console.
The minimum number of healthy tasks during a deployment is the desiredCount
multiplied by the minimumHealthyPercent
/100, rounded up to the nearest integer value.
If a service is using either the blue/green (CODE_DEPLOY
) or EXTERNAL
deployment types and is running tasks that use the EC2 launch type, the minimum healthy percent value is set to the default value. The minimum healthy percent value is used to define the lower limit on the number of the tasks in the service that remain in the RUNNING
state while the container instances are in the DRAINING
state.
You can't specify a custom minimumHealthyPercent
value for a service that uses either the blue/green (CODE_DEPLOY
) or EXTERNAL
deployment types and has tasks that use the EC2 launch type.
If a service is using either the blue/green (CODE_DEPLOY
) or EXTERNAL
deployment types and is running tasks that use the Fargate launch type, the minimum healthy percent value is not used, although it is returned when describing your service.
",
"DescribeCapacityProvidersRequest$maxResults": "The maximum number of account setting results returned by DescribeCapacityProviders
in paginated output. When this parameter is used, DescribeCapacityProviders
only returns maxResults
results in a single page along with a nextToken
response element. The remaining results of the initial request can be seen by sending another DescribeCapacityProviders
request with the returned nextToken
value. This value can be between 1 and 10. If this parameter is not used, then DescribeCapacityProviders
returns up to 10 results and a nextToken
value if applicable.
",
"EFSVolumeConfiguration$transitEncryptionPort": "The port to use when sending encrypted data between the Amazon ECS host and the Amazon EFS server. If you do not specify a transit encryption port, it will use the port selection strategy that the Amazon EFS mount helper uses. For more information, see EFS mount helper in the Amazon Elastic File System User Guide.
",
"HealthCheck$interval": "The time period in seconds between each health check execution. You may specify between 5 and 300 seconds. The default value is 30 seconds.
",
@@ -458,7 +458,7 @@
"base": null,
"refs": {
"RegisterTaskDefinitionRequest$requiresCompatibilities": "The task launch type that Amazon ECS validates the task definition against. A client exception is returned if the task definition doesn't validate against the compatibilities specified. If no value is specified, the parameter is omitted from the response.
",
- "TaskDefinition$compatibilities": "The task launch types the task definition validated against during task definition registration. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
",
+ "TaskDefinition$compatibilities": "Amazon ECS validates the task definition parameters with those supported by the launch type. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
",
"TaskDefinition$requiresCompatibilities": "The task launch types the task definition was validated against. The valid values are EC2
, FARGATE
, and EXTERNAL
. For more information, see Amazon ECS launch types in the Amazon Elastic Container Service Developer Guide.
"
}
},
@@ -872,7 +872,7 @@
"DevicesList": {
"base": null,
"refs": {
- "LinuxParameters$devices": "Any host devices to expose to the container. This parameter maps to Devices
in tthe docker conainer create command and the --device
option to docker run.
If you're using tasks that use the Fargate launch type, the devices
parameter isn't supported.
"
+ "LinuxParameters$devices": "Any host devices to expose to the container. This parameter maps to Devices
in the docker container create command and the --device
option to docker run.
If you're using tasks that use the Fargate launch type, the devices
parameter isn't supported.
"
}
},
"DiscoverPollEndpointRequest": {
@@ -888,7 +888,7 @@
"DockerLabelsMap": {
"base": null,
"refs": {
- "ContainerDefinition$dockerLabels": "A key/value map of labels to add to the container. This parameter maps to Labels
in the docker conainer create command and the --label
option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'
"
+ "ContainerDefinition$dockerLabels": "A key/value map of labels to add to the container. This parameter maps to Labels
in the docker container create command and the --label
option to docker run. This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'
"
}
},
"DockerVolumeConfiguration": {
@@ -1004,7 +1004,7 @@
"EnvironmentVariables": {
"base": null,
"refs": {
- "ContainerDefinition$environment": "The environment variables to pass to a container. This parameter maps to Env
in the docker conainer create command and the --env
option to docker run.
We don't recommend that you use plaintext environment variables for sensitive information, such as credential data.
",
+ "ContainerDefinition$environment": "The environment variables to pass to a container. This parameter maps to Env
in the docker container create command and the --env
option to docker run.
We don't recommend that you use plaintext environment variables for sensitive information, such as credential data.
",
"ContainerOverride$environment": "The environment variables to send to the container. You can add new environment variables, which are added to the container at launch, or you can override the existing environment variables from the Docker image or the task definition. You must also specify a container name.
"
}
},
@@ -1117,7 +1117,7 @@
"HealthCheck": {
"base": "An object representing a container health check. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image (such as those specified in a parent image or from the image's Dockerfile). This configuration maps to the HEALTHCHECK
parameter of docker run.
The Amazon ECS container agent only monitors and reports on the health checks specified in the task definition. Amazon ECS does not monitor Docker health checks that are embedded in a container image and not specified in the container definition. Health check parameters that are specified in a container definition override any Docker health checks that exist in the container image.
You can view the health status of both individual containers and a task with the DescribeTasks API operation or when viewing the task details in the console.
The health check is designed to make sure that your containers survive agent restarts, upgrades, or temporary unavailability.
Amazon ECS performs health checks on containers with the default that launched the container instance or the task.
The following describes the possible healthStatus
values for a container:
-
HEALTHY
-The container health check has passed successfully.
-
UNHEALTHY
-The container health check has failed.
-
UNKNOWN
-The container health check is being evaluated, there's no container health check defined, or Amazon ECS doesn't have the health status of the container.
The following describes the possible healthStatus
values based on the container health checker status of essential containers in the task with the following priority order (high to low):
-
UNHEALTHY
-One or more essential containers have failed their health check.
-
UNKNOWN
-Any essential container running within the task is in an UNKNOWN
state and no other essential containers have an UNHEALTHY
state.
-
HEALTHY
-All essential containers within the task have passed their health checks.
Consider the following task health example with 2 containers.
-
If Container1 is UNHEALTHY
and Container2 is UNKNOWN
, the task health is UNHEALTHY
.
-
If Container1 is UNHEALTHY
and Container2 is HEALTHY
, the task health is UNHEALTHY
.
-
If Container1 is HEALTHY
and Container2 is UNKNOWN
, the task health is UNKNOWN
.
-
If Container1 is HEALTHY
and Container2 is HEALTHY
, the task health is HEALTHY
.
Consider the following task health example with 3 containers.
-
If Container1 is UNHEALTHY
and Container2 is UNKNOWN
, and Container3 is UNKNOWN
, the task health is UNHEALTHY
.
-
If Container1 is UNHEALTHY
and Container2 is UNKNOWN
, and Container3 is HEALTHY
, the task health is UNHEALTHY
.
-
If Container1 is UNHEALTHY
and Container2 is HEALTHY
, and Container3 is HEALTHY
, the task health is UNHEALTHY
.
-
If Container1 is HEALTHY
and Container2 is UNKNOWN
, and Container3 is HEALTHY
, the task health is UNKNOWN
.
-
If Container1 is HEALTHY
and Container2 is UNKNOWN
, and Container3 is UNKNOWN
, the task health is UNKNOWN
.
-
If Container1 is HEALTHY
and Container2 is HEALTHY
, and Container3 is HEALTHY
, the task health is HEALTHY
.
If a task is run manually, and not as part of a service, the task will continue its lifecycle regardless of its health status. For tasks that are part of a service, if the task reports as unhealthy then the task will be stopped and the service scheduler will replace it.
The following are notes about container health check support:
-
If the Amazon ECS container agent becomes disconnected from the Amazon ECS service, this won't cause a container to transition to an UNHEALTHY
status. This is by design, to ensure that containers remain running during agent restarts or temporary unavailability. The health check status is the \"last heard from\" response from the Amazon ECS agent, so if the container was considered HEALTHY
prior to the disconnect, that status will remain until the agent reconnects and another health check occurs. There are no assumptions made about the status of the container health checks.
-
Container health checks require version 1.17.0
or greater of the Amazon ECS container agent. For more information, see Updating the Amazon ECS container agent.
-
Container health checks are supported for Fargate tasks if you're using platform version 1.1.0
or greater. For more information, see Fargate platform versions.
-
Container health checks aren't supported for tasks that are part of a service that's configured to use a Classic Load Balancer.
",
"refs": {
- "ContainerDefinition$healthCheck": "The container health check command and associated configuration parameters for the container. This parameter maps to HealthCheck
in the docker conainer create command and the HEALTHCHECK
parameter of docker run.
"
+ "ContainerDefinition$healthCheck": "The container health check command and associated configuration parameters for the container. This parameter maps to HealthCheck
in the docker container create command and the HEALTHCHECK
parameter of docker run.
"
}
},
"HealthStatus": {
@@ -1136,7 +1136,7 @@
"HostEntryList": {
"base": null,
"refs": {
- "ContainerDefinition$extraHosts": "A list of hostnames and IP address mappings to append to the /etc/hosts
file on the container. This parameter maps to ExtraHosts
in the docker conainer create command and the --add-host
option to docker run.
This parameter isn't supported for Windows containers or tasks that use the awsvpc
network mode.
"
+ "ContainerDefinition$extraHosts": "A list of hostnames and IP address mappings to append to the /etc/hosts
file on the container. This parameter maps to ExtraHosts
in the docker container create command and the --add-host
option to docker run.
This parameter isn't supported for Windows containers or tasks that use the awsvpc
network mode.
"
}
},
"HostVolumeProperties": {
@@ -1210,7 +1210,7 @@
"Cluster$runningTasksCount": "The number of tasks in the cluster that are in the RUNNING
state.
",
"Cluster$pendingTasksCount": "The number of tasks in the cluster that are in the PENDING
state.
",
"Cluster$activeServicesCount": "The number of services that are running on the cluster in an ACTIVE
state. You can view these services with PListServices.
",
- "ContainerDefinition$cpu": "The number of cpu
units reserved for the container. This parameter maps to CpuShares
in the docker conainer create commandand the --cpu-shares
option to docker run.
This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level cpu
value.
You can determine the number of CPU units that are available per EC2 instance type by multiplying the vCPUs listed for that instance type on the Amazon EC2 Instances detail page by 1,024.
Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that's the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task is guaranteed a minimum of 512 CPU units when needed. Moreover, each container could float to higher CPU usage if the other container was not using it. If both tasks were 100% active all of the time, they would be limited to 512 CPU units.
On Linux container instances, the Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. The minimum valid CPU share value that the Linux kernel allows is 2, and the maximum valid CPU share value that the Linux kernel allows is 262144. However, the CPU parameter isn't required, and you can use CPU values below 2 or above 262144 in your container definitions. For CPU values below 2 (including null) or above 262144, the behavior varies based on your Amazon ECS container agent version:
-
Agent versions less than or equal to 1.1.0: Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to two CPU shares.
-
Agent versions greater than or equal to 1.2.0: Null, zero, and CPU values of 1 are passed to Docker as 2.
-
Agent versions greater than or equal to 1.84.0: CPU values greater than 256 vCPU are passed to Docker as 256, which is equivalent to 262144 CPU shares.
On Windows container instances, the CPU limit is enforced as an absolute limit, or a quota. Windows containers only have access to the specified amount of CPU that's described in the task definition. A null or zero CPU value is passed to Docker as 0
, which Windows interprets as 1% of one CPU.
",
+ "ContainerDefinition$cpu": "The number of cpu
units reserved for the container. This parameter maps to CpuShares
in the docker container create commandand the --cpu-shares
option to docker run.
This field is optional for tasks using the Fargate launch type, and the only requirement is that the total amount of CPU reserved for all containers within a task be lower than the task-level cpu
value.
You can determine the number of CPU units that are available per EC2 instance type by multiplying the vCPUs listed for that instance type on the Amazon EC2 Instances detail page by 1,024.
Linux containers share unallocated CPU units with other containers on the container instance with the same ratio as their allocated amount. For example, if you run a single-container task on a single-core instance type with 512 CPU units specified for that container, and that's the only task running on the container instance, that container could use the full 1,024 CPU unit share at any given time. However, if you launched another copy of the same task on that container instance, each task is guaranteed a minimum of 512 CPU units when needed. Moreover, each container could float to higher CPU usage if the other container was not using it. If both tasks were 100% active all of the time, they would be limited to 512 CPU units.
On Linux container instances, the Docker daemon on the container instance uses the CPU value to calculate the relative CPU share ratios for running containers. The minimum valid CPU share value that the Linux kernel allows is 2, and the maximum valid CPU share value that the Linux kernel allows is 262144. However, the CPU parameter isn't required, and you can use CPU values below 2 or above 262144 in your container definitions. For CPU values below 2 (including null) or above 262144, the behavior varies based on your Amazon ECS container agent version:
-
Agent versions less than or equal to 1.1.0: Null and zero CPU values are passed to Docker as 0, which Docker then converts to 1,024 CPU shares. CPU values of 1 are passed to Docker as 1, which the Linux kernel converts to two CPU shares.
-
Agent versions greater than or equal to 1.2.0: Null, zero, and CPU values of 1 are passed to Docker as 2.
-
Agent versions greater than or equal to 1.84.0: CPU values greater than 256 vCPU are passed to Docker as 256, which is equivalent to 262144 CPU shares.
On Windows container instances, the CPU limit is enforced as an absolute limit, or a quota. Windows containers only have access to the specified amount of CPU that's described in the task definition. A null or zero CPU value is passed to Docker as 0
, which Windows interprets as 1% of one CPU.
",
"ContainerInstance$runningTasksCount": "The number of tasks on the container instance that have a desired status (desiredStatus
) of RUNNING
.
",
"ContainerInstance$pendingTasksCount": "The number of tasks on the container instance that are in the PENDING
status.
",
"Deployment$desiredCount": "The most recent desired count of tasks that was specified for the service to deploy or maintain.
",
@@ -1229,8 +1229,8 @@
"TaskSet$pendingCount": "The number of tasks in the task set that are in the PENDING
status during a deployment. A task in the PENDING
state is preparing to enter the RUNNING
state. A task set enters the PENDING
status when it launches for the first time or when it's restarted after being in the STOPPED
state.
",
"TaskSet$runningCount": "The number of tasks in the task set that are in the RUNNING
status during a deployment. A task in the RUNNING
state is running and ready for use.
",
"Tmpfs$size": "The maximum size (in MiB) of the tmpfs volume.
",
- "Ulimit$softLimit": "The soft limit for the ulimit
type.
",
- "Ulimit$hardLimit": "The hard limit for the ulimit
type.
"
+ "Ulimit$softLimit": "The soft limit for the ulimit
type. The value can be specified in bytes, seconds, or as a count, depending on the type
of the ulimit
.
",
+ "Ulimit$hardLimit": "The hard limit for the ulimit
type. The value can be specified in bytes, seconds, or as a count, depending on the type
of the ulimit
.
"
}
},
"IntegerList": {
@@ -1408,9 +1408,9 @@
}
},
"LogConfiguration": {
- "base": "The log configuration for the container. This parameter maps to LogConfig
in the docker conainer create command and the --log-driver
option to docker run.
By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition.
Understand the following when specifying a log configuration for your containers.
-
Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon. Additional log drivers may be available in future releases of the Amazon ECS container agent.
For tasks on Fargate, the supported log drivers are awslogs
, splunk
, and awsfirelens
.
For tasks hosted on Amazon EC2 instances, the supported log drivers are awslogs
, fluentd
, gelf
, json-file
, journald
,syslog
, splunk
, and awsfirelens
.
-
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance.
-
For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must register the available logging drivers with the ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before containers placed on that instance can use these log configuration options. For more information, see Amazon ECS container agent configuration in the Amazon Elastic Container Service Developer Guide.
-
For tasks that are on Fargate, because you don't have access to the underlying infrastructure your tasks are hosted on, any additional software needed must be installed outside of the task. For example, the Fluentd output aggregators or a remote host running Logstash to send Gelf logs to.
",
+ "base": "The log configuration for the container. This parameter maps to LogConfig
in the docker container create command and the --log-driver
option to docker run.
By default, containers use the same logging driver that the Docker daemon uses. However, the container might use a different logging driver than the Docker daemon by specifying a log driver configuration in the container definition.
Understand the following when specifying a log configuration for your containers.
-
Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon. Additional log drivers may be available in future releases of the Amazon ECS container agent.
For tasks on Fargate, the supported log drivers are awslogs
, splunk
, and awsfirelens
.
For tasks hosted on Amazon EC2 instances, the supported log drivers are awslogs
, fluentd
, gelf
, json-file
, journald
,syslog
, splunk
, and awsfirelens
.
-
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance.
-
For tasks that are hosted on Amazon EC2 instances, the Amazon ECS container agent must register the available logging drivers with the ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before containers placed on that instance can use these log configuration options. For more information, see Amazon ECS container agent configuration in the Amazon Elastic Container Service Developer Guide.
-
For tasks that are on Fargate, because you don't have access to the underlying infrastructure your tasks are hosted on, any additional software needed must be installed outside of the task. For example, the Fluentd output aggregators or a remote host running Logstash to send Gelf logs to.
",
"refs": {
- "ContainerDefinition$logConfiguration": "The log configuration specification for the container.
This parameter maps to LogConfig
in the docker conainer create command and the --log-driver
option to docker run. By default, containers use the same logging driver that the Docker daemon uses. However the container can use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options).
Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration data type). Additional log drivers may be available in future releases of the Amazon ECS container agent.
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'
The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before containers placed on that instance can use these log configuration options. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
",
+ "ContainerDefinition$logConfiguration": "The log configuration specification for the container.
This parameter maps to LogConfig
in the docker container create command and the --log-driver
option to docker run. By default, containers use the same logging driver that the Docker daemon uses. However the container can use a different logging driver than the Docker daemon by specifying a log driver with this parameter in the container definition. To use a different logging driver for a container, the log system must be configured properly on the container instance (or on a different log server for remote logging options).
Amazon ECS currently supports a subset of the logging drivers available to the Docker daemon (shown in the LogConfiguration data type). Additional log drivers may be available in future releases of the Amazon ECS container agent.
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'
The Amazon ECS container agent running on a container instance must register the logging drivers available on that instance with the ECS_AVAILABLE_LOGGING_DRIVERS
environment variable before containers placed on that instance can use these log configuration options. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
",
"ServiceConnectConfiguration$logConfiguration": null
}
},
@@ -1531,7 +1531,7 @@
"MountPointList": {
"base": null,
"refs": {
- "ContainerDefinition$mountPoints": "The mount points for data volumes in your container.
This parameter maps to Volumes
in the the docker conainer create command and the --volume
option to docker run.
Windows containers can mount whole directories on the same drive as $env:ProgramData
. Windows containers can't mount directories on a different drive, and mount point can't be across drives.
"
+ "ContainerDefinition$mountPoints": "The mount points for data volumes in your container.
This parameter maps to Volumes
in the docker container create command and the --volume
option to docker run.
Windows containers can mount whole directories on the same drive as $env:ProgramData
. Windows containers can't mount directories on a different drive, and mount point can't be across drives.
"
}
},
"NamespaceNotFoundException": {
@@ -1674,7 +1674,7 @@
}
},
"PortMapping": {
- "base": "Port mappings allow containers to access ports on the host container instance to send or receive traffic. Port mappings are specified as part of the container definition.
If you use containers in a task with the awsvpc
or host
network mode, specify the exposed ports using containerPort
. The hostPort
can be left blank or it must be the same value as the containerPort
.
Most fields of this parameter (containerPort
, hostPort
, protocol
) maps to PortBindings
in the docker conainer create command and the --publish
option to docker run
. If the network mode of a task definition is set to host
, host ports must either be undefined or match the container port in the port mapping.
You can't expose the same container port for multiple protocols. If you attempt this, an error is returned.
After a task reaches the RUNNING
status, manual and automatic host and container port assignments are visible in the networkBindings
section of DescribeTasks API responses.
",
+ "base": "Port mappings allow containers to access ports on the host container instance to send or receive traffic. Port mappings are specified as part of the container definition.
If you use containers in a task with the awsvpc
or host
network mode, specify the exposed ports using containerPort
. The hostPort
can be left blank or it must be the same value as the containerPort
.
Most fields of this parameter (containerPort
, hostPort
, protocol
) maps to PortBindings
in the docker container create command and the --publish
option to docker run
. If the network mode of a task definition is set to host
, host ports must either be undefined or match the container port in the port mapping.
You can't expose the same container port for multiple protocols. If you attempt this, an error is returned.
After a task reaches the RUNNING
status, manual and automatic host and container port assignments are visible in the networkBindings
section of DescribeTasks API responses.
",
"refs": {
"PortMappingList$member": null
}
@@ -1682,7 +1682,7 @@
"PortMappingList": {
"base": null,
"refs": {
- "ContainerDefinition$portMappings": "The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic.
For task definitions that use the awsvpc
network mode, only specify the containerPort
. The hostPort
can be left blank or it must be the same value as the containerPort
.
Port mappings on Windows use the NetNAT
gateway address rather than localhost
. There's no loopback for port mappings on Windows, so you can't access a container's mapped port from the host itself.
This parameter maps to PortBindings
in the the docker conainer create command and the --publish
option to docker run. If the network mode of a task definition is set to none
, then you can't specify port mappings. If the network mode of a task definition is set to host
, then host ports must either be undefined or they must match the container port in the port mapping.
After a task reaches the RUNNING
status, manual and automatic host and container port assignments are visible in the Network Bindings section of a container description for a selected task in the Amazon ECS console. The assignments are also visible in the networkBindings
section DescribeTasks responses.
"
+ "ContainerDefinition$portMappings": "The list of port mappings for the container. Port mappings allow containers to access ports on the host container instance to send or receive traffic.
For task definitions that use the awsvpc
network mode, only specify the containerPort
. The hostPort
can be left blank or it must be the same value as the containerPort
.
Port mappings on Windows use the NetNAT
gateway address rather than localhost
. There's no loopback for port mappings on Windows, so you can't access a container's mapped port from the host itself.
This parameter maps to PortBindings
in the the docker container create command and the --publish
option to docker run. If the network mode of a task definition is set to none
, then you can't specify port mappings. If the network mode of a task definition is set to host
, then host ports must either be undefined or they must match the container port in the port mapping.
After a task reaches the RUNNING
status, manual and automatic host and container port assignments are visible in the Network Bindings section of a container description for a selected task in the Amazon ECS console. The assignments are also visible in the networkBindings
section DescribeTasks responses.
"
}
},
"PortNumber": {
@@ -2087,7 +2087,7 @@
"DeleteAccountSettingRequest$name": "The resource name to disable the account setting for. If serviceLongArnFormat
is specified, the ARN for your Amazon ECS services is affected. If taskLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS container instances is affected. If awsvpcTrunking
is specified, the ENI limit for your Amazon ECS container instances is affected.
",
"ListAccountSettingsRequest$name": "The name of the account setting you want to list the settings for.
",
"PutAccountSettingDefaultRequest$name": "The resource name for which to modify the account setting.
The following are the valid values for the account setting name.
-
serviceLongArnFormat
- When modified, the Amazon Resource Name (ARN) and resource ID format of the resource type for a specified user, role, or the root user for an account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is defined by the opt-in status of the user or role that created the resource. You must turn on this setting to use Amazon ECS features such as resource tagging.
-
taskLongArnFormat
- When modified, the Amazon Resource Name (ARN) and resource ID format of the resource type for a specified user, role, or the root user for an account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is defined by the opt-in status of the user or role that created the resource. You must turn on this setting to use Amazon ECS features such as resource tagging.
-
containerInstanceLongArnFormat
- When modified, the Amazon Resource Name (ARN) and resource ID format of the resource type for a specified user, role, or the root user for an account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is defined by the opt-in status of the user or role that created the resource. You must turn on this setting to use Amazon ECS features such as resource tagging.
-
awsvpcTrunking
- When modified, the elastic network interface (ENI) limit for any new container instances that support the feature is changed. If awsvpcTrunking
is turned on, any new container instances that support the feature are launched have the increased ENI limits available to them. For more information, see Elastic Network Interface Trunking in the Amazon Elastic Container Service Developer Guide.
-
containerInsights
- When modified, the default setting indicating whether Amazon Web Services CloudWatch Container Insights is turned on for your clusters is changed. If containerInsights
is turned on, any new clusters that are created will have Container Insights turned on unless you disable it during cluster creation. For more information, see CloudWatch Container Insights in the Amazon Elastic Container Service Developer Guide.
-
dualStackIPv6
- When turned on, when using a VPC in dual stack mode, your tasks using the awsvpc
network mode can have an IPv6 address assigned. For more information on using IPv6 with tasks launched on Amazon EC2 instances, see Using a VPC in dual-stack mode. For more information on using IPv6 with tasks launched on Fargate, see Using a VPC in dual-stack mode.
-
fargateFIPSMode
- If you specify fargateFIPSMode
, Fargate FIPS 140 compliance is affected.
-
fargateTaskRetirementWaitPeriod
- When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace them. Use fargateTaskRetirementWaitPeriod
to configure the wait time to retire a Fargate task. For information about the Fargate tasks maintenance, see Amazon Web Services Fargate task maintenance in the Amazon ECS Developer Guide.
-
tagResourceAuthorization
- Amazon ECS is introducing tagging authorization for resource creation. Users must have permissions for actions that create the resource, such as ecsCreateCluster
. If tags are specified when you create a resource, Amazon Web Services performs additional authorization to verify if users or roles have permissions to create tags. Therefore, you must grant explicit permissions to use the ecs:TagResource
action. For more information, see Grant permission to tag resources on creation in the Amazon ECS Developer Guide.
-
guardDutyActivate
- The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is enabled or disabled by your security administrator in your Amazon ECS account. Amazon GuardDuty controls this account setting on your behalf. For more information, see Protecting Amazon ECS workloads with Amazon ECS Runtime Monitoring.
",
- "PutAccountSettingRequest$name": "The Amazon ECS account setting name to modify.
The following are the valid values for the account setting name.
-
serviceLongArnFormat
- When modified, the Amazon Resource Name (ARN) and resource ID format of the resource type for a specified user, role, or the root user for an account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is defined by the opt-in status of the user or role that created the resource. You must turn on this setting to use Amazon ECS features such as resource tagging.
-
taskLongArnFormat
- When modified, the Amazon Resource Name (ARN) and resource ID format of the resource type for a specified user, role, or the root user for an account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is defined by the opt-in status of the user or role that created the resource. You must turn on this setting to use Amazon ECS features such as resource tagging.
-
containerInstanceLongArnFormat
- When modified, the Amazon Resource Name (ARN) and resource ID format of the resource type for a specified user, role, or the root user for an account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is defined by the opt-in status of the user or role that created the resource. You must turn on this setting to use Amazon ECS features such as resource tagging.
-
awsvpcTrunking
- When modified, the elastic network interface (ENI) limit for any new container instances that support the feature is changed. If awsvpcTrunking
is turned on, any new container instances that support the feature are launched have the increased ENI limits available to them. For more information, see Elastic Network Interface Trunking in the Amazon Elastic Container Service Developer Guide.
-
containerInsights
- When modified, the default setting indicating whether Amazon Web Services CloudWatch Container Insights is turned on for your clusters is changed. If containerInsights
is turned on, any new clusters that are created will have Container Insights turned on unless you disable it during cluster creation. For more information, see CloudWatch Container Insights in the Amazon Elastic Container Service Developer Guide.
-
dualStackIPv6
- When turned on, when using a VPC in dual stack mode, your tasks using the awsvpc
network mode can have an IPv6 address assigned. For more information on using IPv6 with tasks launched on Amazon EC2 instances, see Using a VPC in dual-stack mode. For more information on using IPv6 with tasks launched on Fargate, see Using a VPC in dual-stack mode.
-
fargateFIPSMode
- If you specify fargateFIPSMode
, Fargate FIPS 140 compliance is affected.
-
fargateTaskRetirementWaitPeriod
- When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace them. Use fargateTaskRetirementWaitPeriod
to configure the wait time to retire a Fargate task. For information about the Fargate tasks maintenance, see Amazon Web Services Fargate task maintenance in the Amazon ECS Developer Guide.
-
tagResourceAuthorization
- Amazon ECS is introducing tagging authorization for resource creation. Users must have permissions for actions that create the resource, such as ecsCreateCluster
. If tags are specified when you create a resource, Amazon Web Services performs additional authorization to verify if users or roles have permissions to create tags. Therefore, you must grant explicit permissions to use the ecs:TagResource
action. For more information, see Grant permission to tag resources on creation in the Amazon ECS Developer Guide.
-
guardDutyActivate
- The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is enabled or disabled by your security administrator in your Amazon ECS account. Amazon GuardDuty controls this account setting on your behalf. For more information, see Protecting Amazon ECS workloads with Amazon ECS Runtime Monitoring.
",
+ "PutAccountSettingRequest$name": "The Amazon ECS account setting name to modify.
The following are the valid values for the account setting name.
-
serviceLongArnFormat
- When modified, the Amazon Resource Name (ARN) and resource ID format of the resource type for a specified user, role, or the root user for an account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is defined by the opt-in status of the user or role that created the resource. You must turn on this setting to use Amazon ECS features such as resource tagging.
-
taskLongArnFormat
- When modified, the Amazon Resource Name (ARN) and resource ID format of the resource type for a specified user, role, or the root user for an account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is defined by the opt-in status of the user or role that created the resource. You must turn on this setting to use Amazon ECS features such as resource tagging.
-
containerInstanceLongArnFormat
- When modified, the Amazon Resource Name (ARN) and resource ID format of the resource type for a specified user, role, or the root user for an account is affected. The opt-in and opt-out account setting must be set for each Amazon ECS resource separately. The ARN and resource ID format of a resource is defined by the opt-in status of the user or role that created the resource. You must turn on this setting to use Amazon ECS features such as resource tagging.
-
awsvpcTrunking
- When modified, the elastic network interface (ENI) limit for any new container instances that support the feature is changed. If awsvpcTrunking
is turned on, any new container instances that support the feature are launched have the increased ENI limits available to them. For more information, see Elastic Network Interface Trunking in the Amazon Elastic Container Service Developer Guide.
-
containerInsights
- When modified, the default setting indicating whether Amazon Web Services CloudWatch Container Insights is turned on for your clusters is changed. If containerInsights
is turned on, any new clusters that are created will have Container Insights turned on unless you disable it during cluster creation. For more information, see CloudWatch Container Insights in the Amazon Elastic Container Service Developer Guide.
-
dualStackIPv6
- When turned on, when using a VPC in dual stack mode, your tasks using the awsvpc
network mode can have an IPv6 address assigned. For more information on using IPv6 with tasks launched on Amazon EC2 instances, see Using a VPC in dual-stack mode. For more information on using IPv6 with tasks launched on Fargate, see Using a VPC in dual-stack mode.
-
fargateTaskRetirementWaitPeriod
- When Amazon Web Services determines that a security or infrastructure update is needed for an Amazon ECS task hosted on Fargate, the tasks need to be stopped and new tasks launched to replace them. Use fargateTaskRetirementWaitPeriod
to configure the wait time to retire a Fargate task. For information about the Fargate tasks maintenance, see Amazon Web Services Fargate task maintenance in the Amazon ECS Developer Guide.
-
tagResourceAuthorization
- Amazon ECS is introducing tagging authorization for resource creation. Users must have permissions for actions that create the resource, such as ecsCreateCluster
. If tags are specified when you create a resource, Amazon Web Services performs additional authorization to verify if users or roles have permissions to create tags. Therefore, you must grant explicit permissions to use the ecs:TagResource
action. For more information, see Grant permission to tag resources on creation in the Amazon ECS Developer Guide.
-
guardDutyActivate
- The guardDutyActivate
parameter is read-only in Amazon ECS and indicates whether Amazon ECS Runtime Monitoring is enabled or disabled by your security administrator in your Amazon ECS account. Amazon GuardDuty controls this account setting on your behalf. For more information, see Protecting Amazon ECS workloads with Amazon ECS Runtime Monitoring.
",
"Setting$name": "The Amazon ECS resource name.
"
}
},
@@ -2176,11 +2176,11 @@
"Container$cpu": "The number of CPU units set for the container. The value is 0
if no value was specified in the container definition when the task definition was registered.
",
"Container$memory": "The hard limit (in MiB) of memory set for the container.
",
"Container$memoryReservation": "The soft limit (in MiB) of memory set for the container.
",
- "ContainerDefinition$name": "The name of a container. If you're linking multiple containers together in a task definition, the name
of one container can be entered in the links
of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to name
in tthe docker conainer create command and the --name
option to docker run.
",
- "ContainerDefinition$image": "The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either repository-url/image:tag
or repository-url/image@digest
. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image
in the docker conainer create command and the IMAGE
parameter of docker run.
-
When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image aren't propagated to already running tasks.
-
Images in Amazon ECR repositories can be specified by either using the full registry/repository:tag
or registry/repository@digest
. For example, 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>:latest
or 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE
.
-
Images in official repositories on Docker Hub use a single name (for example, ubuntu
or mongo
).
-
Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent
).
-
Images in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu
).
",
- "ContainerDefinition$hostname": "The hostname to use for your container. This parameter maps to Hostname
in thethe docker conainer create command and the --hostname
option to docker run.
The hostname
parameter is not supported if you're using the awsvpc
network mode.
",
- "ContainerDefinition$user": "The user to use inside the container. This parameter maps to User
in the docker conainer create command and the --user
option to docker run.
When running tasks using the host
network mode, don't run containers using the root user (UID 0). We recommend using a non-root user for better security.
You can specify the user
using the following formats. If specifying a UID or GID, you must specify it as a positive integer.
-
user
-
user:group
-
uid
-
uid:gid
-
user:gid
-
uid:group
This parameter is not supported for Windows containers.
",
- "ContainerDefinition$workingDirectory": "The working directory to run commands inside the container in. This parameter maps to WorkingDir
in the docker conainer create command and the --workdir
option to docker run.
",
+ "ContainerDefinition$name": "The name of a container. If you're linking multiple containers together in a task definition, the name
of one container can be entered in the links
of another container to connect the containers. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed. This parameter maps to name
in the docker container create command and the --name
option to docker run.
",
+ "ContainerDefinition$image": "The image used to start a container. This string is passed directly to the Docker daemon. By default, images in the Docker Hub registry are available. Other repositories are specified with either repository-url/image:tag
or repository-url/image@digest
. Up to 255 letters (uppercase and lowercase), numbers, hyphens, underscores, colons, periods, forward slashes, and number signs are allowed. This parameter maps to Image
in the docker container create command and the IMAGE
parameter of docker run.
-
When a new task starts, the Amazon ECS container agent pulls the latest version of the specified image and tag for the container to use. However, subsequent updates to a repository image aren't propagated to already running tasks.
-
Images in Amazon ECR repositories can be specified by either using the full registry/repository:tag
or registry/repository@digest
. For example, 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>:latest
or 012345678910.dkr.ecr.<region-name>.amazonaws.com/<repository-name>@sha256:94afd1f2e64d908bc90dbca0035a5b567EXAMPLE
.
-
Images in official repositories on Docker Hub use a single name (for example, ubuntu
or mongo
).
-
Images in other repositories on Docker Hub are qualified with an organization name (for example, amazon/amazon-ecs-agent
).
-
Images in other online repositories are qualified further by a domain name (for example, quay.io/assemblyline/ubuntu
).
",
+ "ContainerDefinition$hostname": "The hostname to use for your container. This parameter maps to Hostname
in the docker container create command and the --hostname
option to docker run.
The hostname
parameter is not supported if you're using the awsvpc
network mode.
",
+ "ContainerDefinition$user": "The user to use inside the container. This parameter maps to User
in the docker container create command and the --user
option to docker run.
When running tasks using the host
network mode, don't run containers using the root user (UID 0). We recommend using a non-root user for better security.
You can specify the user
using the following formats. If specifying a UID or GID, you must specify it as a positive integer.
-
user
-
user:group
-
uid
-
uid:gid
-
user:gid
-
uid:group
This parameter is not supported for Windows containers.
",
+ "ContainerDefinition$workingDirectory": "The working directory to run commands inside the container in. This parameter maps to WorkingDir
in the docker container create command and the --workdir
option to docker run.
",
"ContainerDependency$containerName": "The name of a container.
",
"ContainerInstance$containerInstanceArn": "The Amazon Resource Name (ARN) of the container instance. For more information about the ARN format, see Amazon Resource Name (ARN) in the Amazon ECS Developer Guide.
",
"ContainerInstance$ec2InstanceId": "The ID of the container instance. For Amazon EC2 instances, this value is the Amazon EC2 instance ID. For external instances, this value is the Amazon Web Services Systems Manager managed instance ID.
",
@@ -2243,7 +2243,7 @@
"DiscoverPollEndpointResponse$serviceConnectEndpoint": "The endpoint for the Amazon ECS agent to poll for Service Connect configuration. For more information, see Service Connect in the Amazon Elastic Container Service Developer Guide.
",
"DockerLabelsMap$key": null,
"DockerLabelsMap$value": null,
- "DockerVolumeConfiguration$driver": "The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use docker plugin ls
to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name. This parameter maps to Driver
in the docker conainer create command and the xxdriver
option to docker volume create.
",
+ "DockerVolumeConfiguration$driver": "The Docker volume driver to use. The driver value must match the driver name provided by Docker because it is used for task placement. If the driver was installed using the Docker plugin CLI, use docker plugin ls
to retrieve the driver name from your container instance. If the driver was installed using another method, use Docker plugin discovery to retrieve the driver name. This parameter maps to Driver
in the docker container create command and the xxdriver
option to docker volume create.
",
"EFSAuthorizationConfig$accessPointId": "The Amazon EFS access point ID to use. If an access point is specified, the root directory value specified in the EFSVolumeConfiguration
must either be omitted or set to /
which will enforce the path set on the EFS access point. If an access point is used, transit encryption must be on in the EFSVolumeConfiguration
. For more information, see Working with Amazon EFS access points in the Amazon Elastic File System User Guide.
",
"EFSVolumeConfiguration$fileSystemId": "The Amazon EFS file system ID to use.
",
"EFSVolumeConfiguration$rootDirectory": "The directory within the Amazon EFS file system to mount as the root directory inside the host. If this parameter is omitted, the root of the Amazon EFS volume will be used. Specifying /
will have the same effect as omitting this parameter.
If an EFS access point is specified in the authorizationConfig
, the root directory parameter must either be omitted or set to /
which will enforce the path set on the EFS access point.
",
@@ -2495,12 +2495,12 @@
"AwsVpcConfiguration$subnets": "The IDs of the subnets associated with the task or service. There's a limit of 16 subnets that can be specified per awsvpcConfiguration
.
All specified subnets must be from the same VPC.
",
"AwsVpcConfiguration$securityGroups": "The IDs of the security groups associated with the task or service. If you don't specify a security group, the default security group for the VPC is used. There's a limit of 5 security groups that can be specified per awsvpcConfiguration
.
All specified security groups must be from the same VPC.
",
"Cluster$capacityProviders": "The capacity providers associated with the cluster.
",
- "ContainerDefinition$links": "The links
parameter allows containers to communicate with each other without the need for port mappings. This parameter is only supported if the network mode of a task definition is bridge
. The name:internalName
construct is analogous to name:alias
in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to Links
in the docker conainer create command and the --link
option to docker run.
This parameter is not supported for Windows containers.
Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.
",
- "ContainerDefinition$entryPoint": " Early versions of the Amazon ECS container agent don't properly handle entryPoint
parameters. If you have problems using entryPoint
, update your container agent or enter your commands and arguments as command
array items instead.
The entry point that's passed to the container. This parameter maps to Entrypoint
in tthe docker conainer create command and the --entrypoint
option to docker run.
",
- "ContainerDefinition$command": "The command that's passed to the container. This parameter maps to Cmd
in the docker conainer create command and the COMMAND
parameter to docker run. If there are multiple arguments, each argument is a separated string in the array.
",
- "ContainerDefinition$dnsServers": "A list of DNS servers that are presented to the container. This parameter maps to Dns
in the the docker conainer create command and the --dns
option to docker run.
This parameter is not supported for Windows containers.
",
- "ContainerDefinition$dnsSearchDomains": "A list of DNS search domains that are presented to the container. This parameter maps to DnsSearch
in the docker conainer create command and the --dns-search
option to docker run.
This parameter is not supported for Windows containers.
",
- "ContainerDefinition$dockerSecurityOptions": "A list of strings to provide custom configuration for multiple security systems. This field isn't valid for containers in tasks using the Fargate launch type.
For Linux tasks on EC2, this parameter can be used to reference custom labels for SELinux and AppArmor multi-level security systems.
For any tasks on EC2, this parameter can be used to reference a credential spec file that configures a container for Active Directory authentication. For more information, see Using gMSAs for Windows Containers and Using gMSAs for Linux Containers in the Amazon Elastic Container Service Developer Guide.
This parameter maps to SecurityOpt
in the docker conainer create command and the --security-opt
option to docker run.
The Amazon ECS container agent running on a container instance must register with the ECS_SELINUX_CAPABLE=true
or ECS_APPARMOR_CAPABLE=true
environment variables before containers placed on that instance can use these security options. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" | \"label:value\" | \"credentialspec:CredentialSpecFilePath\"
",
+ "ContainerDefinition$links": "The links
parameter allows containers to communicate with each other without the need for port mappings. This parameter is only supported if the network mode of a task definition is bridge
. The name:internalName
construct is analogous to name:alias
in Docker links. Up to 255 letters (uppercase and lowercase), numbers, underscores, and hyphens are allowed.. This parameter maps to Links
in the docker container create command and the --link
option to docker run.
This parameter is not supported for Windows containers.
Containers that are collocated on a single container instance may be able to communicate with each other without requiring links or host port mappings. Network isolation is achieved on the container instance using security groups and VPC settings.
",
+ "ContainerDefinition$entryPoint": " Early versions of the Amazon ECS container agent don't properly handle entryPoint
parameters. If you have problems using entryPoint
, update your container agent or enter your commands and arguments as command
array items instead.
The entry point that's passed to the container. This parameter maps to Entrypoint
in the docker container create command and the --entrypoint
option to docker run.
",
+ "ContainerDefinition$command": "The command that's passed to the container. This parameter maps to Cmd
in the docker container create command and the COMMAND
parameter to docker run. If there are multiple arguments, each argument is a separated string in the array.
",
+ "ContainerDefinition$dnsServers": "A list of DNS servers that are presented to the container. This parameter maps to Dns
in the docker container create command and the --dns
option to docker run.
This parameter is not supported for Windows containers.
",
+ "ContainerDefinition$dnsSearchDomains": "A list of DNS search domains that are presented to the container. This parameter maps to DnsSearch
in the docker container create command and the --dns-search
option to docker run.
This parameter is not supported for Windows containers.
",
+ "ContainerDefinition$dockerSecurityOptions": "A list of strings to provide custom configuration for multiple security systems. This field isn't valid for containers in tasks using the Fargate launch type.
For Linux tasks on EC2, this parameter can be used to reference custom labels for SELinux and AppArmor multi-level security systems.
For any tasks on EC2, this parameter can be used to reference a credential spec file that configures a container for Active Directory authentication. For more information, see Using gMSAs for Windows Containers and Using gMSAs for Linux Containers in the Amazon Elastic Container Service Developer Guide.
This parameter maps to SecurityOpt
in the docker container create command and the --security-opt
option to docker run.
The Amazon ECS container agent running on a container instance must register with the ECS_SELINUX_CAPABLE=true
or ECS_APPARMOR_CAPABLE=true
environment variables before containers placed on that instance can use these security options. For more information, see Amazon ECS Container Agent Configuration in the Amazon Elastic Container Service Developer Guide.
Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" | \"label:value\" | \"credentialspec:CredentialSpecFilePath\"
",
"ContainerDefinition$credentialSpecs": "A list of ARNs in SSM or Amazon S3 to a credential spec (CredSpec
) file that configures the container for Active Directory authentication. We recommend that you use this parameter instead of the dockerSecurityOptions
. The maximum number of ARNs is 1.
There are two formats for each ARN.
- credentialspecdomainless:MyARN
-
You use credentialspecdomainless:MyARN
to provide a CredSpec
with an additional section for a secret in Secrets Manager. You provide the login credentials to the domain in the secret.
Each task that runs on any container instance can join different domains.
You can use this format without joining the container instance to a domain.
- credentialspec:MyARN
-
You use credentialspec:MyARN
to provide a CredSpec
for a single domain.
You must join the container instance to the domain before you start any tasks that use this task definition.
In both formats, replace MyARN
with the ARN in SSM or Amazon S3.
If you provide a credentialspecdomainless:MyARN
, the credspec
must provide a ARN in Secrets Manager for a secret containing the username, password, and the domain to connect to. For better security, the instance isn't joined to the domain for domainless authentication. Other applications on the instance can't use the domainless credentials. You can use this parameter to run tasks on the same instance, even it the tasks need to join different domains. For more information, see Using gMSAs for Windows Containers and Using gMSAs for Linux Containers.
",
"ContainerOverride$command": "The command to send to the container that overrides the default command from the Docker image or the task definition. You must also specify a container name.
",
"CreateClusterRequest$capacityProviders": "The short name of one or more capacity providers to associate with the cluster. A capacity provider must be associated with a cluster before it can be included as part of the default capacity provider strategy of the cluster or used in a capacity provider strategy when calling the CreateService or RunTask actions.
If specifying a capacity provider that uses an Auto Scaling group, the capacity provider must be created but not associated with another cluster. New Auto Scaling group capacity providers can be created with the CreateCapacityProvider API operation.
To use a Fargate capacity provider, specify either the FARGATE
or FARGATE_SPOT
capacity providers. The Fargate capacity providers are available to all accounts and only need to be associated with a cluster to be used.
The PutCapacityProvider API operation is used to update the list of available capacity providers for a cluster after the cluster is created.
",
@@ -2513,9 +2513,9 @@
"DescribeTaskSetsRequest$taskSets": "The ID or full Amazon Resource Name (ARN) of task sets to describe.
",
"DescribeTasksRequest$tasks": "A list of up to 100 task IDs or full ARN entries.
",
"GetTaskProtectionRequest$tasks": "A list of up to 100 task IDs or full ARN entries.
",
- "HealthCheck$command": "A string array representing the command that the container runs to determine if it is healthy. The string array must start with CMD
to run the command arguments directly, or CMD-SHELL
to run the command with the container's default shell.
When you use the Amazon Web Services Management Console JSON panel, the Command Line Interface, or the APIs, enclose the list of commands in double quotes and brackets.
[ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]
You don't include the double quotes and brackets when you use the Amazon Web Services Management Console.
CMD-SHELL, curl -f http://localhost/ || exit 1
An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see HealthCheck
in tthe docker conainer create command
",
- "KernelCapabilities$add": "The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to CapAdd
in the docker conainer create command and the --cap-add
option to docker run.
Tasks launched on Fargate only support adding the SYS_PTRACE
kernel capability.
Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"
",
- "KernelCapabilities$drop": "The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to CapDrop
in the docker conainer create command and the --cap-drop
option to docker run.
Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"
",
+ "HealthCheck$command": "A string array representing the command that the container runs to determine if it is healthy. The string array must start with CMD
to run the command arguments directly, or CMD-SHELL
to run the command with the container's default shell.
When you use the Amazon Web Services Management Console JSON panel, the Command Line Interface, or the APIs, enclose the list of commands in double quotes and brackets.
[ \"CMD-SHELL\", \"curl -f http://localhost/ || exit 1\" ]
You don't include the double quotes and brackets when you use the Amazon Web Services Management Console.
CMD-SHELL, curl -f http://localhost/ || exit 1
An exit code of 0 indicates success, and non-zero exit code indicates failure. For more information, see HealthCheck
in the docker container create command
",
+ "KernelCapabilities$add": "The Linux capabilities for the container that have been added to the default configuration provided by Docker. This parameter maps to CapAdd
in the docker container create command and the --cap-add
option to docker run.
Tasks launched on Fargate only support adding the SYS_PTRACE
kernel capability.
Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"
",
+ "KernelCapabilities$drop": "The Linux capabilities for the container that have been removed from the default configuration provided by Docker. This parameter maps to CapDrop
in the docker container create command and the --cap-drop
option to docker run.
Valid values: \"ALL\" | \"AUDIT_CONTROL\" | \"AUDIT_WRITE\" | \"BLOCK_SUSPEND\" | \"CHOWN\" | \"DAC_OVERRIDE\" | \"DAC_READ_SEARCH\" | \"FOWNER\" | \"FSETID\" | \"IPC_LOCK\" | \"IPC_OWNER\" | \"KILL\" | \"LEASE\" | \"LINUX_IMMUTABLE\" | \"MAC_ADMIN\" | \"MAC_OVERRIDE\" | \"MKNOD\" | \"NET_ADMIN\" | \"NET_BIND_SERVICE\" | \"NET_BROADCAST\" | \"NET_RAW\" | \"SETFCAP\" | \"SETGID\" | \"SETPCAP\" | \"SETUID\" | \"SYS_ADMIN\" | \"SYS_BOOT\" | \"SYS_CHROOT\" | \"SYS_MODULE\" | \"SYS_NICE\" | \"SYS_PACCT\" | \"SYS_PTRACE\" | \"SYS_RAWIO\" | \"SYS_RESOURCE\" | \"SYS_TIME\" | \"SYS_TTY_CONFIG\" | \"SYSLOG\" | \"WAKE_ALARM\"
",
"ListClustersResponse$clusterArns": "The list of full Amazon Resource Name (ARN) entries for each cluster that's associated with your account.
",
"ListContainerInstancesResponse$containerInstanceArns": "The list of container instances with full ARN entries for each container instance associated with the specified cluster.
",
"ListServicesByNamespaceResponse$serviceArns": "The list of full ARN entries for each service that's associated with the specified namespace.
",
@@ -2535,7 +2535,7 @@
"base": null,
"refs": {
"DockerVolumeConfiguration$driverOpts": "A map of Docker driver-specific options passed through. This parameter maps to DriverOpts
in the docker create-volume command and the xxopt
option to docker volume create.
",
- "DockerVolumeConfiguration$labels": "Custom metadata to add to your Docker volume. This parameter maps to Labels
in the docker conainer create command and the xxlabel
option to docker volume create.
"
+ "DockerVolumeConfiguration$labels": "Custom metadata to add to your Docker volume. This parameter maps to Labels
in the docker container create command and the xxlabel
option to docker volume create.
"
}
},
"SubmitAttachmentStateChangesRequest": {
@@ -2569,7 +2569,7 @@
}
},
"SystemControl": {
- "base": "A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls
in tthe docker conainer create command and the --sysctl
option to docker run. For example, you can configure net.ipv4.tcp_keepalive_time
setting to maintain longer lived connections.
We don't recommend that you specify network-related systemControls
parameters for multiple containers in a single task that also uses either the awsvpc
or host
network mode. Doing this has the following disadvantages:
-
For tasks that use the awsvpc
network mode including Fargate, if you set systemControls
for any container, it applies to all containers in the task. If you set different systemControls
for multiple containers in a single task, the container that's started last determines which systemControls
take effect.
-
For tasks that use the host
network mode, the network namespace systemControls
aren't supported.
If you're setting an IPC resource namespace to use for the containers in the task, the following conditions apply to your system controls. For more information, see IPC mode.
-
For tasks that use the host
IPC mode, IPC namespace systemControls
aren't supported.
-
For tasks that use the task
IPC mode, IPC namespace systemControls
values apply to all containers within a task.
This parameter is not supported for Windows containers.
This parameter is only supported for tasks that are hosted on Fargate if the tasks are using platform version 1.4.0
or later (Linux). This isn't supported for Windows containers on Fargate.
",
+ "base": "A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls
in the docker container create command and the --sysctl
option to docker run. For example, you can configure net.ipv4.tcp_keepalive_time
setting to maintain longer lived connections.
We don't recommend that you specify network-related systemControls
parameters for multiple containers in a single task that also uses either the awsvpc
or host
network mode. Doing this has the following disadvantages:
-
For tasks that use the awsvpc
network mode including Fargate, if you set systemControls
for any container, it applies to all containers in the task. If you set different systemControls
for multiple containers in a single task, the container that's started last determines which systemControls
take effect.
-
For tasks that use the host
network mode, the network namespace systemControls
aren't supported.
If you're setting an IPC resource namespace to use for the containers in the task, the following conditions apply to your system controls. For more information, see IPC mode.
-
For tasks that use the host
IPC mode, IPC namespace systemControls
aren't supported.
-
For tasks that use the task
IPC mode, IPC namespace systemControls
values apply to all containers within a task.
This parameter is not supported for Windows containers.
This parameter is only supported for tasks that are hosted on Fargate if the tasks are using platform version 1.4.0
or later (Linux). This isn't supported for Windows containers on Fargate.
",
"refs": {
"SystemControls$member": null
}
@@ -2577,7 +2577,7 @@
"SystemControls": {
"base": null,
"refs": {
- "ContainerDefinition$systemControls": "A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls
in tthe docker conainer create command and the --sysctl
option to docker run. For example, you can configure net.ipv4.tcp_keepalive_time
setting to maintain longer lived connections.
"
+ "ContainerDefinition$systemControls": "A list of namespaced kernel parameters to set in the container. This parameter maps to Sysctls
in the docker container create command and the --sysctl
option to docker run. For example, you can configure net.ipv4.tcp_keepalive_time
setting to maintain longer lived connections.
"
}
},
"Tag": {
@@ -2892,7 +2892,7 @@
"UlimitList": {
"base": null,
"refs": {
- "ContainerDefinition$ulimits": "A list of ulimits
to set in the container. If a ulimit
value is specified in a task definition, it overrides the default values set by Docker. This parameter maps to Ulimits
in tthe docker conainer create command and the --ulimit
option to docker run. Valid naming values are displayed in the Ulimit data type.
Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile
resource limit parameter which Fargate overrides. The nofile
resource limit sets a restriction on the number of open files that a container can use. The default nofile
soft limit is 65535
and the default hard limit is 65535
.
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'
This parameter is not supported for Windows containers.
"
+ "ContainerDefinition$ulimits": "A list of ulimits
to set in the container. If a ulimit
value is specified in a task definition, it overrides the default values set by Docker. This parameter maps to Ulimits
in the docker container create command and the --ulimit
option to docker run. Valid naming values are displayed in the Ulimit data type.
Amazon ECS tasks hosted on Fargate use the default resource limit values set by the operating system with the exception of the nofile
resource limit parameter which Fargate overrides. The nofile
resource limit sets a restriction on the number of open files that a container can use. The default nofile
soft limit is 65535
and the default hard limit is 65535
.
This parameter requires version 1.18 of the Docker Remote API or greater on your container instance. To check the Docker Remote API version on your container instance, log in to your container instance and run the following command: sudo docker version --format '{{.Server.APIVersion}}'
This parameter is not supported for Windows containers.
"
}
},
"UlimitName": {
@@ -3033,7 +3033,7 @@
"VolumeFromList": {
"base": null,
"refs": {
- "ContainerDefinition$volumesFrom": "Data volumes to mount from another container. This parameter maps to VolumesFrom
in tthe docker conainer create command and the --volumes-from
option to docker run.
"
+ "ContainerDefinition$volumesFrom": "Data volumes to mount from another container. This parameter maps to VolumesFrom
in the docker container create command and the --volumes-from
option to docker run.
"
}
},
"VolumeList": {
diff --git a/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json b/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json
index 0a7e8afdd5a..9f3d77d828f 100644
--- a/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json
+++ b/apis/elasticloadbalancingv2/2015-12-01/waiters-2.json
@@ -13,7 +13,7 @@
},
{
"matcher": "error",
- "expected": "LoadBalancerNotFoundException",
+ "expected": "LoadBalancerNotFound",
"state": "retry"
}
]
@@ -38,7 +38,7 @@
{
"state": "retry",
"matcher": "error",
- "expected": "LoadBalancerNotFoundException"
+ "expected": "LoadBalancerNotFound"
}
]
},
@@ -55,7 +55,7 @@
},
{
"matcher": "error",
- "expected": "LoadBalancerNotFoundException",
+ "expected": "LoadBalancerNotFound",
"state": "success"
}
]
diff --git a/apis/elasticmapreduce/2009-03-31/api-2.json b/apis/elasticmapreduce/2009-03-31/api-2.json
index 94e07289274..9438c1e3460 100644
--- a/apis/elasticmapreduce/2009-03-31/api-2.json
+++ b/apis/elasticmapreduce/2009-03-31/api-2.json
@@ -1648,7 +1648,8 @@
"InstanceFleetId":{"shape":"InstanceFleetId"},
"TargetOnDemandCapacity":{"shape":"WholeNumber"},
"TargetSpotCapacity":{"shape":"WholeNumber"},
- "ResizeSpecifications":{"shape":"InstanceFleetResizingSpecifications"}
+ "ResizeSpecifications":{"shape":"InstanceFleetResizingSpecifications"},
+ "InstanceTypeConfigs":{"shape":"InstanceTypeConfigList"}
}
},
"InstanceFleetProvisioningSpecifications":{
@@ -2521,9 +2522,10 @@
},
"OnDemandResizingSpecification":{
"type":"structure",
- "required":["TimeoutDurationMinutes"],
"members":{
- "TimeoutDurationMinutes":{"shape":"WholeNumber"}
+ "TimeoutDurationMinutes":{"shape":"WholeNumber"},
+ "AllocationStrategy":{"shape":"OnDemandProvisioningAllocationStrategy"},
+ "CapacityReservationOptions":{"shape":"OnDemandCapacityReservationOptions"}
}
},
"OptionalArnType":{
@@ -2986,9 +2988,9 @@
},
"SpotResizingSpecification":{
"type":"structure",
- "required":["TimeoutDurationMinutes"],
"members":{
- "TimeoutDurationMinutes":{"shape":"WholeNumber"}
+ "TimeoutDurationMinutes":{"shape":"WholeNumber"},
+ "AllocationStrategy":{"shape":"SpotProvisioningAllocationStrategy"}
}
},
"StartNotebookExecutionInput":{
diff --git a/apis/elasticmapreduce/2009-03-31/docs-2.json b/apis/elasticmapreduce/2009-03-31/docs-2.json
index 2da61ffe7d7..8ae88d5a64b 100644
--- a/apis/elasticmapreduce/2009-03-31/docs-2.json
+++ b/apis/elasticmapreduce/2009-03-31/docs-2.json
@@ -876,7 +876,7 @@
}
},
"InstanceFleetProvisioningSpecifications": {
- "base": "The launch specification for Spot Instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot instance allocation strategies are available in Amazon EMR releases 5.12.1 and later.
",
+ "base": "The launch specification for On-Demand and Spot Instances in the fleet.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot instance allocation strategies are available in Amazon EMR releases 5.12.1 and later.
",
"refs": {
"InstanceFleet$LaunchSpecifications": "Describes the launch specification for an instance fleet.
",
"InstanceFleetConfig$LaunchSpecifications": "The launch specification for the instance fleet.
"
@@ -1127,7 +1127,8 @@
"InstanceTypeConfigList": {
"base": null,
"refs": {
- "InstanceFleetConfig$InstanceTypeConfigs": "The instance type configurations that define the Amazon EC2 instances in the instance fleet.
"
+ "InstanceFleetConfig$InstanceTypeConfigs": "The instance type configurations that define the Amazon EC2 instances in the instance fleet.
",
+ "InstanceFleetModifyConfig$InstanceTypeConfigs": "An array of InstanceTypeConfig objects that specify how Amazon EMR provisions Amazon EC2 instances when it fulfills On-Demand and Spot capacities. For more information, see InstanceTypeConfig.
"
}
},
"InstanceTypeSpecification": {
@@ -1543,7 +1544,8 @@
"OnDemandCapacityReservationOptions": {
"base": "Describes the strategy for using unused Capacity Reservations for fulfilling On-Demand capacity.
",
"refs": {
- "OnDemandProvisioningSpecification$CapacityReservationOptions": "The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
"
+ "OnDemandProvisioningSpecification$CapacityReservationOptions": "The launch specification for On-Demand instances in the instance fleet, which determines the allocation strategy.
",
+ "OnDemandResizingSpecification$CapacityReservationOptions": null
}
},
"OnDemandCapacityReservationPreference": {
@@ -1561,19 +1563,20 @@
"OnDemandProvisioningAllocationStrategy": {
"base": null,
"refs": {
- "OnDemandProvisioningSpecification$AllocationStrategy": "Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price
and prioritized
. lowest-price
specifies to launch the instances with the lowest price first, and prioritized
specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price
.
"
+ "OnDemandProvisioningSpecification$AllocationStrategy": "Specifies the strategy to use in launching On-Demand instance fleets. Available options are lowest-price
and prioritized
. lowest-price
specifies to launch the instances with the lowest price first, and prioritized
specifies that Amazon EMR should launch the instances with the highest priority first. The default is lowest-price
.
",
+ "OnDemandResizingSpecification$AllocationStrategy": "Specifies the allocation strategy to use to launch On-Demand instances during a resize. The default is lowest-price
.
"
}
},
"OnDemandProvisioningSpecification": {
"base": " The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
",
"refs": {
- "InstanceFleetProvisioningSpecifications$OnDemandSpecification": " The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
"
+ "InstanceFleetProvisioningSpecifications$OnDemandSpecification": " The launch specification for On-Demand Instances in the instance fleet, which determines the allocation strategy and capacity reservation options.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. On-Demand Instances allocation strategy is available in Amazon EMR releases 5.12.1 and later.
"
}
},
"OnDemandResizingSpecification": {
"base": "The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
",
"refs": {
- "InstanceFleetResizingSpecifications$OnDemandResizeSpecification": "The resize specification for On-Demand Instances in the instance fleet, which contains the resize timeout period.
"
+ "InstanceFleetResizingSpecifications$OnDemandResizeSpecification": "The resize specification for On-Demand Instances in the instance fleet, which contains the allocation strategy, capacity reservation options, and the resize timeout period.
"
}
},
"OptionalArnType": {
@@ -1895,13 +1898,14 @@
"SpotProvisioningAllocationStrategy": {
"base": null,
"refs": {
- "SpotProvisioningSpecification$AllocationStrategy": "Specifies one of the following strategies to launch Spot Instance fleets: capacity-optimized
, price-capacity-optimized
, lowest-price
, or diversified
, and capacity-optimized-prioritized
. For more information on the provisioning strategies, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide for Linux Instances.
When you launch a Spot Instance fleet with the old console, it automatically launches with the capacity-optimized
strategy. You can't change the allocation strategy from the old console.
"
+ "SpotProvisioningSpecification$AllocationStrategy": "Specifies one of the following strategies to launch Spot Instance fleets: capacity-optimized
, price-capacity-optimized
, lowest-price
, or diversified
, and capacity-optimized-prioritized
. For more information on the provisioning strategies, see Allocation strategies for Spot Instances in the Amazon EC2 User Guide for Linux Instances.
When you launch a Spot Instance fleet with the old console, it automatically launches with the capacity-optimized
strategy. You can't change the allocation strategy from the old console.
",
+ "SpotResizingSpecification$AllocationStrategy": "Specifies the allocation strategy to use to launch Spot instances during a resize. If you run Amazon EMR releases 6.9.0 or higher, the default is price-capacity-optimized
. If you run Amazon EMR releases 6.8.0 or lower, the default is capacity-optimized
.
"
}
},
"SpotProvisioningSpecification": {
"base": "The launch specification for Spot Instances in the instance fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
The instance fleet configuration is available only in Amazon EMR releases 4.8.0 and later, excluding 5.0.x versions. Spot Instance allocation strategy is available in Amazon EMR releases 5.12.1 and later.
Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new customers from July 1, 2021. For customers who have previously used the feature, we will continue to support Spot Instances with a defined duration until December 31, 2022.
",
"refs": {
- "InstanceFleetProvisioningSpecifications$SpotSpecification": "The launch specification for Spot instances in the fleet, which determines the defined duration, provisioning timeout behavior, and allocation strategy.
"
+ "InstanceFleetProvisioningSpecifications$SpotSpecification": "The launch specification for Spot instances in the fleet, which determines the allocation strategy, defined duration, and provisioning timeout behavior.
"
}
},
"SpotProvisioningTimeoutAction": {
@@ -1913,7 +1917,7 @@
"SpotResizingSpecification": {
"base": "The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
",
"refs": {
- "InstanceFleetResizingSpecifications$SpotResizeSpecification": "The resize specification for Spot Instances in the instance fleet, which contains the resize timeout period.
"
+ "InstanceFleetResizingSpecifications$SpotResizeSpecification": "The resize specification for Spot Instances in the instance fleet, which contains the allocation strategy and the resize timeout period.
"
}
},
"StartNotebookExecutionInput": {
diff --git a/apis/elasticmapreduce/2009-03-31/smoke-2.json b/apis/elasticmapreduce/2009-03-31/smoke-2.json
new file mode 100644
index 00000000000..64c20d80588
--- /dev/null
+++ b/apis/elasticmapreduce/2009-03-31/smoke-2.json
@@ -0,0 +1,29 @@
+{
+ "version": 2,
+ "testCases": [
+ {
+ "id": "ListClustersSuccess",
+ "operationName": "ListClusters",
+ "input": {},
+ "expectation": {
+ "success": {}
+ },
+ "config": {
+ "region": "us-west-2"
+ }
+ },
+ {
+ "id": "DescribeClusterFailure",
+ "operationName": "DescribeCluster",
+ "input": {
+ "ClusterId": "fake_cluster"
+ },
+ "expectation": {
+ "failure": {}
+ },
+ "config": {
+ "region": "us-west-2"
+ }
+ }
+ ]
+}
diff --git a/apis/glue/2017-03-31/api-2.json b/apis/glue/2017-03-31/api-2.json
index 13518ad01e1..540043547e2 100644
--- a/apis/glue/2017-03-31/api-2.json
+++ b/apis/glue/2017-03-31/api-2.json
@@ -204,7 +204,11 @@
"input":{"shape":"BatchGetTableOptimizerRequest"},
"output":{"shape":"BatchGetTableOptimizerResponse"},
"errors":[
- {"shape":"InternalServiceException"}
+ {"shape":"EntityNotFoundException"},
+ {"shape":"InvalidInputException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"InternalServiceException"},
+ {"shape":"ThrottlingException"}
]
},
"BatchGetTriggers":{
@@ -676,10 +680,12 @@
"output":{"shape":"CreateTableOptimizerResponse"},
"errors":[
{"shape":"EntityNotFoundException"},
+ {"shape":"ValidationException"},
{"shape":"InvalidInputException"},
{"shape":"AccessDeniedException"},
{"shape":"AlreadyExistsException"},
- {"shape":"InternalServiceException"}
+ {"shape":"InternalServiceException"},
+ {"shape":"ThrottlingException"}
]
},
"CreateTrigger":{
@@ -1085,7 +1091,8 @@
{"shape":"EntityNotFoundException"},
{"shape":"InvalidInputException"},
{"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
+ {"shape":"InternalServiceException"},
+ {"shape":"ThrottlingException"}
]
},
"DeleteTableVersion":{
@@ -1984,7 +1991,8 @@
{"shape":"EntityNotFoundException"},
{"shape":"InvalidInputException"},
{"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
+ {"shape":"InternalServiceException"},
+ {"shape":"ThrottlingException"}
]
},
"GetTableVersion":{
@@ -2543,7 +2551,9 @@
{"shape":"EntityNotFoundException"},
{"shape":"AccessDeniedException"},
{"shape":"InvalidInputException"},
- {"shape":"InternalServiceException"}
+ {"shape":"ValidationException"},
+ {"shape":"InternalServiceException"},
+ {"shape":"ThrottlingException"}
]
},
"ListTriggers":{
@@ -3099,6 +3109,26 @@
{"shape":"EntityNotFoundException"}
]
},
+ "TestConnection":{
+ "name":"TestConnection",
+ "http":{
+ "method":"POST",
+ "requestUri":"/"
+ },
+ "input":{"shape":"TestConnectionRequest"},
+ "output":{"shape":"TestConnectionResponse"},
+ "errors":[
+ {"shape":"InvalidInputException"},
+ {"shape":"OperationTimeoutException"},
+ {"shape":"ResourceNumberLimitExceededException"},
+ {"shape":"GlueEncryptionException"},
+ {"shape":"FederationSourceException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"EntityNotFoundException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServiceException"}
+ ]
+ },
"UntagResource":{
"name":"UntagResource",
"http":{
@@ -3424,7 +3454,10 @@
{"shape":"EntityNotFoundException"},
{"shape":"InvalidInputException"},
{"shape":"AccessDeniedException"},
- {"shape":"InternalServiceException"}
+ {"shape":"ValidationException"},
+ {"shape":"InternalServiceException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ConcurrentModificationException"}
]
},
"UpdateTrigger":{
@@ -5006,6 +5039,12 @@
"min":1,
"pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*"
},
+ "CompactionMetrics":{
+ "type":"structure",
+ "members":{
+ "IcebergMetrics":{"shape":"IcebergCompactionMetrics"}
+ }
+ },
"Comparator":{
"type":"string",
"enum":[
@@ -9192,6 +9231,15 @@
"type":"string",
"pattern":"^arn:aws(-(cn|us-gov|iso(-[bef])?))?:iam::[0-9]{12}:role/.+"
},
+ "IcebergCompactionMetrics":{
+ "type":"structure",
+ "members":{
+ "NumberOfBytesCompacted":{"shape":"metricCounts"},
+ "NumberOfFilesCompacted":{"shape":"metricCounts"},
+ "NumberOfDpus":{"shape":"dpuCounts"},
+ "JobDurationInHour":{"shape":"dpuDurationInHour"}
+ }
+ },
"IcebergInput":{
"type":"structure",
"required":["MetadataOperation"],
@@ -9200,6 +9248,39 @@
"Version":{"shape":"VersionString"}
}
},
+ "IcebergOrphanFileDeletionConfiguration":{
+ "type":"structure",
+ "members":{
+ "orphanFileRetentionPeriodInDays":{"shape":"NullableInteger"},
+ "location":{"shape":"MessageString"}
+ }
+ },
+ "IcebergOrphanFileDeletionMetrics":{
+ "type":"structure",
+ "members":{
+ "NumberOfOrphanFilesDeleted":{"shape":"metricCounts"},
+ "NumberOfDpus":{"shape":"dpuCounts"},
+ "JobDurationInHour":{"shape":"dpuDurationInHour"}
+ }
+ },
+ "IcebergRetentionConfiguration":{
+ "type":"structure",
+ "members":{
+ "snapshotRetentionPeriodInDays":{"shape":"NullableInteger"},
+ "numberOfSnapshotsToRetain":{"shape":"NullableInteger"},
+ "cleanExpiredFiles":{"shape":"NullableBoolean"}
+ }
+ },
+ "IcebergRetentionMetrics":{
+ "type":"structure",
+ "members":{
+ "NumberOfDataFilesDeleted":{"shape":"metricCounts"},
+ "NumberOfManifestFilesDeleted":{"shape":"metricCounts"},
+ "NumberOfManifestListsDeleted":{"shape":"metricCounts"},
+ "NumberOfDpus":{"shape":"dpuCounts"},
+ "JobDurationInHour":{"shape":"dpuDurationInHour"}
+ }
+ },
"IcebergTarget":{
"type":"structure",
"members":{
@@ -10833,6 +10914,18 @@
"type":"list",
"member":{"shape":"Order"}
},
+ "OrphanFileDeletionConfiguration":{
+ "type":"structure",
+ "members":{
+ "icebergConfiguration":{"shape":"IcebergOrphanFileDeletionConfiguration"}
+ }
+ },
+ "OrphanFileDeletionMetrics":{
+ "type":"structure",
+ "members":{
+ "IcebergMetrics":{"shape":"IcebergOrphanFileDeletionMetrics"}
+ }
+ },
"OtherMetadataValueList":{
"type":"list",
"member":{"shape":"OtherMetadataValueListItem"}
@@ -11627,6 +11720,18 @@
"NodeIds":{"shape":"NodeIdList"}
}
},
+ "RetentionConfiguration":{
+ "type":"structure",
+ "members":{
+ "icebergConfiguration":{"shape":"IcebergRetentionConfiguration"}
+ }
+ },
+ "RetentionMetrics":{
+ "type":"structure",
+ "members":{
+ "IcebergMetrics":{"shape":"IcebergRetentionMetrics"}
+ }
+ },
"Role":{"type":"string"},
"RoleArn":{
"type":"string",
@@ -13148,7 +13253,9 @@
"type":"structure",
"members":{
"roleArn":{"shape":"ArnString"},
- "enabled":{"shape":"NullableBoolean"}
+ "enabled":{"shape":"NullableBoolean"},
+ "retentionConfiguration":{"shape":"RetentionConfiguration"},
+ "orphanFileDeletionConfiguration":{"shape":"OrphanFileDeletionConfiguration"}
}
},
"TableOptimizerEventType":{
@@ -13166,8 +13273,15 @@
"eventType":{"shape":"TableOptimizerEventType"},
"startTimestamp":{"shape":"TableOptimizerRunTimestamp"},
"endTimestamp":{"shape":"TableOptimizerRunTimestamp"},
- "metrics":{"shape":"RunMetrics"},
- "error":{"shape":"MessageString"}
+ "metrics":{
+ "shape":"RunMetrics",
+ "deprecated":true,
+ "deprecatedMessage":"Metrics has been replaced by optimizer type specific metrics such as IcebergCompactionMetrics"
+ },
+ "error":{"shape":"MessageString"},
+ "compactionMetrics":{"shape":"CompactionMetrics"},
+ "retentionMetrics":{"shape":"RetentionMetrics"},
+ "orphanFileDeletionMetrics":{"shape":"OrphanFileDeletionMetrics"}
}
},
"TableOptimizerRunTimestamp":{"type":"timestamp"},
@@ -13177,7 +13291,11 @@
},
"TableOptimizerType":{
"type":"string",
- "enum":["compaction"]
+ "enum":[
+ "compaction",
+ "retention",
+ "orphan_file_deletion"
+ ]
},
"TablePrefix":{
"type":"string",
@@ -13355,6 +13473,37 @@
"FIND_MATCHES"
]
},
+ "TestConnectionInput":{
+ "type":"structure",
+ "required":[
+ "ConnectionType",
+ "ConnectionProperties"
+ ],
+ "members":{
+ "ConnectionType":{"shape":"ConnectionType"},
+ "ConnectionProperties":{"shape":"ConnectionProperties"},
+ "AuthenticationConfiguration":{"shape":"AuthenticationConfigurationInput"}
+ }
+ },
+ "TestConnectionRequest":{
+ "type":"structure",
+ "members":{
+ "ConnectionName":{"shape":"NameString"},
+ "TestConnectionInput":{"shape":"TestConnectionInput"}
+ }
+ },
+ "TestConnectionResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
+ "ThrottlingException":{
+ "type":"structure",
+ "members":{
+ "Message":{"shape":"MessageString"}
+ },
+ "exception":true
+ },
"Timeout":{
"type":"integer",
"box":true,
@@ -14441,6 +14590,9 @@
"min":1
},
"double":{"type":"double"},
+ "dpuCounts":{"type":"integer"},
+ "dpuDurationInHour":{"type":"double"},
+ "metricCounts":{"type":"long"},
"tableNameString":{
"type":"string",
"min":1
diff --git a/apis/glue/2017-03-31/docs-2.json b/apis/glue/2017-03-31/docs-2.json
index b3cbf71094a..779b1a5ff26 100644
--- a/apis/glue/2017-03-31/docs-2.json
+++ b/apis/glue/2017-03-31/docs-2.json
@@ -202,6 +202,7 @@
"StopTrigger": "Stops a specified trigger.
",
"StopWorkflowRun": "Stops the execution of the specified workflow run.
",
"TagResource": "Adds tags to a resource. A tag is a label you can assign to an Amazon Web Services resource. In Glue, you can tag only certain resources. For information about what resources you can tag, see Amazon Web Services Tags in Glue.
",
+ "TestConnection": "Tests a connection to a service to validate the service credentials that you provide.
You can either provide an existing connection name or a TestConnectionInput
for testing a non-existing connection input. Providing both at the same time will cause an error.
If the action is successful, the service sends back an HTTP 200 response.
",
"UntagResource": "Removes tags from a resource.
",
"UpdateBlueprint": "Updates a registered blueprint.
",
"UpdateClassifier": "Modifies an existing classifier (a GrokClassifier
, an XMLClassifier
, a JsonClassifier
, or a CsvClassifier
, depending on which field is present).
",
@@ -447,7 +448,8 @@
"AuthenticationConfigurationInput": {
"base": "A structure containing the authentication configuration in the CreateConnection request.
",
"refs": {
- "ConnectionInput$AuthenticationConfiguration": "The authentication properties of the connection. Used for a Salesforce connection.
"
+ "ConnectionInput$AuthenticationConfiguration": "The authentication properties of the connection. Used for a Salesforce connection.
",
+ "TestConnectionInput$AuthenticationConfiguration": "A structure containing the authentication configuration in the TestConnection request. Required for a connection to Salesforce using OAuth authentication.
"
}
},
"AuthenticationType": {
@@ -1546,6 +1548,12 @@
"UpdateSourceControlFromJobRequest$CommitId": "A commit ID for a commit in the remote repository.
"
}
},
+ "CompactionMetrics": {
+ "base": "A structure that contains compaction metrics for the optimizer run.
",
+ "refs": {
+ "TableOptimizerRun$compactionMetrics": "A CompactionMetrics
object containing metrics for the optimizer run.
"
+ }
+ },
"Comparator": {
"base": null,
"refs": {
@@ -1682,7 +1690,8 @@
"base": null,
"refs": {
"Connection$ConnectionProperties": "These key-value pairs define parameters for the connection:
-
HOST
- The host URI: either the fully qualified domain name (FQDN) or the IPv4 address of the database host.
-
PORT
- The port number, between 1024 and 65535, of the port on which the database host is listening for database connections.
-
USER_NAME
- The name under which to log in to the database. The value string for USER_NAME
is \"USERNAME
\".
-
PASSWORD
- A password, if one is used, for the user name.
-
ENCRYPTED_PASSWORD
- When you enable connection password protection by setting ConnectionPasswordEncryption
in the Data Catalog encryption settings, this field stores the encrypted password.
-
JDBC_DRIVER_JAR_URI
- The Amazon Simple Storage Service (Amazon S3) path of the JAR file that contains the JDBC driver to use.
-
JDBC_DRIVER_CLASS_NAME
- The class name of the JDBC driver to use.
-
JDBC_ENGINE
- The name of the JDBC engine to use.
-
JDBC_ENGINE_VERSION
- The version of the JDBC engine to use.
-
CONFIG_FILES
- (Reserved for future use.)
-
INSTANCE_ID
- The instance ID to use.
-
JDBC_CONNECTION_URL
- The URL for connecting to a JDBC data source.
-
JDBC_ENFORCE_SSL
- A Boolean string (true, false) specifying whether Secure Sockets Layer (SSL) with hostname matching is enforced for the JDBC connection on the client. The default is false.
-
CUSTOM_JDBC_CERT
- An Amazon S3 location specifying the customer's root certificate. Glue uses this root certificate to validate the customer’s certificate when connecting to the customer database. Glue only handles X.509 certificates. The certificate provided must be DER-encoded and supplied in Base64 encoding PEM format.
-
SKIP_CUSTOM_JDBC_CERT_VALIDATION
- By default, this is false
. Glue validates the Signature algorithm and Subject Public Key Algorithm for the customer certificate. The only permitted algorithms for the Signature algorithm are SHA256withRSA, SHA384withRSA or SHA512withRSA. For the Subject Public Key Algorithm, the key length must be at least 2048. You can set the value of this property to true
to skip Glue’s validation of the customer certificate.
-
CUSTOM_JDBC_CERT_STRING
- A custom JDBC certificate string which is used for domain match or distinguished name match to prevent a man-in-the-middle attack. In Oracle database, this is used as the SSL_SERVER_CERT_DN
; in Microsoft SQL Server, this is used as the hostNameInCertificate
.
-
CONNECTION_URL
- The URL for connecting to a general (non-JDBC) data source.
-
SECRET_ID
- The secret ID used for the secret manager of credentials.
-
CONNECTOR_URL
- The connector URL for a MARKETPLACE or CUSTOM connection.
-
CONNECTOR_TYPE
- The connector type for a MARKETPLACE or CUSTOM connection.
-
CONNECTOR_CLASS_NAME
- The connector class name for a MARKETPLACE or CUSTOM connection.
-
KAFKA_BOOTSTRAP_SERVERS
- A comma-separated list of host and port pairs that are the addresses of the Apache Kafka brokers in a Kafka cluster to which a Kafka client will connect to and bootstrap itself.
-
KAFKA_SSL_ENABLED
- Whether to enable or disable SSL on an Apache Kafka connection. Default value is \"true\".
-
KAFKA_CUSTOM_CERT
- The Amazon S3 URL for the private CA cert file (.pem format). The default is an empty string.
-
KAFKA_SKIP_CUSTOM_CERT_VALIDATION
- Whether to skip the validation of the CA cert file or not. Glue validates for three algorithms: SHA256withRSA, SHA384withRSA and SHA512withRSA. Default value is \"false\".
-
KAFKA_CLIENT_KEYSTORE
- The Amazon S3 location of the client keystore file for Kafka client side authentication (Optional).
-
KAFKA_CLIENT_KEYSTORE_PASSWORD
- The password to access the provided keystore (Optional).
-
KAFKA_CLIENT_KEY_PASSWORD
- A keystore can consist of multiple keys, so this is the password to access the client key to be used with the Kafka server side key (Optional).
-
ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD
- The encrypted version of the Kafka client keystore password (if the user has the Glue encrypt passwords setting selected).
-
ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD
- The encrypted version of the Kafka client key password (if the user has the Glue encrypt passwords setting selected).
-
KAFKA_SASL_MECHANISM
- \"SCRAM-SHA-512\"
, \"GSSAPI\"
, \"AWS_MSK_IAM\"
, or \"PLAIN\"
. These are the supported SASL Mechanisms.
-
KAFKA_SASL_PLAIN_USERNAME
- A plaintext username used to authenticate with the \"PLAIN\" mechanism.
-
KAFKA_SASL_PLAIN_PASSWORD
- A plaintext password used to authenticate with the \"PLAIN\" mechanism.
-
ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD
- The encrypted version of the Kafka SASL PLAIN password (if the user has the Glue encrypt passwords setting selected).
-
KAFKA_SASL_SCRAM_USERNAME
- A plaintext username used to authenticate with the \"SCRAM-SHA-512\" mechanism.
-
KAFKA_SASL_SCRAM_PASSWORD
- A plaintext password used to authenticate with the \"SCRAM-SHA-512\" mechanism.
-
ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD
- The encrypted version of the Kafka SASL SCRAM password (if the user has the Glue encrypt passwords setting selected).
-
KAFKA_SASL_SCRAM_SECRETS_ARN
- The Amazon Resource Name of a secret in Amazon Web Services Secrets Manager.
-
KAFKA_SASL_GSSAPI_KEYTAB
- The S3 location of a Kerberos keytab
file. A keytab stores long-term keys for one or more principals. For more information, see MIT Kerberos Documentation: Keytab.
-
KAFKA_SASL_GSSAPI_KRB5_CONF
- The S3 location of a Kerberos krb5.conf
file. A krb5.conf stores Kerberos configuration information, such as the location of the KDC server. For more information, see MIT Kerberos Documentation: krb5.conf.
-
KAFKA_SASL_GSSAPI_SERVICE
- The Kerberos service name, as set with sasl.kerberos.service.name
in your Kafka Configuration.
-
KAFKA_SASL_GSSAPI_PRINCIPAL
- The name of the Kerberos princial used by Glue. For more information, see Kafka Documentation: Configuring Kafka Brokers.
-
ROLE_ARN
- The role to be used for running queries.
-
REGION
- The Amazon Web Services Region where queries will be run.
-
WORKGROUP_NAME
- The name of an Amazon Redshift serverless workgroup or Amazon Athena workgroup in which queries will run.
-
CLUSTER_IDENTIFIER
- The cluster identifier of an Amazon Redshift cluster in which queries will run.
-
DATABASE
- The Amazon Redshift database that you are connecting to.
",
- "ConnectionInput$ConnectionProperties": "These key-value pairs define parameters for the connection.
"
+ "ConnectionInput$ConnectionProperties": "These key-value pairs define parameters for the connection.
",
+ "TestConnectionInput$ConnectionProperties": "The key-value pairs that define parameters for the connection.
JDBC connections use the following connection properties:
-
Required: All of (HOST
, PORT
, JDBC_ENGINE
) or JDBC_CONNECTION_URL
.
-
Required: All of (USERNAME
, PASSWORD
) or SECRET_ID
.
-
Optional: JDBC_ENFORCE_SSL
, CUSTOM_JDBC_CERT
, CUSTOM_JDBC_CERT_STRING
, SKIP_CUSTOM_JDBC_CERT_VALIDATION
. These parameters are used to configure SSL with JDBC.
SALESFORCE connections require the AuthenticationConfiguration
member to be configured.
"
}
},
"ConnectionPropertyKey": {
@@ -1703,7 +1712,8 @@
"refs": {
"Connection$ConnectionType": "The type of the connection. Currently, SFTP is not supported.
",
"ConnectionInput$ConnectionType": "The type of the connection. Currently, these types are supported:
-
JDBC
- Designates a connection to a database through Java Database Connectivity (JDBC).
JDBC
Connections use the following ConnectionParameters.
-
Required: All of (HOST
, PORT
, JDBC_ENGINE
) or JDBC_CONNECTION_URL
.
-
Required: All of (USERNAME
, PASSWORD
) or SECRET_ID
.
-
Optional: JDBC_ENFORCE_SSL
, CUSTOM_JDBC_CERT
, CUSTOM_JDBC_CERT_STRING
, SKIP_CUSTOM_JDBC_CERT_VALIDATION
. These parameters are used to configure SSL with JDBC.
-
KAFKA
- Designates a connection to an Apache Kafka streaming platform.
KAFKA
Connections use the following ConnectionParameters.
-
Required: KAFKA_BOOTSTRAP_SERVERS
.
-
Optional: KAFKA_SSL_ENABLED
, KAFKA_CUSTOM_CERT
, KAFKA_SKIP_CUSTOM_CERT_VALIDATION
. These parameters are used to configure SSL with KAFKA
.
-
Optional: KAFKA_CLIENT_KEYSTORE
, KAFKA_CLIENT_KEYSTORE_PASSWORD
, KAFKA_CLIENT_KEY_PASSWORD
, ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD
, ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD
. These parameters are used to configure TLS client configuration with SSL in KAFKA
.
-
Optional: KAFKA_SASL_MECHANISM
. Can be specified as SCRAM-SHA-512
, GSSAPI
, or AWS_MSK_IAM
.
-
Optional: KAFKA_SASL_SCRAM_USERNAME
, KAFKA_SASL_SCRAM_PASSWORD
, ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD
. These parameters are used to configure SASL/SCRAM-SHA-512 authentication with KAFKA
.
-
Optional: KAFKA_SASL_GSSAPI_KEYTAB
, KAFKA_SASL_GSSAPI_KRB5_CONF
, KAFKA_SASL_GSSAPI_SERVICE
, KAFKA_SASL_GSSAPI_PRINCIPAL
. These parameters are used to configure SASL/GSSAPI authentication with KAFKA
.
-
MONGODB
- Designates a connection to a MongoDB document database.
MONGODB
Connections use the following ConnectionParameters.
-
SALESFORCE
- Designates a connection to Salesforce using OAuth authencation.
-
VIEW_VALIDATION_REDSHIFT
- Designates a connection used for view validation by Amazon Redshift.
-
VIEW_VALIDATION_ATHENA
- Designates a connection used for view validation by Amazon Athena.
-
NETWORK
- Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).
NETWORK
Connections do not require ConnectionParameters. Instead, provide a PhysicalConnectionRequirements.
-
MARKETPLACE
- Uses configuration settings contained in a connector purchased from Amazon Web Services Marketplace to read from and write to data stores that are not natively supported by Glue.
MARKETPLACE
Connections use the following ConnectionParameters.
-
Required: CONNECTOR_TYPE
, CONNECTOR_URL
, CONNECTOR_CLASS_NAME
, CONNECTION_URL
.
-
Required for JDBC
CONNECTOR_TYPE
connections: All of (USERNAME
, PASSWORD
) or SECRET_ID
.
-
CUSTOM
- Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by Glue.
SFTP
is not supported.
For more information about how optional ConnectionProperties are used to configure features in Glue, consult Glue connection properties.
For more information about how optional ConnectionProperties are used to configure features in Glue Studio, consult Using connectors and connections.
",
- "GetConnectionsFilter$ConnectionType": "The type of connections to return. Currently, SFTP is not supported.
"
+ "GetConnectionsFilter$ConnectionType": "The type of connections to return. Currently, SFTP is not supported.
",
+ "TestConnectionInput$ConnectionType": "The type of connection to test. This operation is only available for the JDBC
or SALESFORCE
connection types.
"
}
},
"ConnectionsList": {
@@ -4900,12 +4910,42 @@
"EncryptionAtRest$CatalogEncryptionServiceRole": "The role that Glue assumes to encrypt and decrypt the Data Catalog objects on the caller's behalf.
"
}
},
+ "IcebergCompactionMetrics": {
+ "base": "Compaction metrics for Iceberg for the optimizer run.
",
+ "refs": {
+ "CompactionMetrics$IcebergMetrics": "A structure containing the Iceberg compaction metrics for the optimizer run.
"
+ }
+ },
"IcebergInput": {
"base": "A structure that defines an Apache Iceberg metadata table to create in the catalog.
",
"refs": {
"OpenTableFormatInput$IcebergInput": "Specifies an IcebergInput
structure that defines an Apache Iceberg metadata table.
"
}
},
+ "IcebergOrphanFileDeletionConfiguration": {
+ "base": "The configuration for an Iceberg orphan file deletion optimizer.
",
+ "refs": {
+ "OrphanFileDeletionConfiguration$icebergConfiguration": "The configuration for an Iceberg orphan file deletion optimizer.
"
+ }
+ },
+ "IcebergOrphanFileDeletionMetrics": {
+ "base": "Orphan file deletion metrics for Iceberg for the optimizer run.
",
+ "refs": {
+ "OrphanFileDeletionMetrics$IcebergMetrics": "A structure containing the Iceberg orphan file deletion metrics for the optimizer run.
"
+ }
+ },
+ "IcebergRetentionConfiguration": {
+ "base": "The configuration for an Iceberg snapshot retention optimizer.
",
+ "refs": {
+ "RetentionConfiguration$icebergConfiguration": "The configuration for an Iceberg snapshot retention optimizer.
"
+ }
+ },
+ "IcebergRetentionMetrics": {
+ "base": "Snapshot retention metrics for Iceberg for the optimizer run.
",
+ "refs": {
+ "RetentionMetrics$IcebergMetrics": "A structure containing the Iceberg retention metrics for the optimizer run.
"
+ }
+ },
"IcebergTarget": {
"base": "Specifies an Apache Iceberg data source where Iceberg tables are stored in Amazon S3.
",
"refs": {
@@ -5863,6 +5903,7 @@
"FederationSourceException$Message": "The message describing the problem.
",
"FederationSourceRetryableException$Message": "A message describing the problem.
",
"GlueEncryptionException$Message": "The message describing the problem.
",
+ "IcebergOrphanFileDeletionConfiguration$location": "Specifies a directory in which to look for files (defaults to the table's location). You may choose a sub-directory rather than the top-level table location.
",
"IdempotentParameterMismatchException$Message": "A message describing the problem.
",
"IllegalBlueprintStateException$Message": "A message describing the problem.
",
"IllegalSessionStateException$Message": "A message describing the problem.
",
@@ -5885,6 +5926,7 @@
"SchedulerRunningException$Message": "A message describing the problem.
",
"SchedulerTransitioningException$Message": "A message describing the problem.
",
"TableOptimizerRun$error": "An error that occured during the optimizer run.
",
+ "ThrottlingException$Message": "A message describing the problem.
",
"ValidationException$Message": "A message describing the problem.
",
"VersionMismatchException$Message": "A message describing the problem.
"
}
@@ -6301,6 +6343,7 @@
"TableStatus$RequestedBy": "The ARN of the user who requested the asynchronous change.
",
"TableStatus$UpdatedBy": "The ARN of the user to last manually alter the asynchronous change (requesting cancellation, etc).
",
"TableVersionError$TableName": "The name of the table in question.
",
+ "TestConnectionRequest$ConnectionName": "Optional. The name of the connection to test. If only name is provided, the operation will get the connection and use that for testing.
",
"TransformEncryption$TaskRunSecurityConfigurationName": "The name of the security configuration.
",
"TransformFilterCriteria$Name": "A unique transform name that is used to filter the machine learning transforms.
",
"Trigger$Name": "The name of the trigger.
",
@@ -6609,6 +6652,7 @@
"GetWorkflowRequest$IncludeGraph": "Specifies whether to include a graph when returning the workflow resource metadata.
",
"GetWorkflowRunRequest$IncludeGraph": "Specifies whether to include the workflow graph in response or not.
",
"GetWorkflowRunsRequest$IncludeGraph": "Specifies whether to include the workflow graph in response or not.
",
+ "IcebergRetentionConfiguration$cleanExpiredFiles": "If set to false, snapshots are only deleted from table metadata, and the underlying data and metadata files are not deleted.
",
"InvalidInputException$FromFederationSource": "Indicates whether or not the exception relates to a federated source.
",
"Job$JobRunQueuingEnabled": "Specifies whether job run queuing is enabled for the job runs for this job.
A value of true means job run queuing is enabled for the job runs. If false or not populated, the job runs will not be considered for queueing.
If this field does not match the value set in the job run, then the value from the job run field will be used.
",
"JobRun$JobRunQueuingEnabled": "Specifies whether job run queuing is enabled for the job run.
A value of true means job run queuing is enabled for the job run. If false or not populated, the job run will not be considered for queueing.
",
@@ -6617,7 +6661,7 @@
"MongoDBTarget$ScanAll": "Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true
means to scan all records, while a value of false
means to sample the records. If no value is specified, the value defaults to true
.
",
"StartJobRunRequest$JobRunQueuingEnabled": "Specifies whether job run queuing is enabled for the job run.
A value of true means job run queuing is enabled for the job run. If false or not populated, the job run will not be considered for queueing.
",
"Table$IsMultiDialectView": "Specifies whether the view supports the SQL dialects of one or more different query engines and can therefore be read by those engines.
",
- "TableOptimizerConfiguration$enabled": "Whether table optimization is enabled.
",
+ "TableOptimizerConfiguration$enabled": "Whether table optimization is enabled.
",
"UpdateCsvClassifierRequest$DisableValueTrimming": "Specifies not to trim values before identifying the type of column values. The default value is true.
",
"UpdateCsvClassifierRequest$AllowSingleColumn": "Enables the processing of files that contain only one column.
",
"UpdateCsvClassifierRequest$CustomDatatypeConfigured": "Specifies the configuration of custom datatypes.
",
@@ -6672,6 +6716,9 @@
"GetMLTransformResponse$NumberOfWorkers": "The number of workers of a defined workerType
that are allocated when this task runs.
",
"GetMLTransformResponse$MaxRetries": "The maximum number of times to retry a task for this transform after a task run fails.
",
"HudiTarget$MaximumTraversalDepth": "The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Hudi metadata folder in your Amazon S3 path. Used to limit the crawler run time.
",
+ "IcebergOrphanFileDeletionConfiguration$orphanFileRetentionPeriodInDays": "The number of days that orphan files should be retained before file deletion. If an input is not provided, the default value 3 will be used.
",
+ "IcebergRetentionConfiguration$snapshotRetentionPeriodInDays": "The number of days to retain the Iceberg snapshots. If an input is not provided, the corresponding Iceberg table configuration field will be used or if not present, the default value 5 will be used.
",
+ "IcebergRetentionConfiguration$numberOfSnapshotsToRetain": "The number of Iceberg snapshots to retain within the retention period. If an input is not provided, the corresponding Iceberg table configuration field will be used or if not present, the default value 1 will be used.
",
"IcebergTarget$MaximumTraversalDepth": "The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Iceberg metadata folder in your Amazon S3 path. Used to limit the crawler run time.
",
"Job$NumberOfWorkers": "The number of workers of a defined workerType
that are allocated when a job runs.
",
"JobRun$NumberOfWorkers": "The number of workers of a defined workerType
that are allocated when a job runs.
",
@@ -6936,6 +6983,18 @@
"StorageDescriptor$SortColumns": "A list specifying the sort order of each bucket in the table.
"
}
},
+ "OrphanFileDeletionConfiguration": {
+ "base": "The configuration for an orphan file deletion optimizer.
",
+ "refs": {
+ "TableOptimizerConfiguration$orphanFileDeletionConfiguration": "The configuration for an orphan file deletion optimizer.
"
+ }
+ },
+ "OrphanFileDeletionMetrics": {
+ "base": "A structure that contains orphan file deletion metrics for the optimizer run.
",
+ "refs": {
+ "TableOptimizerRun$orphanFileDeletionMetrics": "An OrphanFileDeletionMetrics
object containing metrics for the optimizer run.
"
+ }
+ },
"OtherMetadataValueList": {
"base": null,
"refs": {
@@ -7649,6 +7708,18 @@
"refs": {
}
},
+ "RetentionConfiguration": {
+ "base": "The configuration for a snapshot retention optimizer.
",
+ "refs": {
+ "TableOptimizerConfiguration$retentionConfiguration": "The configuration for a snapshot retention optimizer.
"
+ }
+ },
+ "RetentionMetrics": {
+ "base": "A structure that contains retention metrics for the optimizer run.
",
+ "refs": {
+ "TableOptimizerRun$retentionMetrics": "A RetentionMetrics
object containing metrics for the optimizer run.
"
+ }
+ },
"Role": {
"base": null,
"refs": {
@@ -7713,9 +7784,9 @@
}
},
"RunMetrics": {
- "base": "Metrics for the optimizer run.
",
+ "base": "Metrics for the optimizer run.
This structure is deprecated. See the individual metric members for compaction, retention, and orphan file deletion.
",
"refs": {
- "TableOptimizerRun$metrics": "A RunMetrics
object containing metrics for the optimizer run.
"
+ "TableOptimizerRun$metrics": "A RunMetrics
object containing metrics for the optimizer run.
This member is deprecated. See the individual metric members for compaction, retention, and orphan file deletion.
"
}
},
"RunStatementRequest": {
@@ -8746,7 +8817,7 @@
"TableOptimizer": {
"base": "Contains details about an optimizer associated with a table.
",
"refs": {
- "BatchTableOptimizer$tableOptimizer": "A TableOptimizer
object that contains details on the configuration and last run of a table optimzer.
",
+ "BatchTableOptimizer$tableOptimizer": "A TableOptimizer
object that contains details on the configuration and last run of a table optimizer.
",
"GetTableOptimizerResponse$TableOptimizer": "The optimizer associated with the specified table.
"
}
},
@@ -8793,7 +8864,7 @@
"DeleteTableOptimizerRequest$Type": "The type of table optimizer.
",
"GetTableOptimizerRequest$Type": "The type of table optimizer.
",
"ListTableOptimizerRunsRequest$Type": "The type of table optimizer. Currently, the only valid value is compaction
.
",
- "TableOptimizer$type": "The type of table optimizer. Currently, the only valid value is compaction
.
",
+ "TableOptimizer$type": "The type of table optimizer. The valid values are:
-
compaction
: for managing compaction with a table optimizer.
-
retention
: for managing the retention of snapshot with a table optimizer.
-
orphan_file_deletion
: for managing the deletion of orphan files with a table optimizer.
",
"UpdateTableOptimizerRequest$Type": "The type of table optimizer. Currently, the only valid value is compaction
.
"
}
},
@@ -8970,6 +9041,27 @@
"TaskRunProperties$TaskType": "The type of task run.
"
}
},
+ "TestConnectionInput": {
+ "base": "A structure that is used to specify testing a connection to a service.
",
+ "refs": {
+ "TestConnectionRequest$TestConnectionInput": "A structure that is used to specify testing a connection to a service.
"
+ }
+ },
+ "TestConnectionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "TestConnectionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ThrottlingException": {
+ "base": "The throttling threshhold was exceeded.
",
+ "refs": {
+ }
+ },
"Timeout": {
"base": null,
"refs": {
@@ -10047,6 +10139,33 @@
"StatisticSummary$DoubleValue": "The value of the statistic.
"
}
},
+ "dpuCounts": {
+ "base": null,
+ "refs": {
+ "IcebergCompactionMetrics$NumberOfDpus": "The number of DPU hours consumed by the job.
",
+ "IcebergOrphanFileDeletionMetrics$NumberOfDpus": "The number of DPU hours consumed by the job.
",
+ "IcebergRetentionMetrics$NumberOfDpus": "The number of DPU hours consumed by the job.
"
+ }
+ },
+ "dpuDurationInHour": {
+ "base": null,
+ "refs": {
+ "IcebergCompactionMetrics$JobDurationInHour": "The duration of the job in hours.
",
+ "IcebergOrphanFileDeletionMetrics$JobDurationInHour": "The duration of the job in hours.
",
+ "IcebergRetentionMetrics$JobDurationInHour": "The duration of the job in hours.
"
+ }
+ },
+ "metricCounts": {
+ "base": null,
+ "refs": {
+ "IcebergCompactionMetrics$NumberOfBytesCompacted": "The number of bytes removed by the compaction job run.
",
+ "IcebergCompactionMetrics$NumberOfFilesCompacted": "The number of files removed by the compaction job run.
",
+ "IcebergOrphanFileDeletionMetrics$NumberOfOrphanFilesDeleted": "The number of orphan files deleted by the orphan file deletion job run.
",
+ "IcebergRetentionMetrics$NumberOfDataFilesDeleted": "The number of data files deleted by the retention job run.
",
+ "IcebergRetentionMetrics$NumberOfManifestFilesDeleted": "The number of manifest files deleted by the retention job run.
",
+ "IcebergRetentionMetrics$NumberOfManifestListsDeleted": "The number of manifest lists deleted by the retention job run.
"
+ }
+ },
"tableNameString": {
"base": null,
"refs": {
diff --git a/apis/glue/2017-03-31/paginators-1.json b/apis/glue/2017-03-31/paginators-1.json
index 18913544fea..937a8124841 100644
--- a/apis/glue/2017-03-31/paginators-1.json
+++ b/apis/glue/2017-03-31/paginators-1.json
@@ -199,7 +199,8 @@
"ListTableOptimizerRuns": {
"input_token": "NextToken",
"limit_key": "MaxResults",
- "output_token": "NextToken"
+ "output_token": "NextToken",
+ "result_key": "TableOptimizerRuns"
},
"ListTriggers": {
"input_token": "NextToken",
diff --git a/apis/guardduty/2017-11-28/api-2.json b/apis/guardduty/2017-11-28/api-2.json
index 5b3a8254e5b..7bbcca88e84 100644
--- a/apis/guardduty/2017-11-28/api-2.json
+++ b/apis/guardduty/2017-11-28/api-2.json
@@ -1243,6 +1243,23 @@
}
}
},
+ "AccountStatistics":{
+ "type":"structure",
+ "members":{
+ "AccountId":{
+ "shape":"String",
+ "locationName":"accountId"
+ },
+ "LastGeneratedAt":{
+ "shape":"Timestamp",
+ "locationName":"lastGeneratedAt"
+ },
+ "TotalFindings":{
+ "shape":"Integer",
+ "locationName":"totalFindings"
+ }
+ }
+ },
"Action":{
"type":"structure",
"members":{
@@ -2474,6 +2491,27 @@
}
}
},
+ "DateStatistics":{
+ "type":"structure",
+ "members":{
+ "Date":{
+ "shape":"Timestamp",
+ "locationName":"date"
+ },
+ "LastGeneratedAt":{
+ "shape":"Timestamp",
+ "locationName":"lastGeneratedAt"
+ },
+ "Severity":{
+ "shape":"Double",
+ "locationName":"severity"
+ },
+ "TotalFindings":{
+ "shape":"Integer",
+ "locationName":"totalFindings"
+ }
+ }
+ },
"DeclineInvitationsRequest":{
"type":"structure",
"required":["AccountIds"],
@@ -3265,6 +3303,10 @@
"Group":{
"shape":"String",
"locationName":"group"
+ },
+ "LaunchType":{
+ "shape":"String",
+ "locationName":"launchType"
}
}
},
@@ -3569,7 +3611,29 @@
"members":{
"CountBySeverity":{
"shape":"CountBySeverity",
+ "deprecated":true,
+ "deprecatedMessage":"This parameter is deprecated. Please set GroupBy to 'SEVERITY' to return GroupedBySeverity instead.",
"locationName":"countBySeverity"
+ },
+ "GroupedByAccount":{
+ "shape":"GroupedByAccount",
+ "locationName":"groupedByAccount"
+ },
+ "GroupedByDate":{
+ "shape":"GroupedByDate",
+ "locationName":"groupedByDate"
+ },
+ "GroupedByFindingType":{
+ "shape":"GroupedByFindingType",
+ "locationName":"groupedByFindingType"
+ },
+ "GroupedByResource":{
+ "shape":"GroupedByResource",
+ "locationName":"groupedByResource"
+ },
+ "GroupedBySeverity":{
+ "shape":"GroupedBySeverity",
+ "locationName":"groupedBySeverity"
}
}
},
@@ -3578,6 +3642,23 @@
"max":50,
"min":1
},
+ "FindingTypeStatistics":{
+ "type":"structure",
+ "members":{
+ "FindingType":{
+ "shape":"String",
+ "locationName":"findingType"
+ },
+ "LastGeneratedAt":{
+ "shape":"Timestamp",
+ "locationName":"lastGeneratedAt"
+ },
+ "TotalFindings":{
+ "shape":"Integer",
+ "locationName":"totalFindings"
+ }
+ }
+ },
"FindingTypes":{
"type":"list",
"member":{"shape":"FindingType"},
@@ -3843,10 +3924,7 @@
},
"GetFindingsStatisticsRequest":{
"type":"structure",
- "required":[
- "DetectorId",
- "FindingStatisticTypes"
- ],
+ "required":["DetectorId"],
"members":{
"DetectorId":{
"shape":"DetectorId",
@@ -3855,11 +3933,25 @@
},
"FindingStatisticTypes":{
"shape":"FindingStatisticTypes",
+ "deprecated":true,
+ "deprecatedMessage":"This parameter is deprecated, please use GroupBy instead",
"locationName":"findingStatisticTypes"
},
"FindingCriteria":{
"shape":"FindingCriteria",
"locationName":"findingCriteria"
+ },
+ "GroupBy":{
+ "shape":"GroupByType",
+ "locationName":"groupBy"
+ },
+ "OrderBy":{
+ "shape":"OrderBy",
+ "locationName":"orderBy"
+ },
+ "MaxResults":{
+ "shape":"MaxResults100",
+ "locationName":"maxResults"
}
}
},
@@ -3870,6 +3962,10 @@
"FindingStatistics":{
"shape":"FindingStatistics",
"locationName":"findingStatistics"
+ },
+ "NextToken":{
+ "shape":"String",
+ "locationName":"nextToken"
}
}
},
@@ -4239,6 +4335,36 @@
}
}
},
+ "GroupByType":{
+ "type":"string",
+ "enum":[
+ "ACCOUNT",
+ "DATE",
+ "FINDING_TYPE",
+ "RESOURCE",
+ "SEVERITY"
+ ]
+ },
+ "GroupedByAccount":{
+ "type":"list",
+ "member":{"shape":"AccountStatistics"}
+ },
+ "GroupedByDate":{
+ "type":"list",
+ "member":{"shape":"DateStatistics"}
+ },
+ "GroupedByFindingType":{
+ "type":"list",
+ "member":{"shape":"FindingTypeStatistics"}
+ },
+ "GroupedByResource":{
+ "type":"list",
+ "member":{"shape":"ResourceStatistics"}
+ },
+ "GroupedBySeverity":{
+ "type":"list",
+ "member":{"shape":"SeverityStatistics"}
+ },
"Groups":{
"type":"list",
"member":{"shape":"String"}
@@ -4517,7 +4643,7 @@
},
"SourceIps":{
"shape":"SourceIps",
- "locationName":"sourceIps"
+ "locationName":"sourceIPs"
},
"UserAgent":{
"shape":"String",
@@ -5430,6 +5556,11 @@
"max":50,
"min":1
},
+ "MaxResults100":{
+ "type":"integer",
+ "max":100,
+ "min":1
+ },
"Member":{
"type":"structure",
"required":[
@@ -6456,6 +6587,31 @@
"error":{"httpStatusCode":404},
"exception":true
},
+ "ResourceStatistics":{
+ "type":"structure",
+ "members":{
+ "AccountId":{
+ "shape":"String",
+ "locationName":"accountId"
+ },
+ "LastGeneratedAt":{
+ "shape":"Timestamp",
+ "locationName":"lastGeneratedAt"
+ },
+ "ResourceId":{
+ "shape":"String",
+ "locationName":"resourceId"
+ },
+ "ResourceType":{
+ "shape":"String",
+ "locationName":"resourceType"
+ },
+ "TotalFindings":{
+ "shape":"Integer",
+ "locationName":"totalFindings"
+ }
+ }
+ },
"ResourceType":{
"type":"string",
"enum":[
@@ -7045,6 +7201,23 @@
"type":"list",
"member":{"shape":"String"}
},
+ "SeverityStatistics":{
+ "type":"structure",
+ "members":{
+ "LastGeneratedAt":{
+ "shape":"Timestamp",
+ "locationName":"lastGeneratedAt"
+ },
+ "Severity":{
+ "shape":"Double",
+ "locationName":"severity"
+ },
+ "TotalFindings":{
+ "shape":"Integer",
+ "locationName":"totalFindings"
+ }
+ }
+ },
"SortCriteria":{
"type":"structure",
"members":{
diff --git a/apis/guardduty/2017-11-28/docs-2.json b/apis/guardduty/2017-11-28/docs-2.json
index 1d96e74a3d7..cb4dbf185e6 100644
--- a/apis/guardduty/2017-11-28/docs-2.json
+++ b/apis/guardduty/2017-11-28/docs-2.json
@@ -10,7 +10,7 @@
"CreateIPSet": "Creates a new IPSet, which is called a trusted IP list in the console user interface. An IPSet is a list of IP addresses that are trusted for secure communication with Amazon Web Services infrastructure and applications. GuardDuty doesn't generate findings for IP addresses that are included in IPSets. Only users from the administrator account can use this operation.
",
"CreateMalwareProtectionPlan": "Creates a new Malware Protection plan for the protected resource.
When you create a Malware Protection plan, the Amazon Web Services service terms for GuardDuty Malware Protection apply. For more information, see Amazon Web Services service terms for GuardDuty Malware Protection.
",
"CreateMembers": "Creates member accounts of the current Amazon Web Services account by specifying a list of Amazon Web Services account IDs. This step is a prerequisite for managing the associated member accounts either by invitation or through an organization.
As a delegated administrator, using CreateMembers
will enable GuardDuty in the added member accounts, with the exception of the organization delegated administrator account. A delegated administrator must enable GuardDuty prior to being added as a member.
When you use CreateMembers as an Organizations delegated administrator, GuardDuty applies your organization's auto-enable settings to the member accounts in this request, irrespective of the accounts being new or existing members. For more information about the existing auto-enable settings for your organization, see DescribeOrganizationConfiguration.
If you disassociate a member account that was added by invitation, the member account details obtained from this API, including the associated email addresses, will be retained. This is done so that the delegated administrator can invoke the InviteMembers API without the need to invoke the CreateMembers API again. To remove the details associated with a member account, the delegated administrator must invoke the DeleteMembers API.
When the member accounts added through Organizations are later disassociated, you (administrator) can't invite them by calling the InviteMembers API. You can create an association with these member accounts again only by calling the CreateMembers API.
",
- "CreatePublishingDestination": "Creates a publishing destination to export findings to. The resource to export findings to must exist before you use this operation.
",
+ "CreatePublishingDestination": "Creates a publishing destination where you can export your GuardDuty findings. Before you start exporting the findings, the destination resource must exist.
",
"CreateSampleFindings": "Generates sample findings of types specified by the list of finding types. If 'NULL' is specified for findingTypes
, the API generates sample findings of all supported finding types.
",
"CreateThreatIntelSet": "Creates a new ThreatIntelSet. ThreatIntelSets consist of known malicious IP addresses. GuardDuty generates findings based on ThreatIntelSets. Only users of the administrator account can use this operation.
",
"DeclineInvitations": "Declines invitations sent to the current member account by Amazon Web Services accounts specified by their account IDs.
",
@@ -32,10 +32,10 @@
"EnableOrganizationAdminAccount": "Designates an Amazon Web Services account within the organization as your GuardDuty delegated administrator. Only the organization's management account can run this API operation.
",
"GetAdministratorAccount": "Provides the details of the GuardDuty administrator account associated with the current GuardDuty member account.
If the organization's management account or a delegated administrator runs this API, it will return success (HTTP 200
) but no content.
",
"GetCoverageStatistics": "Retrieves aggregated statistics for your account. If you are a GuardDuty administrator, you can retrieve the statistics for all the resources associated with the active member accounts in your organization who have enabled Runtime Monitoring and have the GuardDuty security agent running on their resources.
",
- "GetDetector": "Retrieves an Amazon GuardDuty detector specified by the detectorId.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
",
+ "GetDetector": "Retrieves a GuardDuty detector specified by the detectorId.
There might be regional differences because some data sources might not be available in all the Amazon Web Services Regions where GuardDuty is presently supported. For more information, see Regions and endpoints.
",
"GetFilter": "Returns the details of the filter specified by the filter name.
",
"GetFindings": "Describes Amazon GuardDuty findings specified by finding IDs.
",
- "GetFindingsStatistics": "Lists Amazon GuardDuty findings statistics for the specified detector ID.
There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see Regions and endpoints.
",
+ "GetFindingsStatistics": "Lists GuardDuty findings statistics for the specified detector ID.
You must provide either findingStatisticTypes
or groupBy
parameter, and not both. You can use the maxResults
and orderBy
parameters only when using groupBy
.
There might be regional differences because some flags might not be available in all the Regions where GuardDuty is currently supported. For more information, see Regions and endpoints.
",
"GetIPSet": "Retrieves the IPSet specified by the ipSetId
.
",
"GetInvitationsCount": "Returns the count of all GuardDuty membership invitations that were sent to the current member account except the currently accepted invitation.
",
"GetMalwareProtectionPlan": "Retrieves the Malware Protection plan details associated with a Malware Protection plan ID.
",
@@ -163,7 +163,7 @@
"DeleteInvitationsRequest$AccountIds": "A list of account IDs of the Amazon Web Services accounts that sent invitations to the current member account that you want to delete invitations from.
",
"DeleteMembersRequest$AccountIds": "A list of account IDs of the GuardDuty member accounts that you want to delete.
",
"DisassociateMembersRequest$AccountIds": "A list of account IDs of the GuardDuty member accounts that you want to disassociate from the administrator account.
",
- "GetMemberDetectorsRequest$AccountIds": "The account ID of the member account.
",
+ "GetMemberDetectorsRequest$AccountIds": "A list of member account IDs.
",
"GetMembersRequest$AccountIds": "A list of account IDs of the GuardDuty member accounts that you want to describe.
",
"GetRemainingFreeTrialDaysRequest$AccountIds": "A list of account identifiers of the GuardDuty member account.
",
"InviteMembersRequest$AccountIds": "A list of account IDs of the accounts that you want to invite to GuardDuty as members.
",
@@ -179,6 +179,12 @@
"PermissionConfiguration$AccountLevelPermissions": "Contains information about the account level permissions on the S3 bucket.
"
}
},
+ "AccountStatistics": {
+ "base": "Represents a list of map of accounts with the number of findings associated with each account.
",
+ "refs": {
+ "GroupedByAccount$member": null
+ }
+ },
"Action": {
"base": "Contains information about actions.
",
"refs": {
@@ -436,7 +442,7 @@
"CountBySeverity": {
"base": null,
"refs": {
- "FindingStatistics$CountBySeverity": "Represents a map of severity to count statistics for a set of findings.
"
+ "FindingStatistics$CountBySeverity": "Represents a list of map of severity to count statistics for a set of findings.
"
}
},
"Country": {
@@ -472,7 +478,7 @@
"CoverageFilterCriteria": {
"base": "Represents the criteria used in the filter.
",
"refs": {
- "GetCoverageStatisticsRequest$FilterCriteria": "Represents the criteria used to filter the coverage statistics
",
+ "GetCoverageStatisticsRequest$FilterCriteria": "Represents the criteria used to filter the coverage statistics.
",
"ListCoverageRequest$FilterCriteria": "Represents the criteria used to filter the coverage details.
"
}
},
@@ -716,6 +722,12 @@
"AccountFreeTrialInfo$DataSources": "Describes the data source enabled for the GuardDuty member account.
"
}
},
+ "DateStatistics": {
+ "base": "Represents list a map of dates with a count of total findings generated on each date.
",
+ "refs": {
+ "GroupedByDate$member": null
+ }
+ },
"DeclineInvitationsRequest": {
"base": null,
"refs": {
@@ -940,57 +952,57 @@
"ArchiveFindingsRequest$DetectorId": "The ID of the detector that specifies the GuardDuty service whose findings you want to archive.
",
"CoverageResource$DetectorId": "The unique ID of the GuardDuty detector associated with the resource.
",
"CreateDetectorResponse$DetectorId": "The unique ID of the created detector.
",
- "CreateFilterRequest$DetectorId": "The ID of the detector belonging to the GuardDuty account that you want to create a filter for.
",
- "CreateIPSetRequest$DetectorId": "The unique ID of the detector of the GuardDuty account that you want to create an IPSet for.
",
- "CreateMembersRequest$DetectorId": "The unique ID of the detector of the GuardDuty account that you want to associate member accounts with.
",
+ "CreateFilterRequest$DetectorId": "The detector ID associated with the GuardDuty account for which you want to create a filter.
",
+ "CreateIPSetRequest$DetectorId": "The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
",
+ "CreateMembersRequest$DetectorId": "The unique ID of the detector of the GuardDuty account for which you want to associate member accounts.
",
"CreatePublishingDestinationRequest$DetectorId": "The ID of the GuardDuty detector associated with the publishing destination.
",
- "CreateSampleFindingsRequest$DetectorId": "The ID of the detector to create sample findings for.
",
- "CreateThreatIntelSetRequest$DetectorId": "The unique ID of the detector of the GuardDuty account that you want to create a threatIntelSet for.
",
+ "CreateSampleFindingsRequest$DetectorId": "The ID of the detector for which you need to create sample findings.
",
+ "CreateThreatIntelSetRequest$DetectorId": "The unique ID of the detector of the GuardDuty account for which you want to create a ThreatIntelSet
.
",
"DeleteDetectorRequest$DetectorId": "The unique ID of the detector that you want to delete.
",
- "DeleteFilterRequest$DetectorId": "The unique ID of the detector that the filter is associated with.
",
+ "DeleteFilterRequest$DetectorId": "The unique ID of the detector that is associated with the filter.
",
"DeleteIPSetRequest$DetectorId": "The unique ID of the detector associated with the IPSet.
",
"DeleteMembersRequest$DetectorId": "The unique ID of the detector of the GuardDuty account whose members you want to delete.
",
"DeletePublishingDestinationRequest$DetectorId": "The unique ID of the detector associated with the publishing destination to delete.
",
- "DeleteThreatIntelSetRequest$DetectorId": "The unique ID of the detector that the threatIntelSet is associated with.
",
+ "DeleteThreatIntelSetRequest$DetectorId": "The unique ID of the detector that is associated with the threatIntelSet.
",
"DescribeMalwareScansRequest$DetectorId": "The unique ID of the detector that the request is associated with.
",
- "DescribeOrganizationConfigurationRequest$DetectorId": "The ID of the detector to retrieve information about the delegated administrator from.
",
+ "DescribeOrganizationConfigurationRequest$DetectorId": "The detector ID of the delegated administrator for which you need to retrieve the information.
",
"DescribePublishingDestinationRequest$DetectorId": "The unique ID of the detector associated with the publishing destination to retrieve.
",
"DetectorIds$member": null,
"DisassociateFromAdministratorAccountRequest$DetectorId": "The unique ID of the detector of the GuardDuty member account.
",
"DisassociateFromMasterAccountRequest$DetectorId": "The unique ID of the detector of the GuardDuty member account.
",
"DisassociateMembersRequest$DetectorId": "The unique ID of the detector of the GuardDuty account whose members you want to disassociate from the administrator account.
",
"GetAdministratorAccountRequest$DetectorId": "The unique ID of the detector of the GuardDuty member account.
",
- "GetCoverageStatisticsRequest$DetectorId": "The unique ID of the GuardDuty detector associated to the coverage statistics.
",
+ "GetCoverageStatisticsRequest$DetectorId": "The unique ID of the GuardDuty detector.
",
"GetDetectorRequest$DetectorId": "The unique ID of the detector that you want to get.
",
- "GetFilterRequest$DetectorId": "The unique ID of the detector that the filter is associated with.
",
+ "GetFilterRequest$DetectorId": "The unique ID of the detector that is associated with this filter.
",
"GetFindingsRequest$DetectorId": "The ID of the detector that specifies the GuardDuty service whose findings you want to retrieve.
",
- "GetFindingsStatisticsRequest$DetectorId": "The ID of the detector that specifies the GuardDuty service whose findings' statistics you want to retrieve.
",
- "GetIPSetRequest$DetectorId": "The unique ID of the detector that the IPSet is associated with.
",
- "GetMalwareScanSettingsRequest$DetectorId": "The unique ID of the detector that the scan setting is associated with.
",
+ "GetFindingsStatisticsRequest$DetectorId": "The ID of the detector whose findings statistics you want to retrieve.
",
+ "GetIPSetRequest$DetectorId": "The unique ID of the detector that is associated with the IPSet.
",
+ "GetMalwareScanSettingsRequest$DetectorId": "The unique ID of the detector that is associated with this scan.
",
"GetMasterAccountRequest$DetectorId": "The unique ID of the detector of the GuardDuty member account.
",
"GetMemberDetectorsRequest$DetectorId": "The detector ID for the administrator account.
",
"GetMembersRequest$DetectorId": "The unique ID of the detector of the GuardDuty account whose members you want to retrieve.
",
"GetRemainingFreeTrialDaysRequest$DetectorId": "The unique ID of the detector of the GuardDuty member account.
",
- "GetThreatIntelSetRequest$DetectorId": "The unique ID of the detector that the threatIntelSet is associated with.
",
+ "GetThreatIntelSetRequest$DetectorId": "The unique ID of the detector that is associated with the threatIntelSet.
",
"GetUsageStatisticsRequest$DetectorId": "The ID of the detector that specifies the GuardDuty service whose usage statistics you want to retrieve.
",
- "InviteMembersRequest$DetectorId": "The unique ID of the detector of the GuardDuty account that you want to invite members with.
",
+ "InviteMembersRequest$DetectorId": "The unique ID of the detector of the GuardDuty account with which you want to invite members.
",
"ListCoverageRequest$DetectorId": "The unique ID of the detector whose coverage details you want to retrieve.
",
- "ListFiltersRequest$DetectorId": "The unique ID of the detector that the filter is associated with.
",
+ "ListFiltersRequest$DetectorId": "The unique ID of the detector that is associated with the filter.
",
"ListFindingsRequest$DetectorId": "The ID of the detector that specifies the GuardDuty service whose findings you want to list.
",
- "ListIPSetsRequest$DetectorId": "The unique ID of the detector that the IPSet is associated with.
",
- "ListMembersRequest$DetectorId": "The unique ID of the detector the member is associated with.
",
- "ListPublishingDestinationsRequest$DetectorId": "The ID of the detector to retrieve publishing destinations for.
",
- "ListThreatIntelSetsRequest$DetectorId": "The unique ID of the detector that the threatIntelSet is associated with.
",
+ "ListIPSetsRequest$DetectorId": "The unique ID of the detector that is associated with IPSet.
",
+ "ListMembersRequest$DetectorId": "The unique ID of the detector that is associated with the member.
",
+ "ListPublishingDestinationsRequest$DetectorId": "The detector ID for which you want to retrieve the publishing destination.
",
+ "ListThreatIntelSetsRequest$DetectorId": "The unique ID of the detector that is associated with the threatIntelSet.
",
"Member$DetectorId": "The detector ID of the member account.
",
"Scan$DetectorId": "The unique ID of the detector that the request is associated with.
",
- "Scan$AdminDetectorId": "The unique detector ID of the administrator account that the request is associated with. Note that this value will be the same as the one used for DetectorId
if the account is an administrator.
",
+ "Scan$AdminDetectorId": "The unique detector ID of the administrator account that the request is associated with. If the account is an administrator, the AdminDetectorId
will be the same as the one used for DetectorId
.
",
"Service$DetectorId": "The detector ID for the GuardDuty service.
",
"StartMonitoringMembersRequest$DetectorId": "The unique ID of the detector of the GuardDuty administrator account associated with the member accounts to monitor.
",
"StopMonitoringMembersRequest$DetectorId": "The unique ID of the detector associated with the GuardDuty administrator account that is monitoring member accounts.
",
"UnarchiveFindingsRequest$DetectorId": "The ID of the detector associated with the findings to unarchive.
",
"UpdateDetectorRequest$DetectorId": "The unique ID of the detector to update.
",
"UpdateFilterRequest$DetectorId": "The unique ID of the detector that specifies the GuardDuty service where you want to update a filter.
",
- "UpdateFindingsFeedbackRequest$DetectorId": "The ID of the detector associated with the findings to update feedback for.
",
+ "UpdateFindingsFeedbackRequest$DetectorId": "The ID of the detector that is associated with the findings for which you want to update the feedback.
",
"UpdateIPSetRequest$DetectorId": "The detectorID that specifies the GuardDuty service whose IPSet you want to update.
",
"UpdateMalwareScanSettingsRequest$DetectorId": "The unique ID of the detector that specifies the GuardDuty service where you want to update scan settings.
",
"UpdateMemberDetectorsRequest$DetectorId": "The detector ID of the administrator account.
",
@@ -1066,10 +1078,12 @@
"Double": {
"base": null,
"refs": {
+ "DateStatistics$Severity": "The severity of the findings generated on each date.
",
"Finding$Confidence": "The confidence score for the finding.
",
"Finding$Severity": "The severity of the finding.
",
"GeoLocation$Lat": "The latitude information of the remote IP address.
",
- "GeoLocation$Lon": "The longitude information of the remote IP address.
"
+ "GeoLocation$Lon": "The longitude information of the remote IP address.
",
+ "SeverityStatistics$Severity": "The severity level associated with each finding type.
"
}
},
"EbsSnapshotPreservation": {
@@ -1265,7 +1279,7 @@
"CreateFilterRequest$FindingCriteria": "Represents the criteria to be used in the filter for querying findings.
You can only use the following attributes to query findings:
-
accountId
-
id
-
region
-
severity
To filter on the basis of severity, the API and CLI use the following input list for the FindingCriteria condition:
-
Low: [\"1\", \"2\", \"3\"]
-
Medium: [\"4\", \"5\", \"6\"]
-
High: [\"7\", \"8\", \"9\"]
For more information, see Severity levels for GuardDuty findings.
-
type
-
updatedAt
Type: ISO 8601 string format: YYYY-MM-DDTHH:MM:SS.SSSZ or YYYY-MM-DDTHH:MM:SSZ depending on whether the value contains milliseconds.
-
resource.accessKeyDetails.accessKeyId
-
resource.accessKeyDetails.principalId
-
resource.accessKeyDetails.userName
-
resource.accessKeyDetails.userType
-
resource.instanceDetails.iamInstanceProfile.id
-
resource.instanceDetails.imageId
-
resource.instanceDetails.instanceId
-
resource.instanceDetails.tags.key
-
resource.instanceDetails.tags.value
-
resource.instanceDetails.networkInterfaces.ipv6Addresses
-
resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress
-
resource.instanceDetails.networkInterfaces.publicDnsName
-
resource.instanceDetails.networkInterfaces.publicIp
-
resource.instanceDetails.networkInterfaces.securityGroups.groupId
-
resource.instanceDetails.networkInterfaces.securityGroups.groupName
-
resource.instanceDetails.networkInterfaces.subnetId
-
resource.instanceDetails.networkInterfaces.vpcId
-
resource.instanceDetails.outpostArn
-
resource.resourceType
-
resource.s3BucketDetails.publicAccess.effectivePermissions
-
resource.s3BucketDetails.name
-
resource.s3BucketDetails.tags.key
-
resource.s3BucketDetails.tags.value
-
resource.s3BucketDetails.type
-
service.action.actionType
-
service.action.awsApiCallAction.api
-
service.action.awsApiCallAction.callerType
-
service.action.awsApiCallAction.errorCode
-
service.action.awsApiCallAction.remoteIpDetails.city.cityName
-
service.action.awsApiCallAction.remoteIpDetails.country.countryName
-
service.action.awsApiCallAction.remoteIpDetails.ipAddressV4
-
service.action.awsApiCallAction.remoteIpDetails.ipAddressV6
-
service.action.awsApiCallAction.remoteIpDetails.organization.asn
-
service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg
-
service.action.awsApiCallAction.serviceName
-
service.action.dnsRequestAction.domain
-
service.action.dnsRequestAction.domainWithSuffix
-
service.action.networkConnectionAction.blocked
-
service.action.networkConnectionAction.connectionDirection
-
service.action.networkConnectionAction.localPortDetails.port
-
service.action.networkConnectionAction.protocol
-
service.action.networkConnectionAction.remoteIpDetails.city.cityName
-
service.action.networkConnectionAction.remoteIpDetails.country.countryName
-
service.action.networkConnectionAction.remoteIpDetails.ipAddressV4
-
service.action.networkConnectionAction.remoteIpDetails.ipAddressV6
-
service.action.networkConnectionAction.remoteIpDetails.organization.asn
-
service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg
-
service.action.networkConnectionAction.remotePortDetails.port
-
service.action.awsApiCallAction.remoteAccountDetails.affiliated
-
service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV4
-
service.action.kubernetesApiCallAction.remoteIpDetails.ipAddressV6
-
service.action.kubernetesApiCallAction.namespace
-
service.action.kubernetesApiCallAction.remoteIpDetails.organization.asn
-
service.action.kubernetesApiCallAction.requestUri
-
service.action.kubernetesApiCallAction.statusCode
-
service.action.networkConnectionAction.localIpDetails.ipAddressV4
-
service.action.networkConnectionAction.localIpDetails.ipAddressV6
-
service.action.networkConnectionAction.protocol
-
service.action.awsApiCallAction.serviceName
-
service.action.awsApiCallAction.remoteAccountDetails.accountId
-
service.additionalInfo.threatListName
-
service.resourceRole
-
resource.eksClusterDetails.name
-
resource.kubernetesDetails.kubernetesWorkloadDetails.name
-
resource.kubernetesDetails.kubernetesWorkloadDetails.namespace
-
resource.kubernetesDetails.kubernetesUserDetails.username
-
resource.kubernetesDetails.kubernetesWorkloadDetails.containers.image
-
resource.kubernetesDetails.kubernetesWorkloadDetails.containers.imagePrefix
-
service.ebsVolumeScanDetails.scanId
-
service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.name
-
service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.severity
-
service.ebsVolumeScanDetails.scanDetections.threatDetectedByName.threatNames.filePaths.hash
-
resource.ecsClusterDetails.name
-
resource.ecsClusterDetails.taskDetails.containers.image
-
resource.ecsClusterDetails.taskDetails.definitionArn
-
resource.containerDetails.image
-
resource.rdsDbInstanceDetails.dbInstanceIdentifier
-
resource.rdsDbInstanceDetails.dbClusterIdentifier
-
resource.rdsDbInstanceDetails.engine
-
resource.rdsDbUserDetails.user
-
resource.rdsDbInstanceDetails.tags.key
-
resource.rdsDbInstanceDetails.tags.value
-
service.runtimeDetails.process.executableSha256
-
service.runtimeDetails.process.name
-
service.runtimeDetails.process.name
-
resource.lambdaDetails.functionName
-
resource.lambdaDetails.functionArn
-
resource.lambdaDetails.tags.key
-
resource.lambdaDetails.tags.value
",
"GetFilterResponse$FindingCriteria": "Represents the criteria to be used in the filter for querying findings.
",
"GetFindingsStatisticsRequest$FindingCriteria": "Represents the criteria that is used for querying findings.
",
- "ListFindingsRequest$FindingCriteria": "Represents the criteria used for querying findings. Valid values include:
-
JSON field name
-
accountId
-
region
-
confidence
-
id
-
resource.accessKeyDetails.accessKeyId
-
resource.accessKeyDetails.principalId
-
resource.accessKeyDetails.userName
-
resource.accessKeyDetails.userType
-
resource.instanceDetails.iamInstanceProfile.id
-
resource.instanceDetails.imageId
-
resource.instanceDetails.instanceId
-
resource.instanceDetails.networkInterfaces.ipv6Addresses
-
resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress
-
resource.instanceDetails.networkInterfaces.publicDnsName
-
resource.instanceDetails.networkInterfaces.publicIp
-
resource.instanceDetails.networkInterfaces.securityGroups.groupId
-
resource.instanceDetails.networkInterfaces.securityGroups.groupName
-
resource.instanceDetails.networkInterfaces.subnetId
-
resource.instanceDetails.networkInterfaces.vpcId
-
resource.instanceDetails.tags.key
-
resource.instanceDetails.tags.value
-
resource.resourceType
-
service.action.actionType
-
service.action.awsApiCallAction.api
-
service.action.awsApiCallAction.callerType
-
service.action.awsApiCallAction.remoteIpDetails.city.cityName
-
service.action.awsApiCallAction.remoteIpDetails.country.countryName
-
service.action.awsApiCallAction.remoteIpDetails.ipAddressV4
-
service.action.awsApiCallAction.remoteIpDetails.organization.asn
-
service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg
-
service.action.awsApiCallAction.serviceName
-
service.action.dnsRequestAction.domain
-
service.action.dnsRequestAction.domainWithSuffix
-
service.action.networkConnectionAction.blocked
-
service.action.networkConnectionAction.connectionDirection
-
service.action.networkConnectionAction.localPortDetails.port
-
service.action.networkConnectionAction.protocol
-
service.action.networkConnectionAction.remoteIpDetails.country.countryName
-
service.action.networkConnectionAction.remoteIpDetails.ipAddressV4
-
service.action.networkConnectionAction.remoteIpDetails.organization.asn
-
service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg
-
service.action.networkConnectionAction.remotePortDetails.port
-
service.additionalInfo.threatListName
-
service.archived
When this attribute is set to 'true', only archived findings are listed. When it's set to 'false', only unarchived findings are listed. When this attribute is not set, all existing findings are listed.
-
service.resourceRole
-
severity
-
type
-
updatedAt
Type: Timestamp in Unix Epoch millisecond format: 1486685375000
",
+ "ListFindingsRequest$FindingCriteria": "Represents the criteria used for querying findings. Valid values include:
-
JSON field name
-
accountId
-
region
-
confidence
-
id
-
resource.accessKeyDetails.accessKeyId
-
resource.accessKeyDetails.principalId
-
resource.accessKeyDetails.userName
-
resource.accessKeyDetails.userType
-
resource.instanceDetails.iamInstanceProfile.id
-
resource.instanceDetails.imageId
-
resource.instanceDetails.instanceId
-
resource.instanceDetails.networkInterfaces.ipv6Addresses
-
resource.instanceDetails.networkInterfaces.privateIpAddresses.privateIpAddress
-
resource.instanceDetails.networkInterfaces.publicDnsName
-
resource.instanceDetails.networkInterfaces.publicIp
-
resource.instanceDetails.networkInterfaces.securityGroups.groupId
-
resource.instanceDetails.networkInterfaces.securityGroups.groupName
-
resource.instanceDetails.networkInterfaces.subnetId
-
resource.instanceDetails.networkInterfaces.vpcId
-
resource.instanceDetails.tags.key
-
resource.instanceDetails.tags.value
-
resource.resourceType
-
service.action.actionType
-
service.action.awsApiCallAction.api
-
service.action.awsApiCallAction.callerType
-
service.action.awsApiCallAction.remoteIpDetails.city.cityName
-
service.action.awsApiCallAction.remoteIpDetails.country.countryName
-
service.action.awsApiCallAction.remoteIpDetails.ipAddressV4
-
service.action.awsApiCallAction.remoteIpDetails.organization.asn
-
service.action.awsApiCallAction.remoteIpDetails.organization.asnOrg
-
service.action.awsApiCallAction.serviceName
-
service.action.dnsRequestAction.domain
-
service.action.dnsRequestAction.domainWithSuffix
-
service.action.networkConnectionAction.blocked
-
service.action.networkConnectionAction.connectionDirection
-
service.action.networkConnectionAction.localPortDetails.port
-
service.action.networkConnectionAction.protocol
-
service.action.networkConnectionAction.remoteIpDetails.country.countryName
-
service.action.networkConnectionAction.remoteIpDetails.ipAddressV4
-
service.action.networkConnectionAction.remoteIpDetails.organization.asn
-
service.action.networkConnectionAction.remoteIpDetails.organization.asnOrg
-
service.action.networkConnectionAction.remotePortDetails.port
-
service.additionalInfo.threatListName
-
service.archived
When this attribute is set to 'true', only archived findings are listed. When it's set to 'false', only unarchived findings are listed. When this attribute is not set, all existing findings are listed.
-
service.ebsVolumeScanDetails.scanId
-
service.resourceRole
-
severity
-
type
-
updatedAt
Type: Timestamp in Unix Epoch millisecond format: 1486685375000
",
"UpdateFilterRequest$FindingCriteria": "Represents the criteria to be used in the filter for querying findings.
"
}
},
@@ -1318,6 +1332,12 @@
"FindingTypes$member": null
}
},
+ "FindingTypeStatistics": {
+ "base": "Information about each finding type associated with the groupedByFindingType
statistics.
",
+ "refs": {
+ "GroupedByFindingType$member": null
+ }
+ },
"FindingTypes": {
"base": null,
"refs": {
@@ -1531,6 +1551,42 @@
"refs": {
}
},
+ "GroupByType": {
+ "base": null,
+ "refs": {
+ "GetFindingsStatisticsRequest$GroupBy": "Displays the findings statistics grouped by one of the listed valid values.
"
+ }
+ },
+ "GroupedByAccount": {
+ "base": null,
+ "refs": {
+ "FindingStatistics$GroupedByAccount": "Represents a list of map of accounts with a findings count associated with each account.
"
+ }
+ },
+ "GroupedByDate": {
+ "base": null,
+ "refs": {
+ "FindingStatistics$GroupedByDate": "Represents a list of map of dates with a count of total findings generated on each date per severity level.
"
+ }
+ },
+ "GroupedByFindingType": {
+ "base": null,
+ "refs": {
+ "FindingStatistics$GroupedByFindingType": "Represents a list of map of finding types with a count of total findings generated for each type.
Based on the orderBy
parameter, this request returns either the most occurring finding types or the least occurring finding types. If the orderBy
parameter is ASC
, this will represent the least occurring finding types in your account; otherwise, this will represent the most occurring finding types. The default value of orderBy
is DESC
.
"
+ }
+ },
+ "GroupedByResource": {
+ "base": null,
+ "refs": {
+ "FindingStatistics$GroupedByResource": "Represents a list of map of top resources with a count of total findings.
"
+ }
+ },
+ "GroupedBySeverity": {
+ "base": null,
+ "refs": {
+ "FindingStatistics$GroupedBySeverity": "Represents a list of map of total findings for each severity level.
"
+ }
+ },
"Groups": {
"base": null,
"refs": {
@@ -1585,15 +1641,18 @@
"Integer": {
"base": null,
"refs": {
+ "AccountStatistics$TotalFindings": "The total number of findings associated with an account.
",
"Condition$Gt": "Represents a greater than condition to be applied to a single field when querying for findings.
",
"Condition$Gte": "Represents a greater than or equal condition to be applied to a single field when querying for findings.
",
"Condition$Lt": "Represents a less than condition to be applied to a single field when querying for findings.
",
"Condition$Lte": "Represents a less than or equal condition to be applied to a single field when querying for findings.
",
"CountBySeverity$value": null,
"DataSourceFreeTrial$FreeTrialDaysRemaining": "A value that specifies the number of days left to use each enabled data source.
",
+ "DateStatistics$TotalFindings": "The total number of findings that were generated per severity level on each date.
",
"EcsClusterDetails$ActiveServicesCount": "The number of services that are running on the cluster in an ACTIVE state.
",
"EcsClusterDetails$RegisteredContainerInstancesCount": "The number of container instances registered into the cluster.
",
"EcsClusterDetails$RunningTasksCount": "The number of tasks in the cluster that are in the RUNNING state.
",
+ "FindingTypeStatistics$TotalFindings": "The total number of findings associated with generated for each distinct finding type.
",
"FreeTrialFeatureConfigurationResult$FreeTrialDaysRemaining": "The number of the remaining free trial days for the feature.
",
"GetInvitationsCountResponse$InvitationsCount": "The number of received invitations.
",
"HighestSeverityThreatDetails$Count": "Total number of infected files with the highest severity threat detected.
",
@@ -1616,12 +1675,14 @@
"ProcessDetails$UserId": "The unique ID of the user that executed the process.
",
"ProcessDetails$Euid": "The effective user ID of the user that executed the process.
",
"RemotePortDetails$Port": "The port number of the remote connection.
",
+ "ResourceStatistics$TotalFindings": "The total number of findings associated with this resource.
",
"RuntimeContext$IanaProtocolNumber": "Specifies a particular protocol within the address family. Usually there is a single protocol in address families. For example, the address family AF_INET
only has the IP protocol.
",
"ScanThreatName$ItemCount": "Total number of files infected with given threat.
",
"ScannedItemCount$TotalGb": "Total GB of files scanned for malware.
",
"ScannedItemCount$Files": "Number of files scanned.
",
"ScannedItemCount$Volumes": "Total number of scanned volumes.
",
"Service$Count": "The total count of the occurrences of this finding type.
",
+ "SeverityStatistics$TotalFindings": "The total number of findings associated with this severity.
",
"ThreatDetectedByName$ItemCount": "Total number of infected files identified.
",
"ThreatDetectedByName$UniqueThreatNameCount": "Total number of unique threats by name identified, as part of the malware scan.
",
"ThreatsDetectedItemCount$Files": "Total number of infected files.
",
@@ -2093,6 +2154,12 @@
"ListThreatIntelSetsRequest$MaxResults": "You can use this parameter to indicate the maximum number of items that you want in the response. The default value is 50. The maximum value is 50.
"
}
},
+ "MaxResults100": {
+ "base": null,
+ "refs": {
+ "GetFindingsStatisticsRequest$MaxResults": "The maximum number of results to be returned in the response. The default value is 25.
You can use this parameter only with the groupBy
parameter.
"
+ }
+ },
"Member": {
"base": "Contains information about the member account.
",
"refs": {
@@ -2241,6 +2308,7 @@
"base": null,
"refs": {
"CoverageSortCriteria$OrderBy": "The order in which the sorted findings are to be displayed.
",
+ "GetFindingsStatisticsRequest$OrderBy": "Displays the sorted findings in the requested order. The default value of orderBy
is DESC
.
You can use this parameter only with the groupBy
parameter.
",
"SortCriteria$OrderBy": "The order by which the sorted findings are to be displayed.
"
}
},
@@ -2610,6 +2678,12 @@
"refs": {
}
},
+ "ResourceStatistics": {
+ "base": "Information about each resource type associated with the groupedByResource
statistics.
",
+ "refs": {
+ "GroupedByResource$member": null
+ }
+ },
"ResourceType": {
"base": null,
"refs": {
@@ -2824,6 +2898,12 @@
"KubernetesUserDetails$SessionName": "Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.
"
}
},
+ "SeverityStatistics": {
+ "base": "Information about severity level for each finding type.
",
+ "refs": {
+ "GroupedBySeverity$member": null
+ }
+ },
"SortCriteria": {
"base": "Contains information about the criteria used for sorting findings.
",
"refs": {
@@ -2888,6 +2968,7 @@
"AccessKeyDetails$UserName": "The name of the user.
",
"AccessKeyDetails$UserType": "The type of the user.
",
"AccountFreeTrialInfo$AccountId": "The account identifier of the GuardDuty member account.
",
+ "AccountStatistics$AccountId": "The ID of the Amazon Web Services account.
",
"Action$ActionType": "The GuardDuty finding activity type.
",
"AddonDetails$AddonVersion": "Version of the installed EKS add-on.
",
"AddonDetails$AddonStatus": "Status of the installed EKS add-on.
",
@@ -2928,7 +3009,7 @@
"CoverageResource$ResourceId": "The unique ID of the resource.
",
"CoverageResource$Issue": "Represents the reason why a coverage status was UNHEALTHY
for the EKS cluster.
",
"CreateIPSetResponse$IpSetId": "The ID of the IPSet resource.
",
- "CreateMalwareProtectionPlanRequest$Role": "IAM role with permissions required to scan and add tags to the associated protected resource.
",
+ "CreateMalwareProtectionPlanRequest$Role": "Amazon Resource Name (ARN) of the IAM role that has the permissions to scan and add tags to the associated protected resource.
",
"CreateMalwareProtectionPlanResponse$MalwareProtectionPlanId": "A unique identifier associated with the Malware Protection plan resource.
",
"CreatePublishingDestinationResponse$DestinationId": "The ID of the publishing destination that is created.
",
"CreateS3BucketResource$BucketName": "Name of the S3 bucket.
",
@@ -2966,6 +3047,7 @@
"EcsTaskDetails$Version": "The version counter for the task.
",
"EcsTaskDetails$StartedBy": "Contains the tag specified when a task is started.
",
"EcsTaskDetails$Group": "The name of the task group that's associated with the task.
",
+ "EcsTaskDetails$LaunchType": "A capacity on which the task is running. For example, Fargate
and EC2
.
",
"EksClusterDetails$Name": "EKS cluster name.
",
"EksClusterDetails$Arn": "EKS cluster ARN.
",
"EksClusterDetails$VpcId": "The VPC ID to which the EKS cluster is attached.
",
@@ -2983,15 +3065,17 @@
"Finding$SchemaVersion": "The version of the schema used for the finding.
",
"Finding$Title": "The title of the finding.
",
"Finding$UpdatedAt": "The time and date when the finding was last updated.
",
+ "FindingTypeStatistics$FindingType": "Name of the finding type.
",
"FlagsList$member": null,
"GetDetectorResponse$CreatedAt": "The timestamp of when the detector was created.
",
"GetDetectorResponse$ServiceRole": "The GuardDuty service role.
",
"GetDetectorResponse$UpdatedAt": "The last-updated timestamp for the detector.
",
"GetFilterRequest$FilterName": "The name of the filter you want to get.
",
+ "GetFindingsStatisticsResponse$NextToken": "The pagination parameter to be used on the next list operation to retrieve more items.
This parameter is currently not supported.
",
"GetIPSetRequest$IpSetId": "The unique ID of the IPSet to retrieve.
",
"GetMalwareProtectionPlanRequest$MalwareProtectionPlanId": "A unique identifier associated with Malware Protection plan resource.
",
"GetMalwareProtectionPlanResponse$Arn": "Amazon Resource Name (ARN) of the protected resource.
",
- "GetMalwareProtectionPlanResponse$Role": "IAM role that includes the permissions required to scan and add tags to the associated protected resource.
",
+ "GetMalwareProtectionPlanResponse$Role": "Amazon Resource Name (ARN) of the IAM role that includes the permissions to scan and add tags to the associated protected resource.
",
"GetThreatIntelSetRequest$ThreatIntelSetId": "The unique ID of the threatIntelSet that you want to get.
",
"GetUsageStatisticsRequest$Unit": "The currency unit you would like to view your usage statistics in. Current valid values are USD.
",
"GetUsageStatisticsRequest$NextToken": "A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
",
@@ -3142,6 +3226,9 @@
"ResourceList$member": null,
"ResourceNotFoundException$Message": "The error message.
",
"ResourceNotFoundException$Type": "The error type.
",
+ "ResourceStatistics$AccountId": "The ID of the Amazon Web Services account.
",
+ "ResourceStatistics$ResourceId": "ID associated with each resource. The following list provides the mapping of the resource type and resource ID.
Mapping of resource and resource ID
-
AccessKey - resource.accessKeyDetails.accessKeyId
-
Container - resource.containerDetails.id
-
ECSCluster - resource.ecsClusterDetails.name
-
EKSCluster - resource.eksClusterDetails.name
-
Instance - resource.instanceDetails.instanceId
-
KubernetesCluster - resource.kubernetesDetails.kubernetesWorkloadDetails.name
-
Lambda - resource.lambdaDetails.functionName
-
RDSDBInstance - resource.rdsDbInstanceDetails.dbInstanceIdentifier
-
S3Bucket - resource.s3BucketDetails.name
-
S3Object - resource.s3BucketDetails.name
",
+ "ResourceStatistics$ResourceType": "The type of resource.
",
"RuntimeContext$ScriptPath": "The path to the script that was executed.
",
"RuntimeContext$LibraryPath": "The path to the new library that was loaded.
",
"RuntimeContext$LdPreloadValue": "The value of the LD_PRELOAD environment variable.
",
@@ -3205,7 +3292,7 @@
"UpdateFindingsFeedbackRequest$Comments": "Additional feedback about the GuardDuty findings.
",
"UpdateIPSetRequest$IpSetId": "The unique ID that specifies the IPSet that you want to update.
",
"UpdateMalwareProtectionPlanRequest$MalwareProtectionPlanId": "A unique identifier associated with the Malware Protection plan.
",
- "UpdateMalwareProtectionPlanRequest$Role": "IAM role with permissions required to scan and add tags to the associated protected resource.
",
+ "UpdateMalwareProtectionPlanRequest$Role": "Amazon Resource Name (ARN) of the IAM role with permissions to scan and add tags to the associated protected resource.
",
"UpdatePublishingDestinationRequest$DestinationId": "The ID of the publishing destination to update.
",
"UpdateThreatIntelSetRequest$ThreatIntelSetId": "The unique ID that specifies the ThreatIntelSet that you want to update.
",
"UsageResourceResult$Resource": "The Amazon Web Services resource that generated usage.
",
@@ -3357,7 +3444,10 @@
"Timestamp": {
"base": null,
"refs": {
+ "AccountStatistics$LastGeneratedAt": "The timestamp at which the finding for this account was last generated.
",
"CoverageResource$UpdatedAt": "The timestamp at which the coverage details for the resource were last updated. This is in UTC format.
",
+ "DateStatistics$Date": "The timestamp when the total findings count is observed.
For example, Date
would look like \"2024-09-05T17:00:00-07:00\"
whereas LastGeneratedAt
would look like 2024-09-05T17:12:29-07:00\".
",
+ "DateStatistics$LastGeneratedAt": "The timestamp at which the last finding in the findings count, was generated.
",
"DetectorAdditionalConfigurationResult$UpdatedAt": "The timestamp at which the additional configuration was last updated. This is in UTC format.
",
"DetectorFeatureConfigurationResult$UpdatedAt": "The timestamp at which the feature object was updated.
",
"EbsVolumeScanDetails$ScanStartedAt": "Returns the start date and time of the malware scan.
",
@@ -3365,6 +3455,7 @@
"EcsTaskDetails$TaskCreatedAt": "The Unix timestamp for the time when the task was created.
",
"EcsTaskDetails$StartedAt": "The Unix timestamp for the time when the task started.
",
"EksClusterDetails$CreatedAt": "The timestamp when the EKS cluster was created.
",
+ "FindingTypeStatistics$LastGeneratedAt": "The timestamp at which this finding type was last generated in your environment.
",
"GetMalwareProtectionPlanResponse$CreatedAt": "The timestamp when the Malware Protection plan resource was created.
",
"LambdaDetails$LastModifiedAt": "The timestamp when the Lambda function was last modified. This field is in the UTC date string format (2023-03-22T19:37:20.168Z)
.
",
"LineageObject$StartTime": "The time when the process started. This is in UTC format.
",
@@ -3372,10 +3463,12 @@
"MemberFeaturesConfigurationResult$UpdatedAt": "The timestamp at which the feature object was updated.
",
"OrganizationDetails$UpdatedAt": "The timestamp at which the organization statistics was last updated. This is in UTC format.
",
"ProcessDetails$StartTime": "The time when the process started. This is in UTC format.
",
+ "ResourceStatistics$LastGeneratedAt": "The timestamp at which the statistics for this resource was last generated.
",
"RuntimeContext$ModifiedAt": "The timestamp at which the process modified the current process. The timestamp is in UTC date string format.
",
"S3BucketDetail$CreatedAt": "The date and time the bucket was created at.
",
"Scan$ScanStartTime": "The timestamp of when the scan was triggered.
",
- "Scan$ScanEndTime": "The timestamp of when the scan was finished.
"
+ "Scan$ScanEndTime": "The timestamp of when the scan was finished.
",
+ "SeverityStatistics$LastGeneratedAt": "The timestamp at which a finding type for a specific severity was last generated.
"
}
},
"Total": {
diff --git a/apis/iot/2015-05-28/api-2.json b/apis/iot/2015-05-28/api-2.json
index 8ef285cf7c7..8506fd85cd2 100644
--- a/apis/iot/2015-05-28/api-2.json
+++ b/apis/iot/2015-05-28/api-2.json
@@ -60,6 +60,25 @@
{"shape":"ResourceNotFoundException"}
]
},
+ "AssociateSbomWithPackageVersion":{
+ "name":"AssociateSbomWithPackageVersion",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/packages/{packageName}/versions/{versionName}/sbom",
+ "responseCode":200
+ },
+ "input":{"shape":"AssociateSbomWithPackageVersionRequest"},
+ "output":{"shape":"AssociateSbomWithPackageVersionResponse"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"ServiceQuotaExceededException"},
+ {"shape":"ResourceNotFoundException"}
+ ],
+ "idempotent":true
+ },
"AssociateTargetsWithJob":{
"name":"AssociateTargetsWithJob",
"http":{
@@ -1983,6 +2002,24 @@
{"shape":"ConflictingResourceUpdateException"}
]
},
+ "DisassociateSbomFromPackageVersion":{
+ "name":"DisassociateSbomFromPackageVersion",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/packages/{packageName}/versions/{versionName}/sbom",
+ "responseCode":200
+ },
+ "input":{"shape":"DisassociateSbomFromPackageVersionRequest"},
+ "output":{"shape":"DisassociateSbomFromPackageVersionResponse"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"ConflictException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"ResourceNotFoundException"}
+ ],
+ "idempotent":true
+ },
"EnableTopicRule":{
"name":"EnableTopicRule",
"http":{
@@ -2928,6 +2965,22 @@
{"shape":"InternalFailureException"}
]
},
+ "ListSbomValidationResults":{
+ "name":"ListSbomValidationResults",
+ "http":{
+ "method":"GET",
+ "requestUri":"/packages/{packageName}/versions/{versionName}/sbom-validation-results",
+ "responseCode":200
+ },
+ "input":{"shape":"ListSbomValidationResultsRequest"},
+ "output":{"shape":"ListSbomValidationResultsResponse"},
+ "errors":[
+ {"shape":"ThrottlingException"},
+ {"shape":"InternalServerException"},
+ {"shape":"ValidationException"},
+ {"shape":"ResourceNotFoundException"}
+ ]
+ },
"ListScheduledAudits":{
"name":"ListScheduledAudits",
"http":{
@@ -4030,6 +4083,7 @@
"output":{"shape":"UpdateStreamResponse"},
"errors":[
{"shape":"InvalidRequestException"},
+ {"shape":"LimitExceededException"},
{"shape":"ResourceNotFoundException"},
{"shape":"ThrottlingException"},
{"shape":"UnauthorizedException"},
@@ -4401,6 +4455,42 @@
"booleanValue":{"shape":"AssetPropertyBooleanValue"}
}
},
+ "AssociateSbomWithPackageVersionRequest":{
+ "type":"structure",
+ "required":[
+ "packageName",
+ "versionName",
+ "sbom"
+ ],
+ "members":{
+ "packageName":{
+ "shape":"PackageName",
+ "location":"uri",
+ "locationName":"packageName"
+ },
+ "versionName":{
+ "shape":"VersionName",
+ "location":"uri",
+ "locationName":"versionName"
+ },
+ "sbom":{"shape":"Sbom"},
+ "clientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true,
+ "location":"querystring",
+ "locationName":"clientToken"
+ }
+ }
+ },
+ "AssociateSbomWithPackageVersionResponse":{
+ "type":"structure",
+ "members":{
+ "packageName":{"shape":"PackageName"},
+ "versionName":{"shape":"VersionName"},
+ "sbom":{"shape":"Sbom"},
+ "sbomValidationStatus":{"shape":"SbomValidationStatus"}
+ }
+ },
"AssociateTargetsWithJobRequest":{
"type":"structure",
"required":[
@@ -4976,6 +5066,7 @@
},
"AwsJobTimeoutInProgressTimeoutInMinutes":{"type":"long"},
"BatchMode":{"type":"boolean"},
+ "BeforeSubstitutionFlag":{"type":"boolean"},
"Behavior":{
"type":"structure",
"required":["name"],
@@ -6070,6 +6161,8 @@
},
"description":{"shape":"ResourceDescription"},
"attributes":{"shape":"ResourceAttributes"},
+ "artifact":{"shape":"PackageVersionArtifact"},
+ "recipe":{"shape":"PackageVersionRecipe"},
"tags":{"shape":"TagMap"},
"clientToken":{
"shape":"ClientToken",
@@ -7549,6 +7642,11 @@
"shape":"JobId",
"location":"uri",
"locationName":"jobId"
+ },
+ "beforeSubstitution":{
+ "shape":"BeforeSubstitutionFlag",
+ "location":"querystring",
+ "locationName":"beforeSubstitution"
}
}
},
@@ -8129,6 +8227,36 @@
}
}
},
+ "DisassociateSbomFromPackageVersionRequest":{
+ "type":"structure",
+ "required":[
+ "packageName",
+ "versionName"
+ ],
+ "members":{
+ "packageName":{
+ "shape":"PackageName",
+ "location":"uri",
+ "locationName":"packageName"
+ },
+ "versionName":{
+ "shape":"VersionName",
+ "location":"uri",
+ "locationName":"versionName"
+ },
+ "clientToken":{
+ "shape":"ClientToken",
+ "idempotencyToken":true,
+ "location":"querystring",
+ "locationName":"clientToken"
+ }
+ }
+ },
+ "DisassociateSbomFromPackageVersionResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
"DisconnectReason":{"type":"string"},
"DocumentParameter":{
"type":"structure",
@@ -8639,6 +8767,11 @@
"shape":"JobId",
"location":"uri",
"locationName":"jobId"
+ },
+ "beforeSubstitution":{
+ "shape":"BeforeSubstitutionFlag",
+ "location":"querystring",
+ "locationName":"beforeSubstitution"
}
}
},
@@ -8737,10 +8870,14 @@
"versionName":{"shape":"VersionName"},
"description":{"shape":"ResourceDescription"},
"attributes":{"shape":"ResourceAttributes"},
+ "artifact":{"shape":"PackageVersionArtifact"},
"status":{"shape":"PackageVersionStatus"},
"errorReason":{"shape":"PackageVersionErrorReason"},
"creationDate":{"shape":"CreationDate"},
- "lastModifiedDate":{"shape":"LastModifiedDate"}
+ "lastModifiedDate":{"shape":"LastModifiedDate"},
+ "sbom":{"shape":"Sbom"},
+ "sbomValidationStatus":{"shape":"SbomValidationStatus"},
+ "recipe":{"shape":"PackageVersionRecipe"}
}
},
"GetPercentilesRequest":{
@@ -10723,6 +10860,47 @@
"nextMarker":{"shape":"Marker"}
}
},
+ "ListSbomValidationResultsRequest":{
+ "type":"structure",
+ "required":[
+ "packageName",
+ "versionName"
+ ],
+ "members":{
+ "packageName":{
+ "shape":"PackageName",
+ "location":"uri",
+ "locationName":"packageName"
+ },
+ "versionName":{
+ "shape":"VersionName",
+ "location":"uri",
+ "locationName":"versionName"
+ },
+ "validationResult":{
+ "shape":"SbomValidationResult",
+ "location":"querystring",
+ "locationName":"validationResult"
+ },
+ "maxResults":{
+ "shape":"PackageCatalogMaxResults",
+ "location":"querystring",
+ "locationName":"maxResults"
+ },
+ "nextToken":{
+ "shape":"NextToken",
+ "location":"querystring",
+ "locationName":"nextToken"
+ }
+ }
+ },
+ "ListSbomValidationResultsResponse":{
+ "type":"structure",
+ "members":{
+ "validationResultSummaries":{"shape":"SbomValidationResultSummaryList"},
+ "nextToken":{"shape":"NextToken"}
+ }
+ },
"ListScheduledAuditsRequest":{
"type":"structure",
"members":{
@@ -11903,7 +12081,18 @@
"min":1,
"pattern":"^arn:[!-~]+$"
},
+ "PackageVersionArtifact":{
+ "type":"structure",
+ "members":{
+ "s3Location":{"shape":"S3Location"}
+ }
+ },
"PackageVersionErrorReason":{"type":"string"},
+ "PackageVersionRecipe":{
+ "type":"string",
+ "max":3072,
+ "sensitive":true
+ },
"PackageVersionStatus":{
"type":"string",
"enum":[
@@ -12716,6 +12905,48 @@
"type":"string",
"min":40
},
+ "Sbom":{
+ "type":"structure",
+ "members":{
+ "s3Location":{"shape":"S3Location"}
+ }
+ },
+ "SbomValidationErrorCode":{
+ "type":"string",
+ "enum":[
+ "INCOMPATIBLE_FORMAT",
+ "FILE_SIZE_LIMIT_EXCEEDED"
+ ]
+ },
+ "SbomValidationErrorMessage":{"type":"string"},
+ "SbomValidationResult":{
+ "type":"string",
+ "enum":[
+ "FAILED",
+ "SUCCEEDED"
+ ]
+ },
+ "SbomValidationResultSummary":{
+ "type":"structure",
+ "members":{
+ "fileName":{"shape":"FileName"},
+ "validationResult":{"shape":"SbomValidationResult"},
+ "errorCode":{"shape":"SbomValidationErrorCode"},
+ "errorMessage":{"shape":"SbomValidationErrorMessage"}
+ }
+ },
+ "SbomValidationResultSummaryList":{
+ "type":"list",
+ "member":{"shape":"SbomValidationResultSummary"}
+ },
+ "SbomValidationStatus":{
+ "type":"string",
+ "enum":[
+ "IN_PROGRESS",
+ "FAILED",
+ "SUCCEEDED"
+ ]
+ },
"ScheduledAuditArn":{"type":"string"},
"ScheduledAuditMetadata":{
"type":"structure",
@@ -14415,7 +14646,9 @@
},
"description":{"shape":"ResourceDescription"},
"attributes":{"shape":"ResourceAttributes"},
+ "artifact":{"shape":"PackageVersionArtifact"},
"action":{"shape":"PackageVersionAction"},
+ "recipe":{"shape":"PackageVersionRecipe"},
"clientToken":{
"shape":"ClientToken",
"idempotencyToken":true,
diff --git a/apis/iot/2015-05-28/docs-2.json b/apis/iot/2015-05-28/docs-2.json
index e9ae20d0379..ca283c668f9 100644
--- a/apis/iot/2015-05-28/docs-2.json
+++ b/apis/iot/2015-05-28/docs-2.json
@@ -5,6 +5,7 @@
"AcceptCertificateTransfer": "Accepts a pending certificate transfer. The default state of the certificate is INACTIVE.
To check for pending certificate transfers, call ListCertificates to enumerate your certificates.
Requires permission to access the AcceptCertificateTransfer action.
",
"AddThingToBillingGroup": "Adds a thing to a billing group.
Requires permission to access the AddThingToBillingGroup action.
",
"AddThingToThingGroup": "Adds a thing to a thing group.
Requires permission to access the AddThingToThingGroup action.
",
+ "AssociateSbomWithPackageVersion": "Associates a software bill of materials (SBOM) with a specific software package version.
Requires permission to access the AssociateSbomWithPackageVersion action.
",
"AssociateTargetsWithJob": "Associates a group with a continuous job. The following criteria must be met:
-
The job must have been created with the targetSelection
field set to \"CONTINUOUS\".
-
The job status must currently be \"IN_PROGRESS\".
-
The total number of targets associated with a job must not exceed 100.
Requires permission to access the AssociateTargetsWithJob action.
",
"AttachPolicy": "Attaches the specified policy to the specified principal (certificate or other credential).
Requires permission to access the AttachPolicy action.
",
"AttachPrincipalPolicy": "Attaches the specified policy to the specified principal (certificate or other credential).
Note: This action is deprecated and works as expected for backward compatibility, but we won't add enhancements. Use AttachPolicy instead.
Requires permission to access the AttachPrincipalPolicy action.
",
@@ -123,6 +124,7 @@
"DetachSecurityProfile": "Disassociates a Device Defender security profile from a thing group or from this account.
Requires permission to access the DetachSecurityProfile action.
",
"DetachThingPrincipal": "Detaches the specified principal from the specified thing. A principal can be X.509 certificates, IAM users, groups, and roles, Amazon Cognito identities or federated identities.
This call is asynchronous. It might take several seconds for the detachment to propagate.
Requires permission to access the DetachThingPrincipal action.
",
"DisableTopicRule": "Disables the rule.
Requires permission to access the DisableTopicRule action.
",
+ "DisassociateSbomFromPackageVersion": "Disassociates a software bill of materials (SBOM) from a specific software package version.
Requires permission to access the DisassociateSbomWithPackageVersion action.
",
"EnableTopicRule": "Enables the rule.
Requires permission to access the EnableTopicRule action.
",
"GetBehaviorModelTrainingSummaries": " Returns a Device Defender's ML Detect Security Profile training model's status.
Requires permission to access the GetBehaviorModelTrainingSummaries action.
",
"GetBucketsAggregation": "Aggregates on indexed data with search queries pertaining to particular fields.
Requires permission to access the GetBucketsAggregation action.
",
@@ -183,6 +185,7 @@
"ListProvisioningTemplates": "Lists the provisioning templates in your Amazon Web Services account.
Requires permission to access the ListProvisioningTemplates action.
",
"ListRelatedResourcesForAuditFinding": "The related resources of an Audit finding. The following resources can be returned from calling this API:
-
DEVICE_CERTIFICATE
-
CA_CERTIFICATE
-
IOT_POLICY
-
COGNITO_IDENTITY_POOL
-
CLIENT_ID
-
ACCOUNT_SETTINGS
-
ROLE_ALIAS
-
IAM_ROLE
-
ISSUER_CERTIFICATE
This API is similar to DescribeAuditFinding's RelatedResources but provides pagination and is not limited to 10 resources. When calling DescribeAuditFinding for the intermediate CA revoked for active device certificates check, RelatedResources will not be populated. You must use this API, ListRelatedResourcesForAuditFinding, to list the certificates.
",
"ListRoleAliases": "Lists the role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
",
+ "ListSbomValidationResults": "The validation results for all software bill of materials (SBOM) attached to a specific software package version.
Requires permission to access the ListSbomValidationResults action.
",
"ListScheduledAudits": "Lists all of your scheduled audits.
Requires permission to access the ListScheduledAudits action.
",
"ListSecurityProfiles": "Lists the Device Defender security profiles you've created. You can filter security profiles by dimension or custom metric.
Requires permission to access the ListSecurityProfiles action.
dimensionName
and metricName
cannot be used in the same request.
",
"ListSecurityProfilesForTarget": "Lists the Device Defender security profiles attached to a target (thing group).
Requires permission to access the ListSecurityProfilesForTarget action.
",
@@ -592,6 +595,16 @@
"AssetPropertyValue$value": "The value of the asset property.
"
}
},
+ "AssociateSbomWithPackageVersionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "AssociateSbomWithPackageVersionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"AssociateTargetsWithJobRequest": {
"base": null,
"refs": {
@@ -1199,6 +1212,13 @@
"IotEventsAction$batchMode": "Whether to process the event actions as a batch. The default value is false
.
When batchMode
is true
, you can't specify a messageId
.
When batchMode
is true
and the rule SQL statement evaluates to an Array, each Array element is treated as a separate message when it's sent to IoT Events by calling BatchPutMessage
. The resulting array can't have more than 10 messages.
"
}
},
+ "BeforeSubstitutionFlag": {
+ "base": null,
+ "refs": {
+ "DescribeJobRequest$beforeSubstitution": "A flag that provides a view of the job document before and after the substitution parameters have been resolved with their exact values.
",
+ "GetJobDocumentRequest$beforeSubstitution": "A flag that provides a view of the job document before and after the substitution parameters have been resolved with their exact values.
"
+ }
+ },
"Behavior": {
"base": "A Device Defender security profile behavior.
",
"refs": {
@@ -1734,11 +1754,13 @@
"ClientToken": {
"base": null,
"refs": {
+ "AssociateSbomWithPackageVersionRequest$clientToken": "A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
",
"CreateCertificateProviderRequest$clientToken": "A string that you can optionally pass in the CreateCertificateProvider
request to make sure the request is idempotent.
",
"CreatePackageRequest$clientToken": "A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
",
"CreatePackageVersionRequest$clientToken": "A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
",
"DeletePackageRequest$clientToken": "A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
",
"DeletePackageVersionRequest$clientToken": "A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
",
+ "DisassociateSbomFromPackageVersionRequest$clientToken": "A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
",
"UpdatePackageConfigurationRequest$clientToken": "A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
",
"UpdatePackageRequest$clientToken": "A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
",
"UpdatePackageVersionRequest$clientToken": "A unique case-sensitive identifier that you can provide to ensure the idempotency of the request. Don't reuse this client token if a new idempotent request is required.
"
@@ -3288,6 +3310,16 @@
"refs": {
}
},
+ "DisassociateSbomFromPackageVersionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DisassociateSbomFromPackageVersionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"DisconnectReason": {
"base": null,
"refs": {
@@ -3461,7 +3493,7 @@
"EnableOCSPCheck": {
"base": null,
"refs": {
- "ServerCertificateConfig$enableOCSPCheck": "A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not.
For more information, see Configuring OCSP server-certificate stapling in domain configuration from Amazon Web Services IoT Core Developer Guide.
"
+ "ServerCertificateConfig$enableOCSPCheck": "A Boolean value that indicates whether Online Certificate Status Protocol (OCSP) server certificate check is enabled or not.
For more information, see Configuring OCSP server-certificate stapling in domain configuration from Amazon Web Services IoT Core Developer Guide.
"
}
},
"EnableTopicRuleRequest": {
@@ -3673,7 +3705,8 @@
"FileName": {
"base": null,
"refs": {
- "OTAUpdateFile$fileName": "The name of the file.
"
+ "OTAUpdateFile$fileName": "The name of the file.
",
+ "SbomValidationResultSummary$fileName": "The name of the SBOM file.
"
}
},
"FileType": {
@@ -5079,6 +5112,16 @@
"refs": {
}
},
+ "ListSbomValidationResultsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSbomValidationResultsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListScheduledAuditsRequest": {
"base": null,
"refs": {
@@ -5841,6 +5884,8 @@
"ListProvisioningTemplatesResponse$nextToken": "A token to retrieve the next set of results.
",
"ListRelatedResourcesForAuditFindingRequest$nextToken": "A token that can be used to retrieve the next set of results, or null
if there are no additional results.
",
"ListRelatedResourcesForAuditFindingResponse$nextToken": "A token that can be used to retrieve the next set of results, or null
for the first API call.
",
+ "ListSbomValidationResultsRequest$nextToken": "A token that can be used to retrieve the next set of results, or null if there are no additional results.
",
+ "ListSbomValidationResultsResponse$nextToken": "A token that can be used to retrieve the next set of results, or null if there are no additional results.
",
"ListScheduledAuditsRequest$nextToken": "The token for the next set of results.
",
"ListScheduledAuditsResponse$nextToken": "A token that can be used to retrieve the next set of results, or null
if there are no additional results.
",
"ListSecurityProfilesForTargetRequest$nextToken": "The token for the next set of results.
",
@@ -6076,23 +6121,28 @@
"base": null,
"refs": {
"ListPackageVersionsRequest$maxResults": "The maximum number of results to return at one time.
",
- "ListPackagesRequest$maxResults": "The maximum number of results returned at one time.
"
+ "ListPackagesRequest$maxResults": "The maximum number of results returned at one time.
",
+ "ListSbomValidationResultsRequest$maxResults": "The maximum number of results to return at one time.
"
}
},
"PackageName": {
"base": null,
"refs": {
+ "AssociateSbomWithPackageVersionRequest$packageName": "The name of the new software package.
",
+ "AssociateSbomWithPackageVersionResponse$packageName": "The name of the new software package.
",
"CreatePackageRequest$packageName": "The name of the new software package.
",
"CreatePackageResponse$packageName": "The name of the software package.
",
"CreatePackageVersionRequest$packageName": "The name of the associated software package.
",
"CreatePackageVersionResponse$packageName": "The name of the associated software package.
",
"DeletePackageRequest$packageName": "The name of the target software package.
",
"DeletePackageVersionRequest$packageName": "The name of the associated software package.
",
+ "DisassociateSbomFromPackageVersionRequest$packageName": "The name of the new software package.
",
"GetPackageRequest$packageName": "The name of the target software package.
",
"GetPackageResponse$packageName": "The name of the software package.
",
"GetPackageVersionRequest$packageName": "The name of the associated package.
",
"GetPackageVersionResponse$packageName": "The name of the software package.
",
"ListPackageVersionsRequest$packageName": "The name of the target software package.
",
+ "ListSbomValidationResultsRequest$packageName": "The name of the new software package.
",
"PackageSummary$packageName": "The name for the target software package.
",
"PackageVersionSummary$packageName": "The name of the associated software package.
",
"UpdatePackageRequest$packageName": "The name of the target software package.
",
@@ -6125,6 +6175,14 @@
"GetPackageVersionResponse$packageVersionArn": "The ARN for the package version.
"
}
},
+ "PackageVersionArtifact": {
+ "base": "The Amazon S3 location for the artifacts associated with a software package version.
",
+ "refs": {
+ "CreatePackageVersionRequest$artifact": "The various build components created during the build process such as libraries and configuration files that make up a software package version.
",
+ "GetPackageVersionResponse$artifact": "The various components that make up a software package version.
",
+ "UpdatePackageVersionRequest$artifact": "The various components that make up a software package version.
"
+ }
+ },
"PackageVersionErrorReason": {
"base": null,
"refs": {
@@ -6132,6 +6190,14 @@
"GetPackageVersionResponse$errorReason": "Error reason for a package version failure during creation or update.
"
}
},
+ "PackageVersionRecipe": {
+ "base": null,
+ "refs": {
+ "CreatePackageVersionRequest$recipe": "The inline job document associated with a software package version used for a quick job deployment via IoT Jobs.
",
+ "GetPackageVersionResponse$recipe": "The inline job document associated with a software package version used for a quick job deployment via IoT Jobs.
",
+ "UpdatePackageVersionRequest$recipe": "The inline job document associated with a software package version used for a quick job deployment via IoT Jobs.
"
+ }
+ },
"PackageVersionStatus": {
"base": null,
"refs": {
@@ -7165,6 +7231,8 @@
"base": "The S3 location.
",
"refs": {
"FileLocation$s3Location": "The location of the updated firmware in S3.
",
+ "PackageVersionArtifact$s3Location": null,
+ "Sbom$s3Location": null,
"StreamFile$s3Location": "The location of the file in S3.
"
}
},
@@ -7199,6 +7267,52 @@
"SalesforceAction$token": "The token used to authenticate access to the Salesforce IoT Cloud Input Stream. The token is available from the Salesforce IoT Cloud platform after creation of the Input Stream.
"
}
},
+ "Sbom": {
+ "base": "The Amazon S3 location for the software bill of materials associated with a software package version.
",
+ "refs": {
+ "AssociateSbomWithPackageVersionRequest$sbom": null,
+ "AssociateSbomWithPackageVersionResponse$sbom": null,
+ "GetPackageVersionResponse$sbom": "The software bill of materials for a software package version.
"
+ }
+ },
+ "SbomValidationErrorCode": {
+ "base": null,
+ "refs": {
+ "SbomValidationResultSummary$errorCode": "The errorCode
representing the validation failure error if the SBOM validation failed.
"
+ }
+ },
+ "SbomValidationErrorMessage": {
+ "base": null,
+ "refs": {
+ "SbomValidationResultSummary$errorMessage": "The errorMessage
representing the validation failure error if the SBOM validation failed.
"
+ }
+ },
+ "SbomValidationResult": {
+ "base": null,
+ "refs": {
+ "ListSbomValidationResultsRequest$validationResult": "The end result of the
",
+ "SbomValidationResultSummary$validationResult": "The end result of the SBOM validation.
"
+ }
+ },
+ "SbomValidationResultSummary": {
+ "base": "A summary of the validation results for a specific software bill of materials (SBOM) attached to a software package version.
",
+ "refs": {
+ "SbomValidationResultSummaryList$member": null
+ }
+ },
+ "SbomValidationResultSummaryList": {
+ "base": null,
+ "refs": {
+ "ListSbomValidationResultsResponse$validationResultSummaries": "A summary of the validation results for each software bill of materials attached to a software package version.
"
+ }
+ },
+ "SbomValidationStatus": {
+ "base": null,
+ "refs": {
+ "AssociateSbomWithPackageVersionResponse$sbomValidationStatus": "The status of the initial validation for the SBOM against the Software Package Data Exchange (SPDX) and CycloneDX industry standard format.
",
+ "GetPackageVersionResponse$sbomValidationStatus": "The status of the validation for a new software bill of materials added to a software package version.
"
+ }
+ },
"ScheduledAuditArn": {
"base": null,
"refs": {
@@ -9199,12 +9313,16 @@
"VersionName": {
"base": null,
"refs": {
+ "AssociateSbomWithPackageVersionRequest$versionName": "The name of the new package version.
",
+ "AssociateSbomWithPackageVersionResponse$versionName": "The name of the new package version.
",
"CreatePackageVersionRequest$versionName": "The name of the new package version.
",
"CreatePackageVersionResponse$versionName": "The name of the new package version.
",
"DeletePackageVersionRequest$versionName": "The name of the target package version.
",
+ "DisassociateSbomFromPackageVersionRequest$versionName": "The name of the new package version.
",
"GetPackageResponse$defaultVersionName": "The name of the default package version.
",
"GetPackageVersionRequest$versionName": "The name of the target package version.
",
"GetPackageVersionResponse$versionName": "The name of the package version.
",
+ "ListSbomValidationResultsRequest$versionName": "The name of the new package version.
",
"PackageSummary$defaultVersionName": "The name of the default package version.
",
"PackageVersionSummary$versionName": "The name of the target package version.
",
"UpdatePackageRequest$defaultVersionName": "The name of the default package version.
Note: You cannot name a defaultVersion
and set unsetDefaultVersion
equal to true
at the same time.
",
diff --git a/apis/iot/2015-05-28/paginators-1.json b/apis/iot/2015-05-28/paginators-1.json
index d7b2eb6ab35..a44c0776428 100644
--- a/apis/iot/2015-05-28/paginators-1.json
+++ b/apis/iot/2015-05-28/paginators-1.json
@@ -234,6 +234,12 @@
"output_token": "nextMarker",
"result_key": "roleAliases"
},
+ "ListSbomValidationResults": {
+ "input_token": "nextToken",
+ "limit_key": "maxResults",
+ "output_token": "nextToken",
+ "result_key": "validationResultSummaries"
+ },
"ListScheduledAudits": {
"input_token": "nextToken",
"limit_key": "maxResults",
diff --git a/apis/ivs/2020-07-14/docs-2.json b/apis/ivs/2020-07-14/docs-2.json
index eda2d56f3fc..474e0a473e9 100644
--- a/apis/ivs/2020-07-14/docs-2.json
+++ b/apis/ivs/2020-07-14/docs-2.json
@@ -1,6 +1,6 @@
{
"version": "2.0",
- "service": " Introduction
The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both requests and responses, including errors.
The API is an Amazon Web Services regional service. For a list of supported regions and Amazon IVS HTTPS service endpoints, see the Amazon IVS page in the Amazon Web Services General Reference.
All API request parameters and URLs are case sensitive.
For a summary of notable documentation changes in each release, see Document History.
Allowed Header Values
Key Concepts
-
Channel — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream.
-
Stream key — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. Treat the stream key like a secret, since it allows anyone to stream to the channel.
-
Playback key pair — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token.
-
Recording configuration — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration.
-
Playback restriction policy — Restricts playback by countries and/or origin sites.
For more information about your IVS live stream, also see Getting Started with IVS Low-Latency Streaming.
Tagging
A tag is a metadata label that you assign to an Amazon Web Services resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature
to label a particular video category. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
Tags can help you identify and organize your Amazon Web Services resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).
The Amazon IVS API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording Configurations.
At most 50 tags can be applied to a resource.
Authentication versus Authorization
Note the differences between these concepts:
-
Authentication is about verifying identity. You need to be authenticated to sign Amazon IVS API requests.
-
Authorization is about granting permissions. Your IAM roles need to have permissions for Amazon IVS API requests. In addition, authorization is needed to view Amazon IVS private channels. (Private channels are channels that are enabled for \"playback authorization.\")
Authentication
All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS API directly, it’s your responsibility to sign the requests.
You generate a signature using valid Amazon Web Services credentials that have permission to perform the requested action. For example, you must sign PutMetadata requests with a signature generated from a user account that has the ivs:PutMetadata
permission.
For more information:
Amazon Resource Names (ARNs)
ARNs uniquely identify AWS resources. An ARN is required when you need to specify a resource unambiguously across all of AWS, such as in IAM policies and API calls. For more information, see Amazon Resource Names in the AWS General Reference.
",
+ "service": " Introduction
The Amazon Interactive Video Service (IVS) API is REST compatible, using a standard HTTP API and an Amazon Web Services EventBridge event stream for responses. JSON is used for both requests and responses, including errors.
The API is an Amazon Web Services regional service. For a list of supported regions and Amazon IVS HTTPS service endpoints, see the Amazon IVS page in the Amazon Web Services General Reference.
All API request parameters and URLs are case sensitive.
For a summary of notable documentation changes in each release, see Document History.
Allowed Header Values
Key Concepts
-
Channel — Stores configuration data related to your live stream. You first create a channel and then use the channel’s stream key to start your live stream.
-
Stream key — An identifier assigned by Amazon IVS when you create a channel, which is then used to authorize streaming. Treat the stream key like a secret, since it allows anyone to stream to the channel.
-
Playback key pair — Video playback may be restricted using playback-authorization tokens, which use public-key encryption. A playback key pair is the public-private pair of keys used to sign and validate the playback-authorization token.
-
Recording configuration — Stores configuration related to recording a live stream and where to store the recorded content. Multiple channels can reference the same recording configuration.
-
Playback restriction policy — Restricts playback by countries and/or origin sites.
For more information about your IVS live stream, also see Getting Started with IVS Low-Latency Streaming.
Tagging
A tag is a metadata label that you assign to an Amazon Web Services resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature
to label a particular video category. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
Tags can help you identify and organize your Amazon Web Services resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).
The Amazon IVS API has these tag-related operations: TagResource, UntagResource, and ListTagsForResource. The following resources support tagging: Channels, Stream Keys, Playback Key Pairs, and Recording Configurations.
At most 50 tags can be applied to a resource.
Authentication versus Authorization
Note the differences between these concepts:
-
Authentication is about verifying identity. You need to be authenticated to sign Amazon IVS API requests.
-
Authorization is about granting permissions. Your IAM roles need to have permissions for Amazon IVS API requests. In addition, authorization is needed to view Amazon IVS private channels. (Private channels are channels that are enabled for \"playback authorization.\")
Authentication
All Amazon IVS API requests must be authenticated with a signature. The Amazon Web Services Command-Line Interface (CLI) and Amazon IVS Player SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS API directly, it’s your responsibility to sign the requests.
You generate a signature using valid Amazon Web Services credentials that have permission to perform the requested action. For example, you must sign PutMetadata requests with a signature generated from a user account that has the ivs:PutMetadata
permission.
For more information:
Amazon Resource Names (ARNs)
ARNs uniquely identify AWS resources. An ARN is required when you need to specify a resource unambiguously across all of AWS, such as in IAM policies and API calls. For more information, see Amazon Resource Names in the AWS General Reference.
",
"operations": {
"BatchGetChannel": "Performs GetChannel on multiple ARNs simultaneously.
",
"BatchGetStreamKey": "Performs GetStreamKey on multiple ARNs simultaneously.
",
@@ -1050,7 +1050,7 @@
"TagKeyList": {
"base": null,
"refs": {
- "UntagResourceRequest$tagKeys": "Array of tags to be removed. Array of maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
"
+ "UntagResourceRequest$tagKeys": "Array of tags to be removed. Array of maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
"
}
},
"TagResourceRequest": {
@@ -1072,23 +1072,23 @@
"Tags": {
"base": null,
"refs": {
- "Channel$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "ChannelSummary$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "CreateChannelRequest$tags": "Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "CreatePlaybackRestrictionPolicyRequest$tags": "Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "CreateRecordingConfigurationRequest$tags": "Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "CreateStreamKeyRequest$tags": "Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "ImportPlaybackKeyPairRequest$tags": "Any tags provided with the request are added to the playback key pair tags. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "Channel$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "ChannelSummary$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "CreateChannelRequest$tags": "Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "CreatePlaybackRestrictionPolicyRequest$tags": "Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "CreateRecordingConfigurationRequest$tags": "Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "CreateStreamKeyRequest$tags": "Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "ImportPlaybackKeyPairRequest$tags": "Any tags provided with the request are added to the playback key pair tags. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
"ListTagsForResourceResponse$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
.
",
- "PlaybackKeyPair$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "PlaybackKeyPairSummary$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "PlaybackRestrictionPolicy$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "PlaybackRestrictionPolicySummary$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "RecordingConfiguration$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "RecordingConfigurationSummary$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "StreamKey$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "StreamKeySummary$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
- "TagResourceRequest$tags": "Array of tags to be added or updated. Array of maps, each of the form string:string (key:value)
. See Tagging Amazon Web Services Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
"
+ "PlaybackKeyPair$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "PlaybackKeyPairSummary$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "PlaybackRestrictionPolicy$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "PlaybackRestrictionPolicySummary$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "RecordingConfiguration$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "RecordingConfigurationSummary$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "StreamKey$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "StreamKeySummary$tags": "Tags attached to the resource. Array of 1-50 maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
",
+ "TagResourceRequest$tags": "Array of tags to be added or updated. Array of maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS has no service-specific constraints beyond what is documented there.
"
}
},
"TargetIntervalSeconds": {
diff --git a/apis/ivschat/2020-07-14/docs-2.json b/apis/ivschat/2020-07-14/docs-2.json
index b0ffcfb2084..9e14e1efa83 100644
--- a/apis/ivschat/2020-07-14/docs-2.json
+++ b/apis/ivschat/2020-07-14/docs-2.json
@@ -1,6 +1,6 @@
{
"version": "2.0",
- "service": " Introduction
The Amazon IVS Chat control-plane API enables you to create and manage Amazon IVS Chat resources. You also need to integrate with the Amazon IVS Chat Messaging API, to enable users to interact with chat rooms in real time.
The API is an AWS regional service. For a list of supported regions and Amazon IVS Chat HTTPS service endpoints, see the Amazon IVS Chat information on the Amazon IVS page in the AWS General Reference.
This document describes HTTP operations. There is a separate messaging API for managing Chat resources; see the Amazon IVS Chat Messaging API Reference.
Notes on terminology:
-
You create service applications using the Amazon IVS Chat API. We refer to these as applications.
-
You create front-end client applications (browser and Android/iOS apps) using the Amazon IVS Chat Messaging API. We refer to these as clients.
Resources
The following resources are part of Amazon IVS Chat:
-
LoggingConfiguration — A configuration that allows customers to store and record sent messages in a chat room. See the Logging Configuration endpoints for more information.
-
Room — The central Amazon IVS Chat resource through which clients connect to and exchange chat messages. See the Room endpoints for more information.
Tagging
A tag is a metadata label that you assign to an AWS resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature
to label a particular video category. See Tagging AWS Resources for more information, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no service-specific constraints beyond what is documented there.
Tags can help you identify and organize your AWS resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).
The Amazon IVS Chat API has these tag-related endpoints: TagResource, UntagResource, and ListTagsForResource. The following resource supports tagging: Room.
At most 50 tags can be applied to a resource.
API Access Security
Your Amazon IVS Chat applications (service applications and clients) must be authenticated and authorized to access Amazon IVS Chat resources. Note the differences between these concepts:
-
Authentication is about verifying identity. Requests to the Amazon IVS Chat API must be signed to verify your identity.
-
Authorization is about granting permissions. Your IAM roles need to have permissions for Amazon IVS Chat API requests.
Users (viewers) connect to a room using secure access tokens that you create using the CreateChatToken endpoint through the AWS SDK. You call CreateChatToken for every user’s chat session, passing identity and authorization information about the user.
Signing API Requests
HTTP API requests must be signed with an AWS SigV4 signature using your AWS security credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API directly, it’s your responsibility to sign the requests.
You generate a signature using valid AWS credentials for an IAM role that has permission to perform the requested action. For example, DeleteMessage requests must be made using an IAM role that has the ivschat:DeleteMessage
permission.
For more information:
Amazon Resource Names (ARNs)
ARNs uniquely identify AWS resources. An ARN is required when you need to specify a resource unambiguously across all of AWS, such as in IAM policies and API calls. For more information, see Amazon Resource Names in the AWS General Reference.
",
+ "service": " Introduction
The Amazon IVS Chat control-plane API enables you to create and manage Amazon IVS Chat resources. You also need to integrate with the Amazon IVS Chat Messaging API, to enable users to interact with chat rooms in real time.
The API is an AWS regional service. For a list of supported regions and Amazon IVS Chat HTTPS service endpoints, see the Amazon IVS Chat information on the Amazon IVS page in the AWS General Reference.
This document describes HTTP operations. There is a separate messaging API for managing Chat resources; see the Amazon IVS Chat Messaging API Reference.
Notes on terminology:
-
You create service applications using the Amazon IVS Chat API. We refer to these as applications.
-
You create front-end client applications (browser and Android/iOS apps) using the Amazon IVS Chat Messaging API. We refer to these as clients.
Resources
The following resources are part of Amazon IVS Chat:
-
LoggingConfiguration — A configuration that allows customers to store and record sent messages in a chat room. See the Logging Configuration endpoints for more information.
-
Room — The central Amazon IVS Chat resource through which clients connect to and exchange chat messages. See the Room endpoints for more information.
Tagging
A tag is a metadata label that you assign to an AWS resource. A tag comprises a key and a value, both set by you. For example, you might set a tag as topic:nature
to label a particular video category. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no service-specific constraints beyond what is documented there.
Tags can help you identify and organize your AWS resources. For example, you can use the same tag for different resources to indicate that they are related. You can also use tags to manage access (see Access Tags).
The Amazon IVS Chat API has these tag-related operations: TagResource, UntagResource, and ListTagsForResource. The following resource supports tagging: Room.
At most 50 tags can be applied to a resource.
API Access Security
Your Amazon IVS Chat applications (service applications and clients) must be authenticated and authorized to access Amazon IVS Chat resources. Note the differences between these concepts:
-
Authentication is about verifying identity. Requests to the Amazon IVS Chat API must be signed to verify your identity.
-
Authorization is about granting permissions. Your IAM roles need to have permissions for Amazon IVS Chat API requests.
Users (viewers) connect to a room using secure access tokens that you create using the CreateChatToken operation through the AWS SDK. You call CreateChatToken for every user’s chat session, passing identity and authorization information about the user.
Signing API Requests
HTTP API requests must be signed with an AWS SigV4 signature using your AWS security credentials. The AWS Command Line Interface (CLI) and the AWS SDKs take care of signing the underlying API calls for you. However, if your application calls the Amazon IVS Chat HTTP API directly, it’s your responsibility to sign the requests.
You generate a signature using valid AWS credentials for an IAM role that has permission to perform the requested action. For example, DeleteMessage requests must be made using an IAM role that has the ivschat:DeleteMessage
permission.
For more information:
Amazon Resource Names (ARNs)
ARNs uniquely identify AWS resources. An ARN is required when you need to specify a resource unambiguously across all of AWS, such as in IAM policies and API calls. For more information, see Amazon Resource Names in the AWS General Reference.
",
"operations": {
"CreateChatToken": "Creates an encrypted token that is used by a chat participant to establish an individual WebSocket chat connection to a room. When the token is used to connect to chat, the connection is valid for the session duration specified in the request. The token becomes invalid at the token-expiration timestamp included in the response.
Use the capabilities
field to permit an end user to send messages or moderate a room.
The attributes
field securely attaches structured data to the chat session; the data is included within each message sent by the end user and received by other participants in the room. Common use cases for attributes include passing end-user profile data like an icon, display name, colors, badges, and other display features.
Encryption keys are owned by Amazon IVS Chat and never used directly by your application.
",
"CreateLoggingConfiguration": "Creates a logging configuration that allows clients to store and record sent messages.
",
@@ -546,7 +546,7 @@
"TagKeyList": {
"base": null,
"refs": {
- "UntagResourceRequest$tagKeys": "Array of tags to be removed. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints beyond what is documented there.
"
+ "UntagResourceRequest$tagKeys": "Array of tags to be removed. Array of maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints beyond what is documented there.
"
}
},
"TagResourceRequest": {
@@ -568,16 +568,16 @@
"Tags": {
"base": null,
"refs": {
- "CreateLoggingConfigurationRequest$tags": "Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints on tags beyond what is documented there.
",
+ "CreateLoggingConfigurationRequest$tags": "Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints on tags beyond what is documented there.
",
"CreateLoggingConfigurationResponse$tags": "Tags attached to the resource, from the request (if specified). Array of maps, each of the form string:string (key:value)
.
",
- "CreateRoomRequest$tags": "Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints beyond what is documented there.
",
+ "CreateRoomRequest$tags": "Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints beyond what is documented there.
",
"CreateRoomResponse$tags": "Tags attached to the resource, from the request (if specified).
",
"GetLoggingConfigurationResponse$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
.
",
"GetRoomResponse$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
.
",
"ListTagsForResourceResponse$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
.
",
- "LoggingConfigurationSummary$tags": "Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints on tags beyond what is documented there.
",
- "RoomSummary$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints beyond what is documented there.
",
- "TagResourceRequest$tags": "Array of tags to be added or updated. Array of maps, each of the form string:string (key:value)
. See Tagging AWS Resources for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints beyond what is documented there.
",
+ "LoggingConfigurationSummary$tags": "Tags to attach to the resource. Array of maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints on tags beyond what is documented there.
",
+ "RoomSummary$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints beyond what is documented there.
",
+ "TagResourceRequest$tags": "Array of tags to be added or updated. Array of maps, each of the form string:string (key:value)
. See Best practices and strategies in Tagging Amazon Web Services Resources and Tag Editor for details, including restrictions that apply to tags and \"Tag naming limits and requirements\"; Amazon IVS Chat has no constraints beyond what is documented there.
",
"UpdateLoggingConfigurationResponse$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
.
",
"UpdateRoomResponse$tags": "Tags attached to the resource. Array of maps, each of the form string:string (key:value)
.
"
}
diff --git a/apis/lambda/2015-03-31/api-2.json b/apis/lambda/2015-03-31/api-2.json
index ee07cb6f752..1f4059a6d84 100644
--- a/apis/lambda/2015-03-31/api-2.json
+++ b/apis/lambda/2015-03-31/api-2.json
@@ -47,7 +47,8 @@
{"shape":"InvalidParameterValueException"},
{"shape":"PolicyLengthExceededException"},
{"shape":"TooManyRequestsException"},
- {"shape":"PreconditionFailedException"}
+ {"shape":"PreconditionFailedException"},
+ {"shape":"PublicPolicyException"}
]
},
"CreateAlias":{
@@ -294,6 +295,23 @@
{"shape":"ServiceException"}
]
},
+ "DeleteResourcePolicy":{
+ "name":"DeleteResourcePolicy",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/2024-09-16/resource-policy/{ResourceArn}",
+ "responseCode":204
+ },
+ "input":{"shape":"DeleteResourcePolicyRequest"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ResourceConflictException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"TooManyRequestsException"},
+ {"shape":"PreconditionFailedException"}
+ ]
+ },
"GetAccountSettings":{
"name":"GetAccountSettings",
"http":{
@@ -548,6 +566,38 @@
{"shape":"ProvisionedConcurrencyConfigNotFoundException"}
]
},
+ "GetPublicAccessBlockConfig":{
+ "name":"GetPublicAccessBlockConfig",
+ "http":{
+ "method":"GET",
+ "requestUri":"/2024-09-16/public-access-block/{ResourceArn}",
+ "responseCode":200
+ },
+ "input":{"shape":"GetPublicAccessBlockConfigRequest"},
+ "output":{"shape":"GetPublicAccessBlockConfigResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"TooManyRequestsException"},
+ {"shape":"InvalidParameterValueException"}
+ ]
+ },
+ "GetResourcePolicy":{
+ "name":"GetResourcePolicy",
+ "http":{
+ "method":"GET",
+ "requestUri":"/2024-09-16/resource-policy/{ResourceArn}",
+ "responseCode":200
+ },
+ "input":{"shape":"GetResourcePolicyRequest"},
+ "output":{"shape":"GetResourcePolicyResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"TooManyRequestsException"},
+ {"shape":"InvalidParameterValueException"}
+ ]
+ },
"GetRuntimeManagementConfig":{
"name":"GetRuntimeManagementConfig",
"http":{
@@ -972,6 +1022,43 @@
{"shape":"ServiceException"}
]
},
+ "PutPublicAccessBlockConfig":{
+ "name":"PutPublicAccessBlockConfig",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/2024-09-16/public-access-block/{ResourceArn}",
+ "responseCode":200
+ },
+ "input":{"shape":"PutPublicAccessBlockConfigRequest"},
+ "output":{"shape":"PutPublicAccessBlockConfigResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ResourceConflictException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"TooManyRequestsException"}
+ ]
+ },
+ "PutResourcePolicy":{
+ "name":"PutResourcePolicy",
+ "http":{
+ "method":"PUT",
+ "requestUri":"/2024-09-16/resource-policy/{ResourceArn}",
+ "responseCode":200
+ },
+ "input":{"shape":"PutResourcePolicyRequest"},
+ "output":{"shape":"PutResourcePolicyResponse"},
+ "errors":[
+ {"shape":"ServiceException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ResourceConflictException"},
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"PolicyLengthExceededException"},
+ {"shape":"TooManyRequestsException"},
+ {"shape":"PreconditionFailedException"},
+ {"shape":"PublicPolicyException"}
+ ]
+ },
"PutRuntimeManagementConfig":{
"name":"PutRuntimeManagementConfig",
"http":{
@@ -1018,7 +1105,8 @@
{"shape":"ResourceNotFoundException"},
{"shape":"InvalidParameterValueException"},
{"shape":"TooManyRequestsException"},
- {"shape":"PreconditionFailedException"}
+ {"shape":"PreconditionFailedException"},
+ {"shape":"PublicPolicyException"}
]
},
"TagResource":{
@@ -1512,7 +1600,8 @@
"members":{
"Description":{"shape":"Description"},
"AllowedPublishers":{"shape":"AllowedPublishers"},
- "CodeSigningPolicies":{"shape":"CodeSigningPolicies"}
+ "CodeSigningPolicies":{"shape":"CodeSigningPolicies"},
+ "Tags":{"shape":"Tags"}
}
},
"CreateCodeSigningConfigResponse":{
@@ -1539,6 +1628,7 @@
"MaximumRecordAgeInSeconds":{"shape":"MaximumRecordAgeInSeconds"},
"BisectBatchOnFunctionError":{"shape":"BisectBatchOnFunctionError"},
"MaximumRetryAttempts":{"shape":"MaximumRetryAttemptsEventSourceMapping"},
+ "Tags":{"shape":"Tags"},
"TumblingWindowInSeconds":{"shape":"TumblingWindowInSeconds"},
"Topics":{"shape":"Topics"},
"Queues":{"shape":"Queues"},
@@ -1792,6 +1882,22 @@
}
}
},
+ "DeleteResourcePolicyRequest":{
+ "type":"structure",
+ "required":["ResourceArn"],
+ "members":{
+ "ResourceArn":{
+ "shape":"PolicyResourceArn",
+ "location":"uri",
+ "locationName":"ResourceArn"
+ },
+ "RevisionId":{
+ "shape":"RevisionId",
+ "location":"querystring",
+ "locationName":"RevisionId"
+ }
+ }
+ },
"Description":{
"type":"string",
"max":256,
@@ -1962,6 +2068,12 @@
"max":10240,
"min":512
},
+ "EventSourceMappingArn":{
+ "type":"string",
+ "max":120,
+ "min":85,
+ "pattern":"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}:\\d{12}:event-source-mapping:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}"
+ },
"EventSourceMappingConfiguration":{
"type":"structure",
"members":{
@@ -1993,7 +2105,8 @@
"ScalingConfig":{"shape":"ScalingConfig"},
"DocumentDBEventSourceConfig":{"shape":"DocumentDBEventSourceConfig"},
"KMSKeyArn":{"shape":"KMSKeyArn"},
- "FilterCriteriaError":{"shape":"FilterCriteriaError"}
+ "FilterCriteriaError":{"shape":"FilterCriteriaError"},
+ "EventSourceMappingArn":{"shape":"EventSourceMappingArn"}
}
},
"EventSourceMappingsList":{
@@ -2555,6 +2668,41 @@
"LastModified":{"shape":"Timestamp"}
}
},
+ "GetPublicAccessBlockConfigRequest":{
+ "type":"structure",
+ "required":["ResourceArn"],
+ "members":{
+ "ResourceArn":{
+ "shape":"PublicAccessBlockResourceArn",
+ "location":"uri",
+ "locationName":"ResourceArn"
+ }
+ }
+ },
+ "GetPublicAccessBlockConfigResponse":{
+ "type":"structure",
+ "members":{
+ "PublicAccessBlockConfig":{"shape":"PublicAccessBlockConfig"}
+ }
+ },
+ "GetResourcePolicyRequest":{
+ "type":"structure",
+ "required":["ResourceArn"],
+ "members":{
+ "ResourceArn":{
+ "shape":"PolicyResourceArn",
+ "location":"uri",
+ "locationName":"ResourceArn"
+ }
+ }
+ },
+ "GetResourcePolicyResponse":{
+ "type":"structure",
+ "members":{
+ "Policy":{"shape":"ResourcePolicy"},
+ "RevisionId":{"shape":"RevisionId"}
+ }
+ },
"GetRuntimeManagementConfigRequest":{
"type":"structure",
"required":["FunctionName"],
@@ -3341,7 +3489,7 @@
"required":["Resource"],
"members":{
"Resource":{
- "shape":"FunctionArn",
+ "shape":"TaggableResource",
"location":"uri",
"locationName":"ARN"
}
@@ -3561,6 +3709,11 @@
"error":{"httpStatusCode":400},
"exception":true
},
+ "PolicyResourceArn":{
+ "type":"string",
+ "max":256,
+ "pattern":"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+(:(\\$LATEST|[a-zA-Z0-9-_])+)?"
+ },
"PositiveInteger":{
"type":"integer",
"min":1
@@ -3617,6 +3770,27 @@
"FAILED"
]
},
+ "PublicAccessBlockConfig":{
+ "type":"structure",
+ "members":{
+ "BlockPublicPolicy":{"shape":"NullableBoolean"},
+ "RestrictPublicResource":{"shape":"NullableBoolean"}
+ }
+ },
+ "PublicAccessBlockResourceArn":{
+ "type":"string",
+ "max":170,
+ "pattern":"arn:(aws[a-zA-Z-]*)?:lambda:[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}:\\d{12}:function:[a-zA-Z0-9-_]+"
+ },
+ "PublicPolicyException":{
+ "type":"structure",
+ "members":{
+ "Type":{"shape":"String"},
+ "Message":{"shape":"String"}
+ },
+ "error":{"httpStatusCode":400},
+ "exception":true
+ },
"PublishLayerVersionRequest":{
"type":"structure",
"required":[
@@ -3777,6 +3951,50 @@
"LastModified":{"shape":"Timestamp"}
}
},
+ "PutPublicAccessBlockConfigRequest":{
+ "type":"structure",
+ "required":[
+ "ResourceArn",
+ "PublicAccessBlockConfig"
+ ],
+ "members":{
+ "ResourceArn":{
+ "shape":"PublicAccessBlockResourceArn",
+ "location":"uri",
+ "locationName":"ResourceArn"
+ },
+ "PublicAccessBlockConfig":{"shape":"PublicAccessBlockConfig"}
+ }
+ },
+ "PutPublicAccessBlockConfigResponse":{
+ "type":"structure",
+ "members":{
+ "PublicAccessBlockConfig":{"shape":"PublicAccessBlockConfig"}
+ }
+ },
+ "PutResourcePolicyRequest":{
+ "type":"structure",
+ "required":[
+ "ResourceArn",
+ "Policy"
+ ],
+ "members":{
+ "ResourceArn":{
+ "shape":"PolicyResourceArn",
+ "location":"uri",
+ "locationName":"ResourceArn"
+ },
+ "Policy":{"shape":"ResourcePolicy"},
+ "RevisionId":{"shape":"RevisionId"}
+ }
+ },
+ "PutResourcePolicyResponse":{
+ "type":"structure",
+ "members":{
+ "Policy":{"shape":"ResourcePolicy"},
+ "RevisionId":{"shape":"RevisionId"}
+ }
+ },
"PutRuntimeManagementConfigRequest":{
"type":"structure",
"required":[
@@ -3956,6 +4174,12 @@
"error":{"httpStatusCode":502},
"exception":true
},
+ "ResourcePolicy":{
+ "type":"string",
+ "max":20480,
+ "min":1,
+ "pattern":"[\\s\\S]+"
+ },
"ResponseStreamingInvocationType":{
"type":"string",
"enum":[
@@ -3963,6 +4187,12 @@
"DryRun"
]
},
+ "RevisionId":{
+ "type":"string",
+ "max":36,
+ "min":36,
+ "pattern":"[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}"
+ },
"RoleArn":{
"type":"string",
"pattern":"arn:(aws[a-zA-Z-]*)?:iam::\\d{12}:role/?[a-zA-Z_0-9+=,.@\\-_/]+"
@@ -4261,7 +4491,7 @@
],
"members":{
"Resource":{
- "shape":"FunctionArn",
+ "shape":"TaggableResource",
"location":"uri",
"locationName":"ARN"
},
@@ -4269,6 +4499,12 @@
}
},
"TagValue":{"type":"string"},
+ "TaggableResource":{
+ "type":"string",
+ "max":256,
+ "min":1,
+ "pattern":"arn:(aws[a-zA-Z-]*):lambda:[a-z]{2}((-gov)|(-iso([a-z]?)))?-[a-z]+-\\d{1}:\\d{12}:(function:[a-zA-Z0-9-_]+(:(\\$LATEST|[a-zA-Z0-9-_]+))?|code-signing-config:csc-[a-z0-9]{17}|event-source-mapping:[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})"
+ },
"Tags":{
"type":"map",
"key":{"shape":"TagKey"},
@@ -4374,7 +4610,7 @@
],
"members":{
"Resource":{
- "shape":"FunctionArn",
+ "shape":"TaggableResource",
"location":"uri",
"locationName":"ARN"
},
diff --git a/apis/lambda/2015-03-31/docs-2.json b/apis/lambda/2015-03-31/docs-2.json
index db95e19b364..57b98a632b8 100644
--- a/apis/lambda/2015-03-31/docs-2.json
+++ b/apis/lambda/2015-03-31/docs-2.json
@@ -3,7 +3,7 @@
"service": "Lambda Overview
Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.
The Lambda API Reference provides information about each of the API methods, including details about the parameters in each API request and response.
You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see Tools for Amazon Web Services.
For a list of Region-specific endpoints that Lambda supports, see Lambda endpoints and quotas in the Amazon Web Services General Reference..
When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see Signature Version 4 signing process in the Amazon Web Services General Reference..
CA certificates
Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:
-
Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list.
-
Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list.
-
Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list.
-
Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list.
When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs:
Root certificates from the first two authorities are available from Amazon trust services, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs.
",
"operations": {
"AddLayerVersionPermission": "Adds permissions to the resource-based policy of a version of an Lambda layer. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts.
To revoke permission, call RemoveLayerVersionPermission with the statement ID that you specified when you added it.
",
- "AddPermission": "Grants an Amazon Web Servicesservice, Amazon Web Services account, or Amazon Web Services organization permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST.
To grant permission to another account, specify the account ID as the Principal
. To grant permission to an organization defined in Organizations, specify the organization ID as the PrincipalOrgID
. For Amazon Web Servicesservices, the principal is a domain-style identifier that the service defines, such as s3.amazonaws.com
or sns.amazonaws.com
. For Amazon Web Servicesservices, you can also specify the ARN of the associated resource as the SourceArn
. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.
This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Using resource-based policies for Lambda.
",
+ "AddPermission": "Grants a principal permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies to version $LATEST.
To grant permission to another account, specify the account ID as the Principal
. To grant permission to an organization defined in Organizations, specify the organization ID as the PrincipalOrgID
. For Amazon Web Servicesservices, the principal is a domain-style identifier that the service defines, such as s3.amazonaws.com
or sns.amazonaws.com
. For Amazon Web Servicesservices, you can also specify the ARN of the associated resource as the SourceArn
. If you grant permission to a service principal without specifying the source, other accounts could potentially configure resources in their account to invoke your Lambda function.
This operation adds a statement to a resource-based permissions policy for the function. For more information about function policies, see Using resource-based policies for Lambda.
",
"CreateAlias": "Creates an alias for a Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a different version.
You can also map an alias to split invocation requests between two versions. Use the RoutingConfig
parameter to specify a second version and the percentage of invocation requests that it receives.
",
"CreateCodeSigningConfig": "Creates a code signing configuration. A code signing configuration defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail).
",
"CreateEventSourceMapping": "Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.
For details about how to configure different event sources, see the following topics.
The following error handling options are available only for stream sources (DynamoDB and Kinesis):
-
BisectBatchOnFunctionError
– If the function returns an error, split the batch in two and retry.
-
DestinationConfig
– Send discarded records to an Amazon SQS queue or Amazon SNS topic.
-
MaximumRecordAgeInSeconds
– Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires
-
MaximumRetryAttempts
– Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
-
ParallelizationFactor
– Process multiple batches from each shard concurrently.
For information about which configuration parameters apply to each event source, see the following topics.
",
@@ -19,6 +19,7 @@
"DeleteFunctionUrlConfig": "Deletes a Lambda function URL. When you delete a function URL, you can't recover it. Creating a new function URL results in a different URL address.
",
"DeleteLayerVersion": "Deletes a version of an Lambda layer. Deleted versions can no longer be viewed or added to functions. To avoid breaking functions, a copy of the version remains in Lambda until no functions refer to it.
",
"DeleteProvisionedConcurrencyConfig": "Deletes the provisioned concurrency configuration for a function.
",
+ "DeleteResourcePolicy": " The option to create and modify full JSON resource-based policies, and to use the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs, won't be available in all Amazon Web Services Regions until September 30, 2024.
Deletes a resource-based policy from a function.
",
"GetAccountSettings": "Retrieves details about your account's limits and usage in an Amazon Web Services Region.
",
"GetAlias": "Returns details about a Lambda function alias.
",
"GetCodeSigningConfig": "Returns information about the specified code signing configuration.
",
@@ -35,6 +36,8 @@
"GetLayerVersionPolicy": "Returns the permission policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.
",
"GetPolicy": "Returns the resource-based IAM policy for a function, version, or alias.
",
"GetProvisionedConcurrencyConfig": "Retrieves the provisioned concurrency configuration for a function's alias or version.
",
+ "GetPublicAccessBlockConfig": " The option to configure public-access settings, and to use the PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be available in all Amazon Web Services Regions until September 30, 2024.
Retrieve the public-access settings for a function.
",
+ "GetResourcePolicy": " The option to create and modify full JSON resource-based policies, and to use the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs, won't be available in all Amazon Web Services Regions until September 30, 2024.
Retrieves the resource-based policy attached to a function.
",
"GetRuntimeManagementConfig": "Retrieves the runtime management configuration for a function's version. If the runtime update mode is Manual, this includes the ARN of the runtime version and the runtime update mode. If the runtime update mode is Auto or Function update, this includes the runtime update mode and null
is returned for the ARN. For more information, see Runtime updates.
",
"Invoke": "Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType
is RequestResponse
). To invoke a function asynchronously, set InvocationType
to Event
. Lambda passes the ClientContext
object to your function for synchronous invocations only.
For synchronous invocation, details about the function response, including errors, are included in the response body and headers. For either invocation type, you can find more information in the execution log and trace.
When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in Lambda.
For asynchronous invocation, Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.
The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and configuration. For example, Lambda returns TooManyRequestsException
if running the function would cause you to exceed a concurrency limit at either the account level (ConcurrentInvocationLimitExceeded
) or function level (ReservedFunctionConcurrentInvocationLimitExceeded
).
For functions with a long timeout, your client might disconnect during synchronous invocation while it waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long connections with timeout or keep-alive settings.
This operation requires permission for the lambda:InvokeFunction action. For details on how to set up permissions for cross-account invocations, see Granting function access to other accounts.
",
"InvokeAsync": " For asynchronous function invocation, use Invoke.
Invokes a function asynchronously.
If you do use the InvokeAsync action, note that it doesn't support the use of X-Ray active tracing. Trace ID is not propagated to the function, even if X-Ray active tracing is turned on.
",
@@ -49,7 +52,7 @@
"ListLayerVersions": "Lists the versions of an Lambda layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layer versions that are compatible with that architecture.
",
"ListLayers": "Lists Lambda layers and shows information about the latest version of each. Specify a runtime identifier to list only layers that indicate that they're compatible with that runtime. Specify a compatible architecture to include only layers that are compatible with that instruction set architecture.
",
"ListProvisionedConcurrencyConfigs": "Retrieves a list of provisioned concurrency configurations for a function.
",
- "ListTags": "Returns a function's tags. You can also view tags with GetFunction.
",
+ "ListTags": "Returns a function, event source mapping, or code signing configuration's tags. You can also view funciton tags with GetFunction.
",
"ListVersionsByFunction": "Returns a list of versions, with the version-specific configuration of each. Lambda returns up to 50 versions per call.
",
"PublishLayerVersion": "Creates an Lambda layer from a ZIP archive. Each time you call PublishLayerVersion
with the same layer name, a new version is created.
Add layers to your function with CreateFunction or UpdateFunctionConfiguration.
",
"PublishVersion": "Creates a version from the current code and configuration of a function. Use versions to create a snapshot of your function code and configuration that doesn't change.
Lambda doesn't publish a version if the function's configuration and code haven't changed since the last version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the function before publishing a version.
Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias.
",
@@ -58,11 +61,13 @@
"PutFunctionEventInvokeConfig": "Configures options for asynchronous invocation on a function, version, or alias. If a configuration already exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without affecting existing settings for other options, use UpdateFunctionEventInvokeConfig.
By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with UpdateFunctionConfiguration.
To send an invocation record to a queue, topic, function, or event bus, specify a destination. You can configure separate destinations for successful invocations (on-success) and events that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a dead-letter queue.
",
"PutFunctionRecursionConfig": "Sets your function's recursive loop detection configuration.
When you configure a Lambda function to output to the same service or resource that invokes the function, it's possible to create an infinite recursive loop. For example, a Lambda function might write a message to an Amazon Simple Queue Service (Amazon SQS) queue, which then invokes the same function. This invocation causes the function to write another message to the queue, which in turn invokes the function again.
Lambda can detect certain types of recursive loops shortly after they occur. When Lambda detects a recursive loop and your function's recursive loop detection configuration is set to Terminate
, it stops your function being invoked and notifies you.
",
"PutProvisionedConcurrencyConfig": "Adds a provisioned concurrency configuration to a function's alias or version.
",
+ "PutPublicAccessBlockConfig": " The option to configure public-access settings, and to use the PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be available in all Amazon Web Services Regions until September 30, 2024.
Configure your function's public-access settings.
To control public access to a Lambda function, you can choose whether to allow the creation of resource-based policies that allow public access to that function. You can also block public access to a function, even if it has an existing resource-based policy that allows it.
",
+ "PutResourcePolicy": " The option to create and modify full JSON resource-based policies, and to use the PutResourcePolicy, GetResourcePolicy, and DeleteResourcePolicy APIs, won't be available in all Amazon Web Services Regions until September 30, 2024.
Adds a resource-based policy to a function. You can use resource-based policies to grant access to other Amazon Web Services accounts, organizations, or services. Resource-based policies apply to a single function, version, or alias.
Adding a resource-based policy using this API action replaces any existing policy you've previously created. This means that if you've previously added resource-based permissions to a function using the AddPermission action, those permissions will be overwritten by your new policy.
",
"PutRuntimeManagementConfig": "Sets the runtime management configuration for a function's version. For more information, see Runtime updates.
",
"RemoveLayerVersionPermission": "Removes a statement from the permissions policy for a version of an Lambda layer. For more information, see AddLayerVersionPermission.
",
"RemovePermission": "Revokes function-use permission from an Amazon Web Servicesservice or another Amazon Web Services account. You can get the ID of the statement from the output of GetPolicy.
",
- "TagResource": "Adds tags to a function.
",
- "UntagResource": "Removes tags from a function.
",
+ "TagResource": "Adds tags to a function, event source mapping, or code signing configuration.
",
+ "UntagResource": "Removes tags from a function, event source mapping, or code signing configuration.
",
"UpdateAlias": "Updates the configuration of a Lambda function alias.
",
"UpdateCodeSigningConfig": "Update the code signing configuration. Changes to the code signing configuration take effect the next time a user tries to deploy a code package to the function.
",
"UpdateEventSourceMapping": "Updates an event source mapping. You can change the function that Lambda invokes, or pause invocation and resume later from the same location.
For details about how to configure different event sources, see the following topics.
The following error handling options are available only for stream sources (DynamoDB and Kinesis):
-
BisectBatchOnFunctionError
– If the function returns an error, split the batch in two and retry.
-
DestinationConfig
– Send discarded records to an Amazon SQS queue or Amazon SNS topic.
-
MaximumRecordAgeInSeconds
– Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires
-
MaximumRetryAttempts
– Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.
-
ParallelizationFactor
– Process multiple batches from each shard concurrently.
For information about which configuration parameters apply to each event source, see the following topics.
",
@@ -482,6 +487,11 @@
"refs": {
}
},
+ "DeleteResourcePolicyRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
"Description": {
"base": null,
"refs": {
@@ -650,6 +660,12 @@
"EphemeralStorage$Size": "The size of the function's /tmp
directory.
"
}
},
+ "EventSourceMappingArn": {
+ "base": null,
+ "refs": {
+ "EventSourceMappingConfiguration$EventSourceMappingArn": "The Amazon Resource Name (ARN) of the event source mapping.
"
+ }
+ },
"EventSourceMappingConfiguration": {
"base": "A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.
",
"refs": {
@@ -750,11 +766,8 @@
"FunctionEventInvokeConfig$FunctionArn": "The Amazon Resource Name (ARN) of the function.
",
"FunctionUrlConfig$FunctionArn": "The Amazon Resource Name (ARN) of your function.
",
"GetFunctionUrlConfigResponse$FunctionArn": "The Amazon Resource Name (ARN) of your function.
",
- "ListTagsRequest$Resource": "The function's Amazon Resource Name (ARN). Note: Lambda does not support adding tags to aliases or versions.
",
"ProvisionedConcurrencyConfigListItem$FunctionArn": "The Amazon Resource Name (ARN) of the alias or version.
",
"PutRuntimeManagementConfigResponse$FunctionArn": "The ARN of the function
",
- "TagResourceRequest$Resource": "The function's Amazon Resource Name (ARN).
",
- "UntagResourceRequest$Resource": "The function's Amazon Resource Name (ARN).
",
"UpdateFunctionUrlConfigResponse$FunctionArn": "The Amazon Resource Name (ARN) of your function.
"
}
},
@@ -1042,6 +1055,26 @@
"refs": {
}
},
+ "GetPublicAccessBlockConfigRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetPublicAccessBlockConfigResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetResourcePolicyRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetResourcePolicyResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"GetRuntimeManagementConfigRequest": {
"base": null,
"refs": {
@@ -1694,6 +1727,8 @@
"NullableBoolean": {
"base": null,
"refs": {
+ "PublicAccessBlockConfig$BlockPublicPolicy": "To block the creation of resource-based policies that would grant public access to your function, set BlockPublicPolicy
to true
. To allow the creation of resource-based policies that would grant public access to your function, set BlockPublicPolicy
to false
.
",
+ "PublicAccessBlockConfig$RestrictPublicResource": "To block public access to your function, even if its resource-based policy allows it, set RestrictPublicResource
to true
. To allow public access to a function with a resource-based policy that permits it, set RestrictPublicResource
to false
.
",
"VpcConfig$Ipv6AllowedForDualStack": "Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
",
"VpcConfigResponse$Ipv6AllowedForDualStack": "Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.
"
}
@@ -1748,6 +1783,14 @@
"refs": {
}
},
+ "PolicyResourceArn": {
+ "base": null,
+ "refs": {
+ "DeleteResourcePolicyRequest$ResourceArn": "The Amazon Resource Name (ARN) of the function you want to delete the policy from. You can use either a qualified or an unqualified ARN, but the value you specify must be a complete ARN and wildcard characters are not accepted.
",
+ "GetResourcePolicyRequest$ResourceArn": "The Amazon Resource Name (ARN) of the function you want to retrieve the policy for. You can use either a qualified or an unqualified ARN, but the value you specify must be a complete ARN and wildcard characters are not accepted.
",
+ "PutResourcePolicyRequest$ResourceArn": "The Amazon Resource Name (ARN) of the function you want to add the policy to. You can use either a qualified or an unqualified ARN, but the value you specify must be a complete ARN and wildcard characters are not accepted.
"
+ }
+ },
"PositiveInteger": {
"base": null,
"refs": {
@@ -1765,7 +1808,7 @@
"Principal": {
"base": null,
"refs": {
- "AddPermissionRequest$Principal": "The Amazon Web Servicesservice or Amazon Web Services account that invokes the function. If you specify a service, use SourceArn
or SourceAccount
to limit who can invoke the function through that service.
"
+ "AddPermissionRequest$Principal": "The Amazon Web Servicesservice, Amazon Web Services account, IAM user, or IAM role that invokes the function. If you specify a service, use SourceArn
or SourceAccount
to limit who can invoke the function through that service.
"
}
},
"PrincipalOrgID": {
@@ -1799,6 +1842,26 @@
"PutProvisionedConcurrencyConfigResponse$Status": "The status of the allocation process.
"
}
},
+ "PublicAccessBlockConfig": {
+ "base": "An object that defines the public-access settings for a function.
",
+ "refs": {
+ "GetPublicAccessBlockConfigResponse$PublicAccessBlockConfig": "The public-access settings configured for the function you specified
",
+ "PutPublicAccessBlockConfigRequest$PublicAccessBlockConfig": "An object defining the public-access settings you want to apply.
To block the creation of resource-based policies that would grant public access to your function, set BlockPublicPolicy
to true
. To allow the creation of resource-based policies that would grant public access to your function, set BlockPublicPolicy
to false
.
To block public access to your function, even if its resource-based policy allows it, set RestrictPublicResource
to true
. To allow public access to a function with a resource-based policy that permits it, set RestrictPublicResource
to false
.
The default setting for both BlockPublicPolicy
and RestrictPublicResource
is true
.
",
+ "PutPublicAccessBlockConfigResponse$PublicAccessBlockConfig": "The public-access settings Lambda applied to your function.
"
+ }
+ },
+ "PublicAccessBlockResourceArn": {
+ "base": null,
+ "refs": {
+ "GetPublicAccessBlockConfigRequest$ResourceArn": "The Amazon Resource Name (ARN) of the function you want to retrieve public-access settings for.
",
+ "PutPublicAccessBlockConfigRequest$ResourceArn": "The Amazon Resource Name (ARN) of the function you want to configure public-access settings for. Public-access settings are applied at the function level, so you can't apply different settings to function versions or aliases.
"
+ }
+ },
+ "PublicPolicyException": {
+ "base": "Lambda prevented your policy from being created because it would grant public access to your function. If you intended to create a public policy, use the PutPublicAccessBlockConfig API action to configure your function's public-access settings to allow public policies.
",
+ "refs": {
+ }
+ },
"PublishLayerVersionRequest": {
"base": null,
"refs": {
@@ -1854,6 +1917,26 @@
"refs": {
}
},
+ "PutPublicAccessBlockConfigRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutPublicAccessBlockConfigResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutResourcePolicyRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "PutResourcePolicyResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"PutRuntimeManagementConfigRequest": {
"base": null,
"refs": {
@@ -1961,12 +2044,29 @@
"refs": {
}
},
+ "ResourcePolicy": {
+ "base": null,
+ "refs": {
+ "GetResourcePolicyResponse$Policy": "The resource-based policy attached to the function you specified.
",
+ "PutResourcePolicyRequest$Policy": "The JSON resource-based policy you want to add to your function.
To learn more about creating resource-based policies for controlling access to Lambda, see Working with resource-based IAM policies in Lambda in the Lambda Developer Guide.
",
+ "PutResourcePolicyResponse$Policy": "The policy Lambda added to your function.
"
+ }
+ },
"ResponseStreamingInvocationType": {
"base": null,
"refs": {
"InvokeWithResponseStreamRequest$InvocationType": "Use one of the following options:
-
RequestResponse
(default) – Invoke the function synchronously. Keep the connection open until the function returns a response or times out. The API operation response includes the function response and additional data.
-
DryRun
– Validate parameter values and verify that the IAM user or role has permission to invoke the function.
"
}
},
+ "RevisionId": {
+ "base": null,
+ "refs": {
+ "DeleteResourcePolicyRequest$RevisionId": "Delete the existing policy only if its revision ID matches the string you specify. To find the revision ID of the policy currently attached to your function, use the GetResourcePolicy action.
",
+ "GetResourcePolicyResponse$RevisionId": "The revision ID of the policy.
",
+ "PutResourcePolicyRequest$RevisionId": "Replace the existing policy only if its revision ID matches the string you specify. To find the revision ID of the policy currently attached to your function, use the GetResourcePolicy action.
",
+ "PutResourcePolicyResponse$RevisionId": "The revision ID of the policy Lambda added to your function.
"
+ }
+ },
"RoleArn": {
"base": null,
"refs": {
@@ -2293,6 +2393,8 @@
"ProvisionedConcurrencyConfigListItem$StatusReason": "For failed allocations, the reason that provisioned concurrency could not be allocated.
",
"ProvisionedConcurrencyConfigNotFoundException$Type": null,
"ProvisionedConcurrencyConfigNotFoundException$message": null,
+ "PublicPolicyException$Type": "The exception type.
",
+ "PublicPolicyException$Message": null,
"PublishVersionRequest$CodeSha256": "Only publish a version if the hash value matches the value that's specified. Use this option to avoid publishing a version if the function code has changed since you last updated it. You can get the hash for the version that you uploaded from the output of UpdateFunctionCode.
",
"PublishVersionRequest$RevisionId": "Only update the function if the revision ID matches the ID that's specified. Use this option to avoid publishing a version if the function configuration has changed since you last updated it.
",
"PutProvisionedConcurrencyConfigResponse$StatusReason": "For failed allocations, the reason that provisioned concurrency could not be allocated.
",
@@ -2375,7 +2477,7 @@
"TagKeyList": {
"base": null,
"refs": {
- "UntagResourceRequest$TagKeys": "A list of tag keys to remove from the function.
"
+ "UntagResourceRequest$TagKeys": "A list of tag keys to remove from the resource.
"
}
},
"TagResourceRequest": {
@@ -2389,13 +2491,23 @@
"Tags$value": null
}
},
+ "TaggableResource": {
+ "base": null,
+ "refs": {
+ "ListTagsRequest$Resource": "The resource's Amazon Resource Name (ARN). Note: Lambda does not support adding tags to function aliases or versions.
",
+ "TagResourceRequest$Resource": "The resource's Amazon Resource Name (ARN).
",
+ "UntagResourceRequest$Resource": "The resource's Amazon Resource Name (ARN).
"
+ }
+ },
"Tags": {
"base": null,
"refs": {
+ "CreateCodeSigningConfigRequest$Tags": "A list of tags to add to the code signing configuration.
",
+ "CreateEventSourceMappingRequest$Tags": "A list of tags to apply to the event source mapping.
",
"CreateFunctionRequest$Tags": "A list of tags to apply to the function.
",
"GetFunctionResponse$Tags": "The function's tags.
",
"ListTagsResponse$Tags": "The function's tags.
",
- "TagResourceRequest$Tags": "A list of tags to apply to the function.
"
+ "TagResourceRequest$Tags": "A list of tags to apply to the resource.
"
}
},
"ThrottleReason": {
diff --git a/apis/lambda/2015-03-31/examples-1.json b/apis/lambda/2015-03-31/examples-1.json
index 0ea7e3b0bbe..b2902df011c 100644
--- a/apis/lambda/2015-03-31/examples-1.json
+++ b/apis/lambda/2015-03-31/examples-1.json
@@ -1,5 +1,1513 @@
{
"version": "1.0",
"examples": {
+ "AddLayerVersionPermission": [
+ {
+ "input": {
+ "Action": "lambda:GetLayerVersion",
+ "LayerName": "my-layer",
+ "Principal": "223456789012",
+ "StatementId": "xaccount",
+ "VersionNumber": 1
+ },
+ "output": {
+ "RevisionId": "35d87451-f796-4a3f-a618-95a3671b0a0c",
+ "Statement": "{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::223456789012:root\"},\"Action\":\"lambda:GetLayerVersion\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1\"}"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example grants permission for the account 223456789012 to use version 1 of a layer named my-layer.",
+ "id": "to-add-permissions-to-a-layer-version-1586479797163",
+ "title": "To add permissions to a layer version"
+ }
+ ],
+ "AddPermission": [
+ {
+ "input": {
+ "Action": "lambda:InvokeFunction",
+ "FunctionName": "my-function",
+ "Principal": "s3.amazonaws.com",
+ "SourceAccount": "123456789012",
+ "SourceArn": "arn:aws:s3:::my-bucket-1xpuxmplzrlbh/*",
+ "StatementId": "s3"
+ },
+ "output": {
+ "Statement": "{\"Sid\":\"s3\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"s3.amazonaws.com\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function\",\"Condition\":{\"StringEquals\":{\"AWS:SourceAccount\":\"123456789012\"},\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:s3:::my-bucket-1xpuxmplzrlbh\"}}}"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example adds permission for Amazon S3 to invoke a Lambda function named my-function for notifications from a bucket named my-bucket-1xpuxmplzrlbh in account 123456789012.",
+ "id": "add-permission-1474651469455",
+ "title": "To grant Amazon S3 permission to invoke a function"
+ },
+ {
+ "input": {
+ "Action": "lambda:InvokeFunction",
+ "FunctionName": "my-function",
+ "Principal": "223456789012",
+ "StatementId": "xaccount"
+ },
+ "output": {
+ "Statement": "{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::223456789012:root\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function\"}"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example adds permission for account 223456789012 invoke a Lambda function named my-function.",
+ "id": "add-permission-1474651469456",
+ "title": "To grant another account permission to invoke a function"
+ }
+ ],
+ "CreateAlias": [
+ {
+ "input": {
+ "Description": "alias for live version of function",
+ "FunctionName": "my-function",
+ "FunctionVersion": "1",
+ "Name": "LIVE"
+ },
+ "output": {
+ "AliasArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:LIVE",
+ "Description": "alias for live version of function",
+ "FunctionVersion": "1",
+ "Name": "LIVE",
+ "RevisionId": "873282ed-xmpl-4dc8-a069-d0c647e470c6"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example creates an alias named LIVE that points to version 1 of the my-function Lambda function.",
+ "id": "to-create-an-alias-for-a-lambda-function-1586480324259",
+ "title": "To create an alias for a Lambda function"
+ }
+ ],
+ "CreateEventSourceMapping": [
+ {
+ "input": {
+ "BatchSize": 5,
+ "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue",
+ "FunctionName": "my-function"
+ },
+ "output": {
+ "BatchSize": 5,
+ "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue",
+ "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ "LastModified": 1569284520.333,
+ "State": "Creating",
+ "StateTransitionReason": "USER_INITIATED",
+ "UUID": "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example creates a mapping between an SQS queue and the my-function Lambda function.",
+ "id": "to-create-a-mapping-between-an-event-source-and-an-aws-lambda-function-1586480555467",
+ "title": "To create a mapping between an event source and an AWS Lambda function"
+ }
+ ],
+ "CreateFunction": [
+ {
+ "input": {
+ "Code": {
+ "S3Bucket": "my-bucket-1xpuxmplzrlbh",
+ "S3Key": "function.zip"
+ },
+ "Description": "Process image objects from Amazon S3.",
+ "Environment": {
+ "Variables": {
+ "BUCKET": "my-bucket-1xpuxmplzrlbh",
+ "PREFIX": "inbound"
+ }
+ },
+ "FunctionName": "my-function",
+ "Handler": "index.handler",
+ "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ "MemorySize": 256,
+ "Publish": true,
+ "Role": "arn:aws:iam::123456789012:role/lambda-role",
+ "Runtime": "nodejs12.x",
+ "Tags": {
+ "DEPARTMENT": "Assets"
+ },
+ "Timeout": 15,
+ "TracingConfig": {
+ "Mode": "Active"
+ }
+ },
+ "output": {
+ "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ "CodeSize": 5797206,
+ "Description": "Process image objects from Amazon S3.",
+ "Environment": {
+ "Variables": {
+ "BUCKET": "my-bucket-1xpuxmplzrlbh",
+ "PREFIX": "inbound"
+ }
+ },
+ "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ "FunctionName": "my-function",
+ "Handler": "index.handler",
+ "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ "LastModified": "2020-04-10T19:06:32.563+0000",
+ "LastUpdateStatus": "Successful",
+ "MemorySize": 256,
+ "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
+ "Role": "arn:aws:iam::123456789012:role/lambda-role",
+ "Runtime": "nodejs12.x",
+ "State": "Active",
+ "Timeout": 15,
+ "TracingConfig": {
+ "Mode": "Active"
+ },
+ "Version": "1"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example creates a function with a deployment package in Amazon S3 and enables X-Ray tracing and environment variable encryption.",
+ "id": "to-create-a-function-1586492061186",
+ "title": "To create a function"
+ }
+ ],
+ "DeleteAlias": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Name": "BLUE"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example deletes an alias named BLUE from a function named my-function",
+ "id": "to-delete-a-lambda-function-alias-1481660370804",
+ "title": "To delete a Lambda function alias"
+ }
+ ],
+ "DeleteEventSourceMapping": [
+ {
+ "input": {
+ "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
+ },
+ "output": {
+ "BatchSize": 5,
+ "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:my-queue",
+ "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function",
+ "LastModified": "${timestamp}",
+ "State": "Enabled",
+ "StateTransitionReason": "USER_INITIATED",
+ "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example deletes an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.",
+ "id": "to-delete-a-lambda-function-event-source-mapping-1481658973862",
+ "title": "To delete a Lambda function event source mapping"
+ }
+ ],
+ "DeleteFunction": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Qualifier": "1"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example deletes version 1 of a Lambda function named my-function.",
+ "id": "to-delete-a-lambda-function-1481648553696",
+ "title": "To delete a version of a Lambda function"
+ }
+ ],
+ "DeleteFunctionConcurrency": [
+ {
+ "input": {
+ "FunctionName": "my-function"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example deletes the reserved concurrent execution limit from a function named my-function.",
+ "id": "to-remove-the-reserved-concurrent-execution-limit-from-a-function-1586480714680",
+ "title": "To remove the reserved concurrent execution limit from a function"
+ }
+ ],
+ "DeleteFunctionEventInvokeConfig": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Qualifier": "GREEN"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example deletes the asynchronous invocation configuration for the GREEN alias of a function named my-function.",
+ "id": "to-delete-an-asynchronous-invocation-configuration-1586481102187",
+ "title": "To delete an asynchronous invocation configuration"
+ }
+ ],
+ "DeleteLayerVersion": [
+ {
+ "input": {
+ "LayerName": "my-layer",
+ "VersionNumber": 2
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example deletes version 2 of a layer named my-layer.",
+ "id": "to-delete-a-version-of-a-lambda-layer-1586481157547",
+ "title": "To delete a version of a Lambda layer"
+ }
+ ],
+ "DeleteProvisionedConcurrencyConfig": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Qualifier": "GREEN"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example deletes the provisioned concurrency configuration for the GREEN alias of a function named my-function.",
+ "id": "to-delete-a-provisioned-concurrency-configuration-1586481032551",
+ "title": "To delete a provisioned concurrency configuration"
+ }
+ ],
+ "GetAccountSettings": [
+ {
+ "input": {
+ },
+ "output": {
+ "AccountLimit": {
+ "CodeSizeUnzipped": 262144000,
+ "CodeSizeZipped": 52428800,
+ "ConcurrentExecutions": 1000,
+ "TotalCodeSize": 80530636800,
+ "UnreservedConcurrentExecutions": 1000
+ },
+ "AccountUsage": {
+ "FunctionCount": 4,
+ "TotalCodeSize": 9426
+ }
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "This operation takes no parameters and returns details about storage and concurrency quotas in the current Region.",
+ "id": "to-get-account-settings-1481657495274",
+ "title": "To get account settings"
+ }
+ ],
+ "GetAlias": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Name": "BLUE"
+ },
+ "output": {
+ "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE",
+ "Description": "Production environment BLUE.",
+ "FunctionVersion": "3",
+ "Name": "BLUE",
+ "RevisionId": "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns details about an alias named BLUE for a function named my-function",
+ "id": "to-retrieve-a-lambda-function-alias-1481648742254",
+ "title": "To get a Lambda function alias"
+ }
+ ],
+ "GetEventSourceMapping": [
+ {
+ "input": {
+ "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
+ },
+ "output": {
+ "BatchSize": 500,
+ "BisectBatchOnFunctionError": false,
+ "DestinationConfig": {
+ },
+ "EventSourceArn": "arn:aws:sqs:us-east-2:123456789012:mySQSqueue",
+ "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:myFunction",
+ "LastModified": "${timestamp}",
+ "LastProcessingResult": "No records processed",
+ "MaximumRecordAgeInSeconds": 604800,
+ "MaximumRetryAttempts": 10000,
+ "State": "Creating",
+ "StateTransitionReason": "User action",
+ "UUID": "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns details about an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.",
+ "id": "to-get-a-lambda-functions-event-source-mapping-1481661622799",
+ "title": "To get a Lambda function's event source mapping"
+ }
+ ],
+ "GetFunction": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Qualifier": "1"
+ },
+ "output": {
+ "Code": {
+ "Location": "https://awslambda-us-west-2-tasks.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-function-e7d9d1ed-xmpl-4f79-904a-4b87f2681f30?versionId=sH3TQwBOaUy...",
+ "RepositoryType": "S3"
+ },
+ "Configuration": {
+ "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ "CodeSize": 5797206,
+ "Description": "Process image objects from Amazon S3.",
+ "Environment": {
+ "Variables": {
+ "BUCKET": "my-bucket-1xpuxmplzrlbh",
+ "PREFIX": "inbound"
+ }
+ },
+ "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ "FunctionName": "my-function",
+ "Handler": "index.handler",
+ "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ "LastModified": "2020-04-10T19:06:32.563+0000",
+ "LastUpdateStatus": "Successful",
+ "MemorySize": 256,
+ "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
+ "Role": "arn:aws:iam::123456789012:role/lambda-role",
+ "Runtime": "nodejs12.x",
+ "State": "Active",
+ "Timeout": 15,
+ "TracingConfig": {
+ "Mode": "Active"
+ },
+ "Version": "$LATEST"
+ },
+ "Tags": {
+ "DEPARTMENT": "Assets"
+ }
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns code and configuration details for version 1 of a function named my-function.",
+ "id": "to-get-a-lambda-function-1481661622799",
+ "title": "To get a Lambda function"
+ }
+ ],
+ "GetFunctionConcurrency": [
+ {
+ "input": {
+ "FunctionName": "my-function"
+ },
+ "output": {
+ "ReservedConcurrentExecutions": 250
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns the reserved concurrency setting for a function named my-function.",
+ "id": "to-get-the-reserved-concurrency-setting-for-a-function-1586481279992",
+ "title": "To get the reserved concurrency setting for a function"
+ }
+ ],
+ "GetFunctionConfiguration": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Qualifier": "1"
+ },
+ "output": {
+ "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ "CodeSize": 5797206,
+ "Description": "Process image objects from Amazon S3.",
+ "Environment": {
+ "Variables": {
+ "BUCKET": "my-bucket-1xpuxmplzrlbh",
+ "PREFIX": "inbound"
+ }
+ },
+ "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ "FunctionName": "my-function",
+ "Handler": "index.handler",
+ "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ "LastModified": "2020-04-10T19:06:32.563+0000",
+ "LastUpdateStatus": "Successful",
+ "MemorySize": 256,
+ "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
+ "Role": "arn:aws:iam::123456789012:role/lambda-role",
+ "Runtime": "nodejs12.x",
+ "State": "Active",
+ "Timeout": 15,
+ "TracingConfig": {
+ "Mode": "Active"
+ },
+ "Version": "$LATEST"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns and configuration details for version 1 of a function named my-function.",
+ "id": "to-get-a-lambda-functions-event-source-mapping-1481661622799",
+ "title": "To get a Lambda function's event source mapping"
+ }
+ ],
+ "GetFunctionEventInvokeConfig": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Qualifier": "BLUE"
+ },
+ "output": {
+ "DestinationConfig": {
+ "OnFailure": {
+ "Destination": "arn:aws:sqs:us-east-2:123456789012:failed-invocations"
+ },
+ "OnSuccess": {
+ }
+ },
+ "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
+ "LastModified": "${timestamp}",
+ "MaximumEventAgeInSeconds": 3600,
+ "MaximumRetryAttempts": 0
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns the asynchronous invocation configuration for the BLUE alias of a function named my-function.",
+ "id": "to-get-an-asynchronous-invocation-configuration-1586481338463",
+ "title": "To get an asynchronous invocation configuration"
+ }
+ ],
+ "GetLayerVersion": [
+ {
+ "input": {
+ "LayerName": "my-layer",
+ "VersionNumber": 1
+ },
+ "output": {
+ "CompatibleRuntimes": [
+ "python3.6",
+ "python3.7"
+ ],
+ "Content": {
+ "CodeSha256": "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=",
+ "CodeSize": 169,
+ "Location": "https://awslambda-us-east-2-layers.s3.us-east-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH..."
+ },
+ "CreatedDate": "2018-11-14T23:03:52.894+0000",
+ "Description": "My Python layer",
+ "LayerArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer",
+ "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1",
+ "LicenseInfo": "MIT",
+ "Version": 1
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns information for version 1 of a layer named my-layer.",
+ "id": "to-get-information-about-a-lambda-layer-version-1586481457839",
+ "title": "To get information about a Lambda layer version"
+ }
+ ],
+ "GetLayerVersionByArn": [
+ {
+ "input": {
+ "Arn": "arn:aws:lambda:ca-central-1:123456789012:layer:blank-python-lib:3"
+ },
+ "output": {
+ "CompatibleRuntimes": [
+ "python3.8"
+ ],
+ "Content": {
+ "CodeSha256": "6x+xmpl/M3BnQUk7gS9sGmfeFsR/npojXoA3fZUv4eU=",
+ "CodeSize": 9529009,
+ "Location": "https://awslambda-us-east-2-layers.s3.us-east-2.amazonaws.com/snapshots/123456789012/blank-python-lib-e5212378-xmpl-44ee-8398-9d8ec5113949?versionId=WbZnvf..."
+ },
+ "CreatedDate": "2020-03-31T00:35:18.949+0000",
+ "Description": "Dependencies for the blank-python sample app.",
+ "LayerArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-python-lib",
+ "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-python-lib:3",
+ "Version": 3
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns information about the layer version with the specified Amazon Resource Name (ARN).",
+ "id": "to-get-information-about-a-lambda-layer-version-1586481457839",
+ "title": "To get information about a Lambda layer version"
+ }
+ ],
+ "GetPolicy": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Qualifier": "1"
+ },
+ "output": {
+ "Policy": "{\"Version\":\"2012-10-17\",\"Id\":\"default\",\"Statement\":[{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:root\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function:1\"}]}",
+ "RevisionId": "4843f2f6-7c59-4fda-b484-afd0bc0e22b8"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns the resource-based policy for version 1 of a Lambda function named my-function.",
+ "id": "to-retrieve-a-lambda-function-policy-1481649319053",
+ "title": "To retrieve a Lambda function policy"
+ }
+ ],
+ "GetProvisionedConcurrencyConfig": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Qualifier": "BLUE"
+ },
+ "output": {
+ "AllocatedProvisionedConcurrentExecutions": 100,
+ "AvailableProvisionedConcurrentExecutions": 100,
+ "LastModified": "2019-12-31T20:28:49+0000",
+ "RequestedProvisionedConcurrentExecutions": 100,
+ "Status": "READY"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified function.",
+ "id": "to-view-a-provisioned-concurrency-configuration-1586490192690",
+ "title": "To view a provisioned concurrency configuration"
+ },
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Qualifier": "BLUE"
+ },
+ "output": {
+ "AllocatedProvisionedConcurrentExecutions": 100,
+ "AvailableProvisionedConcurrentExecutions": 100,
+ "LastModified": "2019-12-31T20:28:49+0000",
+ "RequestedProvisionedConcurrentExecutions": 100,
+ "Status": "READY"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified function.",
+ "id": "to-get-a-provisioned-concurrency-configuration-1586490192690",
+ "title": "To get a provisioned concurrency configuration"
+ }
+ ],
+ "Invoke": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Payload": "{}",
+ "Qualifier": "1"
+ },
+ "output": {
+ "Payload": "200 SUCCESS",
+ "StatusCode": 200
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example invokes version 1 of a function named my-function with an empty event payload.",
+ "id": "to-invoke-a-lambda-function-1481659683915",
+ "title": "To invoke a Lambda function"
+ },
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "InvocationType": "Event",
+ "Payload": "{}",
+ "Qualifier": "1"
+ },
+ "output": {
+ "Payload": "",
+ "StatusCode": 202
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example invokes version 1 of a function named my-function asynchronously.",
+ "id": "to-invoke-a-lambda-function-async-1481659683915",
+ "title": "To invoke a Lambda function asynchronously"
+ }
+ ],
+ "InvokeAsync": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "InvokeArgs": "{}"
+ },
+ "output": {
+ "Status": 202
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example invokes a Lambda function asynchronously",
+ "id": "to-invoke-a-lambda-function-asynchronously-1481649694923",
+ "title": "To invoke a Lambda function asynchronously"
+ }
+ ],
+ "ListAliases": [
+ {
+ "input": {
+ "FunctionName": "my-function"
+ },
+ "output": {
+ "Aliases": [
+ {
+ "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:BETA",
+ "Description": "Production environment BLUE.",
+ "FunctionVersion": "2",
+ "Name": "BLUE",
+ "RevisionId": "a410117f-xmpl-494e-8035-7e204bb7933b",
+ "RoutingConfig": {
+ "AdditionalVersionWeights": {
+ "1": 0.7
+ }
+ }
+ },
+ {
+ "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:LIVE",
+ "Description": "Production environment GREEN.",
+ "FunctionVersion": "1",
+ "Name": "GREEN",
+ "RevisionId": "21d40116-xmpl-40ba-9360-3ea284da1bb5"
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns a list of aliases for a function named my-function.",
+ "id": "to-list-a-functions-aliases-1481650199732",
+ "title": "To list a function's aliases"
+ }
+ ],
+ "ListEventSourceMappings": [
+ {
+ "input": {
+ "FunctionName": "my-function"
+ },
+ "output": {
+ "EventSourceMappings": [
+ {
+ "BatchSize": 5,
+ "EventSourceArn": "arn:aws:sqs:us-west-2:123456789012:mySQSqueue",
+ "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ "LastModified": 1569284520.333,
+ "State": "Enabled",
+ "StateTransitionReason": "USER_INITIATED",
+ "UUID": "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE"
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns a list of the event source mappings for a function named my-function.",
+ "id": "to-list-the-event-source-mappings-for-a-function-1586490285906",
+ "title": "To list the event source mappings for a function"
+ }
+ ],
+ "ListFunctionEventInvokeConfigs": [
+ {
+ "input": {
+ "FunctionName": "my-function"
+ },
+ "output": {
+ "FunctionEventInvokeConfigs": [
+ {
+ "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:GREEN",
+ "LastModified": 1577824406.719,
+ "MaximumEventAgeInSeconds": 1800,
+ "MaximumRetryAttempts": 2
+ },
+ {
+ "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
+ "LastModified": 1577824396.653,
+ "MaximumEventAgeInSeconds": 3600,
+ "MaximumRetryAttempts": 0
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns a list of asynchronous invocation configurations for a function named my-function.",
+ "id": "to-view-a-list-of-asynchronous-invocation-configurations-1586490355611",
+ "title": "To view a list of asynchronous invocation configurations"
+ }
+ ],
+ "ListFunctions": [
+ {
+ "input": {
+ },
+ "output": {
+ "Functions": [
+ {
+ "CodeSha256": "dBG9m8SGdmlEjw/JYXlhhvCrAv5TxvXsbL/RMr0fT/I=",
+ "CodeSize": 294,
+ "Description": "",
+ "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:helloworld",
+ "FunctionName": "helloworld",
+ "Handler": "helloworld.handler",
+ "LastModified": "2019-09-23T18:32:33.857+0000",
+ "MemorySize": 128,
+ "RevisionId": "1718e831-badf-4253-9518-d0644210af7b",
+ "Role": "arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-zgur6bf4",
+ "Runtime": "nodejs10.x",
+ "Timeout": 3,
+ "TracingConfig": {
+ "Mode": "PassThrough"
+ },
+ "Version": "$LATEST"
+ },
+ {
+ "CodeSha256": "sU0cJ2/hOZevwV/lTxCuQqK3gDZP3i8gUoqUUVRmY6E=",
+ "CodeSize": 266,
+ "Description": "",
+ "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ "FunctionName": "my-function",
+ "Handler": "index.handler",
+ "LastModified": "2019-10-01T16:47:28.490+0000",
+ "MemorySize": 256,
+ "RevisionId": "93017fc9-59cb-41dc-901b-4845ce4bf668",
+ "Role": "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq",
+ "Runtime": "nodejs10.x",
+ "Timeout": 3,
+ "TracingConfig": {
+ "Mode": "PassThrough"
+ },
+ "Version": "$LATEST",
+ "VpcConfig": {
+ "SecurityGroupIds": [
+
+ ],
+ "SubnetIds": [
+
+ ],
+ "VpcId": ""
+ }
+ }
+ ],
+ "NextMarker": ""
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "This operation returns a list of Lambda functions.",
+ "id": "to-get-a-list-of-lambda-functions-1481650507425",
+ "title": "To get a list of Lambda functions"
+ }
+ ],
+ "ListLayerVersions": [
+ {
+ "input": {
+ "LayerName": "blank-java-lib"
+ },
+ "output": {
+ "LayerVersions": [
+ {
+ "CompatibleRuntimes": [
+ "java8"
+ ],
+ "CreatedDate": "2020-03-18T23:38:42.284+0000",
+ "Description": "Dependencies for the blank-java sample app.",
+ "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-java-lib:7",
+ "Version": 7
+ },
+ {
+ "CompatibleRuntimes": [
+ "java8"
+ ],
+ "CreatedDate": "2020-03-17T07:24:21.960+0000",
+ "Description": "Dependencies for the blank-java sample app.",
+ "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:blank-java-lib:6",
+ "Version": 6
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example displays information about the versions for the layer named blank-java-lib",
+ "id": "to-list-versions-of-a-layer-1586490857297",
+ "title": "To list versions of a layer"
+ }
+ ],
+ "ListLayers": [
+ {
+ "input": {
+ "CompatibleRuntime": "python3.7"
+ },
+ "output": {
+ "Layers": [
+ {
+ "LatestMatchingVersion": {
+ "CompatibleRuntimes": [
+ "python3.6",
+ "python3.7"
+ ],
+ "CreatedDate": "2018-11-15T00:37:46.592+0000",
+ "Description": "My layer",
+ "LayerVersionArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer:2",
+ "Version": 2
+ },
+ "LayerArn": "arn:aws:lambda:us-east-2:123456789012:layer:my-layer",
+ "LayerName": "my-layer"
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns information about layers that are compatible with the Python 3.7 runtime.",
+ "id": "to-list-the-layers-that-are-compatible-with-your-functions-runtime-1586490857297",
+ "title": "To list the layers that are compatible with your function's runtime"
+ }
+ ],
+ "ListProvisionedConcurrencyConfigs": [
+ {
+ "input": {
+ "FunctionName": "my-function"
+ },
+ "output": {
+ "ProvisionedConcurrencyConfigs": [
+ {
+ "AllocatedProvisionedConcurrentExecutions": 100,
+ "AvailableProvisionedConcurrentExecutions": 100,
+ "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:GREEN",
+ "LastModified": "2019-12-31T20:29:00+0000",
+ "RequestedProvisionedConcurrentExecutions": 100,
+ "Status": "READY"
+ },
+ {
+ "AllocatedProvisionedConcurrentExecutions": 100,
+ "AvailableProvisionedConcurrentExecutions": 100,
+ "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
+ "LastModified": "2019-12-31T20:28:49+0000",
+ "RequestedProvisionedConcurrentExecutions": 100,
+ "Status": "READY"
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns a list of provisioned concurrency configurations for a function named my-function.",
+ "id": "to-get-a-list-of-provisioned-concurrency-configurations-1586491032592",
+ "title": "To get a list of provisioned concurrency configurations"
+ }
+ ],
+ "ListTags": [
+ {
+ "input": {
+ "Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function"
+ },
+ "output": {
+ "Tags": {
+ "Category": "Web Tools",
+ "Department": "Sales"
+ }
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example displays the tags attached to the my-function Lambda function.",
+ "id": "to-retrieve-the-list-of-tags-for-a-lambda-function-1586491111498",
+ "title": "To retrieve the list of tags for a Lambda function"
+ }
+ ],
+ "ListVersionsByFunction": [
+ {
+ "input": {
+ "FunctionName": "my-function"
+ },
+ "output": {
+ "Versions": [
+ {
+ "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ "CodeSize": 5797206,
+ "Description": "Process image objects from Amazon S3.",
+ "Environment": {
+ "Variables": {
+ "BUCKET": "my-bucket-1xpuxmplzrlbh",
+ "PREFIX": "inbound"
+ }
+ },
+ "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ "FunctionName": "my-function",
+ "Handler": "index.handler",
+ "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ "LastModified": "2020-04-10T19:06:32.563+0000",
+ "MemorySize": 256,
+ "RevisionId": "850ca006-2d98-4ff4-86db-8766e9d32fe9",
+ "Role": "arn:aws:iam::123456789012:role/lambda-role",
+ "Runtime": "nodejs12.x",
+ "Timeout": 15,
+ "TracingConfig": {
+ "Mode": "Active"
+ },
+ "Version": "$LATEST"
+ },
+ {
+ "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ "CodeSize": 5797206,
+ "Description": "Process image objects from Amazon S3.",
+ "Environment": {
+ "Variables": {
+ "BUCKET": "my-bucket-1xpuxmplzrlbh",
+ "PREFIX": "inbound"
+ }
+ },
+ "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ "FunctionName": "my-function",
+ "Handler": "index.handler",
+ "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ "LastModified": "2020-04-10T19:06:32.563+0000",
+ "MemorySize": 256,
+ "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
+ "Role": "arn:aws:iam::123456789012:role/lambda-role",
+ "Runtime": "nodejs12.x",
+ "Timeout": 5,
+ "TracingConfig": {
+ "Mode": "Active"
+ },
+ "Version": "1"
+ }
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example returns a list of versions of a function named my-function",
+ "id": "to-list-versions-1481650603750",
+ "title": "To list versions of a function"
+ }
+ ],
+ "PublishLayerVersion": [
+ {
+ "input": {
+ "CompatibleRuntimes": [
+ "python3.6",
+ "python3.7"
+ ],
+ "Content": {
+ "S3Bucket": "lambda-layers-us-west-2-123456789012",
+ "S3Key": "layer.zip"
+ },
+ "Description": "My Python layer",
+ "LayerName": "my-layer",
+ "LicenseInfo": "MIT"
+ },
+ "output": {
+ "CompatibleRuntimes": [
+ "python3.6",
+ "python3.7"
+ ],
+ "Content": {
+ "CodeSha256": "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=",
+ "CodeSize": 169,
+ "Location": "https://awslambda-us-west-2-layers.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH..."
+ },
+ "CreatedDate": "2018-11-14T23:03:52.894+0000",
+ "Description": "My Python layer",
+ "LayerArn": "arn:aws:lambda:us-west-2:123456789012:layer:my-layer",
+ "LayerVersionArn": "arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1",
+ "LicenseInfo": "MIT",
+ "Version": 1
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example creates a new Python library layer version. The command retrieves the layer content a file named layer.zip in the specified S3 bucket.",
+ "id": "to-create-a-lambda-layer-version-1586491213595",
+ "title": "To create a Lambda layer version"
+ }
+ ],
+ "PublishVersion": [
+ {
+ "input": {
+ "CodeSha256": "",
+ "Description": "",
+ "FunctionName": "myFunction"
+ },
+ "output": {
+ "CodeSha256": "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ "CodeSize": 5797206,
+ "Description": "Process image objects from Amazon S3.",
+ "Environment": {
+ "Variables": {
+ "BUCKET": "my-bucket-1xpuxmplzrlbh",
+ "PREFIX": "inbound"
+ }
+ },
+ "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ "FunctionName": "my-function",
+ "Handler": "index.handler",
+ "KMSKeyArn": "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ "LastModified": "2020-04-10T19:06:32.563+0000",
+ "LastUpdateStatus": "Successful",
+ "MemorySize": 256,
+ "RevisionId": "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
+ "Role": "arn:aws:iam::123456789012:role/lambda-role",
+ "Runtime": "nodejs12.x",
+ "State": "Active",
+ "Timeout": 5,
+ "TracingConfig": {
+ "Mode": "Active"
+ },
+ "Version": "1"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "This operation publishes a version of a Lambda function",
+ "id": "to-publish-a-version-of-a-lambda-function-1481650704986",
+ "title": "To publish a version of a Lambda function"
+ }
+ ],
+ "PutFunctionConcurrency": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "ReservedConcurrentExecutions": 100
+ },
+ "output": {
+ "ReservedConcurrentExecutions": 100
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example configures 100 reserved concurrent executions for the my-function function.",
+ "id": "to-configure-a-reserved-concurrency-limit-for-a-function-1586491405956",
+ "title": "To configure a reserved concurrency limit for a function"
+ }
+ ],
+ "PutFunctionEventInvokeConfig": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "MaximumEventAgeInSeconds": 3600,
+ "MaximumRetryAttempts": 0
+ },
+ "output": {
+ "DestinationConfig": {
+ "OnFailure": {
+ },
+ "OnSuccess": {
+ }
+ },
+ "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
+ "LastModified": "${timestamp}",
+ "MaximumEventAgeInSeconds": 3600,
+ "MaximumRetryAttempts": 0
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example sets a maximum event age of one hour and disables retries for the specified function.",
+ "id": "to-configure-error-handling-for-asynchronous-invocation-1586491524021",
+ "title": "To configure error handling for asynchronous invocation"
+ }
+ ],
+ "PutProvisionedConcurrencyConfig": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "ProvisionedConcurrentExecutions": 100,
+ "Qualifier": "BLUE"
+ },
+ "output": {
+ "AllocatedProvisionedConcurrentExecutions": 0,
+ "LastModified": "2019-11-21T19:32:12+0000",
+ "RequestedProvisionedConcurrentExecutions": 100,
+ "Status": "IN_PROGRESS"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example allocates 100 provisioned concurrency for the BLUE alias of the specified function.",
+ "id": "to-allocate-provisioned-concurrency-1586491651377",
+ "title": "To allocate provisioned concurrency"
+ }
+ ],
+ "RemoveLayerVersionPermission": [
+ {
+ "input": {
+ "LayerName": "my-layer",
+ "StatementId": "xaccount",
+ "VersionNumber": 1
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example deletes permission for an account to configure a layer version.",
+ "id": "to-delete-layer-version-permissions-1586491829416",
+ "title": "To delete layer-version permissions"
+ }
+ ],
+ "RemovePermission": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "Qualifier": "PROD",
+ "StatementId": "xaccount"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example removes a permissions statement named xaccount from the PROD alias of a function named my-function.",
+ "id": "to-remove-a-lambda-functions-permissions-1481661337021",
+ "title": "To remove a Lambda function's permissions"
+ }
+ ],
+ "TagResource": [
+ {
+ "input": {
+ "Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ "Tags": {
+ "DEPARTMENT": "Department A"
+ }
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example adds a tag with the key name DEPARTMENT and a value of 'Department A' to the specified Lambda function.",
+ "id": "to-add-tags-to-an-existing-lambda-function-1586491890446",
+ "title": "To add tags to an existing Lambda function"
+ }
+ ],
+ "UntagResource": [
+ {
+ "input": {
+ "Resource": "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ "TagKeys": [
+ "DEPARTMENT"
+ ]
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example removes the tag with the key name DEPARTMENT tag from the my-function Lambda function.",
+ "id": "to-remove-tags-from-an-existing-lambda-function-1586491956425",
+ "title": "To remove tags from an existing Lambda function"
+ }
+ ],
+ "UpdateAlias": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "FunctionVersion": "2",
+ "Name": "BLUE",
+ "RoutingConfig": {
+ "AdditionalVersionWeights": {
+ "1": 0.7
+ }
+ }
+ },
+ "output": {
+ "AliasArn": "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE",
+ "Description": "Production environment BLUE.",
+ "FunctionVersion": "2",
+ "Name": "BLUE",
+ "RevisionId": "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93",
+ "RoutingConfig": {
+ "AdditionalVersionWeights": {
+ "1": 0.7
+ }
+ }
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example updates the alias named BLUE to send 30% of traffic to version 2 and 70% to version 1.",
+ "id": "to-update-a-function-alias-1481650817950",
+ "title": "To update a function alias"
+ }
+ ],
+ "UpdateEventSourceMapping": [
+ {
+ "input": {
+ "BatchSize": 123,
+ "Enabled": true,
+ "FunctionName": "myFunction",
+ "UUID": "1234xCy789012"
+ },
+ "output": {
+ "BatchSize": 123,
+ "EventSourceArn": "arn:aws:s3:::examplebucket/*",
+ "FunctionArn": "arn:aws:lambda:us-west-2:123456789012:function:myFunction",
+ "LastModified": "2016-11-21T19:49:20.006+0000",
+ "LastProcessingResult": "",
+ "State": "",
+ "StateTransitionReason": "",
+ "UUID": "1234xCy789012"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "This operation updates a Lambda function event source mapping",
+ "id": "to-update-a-lambda-function-event-source-mapping-1481650907413",
+ "title": "To update a Lambda function event source mapping"
+ }
+ ],
+ "UpdateFunctionCode": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "S3Bucket": "my-bucket-1xpuxmplzrlbh",
+ "S3Key": "function.zip"
+ },
+ "output": {
+ "CodeSha256": "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
+ "CodeSize": 308,
+ "Description": "",
+ "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function",
+ "FunctionName": "my-function",
+ "Handler": "index.handler",
+ "LastModified": "2019-08-14T22:26:11.234+0000",
+ "MemorySize": 128,
+ "RevisionId": "873282ed-xmpl-4dc8-a069-d0c647e470c6",
+ "Role": "arn:aws:iam::123456789012:role/lambda-role",
+ "Runtime": "nodejs12.x",
+ "Timeout": 3,
+ "TracingConfig": {
+ "Mode": "PassThrough"
+ },
+ "Version": "$LATEST"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example replaces the code of the unpublished ($LATEST) version of a function named my-function with the contents of the specified zip file in Amazon S3.",
+ "id": "to-update-a-lambda-functions-code-1481650992672",
+ "title": "To update a Lambda function's code"
+ }
+ ],
+ "UpdateFunctionConfiguration": [
+ {
+ "input": {
+ "FunctionName": "my-function",
+ "MemorySize": 256
+ },
+ "output": {
+ "CodeSha256": "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
+ "CodeSize": 308,
+ "Description": "",
+ "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function",
+ "FunctionName": "my-function",
+ "Handler": "index.handler",
+ "LastModified": "2019-08-14T22:26:11.234+0000",
+ "MemorySize": 256,
+ "RevisionId": "873282ed-xmpl-4dc8-a069-d0c647e470c6",
+ "Role": "arn:aws:iam::123456789012:role/lambda-role",
+ "Runtime": "nodejs12.x",
+ "Timeout": 3,
+ "TracingConfig": {
+ "Mode": "PassThrough"
+ },
+ "Version": "$LATEST"
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example modifies the memory size to be 256 MB for the unpublished ($LATEST) version of a function named my-function.",
+ "id": "to-update-a-lambda-functions-configuration-1481651096447",
+ "title": "To update a Lambda function's configuration"
+ }
+ ],
+ "UpdateFunctionEventInvokeConfig": [
+ {
+ "input": {
+ "DestinationConfig": {
+ "OnFailure": {
+ "Destination": "arn:aws:sqs:us-east-2:123456789012:destination"
+ }
+ },
+ "FunctionName": "my-function"
+ },
+ "output": {
+ "DestinationConfig": {
+ "OnFailure": {
+ "Destination": "arn:aws:sqs:us-east-2:123456789012:destination"
+ },
+ "OnSuccess": {
+ }
+ },
+ "FunctionArn": "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
+ "LastModified": 1573687896.493,
+ "MaximumEventAgeInSeconds": 3600,
+ "MaximumRetryAttempts": 0
+ },
+ "comments": {
+ "input": {
+ },
+ "output": {
+ }
+ },
+ "description": "The following example adds an on-failure destination to the existing asynchronous invocation configuration for a function named my-function.",
+ "id": "to-update-an-asynchronous-invocation-configuration-1586492061186",
+ "title": "To update an asynchronous invocation configuration"
+ }
+ ]
}
}
diff --git a/apis/mailmanager/2023-10-17/api-2.json b/apis/mailmanager/2023-10-17/api-2.json
index 0f80d0d5e38..8f48d453fa2 100644
--- a/apis/mailmanager/2023-10-17/api-2.json
+++ b/apis/mailmanager/2023-10-17/api-2.json
@@ -11,7 +11,8 @@
"signatureVersion":"v4",
"signingName":"ses",
"targetPrefix":"MailManagerSvc",
- "uid":"mailmanager-2023-10-17"
+ "uid":"mailmanager-2023-10-17",
+ "auth":["aws.auth#sigv4"]
},
"operations":{
"CreateAddonInstance":{
@@ -1925,6 +1926,10 @@
"Text":{"shape":"String"}
}
},
+ "MimeHeaderAttribute":{
+ "type":"string",
+ "pattern":"^X-[a-zA-Z0-9-]{1,256}$"
+ },
"NameOrArn":{
"type":"string",
"max":2048,
@@ -2366,7 +2371,8 @@
"RuleStringToEvaluate":{
"type":"structure",
"members":{
- "Attribute":{"shape":"RuleStringEmailAttribute"}
+ "Attribute":{"shape":"RuleStringEmailAttribute"},
+ "MimeHeaderAttribute":{"shape":"MimeHeaderAttribute"}
},
"union":true
},
@@ -2609,9 +2615,14 @@
"type":"list",
"member":{"shape":"String"}
},
+ "StringValue":{
+ "type":"string",
+ "max":2048,
+ "min":1
+ },
"StringValueList":{
"type":"list",
- "member":{"shape":"String"},
+ "member":{"shape":"StringValue"},
"max":10,
"min":1
},
diff --git a/apis/mailmanager/2023-10-17/docs-2.json b/apis/mailmanager/2023-10-17/docs-2.json
index 0c559ff3395..1204559f91d 100644
--- a/apis/mailmanager/2023-10-17/docs-2.json
+++ b/apis/mailmanager/2023-10-17/docs-2.json
@@ -1,6 +1,6 @@
{
"version": "2.0",
- "service": "AWS SES Mail Manager API
AWS SES Mail Manager API contains operations and data types that comprise the Mail Manager feature of Amazon Simple Email Service.
Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen your organization's email infrastructure, simplify email workflow management, and streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer Guide.
",
+ "service": "Amazon SES Mail Manager API
The Amazon SES Mail Manager API contains operations and data types that comprise the Mail Manager feature of Amazon Simple Email Service (SES).
Mail Manager is a set of Amazon SES email gateway features designed to help you strengthen your organization's email infrastructure, simplify email workflow management, and streamline email compliance control. To learn more, see the Mail Manager chapter in the Amazon SES Developer Guide.
",
"operations": {
"CreateAddonInstance": "Creates an Add On instance for the subscription indicated in the request. The resulting Amazon Resource Name (ARN) can be used in a conditional statement for a rule set or traffic policy.
",
"CreateAddonSubscription": "Creates a subscription for an Add On representing the acceptance of its terms of use and additional pricing. The subscription can then be used to create an instance for use in rule sets or traffic policies.
",
@@ -47,7 +47,7 @@
"UpdateArchive": "Updates the attributes of an existing email archive.
",
"UpdateIngressPoint": "Update attributes of a provisioned ingress endpoint resource.
",
"UpdateRelay": "Updates the attributes of an existing relay resource.
",
- "UpdateRuleSet": ">Update attributes of an already provisioned rule set.
",
+ "UpdateRuleSet": "Update attributes of an already provisioned rule set.
",
"UpdateTrafficPolicy": "Update attributes of an already provisioned traffic policy resource.
"
},
"shapes": {
@@ -1051,6 +1051,12 @@
"GetArchiveMessageContentResponse$Body": "The textual body content of the email message.
"
}
},
+ "MimeHeaderAttribute": {
+ "base": null,
+ "refs": {
+ "RuleStringToEvaluate$MimeHeaderAttribute": "The email MIME X-Header attribute to evaluate in a string condition expression.
"
+ }
+ },
"NameOrArn": {
"base": null,
"refs": {
@@ -1663,8 +1669,7 @@
"Row$XMailer": "The user agent that sent the email.
",
"Row$XOriginalMailer": "The original user agent that sent the email.
",
"Row$XPriority": "The priority level of the email.
",
- "StringList$member": null,
- "StringValueList$member": null
+ "StringList$member": null
}
},
"StringList": {
@@ -1673,6 +1678,12 @@
"IngressStringExpression$Values": "The right hand side argument of a string condition expression.
"
}
},
+ "StringValue": {
+ "base": null,
+ "refs": {
+ "StringValueList$member": null
+ }
+ },
"StringValueList": {
"base": null,
"refs": {
diff --git a/apis/mediaconvert/2017-08-29/api-2.json b/apis/mediaconvert/2017-08-29/api-2.json
index 806830a9a86..eb5b7a056f9 100644
--- a/apis/mediaconvert/2017-08-29/api-2.json
+++ b/apis/mediaconvert/2017-08-29/api-2.json
@@ -765,6 +765,40 @@
}
]
},
+ "ListVersions": {
+ "name": "ListVersions",
+ "http": {
+ "method": "GET",
+ "requestUri": "/2017-08-29/versions",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "ListVersionsRequest"
+ },
+ "output": {
+ "shape": "ListVersionsResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
+ },
+ {
+ "shape": "InternalServerErrorException"
+ },
+ {
+ "shape": "ForbiddenException"
+ },
+ {
+ "shape": "NotFoundException"
+ },
+ {
+ "shape": "TooManyRequestsException"
+ },
+ {
+ "shape": "ConflictException"
+ }
+ ]
+ },
"PutPolicy": {
"name": "PutPolicy",
"http": {
@@ -1557,7 +1591,8 @@
"DISABLED",
"AUTO",
"TRACK",
- "FRAME"
+ "FRAME",
+ "FORCE"
]
},
"AudioLanguageCodeControl": {
@@ -2400,6 +2435,13 @@
}
}
},
+ "CaptionSourceByteRateLimit": {
+ "type": "string",
+ "enum": [
+ "ENABLED",
+ "DISABLED"
+ ]
+ },
"CaptionSourceConvertPaintOnToPopOn": {
"type": "string",
"enum": [
@@ -3155,6 +3197,7 @@
"MP4",
"MPD",
"MXF",
+ "OGG",
"WEBM",
"RAW",
"Y4M"
@@ -3187,6 +3230,10 @@
"shape": "__listOfHopDestination",
"locationName": "hopDestinations"
},
+ "JobEngineVersion": {
+ "shape": "__string",
+ "locationName": "jobEngineVersion"
+ },
"JobTemplate": {
"shape": "__string",
"locationName": "jobTemplate"
@@ -4563,6 +4610,19 @@
"USE_MDPM"
]
},
+ "EncryptionContractConfiguration": {
+ "type": "structure",
+ "members": {
+ "SpekeAudioPreset": {
+ "shape": "PresetSpeke20Audio",
+ "locationName": "spekeAudioPreset"
+ },
+ "SpekeVideoPreset": {
+ "shape": "PresetSpeke20Video",
+ "locationName": "spekeVideoPreset"
+ }
+ }
+ },
"Endpoint": {
"type": "structure",
"members": {
@@ -4668,6 +4728,10 @@
"FileSourceSettings": {
"type": "structure",
"members": {
+ "ByteRateLimit": {
+ "shape": "CaptionSourceByteRateLimit",
+ "locationName": "byteRateLimit"
+ },
"Convert608To708": {
"shape": "FileSourceConvert608To708",
"locationName": "convert608To708"
@@ -5043,6 +5107,13 @@
"ENABLED"
]
},
+ "H264SaliencyAwareEncoding": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "PREFERRED"
+ ]
+ },
"H264ScanTypeConversionMode": {
"type": "string",
"enum": [
@@ -5193,6 +5264,10 @@
"shape": "H264RepeatPps",
"locationName": "repeatPps"
},
+ "SaliencyAwareEncoding": {
+ "shape": "H264SaliencyAwareEncoding",
+ "locationName": "saliencyAwareEncoding"
+ },
"ScanTypeConversionMode": {
"shape": "H264ScanTypeConversionMode",
"locationName": "scanTypeConversionMode"
@@ -6735,6 +6810,14 @@
"shape": "__string",
"locationName": "id"
},
+ "JobEngineVersionRequested": {
+ "shape": "__string",
+ "locationName": "jobEngineVersionRequested"
+ },
+ "JobEngineVersionUsed": {
+ "shape": "__string",
+ "locationName": "jobEngineVersionUsed"
+ },
"JobPercentComplete": {
"shape": "__integer",
"locationName": "jobPercentComplete"
@@ -6805,6 +6888,19 @@
"Role"
]
},
+ "JobEngineVersion": {
+ "type": "structure",
+ "members": {
+ "ExpirationDate": {
+ "shape": "__timestampUnix",
+ "locationName": "expirationDate"
+ },
+ "Version": {
+ "shape": "__string",
+ "locationName": "version"
+ }
+ }
+ },
"JobMessages": {
"type": "structure",
"members": {
@@ -7470,6 +7566,34 @@
}
}
},
+ "ListVersionsRequest": {
+ "type": "structure",
+ "members": {
+ "MaxResults": {
+ "shape": "__integerMin1Max20",
+ "locationName": "maxResults",
+ "location": "querystring"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken",
+ "location": "querystring"
+ }
+ }
+ },
+ "ListVersionsResponse": {
+ "type": "structure",
+ "members": {
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ },
+ "Versions": {
+ "shape": "__listOfJobEngineVersion",
+ "locationName": "versions"
+ }
+ }
+ },
"M2tsAudioBufferModel": {
"type": "string",
"enum": [
@@ -9175,6 +9299,31 @@
}
}
},
+ "PresetSpeke20Audio": {
+ "type": "string",
+ "enum": [
+ "PRESET_AUDIO_1",
+ "PRESET_AUDIO_2",
+ "PRESET_AUDIO_3",
+ "SHARED",
+ "UNENCRYPTED"
+ ]
+ },
+ "PresetSpeke20Video": {
+ "type": "string",
+ "enum": [
+ "PRESET_VIDEO_1",
+ "PRESET_VIDEO_2",
+ "PRESET_VIDEO_3",
+ "PRESET_VIDEO_4",
+ "PRESET_VIDEO_5",
+ "PRESET_VIDEO_6",
+ "PRESET_VIDEO_7",
+ "PRESET_VIDEO_8",
+ "SHARED",
+ "UNENCRYPTED"
+ ]
+ },
"PricingPlan": {
"type": "string",
"enum": [
@@ -9732,6 +9881,10 @@
"shape": "__stringPatternArnAwsUsGovAcm",
"locationName": "certificateArn"
},
+ "EncryptionContractConfiguration": {
+ "shape": "EncryptionContractConfiguration",
+ "locationName": "encryptionContractConfiguration"
+ },
"ResourceId": {
"shape": "__string",
"locationName": "resourceId"
@@ -9757,6 +9910,10 @@
"shape": "__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12",
"locationName": "dashSignaledSystemIds"
},
+ "EncryptionContractConfiguration": {
+ "shape": "EncryptionContractConfiguration",
+ "locationName": "encryptionContractConfiguration"
+ },
"HlsSignaledSystemIds": {
"shape": "__listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12",
"locationName": "hlsSignaledSystemIds"
@@ -10522,13 +10679,25 @@
"shape": "__stringPattern010920405090509092",
"locationName": "endTimecode"
},
+ "InitialPosition": {
+ "shape": "VideoOverlayPosition",
+ "locationName": "initialPosition"
+ },
"Input": {
"shape": "VideoOverlayInput",
"locationName": "input"
},
+ "Playback": {
+ "shape": "VideoOverlayPlayBackMode",
+ "locationName": "playback"
+ },
"StartTimecode": {
"shape": "__stringPattern010920405090509092",
"locationName": "startTimecode"
+ },
+ "Transitions": {
+ "shape": "__listOfVideoOverlayTransition",
+ "locationName": "transitions"
}
}
},
@@ -10556,6 +10725,55 @@
"VideoOverlayInputClipping": {
"type": "structure",
"members": {
+ "EndTimecode": {
+ "shape": "__stringPattern010920405090509092090909",
+ "locationName": "endTimecode"
+ },
+ "StartTimecode": {
+ "shape": "__stringPattern010920405090509092090909",
+ "locationName": "startTimecode"
+ }
+ }
+ },
+ "VideoOverlayPlayBackMode": {
+ "type": "string",
+ "enum": [
+ "ONCE",
+ "REPEAT"
+ ]
+ },
+ "VideoOverlayPosition": {
+ "type": "structure",
+ "members": {
+ "Height": {
+ "shape": "__integerMinNegative1Max2147483647",
+ "locationName": "height"
+ },
+ "Unit": {
+ "shape": "VideoOverlayUnit",
+ "locationName": "unit"
+ },
+ "Width": {
+ "shape": "__integerMinNegative1Max2147483647",
+ "locationName": "width"
+ },
+ "XPosition": {
+ "shape": "__integerMinNegative2147483648Max2147483647",
+ "locationName": "xPosition"
+ },
+ "YPosition": {
+ "shape": "__integerMinNegative2147483648Max2147483647",
+ "locationName": "yPosition"
+ }
+ }
+ },
+ "VideoOverlayTransition": {
+ "type": "structure",
+ "members": {
+ "EndPosition": {
+ "shape": "VideoOverlayPosition",
+ "locationName": "endPosition"
+ },
"EndTimecode": {
"shape": "__stringPattern010920405090509092",
"locationName": "endTimecode"
@@ -10566,6 +10784,13 @@
}
}
},
+ "VideoOverlayUnit": {
+ "type": "string",
+ "enum": [
+ "PIXELS",
+ "PERCENTAGE"
+ ]
+ },
"VideoPreprocessor": {
"type": "structure",
"members": {
@@ -11795,6 +12020,11 @@
"min": -1,
"max": 10
},
+ "__integerMinNegative1Max2147483647": {
+ "type": "integer",
+ "min": -1,
+ "max": 2147483647
+ },
"__integerMinNegative1Max3": {
"type": "integer",
"min": -1,
@@ -11956,6 +12186,12 @@
"shape": "Job"
}
},
+ "__listOfJobEngineVersion": {
+ "type": "list",
+ "member": {
+ "shape": "JobEngineVersion"
+ }
+ },
"__listOfJobTemplate": {
"type": "list",
"member": {
@@ -12034,6 +12270,12 @@
"shape": "VideoOverlayInputClipping"
}
},
+ "__listOfVideoOverlayTransition": {
+ "type": "list",
+ "member": {
+ "shape": "VideoOverlayTransition"
+ }
+ },
"__listOfWarningGroup": {
"type": "list",
"member": {
diff --git a/apis/mediaconvert/2017-08-29/docs-2.json b/apis/mediaconvert/2017-08-29/docs-2.json
index 647a70f6d7b..8745753526e 100644
--- a/apis/mediaconvert/2017-08-29/docs-2.json
+++ b/apis/mediaconvert/2017-08-29/docs-2.json
@@ -24,6 +24,7 @@
"ListPresets": "Retrieve a JSON array of up to twenty of your presets. This will return the presets themselves, not just a list of them. To retrieve the next twenty presets, use the nextToken string returned with the array.",
"ListQueues": "Retrieve a JSON array of up to twenty of your queues. This will return the queues themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken string returned with the array.",
"ListTagsForResource": "Retrieve the tags for a MediaConvert resource.",
+ "ListVersions": "Retrieve a JSON array of all available Job engine versions and the date they expire.",
"PutPolicy": "Create or change your policy. For more information about policies, see the user guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html",
"SearchJobs": "Retrieve a JSON array that includes job details for up to twenty of your most recent jobs. Optionally filter results further according to input file, queue, or status. To retrieve the twenty next most recent jobs, use the nextToken string returned with the array.",
"TagResource": "Add tags to a MediaConvert queue, preset, or job template. For information about tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html",
@@ -40,9 +41,9 @@
}
},
"AacCodecProfile": {
- "base": "AAC Profile.",
+ "base": "Specify the AAC profile. For the widest player compatibility and where higher bitrates are acceptable: Keep the default profile, LC (AAC-LC) For improved audio performance at lower bitrates: Choose HEV1 or HEV2. HEV1 (AAC-HE v1) adds spectral band replication to improve speech audio at low bitrates. HEV2 (AAC-HE v2) adds parametric stereo, which optimizes for encoding stereo audio at very low bitrates.",
"refs": {
- "AacSettings$CodecProfile": "AAC Profile."
+ "AacSettings$CodecProfile": "Specify the AAC profile. For the widest player compatibility and where higher bitrates are acceptable: Keep the default profile, LC (AAC-LC) For improved audio performance at lower bitrates: Choose HEV1 or HEV2. HEV1 (AAC-HE v1) adds spectral band replication to improve speech audio at low bitrates. HEV2 (AAC-HE v2) adds parametric stereo, which optimizes for encoding stereo audio at very low bitrates."
}
},
"AacCodingMode": {
@@ -52,9 +53,9 @@
}
},
"AacRateControlMode": {
- "base": "Rate Control Mode.",
+ "base": "Specify the AAC rate control mode. For a constant bitrate: Choose CBR. Your AAC output bitrate will be equal to the value that you choose for Bitrate. For a variable bitrate: Choose VBR. Your AAC output bitrate will vary according to your audio content and the value that you choose for Bitrate quality.",
"refs": {
- "AacSettings$RateControlMode": "Rate Control Mode."
+ "AacSettings$RateControlMode": "Specify the AAC rate control mode. For a constant bitrate: Choose CBR. Your AAC output bitrate will be equal to the value that you choose for Bitrate. For a variable bitrate: Choose VBR. Your AAC output bitrate will vary according to your audio content and the value that you choose for Bitrate quality."
}
},
"AacRawFormat": {
@@ -76,9 +77,9 @@
}
},
"AacVbrQuality": {
- "base": "VBR Quality Level - Only used if rate_control_mode is VBR.",
+ "base": "Specify the quality of your variable bitrate (VBR) AAC audio. For a list of approximate VBR bitrates, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/aac-support.html#aac_vbr",
"refs": {
- "AacSettings$VbrQuality": "VBR Quality Level - Only used if rate_control_mode is VBR."
+ "AacSettings$VbrQuality": "Specify the quality of your variable bitrate (VBR) AAC audio. For a list of approximate VBR bitrates, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/aac-support.html#aac_vbr"
}
},
"Ac3BitstreamMode": {
@@ -273,9 +274,9 @@
}
},
"AudioDurationCorrection": {
- "base": "Apply audio timing corrections to help synchronize audio and video in your output. To apply timing corrections, your input must meet the following requirements: * Container: MP4, or MOV, with an accurate time-to-sample (STTS) table. * Audio track: AAC. Choose from the following audio timing correction settings: * Disabled (Default): Apply no correction. * Auto: Recommended for most inputs. MediaConvert analyzes the audio timing in your input and determines which correction setting to use, if needed. * Track: Adjust the duration of each audio frame by a constant amount to align the audio track length with STTS duration. Track-level correction does not affect pitch, and is recommended for tonal audio content such as music. * Frame: Adjust the duration of each audio frame by a variable amount to align audio frames with STTS timestamps. No corrections are made to already-aligned frames. Frame-level correction may affect the pitch of corrected frames, and is recommended for atonal audio content such as speech or percussion.",
+ "base": "Apply audio timing corrections to help synchronize audio and video in your output. To apply timing corrections, your input must meet the following requirements: * Container: MP4, or MOV, with an accurate time-to-sample (STTS) table. * Audio track: AAC. Choose from the following audio timing correction settings: * Disabled (Default): Apply no correction. * Auto: Recommended for most inputs. MediaConvert analyzes the audio timing in your input and determines which correction setting to use, if needed. * Track: Adjust the duration of each audio frame by a constant amount to align the audio track length with STTS duration. Track-level correction does not affect pitch, and is recommended for tonal audio content such as music. * Frame: Adjust the duration of each audio frame by a variable amount to align audio frames with STTS timestamps. No corrections are made to already-aligned frames. Frame-level correction may affect the pitch of corrected frames, and is recommended for atonal audio content such as speech or percussion. * Force: Apply audio duration correction, either Track or Frame depending on your input, regardless of the accuracy of your input's STTS table. Your output audio and video may not be aligned or it may contain audio artifacts.",
"refs": {
- "AudioSelector$AudioDurationCorrection": "Apply audio timing corrections to help synchronize audio and video in your output. To apply timing corrections, your input must meet the following requirements: * Container: MP4, or MOV, with an accurate time-to-sample (STTS) table. * Audio track: AAC. Choose from the following audio timing correction settings: * Disabled (Default): Apply no correction. * Auto: Recommended for most inputs. MediaConvert analyzes the audio timing in your input and determines which correction setting to use, if needed. * Track: Adjust the duration of each audio frame by a constant amount to align the audio track length with STTS duration. Track-level correction does not affect pitch, and is recommended for tonal audio content such as music. * Frame: Adjust the duration of each audio frame by a variable amount to align audio frames with STTS timestamps. No corrections are made to already-aligned frames. Frame-level correction may affect the pitch of corrected frames, and is recommended for atonal audio content such as speech or percussion."
+ "AudioSelector$AudioDurationCorrection": "Apply audio timing corrections to help synchronize audio and video in your output. To apply timing corrections, your input must meet the following requirements: * Container: MP4, or MOV, with an accurate time-to-sample (STTS) table. * Audio track: AAC. Choose from the following audio timing correction settings: * Disabled (Default): Apply no correction. * Auto: Recommended for most inputs. MediaConvert analyzes the audio timing in your input and determines which correction setting to use, if needed. * Track: Adjust the duration of each audio frame by a constant amount to align the audio track length with STTS duration. Track-level correction does not affect pitch, and is recommended for tonal audio content such as music. * Frame: Adjust the duration of each audio frame by a variable amount to align audio frames with STTS timestamps. No corrections are made to already-aligned frames. Frame-level correction may affect the pitch of corrected frames, and is recommended for atonal audio content such as speech or percussion. * Force: Apply audio duration correction, either Track or Frame depending on your input, regardless of the accuracy of your input's STTS table. Your output audio and video may not be aligned or it may contain audio artifacts."
}
},
"AudioLanguageCodeControl": {
@@ -609,6 +610,12 @@
"__mapOfCaptionSelector$member": null
}
},
+ "CaptionSourceByteRateLimit": {
+ "base": "Choose whether to limit the byte rate at which your SCC input captions are inserted into your output. To not limit the caption rate: We recommend that you keep the default value, Disabled. MediaConvert inserts captions in your output according to the byte rates listed in the EIA-608 specification, typically 2 or 3 caption bytes per frame depending on your output frame rate. To limit your output caption rate: Choose Enabled. Choose this option if your downstream systems require a maximum of 2 caption bytes per frame. Note that this setting has no effect when your output frame rate is 30 or 60.",
+ "refs": {
+ "FileSourceSettings$ByteRateLimit": "Choose whether to limit the byte rate at which your SCC input captions are inserted into your output. To not limit the caption rate: We recommend that you keep the default value, Disabled. MediaConvert inserts captions in your output according to the byte rates listed in the EIA-608 specification, typically 2 or 3 caption bytes per frame depending on your output frame rate. To limit your output caption rate: Choose Enabled. Choose this option if your downstream systems require a maximum of 2 caption bytes per frame. Note that this setting has no effect when your output frame rate is 30 or 60."
+ }
+ },
"CaptionSourceConvertPaintOnToPopOn": {
"base": "Choose the presentation style of your input SCC captions. To use the same presentation style as your input: Keep the default value, Disabled. To convert paint-on captions to pop-on: Choose Enabled. We also recommend that you choose Enabled if you notice additional repeated lines in your output captions.",
"refs": {
@@ -1492,6 +1499,13 @@
"VideoSelector$EmbeddedTimecodeOverride": "Set Embedded timecode override to Use MDPM when your AVCHD input contains timecode tag data in the Modified Digital Video Pack Metadata. When you do, we recommend you also set Timecode source to Embedded. Leave Embedded timecode override blank, or set to None, when your input does not contain MDPM timecode."
}
},
+ "EncryptionContractConfiguration": {
+ "base": "Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset.",
+ "refs": {
+ "SpekeKeyProvider$EncryptionContractConfiguration": "Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset.",
+ "SpekeKeyProviderCmaf$EncryptionContractConfiguration": "Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses when encrypting your output. For more information, see: https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE v2.0 video preset and a SPEKE v2.0 audio preset."
+ }
+ },
"Endpoint": {
"base": "Describes an account-specific API endpoint.",
"refs": {
@@ -1753,6 +1767,12 @@
"H264Settings$RepeatPps": "Places a PPS header on each encoded picture, even if repeated."
}
},
+ "H264SaliencyAwareEncoding": {
+ "base": "Specify whether to apply Saliency aware encoding to your output. Use to improve the perceptual video quality of your output by allocating more encoding bits to the prominent or noticeable parts of your content. To apply saliency aware encoding, when possible: We recommend that you choose Preferred. The effects of Saliency aware encoding are best seen in lower bitrate outputs. When you choose Preferred, note that Saliency aware encoding will only apply to outputs that are 720p or higher in resolution. To not apply saliency aware encoding, prioritizing encoding speed over perceptual video quality: Choose Disabled.",
+ "refs": {
+ "H264Settings$SaliencyAwareEncoding": "Specify whether to apply Saliency aware encoding to your output. Use to improve the perceptual video quality of your output by allocating more encoding bits to the prominent or noticeable parts of your content. To apply saliency aware encoding, when possible: We recommend that you choose Preferred. The effects of Saliency aware encoding are best seen in lower bitrate outputs. When you choose Preferred, note that Saliency aware encoding will only apply to outputs that are 720p or higher in resolution. To not apply saliency aware encoding, prioritizing encoding speed over perceptual video quality: Choose Disabled."
+ }
+ },
"H264ScanTypeConversionMode": {
"base": "Use this setting for interlaced outputs, when your output frame rate is half of your input frame rate. In this situation, choose Optimized interlacing to create a better quality interlaced output. In this case, each progressive frame from the input corresponds to an interlaced field in the output. Keep the default value, Basic interlacing, for all other output frame rates. With basic interlacing, MediaConvert performs any frame rate conversion first and then interlaces the frames. When you choose Optimized interlacing and you set your output frame rate to a value that isn't suitable for optimized interlacing, MediaConvert automatically falls back to basic interlacing. Required settings: To use optimized interlacing, you must set Telecine to None or Soft. You can't use optimized interlacing for hard telecine outputs. You must also set Interlace mode to a value other than Progressive.",
"refs": {
@@ -2348,6 +2368,12 @@
"__listOfJob$member": null
}
},
+ "JobEngineVersion": {
+ "base": "Use Job engine versions to run jobs for your production workflow on one version, while you test and validate the latest version. Job engine versions are in a YYYY-MM-DD format.",
+ "refs": {
+ "__listOfJobEngineVersion$member": null
+ }
+ },
"JobMessages": {
"base": "Provides messages from the service about jobs that you have already successfully submitted.",
"refs": {
@@ -2468,6 +2494,16 @@
"refs": {
}
},
+ "ListVersionsRequest": {
+ "base": "Retrieve a JSON array of all available Job engine versions and the date they expire. Job engine versions are in YYYY-MM-DD format.",
+ "refs": {
+ }
+ },
+ "ListVersionsResponse": {
+ "base": "Successful list versions requests will return a JSON for available Job engine versions.",
+ "refs": {
+ }
+ },
"M2tsAudioBufferModel": {
"base": "Selects between the DVB and ATSC buffer models for Dolby Digital audio.",
"refs": {
@@ -3177,6 +3213,18 @@
"UpdatePresetRequest$Settings": "Settings for preset"
}
},
+ "PresetSpeke20Audio": {
+ "base": "Specify which SPEKE version 2.0 audio preset MediaConvert uses to request content keys from your SPEKE server. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html To encrypt to your audio outputs, choose from the following: Audio preset 1, Audio preset 2, or Audio preset 3. To encrypt your audio outputs, using the same content key for both your audio and video outputs: Choose Shared. When you do, you must also set SPEKE v2.0 video preset to Shared. To not encrypt your audio outputs: Choose Unencrypted. When you do, to encrypt your video outputs, you must also specify a SPEKE v2.0 video preset (other than Shared or Unencrypted).",
+ "refs": {
+ "EncryptionContractConfiguration$SpekeAudioPreset": "Specify which SPEKE version 2.0 audio preset MediaConvert uses to request content keys from your SPEKE server. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html To encrypt to your audio outputs, choose from the following: Audio preset 1, Audio preset 2, or Audio preset 3. To encrypt your audio outputs, using the same content key for both your audio and video outputs: Choose Shared. When you do, you must also set SPEKE v2.0 video preset to Shared. To not encrypt your audio outputs: Choose Unencrypted. When you do, to encrypt your video outputs, you must also specify a SPEKE v2.0 video preset (other than Shared or Unencrypted)."
+ }
+ },
+ "PresetSpeke20Video": {
+ "base": "Specify which SPEKE version 2.0 video preset MediaConvert uses to request content keys from your SPEKE server. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html To encrypt to your video outputs, choose from the following: Video preset 1, Video preset 2, Video preset 3, Video preset 4, Video preset 5, Video preset 6, Video preset 7, or Video preset 8. To encrypt your video outputs, using the same content key for both your video and audio outputs: Choose Shared. When you do, you must also set SPEKE v2.0 audio preset to Shared. To not encrypt your video outputs: Choose Unencrypted. When you do, to encrypt your audio outputs, you must also specify a SPEKE v2.0 audio preset (other than Shared or Unencrypted).",
+ "refs": {
+ "EncryptionContractConfiguration$SpekeVideoPreset": "Specify which SPEKE version 2.0 video preset MediaConvert uses to request content keys from your SPEKE server. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html To encrypt to your video outputs, choose from the following: Video preset 1, Video preset 2, Video preset 3, Video preset 4, Video preset 5, Video preset 6, Video preset 7, or Video preset 8. To encrypt your video outputs, using the same content key for both your video and audio outputs: Choose Shared. When you do, you must also set SPEKE v2.0 audio preset to Shared. To not encrypt your video outputs: Choose Unencrypted. When you do, to encrypt your audio outputs, you must also specify a SPEKE v2.0 audio preset (other than Shared or Unencrypted)."
+ }
+ },
"PricingPlan": {
"base": "Specifies whether the pricing plan for the queue is on-demand or reserved. For on-demand, you pay per minute, billed in increments of .01 minute. For reserved, you pay for the transcoding capacity of the entire queue, regardless of how much or how little you use it. Reserved pricing requires a 12-month commitment.",
"refs": {
@@ -3766,6 +3814,31 @@
"__listOfVideoOverlayInputClipping$member": null
}
},
+ "VideoOverlayPlayBackMode": {
+ "base": "Specify whether your video overlay repeats or plays only once. To repeat your video overlay on a loop: Keep the default value, Repeat. Your overlay will repeat for the duration of the base input video. To playback your video overlay only once: Choose Once. With either option, you can end playback at a time that you specify by entering a value for End timecode.",
+ "refs": {
+ "VideoOverlay$Playback": "Specify whether your video overlay repeats or plays only once. To repeat your video overlay on a loop: Keep the default value, Repeat. Your overlay will repeat for the duration of the base input video. To playback your video overlay only once: Choose Once. With either option, you can end playback at a time that you specify by entering a value for End timecode."
+ }
+ },
+ "VideoOverlayPosition": {
+ "base": "position of video overlay",
+ "refs": {
+ "VideoOverlay$InitialPosition": "Specify the Initial position of your video overlay. To specify the Initial position of your video overlay, including distance from the left or top edge of the base input video's frame, or size: Enter a value for X position, Y position, Width, or Height. To use the full frame of the base input video: Leave blank.",
+ "VideoOverlayTransition$EndPosition": "Specify the ending position for this transition, relative to the base input video's frame. Your video overlay will move smoothly to this position, beginning at this transition's Start timecode and ending at this transition's End timecode."
+ }
+ },
+ "VideoOverlayTransition": {
+ "base": "Specify one or more Transitions for your video overlay. Use Transitions to reposition or resize your overlay over time. To use the same position and size for the duration of your video overlay: Leave blank. To specify a Transition: Enter a value for Start timecode, End Timecode, X Position, Y Position, Width, or Height.",
+ "refs": {
+ "__listOfVideoOverlayTransition$member": null
+ }
+ },
+ "VideoOverlayUnit": {
+ "base": "Specify the Unit type to use when you enter a value for X position, Y position, Width, or Height. You can choose Pixels or Percentage. Leave blank to use the default value, Pixels.",
+ "refs": {
+ "VideoOverlayPosition$Unit": "Specify the Unit type to use when you enter a value for X position, Y position, Width, or Height. You can choose Pixels or Percentage. Leave blank to use the default value, Pixels."
+ }
+ },
"VideoPreprocessor": {
"base": "Find additional transcoding features under Preprocessors. Enable the features at each output individually. These features are disabled by default.",
"refs": {
@@ -4311,9 +4384,9 @@
"__integerMin0Max30": {
"base": null,
"refs": {
- "H264Settings$MinIInterval": "Use this setting only when you also enable Scene change detection. This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, do this by keeping the default empty value. When you explicitly specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs.",
- "H265Settings$MinIInterval": "Use this setting only when you also enable Scene change detection. This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. We recommend that you have the transcoder automatically choose this value for you based on characteristics of your input video. To enable this automatic behavior, do this by keeping the default empty value. When you explicitly specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs.",
- "Mpeg2Settings$MinIInterval": "Use this setting only when you also enable Scene change detection. This setting determines how the encoder manages the spacing between I-frames that it inserts as part of the I-frame cadence and the I-frames that it inserts for Scene change detection. When you specify a value for this setting, the encoder determines whether to skip a cadence-driven I-frame by the value you set. For example, if you set Min I interval to 5 and a cadence-driven I-frame would fall within 5 frames of a scene-change I-frame, then the encoder skips the cadence-driven I-frame. In this way, one GOP is shrunk slightly and one GOP is stretched slightly. When the cadence-driven I-frames are farther from the scene-change I-frame than the value you set, then the encoder leaves all I-frames in place and the GOPs surrounding the scene change are smaller than the usual cadence GOPs."
+ "H264Settings$MinIInterval": "Specify the minimum number of frames allowed between two IDR-frames in your output. This includes frames created at the start of a GOP or a scene change. Use Min I-Interval to improve video compression by varying GOP size when two IDR-frames would be created near each other. For example, if a regular cadence-driven IDR-frame would fall within 5 frames of a scene-change IDR-frame, and you set Min I-interval to 5, then the encoder would only write an IDR-frame for the scene-change. In this way, one GOP is shortened or extended. If a cadence-driven IDR-frame would be further than 5 frames from a scene-change IDR-frame, then the encoder leaves all IDR-frames in place. To use an automatically determined interval: We recommend that you keep this value blank. This allows for MediaConvert to use an optimal setting according to the characteristics of your input video, and results in better video compression. To manually specify an interval: Enter a value from 1 to 30. Use when your downstream systems have specific GOP size requirements. To disable GOP size variance: Enter 0. MediaConvert will only create IDR-frames at the start of your output's cadence-driven GOP. Use when your downstream systems require a regular GOP size.",
+ "H265Settings$MinIInterval": "Specify the minimum number of frames allowed between two IDR-frames in your output. This includes frames created at the start of a GOP or a scene change. Use Min I-Interval to improve video compression by varying GOP size when two IDR-frames would be created near each other. For example, if a regular cadence-driven IDR-frame would fall within 5 frames of a scene-change IDR-frame, and you set Min I-interval to 5, then the encoder would only write an IDR-frame for the scene-change. In this way, one GOP is shortened or extended. If a cadence-driven IDR-frame would be further than 5 frames from a scene-change IDR-frame, then the encoder leaves all IDR-frames in place. To use an automatically determined interval: We recommend that you keep this value blank. This allows for MediaConvert to use an optimal setting according to the characteristics of your input video, and results in better video compression. To manually specify an interval: Enter a value from 1 to 30. Use when your downstream systems have specific GOP size requirements. To disable GOP size variance: Enter 0. MediaConvert will only create IDR-frames at the start of your output's cadence-driven GOP. Use when your downstream systems require a regular GOP size.",
+ "Mpeg2Settings$MinIInterval": "Specify the minimum number of frames allowed between two IDR-frames in your output. This includes frames created at the start of a GOP or a scene change. Use Min I-Interval to improve video compression by varying GOP size when two IDR-frames would be created near each other. For example, if a regular cadence-driven IDR-frame would fall within 5 frames of a scene-change IDR-frame, and you set Min I-interval to 5, then the encoder would only write an IDR-frame for the scene-change. In this way, one GOP is shortened or extended. If a cadence-driven IDR-frame would be further than 5 frames from a scene-change IDR-frame, then the encoder leaves all IDR-frames in place. To manually specify an interval: Enter a value from 1 to 30. Use when your downstream systems have specific GOP size requirements. To disable GOP size variance: Enter 0. MediaConvert will only create IDR-frames at the start of your output's cadence-driven GOP. Use when your downstream systems require a regular GOP size."
}
},
"__integerMin0Max30000": {
@@ -4590,6 +4663,7 @@
"ListJobsRequest$MaxResults": "Optional. Number of jobs, up to twenty, that will be returned at one time.",
"ListPresetsRequest$MaxResults": "Optional. Number of presets, up to twenty, that will be returned at one time",
"ListQueuesRequest$MaxResults": "Optional. Number of queues, up to twenty, that will be returned at one time.",
+ "ListVersionsRequest$MaxResults": "Optional. Number of valid Job engine versions, up to twenty, that will be returned at one time.",
"SearchJobsRequest$MaxResults": "Optional. Number of jobs, up to twenty, that will be returned at one time."
}
},
@@ -4882,7 +4956,7 @@
"__integerMin8000Max96000": {
"base": null,
"refs": {
- "AacSettings$SampleRate": "Specify the Sample rate in Hz. Valid sample rates depend on the Profile and Coding mode that you select. The following list shows valid sample rates for each Profile and Coding mode. * LC Profile, Coding mode 1.0, 2.0, and Receiver Mix: 8000, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000. * LC Profile, Coding mode 5.1: 32000, 44100, 48000, 96000. * HEV1 Profile, Coding mode 1.0 and Receiver Mix: 22050, 24000, 32000, 44100, 48000. * HEV1 Profile, Coding mode 2.0 and 5.1: 32000, 44100, 48000, 96000. * HEV2 Profile, Coding mode 2.0: 22050, 24000, 32000, 44100, 48000."
+ "AacSettings$SampleRate": "Specify the AAC sample rate in samples per second (Hz). Valid sample rates depend on the AAC profile and Coding mode that you select. For a list of supported sample rates, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/aac-support.html"
}
},
"__integerMin8Max12": {
@@ -4937,6 +5011,13 @@
"VorbisSettings$VbrQuality": "Optional. Specify the variable audio quality of this Vorbis output from -1 (lowest quality, ~45 kbit/s) to 10 (highest quality, ~500 kbit/s). The default value is 4 (~128 kbit/s). Values 5 and 6 are approximately 160 and 192 kbit/s, respectively."
}
},
+ "__integerMinNegative1Max2147483647": {
+ "base": null,
+ "refs": {
+ "VideoOverlayPosition$Height": "To scale your video overlay to the same height as the base input video: Leave blank. To scale the height of your video overlay to a different height: Enter an integer representing the Unit type that you choose, either Pixels or Percentage. For example, when you enter 360 and choose Pixels, your video overlay will be rendered with a height of 360. When you enter 50, choose Percentage, and your overlay's source has a height of 1080, your video overlay will be rendered with a height of 540. To scale your overlay to a specific height while automatically maintaining its original aspect ratio, enter a value for Height and leave Width blank.",
+ "VideoOverlayPosition$Width": "To scale your video overlay to the same width as the base input video: Leave blank. To scale the width of your video overlay to a different width: Enter an integer representing the Unit type that you choose, either Pixels or Percentage. For example, when you enter 640 and choose Pixels, your video overlay will scale to a height of 640 pixels. When you enter 50, choose Percentage, and your overlay's source has a width of 1920, your video overlay will scale to a width of 960. To scale your overlay to a specific width while automatically maintaining its original aspect ratio, enter a value for Width and leave Height blank."
+ }
+ },
"__integerMinNegative1Max3": {
"base": null,
"refs": {
@@ -4955,6 +5036,8 @@
"HlsCaptionLanguageMapping$CaptionChannel": "Caption channel.",
"HlsGroupSettings$TimedMetadataId3Period": "Specify the interval in seconds to write ID3 timestamps in your output. The first timestamp starts at the output timecode and date, and increases incrementally with each ID3 timestamp. To use the default interval of 10 seconds: Leave blank. To include this metadata in your output: Set ID3 timestamp frame type to PRIV or TDRL, and set ID3 metadata to Passthrough.",
"HlsGroupSettings$TimestampDeltaMilliseconds": "Provides an extra millisecond delta offset to fine tune the timestamps.",
+ "VideoOverlayPosition$XPosition": "To position the left edge of your video overlay along the left edge of the base input video's frame: Keep blank, or enter 0. To position the left edge of your video overlay to the right, relative to the left edge of the base input video's frame: Enter an integer representing the Unit type that you choose, either Pixels or Percentage. For example, when you enter 10 and choose Pixels, your video overlay will be positioned 10 pixels from the left edge of the base input video's frame. When you enter 10, choose Percentage, and your base input video is 1920x1080, your video overlay will be positioned 192 pixels from the left edge of the base input video's frame.",
+ "VideoOverlayPosition$YPosition": "To position the top edge of your video overlay along the top edge of the base input video's frame: Keep blank, or enter 0. To position the top edge of your video overlay down, relative to the top edge of the base input video's frame: Enter an integer representing the Unit type that you choose, either Pixels or Percentage. For example, when you enter 10 and choose Pixels, your video overlay will be positioned 10 pixels from the top edge of the base input video's frame. When you enter 10, choose Percentage, and your underlying video is 1920x1080, your video overlay will be positioned 108 pixels from the top edge of the base input video's frame.",
"VideoSelector$ProgramNumber": "Selects a specific program from within a multi-program transport stream. Note that Quad 4K is not currently supported."
}
},
@@ -5127,6 +5210,12 @@
"SearchJobsResponse$Jobs": "List of jobs."
}
},
+ "__listOfJobEngineVersion": {
+ "base": null,
+ "refs": {
+ "ListVersionsResponse$Versions": "Retrieve a JSON array of all available Job engine versions and the date they expire."
+ }
+ },
"__listOfJobTemplate": {
"base": null,
"refs": {
@@ -5207,6 +5296,12 @@
"VideoOverlayInput$InputClippings": "Specify one or more clips to use from your video overlay. When you include an input clip, you must also specify its start timecode, end timecode, or both start and end timecode."
}
},
+ "__listOfVideoOverlayTransition": {
+ "base": null,
+ "refs": {
+ "VideoOverlay$Transitions": "Specify one or more transitions for your video overlay. Use Transitions to reposition or resize your overlay over time. To use the same position and size for the duration of your video overlay: Leave blank. To specify a Transition: Enter a value for Start timecode, End Timecode, X Position, Y Position, Width, or Height."
+ }
+ },
"__listOfWarningGroup": {
"base": null,
"refs": {
@@ -5324,6 +5419,7 @@
"CmfcSettings$AudioGroupId": "Specify the audio rendition group for this audio rendition. Specify up to one value for each audio output in your output group. This value appears in your HLS parent manifest in the EXT-X-MEDIA tag of TYPE=AUDIO, as the value for the GROUP-ID attribute. For example, if you specify \"audio_aac_1\" for Audio group ID, it appears in your manifest like this: #EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID=\"audio_aac_1\". Related setting: To associate the rendition group that this audio track belongs to with a video rendition, include the same value that you provide here for that video output's setting Audio rendition sets.",
"CmfcSettings$AudioRenditionSets": "List the audio rendition groups that you want included with this video rendition. Use a comma-separated list. For example, say you want to include the audio rendition groups that have the audio group IDs \"audio_aac_1\" and \"audio_dolby\". Then you would specify this value: \"audio_aac_1,audio_dolby\". Related setting: The rendition groups that you include in your comma-separated list should all match values that you specify in the setting Audio group ID for audio renditions in the same output group as this video rendition. Default behavior: If you don't specify anything here and for Audio group ID, MediaConvert puts each audio variant in its own audio rendition group and associates it with every video variant. Each value in your list appears in your HLS parent manifest in the EXT-X-STREAM-INF tag as the value for the AUDIO attribute. To continue the previous example, say that the file name for the child manifest for your video rendition is \"amazing_video_1.m3u8\". Then, in your parent manifest, each value will appear on separate lines, like this: #EXT-X-STREAM-INF:AUDIO=\"audio_aac_1\"... amazing_video_1.m3u8 #EXT-X-STREAM-INF:AUDIO=\"audio_dolby\"... amazing_video_1.m3u8",
"CreateJobRequest$ClientRequestToken": "Prevent duplicate jobs from being created and ensure idempotency for your requests. A client request token can be any string that includes up to 64 ASCII characters. If you reuse a client request token within one minute of a successful request, the API returns the job details of the original request instead. For more information see https://docs.aws.amazon.com/mediaconvert/latest/apireference/idempotency.html.",
+ "CreateJobRequest$JobEngineVersion": "Use Job engine versions to run jobs for your production workflow on one version, while you test and validate the latest version. To specify a Job engine version: Enter a date in a YYYY-MM-DD format. For a list of valid Job engine versions, submit a ListVersions request. To not specify a Job engine version: Leave blank.",
"CreateJobRequest$JobTemplate": "Optional. When you create a job, you can either specify a job template or specify the transcoding settings individually.",
"CreateJobRequest$Queue": "Optional. When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html.",
"CreateJobRequest$Role": "Required. The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html.",
@@ -5361,9 +5457,12 @@
"Job$ClientRequestToken": "Prevent duplicate jobs from being created and ensure idempotency for your requests. A client request token can be any string that includes up to 64 ASCII characters. If you reuse a client request token within one minute of a successful request, the API returns the job details of the original request instead. For more information see https://docs.aws.amazon.com/mediaconvert/latest/apireference/idempotency.html.",
"Job$ErrorMessage": "Error message of Job",
"Job$Id": "A portion of the job's ARN, unique within your AWS Elemental MediaConvert resources",
+ "Job$JobEngineVersionRequested": "The Job engine version that you requested for your job. Valid versions are in a YYYY-MM-DD format.",
+ "Job$JobEngineVersionUsed": "The Job engine version that your job used. Job engine versions are in a YYYY-MM-DD format. When you request an expired version, the response for this property will be empty. Requests to create jobs with an expired version result in a regular job, as if no specific Job engine version was requested. When you request an invalid version, the response for this property will be empty. Requests to create jobs with an invalid version result in a 400 error message, and no job is created.",
"Job$JobTemplate": "The job template that the job is created from, if it is created from a job template.",
"Job$Queue": "When you create a job, you can specify a queue to send it to. If you don't specify, the job will go to the default queue. For more about queues, see the User Guide topic at https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html",
"Job$Role": "The IAM role you use for creating this job. For details about permissions, see the User Guide topic at the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/iam-role.html",
+ "JobEngineVersion$Version": "Use Job engine versions to run jobs for your production workflow on one version, while you test and validate the latest version. Job engine versions are in a YYYY-MM-DD format.",
"JobTemplate$Arn": "An identifier for this resource that is unique within all of AWS.",
"JobTemplate$Category": "An optional category you create to organize your job templates.",
"JobTemplate$Description": "An optional description you create for each job template.",
@@ -5381,6 +5480,8 @@
"ListQueuesRequest$NextToken": "Use this string, provided with the response to a previous request, to request the next batch of queues.",
"ListQueuesResponse$NextToken": "Use this string to request the next batch of queues.",
"ListTagsForResourceRequest$Arn": "The Amazon Resource Name (ARN) of the resource that you want to list tags for. To get the ARN, send a GET request with the resource name.",
+ "ListVersionsRequest$NextToken": "Optional. Use this string, provided with the response to a previous request, to request the next batch of Job engine versions.",
+ "ListVersionsResponse$NextToken": "Optional. Use this string, provided with the response to a previous request, to request the next batch of Job engine versions.",
"Mp4Settings$Mp4MajorBrand": "Overrides the \"Major Brand\" field in the output file. Usually not necessary to specify.",
"NielsenConfiguration$DistributorId": "Use Distributor ID to specify the distributor ID that is assigned to your organization by Nielsen.",
"Output$Extension": "Use Extension to specify the file extension for outputs in File output groups. If you do not specify a value, the service will use default extensions by container type as follows * MPEG-2 transport stream, m2ts * Quicktime, mov * MXF container, mxf * MPEG-4 container, mp4 * WebM container, webm * No Container, the service will use codec extensions (e.g. AAC, H265, H265, AC3)",
@@ -5606,17 +5707,19 @@
"Id3Insertion$Timecode": "Provide a Timecode in HH:MM:SS:FF or HH:MM:SS;FF format.",
"TimecodeConfig$Anchor": "If you use an editing platform that relies on an anchor timecode, use Anchor Timecode to specify a timecode that will match the input video frame to the output video frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF). This setting ignores frame rate conversion. System behavior for Anchor Timecode varies depending on your setting for Source. * If Source is set to Specified Start, the first input frame is the specified value in Start Timecode. Anchor Timecode and Start Timecode are used calculate output timecode. * If Source is set to Start at 0 the first frame is 00:00:00:00. * If Source is set to Embedded, the first frame is the timecode value on the first input frame of the input.",
"TimecodeConfig$Start": "Only use when you set Source to Specified start. Use Start timecode to specify the timecode for the initial frame. Use 24-hour format with frame number, (HH:MM:SS:FF) or (HH:MM:SS;FF).",
- "VideoOverlay$EndTimecode": "Enter the end timecode in the underlying input video for this overlay. Your overlay will be active through this frame. To display your video overlay for the duration of the underlying video: Leave blank. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for the underlying Input timecode source. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your overlay to end ten minutes into the video, enter 01:10:00:00.",
- "VideoOverlay$StartTimecode": "Enter the start timecode in the underlying input video for this overlay. Your overlay will be active starting with this frame. To display your video overlay starting at the beginning of the underlying video: Leave blank. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for the underlying Input timecode source. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your overlay to begin five minutes into the video, enter 01:05:00:00.",
- "VideoOverlayInputClipping$EndTimecode": "Specify the timecode of the last frame to include in your video overlay's clip. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for Timecode source.",
- "VideoOverlayInputClipping$StartTimecode": "Specify the timecode of the first frame to include in your video overlay's clip. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for Timecode source."
+ "VideoOverlay$EndTimecode": "Enter the end timecode in the base input video for this overlay. Your overlay will be active through this frame. To display your video overlay for the duration of the base input video: Leave blank. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS isthe second, and FF is the frame number. When entering this value, take into account your choice for the base input video's timecode source. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your overlay to end ten minutes into the video, enter 01:10:00:00.",
+ "VideoOverlay$StartTimecode": "Enter the start timecode in the base input video for this overlay. Your overlay will be active starting with this frame. To display your video overlay starting at the beginning of the base input video: Leave blank. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for the base input video's timecode source. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your overlay to begin five minutes into the video, enter 01:05:00:00.",
+ "VideoOverlayTransition$EndTimecode": "Specify the timecode for when this transition ends. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for Timecode source.",
+ "VideoOverlayTransition$StartTimecode": "Specify the timecode for when this transition begins. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for Timecode source."
}
},
"__stringPattern010920405090509092090909": {
"base": null,
"refs": {
"InputClipping$EndTimecode": "Set End timecode to the end of the portion of the input you are clipping. The frame corresponding to the End timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for timecode source under input settings. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to end six minutes into the video, use 01:06:00:00.",
- "InputClipping$StartTimecode": "Set Start timecode to the beginning of the portion of the input you are clipping. The frame corresponding to the Start timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for Input timecode source. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to begin five minutes into the video, use 01:05:00:00."
+ "InputClipping$StartTimecode": "Set Start timecode to the beginning of the portion of the input you are clipping. The frame corresponding to the Start timecode value is included in the clip. Start timecode or End timecode may be left blank, but not both. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When choosing this value, take into account your setting for Input timecode source. For example, if you have embedded timecodes that start at 01:00:00:00 and you want your clip to begin five minutes into the video, use 01:05:00:00.",
+ "VideoOverlayInputClipping$EndTimecode": "Specify the timecode of the last frame to include in your video overlay's clip. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for Timecode source.",
+ "VideoOverlayInputClipping$StartTimecode": "Specify the timecode of the first frame to include in your video overlay's clip. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the second, and FF is the frame number. When entering this value, take into account your choice for Timecode source."
}
},
"__stringPattern01D20305D205D": {
@@ -5737,7 +5840,7 @@
"refs": {
"AudioSelector$ExternalAudioFileInput": "Specifies audio data from an external file source.",
"Input$FileInput": "Specify the source file for your transcoding job. You can use multiple inputs in a single job. The service concatenates these inputs, in the order that you specify them in the job, to create the outputs. If your input format is IMF, specify your input by providing the path to your CPL. For example, \"s3://bucket/vf/cpl.xml\". If the CPL is in an incomplete IMP, make sure to use *Supplemental IMPs* to specify any supplemental IMPs that contain assets referenced by the CPL.",
- "VideoOverlayInput$FileInput": "Specify the input file S3, HTTP, or HTTPS URI for your video overlay. For consistency in color and formatting in your output video image, we recommend that you specify a video with similar characteristics as the underlying input video."
+ "VideoOverlayInput$FileInput": "Specify the input file S3, HTTP, or HTTPS URL for your video overlay.\nTo specify one or more Transitions for your base input video instead: Leave blank."
}
},
"__stringPatternS3TtfHttpsTtf": {
@@ -5780,6 +5883,7 @@
"base": null,
"refs": {
"Job$CreatedAt": "The time, in Unix epoch format in seconds, when the job got created.",
+ "JobEngineVersion$ExpirationDate": "The date that this Job engine version expires. Requests to create jobs with an expired version result in a regular job, as if no specific Job engine version was requested.",
"JobTemplate$CreatedAt": "The timestamp in epoch seconds for Job template creation.",
"JobTemplate$LastUpdated": "The timestamp in epoch seconds when the Job template was last updated.",
"Preset$CreatedAt": "The timestamp in epoch seconds for preset creation.",
diff --git a/apis/mediaconvert/2017-08-29/paginators-1.json b/apis/mediaconvert/2017-08-29/paginators-1.json
index c5a6082e2b3..0919dcd3652 100644
--- a/apis/mediaconvert/2017-08-29/paginators-1.json
+++ b/apis/mediaconvert/2017-08-29/paginators-1.json
@@ -35,6 +35,12 @@
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "Queues"
+ },
+ "ListVersions": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Versions"
}
}
}
\ No newline at end of file
diff --git a/apis/medialive/2017-10-14/api-2.json b/apis/medialive/2017-10-14/api-2.json
index 6b6cbad39fc..6567ea8a263 100644
--- a/apis/medialive/2017-10-14/api-2.json
+++ b/apis/medialive/2017-10-14/api-2.json
@@ -3340,2694 +3340,2329 @@
"shape": "ConflictException"
}
]
- }
- },
- "shapes": {
- "AacCodingMode": {
- "type": "string",
- "enum": [
- "AD_RECEIVER_MIX",
- "CODING_MODE_1_0",
- "CODING_MODE_1_1",
- "CODING_MODE_2_0",
- "CODING_MODE_5_1"
- ]
- },
- "AacInputType": {
- "type": "string",
- "enum": [
- "BROADCASTER_MIXED_AD",
- "NORMAL"
- ]
- },
- "AacProfile": {
- "type": "string",
- "enum": [
- "HEV1",
- "HEV2",
- "LC"
- ]
- },
- "AacRateControlMode": {
- "type": "string",
- "enum": [
- "CBR",
- "VBR"
- ]
- },
- "AacRawFormat": {
- "type": "string",
- "enum": [
- "LATM_LOAS",
- "NONE"
- ]
},
- "AacSettings": {
- "type": "structure",
- "members": {
- "Bitrate": {
- "shape": "__double",
- "locationName": "bitrate"
- },
- "CodingMode": {
- "shape": "AacCodingMode",
- "locationName": "codingMode"
- },
- "InputType": {
- "shape": "AacInputType",
- "locationName": "inputType"
+ "CreateChannelPlacementGroup": {
+ "name": "CreateChannelPlacementGroup",
+ "http": {
+ "method": "POST",
+ "requestUri": "/prod/clusters/{clusterId}/channelplacementgroups",
+ "responseCode": 201
+ },
+ "input": {
+ "shape": "CreateChannelPlacementGroupRequest"
+ },
+ "output": {
+ "shape": "CreateChannelPlacementGroupResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "Profile": {
- "shape": "AacProfile",
- "locationName": "profile"
+ {
+ "shape": "UnprocessableEntityException"
},
- "RateControlMode": {
- "shape": "AacRateControlMode",
- "locationName": "rateControlMode"
+ {
+ "shape": "InternalServerErrorException"
},
- "RawFormat": {
- "shape": "AacRawFormat",
- "locationName": "rawFormat"
+ {
+ "shape": "ForbiddenException"
},
- "SampleRate": {
- "shape": "__double",
- "locationName": "sampleRate"
+ {
+ "shape": "BadGatewayException"
},
- "Spec": {
- "shape": "AacSpec",
- "locationName": "spec"
+ {
+ "shape": "GatewayTimeoutException"
},
- "VbrQuality": {
- "shape": "AacVbrQuality",
- "locationName": "vbrQuality"
+ {
+ "shape": "TooManyRequestsException"
}
- }
- },
- "AacSpec": {
- "type": "string",
- "enum": [
- "MPEG2",
- "MPEG4"
- ]
- },
- "AacVbrQuality": {
- "type": "string",
- "enum": [
- "HIGH",
- "LOW",
- "MEDIUM_HIGH",
- "MEDIUM_LOW"
- ]
- },
- "Ac3AttenuationControl": {
- "type": "string",
- "enum": [
- "ATTENUATE_3_DB",
- "NONE"
- ]
- },
- "Ac3BitstreamMode": {
- "type": "string",
- "enum": [
- "COMMENTARY",
- "COMPLETE_MAIN",
- "DIALOGUE",
- "EMERGENCY",
- "HEARING_IMPAIRED",
- "MUSIC_AND_EFFECTS",
- "VISUALLY_IMPAIRED",
- "VOICE_OVER"
- ]
- },
- "Ac3CodingMode": {
- "type": "string",
- "enum": [
- "CODING_MODE_1_0",
- "CODING_MODE_1_1",
- "CODING_MODE_2_0",
- "CODING_MODE_3_2_LFE"
- ]
- },
- "Ac3DrcProfile": {
- "type": "string",
- "enum": [
- "FILM_STANDARD",
- "NONE"
- ]
- },
- "Ac3LfeFilter": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "Ac3MetadataControl": {
- "type": "string",
- "enum": [
- "FOLLOW_INPUT",
- "USE_CONFIGURED"
]
},
- "Ac3Settings": {
- "type": "structure",
- "members": {
- "Bitrate": {
- "shape": "__double",
- "locationName": "bitrate"
- },
- "BitstreamMode": {
- "shape": "Ac3BitstreamMode",
- "locationName": "bitstreamMode"
+ "CreateCluster": {
+ "name": "CreateCluster",
+ "http": {
+ "method": "POST",
+ "requestUri": "/prod/clusters",
+ "responseCode": 201
+ },
+ "input": {
+ "shape": "CreateClusterRequest"
+ },
+ "output": {
+ "shape": "CreateClusterResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "CodingMode": {
- "shape": "Ac3CodingMode",
- "locationName": "codingMode"
+ {
+ "shape": "InternalServerErrorException"
},
- "Dialnorm": {
- "shape": "__integerMin1Max31",
- "locationName": "dialnorm"
+ {
+ "shape": "ForbiddenException"
},
- "DrcProfile": {
- "shape": "Ac3DrcProfile",
- "locationName": "drcProfile"
+ {
+ "shape": "BadGatewayException"
},
- "LfeFilter": {
- "shape": "Ac3LfeFilter",
- "locationName": "lfeFilter"
+ {
+ "shape": "GatewayTimeoutException"
},
- "MetadataControl": {
- "shape": "Ac3MetadataControl",
- "locationName": "metadataControl"
+ {
+ "shape": "TooManyRequestsException"
},
- "AttenuationControl": {
- "shape": "Ac3AttenuationControl",
- "locationName": "attenuationControl"
+ {
+ "shape": "ConflictException"
}
- }
+ ]
},
- "AcceptInputDeviceTransferRequest": {
- "type": "structure",
- "members": {
- "InputDeviceId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "inputDeviceId"
- }
+ "CreateNetwork": {
+ "name": "CreateNetwork",
+ "http": {
+ "method": "POST",
+ "requestUri": "/prod/networks",
+ "responseCode": 201
},
- "required": [
- "InputDeviceId"
+ "input": {
+ "shape": "CreateNetworkRequest"
+ },
+ "output": {
+ "shape": "CreateNetworkResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
+ },
+ {
+ "shape": "InternalServerErrorException"
+ },
+ {
+ "shape": "ForbiddenException"
+ },
+ {
+ "shape": "BadGatewayException"
+ },
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
+ },
+ {
+ "shape": "ConflictException"
+ }
]
},
- "AcceptInputDeviceTransferResponse": {
- "type": "structure",
- "members": {
- }
- },
- "AccessDenied": {
- "type": "structure",
- "members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
- }
- }
- },
- "AccessibilityType": {
- "type": "string",
- "enum": [
- "DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES",
- "IMPLEMENTS_ACCESSIBILITY_FEATURES"
- ]
- },
- "AccountConfiguration": {
- "type": "structure",
- "members": {
- "KmsKeyId": {
- "shape": "__string",
- "locationName": "kmsKeyId"
- }
- }
- },
- "AfdSignaling": {
- "type": "string",
- "enum": [
- "AUTO",
- "FIXED",
- "NONE"
- ]
- },
- "AncillarySourceSettings": {
- "type": "structure",
- "members": {
- "SourceAncillaryChannelNumber": {
- "shape": "__integerMin1Max4",
- "locationName": "sourceAncillaryChannelNumber"
- }
- }
- },
- "ArchiveCdnSettings": {
- "type": "structure",
- "members": {
- "ArchiveS3Settings": {
- "shape": "ArchiveS3Settings",
- "locationName": "archiveS3Settings"
- }
- }
- },
- "ArchiveContainerSettings": {
- "type": "structure",
- "members": {
- "M2tsSettings": {
- "shape": "M2tsSettings",
- "locationName": "m2tsSettings"
+ "CreateNode": {
+ "name": "CreateNode",
+ "http": {
+ "method": "POST",
+ "requestUri": "/prod/clusters/{clusterId}/nodes",
+ "responseCode": 201
+ },
+ "input": {
+ "shape": "CreateNodeRequest"
+ },
+ "output": {
+ "shape": "CreateNodeResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "RawSettings": {
- "shape": "RawSettings",
- "locationName": "rawSettings"
- }
- }
- },
- "ArchiveGroupSettings": {
- "type": "structure",
- "members": {
- "ArchiveCdnSettings": {
- "shape": "ArchiveCdnSettings",
- "locationName": "archiveCdnSettings"
+ {
+ "shape": "UnprocessableEntityException"
},
- "Destination": {
- "shape": "OutputLocationRef",
- "locationName": "destination"
+ {
+ "shape": "InternalServerErrorException"
},
- "RolloverInterval": {
- "shape": "__integerMin1",
- "locationName": "rolloverInterval"
- }
- },
- "required": [
- "Destination"
- ]
- },
- "ArchiveOutputSettings": {
- "type": "structure",
- "members": {
- "ContainerSettings": {
- "shape": "ArchiveContainerSettings",
- "locationName": "containerSettings"
+ {
+ "shape": "ForbiddenException"
},
- "Extension": {
- "shape": "__string",
- "locationName": "extension"
+ {
+ "shape": "BadGatewayException"
},
- "NameModifier": {
- "shape": "__string",
- "locationName": "nameModifier"
- }
- },
- "required": [
- "ContainerSettings"
- ]
- },
- "ArchiveS3LogUploads": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "ArchiveS3Settings": {
- "type": "structure",
- "members": {
- "CannedAcl": {
- "shape": "S3CannedAcl",
- "locationName": "cannedAcl"
- }
- }
- },
- "AribDestinationSettings": {
- "type": "structure",
- "members": {
- }
- },
- "AribSourceSettings": {
- "type": "structure",
- "members": {
- }
- },
- "AudioChannelMapping": {
- "type": "structure",
- "members": {
- "InputChannelLevels": {
- "shape": "__listOfInputChannelLevel",
- "locationName": "inputChannelLevels"
+ {
+ "shape": "GatewayTimeoutException"
},
- "OutputChannel": {
- "shape": "__integerMin0Max7",
- "locationName": "outputChannel"
+ {
+ "shape": "TooManyRequestsException"
}
- },
- "required": [
- "OutputChannel",
- "InputChannelLevels"
]
},
- "AudioCodecSettings": {
- "type": "structure",
- "members": {
- "AacSettings": {
- "shape": "AacSettings",
- "locationName": "aacSettings"
+ "CreateNodeRegistrationScript": {
+ "name": "CreateNodeRegistrationScript",
+ "http": {
+ "method": "POST",
+ "requestUri": "/prod/clusters/{clusterId}/nodeRegistrationScript",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "CreateNodeRegistrationScriptRequest"
+ },
+ "output": {
+ "shape": "CreateNodeRegistrationScriptResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "Ac3Settings": {
- "shape": "Ac3Settings",
- "locationName": "ac3Settings"
+ {
+ "shape": "InternalServerErrorException"
},
- "Eac3AtmosSettings": {
- "shape": "Eac3AtmosSettings",
- "locationName": "eac3AtmosSettings"
+ {
+ "shape": "ForbiddenException"
},
- "Eac3Settings": {
- "shape": "Eac3Settings",
- "locationName": "eac3Settings"
+ {
+ "shape": "BadGatewayException"
},
- "Mp2Settings": {
- "shape": "Mp2Settings",
- "locationName": "mp2Settings"
+ {
+ "shape": "GatewayTimeoutException"
},
- "PassThroughSettings": {
- "shape": "PassThroughSettings",
- "locationName": "passThroughSettings"
+ {
+ "shape": "TooManyRequestsException"
},
- "WavSettings": {
- "shape": "WavSettings",
- "locationName": "wavSettings"
+ {
+ "shape": "ConflictException"
}
- }
+ ]
},
- "AudioDescription": {
- "type": "structure",
- "members": {
- "AudioNormalizationSettings": {
- "shape": "AudioNormalizationSettings",
- "locationName": "audioNormalizationSettings"
+ "DeleteChannelPlacementGroup": {
+ "name": "DeleteChannelPlacementGroup",
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/prod/clusters/{clusterId}/channelplacementgroups/{channelPlacementGroupId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "DeleteChannelPlacementGroupRequest"
+ },
+ "output": {
+ "shape": "DeleteChannelPlacementGroupResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "AudioSelectorName": {
- "shape": "__string",
- "locationName": "audioSelectorName"
+ {
+ "shape": "InternalServerErrorException"
},
- "AudioType": {
- "shape": "AudioType",
- "locationName": "audioType"
+ {
+ "shape": "ForbiddenException"
},
- "AudioTypeControl": {
- "shape": "AudioDescriptionAudioTypeControl",
- "locationName": "audioTypeControl"
+ {
+ "shape": "BadGatewayException"
},
- "AudioWatermarkingSettings": {
- "shape": "AudioWatermarkSettings",
- "locationName": "audioWatermarkingSettings"
+ {
+ "shape": "NotFoundException"
},
- "CodecSettings": {
- "shape": "AudioCodecSettings",
- "locationName": "codecSettings"
+ {
+ "shape": "GatewayTimeoutException"
},
- "LanguageCode": {
- "shape": "__stringMin1Max35",
- "locationName": "languageCode"
+ {
+ "shape": "TooManyRequestsException"
},
- "LanguageCodeControl": {
- "shape": "AudioDescriptionLanguageCodeControl",
- "locationName": "languageCodeControl"
+ {
+ "shape": "ConflictException"
+ }
+ ]
+ },
+ "DeleteCluster": {
+ "name": "DeleteCluster",
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/prod/clusters/{clusterId}",
+ "responseCode": 202
+ },
+ "input": {
+ "shape": "DeleteClusterRequest"
+ },
+ "output": {
+ "shape": "DeleteClusterResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "Name": {
- "shape": "__stringMax255",
- "locationName": "name"
+ {
+ "shape": "InternalServerErrorException"
},
- "RemixSettings": {
- "shape": "RemixSettings",
- "locationName": "remixSettings"
+ {
+ "shape": "ForbiddenException"
},
- "StreamName": {
- "shape": "__string",
- "locationName": "streamName"
+ {
+ "shape": "BadGatewayException"
},
- "AudioDashRoles": {
- "shape": "__listOfDashRoleAudio",
- "locationName": "audioDashRoles"
+ {
+ "shape": "NotFoundException"
},
- "DvbDashAccessibility": {
- "shape": "DvbDashAccessibility",
- "locationName": "dvbDashAccessibility"
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
+ },
+ {
+ "shape": "ConflictException"
}
- },
- "required": [
- "AudioSelectorName",
- "Name"
- ]
- },
- "AudioDescriptionAudioTypeControl": {
- "type": "string",
- "enum": [
- "FOLLOW_INPUT",
- "USE_CONFIGURED"
- ]
- },
- "AudioDescriptionLanguageCodeControl": {
- "type": "string",
- "enum": [
- "FOLLOW_INPUT",
- "USE_CONFIGURED"
]
},
- "AudioDolbyEDecode": {
- "type": "structure",
- "members": {
- "ProgramSelection": {
- "shape": "DolbyEProgramSelection",
- "locationName": "programSelection"
- }
+ "DeleteNetwork": {
+ "name": "DeleteNetwork",
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/prod/networks/{networkId}",
+ "responseCode": 202
},
- "required": [
- "ProgramSelection"
- ]
- },
- "AudioHlsRenditionSelection": {
- "type": "structure",
- "members": {
- "GroupId": {
- "shape": "__stringMin1",
- "locationName": "groupId"
- },
- "Name": {
- "shape": "__stringMin1",
- "locationName": "name"
- }
+ "input": {
+ "shape": "DeleteNetworkRequest"
},
- "required": [
- "Name",
- "GroupId"
- ]
- },
- "AudioLanguageSelection": {
- "type": "structure",
- "members": {
- "LanguageCode": {
- "shape": "__string",
- "locationName": "languageCode"
- },
- "LanguageSelectionPolicy": {
- "shape": "AudioLanguageSelectionPolicy",
- "locationName": "languageSelectionPolicy"
- }
+ "output": {
+ "shape": "DeleteNetworkResponse"
},
- "required": [
- "LanguageCode"
- ]
- },
- "AudioLanguageSelectionPolicy": {
- "type": "string",
- "enum": [
- "LOOSE",
- "STRICT"
- ]
- },
- "AudioNormalizationAlgorithm": {
- "type": "string",
- "enum": [
- "ITU_1770_1",
- "ITU_1770_2"
- ]
- },
- "AudioNormalizationAlgorithmControl": {
- "type": "string",
- "enum": [
- "CORRECT_AUDIO"
- ]
- },
- "AudioNormalizationSettings": {
- "type": "structure",
- "members": {
- "Algorithm": {
- "shape": "AudioNormalizationAlgorithm",
- "locationName": "algorithm"
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "AlgorithmControl": {
- "shape": "AudioNormalizationAlgorithmControl",
- "locationName": "algorithmControl"
+ {
+ "shape": "InternalServerErrorException"
},
- "TargetLkfs": {
- "shape": "__doubleMinNegative59Max0",
- "locationName": "targetLkfs"
- }
- }
- },
- "AudioOnlyHlsSegmentType": {
- "type": "string",
- "enum": [
- "AAC",
- "FMP4"
- ]
- },
- "AudioOnlyHlsSettings": {
- "type": "structure",
- "members": {
- "AudioGroupId": {
- "shape": "__string",
- "locationName": "audioGroupId"
+ {
+ "shape": "ForbiddenException"
},
- "AudioOnlyImage": {
- "shape": "InputLocation",
- "locationName": "audioOnlyImage"
+ {
+ "shape": "BadGatewayException"
},
- "AudioTrackType": {
- "shape": "AudioOnlyHlsTrackType",
- "locationName": "audioTrackType"
+ {
+ "shape": "NotFoundException"
},
- "SegmentType": {
- "shape": "AudioOnlyHlsSegmentType",
- "locationName": "segmentType"
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
+ },
+ {
+ "shape": "ConflictException"
}
- }
- },
- "AudioOnlyHlsTrackType": {
- "type": "string",
- "enum": [
- "ALTERNATE_AUDIO_AUTO_SELECT",
- "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT",
- "ALTERNATE_AUDIO_NOT_AUTO_SELECT",
- "AUDIO_ONLY_VARIANT_STREAM"
]
},
- "AudioPidSelection": {
- "type": "structure",
- "members": {
- "Pid": {
- "shape": "__integerMin0Max8191",
- "locationName": "pid"
- }
+ "DeleteNode": {
+ "name": "DeleteNode",
+ "http": {
+ "method": "DELETE",
+ "requestUri": "/prod/clusters/{clusterId}/nodes/{nodeId}",
+ "responseCode": 202
},
- "required": [
- "Pid"
- ]
- },
- "AudioSelector": {
- "type": "structure",
- "members": {
- "Name": {
- "shape": "__stringMin1",
- "locationName": "name"
- },
- "SelectorSettings": {
- "shape": "AudioSelectorSettings",
- "locationName": "selectorSettings"
- }
+ "input": {
+ "shape": "DeleteNodeRequest"
},
- "required": [
- "Name"
- ]
- },
- "AudioSelectorSettings": {
- "type": "structure",
- "members": {
- "AudioHlsRenditionSelection": {
- "shape": "AudioHlsRenditionSelection",
- "locationName": "audioHlsRenditionSelection"
+ "output": {
+ "shape": "DeleteNodeResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "AudioLanguageSelection": {
- "shape": "AudioLanguageSelection",
- "locationName": "audioLanguageSelection"
+ {
+ "shape": "InternalServerErrorException"
},
- "AudioPidSelection": {
- "shape": "AudioPidSelection",
- "locationName": "audioPidSelection"
+ {
+ "shape": "ForbiddenException"
},
- "AudioTrackSelection": {
- "shape": "AudioTrackSelection",
- "locationName": "audioTrackSelection"
- }
- }
- },
- "AudioSilenceFailoverSettings": {
- "type": "structure",
- "members": {
- "AudioSelectorName": {
- "shape": "__string",
- "locationName": "audioSelectorName"
+ {
+ "shape": "BadGatewayException"
},
- "AudioSilenceThresholdMsec": {
- "shape": "__integerMin1000",
- "locationName": "audioSilenceThresholdMsec"
+ {
+ "shape": "NotFoundException"
+ },
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
+ },
+ {
+ "shape": "ConflictException"
}
- },
- "required": [
- "AudioSelectorName"
]
},
- "AudioTrack": {
- "type": "structure",
- "members": {
- "Track": {
- "shape": "__integerMin1",
- "locationName": "track"
- }
+ "DescribeChannelPlacementGroup": {
+ "name": "DescribeChannelPlacementGroup",
+ "http": {
+ "method": "GET",
+ "requestUri": "/prod/clusters/{clusterId}/channelplacementgroups/{channelPlacementGroupId}",
+ "responseCode": 200
},
- "required": [
- "Track"
- ]
- },
- "AudioTrackSelection": {
- "type": "structure",
- "members": {
- "Tracks": {
- "shape": "__listOfAudioTrack",
- "locationName": "tracks"
- },
- "DolbyEDecode": {
- "shape": "AudioDolbyEDecode",
- "locationName": "dolbyEDecode"
- }
+ "input": {
+ "shape": "DescribeChannelPlacementGroupRequest"
},
- "required": [
- "Tracks"
- ]
- },
- "AudioType": {
- "type": "string",
- "enum": [
- "CLEAN_EFFECTS",
- "HEARING_IMPAIRED",
- "UNDEFINED",
- "VISUAL_IMPAIRED_COMMENTARY"
- ]
- },
- "AudioWatermarkSettings": {
- "type": "structure",
- "members": {
- "NielsenWatermarksSettings": {
- "shape": "NielsenWatermarksSettings",
- "locationName": "nielsenWatermarksSettings"
+ "output": {
+ "shape": "DescribeChannelPlacementGroupResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
+ },
+ {
+ "shape": "InternalServerErrorException"
+ },
+ {
+ "shape": "ForbiddenException"
+ },
+ {
+ "shape": "BadGatewayException"
+ },
+ {
+ "shape": "NotFoundException"
+ },
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
}
- }
- },
- "AuthenticationScheme": {
- "type": "string",
- "enum": [
- "AKAMAI",
- "COMMON"
]
},
- "AutomaticInputFailoverSettings": {
- "type": "structure",
- "members": {
- "ErrorClearTimeMsec": {
- "shape": "__integerMin1",
- "locationName": "errorClearTimeMsec"
+ "DescribeCluster": {
+ "name": "DescribeCluster",
+ "http": {
+ "method": "GET",
+ "requestUri": "/prod/clusters/{clusterId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "DescribeClusterRequest"
+ },
+ "output": {
+ "shape": "DescribeClusterResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "FailoverConditions": {
- "shape": "__listOfFailoverCondition",
- "locationName": "failoverConditions"
+ {
+ "shape": "InternalServerErrorException"
},
- "InputPreference": {
- "shape": "InputPreference",
- "locationName": "inputPreference"
+ {
+ "shape": "ForbiddenException"
},
- "SecondaryInputId": {
- "shape": "__string",
- "locationName": "secondaryInputId"
+ {
+ "shape": "BadGatewayException"
+ },
+ {
+ "shape": "NotFoundException"
+ },
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
}
- },
- "required": [
- "SecondaryInputId"
]
},
- "AvailBlanking": {
- "type": "structure",
- "members": {
- "AvailBlankingImage": {
- "shape": "InputLocation",
- "locationName": "availBlankingImage"
+ "DescribeNetwork": {
+ "name": "DescribeNetwork",
+ "http": {
+ "method": "GET",
+ "requestUri": "/prod/networks/{networkId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "DescribeNetworkRequest"
+ },
+ "output": {
+ "shape": "DescribeNetworkResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "State": {
- "shape": "AvailBlankingState",
- "locationName": "state"
+ {
+ "shape": "InternalServerErrorException"
+ },
+ {
+ "shape": "ForbiddenException"
+ },
+ {
+ "shape": "BadGatewayException"
+ },
+ {
+ "shape": "NotFoundException"
+ },
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
}
- }
- },
- "AvailBlankingState": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
]
},
- "AvailConfiguration": {
- "type": "structure",
- "members": {
- "AvailSettings": {
- "shape": "AvailSettings",
- "locationName": "availSettings"
+ "DescribeNode": {
+ "name": "DescribeNode",
+ "http": {
+ "method": "GET",
+ "requestUri": "/prod/clusters/{clusterId}/nodes/{nodeId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "DescribeNodeRequest"
+ },
+ "output": {
+ "shape": "DescribeNodeResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "Scte35SegmentationScope": {
- "shape": "Scte35SegmentationScope",
- "locationName": "scte35SegmentationScope"
- }
- }
- },
- "AvailSettings": {
- "type": "structure",
- "members": {
- "Esam": {
- "shape": "Esam",
- "locationName": "esam"
+ {
+ "shape": "InternalServerErrorException"
},
- "Scte35SpliceInsert": {
- "shape": "Scte35SpliceInsert",
- "locationName": "scte35SpliceInsert"
+ {
+ "shape": "ForbiddenException"
},
- "Scte35TimeSignalApos": {
- "shape": "Scte35TimeSignalApos",
- "locationName": "scte35TimeSignalApos"
+ {
+ "shape": "BadGatewayException"
+ },
+ {
+ "shape": "NotFoundException"
+ },
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
}
- }
+ ]
},
- "BadGatewayException": {
- "type": "structure",
- "members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
- }
+ "ListChannelPlacementGroups": {
+ "name": "ListChannelPlacementGroups",
+ "http": {
+ "method": "GET",
+ "requestUri": "/prod/clusters/{clusterId}/channelplacementgroups",
+ "responseCode": 200
},
- "exception": true,
- "error": {
- "httpStatusCode": 502
- }
- },
- "BadRequestException": {
- "type": "structure",
- "members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
- }
+ "input": {
+ "shape": "ListChannelPlacementGroupsRequest"
},
- "exception": true,
- "error": {
- "httpStatusCode": 400
- }
- },
- "BatchDelete": {
- "type": "structure",
- "members": {
- "ChannelIds": {
- "shape": "__listOf__string",
- "locationName": "channelIds"
+ "output": {
+ "shape": "ListChannelPlacementGroupsResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "InputIds": {
- "shape": "__listOf__string",
- "locationName": "inputIds"
+ {
+ "shape": "InternalServerErrorException"
},
- "InputSecurityGroupIds": {
- "shape": "__listOf__string",
- "locationName": "inputSecurityGroupIds"
+ {
+ "shape": "ForbiddenException"
},
- "MultiplexIds": {
- "shape": "__listOf__string",
- "locationName": "multiplexIds"
+ {
+ "shape": "BadGatewayException"
+ },
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
}
- }
+ ]
},
- "BatchDeleteRequest": {
- "type": "structure",
- "members": {
- "ChannelIds": {
- "shape": "__listOf__string",
- "locationName": "channelIds"
+ "ListClusters": {
+ "name": "ListClusters",
+ "http": {
+ "method": "GET",
+ "requestUri": "/prod/clusters",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "ListClustersRequest"
+ },
+ "output": {
+ "shape": "ListClustersResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "InputIds": {
- "shape": "__listOf__string",
- "locationName": "inputIds"
+ {
+ "shape": "InternalServerErrorException"
},
- "InputSecurityGroupIds": {
- "shape": "__listOf__string",
- "locationName": "inputSecurityGroupIds"
+ {
+ "shape": "ForbiddenException"
},
- "MultiplexIds": {
- "shape": "__listOf__string",
- "locationName": "multiplexIds"
- }
- }
- },
- "BatchDeleteResponse": {
- "type": "structure",
- "members": {
- "Failed": {
- "shape": "__listOfBatchFailedResultModel",
- "locationName": "failed"
+ {
+ "shape": "BadGatewayException"
},
- "Successful": {
- "shape": "__listOfBatchSuccessfulResultModel",
- "locationName": "successful"
- }
- }
- },
- "BatchDeleteResultModel": {
- "type": "structure",
- "members": {
- "Failed": {
- "shape": "__listOfBatchFailedResultModel",
- "locationName": "failed"
+ {
+ "shape": "GatewayTimeoutException"
},
- "Successful": {
- "shape": "__listOfBatchSuccessfulResultModel",
- "locationName": "successful"
+ {
+ "shape": "TooManyRequestsException"
}
- }
+ ]
},
- "BatchFailedResultModel": {
- "type": "structure",
- "members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
+ "ListNetworks": {
+ "name": "ListNetworks",
+ "http": {
+ "method": "GET",
+ "requestUri": "/prod/networks",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "ListNetworksRequest"
+ },
+ "output": {
+ "shape": "ListNetworksResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "Code": {
- "shape": "__string",
- "locationName": "code"
+ {
+ "shape": "InternalServerErrorException"
},
- "Id": {
- "shape": "__string",
- "locationName": "id"
+ {
+ "shape": "ForbiddenException"
},
- "Message": {
- "shape": "__string",
- "locationName": "message"
- }
- }
- },
- "BatchScheduleActionCreateRequest": {
- "type": "structure",
- "members": {
- "ScheduleActions": {
- "shape": "__listOfScheduleAction",
- "locationName": "scheduleActions"
+ {
+ "shape": "BadGatewayException"
+ },
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
}
- },
- "required": [
- "ScheduleActions"
]
},
- "BatchScheduleActionCreateResult": {
- "type": "structure",
- "members": {
- "ScheduleActions": {
- "shape": "__listOfScheduleAction",
- "locationName": "scheduleActions"
- }
+ "ListNodes": {
+ "name": "ListNodes",
+ "http": {
+ "method": "GET",
+ "requestUri": "/prod/clusters/{clusterId}/nodes",
+ "responseCode": 200
},
- "required": [
- "ScheduleActions"
- ]
- },
- "BatchScheduleActionDeleteRequest": {
- "type": "structure",
- "members": {
- "ActionNames": {
- "shape": "__listOf__string",
- "locationName": "actionNames"
- }
+ "input": {
+ "shape": "ListNodesRequest"
},
- "required": [
- "ActionNames"
- ]
- },
- "BatchScheduleActionDeleteResult": {
- "type": "structure",
- "members": {
- "ScheduleActions": {
- "shape": "__listOfScheduleAction",
- "locationName": "scheduleActions"
- }
+ "output": {
+ "shape": "ListNodesResponse"
},
- "required": [
- "ScheduleActions"
- ]
- },
- "BatchStart": {
- "type": "structure",
- "members": {
- "ChannelIds": {
- "shape": "__listOf__string",
- "locationName": "channelIds"
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "MultiplexIds": {
- "shape": "__listOf__string",
- "locationName": "multiplexIds"
- }
- }
- },
- "BatchStartRequest": {
- "type": "structure",
- "members": {
- "ChannelIds": {
- "shape": "__listOf__string",
- "locationName": "channelIds"
+ {
+ "shape": "InternalServerErrorException"
},
- "MultiplexIds": {
- "shape": "__listOf__string",
- "locationName": "multiplexIds"
- }
- }
- },
- "BatchStartResponse": {
- "type": "structure",
- "members": {
- "Failed": {
- "shape": "__listOfBatchFailedResultModel",
- "locationName": "failed"
+ {
+ "shape": "ForbiddenException"
},
- "Successful": {
- "shape": "__listOfBatchSuccessfulResultModel",
- "locationName": "successful"
+ {
+ "shape": "BadGatewayException"
+ },
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
}
- }
+ ]
},
- "BatchStartResultModel": {
- "type": "structure",
- "members": {
- "Failed": {
- "shape": "__listOfBatchFailedResultModel",
- "locationName": "failed"
- },
- "Successful": {
- "shape": "__listOfBatchSuccessfulResultModel",
- "locationName": "successful"
- }
- }
- },
- "BatchStop": {
- "type": "structure",
- "members": {
- "ChannelIds": {
- "shape": "__listOf__string",
- "locationName": "channelIds"
- },
- "MultiplexIds": {
- "shape": "__listOf__string",
- "locationName": "multiplexIds"
- }
- }
- },
- "BatchStopRequest": {
- "type": "structure",
- "members": {
- "ChannelIds": {
- "shape": "__listOf__string",
- "locationName": "channelIds"
+ "UpdateChannelPlacementGroup": {
+ "name": "UpdateChannelPlacementGroup",
+ "http": {
+ "method": "PUT",
+ "requestUri": "/prod/clusters/{clusterId}/channelplacementgroups/{channelPlacementGroupId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "UpdateChannelPlacementGroupRequest"
+ },
+ "output": {
+ "shape": "UpdateChannelPlacementGroupResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "MultiplexIds": {
- "shape": "__listOf__string",
- "locationName": "multiplexIds"
- }
- }
- },
- "BatchStopResponse": {
- "type": "structure",
- "members": {
- "Failed": {
- "shape": "__listOfBatchFailedResultModel",
- "locationName": "failed"
+ {
+ "shape": "UnprocessableEntityException"
},
- "Successful": {
- "shape": "__listOfBatchSuccessfulResultModel",
- "locationName": "successful"
- }
- }
- },
- "BatchStopResultModel": {
- "type": "structure",
- "members": {
- "Failed": {
- "shape": "__listOfBatchFailedResultModel",
- "locationName": "failed"
+ {
+ "shape": "InternalServerErrorException"
},
- "Successful": {
- "shape": "__listOfBatchSuccessfulResultModel",
- "locationName": "successful"
- }
- }
- },
- "BatchSuccessfulResultModel": {
- "type": "structure",
- "members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
+ {
+ "shape": "ForbiddenException"
},
- "Id": {
- "shape": "__string",
- "locationName": "id"
+ {
+ "shape": "BadGatewayException"
},
- "State": {
- "shape": "__string",
- "locationName": "state"
- }
- }
- },
- "BatchUpdateScheduleRequest": {
- "type": "structure",
- "members": {
- "ChannelId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "channelId"
+ {
+ "shape": "GatewayTimeoutException"
},
- "Creates": {
- "shape": "BatchScheduleActionCreateRequest",
- "locationName": "creates"
+ {
+ "shape": "TooManyRequestsException"
},
- "Deletes": {
- "shape": "BatchScheduleActionDeleteRequest",
- "locationName": "deletes"
+ {
+ "shape": "ConflictException"
}
- },
- "required": [
- "ChannelId"
]
},
- "BatchUpdateScheduleResponse": {
- "type": "structure",
- "members": {
- "Creates": {
- "shape": "BatchScheduleActionCreateResult",
- "locationName": "creates"
+ "UpdateCluster": {
+ "name": "UpdateCluster",
+ "http": {
+ "method": "PUT",
+ "requestUri": "/prod/clusters/{clusterId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "UpdateClusterRequest"
+ },
+ "output": {
+ "shape": "UpdateClusterResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "Deletes": {
- "shape": "BatchScheduleActionDeleteResult",
- "locationName": "deletes"
- }
- }
- },
- "BatchUpdateScheduleResult": {
- "type": "structure",
- "members": {
- "Creates": {
- "shape": "BatchScheduleActionCreateResult",
- "locationName": "creates"
+ {
+ "shape": "InternalServerErrorException"
},
- "Deletes": {
- "shape": "BatchScheduleActionDeleteResult",
- "locationName": "deletes"
- }
- }
- },
- "BlackoutSlate": {
- "type": "structure",
- "members": {
- "BlackoutSlateImage": {
- "shape": "InputLocation",
- "locationName": "blackoutSlateImage"
+ {
+ "shape": "ForbiddenException"
},
- "NetworkEndBlackout": {
- "shape": "BlackoutSlateNetworkEndBlackout",
- "locationName": "networkEndBlackout"
+ {
+ "shape": "BadGatewayException"
},
- "NetworkEndBlackoutImage": {
- "shape": "InputLocation",
- "locationName": "networkEndBlackoutImage"
+ {
+ "shape": "GatewayTimeoutException"
},
- "NetworkId": {
- "shape": "__stringMin34Max34",
- "locationName": "networkId"
+ {
+ "shape": "TooManyRequestsException"
},
- "State": {
- "shape": "BlackoutSlateState",
- "locationName": "state"
+ {
+ "shape": "ConflictException"
}
- }
- },
- "BlackoutSlateNetworkEndBlackout": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "BlackoutSlateState": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
]
},
- "BurnInAlignment": {
- "type": "string",
- "enum": [
- "CENTERED",
- "LEFT",
- "SMART"
- ]
- },
- "BurnInBackgroundColor": {
- "type": "string",
- "enum": [
- "BLACK",
- "NONE",
- "WHITE"
- ]
- },
- "BurnInDestinationSettings": {
- "type": "structure",
- "members": {
- "Alignment": {
- "shape": "BurnInAlignment",
- "locationName": "alignment"
- },
- "BackgroundColor": {
- "shape": "BurnInBackgroundColor",
- "locationName": "backgroundColor"
+ "UpdateNetwork": {
+ "name": "UpdateNetwork",
+ "http": {
+ "method": "PUT",
+ "requestUri": "/prod/networks/{networkId}",
+ "responseCode": 200
+ },
+ "input": {
+ "shape": "UpdateNetworkRequest"
+ },
+ "output": {
+ "shape": "UpdateNetworkResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "BackgroundOpacity": {
- "shape": "__integerMin0Max255",
- "locationName": "backgroundOpacity"
+ {
+ "shape": "InternalServerErrorException"
},
- "Font": {
- "shape": "InputLocation",
- "locationName": "font"
+ {
+ "shape": "ForbiddenException"
},
- "FontColor": {
- "shape": "BurnInFontColor",
- "locationName": "fontColor"
+ {
+ "shape": "BadGatewayException"
},
- "FontOpacity": {
- "shape": "__integerMin0Max255",
- "locationName": "fontOpacity"
+ {
+ "shape": "GatewayTimeoutException"
},
- "FontResolution": {
- "shape": "__integerMin96Max600",
- "locationName": "fontResolution"
+ {
+ "shape": "TooManyRequestsException"
},
- "FontSize": {
- "shape": "__string",
- "locationName": "fontSize"
+ {
+ "shape": "ConflictException"
+ }
+ ]
+ },
+ "UpdateNode": {
+ "name": "UpdateNode",
+ "http": {
+ "method": "PUT",
+ "requestUri": "/prod/clusters/{clusterId}/nodes/{nodeId}",
+ "responseCode": 201
+ },
+ "input": {
+ "shape": "UpdateNodeRequest"
+ },
+ "output": {
+ "shape": "UpdateNodeResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "OutlineColor": {
- "shape": "BurnInOutlineColor",
- "locationName": "outlineColor"
+ {
+ "shape": "InternalServerErrorException"
},
- "OutlineSize": {
- "shape": "__integerMin0Max10",
- "locationName": "outlineSize"
+ {
+ "shape": "ForbiddenException"
},
- "ShadowColor": {
- "shape": "BurnInShadowColor",
- "locationName": "shadowColor"
+ {
+ "shape": "BadGatewayException"
},
- "ShadowOpacity": {
- "shape": "__integerMin0Max255",
- "locationName": "shadowOpacity"
+ {
+ "shape": "GatewayTimeoutException"
},
- "ShadowXOffset": {
- "shape": "__integer",
- "locationName": "shadowXOffset"
+ {
+ "shape": "TooManyRequestsException"
},
- "ShadowYOffset": {
- "shape": "__integer",
- "locationName": "shadowYOffset"
+ {
+ "shape": "ConflictException"
+ }
+ ]
+ },
+ "UpdateNodeState": {
+ "name": "UpdateNodeState",
+ "http": {
+ "method": "PUT",
+ "requestUri": "/prod/clusters/{clusterId}/nodes/{nodeId}/state",
+ "responseCode": 201
+ },
+ "input": {
+ "shape": "UpdateNodeStateRequest"
+ },
+ "output": {
+ "shape": "UpdateNodeStateResponse"
+ },
+ "errors": [
+ {
+ "shape": "BadRequestException"
},
- "TeletextGridControl": {
- "shape": "BurnInTeletextGridControl",
- "locationName": "teletextGridControl"
+ {
+ "shape": "UnprocessableEntityException"
},
- "XPosition": {
- "shape": "__integerMin0",
- "locationName": "xPosition"
+ {
+ "shape": "InternalServerErrorException"
},
- "YPosition": {
- "shape": "__integerMin0",
- "locationName": "yPosition"
+ {
+ "shape": "ForbiddenException"
+ },
+ {
+ "shape": "BadGatewayException"
+ },
+ {
+ "shape": "GatewayTimeoutException"
+ },
+ {
+ "shape": "TooManyRequestsException"
+ },
+ {
+ "shape": "ConflictException"
}
- }
- },
- "BurnInFontColor": {
+ ]
+ }
+ },
+ "shapes": {
+ "AacCodingMode": {
"type": "string",
"enum": [
- "BLACK",
- "BLUE",
- "GREEN",
- "RED",
- "WHITE",
- "YELLOW"
+ "AD_RECEIVER_MIX",
+ "CODING_MODE_1_0",
+ "CODING_MODE_1_1",
+ "CODING_MODE_2_0",
+ "CODING_MODE_5_1"
]
},
- "BurnInOutlineColor": {
+ "AacInputType": {
"type": "string",
"enum": [
- "BLACK",
- "BLUE",
- "GREEN",
- "RED",
- "WHITE",
- "YELLOW"
+ "BROADCASTER_MIXED_AD",
+ "NORMAL"
]
},
- "BurnInShadowColor": {
+ "AacProfile": {
"type": "string",
"enum": [
- "BLACK",
- "NONE",
- "WHITE"
+ "HEV1",
+ "HEV2",
+ "LC"
]
},
- "BurnInTeletextGridControl": {
+ "AacRateControlMode": {
"type": "string",
"enum": [
- "FIXED",
- "SCALED"
+ "CBR",
+ "VBR"
]
},
- "CancelInputDeviceTransferRequest": {
- "type": "structure",
- "members": {
- "InputDeviceId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "inputDeviceId"
- }
- },
- "required": [
- "InputDeviceId"
+ "AacRawFormat": {
+ "type": "string",
+ "enum": [
+ "LATM_LOAS",
+ "NONE"
]
},
- "CancelInputDeviceTransferResponse": {
- "type": "structure",
- "members": {
- }
- },
- "CaptionDescription": {
+ "AacSettings": {
"type": "structure",
"members": {
- "Accessibility": {
- "shape": "AccessibilityType",
- "locationName": "accessibility"
+ "Bitrate": {
+ "shape": "__double",
+ "locationName": "bitrate"
},
- "CaptionSelectorName": {
- "shape": "__string",
- "locationName": "captionSelectorName"
+ "CodingMode": {
+ "shape": "AacCodingMode",
+ "locationName": "codingMode"
},
- "DestinationSettings": {
- "shape": "CaptionDestinationSettings",
- "locationName": "destinationSettings"
+ "InputType": {
+ "shape": "AacInputType",
+ "locationName": "inputType"
},
- "LanguageCode": {
- "shape": "__string",
- "locationName": "languageCode"
+ "Profile": {
+ "shape": "AacProfile",
+ "locationName": "profile"
},
- "LanguageDescription": {
- "shape": "__string",
- "locationName": "languageDescription"
+ "RateControlMode": {
+ "shape": "AacRateControlMode",
+ "locationName": "rateControlMode"
},
- "Name": {
- "shape": "__string",
- "locationName": "name"
+ "RawFormat": {
+ "shape": "AacRawFormat",
+ "locationName": "rawFormat"
},
- "CaptionDashRoles": {
- "shape": "__listOfDashRoleCaption",
- "locationName": "captionDashRoles"
+ "SampleRate": {
+ "shape": "__double",
+ "locationName": "sampleRate"
},
- "DvbDashAccessibility": {
- "shape": "DvbDashAccessibility",
- "locationName": "dvbDashAccessibility"
+ "Spec": {
+ "shape": "AacSpec",
+ "locationName": "spec"
+ },
+ "VbrQuality": {
+ "shape": "AacVbrQuality",
+ "locationName": "vbrQuality"
}
- },
- "required": [
- "CaptionSelectorName",
- "Name"
+ }
+ },
+ "AacSpec": {
+ "type": "string",
+ "enum": [
+ "MPEG2",
+ "MPEG4"
]
},
- "CaptionDestinationSettings": {
- "type": "structure",
- "members": {
- "AribDestinationSettings": {
- "shape": "AribDestinationSettings",
- "locationName": "aribDestinationSettings"
- },
- "BurnInDestinationSettings": {
- "shape": "BurnInDestinationSettings",
- "locationName": "burnInDestinationSettings"
- },
- "DvbSubDestinationSettings": {
- "shape": "DvbSubDestinationSettings",
- "locationName": "dvbSubDestinationSettings"
- },
- "EbuTtDDestinationSettings": {
- "shape": "EbuTtDDestinationSettings",
- "locationName": "ebuTtDDestinationSettings"
- },
- "EmbeddedDestinationSettings": {
- "shape": "EmbeddedDestinationSettings",
- "locationName": "embeddedDestinationSettings"
- },
- "EmbeddedPlusScte20DestinationSettings": {
- "shape": "EmbeddedPlusScte20DestinationSettings",
- "locationName": "embeddedPlusScte20DestinationSettings"
- },
- "RtmpCaptionInfoDestinationSettings": {
- "shape": "RtmpCaptionInfoDestinationSettings",
- "locationName": "rtmpCaptionInfoDestinationSettings"
- },
- "Scte20PlusEmbeddedDestinationSettings": {
- "shape": "Scte20PlusEmbeddedDestinationSettings",
- "locationName": "scte20PlusEmbeddedDestinationSettings"
- },
- "Scte27DestinationSettings": {
- "shape": "Scte27DestinationSettings",
- "locationName": "scte27DestinationSettings"
- },
- "SmpteTtDestinationSettings": {
- "shape": "SmpteTtDestinationSettings",
- "locationName": "smpteTtDestinationSettings"
+ "AacVbrQuality": {
+ "type": "string",
+ "enum": [
+ "HIGH",
+ "LOW",
+ "MEDIUM_HIGH",
+ "MEDIUM_LOW"
+ ]
+ },
+ "Ac3AttenuationControl": {
+ "type": "string",
+ "enum": [
+ "ATTENUATE_3_DB",
+ "NONE"
+ ]
+ },
+ "Ac3BitstreamMode": {
+ "type": "string",
+ "enum": [
+ "COMMENTARY",
+ "COMPLETE_MAIN",
+ "DIALOGUE",
+ "EMERGENCY",
+ "HEARING_IMPAIRED",
+ "MUSIC_AND_EFFECTS",
+ "VISUALLY_IMPAIRED",
+ "VOICE_OVER"
+ ]
+ },
+ "Ac3CodingMode": {
+ "type": "string",
+ "enum": [
+ "CODING_MODE_1_0",
+ "CODING_MODE_1_1",
+ "CODING_MODE_2_0",
+ "CODING_MODE_3_2_LFE"
+ ]
+ },
+ "Ac3DrcProfile": {
+ "type": "string",
+ "enum": [
+ "FILM_STANDARD",
+ "NONE"
+ ]
+ },
+ "Ac3LfeFilter": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED"
+ ]
+ },
+ "Ac3MetadataControl": {
+ "type": "string",
+ "enum": [
+ "FOLLOW_INPUT",
+ "USE_CONFIGURED"
+ ]
+ },
+ "Ac3Settings": {
+ "type": "structure",
+ "members": {
+ "Bitrate": {
+ "shape": "__double",
+ "locationName": "bitrate"
},
- "TeletextDestinationSettings": {
- "shape": "TeletextDestinationSettings",
- "locationName": "teletextDestinationSettings"
+ "BitstreamMode": {
+ "shape": "Ac3BitstreamMode",
+ "locationName": "bitstreamMode"
},
- "TtmlDestinationSettings": {
- "shape": "TtmlDestinationSettings",
- "locationName": "ttmlDestinationSettings"
+ "CodingMode": {
+ "shape": "Ac3CodingMode",
+ "locationName": "codingMode"
},
- "WebvttDestinationSettings": {
- "shape": "WebvttDestinationSettings",
- "locationName": "webvttDestinationSettings"
+ "Dialnorm": {
+ "shape": "__integerMin1Max31",
+ "locationName": "dialnorm"
+ },
+ "DrcProfile": {
+ "shape": "Ac3DrcProfile",
+ "locationName": "drcProfile"
+ },
+ "LfeFilter": {
+ "shape": "Ac3LfeFilter",
+ "locationName": "lfeFilter"
+ },
+ "MetadataControl": {
+ "shape": "Ac3MetadataControl",
+ "locationName": "metadataControl"
+ },
+ "AttenuationControl": {
+ "shape": "Ac3AttenuationControl",
+ "locationName": "attenuationControl"
}
}
},
- "CaptionLanguageMapping": {
+ "AcceptInputDeviceTransferRequest": {
"type": "structure",
"members": {
- "CaptionChannel": {
- "shape": "__integerMin1Max4",
- "locationName": "captionChannel"
- },
- "LanguageCode": {
- "shape": "__stringMin3Max3",
- "locationName": "languageCode"
- },
- "LanguageDescription": {
- "shape": "__stringMin1",
- "locationName": "languageDescription"
+ "InputDeviceId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputDeviceId"
}
},
"required": [
- "LanguageCode",
- "LanguageDescription",
- "CaptionChannel"
+ "InputDeviceId"
]
},
- "CaptionRectangle": {
+ "AcceptInputDeviceTransferResponse": {
"type": "structure",
"members": {
- "Height": {
- "shape": "__doubleMin0Max100",
- "locationName": "height"
- },
- "LeftOffset": {
- "shape": "__doubleMin0Max100",
- "locationName": "leftOffset"
- },
- "TopOffset": {
- "shape": "__doubleMin0Max100",
- "locationName": "topOffset"
- },
- "Width": {
- "shape": "__doubleMin0Max100",
- "locationName": "width"
- }
- },
- "required": [
- "TopOffset",
- "Height",
- "Width",
- "LeftOffset"
- ]
+ }
},
- "CaptionSelector": {
+ "AccessDenied": {
"type": "structure",
"members": {
- "LanguageCode": {
+ "Message": {
"shape": "__string",
- "locationName": "languageCode"
- },
- "Name": {
- "shape": "__stringMin1",
- "locationName": "name"
- },
- "SelectorSettings": {
- "shape": "CaptionSelectorSettings",
- "locationName": "selectorSettings"
+ "locationName": "message"
}
- },
- "required": [
- "Name"
+ }
+ },
+ "AccessibilityType": {
+ "type": "string",
+ "enum": [
+ "DOES_NOT_IMPLEMENT_ACCESSIBILITY_FEATURES",
+ "IMPLEMENTS_ACCESSIBILITY_FEATURES"
]
},
- "CaptionSelectorSettings": {
+ "AccountConfiguration": {
"type": "structure",
"members": {
- "AncillarySourceSettings": {
- "shape": "AncillarySourceSettings",
- "locationName": "ancillarySourceSettings"
- },
- "AribSourceSettings": {
- "shape": "AribSourceSettings",
- "locationName": "aribSourceSettings"
- },
- "DvbSubSourceSettings": {
- "shape": "DvbSubSourceSettings",
- "locationName": "dvbSubSourceSettings"
- },
- "EmbeddedSourceSettings": {
- "shape": "EmbeddedSourceSettings",
- "locationName": "embeddedSourceSettings"
- },
- "Scte20SourceSettings": {
- "shape": "Scte20SourceSettings",
- "locationName": "scte20SourceSettings"
- },
- "Scte27SourceSettings": {
- "shape": "Scte27SourceSettings",
- "locationName": "scte27SourceSettings"
- },
- "TeletextSourceSettings": {
- "shape": "TeletextSourceSettings",
- "locationName": "teletextSourceSettings"
+ "KmsKeyId": {
+ "shape": "__string",
+ "locationName": "kmsKeyId"
}
}
},
- "CdiInputResolution": {
+ "AfdSignaling": {
"type": "string",
"enum": [
- "SD",
- "HD",
- "FHD",
- "UHD"
+ "AUTO",
+ "FIXED",
+ "NONE"
]
},
- "CdiInputSpecification": {
+ "AncillarySourceSettings": {
"type": "structure",
"members": {
- "Resolution": {
- "shape": "CdiInputResolution",
- "locationName": "resolution"
+ "SourceAncillaryChannelNumber": {
+ "shape": "__integerMin1Max4",
+ "locationName": "sourceAncillaryChannelNumber"
}
}
},
- "Channel": {
+ "ArchiveCdnSettings": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
+ "ArchiveS3Settings": {
+ "shape": "ArchiveS3Settings",
+ "locationName": "archiveS3Settings"
+ }
+ }
+ },
+ "ArchiveContainerSettings": {
+ "type": "structure",
+ "members": {
+ "M2tsSettings": {
+ "shape": "M2tsSettings",
+ "locationName": "m2tsSettings"
},
- "CdiInputSpecification": {
- "shape": "CdiInputSpecification",
- "locationName": "cdiInputSpecification"
+ "RawSettings": {
+ "shape": "RawSettings",
+ "locationName": "rawSettings"
+ }
+ }
+ },
+ "ArchiveGroupSettings": {
+ "type": "structure",
+ "members": {
+ "ArchiveCdnSettings": {
+ "shape": "ArchiveCdnSettings",
+ "locationName": "archiveCdnSettings"
},
- "ChannelClass": {
- "shape": "ChannelClass",
- "locationName": "channelClass"
- },
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
- },
- "EgressEndpoints": {
- "shape": "__listOfChannelEgressEndpoint",
- "locationName": "egressEndpoints"
- },
- "EncoderSettings": {
- "shape": "EncoderSettings",
- "locationName": "encoderSettings"
- },
- "Id": {
- "shape": "__string",
- "locationName": "id"
- },
- "InputAttachments": {
- "shape": "__listOfInputAttachment",
- "locationName": "inputAttachments"
- },
- "InputSpecification": {
- "shape": "InputSpecification",
- "locationName": "inputSpecification"
- },
- "LogLevel": {
- "shape": "LogLevel",
- "locationName": "logLevel"
+ "Destination": {
+ "shape": "OutputLocationRef",
+ "locationName": "destination"
},
- "Maintenance": {
- "shape": "MaintenanceStatus",
- "locationName": "maintenance"
+ "RolloverInterval": {
+ "shape": "__integerMin1",
+ "locationName": "rolloverInterval"
+ }
+ },
+ "required": [
+ "Destination"
+ ]
+ },
+ "ArchiveOutputSettings": {
+ "type": "structure",
+ "members": {
+ "ContainerSettings": {
+ "shape": "ArchiveContainerSettings",
+ "locationName": "containerSettings"
},
- "Name": {
+ "Extension": {
"shape": "__string",
- "locationName": "name"
- },
- "PipelineDetails": {
- "shape": "__listOfPipelineDetail",
- "locationName": "pipelineDetails"
- },
- "PipelinesRunningCount": {
- "shape": "__integer",
- "locationName": "pipelinesRunningCount"
+ "locationName": "extension"
},
- "RoleArn": {
+ "NameModifier": {
"shape": "__string",
- "locationName": "roleArn"
- },
- "State": {
- "shape": "ChannelState",
- "locationName": "state"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- },
- "Vpc": {
- "shape": "VpcOutputSettingsDescription",
- "locationName": "vpc"
+ "locationName": "nameModifier"
}
- }
+ },
+ "required": [
+ "ContainerSettings"
+ ]
},
- "ChannelClass": {
+ "ArchiveS3LogUploads": {
"type": "string",
"enum": [
- "STANDARD",
- "SINGLE_PIPELINE"
+ "DISABLED",
+ "ENABLED"
]
},
- "ChannelConfigurationValidationError": {
+ "ArchiveS3Settings": {
"type": "structure",
"members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
- },
- "ValidationErrors": {
- "shape": "__listOfValidationError",
- "locationName": "validationErrors"
+ "CannedAcl": {
+ "shape": "S3CannedAcl",
+ "locationName": "cannedAcl"
}
}
},
- "ChannelEgressEndpoint": {
+ "AribDestinationSettings": {
"type": "structure",
"members": {
- "SourceIp": {
- "shape": "__string",
- "locationName": "sourceIp"
- }
}
},
- "ChannelState": {
- "type": "string",
- "enum": [
- "CREATING",
- "CREATE_FAILED",
- "IDLE",
- "STARTING",
- "RUNNING",
- "RECOVERING",
- "STOPPING",
- "DELETING",
- "DELETED",
- "UPDATING",
- "UPDATE_FAILED"
+ "AribSourceSettings": {
+ "type": "structure",
+ "members": {
+ }
+ },
+ "AudioChannelMapping": {
+ "type": "structure",
+ "members": {
+ "InputChannelLevels": {
+ "shape": "__listOfInputChannelLevel",
+ "locationName": "inputChannelLevels"
+ },
+ "OutputChannel": {
+ "shape": "__integerMin0Max7",
+ "locationName": "outputChannel"
+ }
+ },
+ "required": [
+ "OutputChannel",
+ "InputChannelLevels"
]
},
- "ChannelSummary": {
+ "AudioCodecSettings": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
+ "AacSettings": {
+ "shape": "AacSettings",
+ "locationName": "aacSettings"
},
- "CdiInputSpecification": {
- "shape": "CdiInputSpecification",
- "locationName": "cdiInputSpecification"
+ "Ac3Settings": {
+ "shape": "Ac3Settings",
+ "locationName": "ac3Settings"
},
- "ChannelClass": {
- "shape": "ChannelClass",
- "locationName": "channelClass"
+ "Eac3AtmosSettings": {
+ "shape": "Eac3AtmosSettings",
+ "locationName": "eac3AtmosSettings"
},
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
+ "Eac3Settings": {
+ "shape": "Eac3Settings",
+ "locationName": "eac3Settings"
},
- "EgressEndpoints": {
- "shape": "__listOfChannelEgressEndpoint",
- "locationName": "egressEndpoints"
+ "Mp2Settings": {
+ "shape": "Mp2Settings",
+ "locationName": "mp2Settings"
},
- "Id": {
+ "PassThroughSettings": {
+ "shape": "PassThroughSettings",
+ "locationName": "passThroughSettings"
+ },
+ "WavSettings": {
+ "shape": "WavSettings",
+ "locationName": "wavSettings"
+ }
+ }
+ },
+ "AudioDescription": {
+ "type": "structure",
+ "members": {
+ "AudioNormalizationSettings": {
+ "shape": "AudioNormalizationSettings",
+ "locationName": "audioNormalizationSettings"
+ },
+ "AudioSelectorName": {
"shape": "__string",
- "locationName": "id"
+ "locationName": "audioSelectorName"
},
- "InputAttachments": {
- "shape": "__listOfInputAttachment",
- "locationName": "inputAttachments"
+ "AudioType": {
+ "shape": "AudioType",
+ "locationName": "audioType"
},
- "InputSpecification": {
- "shape": "InputSpecification",
- "locationName": "inputSpecification"
+ "AudioTypeControl": {
+ "shape": "AudioDescriptionAudioTypeControl",
+ "locationName": "audioTypeControl"
},
- "LogLevel": {
- "shape": "LogLevel",
- "locationName": "logLevel"
+ "AudioWatermarkingSettings": {
+ "shape": "AudioWatermarkSettings",
+ "locationName": "audioWatermarkingSettings"
},
- "Maintenance": {
- "shape": "MaintenanceStatus",
- "locationName": "maintenance"
+ "CodecSettings": {
+ "shape": "AudioCodecSettings",
+ "locationName": "codecSettings"
+ },
+ "LanguageCode": {
+ "shape": "__stringMin1Max35",
+ "locationName": "languageCode"
+ },
+ "LanguageCodeControl": {
+ "shape": "AudioDescriptionLanguageCodeControl",
+ "locationName": "languageCodeControl"
},
"Name": {
- "shape": "__string",
+ "shape": "__stringMax255",
"locationName": "name"
},
- "PipelinesRunningCount": {
- "shape": "__integer",
- "locationName": "pipelinesRunningCount"
+ "RemixSettings": {
+ "shape": "RemixSettings",
+ "locationName": "remixSettings"
},
- "RoleArn": {
+ "StreamName": {
"shape": "__string",
- "locationName": "roleArn"
- },
- "State": {
- "shape": "ChannelState",
- "locationName": "state"
+ "locationName": "streamName"
},
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "AudioDashRoles": {
+ "shape": "__listOfDashRoleAudio",
+ "locationName": "audioDashRoles"
},
- "Vpc": {
- "shape": "VpcOutputSettingsDescription",
- "locationName": "vpc"
+ "DvbDashAccessibility": {
+ "shape": "DvbDashAccessibility",
+ "locationName": "dvbDashAccessibility"
}
- }
- },
- "ClaimDeviceRequest": {
- "type": "structure",
- "members": {
- "Id": {
- "shape": "__string",
- "locationName": "id"
- }
- }
+ },
+ "required": [
+ "AudioSelectorName",
+ "Name"
+ ]
},
- "ClaimDeviceResponse": {
+ "AudioDescriptionAudioTypeControl": {
+ "type": "string",
+ "enum": [
+ "FOLLOW_INPUT",
+ "USE_CONFIGURED"
+ ]
+ },
+ "AudioDescriptionLanguageCodeControl": {
+ "type": "string",
+ "enum": [
+ "FOLLOW_INPUT",
+ "USE_CONFIGURED"
+ ]
+ },
+ "AudioDolbyEDecode": {
"type": "structure",
"members": {
- }
+ "ProgramSelection": {
+ "shape": "DolbyEProgramSelection",
+ "locationName": "programSelection"
+ }
+ },
+ "required": [
+ "ProgramSelection"
+ ]
},
- "ColorCorrection": {
+ "AudioHlsRenditionSelection": {
"type": "structure",
"members": {
- "InputColorSpace": {
- "shape": "ColorSpace",
- "locationName": "inputColorSpace"
- },
- "OutputColorSpace": {
- "shape": "ColorSpace",
- "locationName": "outputColorSpace"
+ "GroupId": {
+ "shape": "__stringMin1",
+ "locationName": "groupId"
},
- "Uri": {
- "shape": "__string",
- "locationName": "uri"
+ "Name": {
+ "shape": "__stringMin1",
+ "locationName": "name"
}
},
"required": [
- "OutputColorSpace",
- "InputColorSpace",
- "Uri"
+ "Name",
+ "GroupId"
]
},
- "ColorCorrectionSettings": {
+ "AudioLanguageSelection": {
"type": "structure",
"members": {
- "GlobalColorCorrections": {
- "shape": "__listOfColorCorrection",
- "locationName": "globalColorCorrections"
+ "LanguageCode": {
+ "shape": "__string",
+ "locationName": "languageCode"
+ },
+ "LanguageSelectionPolicy": {
+ "shape": "AudioLanguageSelectionPolicy",
+ "locationName": "languageSelectionPolicy"
}
},
"required": [
- "GlobalColorCorrections"
+ "LanguageCode"
]
},
- "ColorSpace": {
+ "AudioLanguageSelectionPolicy": {
"type": "string",
"enum": [
- "HDR10",
- "HLG_2020",
- "REC_601",
- "REC_709"
+ "LOOSE",
+ "STRICT"
]
},
- "ColorSpacePassthroughSettings": {
+ "AudioNormalizationAlgorithm": {
+ "type": "string",
+ "enum": [
+ "ITU_1770_1",
+ "ITU_1770_2"
+ ]
+ },
+ "AudioNormalizationAlgorithmControl": {
+ "type": "string",
+ "enum": [
+ "CORRECT_AUDIO"
+ ]
+ },
+ "AudioNormalizationSettings": {
"type": "structure",
"members": {
+ "Algorithm": {
+ "shape": "AudioNormalizationAlgorithm",
+ "locationName": "algorithm"
+ },
+ "AlgorithmControl": {
+ "shape": "AudioNormalizationAlgorithmControl",
+ "locationName": "algorithmControl"
+ },
+ "TargetLkfs": {
+ "shape": "__doubleMinNegative59Max0",
+ "locationName": "targetLkfs"
+ }
}
},
- "ConflictException": {
+ "AudioOnlyHlsSegmentType": {
+ "type": "string",
+ "enum": [
+ "AAC",
+ "FMP4"
+ ]
+ },
+ "AudioOnlyHlsSettings": {
"type": "structure",
"members": {
- "Message": {
+ "AudioGroupId": {
"shape": "__string",
- "locationName": "message"
+ "locationName": "audioGroupId"
+ },
+ "AudioOnlyImage": {
+ "shape": "InputLocation",
+ "locationName": "audioOnlyImage"
+ },
+ "AudioTrackType": {
+ "shape": "AudioOnlyHlsTrackType",
+ "locationName": "audioTrackType"
+ },
+ "SegmentType": {
+ "shape": "AudioOnlyHlsSegmentType",
+ "locationName": "segmentType"
}
- },
- "exception": true,
- "error": {
- "httpStatusCode": 409
}
},
- "CreateChannel": {
+ "AudioOnlyHlsTrackType": {
+ "type": "string",
+ "enum": [
+ "ALTERNATE_AUDIO_AUTO_SELECT",
+ "ALTERNATE_AUDIO_AUTO_SELECT_DEFAULT",
+ "ALTERNATE_AUDIO_NOT_AUTO_SELECT",
+ "AUDIO_ONLY_VARIANT_STREAM"
+ ]
+ },
+ "AudioPidSelection": {
+ "type": "structure",
+ "members": {
+ "Pid": {
+ "shape": "__integerMin0Max8191",
+ "locationName": "pid"
+ }
+ },
+ "required": [
+ "Pid"
+ ]
+ },
+ "AudioSelector": {
"type": "structure",
"members": {
- "CdiInputSpecification": {
- "shape": "CdiInputSpecification",
- "locationName": "cdiInputSpecification"
- },
- "ChannelClass": {
- "shape": "ChannelClass",
- "locationName": "channelClass"
- },
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
- },
- "EncoderSettings": {
- "shape": "EncoderSettings",
- "locationName": "encoderSettings"
- },
- "InputAttachments": {
- "shape": "__listOfInputAttachment",
- "locationName": "inputAttachments"
- },
- "InputSpecification": {
- "shape": "InputSpecification",
- "locationName": "inputSpecification"
- },
- "LogLevel": {
- "shape": "LogLevel",
- "locationName": "logLevel"
- },
- "Maintenance": {
- "shape": "MaintenanceCreateSettings",
- "locationName": "maintenance"
- },
"Name": {
- "shape": "__string",
+ "shape": "__stringMin1",
"locationName": "name"
},
- "RequestId": {
- "shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
- },
- "Reserved": {
- "shape": "__string",
- "locationName": "reserved",
- "deprecated": true
+ "SelectorSettings": {
+ "shape": "AudioSelectorSettings",
+ "locationName": "selectorSettings"
+ }
+ },
+ "required": [
+ "Name"
+ ]
+ },
+ "AudioSelectorSettings": {
+ "type": "structure",
+ "members": {
+ "AudioHlsRenditionSelection": {
+ "shape": "AudioHlsRenditionSelection",
+ "locationName": "audioHlsRenditionSelection"
},
- "RoleArn": {
- "shape": "__string",
- "locationName": "roleArn"
+ "AudioLanguageSelection": {
+ "shape": "AudioLanguageSelection",
+ "locationName": "audioLanguageSelection"
},
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "AudioPidSelection": {
+ "shape": "AudioPidSelection",
+ "locationName": "audioPidSelection"
},
- "Vpc": {
- "shape": "VpcOutputSettings",
- "locationName": "vpc"
+ "AudioTrackSelection": {
+ "shape": "AudioTrackSelection",
+ "locationName": "audioTrackSelection"
}
}
},
- "CreateChannelRequest": {
+ "AudioSilenceFailoverSettings": {
"type": "structure",
"members": {
- "CdiInputSpecification": {
- "shape": "CdiInputSpecification",
- "locationName": "cdiInputSpecification"
- },
- "ChannelClass": {
- "shape": "ChannelClass",
- "locationName": "channelClass"
- },
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
+ "AudioSelectorName": {
+ "shape": "__string",
+ "locationName": "audioSelectorName"
},
- "EncoderSettings": {
- "shape": "EncoderSettings",
- "locationName": "encoderSettings"
- },
- "InputAttachments": {
- "shape": "__listOfInputAttachment",
- "locationName": "inputAttachments"
- },
- "InputSpecification": {
- "shape": "InputSpecification",
- "locationName": "inputSpecification"
- },
- "LogLevel": {
- "shape": "LogLevel",
- "locationName": "logLevel"
- },
- "Maintenance": {
- "shape": "MaintenanceCreateSettings",
- "locationName": "maintenance"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "RequestId": {
- "shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
- },
- "Reserved": {
- "shape": "__string",
- "locationName": "reserved",
- "deprecated": true
- },
- "RoleArn": {
- "shape": "__string",
- "locationName": "roleArn"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- },
- "Vpc": {
- "shape": "VpcOutputSettings",
- "locationName": "vpc"
+ "AudioSilenceThresholdMsec": {
+ "shape": "__integerMin1000",
+ "locationName": "audioSilenceThresholdMsec"
}
- }
+ },
+ "required": [
+ "AudioSelectorName"
+ ]
},
- "CreateChannelResponse": {
+ "AudioTrack": {
"type": "structure",
"members": {
- "Channel": {
- "shape": "Channel",
- "locationName": "channel"
+ "Track": {
+ "shape": "__integerMin1",
+ "locationName": "track"
}
- }
+ },
+ "required": [
+ "Track"
+ ]
},
- "CreateChannelResultModel": {
+ "AudioTrackSelection": {
"type": "structure",
"members": {
- "Channel": {
- "shape": "Channel",
- "locationName": "channel"
+ "Tracks": {
+ "shape": "__listOfAudioTrack",
+ "locationName": "tracks"
+ },
+ "DolbyEDecode": {
+ "shape": "AudioDolbyEDecode",
+ "locationName": "dolbyEDecode"
}
- }
+ },
+ "required": [
+ "Tracks"
+ ]
},
- "CreateInput": {
+ "AudioType": {
+ "type": "string",
+ "enum": [
+ "CLEAN_EFFECTS",
+ "HEARING_IMPAIRED",
+ "UNDEFINED",
+ "VISUAL_IMPAIRED_COMMENTARY"
+ ]
+ },
+ "AudioWatermarkSettings": {
"type": "structure",
"members": {
- "Destinations": {
- "shape": "__listOfInputDestinationRequest",
- "locationName": "destinations"
- },
- "InputDevices": {
- "shape": "__listOfInputDeviceSettings",
- "locationName": "inputDevices"
- },
- "InputSecurityGroups": {
- "shape": "__listOf__string",
- "locationName": "inputSecurityGroups"
- },
- "MediaConnectFlows": {
- "shape": "__listOfMediaConnectFlowRequest",
- "locationName": "mediaConnectFlows"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "RequestId": {
- "shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
- },
- "RoleArn": {
- "shape": "__string",
- "locationName": "roleArn"
- },
- "Sources": {
- "shape": "__listOfInputSourceRequest",
- "locationName": "sources"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- },
- "Type": {
- "shape": "InputType",
- "locationName": "type"
- },
- "Vpc": {
- "shape": "InputVpcRequest",
- "locationName": "vpc"
- },
- "SrtSettings": {
- "shape": "SrtSettingsRequest",
- "locationName": "srtSettings"
+ "NielsenWatermarksSettings": {
+ "shape": "NielsenWatermarksSettings",
+ "locationName": "nielsenWatermarksSettings"
}
}
},
- "CreateInputRequest": {
+ "AuthenticationScheme": {
+ "type": "string",
+ "enum": [
+ "AKAMAI",
+ "COMMON"
+ ]
+ },
+ "AutomaticInputFailoverSettings": {
"type": "structure",
"members": {
- "Destinations": {
- "shape": "__listOfInputDestinationRequest",
- "locationName": "destinations"
- },
- "InputDevices": {
- "shape": "__listOfInputDeviceSettings",
- "locationName": "inputDevices"
- },
- "InputSecurityGroups": {
- "shape": "__listOf__string",
- "locationName": "inputSecurityGroups"
- },
- "MediaConnectFlows": {
- "shape": "__listOfMediaConnectFlowRequest",
- "locationName": "mediaConnectFlows"
+ "ErrorClearTimeMsec": {
+ "shape": "__integerMin1",
+ "locationName": "errorClearTimeMsec"
},
- "Name": {
- "shape": "__string",
- "locationName": "name"
+ "FailoverConditions": {
+ "shape": "__listOfFailoverCondition",
+ "locationName": "failoverConditions"
},
- "RequestId": {
- "shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
+ "InputPreference": {
+ "shape": "InputPreference",
+ "locationName": "inputPreference"
},
- "RoleArn": {
+ "SecondaryInputId": {
"shape": "__string",
- "locationName": "roleArn"
- },
- "Sources": {
- "shape": "__listOfInputSourceRequest",
- "locationName": "sources"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- },
- "Type": {
- "shape": "InputType",
- "locationName": "type"
- },
- "Vpc": {
- "shape": "InputVpcRequest",
- "locationName": "vpc"
- },
- "SrtSettings": {
- "shape": "SrtSettingsRequest",
- "locationName": "srtSettings"
+ "locationName": "secondaryInputId"
}
- }
+ },
+ "required": [
+ "SecondaryInputId"
+ ]
},
- "CreateInputResponse": {
+ "AvailBlanking": {
"type": "structure",
"members": {
- "Input": {
- "shape": "Input",
- "locationName": "input"
+ "AvailBlankingImage": {
+ "shape": "InputLocation",
+ "locationName": "availBlankingImage"
+ },
+ "State": {
+ "shape": "AvailBlankingState",
+ "locationName": "state"
}
}
},
- "CreateInputResultModel": {
- "type": "structure",
- "members": {
- "Input": {
- "shape": "Input",
- "locationName": "input"
- }
- }
+ "AvailBlankingState": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED"
+ ]
},
- "CreateInputSecurityGroupRequest": {
+ "AvailConfiguration": {
"type": "structure",
"members": {
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "AvailSettings": {
+ "shape": "AvailSettings",
+ "locationName": "availSettings"
},
- "WhitelistRules": {
- "shape": "__listOfInputWhitelistRuleCidr",
- "locationName": "whitelistRules"
+ "Scte35SegmentationScope": {
+ "shape": "Scte35SegmentationScope",
+ "locationName": "scte35SegmentationScope"
}
}
},
- "CreateInputSecurityGroupResponse": {
+ "AvailSettings": {
"type": "structure",
"members": {
- "SecurityGroup": {
- "shape": "InputSecurityGroup",
- "locationName": "securityGroup"
+ "Esam": {
+ "shape": "Esam",
+ "locationName": "esam"
+ },
+ "Scte35SpliceInsert": {
+ "shape": "Scte35SpliceInsert",
+ "locationName": "scte35SpliceInsert"
+ },
+ "Scte35TimeSignalApos": {
+ "shape": "Scte35TimeSignalApos",
+ "locationName": "scte35TimeSignalApos"
}
}
},
- "CreateInputSecurityGroupResultModel": {
+ "BadGatewayException": {
"type": "structure",
"members": {
- "SecurityGroup": {
- "shape": "InputSecurityGroup",
- "locationName": "securityGroup"
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
}
+ },
+ "exception": true,
+ "error": {
+ "httpStatusCode": 502
}
},
- "CreateMultiplex": {
+ "BadRequestException": {
"type": "structure",
"members": {
- "AvailabilityZones": {
- "shape": "__listOf__string",
- "locationName": "availabilityZones"
- },
- "MultiplexSettings": {
- "shape": "MultiplexSettings",
- "locationName": "multiplexSettings"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "RequestId": {
+ "Message": {
"shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "locationName": "message"
}
},
- "required": [
- "RequestId",
- "MultiplexSettings",
- "AvailabilityZones",
- "Name"
- ]
+ "exception": true,
+ "error": {
+ "httpStatusCode": 400
+ }
},
- "CreateMultiplexProgram": {
+ "BatchDelete": {
"type": "structure",
"members": {
- "MultiplexProgramSettings": {
- "shape": "MultiplexProgramSettings",
- "locationName": "multiplexProgramSettings"
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
},
- "ProgramName": {
- "shape": "__string",
- "locationName": "programName"
+ "InputIds": {
+ "shape": "__listOf__string",
+ "locationName": "inputIds"
},
- "RequestId": {
- "shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
+ "InputSecurityGroupIds": {
+ "shape": "__listOf__string",
+ "locationName": "inputSecurityGroupIds"
+ },
+ "MultiplexIds": {
+ "shape": "__listOf__string",
+ "locationName": "multiplexIds"
}
- },
- "required": [
- "RequestId",
- "MultiplexProgramSettings",
- "ProgramName"
- ]
+ }
},
- "CreateMultiplexProgramRequest": {
+ "BatchDeleteRequest": {
"type": "structure",
"members": {
- "MultiplexId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "multiplexId"
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
},
- "MultiplexProgramSettings": {
- "shape": "MultiplexProgramSettings",
- "locationName": "multiplexProgramSettings"
+ "InputIds": {
+ "shape": "__listOf__string",
+ "locationName": "inputIds"
},
- "ProgramName": {
- "shape": "__string",
- "locationName": "programName"
+ "InputSecurityGroupIds": {
+ "shape": "__listOf__string",
+ "locationName": "inputSecurityGroupIds"
},
- "RequestId": {
- "shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
+ "MultiplexIds": {
+ "shape": "__listOf__string",
+ "locationName": "multiplexIds"
}
- },
- "required": [
- "MultiplexId",
- "RequestId",
- "MultiplexProgramSettings",
- "ProgramName"
- ]
+ }
},
- "CreateMultiplexProgramResponse": {
+ "BatchDeleteResponse": {
"type": "structure",
"members": {
- "MultiplexProgram": {
- "shape": "MultiplexProgram",
- "locationName": "multiplexProgram"
+ "Failed": {
+ "shape": "__listOfBatchFailedResultModel",
+ "locationName": "failed"
+ },
+ "Successful": {
+ "shape": "__listOfBatchSuccessfulResultModel",
+ "locationName": "successful"
}
}
},
- "CreateMultiplexProgramResultModel": {
+ "BatchDeleteResultModel": {
"type": "structure",
"members": {
- "MultiplexProgram": {
- "shape": "MultiplexProgram",
- "locationName": "multiplexProgram"
+ "Failed": {
+ "shape": "__listOfBatchFailedResultModel",
+ "locationName": "failed"
+ },
+ "Successful": {
+ "shape": "__listOfBatchSuccessfulResultModel",
+ "locationName": "successful"
}
}
},
- "CreateMultiplexRequest": {
+ "BatchFailedResultModel": {
"type": "structure",
"members": {
- "AvailabilityZones": {
- "shape": "__listOf__string",
- "locationName": "availabilityZones"
- },
- "MultiplexSettings": {
- "shape": "MultiplexSettings",
- "locationName": "multiplexSettings"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "Name": {
+ "Code": {
"shape": "__string",
- "locationName": "name"
+ "locationName": "code"
},
- "RequestId": {
+ "Id": {
"shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
+ "locationName": "id"
},
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
}
- },
- "required": [
- "RequestId",
- "MultiplexSettings",
- "AvailabilityZones",
- "Name"
- ]
+ }
},
- "CreateMultiplexResponse": {
+ "BatchScheduleActionCreateRequest": {
"type": "structure",
"members": {
- "Multiplex": {
- "shape": "Multiplex",
- "locationName": "multiplex"
+ "ScheduleActions": {
+ "shape": "__listOfScheduleAction",
+ "locationName": "scheduleActions"
}
- }
+ },
+ "required": [
+ "ScheduleActions"
+ ]
},
- "CreateMultiplexResultModel": {
+ "BatchScheduleActionCreateResult": {
"type": "structure",
"members": {
- "Multiplex": {
- "shape": "Multiplex",
- "locationName": "multiplex"
+ "ScheduleActions": {
+ "shape": "__listOfScheduleAction",
+ "locationName": "scheduleActions"
}
- }
+ },
+ "required": [
+ "ScheduleActions"
+ ]
},
- "CreatePartnerInput": {
+ "BatchScheduleActionDeleteRequest": {
"type": "structure",
"members": {
- "RequestId": {
- "shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "ActionNames": {
+ "shape": "__listOf__string",
+ "locationName": "actionNames"
}
- }
+ },
+ "required": [
+ "ActionNames"
+ ]
},
- "CreatePartnerInputRequest": {
+ "BatchScheduleActionDeleteResult": {
"type": "structure",
"members": {
- "InputId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "inputId"
- },
- "RequestId": {
- "shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "ScheduleActions": {
+ "shape": "__listOfScheduleAction",
+ "locationName": "scheduleActions"
}
},
"required": [
- "InputId"
+ "ScheduleActions"
]
},
- "CreatePartnerInputResponse": {
+ "BatchStart": {
"type": "structure",
"members": {
- "Input": {
- "shape": "Input",
- "locationName": "input"
- }
- }
- },
- "CreatePartnerInputResultModel": {
- "type": "structure",
- "members": {
- "Input": {
- "shape": "Input",
- "locationName": "input"
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
+ },
+ "MultiplexIds": {
+ "shape": "__listOf__string",
+ "locationName": "multiplexIds"
}
}
},
- "CreateTagsRequest": {
+ "BatchStartRequest": {
"type": "structure",
"members": {
- "ResourceArn": {
- "shape": "__string",
- "location": "uri",
- "locationName": "resource-arn"
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
},
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "MultiplexIds": {
+ "shape": "__listOf__string",
+ "locationName": "multiplexIds"
}
- },
- "required": [
- "ResourceArn"
- ]
+ }
},
- "DeleteChannelRequest": {
+ "BatchStartResponse": {
"type": "structure",
"members": {
- "ChannelId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "channelId"
+ "Failed": {
+ "shape": "__listOfBatchFailedResultModel",
+ "locationName": "failed"
+ },
+ "Successful": {
+ "shape": "__listOfBatchSuccessfulResultModel",
+ "locationName": "successful"
}
- },
- "required": [
- "ChannelId"
- ]
+ }
},
- "DeleteChannelResponse": {
+ "BatchStartResultModel": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "CdiInputSpecification": {
- "shape": "CdiInputSpecification",
- "locationName": "cdiInputSpecification"
- },
- "ChannelClass": {
- "shape": "ChannelClass",
- "locationName": "channelClass"
- },
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
- },
- "EgressEndpoints": {
- "shape": "__listOfChannelEgressEndpoint",
- "locationName": "egressEndpoints"
- },
- "EncoderSettings": {
- "shape": "EncoderSettings",
- "locationName": "encoderSettings"
- },
- "Id": {
- "shape": "__string",
- "locationName": "id"
- },
- "InputAttachments": {
- "shape": "__listOfInputAttachment",
- "locationName": "inputAttachments"
- },
- "InputSpecification": {
- "shape": "InputSpecification",
- "locationName": "inputSpecification"
- },
- "LogLevel": {
- "shape": "LogLevel",
- "locationName": "logLevel"
- },
- "Maintenance": {
- "shape": "MaintenanceStatus",
- "locationName": "maintenance"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "PipelineDetails": {
- "shape": "__listOfPipelineDetail",
- "locationName": "pipelineDetails"
- },
- "PipelinesRunningCount": {
- "shape": "__integer",
- "locationName": "pipelinesRunningCount"
- },
- "RoleArn": {
- "shape": "__string",
- "locationName": "roleArn"
- },
- "State": {
- "shape": "ChannelState",
- "locationName": "state"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "Failed": {
+ "shape": "__listOfBatchFailedResultModel",
+ "locationName": "failed"
},
- "Vpc": {
- "shape": "VpcOutputSettingsDescription",
- "locationName": "vpc"
+ "Successful": {
+ "shape": "__listOfBatchSuccessfulResultModel",
+ "locationName": "successful"
}
}
},
- "DeleteInputRequest": {
+ "BatchStop": {
"type": "structure",
"members": {
- "InputId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "inputId"
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
+ },
+ "MultiplexIds": {
+ "shape": "__listOf__string",
+ "locationName": "multiplexIds"
}
- },
- "required": [
- "InputId"
- ]
- },
- "DeleteInputResponse": {
- "type": "structure",
- "members": {
}
},
- "DeleteInputSecurityGroupRequest": {
+ "BatchStopRequest": {
"type": "structure",
"members": {
- "InputSecurityGroupId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "inputSecurityGroupId"
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
+ },
+ "MultiplexIds": {
+ "shape": "__listOf__string",
+ "locationName": "multiplexIds"
}
- },
- "required": [
- "InputSecurityGroupId"
- ]
+ }
},
- "DeleteInputSecurityGroupResponse": {
+ "BatchStopResponse": {
"type": "structure",
"members": {
+ "Failed": {
+ "shape": "__listOfBatchFailedResultModel",
+ "locationName": "failed"
+ },
+ "Successful": {
+ "shape": "__listOfBatchSuccessfulResultModel",
+ "locationName": "successful"
+ }
}
},
- "DeleteMultiplexProgramRequest": {
+ "BatchStopResultModel": {
"type": "structure",
"members": {
- "MultiplexId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "multiplexId"
+ "Failed": {
+ "shape": "__listOfBatchFailedResultModel",
+ "locationName": "failed"
},
- "ProgramName": {
- "shape": "__string",
- "location": "uri",
- "locationName": "programName"
+ "Successful": {
+ "shape": "__listOfBatchSuccessfulResultModel",
+ "locationName": "successful"
}
- },
- "required": [
- "MultiplexId",
- "ProgramName"
- ]
+ }
},
- "DeleteMultiplexProgramResponse": {
+ "BatchSuccessfulResultModel": {
"type": "structure",
"members": {
- "ChannelId": {
+ "Arn": {
"shape": "__string",
- "locationName": "channelId"
- },
- "MultiplexProgramSettings": {
- "shape": "MultiplexProgramSettings",
- "locationName": "multiplexProgramSettings"
- },
- "PacketIdentifiersMap": {
- "shape": "MultiplexProgramPacketIdentifiersMap",
- "locationName": "packetIdentifiersMap"
+ "locationName": "arn"
},
- "PipelineDetails": {
- "shape": "__listOfMultiplexProgramPipelineDetail",
- "locationName": "pipelineDetails"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
- "ProgramName": {
+ "State": {
"shape": "__string",
- "locationName": "programName"
+ "locationName": "state"
}
}
},
- "DeleteMultiplexRequest": {
+ "BatchUpdateScheduleRequest": {
"type": "structure",
"members": {
- "MultiplexId": {
+ "ChannelId": {
"shape": "__string",
"location": "uri",
- "locationName": "multiplexId"
+ "locationName": "channelId"
+ },
+ "Creates": {
+ "shape": "BatchScheduleActionCreateRequest",
+ "locationName": "creates"
+ },
+ "Deletes": {
+ "shape": "BatchScheduleActionDeleteRequest",
+ "locationName": "deletes"
}
},
"required": [
- "MultiplexId"
+ "ChannelId"
]
},
- "DeleteMultiplexResponse": {
+ "BatchUpdateScheduleResponse": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "AvailabilityZones": {
- "shape": "__listOf__string",
- "locationName": "availabilityZones"
- },
- "Destinations": {
- "shape": "__listOfMultiplexOutputDestination",
- "locationName": "destinations"
+ "Creates": {
+ "shape": "BatchScheduleActionCreateResult",
+ "locationName": "creates"
},
- "Id": {
- "shape": "__string",
- "locationName": "id"
+ "Deletes": {
+ "shape": "BatchScheduleActionDeleteResult",
+ "locationName": "deletes"
+ }
+ }
+ },
+ "BatchUpdateScheduleResult": {
+ "type": "structure",
+ "members": {
+ "Creates": {
+ "shape": "BatchScheduleActionCreateResult",
+ "locationName": "creates"
},
- "MultiplexSettings": {
- "shape": "MultiplexSettings",
- "locationName": "multiplexSettings"
+ "Deletes": {
+ "shape": "BatchScheduleActionDeleteResult",
+ "locationName": "deletes"
+ }
+ }
+ },
+ "BlackoutSlate": {
+ "type": "structure",
+ "members": {
+ "BlackoutSlateImage": {
+ "shape": "InputLocation",
+ "locationName": "blackoutSlateImage"
},
- "Name": {
- "shape": "__string",
- "locationName": "name"
+ "NetworkEndBlackout": {
+ "shape": "BlackoutSlateNetworkEndBlackout",
+ "locationName": "networkEndBlackout"
},
- "PipelinesRunningCount": {
- "shape": "__integer",
- "locationName": "pipelinesRunningCount"
+ "NetworkEndBlackoutImage": {
+ "shape": "InputLocation",
+ "locationName": "networkEndBlackoutImage"
},
- "ProgramCount": {
- "shape": "__integer",
- "locationName": "programCount"
+ "NetworkId": {
+ "shape": "__stringMin34Max34",
+ "locationName": "networkId"
},
"State": {
- "shape": "MultiplexState",
+ "shape": "BlackoutSlateState",
"locationName": "state"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
}
}
},
- "DeleteReservationRequest": {
- "type": "structure",
- "members": {
- "ReservationId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "reservationId"
- }
- },
- "required": [
- "ReservationId"
+ "BlackoutSlateNetworkEndBlackout": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED"
]
},
- "DeleteReservationResponse": {
+ "BlackoutSlateState": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED"
+ ]
+ },
+ "BurnInAlignment": {
+ "type": "string",
+ "enum": [
+ "CENTERED",
+ "LEFT",
+ "SMART"
+ ]
+ },
+ "BurnInBackgroundColor": {
+ "type": "string",
+ "enum": [
+ "BLACK",
+ "NONE",
+ "WHITE"
+ ]
+ },
+ "BurnInDestinationSettings": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "Count": {
- "shape": "__integer",
- "locationName": "count"
- },
- "CurrencyCode": {
- "shape": "__string",
- "locationName": "currencyCode"
+ "Alignment": {
+ "shape": "BurnInAlignment",
+ "locationName": "alignment"
},
- "Duration": {
- "shape": "__integer",
- "locationName": "duration"
+ "BackgroundColor": {
+ "shape": "BurnInBackgroundColor",
+ "locationName": "backgroundColor"
},
- "DurationUnits": {
- "shape": "OfferingDurationUnits",
- "locationName": "durationUnits"
+ "BackgroundOpacity": {
+ "shape": "__integerMin0Max255",
+ "locationName": "backgroundOpacity"
},
- "End": {
- "shape": "__string",
- "locationName": "end"
+ "Font": {
+ "shape": "InputLocation",
+ "locationName": "font"
},
- "FixedPrice": {
- "shape": "__double",
- "locationName": "fixedPrice"
+ "FontColor": {
+ "shape": "BurnInFontColor",
+ "locationName": "fontColor"
},
- "Name": {
- "shape": "__string",
- "locationName": "name"
+ "FontOpacity": {
+ "shape": "__integerMin0Max255",
+ "locationName": "fontOpacity"
},
- "OfferingDescription": {
- "shape": "__string",
- "locationName": "offeringDescription"
+ "FontResolution": {
+ "shape": "__integerMin96Max600",
+ "locationName": "fontResolution"
},
- "OfferingId": {
+ "FontSize": {
"shape": "__string",
- "locationName": "offeringId"
+ "locationName": "fontSize"
},
- "OfferingType": {
- "shape": "OfferingType",
- "locationName": "offeringType"
+ "OutlineColor": {
+ "shape": "BurnInOutlineColor",
+ "locationName": "outlineColor"
},
- "Region": {
- "shape": "__string",
- "locationName": "region"
+ "OutlineSize": {
+ "shape": "__integerMin0Max10",
+ "locationName": "outlineSize"
},
- "RenewalSettings": {
- "shape": "RenewalSettings",
- "locationName": "renewalSettings"
+ "ShadowColor": {
+ "shape": "BurnInShadowColor",
+ "locationName": "shadowColor"
},
- "ReservationId": {
- "shape": "__string",
- "locationName": "reservationId"
+ "ShadowOpacity": {
+ "shape": "__integerMin0Max255",
+ "locationName": "shadowOpacity"
},
- "ResourceSpecification": {
- "shape": "ReservationResourceSpecification",
- "locationName": "resourceSpecification"
+ "ShadowXOffset": {
+ "shape": "__integer",
+ "locationName": "shadowXOffset"
},
- "Start": {
- "shape": "__string",
- "locationName": "start"
+ "ShadowYOffset": {
+ "shape": "__integer",
+ "locationName": "shadowYOffset"
},
- "State": {
- "shape": "ReservationState",
- "locationName": "state"
+ "TeletextGridControl": {
+ "shape": "BurnInTeletextGridControl",
+ "locationName": "teletextGridControl"
},
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "XPosition": {
+ "shape": "__integerMin0",
+ "locationName": "xPosition"
},
- "UsagePrice": {
- "shape": "__double",
- "locationName": "usagePrice"
+ "YPosition": {
+ "shape": "__integerMin0",
+ "locationName": "yPosition"
}
}
},
- "DeleteScheduleRequest": {
+ "BurnInFontColor": {
+ "type": "string",
+ "enum": [
+ "BLACK",
+ "BLUE",
+ "GREEN",
+ "RED",
+ "WHITE",
+ "YELLOW"
+ ]
+ },
+ "BurnInOutlineColor": {
+ "type": "string",
+ "enum": [
+ "BLACK",
+ "BLUE",
+ "GREEN",
+ "RED",
+ "WHITE",
+ "YELLOW"
+ ]
+ },
+ "BurnInShadowColor": {
+ "type": "string",
+ "enum": [
+ "BLACK",
+ "NONE",
+ "WHITE"
+ ]
+ },
+ "BurnInTeletextGridControl": {
+ "type": "string",
+ "enum": [
+ "FIXED",
+ "SCALED"
+ ]
+ },
+ "CancelInputDeviceTransferRequest": {
"type": "structure",
"members": {
- "ChannelId": {
+ "InputDeviceId": {
"shape": "__string",
"location": "uri",
- "locationName": "channelId"
+ "locationName": "inputDeviceId"
}
},
"required": [
- "ChannelId"
+ "InputDeviceId"
]
},
- "DeleteScheduleResponse": {
+ "CancelInputDeviceTransferResponse": {
"type": "structure",
"members": {
}
},
- "DeleteTagsRequest": {
+ "CaptionDescription": {
"type": "structure",
"members": {
- "ResourceArn": {
- "shape": "__string",
- "location": "uri",
- "locationName": "resource-arn"
+ "Accessibility": {
+ "shape": "AccessibilityType",
+ "locationName": "accessibility"
},
- "TagKeys": {
- "shape": "__listOf__string",
- "location": "querystring",
- "locationName": "tagKeys"
+ "CaptionSelectorName": {
+ "shape": "__string",
+ "locationName": "captionSelectorName"
+ },
+ "DestinationSettings": {
+ "shape": "CaptionDestinationSettings",
+ "locationName": "destinationSettings"
+ },
+ "LanguageCode": {
+ "shape": "__string",
+ "locationName": "languageCode"
+ },
+ "LanguageDescription": {
+ "shape": "__string",
+ "locationName": "languageDescription"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "CaptionDashRoles": {
+ "shape": "__listOfDashRoleCaption",
+ "locationName": "captionDashRoles"
+ },
+ "DvbDashAccessibility": {
+ "shape": "DvbDashAccessibility",
+ "locationName": "dvbDashAccessibility"
}
},
"required": [
- "TagKeys",
- "ResourceArn"
+ "CaptionSelectorName",
+ "Name"
]
},
- "DescribeAccountConfigurationRequest": {
+ "CaptionDestinationSettings": {
"type": "structure",
"members": {
+ "AribDestinationSettings": {
+ "shape": "AribDestinationSettings",
+ "locationName": "aribDestinationSettings"
+ },
+ "BurnInDestinationSettings": {
+ "shape": "BurnInDestinationSettings",
+ "locationName": "burnInDestinationSettings"
+ },
+ "DvbSubDestinationSettings": {
+ "shape": "DvbSubDestinationSettings",
+ "locationName": "dvbSubDestinationSettings"
+ },
+ "EbuTtDDestinationSettings": {
+ "shape": "EbuTtDDestinationSettings",
+ "locationName": "ebuTtDDestinationSettings"
+ },
+ "EmbeddedDestinationSettings": {
+ "shape": "EmbeddedDestinationSettings",
+ "locationName": "embeddedDestinationSettings"
+ },
+ "EmbeddedPlusScte20DestinationSettings": {
+ "shape": "EmbeddedPlusScte20DestinationSettings",
+ "locationName": "embeddedPlusScte20DestinationSettings"
+ },
+ "RtmpCaptionInfoDestinationSettings": {
+ "shape": "RtmpCaptionInfoDestinationSettings",
+ "locationName": "rtmpCaptionInfoDestinationSettings"
+ },
+ "Scte20PlusEmbeddedDestinationSettings": {
+ "shape": "Scte20PlusEmbeddedDestinationSettings",
+ "locationName": "scte20PlusEmbeddedDestinationSettings"
+ },
+ "Scte27DestinationSettings": {
+ "shape": "Scte27DestinationSettings",
+ "locationName": "scte27DestinationSettings"
+ },
+ "SmpteTtDestinationSettings": {
+ "shape": "SmpteTtDestinationSettings",
+ "locationName": "smpteTtDestinationSettings"
+ },
+ "TeletextDestinationSettings": {
+ "shape": "TeletextDestinationSettings",
+ "locationName": "teletextDestinationSettings"
+ },
+ "TtmlDestinationSettings": {
+ "shape": "TtmlDestinationSettings",
+ "locationName": "ttmlDestinationSettings"
+ },
+ "WebvttDestinationSettings": {
+ "shape": "WebvttDestinationSettings",
+ "locationName": "webvttDestinationSettings"
+ }
}
},
- "DescribeAccountConfigurationResponse": {
+ "CaptionLanguageMapping": {
"type": "structure",
"members": {
- "AccountConfiguration": {
- "shape": "AccountConfiguration",
- "locationName": "accountConfiguration"
+ "CaptionChannel": {
+ "shape": "__integerMin1Max4",
+ "locationName": "captionChannel"
+ },
+ "LanguageCode": {
+ "shape": "__stringMin3Max3",
+ "locationName": "languageCode"
+ },
+ "LanguageDescription": {
+ "shape": "__stringMin1",
+ "locationName": "languageDescription"
}
- }
+ },
+ "required": [
+ "LanguageCode",
+ "LanguageDescription",
+ "CaptionChannel"
+ ]
},
- "DescribeAccountConfigurationResultModel": {
+ "CaptionRectangle": {
"type": "structure",
"members": {
- "AccountConfiguration": {
- "shape": "AccountConfiguration",
- "locationName": "accountConfiguration"
+ "Height": {
+ "shape": "__doubleMin0Max100",
+ "locationName": "height"
+ },
+ "LeftOffset": {
+ "shape": "__doubleMin0Max100",
+ "locationName": "leftOffset"
+ },
+ "TopOffset": {
+ "shape": "__doubleMin0Max100",
+ "locationName": "topOffset"
+ },
+ "Width": {
+ "shape": "__doubleMin0Max100",
+ "locationName": "width"
}
- }
+ },
+ "required": [
+ "TopOffset",
+ "Height",
+ "Width",
+ "LeftOffset"
+ ]
},
- "DescribeChannelRequest": {
+ "CaptionSelector": {
"type": "structure",
"members": {
- "ChannelId": {
+ "LanguageCode": {
"shape": "__string",
- "location": "uri",
- "locationName": "channelId"
+ "locationName": "languageCode"
+ },
+ "Name": {
+ "shape": "__stringMin1",
+ "locationName": "name"
+ },
+ "SelectorSettings": {
+ "shape": "CaptionSelectorSettings",
+ "locationName": "selectorSettings"
}
},
"required": [
- "ChannelId"
+ "Name"
]
},
- "DescribeChannelResponse": {
+ "CaptionSelectorSettings": {
+ "type": "structure",
+ "members": {
+ "AncillarySourceSettings": {
+ "shape": "AncillarySourceSettings",
+ "locationName": "ancillarySourceSettings"
+ },
+ "AribSourceSettings": {
+ "shape": "AribSourceSettings",
+ "locationName": "aribSourceSettings"
+ },
+ "DvbSubSourceSettings": {
+ "shape": "DvbSubSourceSettings",
+ "locationName": "dvbSubSourceSettings"
+ },
+ "EmbeddedSourceSettings": {
+ "shape": "EmbeddedSourceSettings",
+ "locationName": "embeddedSourceSettings"
+ },
+ "Scte20SourceSettings": {
+ "shape": "Scte20SourceSettings",
+ "locationName": "scte20SourceSettings"
+ },
+ "Scte27SourceSettings": {
+ "shape": "Scte27SourceSettings",
+ "locationName": "scte27SourceSettings"
+ },
+ "TeletextSourceSettings": {
+ "shape": "TeletextSourceSettings",
+ "locationName": "teletextSourceSettings"
+ }
+ }
+ },
+ "CdiInputResolution": {
+ "type": "string",
+ "enum": [
+ "SD",
+ "HD",
+ "FHD",
+ "UHD"
+ ]
+ },
+ "CdiInputSpecification": {
+ "type": "structure",
+ "members": {
+ "Resolution": {
+ "shape": "CdiInputResolution",
+ "locationName": "resolution"
+ }
+ }
+ },
+ "Channel": {
"type": "structure",
"members": {
"Arn": {
@@ -6101,2829 +5736,2769 @@
"Vpc": {
"shape": "VpcOutputSettingsDescription",
"locationName": "vpc"
+ },
+ "AnywhereSettings": {
+ "shape": "DescribeAnywhereSettings",
+ "locationName": "anywhereSettings"
}
}
},
- "DescribeInputDeviceRequest": {
+ "ChannelClass": {
+ "type": "string",
+ "enum": [
+ "STANDARD",
+ "SINGLE_PIPELINE"
+ ]
+ },
+ "ChannelConfigurationValidationError": {
"type": "structure",
"members": {
- "InputDeviceId": {
+ "Message": {
"shape": "__string",
- "location": "uri",
- "locationName": "inputDeviceId"
+ "locationName": "message"
+ },
+ "ValidationErrors": {
+ "shape": "__listOfValidationError",
+ "locationName": "validationErrors"
}
- },
- "required": [
- "InputDeviceId"
- ]
+ }
},
- "DescribeInputDeviceResponse": {
+ "ChannelEgressEndpoint": {
"type": "structure",
"members": {
- "Arn": {
+ "SourceIp": {
"shape": "__string",
- "locationName": "arn"
- },
- "ConnectionState": {
- "shape": "InputDeviceConnectionState",
- "locationName": "connectionState"
- },
- "DeviceSettingsSyncState": {
- "shape": "DeviceSettingsSyncState",
- "locationName": "deviceSettingsSyncState"
- },
- "DeviceUpdateStatus": {
- "shape": "DeviceUpdateStatus",
- "locationName": "deviceUpdateStatus"
- },
- "HdDeviceSettings": {
- "shape": "InputDeviceHdSettings",
- "locationName": "hdDeviceSettings"
+ "locationName": "sourceIp"
+ }
+ }
+ },
+ "ChannelState": {
+ "type": "string",
+ "enum": [
+ "CREATING",
+ "CREATE_FAILED",
+ "IDLE",
+ "STARTING",
+ "RUNNING",
+ "RECOVERING",
+ "STOPPING",
+ "DELETING",
+ "DELETED",
+ "UPDATING",
+ "UPDATE_FAILED"
+ ]
+ },
+ "ChannelSummary": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "CdiInputSpecification": {
+ "shape": "CdiInputSpecification",
+ "locationName": "cdiInputSpecification"
+ },
+ "ChannelClass": {
+ "shape": "ChannelClass",
+ "locationName": "channelClass"
+ },
+ "Destinations": {
+ "shape": "__listOfOutputDestination",
+ "locationName": "destinations"
+ },
+ "EgressEndpoints": {
+ "shape": "__listOfChannelEgressEndpoint",
+ "locationName": "egressEndpoints"
},
"Id": {
"shape": "__string",
"locationName": "id"
},
- "MacAddress": {
- "shape": "__string",
- "locationName": "macAddress"
+ "InputAttachments": {
+ "shape": "__listOfInputAttachment",
+ "locationName": "inputAttachments"
+ },
+ "InputSpecification": {
+ "shape": "InputSpecification",
+ "locationName": "inputSpecification"
+ },
+ "LogLevel": {
+ "shape": "LogLevel",
+ "locationName": "logLevel"
+ },
+ "Maintenance": {
+ "shape": "MaintenanceStatus",
+ "locationName": "maintenance"
},
"Name": {
"shape": "__string",
"locationName": "name"
},
- "NetworkSettings": {
- "shape": "InputDeviceNetworkSettings",
- "locationName": "networkSettings"
+ "PipelinesRunningCount": {
+ "shape": "__integer",
+ "locationName": "pipelinesRunningCount"
},
- "SerialNumber": {
+ "RoleArn": {
"shape": "__string",
- "locationName": "serialNumber"
- },
- "Type": {
- "shape": "InputDeviceType",
- "locationName": "type"
+ "locationName": "roleArn"
},
- "UhdDeviceSettings": {
- "shape": "InputDeviceUhdSettings",
- "locationName": "uhdDeviceSettings"
+ "State": {
+ "shape": "ChannelState",
+ "locationName": "state"
},
"Tags": {
"shape": "Tags",
"locationName": "tags"
},
- "AvailabilityZone": {
- "shape": "__string",
- "locationName": "availabilityZone"
- },
- "MedialiveInputArns": {
- "shape": "__listOf__string",
- "locationName": "medialiveInputArns"
+ "Vpc": {
+ "shape": "VpcOutputSettingsDescription",
+ "locationName": "vpc"
},
- "OutputType": {
- "shape": "InputDeviceOutputType",
- "locationName": "outputType"
+ "AnywhereSettings": {
+ "shape": "DescribeAnywhereSettings",
+ "locationName": "anywhereSettings"
}
}
},
- "DescribeInputDeviceThumbnailRequest": {
+ "ClaimDeviceRequest": {
"type": "structure",
"members": {
- "InputDeviceId": {
+ "Id": {
"shape": "__string",
- "location": "uri",
- "locationName": "inputDeviceId"
- },
- "Accept": {
- "shape": "AcceptHeader",
- "location": "header",
- "locationName": "accept"
+ "locationName": "id"
}
- },
- "required": [
- "InputDeviceId",
- "Accept"
- ]
+ }
},
- "DescribeInputDeviceThumbnailResponse": {
+ "ClaimDeviceResponse": {
"type": "structure",
"members": {
- "Body": {
- "shape": "InputDeviceThumbnail",
- "locationName": "body"
- },
- "ContentType": {
- "shape": "ContentType",
- "location": "header",
- "locationName": "Content-Type"
+ }
+ },
+ "ColorCorrection": {
+ "type": "structure",
+ "members": {
+ "InputColorSpace": {
+ "shape": "ColorSpace",
+ "locationName": "inputColorSpace"
},
- "ContentLength": {
- "shape": "__long",
- "location": "header",
- "locationName": "Content-Length"
+ "OutputColorSpace": {
+ "shape": "ColorSpace",
+ "locationName": "outputColorSpace"
},
- "ETag": {
+ "Uri": {
"shape": "__string",
- "location": "header",
- "locationName": "ETag"
- },
- "LastModified": {
- "shape": "__timestamp",
- "location": "header",
- "locationName": "Last-Modified"
+ "locationName": "uri"
}
},
- "payload": "Body"
+ "required": [
+ "OutputColorSpace",
+ "InputColorSpace",
+ "Uri"
+ ]
},
- "DescribeInputRequest": {
+ "ColorCorrectionSettings": {
"type": "structure",
"members": {
- "InputId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "inputId"
+ "GlobalColorCorrections": {
+ "shape": "__listOfColorCorrection",
+ "locationName": "globalColorCorrections"
}
},
"required": [
- "InputId"
+ "GlobalColorCorrections"
]
},
- "DescribeInputResponse": {
+ "ColorSpace": {
+ "type": "string",
+ "enum": [
+ "HDR10",
+ "HLG_2020",
+ "REC_601",
+ "REC_709"
+ ]
+ },
+ "ColorSpacePassthroughSettings": {
"type": "structure",
"members": {
- "Arn": {
+ }
+ },
+ "ConflictException": {
+ "type": "structure",
+ "members": {
+ "Message": {
"shape": "__string",
- "locationName": "arn"
+ "locationName": "message"
+ }
+ },
+ "exception": true,
+ "error": {
+ "httpStatusCode": 409
+ }
+ },
+ "CreateChannel": {
+ "type": "structure",
+ "members": {
+ "CdiInputSpecification": {
+ "shape": "CdiInputSpecification",
+ "locationName": "cdiInputSpecification"
},
- "AttachedChannels": {
- "shape": "__listOf__string",
- "locationName": "attachedChannels"
+ "ChannelClass": {
+ "shape": "ChannelClass",
+ "locationName": "channelClass"
},
"Destinations": {
- "shape": "__listOfInputDestination",
+ "shape": "__listOfOutputDestination",
"locationName": "destinations"
},
- "Id": {
- "shape": "__string",
- "locationName": "id"
- },
- "InputClass": {
- "shape": "InputClass",
- "locationName": "inputClass"
+ "EncoderSettings": {
+ "shape": "EncoderSettings",
+ "locationName": "encoderSettings"
},
- "InputDevices": {
- "shape": "__listOfInputDeviceSettings",
- "locationName": "inputDevices"
+ "InputAttachments": {
+ "shape": "__listOfInputAttachment",
+ "locationName": "inputAttachments"
},
- "InputPartnerIds": {
- "shape": "__listOf__string",
- "locationName": "inputPartnerIds"
+ "InputSpecification": {
+ "shape": "InputSpecification",
+ "locationName": "inputSpecification"
},
- "InputSourceType": {
- "shape": "InputSourceType",
- "locationName": "inputSourceType"
+ "LogLevel": {
+ "shape": "LogLevel",
+ "locationName": "logLevel"
},
- "MediaConnectFlows": {
- "shape": "__listOfMediaConnectFlow",
- "locationName": "mediaConnectFlows"
+ "Maintenance": {
+ "shape": "MaintenanceCreateSettings",
+ "locationName": "maintenance"
},
"Name": {
"shape": "__string",
"locationName": "name"
},
+ "RequestId": {
+ "shape": "__string",
+ "locationName": "requestId",
+ "idempotencyToken": true
+ },
+ "Reserved": {
+ "shape": "__string",
+ "locationName": "reserved",
+ "deprecated": true
+ },
"RoleArn": {
"shape": "__string",
"locationName": "roleArn"
},
- "SecurityGroups": {
- "shape": "__listOf__string",
- "locationName": "securityGroups"
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
},
- "Sources": {
- "shape": "__listOfInputSource",
- "locationName": "sources"
- },
- "State": {
- "shape": "InputState",
- "locationName": "state"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- },
- "Type": {
- "shape": "InputType",
- "locationName": "type"
+ "Vpc": {
+ "shape": "VpcOutputSettings",
+ "locationName": "vpc"
},
- "SrtSettings": {
- "shape": "SrtSettings",
- "locationName": "srtSettings"
+ "AnywhereSettings": {
+ "shape": "AnywhereSettings",
+ "locationName": "anywhereSettings"
}
}
},
- "DescribeInputSecurityGroupRequest": {
- "type": "structure",
- "members": {
- "InputSecurityGroupId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "inputSecurityGroupId"
- }
- },
- "required": [
- "InputSecurityGroupId"
- ]
- },
- "DescribeInputSecurityGroupResponse": {
+ "CreateChannelRequest": {
"type": "structure",
"members": {
- "Arn": {
+ "CdiInputSpecification": {
+ "shape": "CdiInputSpecification",
+ "locationName": "cdiInputSpecification"
+ },
+ "ChannelClass": {
+ "shape": "ChannelClass",
+ "locationName": "channelClass"
+ },
+ "Destinations": {
+ "shape": "__listOfOutputDestination",
+ "locationName": "destinations"
+ },
+ "EncoderSettings": {
+ "shape": "EncoderSettings",
+ "locationName": "encoderSettings"
+ },
+ "InputAttachments": {
+ "shape": "__listOfInputAttachment",
+ "locationName": "inputAttachments"
+ },
+ "InputSpecification": {
+ "shape": "InputSpecification",
+ "locationName": "inputSpecification"
+ },
+ "LogLevel": {
+ "shape": "LogLevel",
+ "locationName": "logLevel"
+ },
+ "Maintenance": {
+ "shape": "MaintenanceCreateSettings",
+ "locationName": "maintenance"
+ },
+ "Name": {
"shape": "__string",
- "locationName": "arn"
+ "locationName": "name"
},
- "Id": {
+ "RequestId": {
"shape": "__string",
- "locationName": "id"
+ "locationName": "requestId",
+ "idempotencyToken": true
},
- "Inputs": {
- "shape": "__listOf__string",
- "locationName": "inputs"
+ "Reserved": {
+ "shape": "__string",
+ "locationName": "reserved",
+ "deprecated": true
},
- "State": {
- "shape": "InputSecurityGroupState",
- "locationName": "state"
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
},
"Tags": {
"shape": "Tags",
"locationName": "tags"
},
- "WhitelistRules": {
- "shape": "__listOfInputWhitelistRule",
- "locationName": "whitelistRules"
- }
- }
- },
- "DescribeMultiplexProgramRequest": {
- "type": "structure",
- "members": {
- "MultiplexId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "multiplexId"
+ "Vpc": {
+ "shape": "VpcOutputSettings",
+ "locationName": "vpc"
},
- "ProgramName": {
- "shape": "__string",
- "location": "uri",
- "locationName": "programName"
+ "AnywhereSettings": {
+ "shape": "AnywhereSettings",
+ "locationName": "anywhereSettings"
}
- },
- "required": [
- "MultiplexId",
- "ProgramName"
- ]
+ }
},
- "DescribeMultiplexProgramResponse": {
+ "CreateChannelResponse": {
"type": "structure",
"members": {
- "ChannelId": {
- "shape": "__string",
- "locationName": "channelId"
- },
- "MultiplexProgramSettings": {
- "shape": "MultiplexProgramSettings",
- "locationName": "multiplexProgramSettings"
- },
- "PacketIdentifiersMap": {
- "shape": "MultiplexProgramPacketIdentifiersMap",
- "locationName": "packetIdentifiersMap"
- },
- "PipelineDetails": {
- "shape": "__listOfMultiplexProgramPipelineDetail",
- "locationName": "pipelineDetails"
- },
- "ProgramName": {
- "shape": "__string",
- "locationName": "programName"
+ "Channel": {
+ "shape": "Channel",
+ "locationName": "channel"
}
}
},
- "DescribeMultiplexRequest": {
+ "CreateChannelResultModel": {
"type": "structure",
"members": {
- "MultiplexId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "multiplexId"
+ "Channel": {
+ "shape": "Channel",
+ "locationName": "channel"
}
- },
- "required": [
- "MultiplexId"
- ]
+ }
},
- "DescribeMultiplexResponse": {
+ "CreateInput": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "AvailabilityZones": {
- "shape": "__listOf__string",
- "locationName": "availabilityZones"
- },
"Destinations": {
- "shape": "__listOfMultiplexOutputDestination",
+ "shape": "__listOfInputDestinationRequest",
"locationName": "destinations"
},
- "Id": {
- "shape": "__string",
- "locationName": "id"
+ "InputDevices": {
+ "shape": "__listOfInputDeviceSettings",
+ "locationName": "inputDevices"
},
- "MultiplexSettings": {
- "shape": "MultiplexSettings",
- "locationName": "multiplexSettings"
+ "InputSecurityGroups": {
+ "shape": "__listOf__string",
+ "locationName": "inputSecurityGroups"
+ },
+ "MediaConnectFlows": {
+ "shape": "__listOfMediaConnectFlowRequest",
+ "locationName": "mediaConnectFlows"
},
"Name": {
"shape": "__string",
"locationName": "name"
},
- "PipelinesRunningCount": {
- "shape": "__integer",
- "locationName": "pipelinesRunningCount"
+ "RequestId": {
+ "shape": "__string",
+ "locationName": "requestId",
+ "idempotencyToken": true
},
- "ProgramCount": {
- "shape": "__integer",
- "locationName": "programCount"
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
},
- "State": {
- "shape": "MultiplexState",
- "locationName": "state"
+ "Sources": {
+ "shape": "__listOfInputSourceRequest",
+ "locationName": "sources"
},
"Tags": {
"shape": "Tags",
"locationName": "tags"
+ },
+ "Type": {
+ "shape": "InputType",
+ "locationName": "type"
+ },
+ "Vpc": {
+ "shape": "InputVpcRequest",
+ "locationName": "vpc"
+ },
+ "SrtSettings": {
+ "shape": "SrtSettingsRequest",
+ "locationName": "srtSettings"
+ },
+ "InputNetworkLocation": {
+ "shape": "InputNetworkLocation",
+ "locationName": "inputNetworkLocation"
+ },
+ "MulticastSettings": {
+ "shape": "MulticastSettingsCreateRequest",
+ "locationName": "multicastSettings"
}
}
},
- "DescribeOfferingRequest": {
- "type": "structure",
- "members": {
- "OfferingId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "offeringId"
- }
- },
- "required": [
- "OfferingId"
- ]
- },
- "DescribeOfferingResponse": {
+ "CreateInputRequest": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
+ "Destinations": {
+ "shape": "__listOfInputDestinationRequest",
+ "locationName": "destinations"
},
- "CurrencyCode": {
- "shape": "__string",
- "locationName": "currencyCode"
+ "InputDevices": {
+ "shape": "__listOfInputDeviceSettings",
+ "locationName": "inputDevices"
},
- "Duration": {
- "shape": "__integer",
- "locationName": "duration"
+ "InputSecurityGroups": {
+ "shape": "__listOf__string",
+ "locationName": "inputSecurityGroups"
},
- "DurationUnits": {
- "shape": "OfferingDurationUnits",
- "locationName": "durationUnits"
+ "MediaConnectFlows": {
+ "shape": "__listOfMediaConnectFlowRequest",
+ "locationName": "mediaConnectFlows"
},
- "FixedPrice": {
- "shape": "__double",
- "locationName": "fixedPrice"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "OfferingDescription": {
+ "RequestId": {
"shape": "__string",
- "locationName": "offeringDescription"
+ "locationName": "requestId",
+ "idempotencyToken": true
},
- "OfferingId": {
+ "RoleArn": {
"shape": "__string",
- "locationName": "offeringId"
+ "locationName": "roleArn"
},
- "OfferingType": {
- "shape": "OfferingType",
- "locationName": "offeringType"
+ "Sources": {
+ "shape": "__listOfInputSourceRequest",
+ "locationName": "sources"
},
- "Region": {
- "shape": "__string",
- "locationName": "region"
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
},
- "ResourceSpecification": {
- "shape": "ReservationResourceSpecification",
- "locationName": "resourceSpecification"
+ "Type": {
+ "shape": "InputType",
+ "locationName": "type"
},
- "UsagePrice": {
- "shape": "__double",
- "locationName": "usagePrice"
+ "Vpc": {
+ "shape": "InputVpcRequest",
+ "locationName": "vpc"
+ },
+ "SrtSettings": {
+ "shape": "SrtSettingsRequest",
+ "locationName": "srtSettings"
+ },
+ "InputNetworkLocation": {
+ "shape": "InputNetworkLocation",
+ "locationName": "inputNetworkLocation"
+ },
+ "MulticastSettings": {
+ "shape": "MulticastSettingsCreateRequest",
+ "locationName": "multicastSettings"
}
}
},
- "DescribeReservationRequest": {
+ "CreateInputResponse": {
"type": "structure",
"members": {
- "ReservationId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "reservationId"
+ "Input": {
+ "shape": "Input",
+ "locationName": "input"
}
- },
- "required": [
- "ReservationId"
- ]
+ }
},
- "DescribeReservationResponse": {
+ "CreateInputResultModel": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "Count": {
- "shape": "__integer",
- "locationName": "count"
- },
- "CurrencyCode": {
- "shape": "__string",
- "locationName": "currencyCode"
- },
- "Duration": {
- "shape": "__integer",
- "locationName": "duration"
- },
- "DurationUnits": {
- "shape": "OfferingDurationUnits",
- "locationName": "durationUnits"
+ "Input": {
+ "shape": "Input",
+ "locationName": "input"
+ }
+ }
+ },
+ "CreateInputSecurityGroupRequest": {
+ "type": "structure",
+ "members": {
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
},
- "End": {
- "shape": "__string",
- "locationName": "end"
+ "WhitelistRules": {
+ "shape": "__listOfInputWhitelistRuleCidr",
+ "locationName": "whitelistRules"
+ }
+ }
+ },
+ "CreateInputSecurityGroupResponse": {
+ "type": "structure",
+ "members": {
+ "SecurityGroup": {
+ "shape": "InputSecurityGroup",
+ "locationName": "securityGroup"
+ }
+ }
+ },
+ "CreateInputSecurityGroupResultModel": {
+ "type": "structure",
+ "members": {
+ "SecurityGroup": {
+ "shape": "InputSecurityGroup",
+ "locationName": "securityGroup"
+ }
+ }
+ },
+ "CreateMultiplex": {
+ "type": "structure",
+ "members": {
+ "AvailabilityZones": {
+ "shape": "__listOf__string",
+ "locationName": "availabilityZones"
},
- "FixedPrice": {
- "shape": "__double",
- "locationName": "fixedPrice"
+ "MultiplexSettings": {
+ "shape": "MultiplexSettings",
+ "locationName": "multiplexSettings"
},
"Name": {
"shape": "__string",
"locationName": "name"
},
- "OfferingDescription": {
- "shape": "__string",
- "locationName": "offeringDescription"
- },
- "OfferingId": {
- "shape": "__string",
- "locationName": "offeringId"
- },
- "OfferingType": {
- "shape": "OfferingType",
- "locationName": "offeringType"
- },
- "Region": {
- "shape": "__string",
- "locationName": "region"
- },
- "RenewalSettings": {
- "shape": "RenewalSettings",
- "locationName": "renewalSettings"
- },
- "ReservationId": {
- "shape": "__string",
- "locationName": "reservationId"
- },
- "ResourceSpecification": {
- "shape": "ReservationResourceSpecification",
- "locationName": "resourceSpecification"
- },
- "Start": {
+ "RequestId": {
"shape": "__string",
- "locationName": "start"
- },
- "State": {
- "shape": "ReservationState",
- "locationName": "state"
+ "locationName": "requestId",
+ "idempotencyToken": true
},
"Tags": {
"shape": "Tags",
"locationName": "tags"
- },
- "UsagePrice": {
- "shape": "__double",
- "locationName": "usagePrice"
}
- }
+ },
+ "required": [
+ "RequestId",
+ "MultiplexSettings",
+ "AvailabilityZones",
+ "Name"
+ ]
},
- "DescribeScheduleRequest": {
+ "CreateMultiplexProgram": {
"type": "structure",
"members": {
- "ChannelId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "channelId"
+ "MultiplexProgramSettings": {
+ "shape": "MultiplexProgramSettings",
+ "locationName": "multiplexProgramSettings"
},
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "ProgramName": {
+ "shape": "__string",
+ "locationName": "programName"
},
- "NextToken": {
+ "RequestId": {
"shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
+ "locationName": "requestId",
+ "idempotencyToken": true
}
},
"required": [
- "ChannelId"
+ "RequestId",
+ "MultiplexProgramSettings",
+ "ProgramName"
]
},
- "DescribeScheduleResponse": {
- "type": "structure",
- "members": {
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
- },
- "ScheduleActions": {
- "shape": "__listOfScheduleAction",
- "locationName": "scheduleActions"
- }
- }
- },
- "DescribeThumbnailsRequest": {
+ "CreateMultiplexProgramRequest": {
"type": "structure",
"members": {
- "ChannelId": {
+ "MultiplexId": {
"shape": "__string",
"location": "uri",
- "locationName": "channelId"
+ "locationName": "multiplexId"
},
- "PipelineId": {
+ "MultiplexProgramSettings": {
+ "shape": "MultiplexProgramSettings",
+ "locationName": "multiplexProgramSettings"
+ },
+ "ProgramName": {
"shape": "__string",
- "location": "querystring",
- "locationName": "pipelineId"
+ "locationName": "programName"
},
- "ThumbnailType": {
+ "RequestId": {
"shape": "__string",
- "location": "querystring",
- "locationName": "thumbnailType"
+ "locationName": "requestId",
+ "idempotencyToken": true
}
},
"required": [
- "ThumbnailType",
- "PipelineId",
- "ChannelId"
+ "MultiplexId",
+ "RequestId",
+ "MultiplexProgramSettings",
+ "ProgramName"
]
},
- "DescribeThumbnailsResponse": {
+ "CreateMultiplexProgramResponse": {
"type": "structure",
"members": {
- "ThumbnailDetails": {
- "shape": "__listOfThumbnailDetail",
- "locationName": "thumbnailDetails"
+ "MultiplexProgram": {
+ "shape": "MultiplexProgram",
+ "locationName": "multiplexProgram"
}
}
},
- "DescribeThumbnailsResultModel": {
+ "CreateMultiplexProgramResultModel": {
"type": "structure",
"members": {
- "ThumbnailDetails": {
- "shape": "__listOfThumbnailDetail",
- "locationName": "thumbnailDetails"
+ "MultiplexProgram": {
+ "shape": "MultiplexProgram",
+ "locationName": "multiplexProgram"
}
}
},
- "DeviceSettingsSyncState": {
- "type": "string",
- "enum": [
- "SYNCED",
- "SYNCING"
+ "CreateMultiplexRequest": {
+ "type": "structure",
+ "members": {
+ "AvailabilityZones": {
+ "shape": "__listOf__string",
+ "locationName": "availabilityZones"
+ },
+ "MultiplexSettings": {
+ "shape": "MultiplexSettings",
+ "locationName": "multiplexSettings"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "RequestId": {
+ "shape": "__string",
+ "locationName": "requestId",
+ "idempotencyToken": true
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "RequestId",
+ "MultiplexSettings",
+ "AvailabilityZones",
+ "Name"
]
},
- "DeviceUpdateStatus": {
- "type": "string",
- "enum": [
- "UP_TO_DATE",
- "NOT_UP_TO_DATE",
- "UPDATING"
- ]
+ "CreateMultiplexResponse": {
+ "type": "structure",
+ "members": {
+ "Multiplex": {
+ "shape": "Multiplex",
+ "locationName": "multiplex"
+ }
+ }
},
- "DolbyEProgramSelection": {
- "type": "string",
- "enum": [
- "ALL_CHANNELS",
- "PROGRAM_1",
- "PROGRAM_2",
- "PROGRAM_3",
- "PROGRAM_4",
- "PROGRAM_5",
- "PROGRAM_6",
- "PROGRAM_7",
- "PROGRAM_8"
- ]
+ "CreateMultiplexResultModel": {
+ "type": "structure",
+ "members": {
+ "Multiplex": {
+ "shape": "Multiplex",
+ "locationName": "multiplex"
+ }
+ }
},
- "DolbyVision81Settings": {
+ "CreatePartnerInput": {
"type": "structure",
"members": {
+ "RequestId": {
+ "shape": "__string",
+ "locationName": "requestId",
+ "idempotencyToken": true
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ }
}
},
- "DvbNitSettings": {
+ "CreatePartnerInputRequest": {
"type": "structure",
"members": {
- "NetworkId": {
- "shape": "__integerMin0Max65536",
- "locationName": "networkId"
+ "InputId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputId"
},
- "NetworkName": {
- "shape": "__stringMin1Max256",
- "locationName": "networkName"
+ "RequestId": {
+ "shape": "__string",
+ "locationName": "requestId",
+ "idempotencyToken": true
},
- "RepInterval": {
- "shape": "__integerMin25Max10000",
- "locationName": "repInterval"
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
}
},
"required": [
- "NetworkName",
- "NetworkId"
- ]
- },
- "DvbSdtOutputSdt": {
- "type": "string",
- "enum": [
- "SDT_FOLLOW",
- "SDT_FOLLOW_IF_PRESENT",
- "SDT_MANUAL",
- "SDT_NONE"
+ "InputId"
]
},
- "DvbSdtSettings": {
+ "CreatePartnerInputResponse": {
"type": "structure",
"members": {
- "OutputSdt": {
- "shape": "DvbSdtOutputSdt",
- "locationName": "outputSdt"
- },
- "RepInterval": {
- "shape": "__integerMin25Max2000",
- "locationName": "repInterval"
- },
- "ServiceName": {
- "shape": "__stringMin1Max256",
- "locationName": "serviceName"
- },
- "ServiceProviderName": {
- "shape": "__stringMin1Max256",
- "locationName": "serviceProviderName"
+ "Input": {
+ "shape": "Input",
+ "locationName": "input"
}
}
},
- "DvbSubDestinationAlignment": {
- "type": "string",
- "enum": [
- "CENTERED",
- "LEFT",
- "SMART"
- ]
- },
- "DvbSubDestinationBackgroundColor": {
- "type": "string",
- "enum": [
- "BLACK",
- "NONE",
- "WHITE"
- ]
+ "CreatePartnerInputResultModel": {
+ "type": "structure",
+ "members": {
+ "Input": {
+ "shape": "Input",
+ "locationName": "input"
+ }
+ }
},
- "DvbSubDestinationFontColor": {
- "type": "string",
- "enum": [
- "BLACK",
- "BLUE",
- "GREEN",
- "RED",
- "WHITE",
- "YELLOW"
+ "CreateTagsRequest": {
+ "type": "structure",
+ "members": {
+ "ResourceArn": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "resource-arn"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "ResourceArn"
]
},
- "DvbSubDestinationOutlineColor": {
- "type": "string",
- "enum": [
- "BLACK",
- "BLUE",
- "GREEN",
- "RED",
- "WHITE",
- "YELLOW"
+ "DeleteChannelRequest": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelId"
+ }
+ },
+ "required": [
+ "ChannelId"
]
},
- "DvbSubDestinationSettings": {
+ "DeleteChannelResponse": {
"type": "structure",
"members": {
- "Alignment": {
- "shape": "DvbSubDestinationAlignment",
- "locationName": "alignment"
- },
- "BackgroundColor": {
- "shape": "DvbSubDestinationBackgroundColor",
- "locationName": "backgroundColor"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "BackgroundOpacity": {
- "shape": "__integerMin0Max255",
- "locationName": "backgroundOpacity"
+ "CdiInputSpecification": {
+ "shape": "CdiInputSpecification",
+ "locationName": "cdiInputSpecification"
},
- "Font": {
- "shape": "InputLocation",
- "locationName": "font"
+ "ChannelClass": {
+ "shape": "ChannelClass",
+ "locationName": "channelClass"
},
- "FontColor": {
- "shape": "DvbSubDestinationFontColor",
- "locationName": "fontColor"
+ "Destinations": {
+ "shape": "__listOfOutputDestination",
+ "locationName": "destinations"
},
- "FontOpacity": {
- "shape": "__integerMin0Max255",
- "locationName": "fontOpacity"
+ "EgressEndpoints": {
+ "shape": "__listOfChannelEgressEndpoint",
+ "locationName": "egressEndpoints"
},
- "FontResolution": {
- "shape": "__integerMin96Max600",
- "locationName": "fontResolution"
+ "EncoderSettings": {
+ "shape": "EncoderSettings",
+ "locationName": "encoderSettings"
},
- "FontSize": {
+ "Id": {
"shape": "__string",
- "locationName": "fontSize"
+ "locationName": "id"
},
- "OutlineColor": {
- "shape": "DvbSubDestinationOutlineColor",
- "locationName": "outlineColor"
+ "InputAttachments": {
+ "shape": "__listOfInputAttachment",
+ "locationName": "inputAttachments"
},
- "OutlineSize": {
- "shape": "__integerMin0Max10",
- "locationName": "outlineSize"
+ "InputSpecification": {
+ "shape": "InputSpecification",
+ "locationName": "inputSpecification"
},
- "ShadowColor": {
- "shape": "DvbSubDestinationShadowColor",
- "locationName": "shadowColor"
+ "LogLevel": {
+ "shape": "LogLevel",
+ "locationName": "logLevel"
},
- "ShadowOpacity": {
- "shape": "__integerMin0Max255",
- "locationName": "shadowOpacity"
+ "Maintenance": {
+ "shape": "MaintenanceStatus",
+ "locationName": "maintenance"
},
- "ShadowXOffset": {
- "shape": "__integer",
- "locationName": "shadowXOffset"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "ShadowYOffset": {
+ "PipelineDetails": {
+ "shape": "__listOfPipelineDetail",
+ "locationName": "pipelineDetails"
+ },
+ "PipelinesRunningCount": {
"shape": "__integer",
- "locationName": "shadowYOffset"
+ "locationName": "pipelinesRunningCount"
},
- "TeletextGridControl": {
- "shape": "DvbSubDestinationTeletextGridControl",
- "locationName": "teletextGridControl"
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
},
- "XPosition": {
- "shape": "__integerMin0",
- "locationName": "xPosition"
+ "State": {
+ "shape": "ChannelState",
+ "locationName": "state"
},
- "YPosition": {
- "shape": "__integerMin0",
- "locationName": "yPosition"
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "Vpc": {
+ "shape": "VpcOutputSettingsDescription",
+ "locationName": "vpc"
+ },
+ "AnywhereSettings": {
+ "shape": "DescribeAnywhereSettings",
+ "locationName": "anywhereSettings"
}
}
},
- "DvbSubDestinationShadowColor": {
- "type": "string",
- "enum": [
- "BLACK",
- "NONE",
- "WHITE"
+ "DeleteInputRequest": {
+ "type": "structure",
+ "members": {
+ "InputId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputId"
+ }
+ },
+ "required": [
+ "InputId"
]
},
- "DvbSubDestinationTeletextGridControl": {
- "type": "string",
- "enum": [
- "FIXED",
- "SCALED"
- ]
+ "DeleteInputResponse": {
+ "type": "structure",
+ "members": {
+ }
},
- "DvbSubOcrLanguage": {
- "type": "string",
- "enum": [
- "DEU",
- "ENG",
- "FRA",
- "NLD",
- "POR",
- "SPA"
+ "DeleteInputSecurityGroupRequest": {
+ "type": "structure",
+ "members": {
+ "InputSecurityGroupId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputSecurityGroupId"
+ }
+ },
+ "required": [
+ "InputSecurityGroupId"
]
},
- "DvbSubSourceSettings": {
+ "DeleteInputSecurityGroupResponse": {
"type": "structure",
"members": {
- "OcrLanguage": {
- "shape": "DvbSubOcrLanguage",
- "locationName": "ocrLanguage"
- },
- "Pid": {
- "shape": "__integerMin1",
- "locationName": "pid"
- }
}
},
- "DvbTdtSettings": {
+ "DeleteMultiplexProgramRequest": {
"type": "structure",
"members": {
- "RepInterval": {
- "shape": "__integerMin1000Max30000",
- "locationName": "repInterval"
+ "MultiplexId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "multiplexId"
+ },
+ "ProgramName": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "programName"
}
- }
- },
- "Eac3AtmosCodingMode": {
- "type": "string",
- "enum": [
- "CODING_MODE_5_1_4",
- "CODING_MODE_7_1_4",
- "CODING_MODE_9_1_6"
+ },
+ "required": [
+ "MultiplexId",
+ "ProgramName"
]
},
- "Eac3AtmosDrcLine": {
- "type": "string",
- "enum": [
- "FILM_LIGHT",
- "FILM_STANDARD",
- "MUSIC_LIGHT",
- "MUSIC_STANDARD",
- "NONE",
- "SPEECH"
- ]
+ "DeleteMultiplexProgramResponse": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__string",
+ "locationName": "channelId"
+ },
+ "MultiplexProgramSettings": {
+ "shape": "MultiplexProgramSettings",
+ "locationName": "multiplexProgramSettings"
+ },
+ "PacketIdentifiersMap": {
+ "shape": "MultiplexProgramPacketIdentifiersMap",
+ "locationName": "packetIdentifiersMap"
+ },
+ "PipelineDetails": {
+ "shape": "__listOfMultiplexProgramPipelineDetail",
+ "locationName": "pipelineDetails"
+ },
+ "ProgramName": {
+ "shape": "__string",
+ "locationName": "programName"
+ }
+ }
},
- "Eac3AtmosDrcRf": {
- "type": "string",
- "enum": [
- "FILM_LIGHT",
- "FILM_STANDARD",
- "MUSIC_LIGHT",
- "MUSIC_STANDARD",
- "NONE",
- "SPEECH"
+ "DeleteMultiplexRequest": {
+ "type": "structure",
+ "members": {
+ "MultiplexId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "multiplexId"
+ }
+ },
+ "required": [
+ "MultiplexId"
]
},
- "Eac3AtmosSettings": {
+ "DeleteMultiplexResponse": {
"type": "structure",
"members": {
- "Bitrate": {
- "shape": "__double",
- "locationName": "bitrate"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "CodingMode": {
- "shape": "Eac3AtmosCodingMode",
- "locationName": "codingMode"
+ "AvailabilityZones": {
+ "shape": "__listOf__string",
+ "locationName": "availabilityZones"
},
- "Dialnorm": {
- "shape": "__integerMin1Max31",
- "locationName": "dialnorm"
+ "Destinations": {
+ "shape": "__listOfMultiplexOutputDestination",
+ "locationName": "destinations"
},
- "DrcLine": {
- "shape": "Eac3AtmosDrcLine",
- "locationName": "drcLine"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
- "DrcRf": {
- "shape": "Eac3AtmosDrcRf",
- "locationName": "drcRf"
+ "MultiplexSettings": {
+ "shape": "MultiplexSettings",
+ "locationName": "multiplexSettings"
},
- "HeightTrim": {
- "shape": "__double",
- "locationName": "heightTrim"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "SurroundTrim": {
- "shape": "__double",
- "locationName": "surroundTrim"
+ "PipelinesRunningCount": {
+ "shape": "__integer",
+ "locationName": "pipelinesRunningCount"
+ },
+ "ProgramCount": {
+ "shape": "__integer",
+ "locationName": "programCount"
+ },
+ "State": {
+ "shape": "MultiplexState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
}
}
},
- "Eac3AttenuationControl": {
- "type": "string",
- "enum": [
- "ATTENUATE_3_DB",
- "NONE"
- ]
- },
- "Eac3BitstreamMode": {
- "type": "string",
- "enum": [
- "COMMENTARY",
- "COMPLETE_MAIN",
- "EMERGENCY",
- "HEARING_IMPAIRED",
- "VISUALLY_IMPAIRED"
- ]
- },
- "Eac3CodingMode": {
- "type": "string",
- "enum": [
- "CODING_MODE_1_0",
- "CODING_MODE_2_0",
- "CODING_MODE_3_2"
- ]
- },
- "Eac3DcFilter": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "Eac3DrcLine": {
- "type": "string",
- "enum": [
- "FILM_LIGHT",
- "FILM_STANDARD",
- "MUSIC_LIGHT",
- "MUSIC_STANDARD",
- "NONE",
- "SPEECH"
- ]
- },
- "Eac3DrcRf": {
- "type": "string",
- "enum": [
- "FILM_LIGHT",
- "FILM_STANDARD",
- "MUSIC_LIGHT",
- "MUSIC_STANDARD",
- "NONE",
- "SPEECH"
- ]
- },
- "Eac3LfeControl": {
- "type": "string",
- "enum": [
- "LFE",
- "NO_LFE"
- ]
- },
- "Eac3LfeFilter": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "Eac3MetadataControl": {
- "type": "string",
- "enum": [
- "FOLLOW_INPUT",
- "USE_CONFIGURED"
- ]
- },
- "Eac3PassthroughControl": {
- "type": "string",
- "enum": [
- "NO_PASSTHROUGH",
- "WHEN_POSSIBLE"
- ]
- },
- "Eac3PhaseControl": {
- "type": "string",
- "enum": [
- "NO_SHIFT",
- "SHIFT_90_DEGREES"
+ "DeleteReservationRequest": {
+ "type": "structure",
+ "members": {
+ "ReservationId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "reservationId"
+ }
+ },
+ "required": [
+ "ReservationId"
]
},
- "Eac3Settings": {
+ "DeleteReservationResponse": {
"type": "structure",
"members": {
- "AttenuationControl": {
- "shape": "Eac3AttenuationControl",
- "locationName": "attenuationControl"
- },
- "Bitrate": {
- "shape": "__double",
- "locationName": "bitrate"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "BitstreamMode": {
- "shape": "Eac3BitstreamMode",
- "locationName": "bitstreamMode"
+ "Count": {
+ "shape": "__integer",
+ "locationName": "count"
},
- "CodingMode": {
- "shape": "Eac3CodingMode",
- "locationName": "codingMode"
+ "CurrencyCode": {
+ "shape": "__string",
+ "locationName": "currencyCode"
},
- "DcFilter": {
- "shape": "Eac3DcFilter",
- "locationName": "dcFilter"
+ "Duration": {
+ "shape": "__integer",
+ "locationName": "duration"
},
- "Dialnorm": {
- "shape": "__integerMin1Max31",
- "locationName": "dialnorm"
+ "DurationUnits": {
+ "shape": "OfferingDurationUnits",
+ "locationName": "durationUnits"
},
- "DrcLine": {
- "shape": "Eac3DrcLine",
- "locationName": "drcLine"
+ "End": {
+ "shape": "__string",
+ "locationName": "end"
},
- "DrcRf": {
- "shape": "Eac3DrcRf",
- "locationName": "drcRf"
+ "FixedPrice": {
+ "shape": "__double",
+ "locationName": "fixedPrice"
},
- "LfeControl": {
- "shape": "Eac3LfeControl",
- "locationName": "lfeControl"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "LfeFilter": {
- "shape": "Eac3LfeFilter",
- "locationName": "lfeFilter"
+ "OfferingDescription": {
+ "shape": "__string",
+ "locationName": "offeringDescription"
},
- "LoRoCenterMixLevel": {
- "shape": "__double",
- "locationName": "loRoCenterMixLevel"
+ "OfferingId": {
+ "shape": "__string",
+ "locationName": "offeringId"
},
- "LoRoSurroundMixLevel": {
- "shape": "__double",
- "locationName": "loRoSurroundMixLevel"
+ "OfferingType": {
+ "shape": "OfferingType",
+ "locationName": "offeringType"
},
- "LtRtCenterMixLevel": {
- "shape": "__double",
- "locationName": "ltRtCenterMixLevel"
+ "Region": {
+ "shape": "__string",
+ "locationName": "region"
},
- "LtRtSurroundMixLevel": {
- "shape": "__double",
- "locationName": "ltRtSurroundMixLevel"
+ "RenewalSettings": {
+ "shape": "RenewalSettings",
+ "locationName": "renewalSettings"
},
- "MetadataControl": {
- "shape": "Eac3MetadataControl",
- "locationName": "metadataControl"
+ "ReservationId": {
+ "shape": "__string",
+ "locationName": "reservationId"
},
- "PassthroughControl": {
- "shape": "Eac3PassthroughControl",
- "locationName": "passthroughControl"
+ "ResourceSpecification": {
+ "shape": "ReservationResourceSpecification",
+ "locationName": "resourceSpecification"
},
- "PhaseControl": {
- "shape": "Eac3PhaseControl",
- "locationName": "phaseControl"
+ "Start": {
+ "shape": "__string",
+ "locationName": "start"
},
- "StereoDownmix": {
- "shape": "Eac3StereoDownmix",
- "locationName": "stereoDownmix"
+ "State": {
+ "shape": "ReservationState",
+ "locationName": "state"
},
- "SurroundExMode": {
- "shape": "Eac3SurroundExMode",
- "locationName": "surroundExMode"
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
},
- "SurroundMode": {
- "shape": "Eac3SurroundMode",
- "locationName": "surroundMode"
+ "UsagePrice": {
+ "shape": "__double",
+ "locationName": "usagePrice"
}
}
},
- "Eac3StereoDownmix": {
- "type": "string",
- "enum": [
- "DPL2",
- "LO_RO",
- "LT_RT",
- "NOT_INDICATED"
- ]
- },
- "Eac3SurroundExMode": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED",
- "NOT_INDICATED"
+ "DeleteScheduleRequest": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelId"
+ }
+ },
+ "required": [
+ "ChannelId"
]
},
- "Eac3SurroundMode": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED",
- "NOT_INDICATED"
- ]
+ "DeleteScheduleResponse": {
+ "type": "structure",
+ "members": {
+ }
},
- "EbuTtDDestinationSettings": {
+ "DeleteTagsRequest": {
"type": "structure",
"members": {
- "CopyrightHolder": {
- "shape": "__stringMax1000",
- "locationName": "copyrightHolder"
- },
- "FillLineGap": {
- "shape": "EbuTtDFillLineGapControl",
- "locationName": "fillLineGap"
- },
- "FontFamily": {
+ "ResourceArn": {
"shape": "__string",
- "locationName": "fontFamily"
+ "location": "uri",
+ "locationName": "resource-arn"
},
- "StyleControl": {
- "shape": "EbuTtDDestinationStyleControl",
- "locationName": "styleControl"
+ "TagKeys": {
+ "shape": "__listOf__string",
+ "location": "querystring",
+ "locationName": "tagKeys"
}
- }
- },
- "EbuTtDDestinationStyleControl": {
- "type": "string",
- "enum": [
- "EXCLUDE",
- "INCLUDE"
- ]
- },
- "EbuTtDFillLineGapControl": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "EmbeddedConvert608To708": {
- "type": "string",
- "enum": [
- "DISABLED",
- "UPCONVERT"
+ },
+ "required": [
+ "TagKeys",
+ "ResourceArn"
]
},
- "EmbeddedDestinationSettings": {
+ "DescribeAccountConfigurationRequest": {
"type": "structure",
"members": {
}
},
- "EmbeddedPlusScte20DestinationSettings": {
+ "DescribeAccountConfigurationResponse": {
"type": "structure",
"members": {
+ "AccountConfiguration": {
+ "shape": "AccountConfiguration",
+ "locationName": "accountConfiguration"
+ }
}
},
- "EmbeddedScte20Detection": {
- "type": "string",
- "enum": [
- "AUTO",
- "OFF"
- ]
- },
- "EmbeddedSourceSettings": {
+ "DescribeAccountConfigurationResultModel": {
"type": "structure",
"members": {
- "Convert608To708": {
- "shape": "EmbeddedConvert608To708",
- "locationName": "convert608To708"
- },
- "Scte20Detection": {
- "shape": "EmbeddedScte20Detection",
- "locationName": "scte20Detection"
- },
- "Source608ChannelNumber": {
- "shape": "__integerMin1Max4",
- "locationName": "source608ChannelNumber"
- },
- "Source608TrackNumber": {
- "shape": "__integerMin1Max5",
- "locationName": "source608TrackNumber"
+ "AccountConfiguration": {
+ "shape": "AccountConfiguration",
+ "locationName": "accountConfiguration"
}
}
},
- "Empty": {
+ "DescribeChannelRequest": {
"type": "structure",
"members": {
- }
+ "ChannelId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelId"
+ }
+ },
+ "required": [
+ "ChannelId"
+ ]
},
- "EncoderSettings": {
+ "DescribeChannelResponse": {
"type": "structure",
"members": {
- "AudioDescriptions": {
- "shape": "__listOfAudioDescription",
- "locationName": "audioDescriptions"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "AvailBlanking": {
- "shape": "AvailBlanking",
- "locationName": "availBlanking"
+ "CdiInputSpecification": {
+ "shape": "CdiInputSpecification",
+ "locationName": "cdiInputSpecification"
},
- "AvailConfiguration": {
- "shape": "AvailConfiguration",
- "locationName": "availConfiguration"
+ "ChannelClass": {
+ "shape": "ChannelClass",
+ "locationName": "channelClass"
},
- "BlackoutSlate": {
- "shape": "BlackoutSlate",
- "locationName": "blackoutSlate"
+ "Destinations": {
+ "shape": "__listOfOutputDestination",
+ "locationName": "destinations"
},
- "CaptionDescriptions": {
- "shape": "__listOfCaptionDescription",
- "locationName": "captionDescriptions"
+ "EgressEndpoints": {
+ "shape": "__listOfChannelEgressEndpoint",
+ "locationName": "egressEndpoints"
},
- "FeatureActivations": {
- "shape": "FeatureActivations",
- "locationName": "featureActivations"
+ "EncoderSettings": {
+ "shape": "EncoderSettings",
+ "locationName": "encoderSettings"
},
- "GlobalConfiguration": {
- "shape": "GlobalConfiguration",
- "locationName": "globalConfiguration"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
- "MotionGraphicsConfiguration": {
- "shape": "MotionGraphicsConfiguration",
- "locationName": "motionGraphicsConfiguration"
+ "InputAttachments": {
+ "shape": "__listOfInputAttachment",
+ "locationName": "inputAttachments"
},
- "NielsenConfiguration": {
- "shape": "NielsenConfiguration",
- "locationName": "nielsenConfiguration"
+ "InputSpecification": {
+ "shape": "InputSpecification",
+ "locationName": "inputSpecification"
},
- "OutputGroups": {
- "shape": "__listOfOutputGroup",
- "locationName": "outputGroups"
+ "LogLevel": {
+ "shape": "LogLevel",
+ "locationName": "logLevel"
},
- "TimecodeConfig": {
- "shape": "TimecodeConfig",
- "locationName": "timecodeConfig"
+ "Maintenance": {
+ "shape": "MaintenanceStatus",
+ "locationName": "maintenance"
},
- "VideoDescriptions": {
- "shape": "__listOfVideoDescription",
- "locationName": "videoDescriptions"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "ThumbnailConfiguration": {
- "shape": "ThumbnailConfiguration",
- "locationName": "thumbnailConfiguration"
+ "PipelineDetails": {
+ "shape": "__listOfPipelineDetail",
+ "locationName": "pipelineDetails"
},
- "ColorCorrectionSettings": {
- "shape": "ColorCorrectionSettings",
- "locationName": "colorCorrectionSettings"
- }
- },
- "required": [
- "VideoDescriptions",
- "AudioDescriptions",
- "OutputGroups",
- "TimecodeConfig"
- ]
- },
- "EpochLockingSettings": {
- "type": "structure",
- "members": {
- "CustomEpoch": {
- "shape": "__string",
- "locationName": "customEpoch"
+ "PipelinesRunningCount": {
+ "shape": "__integer",
+ "locationName": "pipelinesRunningCount"
},
- "JamSyncTime": {
+ "RoleArn": {
"shape": "__string",
- "locationName": "jamSyncTime"
+ "locationName": "roleArn"
+ },
+ "State": {
+ "shape": "ChannelState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "Vpc": {
+ "shape": "VpcOutputSettingsDescription",
+ "locationName": "vpc"
+ },
+ "AnywhereSettings": {
+ "shape": "DescribeAnywhereSettings",
+ "locationName": "anywhereSettings"
}
}
},
- "Esam": {
+ "DescribeInputDeviceRequest": {
"type": "structure",
"members": {
- "AcquisitionPointId": {
- "shape": "__stringMax256",
- "locationName": "acquisitionPointId"
- },
- "AdAvailOffset": {
- "shape": "__integerMinNegative1000Max1000",
- "locationName": "adAvailOffset"
- },
- "PasswordParam": {
- "shape": "__string",
- "locationName": "passwordParam"
- },
- "PoisEndpoint": {
- "shape": "__stringMax2048",
- "locationName": "poisEndpoint"
- },
- "Username": {
+ "InputDeviceId": {
"shape": "__string",
- "locationName": "username"
- },
- "ZoneIdentity": {
- "shape": "__stringMax256",
- "locationName": "zoneIdentity"
+ "location": "uri",
+ "locationName": "inputDeviceId"
}
},
"required": [
- "AcquisitionPointId",
- "PoisEndpoint"
+ "InputDeviceId"
]
},
- "FailoverCondition": {
- "type": "structure",
- "members": {
- "FailoverConditionSettings": {
- "shape": "FailoverConditionSettings",
- "locationName": "failoverConditionSettings"
- }
- }
- },
- "FailoverConditionSettings": {
+ "DescribeInputDeviceResponse": {
"type": "structure",
"members": {
- "AudioSilenceSettings": {
- "shape": "AudioSilenceFailoverSettings",
- "locationName": "audioSilenceSettings"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "InputLossSettings": {
- "shape": "InputLossFailoverSettings",
- "locationName": "inputLossSettings"
+ "ConnectionState": {
+ "shape": "InputDeviceConnectionState",
+ "locationName": "connectionState"
},
- "VideoBlackSettings": {
- "shape": "VideoBlackFailoverSettings",
- "locationName": "videoBlackSettings"
- }
- }
- },
- "FeatureActivations": {
- "type": "structure",
- "members": {
- "InputPrepareScheduleActions": {
- "shape": "FeatureActivationsInputPrepareScheduleActions",
- "locationName": "inputPrepareScheduleActions"
+ "DeviceSettingsSyncState": {
+ "shape": "DeviceSettingsSyncState",
+ "locationName": "deviceSettingsSyncState"
},
- "OutputStaticImageOverlayScheduleActions": {
- "shape": "FeatureActivationsOutputStaticImageOverlayScheduleActions",
- "locationName": "outputStaticImageOverlayScheduleActions"
- }
- }
- },
- "FeatureActivationsInputPrepareScheduleActions": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "FeatureActivationsOutputStaticImageOverlayScheduleActions": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "FecOutputIncludeFec": {
- "type": "string",
- "enum": [
- "COLUMN",
- "COLUMN_AND_ROW"
- ]
- },
- "FecOutputSettings": {
- "type": "structure",
- "members": {
- "ColumnDepth": {
- "shape": "__integerMin4Max20",
- "locationName": "columnDepth"
+ "DeviceUpdateStatus": {
+ "shape": "DeviceUpdateStatus",
+ "locationName": "deviceUpdateStatus"
},
- "IncludeFec": {
- "shape": "FecOutputIncludeFec",
- "locationName": "includeFec"
+ "HdDeviceSettings": {
+ "shape": "InputDeviceHdSettings",
+ "locationName": "hdDeviceSettings"
},
- "RowLength": {
- "shape": "__integerMin1Max20",
- "locationName": "rowLength"
- }
- }
- },
- "FixedAfd": {
- "type": "string",
- "enum": [
- "AFD_0000",
- "AFD_0010",
- "AFD_0011",
- "AFD_0100",
- "AFD_1000",
- "AFD_1001",
- "AFD_1010",
- "AFD_1011",
- "AFD_1101",
- "AFD_1110",
- "AFD_1111"
- ]
- },
- "FixedModeScheduleActionStartSettings": {
- "type": "structure",
- "members": {
- "Time": {
+ "Id": {
"shape": "__string",
- "locationName": "time"
- }
- },
- "required": [
- "Time"
- ]
- },
- "Fmp4HlsSettings": {
- "type": "structure",
- "members": {
- "AudioRenditionSets": {
+ "locationName": "id"
+ },
+ "MacAddress": {
"shape": "__string",
- "locationName": "audioRenditionSets"
+ "locationName": "macAddress"
},
- "NielsenId3Behavior": {
- "shape": "Fmp4NielsenId3Behavior",
- "locationName": "nielsenId3Behavior"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "TimedMetadataBehavior": {
- "shape": "Fmp4TimedMetadataBehavior",
- "locationName": "timedMetadataBehavior"
+ "NetworkSettings": {
+ "shape": "InputDeviceNetworkSettings",
+ "locationName": "networkSettings"
+ },
+ "SerialNumber": {
+ "shape": "__string",
+ "locationName": "serialNumber"
+ },
+ "Type": {
+ "shape": "InputDeviceType",
+ "locationName": "type"
+ },
+ "UhdDeviceSettings": {
+ "shape": "InputDeviceUhdSettings",
+ "locationName": "uhdDeviceSettings"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "AvailabilityZone": {
+ "shape": "__string",
+ "locationName": "availabilityZone"
+ },
+ "MedialiveInputArns": {
+ "shape": "__listOf__string",
+ "locationName": "medialiveInputArns"
+ },
+ "OutputType": {
+ "shape": "InputDeviceOutputType",
+ "locationName": "outputType"
}
}
},
- "Fmp4NielsenId3Behavior": {
- "type": "string",
- "enum": [
- "NO_PASSTHROUGH",
- "PASSTHROUGH"
- ]
- },
- "Fmp4TimedMetadataBehavior": {
- "type": "string",
- "enum": [
- "NO_PASSTHROUGH",
- "PASSTHROUGH"
- ]
- },
- "FollowModeScheduleActionStartSettings": {
+ "DescribeInputDeviceThumbnailRequest": {
"type": "structure",
"members": {
- "FollowPoint": {
- "shape": "FollowPoint",
- "locationName": "followPoint"
- },
- "ReferenceActionName": {
+ "InputDeviceId": {
"shape": "__string",
- "locationName": "referenceActionName"
+ "location": "uri",
+ "locationName": "inputDeviceId"
+ },
+ "Accept": {
+ "shape": "AcceptHeader",
+ "location": "header",
+ "locationName": "accept"
}
},
"required": [
- "ReferenceActionName",
- "FollowPoint"
- ]
- },
- "FollowPoint": {
- "type": "string",
- "enum": [
- "END",
- "START"
+ "InputDeviceId",
+ "Accept"
]
},
- "ForbiddenException": {
+ "DescribeInputDeviceThumbnailResponse": {
"type": "structure",
"members": {
- "Message": {
+ "Body": {
+ "shape": "InputDeviceThumbnail",
+ "locationName": "body"
+ },
+ "ContentType": {
+ "shape": "ContentType",
+ "location": "header",
+ "locationName": "Content-Type"
+ },
+ "ContentLength": {
+ "shape": "__long",
+ "location": "header",
+ "locationName": "Content-Length"
+ },
+ "ETag": {
"shape": "__string",
- "locationName": "message"
+ "location": "header",
+ "locationName": "ETag"
+ },
+ "LastModified": {
+ "shape": "__timestamp",
+ "location": "header",
+ "locationName": "Last-Modified"
}
},
- "exception": true,
- "error": {
- "httpStatusCode": 403
- }
- },
- "FrameCaptureCdnSettings": {
- "type": "structure",
- "members": {
- "FrameCaptureS3Settings": {
- "shape": "FrameCaptureS3Settings",
- "locationName": "frameCaptureS3Settings"
- }
- }
+ "payload": "Body"
},
- "FrameCaptureGroupSettings": {
+ "DescribeInputRequest": {
"type": "structure",
"members": {
- "Destination": {
- "shape": "OutputLocationRef",
- "locationName": "destination"
- },
- "FrameCaptureCdnSettings": {
- "shape": "FrameCaptureCdnSettings",
- "locationName": "frameCaptureCdnSettings"
+ "InputId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputId"
}
},
"required": [
- "Destination"
- ]
- },
- "FrameCaptureHlsSettings": {
- "type": "structure",
- "members": {
- }
- },
- "FrameCaptureIntervalUnit": {
- "type": "string",
- "enum": [
- "MILLISECONDS",
- "SECONDS"
+ "InputId"
]
},
- "FrameCaptureOutputSettings": {
+ "DescribeInputResponse": {
"type": "structure",
"members": {
- "NameModifier": {
+ "Arn": {
"shape": "__string",
- "locationName": "nameModifier"
+ "locationName": "arn"
+ },
+ "AttachedChannels": {
+ "shape": "__listOf__string",
+ "locationName": "attachedChannels"
+ },
+ "Destinations": {
+ "shape": "__listOfInputDestination",
+ "locationName": "destinations"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "InputClass": {
+ "shape": "InputClass",
+ "locationName": "inputClass"
+ },
+ "InputDevices": {
+ "shape": "__listOfInputDeviceSettings",
+ "locationName": "inputDevices"
+ },
+ "InputPartnerIds": {
+ "shape": "__listOf__string",
+ "locationName": "inputPartnerIds"
+ },
+ "InputSourceType": {
+ "shape": "InputSourceType",
+ "locationName": "inputSourceType"
+ },
+ "MediaConnectFlows": {
+ "shape": "__listOfMediaConnectFlow",
+ "locationName": "mediaConnectFlows"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
+ },
+ "SecurityGroups": {
+ "shape": "__listOf__string",
+ "locationName": "securityGroups"
+ },
+ "Sources": {
+ "shape": "__listOfInputSource",
+ "locationName": "sources"
+ },
+ "State": {
+ "shape": "InputState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "Type": {
+ "shape": "InputType",
+ "locationName": "type"
+ },
+ "SrtSettings": {
+ "shape": "SrtSettings",
+ "locationName": "srtSettings"
+ },
+ "InputNetworkLocation": {
+ "shape": "InputNetworkLocation",
+ "locationName": "inputNetworkLocation"
+ },
+ "MulticastSettings": {
+ "shape": "MulticastSettings",
+ "locationName": "multicastSettings"
}
}
},
- "FrameCaptureS3LogUploads": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
+ "DescribeInputSecurityGroupRequest": {
+ "type": "structure",
+ "members": {
+ "InputSecurityGroupId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputSecurityGroupId"
+ }
+ },
+ "required": [
+ "InputSecurityGroupId"
]
},
- "FrameCaptureS3Settings": {
+ "DescribeInputSecurityGroupResponse": {
"type": "structure",
"members": {
- "CannedAcl": {
- "shape": "S3CannedAcl",
- "locationName": "cannedAcl"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "Inputs": {
+ "shape": "__listOf__string",
+ "locationName": "inputs"
+ },
+ "State": {
+ "shape": "InputSecurityGroupState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "WhitelistRules": {
+ "shape": "__listOfInputWhitelistRule",
+ "locationName": "whitelistRules"
}
}
},
- "FrameCaptureSettings": {
+ "DescribeMultiplexProgramRequest": {
"type": "structure",
"members": {
- "CaptureInterval": {
- "shape": "__integerMin1Max3600000",
- "locationName": "captureInterval"
+ "MultiplexId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "multiplexId"
},
- "CaptureIntervalUnits": {
- "shape": "FrameCaptureIntervalUnit",
- "locationName": "captureIntervalUnits"
+ "ProgramName": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "programName"
+ }
+ },
+ "required": [
+ "MultiplexId",
+ "ProgramName"
+ ]
+ },
+ "DescribeMultiplexProgramResponse": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__string",
+ "locationName": "channelId"
},
- "TimecodeBurninSettings": {
- "shape": "TimecodeBurninSettings",
- "locationName": "timecodeBurninSettings"
+ "MultiplexProgramSettings": {
+ "shape": "MultiplexProgramSettings",
+ "locationName": "multiplexProgramSettings"
+ },
+ "PacketIdentifiersMap": {
+ "shape": "MultiplexProgramPacketIdentifiersMap",
+ "locationName": "packetIdentifiersMap"
+ },
+ "PipelineDetails": {
+ "shape": "__listOfMultiplexProgramPipelineDetail",
+ "locationName": "pipelineDetails"
+ },
+ "ProgramName": {
+ "shape": "__string",
+ "locationName": "programName"
}
}
},
- "GatewayTimeoutException": {
+ "DescribeMultiplexRequest": {
"type": "structure",
"members": {
- "Message": {
+ "MultiplexId": {
"shape": "__string",
- "locationName": "message"
+ "location": "uri",
+ "locationName": "multiplexId"
}
},
- "exception": true,
- "error": {
- "httpStatusCode": 504
- }
+ "required": [
+ "MultiplexId"
+ ]
},
- "GlobalConfiguration": {
+ "DescribeMultiplexResponse": {
"type": "structure",
"members": {
- "InitialAudioGain": {
- "shape": "__integerMinNegative60Max60",
- "locationName": "initialAudioGain"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "InputEndAction": {
- "shape": "GlobalConfigurationInputEndAction",
- "locationName": "inputEndAction"
+ "AvailabilityZones": {
+ "shape": "__listOf__string",
+ "locationName": "availabilityZones"
},
- "InputLossBehavior": {
- "shape": "InputLossBehavior",
- "locationName": "inputLossBehavior"
+ "Destinations": {
+ "shape": "__listOfMultiplexOutputDestination",
+ "locationName": "destinations"
},
- "OutputLockingMode": {
- "shape": "GlobalConfigurationOutputLockingMode",
- "locationName": "outputLockingMode"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
- "OutputTimingSource": {
- "shape": "GlobalConfigurationOutputTimingSource",
- "locationName": "outputTimingSource"
+ "MultiplexSettings": {
+ "shape": "MultiplexSettings",
+ "locationName": "multiplexSettings"
},
- "SupportLowFramerateInputs": {
- "shape": "GlobalConfigurationLowFramerateInputs",
- "locationName": "supportLowFramerateInputs"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "OutputLockingSettings": {
- "shape": "OutputLockingSettings",
- "locationName": "outputLockingSettings"
+ "PipelinesRunningCount": {
+ "shape": "__integer",
+ "locationName": "pipelinesRunningCount"
+ },
+ "ProgramCount": {
+ "shape": "__integer",
+ "locationName": "programCount"
+ },
+ "State": {
+ "shape": "MultiplexState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
}
}
},
- "GlobalConfigurationInputEndAction": {
- "type": "string",
- "enum": [
- "NONE",
- "SWITCH_AND_LOOP_INPUTS"
- ]
- },
- "GlobalConfigurationLowFramerateInputs": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
+ "DescribeOfferingRequest": {
+ "type": "structure",
+ "members": {
+ "OfferingId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "offeringId"
+ }
+ },
+ "required": [
+ "OfferingId"
]
},
- "GlobalConfigurationOutputLockingMode": {
- "type": "string",
- "enum": [
- "EPOCH_LOCKING",
- "PIPELINE_LOCKING"
- ]
+ "DescribeOfferingResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "CurrencyCode": {
+ "shape": "__string",
+ "locationName": "currencyCode"
+ },
+ "Duration": {
+ "shape": "__integer",
+ "locationName": "duration"
+ },
+ "DurationUnits": {
+ "shape": "OfferingDurationUnits",
+ "locationName": "durationUnits"
+ },
+ "FixedPrice": {
+ "shape": "__double",
+ "locationName": "fixedPrice"
+ },
+ "OfferingDescription": {
+ "shape": "__string",
+ "locationName": "offeringDescription"
+ },
+ "OfferingId": {
+ "shape": "__string",
+ "locationName": "offeringId"
+ },
+ "OfferingType": {
+ "shape": "OfferingType",
+ "locationName": "offeringType"
+ },
+ "Region": {
+ "shape": "__string",
+ "locationName": "region"
+ },
+ "ResourceSpecification": {
+ "shape": "ReservationResourceSpecification",
+ "locationName": "resourceSpecification"
+ },
+ "UsagePrice": {
+ "shape": "__double",
+ "locationName": "usagePrice"
+ }
+ }
},
- "GlobalConfigurationOutputTimingSource": {
- "type": "string",
- "enum": [
- "INPUT_CLOCK",
- "SYSTEM_CLOCK"
+ "DescribeReservationRequest": {
+ "type": "structure",
+ "members": {
+ "ReservationId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "reservationId"
+ }
+ },
+ "required": [
+ "ReservationId"
]
},
- "H264AdaptiveQuantization": {
- "type": "string",
- "enum": [
- "AUTO",
- "HIGH",
- "HIGHER",
- "LOW",
- "MAX",
- "MEDIUM",
- "OFF"
- ]
+ "DescribeReservationResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "Count": {
+ "shape": "__integer",
+ "locationName": "count"
+ },
+ "CurrencyCode": {
+ "shape": "__string",
+ "locationName": "currencyCode"
+ },
+ "Duration": {
+ "shape": "__integer",
+ "locationName": "duration"
+ },
+ "DurationUnits": {
+ "shape": "OfferingDurationUnits",
+ "locationName": "durationUnits"
+ },
+ "End": {
+ "shape": "__string",
+ "locationName": "end"
+ },
+ "FixedPrice": {
+ "shape": "__double",
+ "locationName": "fixedPrice"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "OfferingDescription": {
+ "shape": "__string",
+ "locationName": "offeringDescription"
+ },
+ "OfferingId": {
+ "shape": "__string",
+ "locationName": "offeringId"
+ },
+ "OfferingType": {
+ "shape": "OfferingType",
+ "locationName": "offeringType"
+ },
+ "Region": {
+ "shape": "__string",
+ "locationName": "region"
+ },
+ "RenewalSettings": {
+ "shape": "RenewalSettings",
+ "locationName": "renewalSettings"
+ },
+ "ReservationId": {
+ "shape": "__string",
+ "locationName": "reservationId"
+ },
+ "ResourceSpecification": {
+ "shape": "ReservationResourceSpecification",
+ "locationName": "resourceSpecification"
+ },
+ "Start": {
+ "shape": "__string",
+ "locationName": "start"
+ },
+ "State": {
+ "shape": "ReservationState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "UsagePrice": {
+ "shape": "__double",
+ "locationName": "usagePrice"
+ }
+ }
},
- "H264ColorMetadata": {
- "type": "string",
- "enum": [
- "IGNORE",
- "INSERT"
+ "DescribeScheduleRequest": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelId"
+ },
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
+ }
+ },
+ "required": [
+ "ChannelId"
]
},
- "H264ColorSpaceSettings": {
+ "DescribeScheduleResponse": {
"type": "structure",
"members": {
- "ColorSpacePassthroughSettings": {
- "shape": "ColorSpacePassthroughSettings",
- "locationName": "colorSpacePassthroughSettings"
- },
- "Rec601Settings": {
- "shape": "Rec601Settings",
- "locationName": "rec601Settings"
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
},
- "Rec709Settings": {
- "shape": "Rec709Settings",
- "locationName": "rec709Settings"
+ "ScheduleActions": {
+ "shape": "__listOfScheduleAction",
+ "locationName": "scheduleActions"
}
}
},
- "H264EntropyEncoding": {
- "type": "string",
- "enum": [
- "CABAC",
- "CAVLC"
+ "DescribeThumbnailsRequest": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelId"
+ },
+ "PipelineId": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "pipelineId"
+ },
+ "ThumbnailType": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "thumbnailType"
+ }
+ },
+ "required": [
+ "ThumbnailType",
+ "PipelineId",
+ "ChannelId"
]
},
- "H264FilterSettings": {
+ "DescribeThumbnailsResponse": {
"type": "structure",
"members": {
- "TemporalFilterSettings": {
- "shape": "TemporalFilterSettings",
- "locationName": "temporalFilterSettings"
+ "ThumbnailDetails": {
+ "shape": "__listOfThumbnailDetail",
+ "locationName": "thumbnailDetails"
}
}
},
- "H264FlickerAq": {
+ "DescribeThumbnailsResultModel": {
+ "type": "structure",
+ "members": {
+ "ThumbnailDetails": {
+ "shape": "__listOfThumbnailDetail",
+ "locationName": "thumbnailDetails"
+ }
+ }
+ },
+ "DeviceSettingsSyncState": {
"type": "string",
"enum": [
- "DISABLED",
- "ENABLED"
+ "SYNCED",
+ "SYNCING"
]
},
- "H264ForceFieldPictures": {
+ "DeviceUpdateStatus": {
"type": "string",
"enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "H264FramerateControl": {
- "type": "string",
- "enum": [
- "INITIALIZE_FROM_SOURCE",
- "SPECIFIED"
- ]
- },
- "H264GopBReference": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
+ "UP_TO_DATE",
+ "NOT_UP_TO_DATE",
+ "UPDATING"
]
},
- "H264GopSizeUnits": {
+ "DolbyEProgramSelection": {
"type": "string",
"enum": [
- "FRAMES",
- "SECONDS"
+ "ALL_CHANNELS",
+ "PROGRAM_1",
+ "PROGRAM_2",
+ "PROGRAM_3",
+ "PROGRAM_4",
+ "PROGRAM_5",
+ "PROGRAM_6",
+ "PROGRAM_7",
+ "PROGRAM_8"
]
},
- "H264Level": {
- "type": "string",
- "enum": [
- "H264_LEVEL_1",
- "H264_LEVEL_1_1",
- "H264_LEVEL_1_2",
- "H264_LEVEL_1_3",
- "H264_LEVEL_2",
- "H264_LEVEL_2_1",
- "H264_LEVEL_2_2",
- "H264_LEVEL_3",
- "H264_LEVEL_3_1",
- "H264_LEVEL_3_2",
- "H264_LEVEL_4",
- "H264_LEVEL_4_1",
- "H264_LEVEL_4_2",
- "H264_LEVEL_5",
- "H264_LEVEL_5_1",
- "H264_LEVEL_5_2",
- "H264_LEVEL_AUTO"
- ]
+ "DolbyVision81Settings": {
+ "type": "structure",
+ "members": {
+ }
},
- "H264LookAheadRateControl": {
- "type": "string",
- "enum": [
- "HIGH",
- "LOW",
- "MEDIUM"
+ "DvbNitSettings": {
+ "type": "structure",
+ "members": {
+ "NetworkId": {
+ "shape": "__integerMin0Max65536",
+ "locationName": "networkId"
+ },
+ "NetworkName": {
+ "shape": "__stringMin1Max256",
+ "locationName": "networkName"
+ },
+ "RepInterval": {
+ "shape": "__integerMin25Max10000",
+ "locationName": "repInterval"
+ }
+ },
+ "required": [
+ "NetworkName",
+ "NetworkId"
]
},
- "H264ParControl": {
+ "DvbSdtOutputSdt": {
"type": "string",
"enum": [
- "INITIALIZE_FROM_SOURCE",
- "SPECIFIED"
+ "SDT_FOLLOW",
+ "SDT_FOLLOW_IF_PRESENT",
+ "SDT_MANUAL",
+ "SDT_NONE"
]
},
- "H264Profile": {
- "type": "string",
- "enum": [
- "BASELINE",
- "HIGH",
- "HIGH_10BIT",
- "HIGH_422",
- "HIGH_422_10BIT",
- "MAIN"
- ]
+ "DvbSdtSettings": {
+ "type": "structure",
+ "members": {
+ "OutputSdt": {
+ "shape": "DvbSdtOutputSdt",
+ "locationName": "outputSdt"
+ },
+ "RepInterval": {
+ "shape": "__integerMin25Max2000",
+ "locationName": "repInterval"
+ },
+ "ServiceName": {
+ "shape": "__stringMin1Max256",
+ "locationName": "serviceName"
+ },
+ "ServiceProviderName": {
+ "shape": "__stringMin1Max256",
+ "locationName": "serviceProviderName"
+ }
+ }
},
- "H264QualityLevel": {
+ "DvbSubDestinationAlignment": {
"type": "string",
"enum": [
- "ENHANCED_QUALITY",
- "STANDARD_QUALITY"
+ "CENTERED",
+ "LEFT",
+ "SMART"
]
},
- "H264RateControlMode": {
+ "DvbSubDestinationBackgroundColor": {
"type": "string",
"enum": [
- "CBR",
- "MULTIPLEX",
- "QVBR",
- "VBR"
+ "BLACK",
+ "NONE",
+ "WHITE"
]
},
- "H264ScanType": {
+ "DvbSubDestinationFontColor": {
"type": "string",
"enum": [
- "INTERLACED",
- "PROGRESSIVE"
+ "BLACK",
+ "BLUE",
+ "GREEN",
+ "RED",
+ "WHITE",
+ "YELLOW"
]
},
- "H264SceneChangeDetect": {
+ "DvbSubDestinationOutlineColor": {
"type": "string",
"enum": [
- "DISABLED",
- "ENABLED"
+ "BLACK",
+ "BLUE",
+ "GREEN",
+ "RED",
+ "WHITE",
+ "YELLOW"
]
},
- "H264Settings": {
+ "DvbSubDestinationSettings": {
"type": "structure",
"members": {
- "AdaptiveQuantization": {
- "shape": "H264AdaptiveQuantization",
- "locationName": "adaptiveQuantization"
- },
- "AfdSignaling": {
- "shape": "AfdSignaling",
- "locationName": "afdSignaling"
+ "Alignment": {
+ "shape": "DvbSubDestinationAlignment",
+ "locationName": "alignment"
},
- "Bitrate": {
- "shape": "__integerMin1000",
- "locationName": "bitrate"
+ "BackgroundColor": {
+ "shape": "DvbSubDestinationBackgroundColor",
+ "locationName": "backgroundColor"
},
- "BufFillPct": {
- "shape": "__integerMin0Max100",
- "locationName": "bufFillPct"
+ "BackgroundOpacity": {
+ "shape": "__integerMin0Max255",
+ "locationName": "backgroundOpacity"
},
- "BufSize": {
- "shape": "__integerMin0",
- "locationName": "bufSize"
+ "Font": {
+ "shape": "InputLocation",
+ "locationName": "font"
},
- "ColorMetadata": {
- "shape": "H264ColorMetadata",
- "locationName": "colorMetadata"
+ "FontColor": {
+ "shape": "DvbSubDestinationFontColor",
+ "locationName": "fontColor"
},
- "ColorSpaceSettings": {
- "shape": "H264ColorSpaceSettings",
- "locationName": "colorSpaceSettings"
+ "FontOpacity": {
+ "shape": "__integerMin0Max255",
+ "locationName": "fontOpacity"
},
- "EntropyEncoding": {
- "shape": "H264EntropyEncoding",
- "locationName": "entropyEncoding"
+ "FontResolution": {
+ "shape": "__integerMin96Max600",
+ "locationName": "fontResolution"
},
- "FilterSettings": {
- "shape": "H264FilterSettings",
- "locationName": "filterSettings"
+ "FontSize": {
+ "shape": "__string",
+ "locationName": "fontSize"
},
- "FixedAfd": {
- "shape": "FixedAfd",
- "locationName": "fixedAfd"
+ "OutlineColor": {
+ "shape": "DvbSubDestinationOutlineColor",
+ "locationName": "outlineColor"
},
- "FlickerAq": {
- "shape": "H264FlickerAq",
- "locationName": "flickerAq"
+ "OutlineSize": {
+ "shape": "__integerMin0Max10",
+ "locationName": "outlineSize"
},
- "ForceFieldPictures": {
- "shape": "H264ForceFieldPictures",
- "locationName": "forceFieldPictures"
+ "ShadowColor": {
+ "shape": "DvbSubDestinationShadowColor",
+ "locationName": "shadowColor"
},
- "FramerateControl": {
- "shape": "H264FramerateControl",
- "locationName": "framerateControl"
+ "ShadowOpacity": {
+ "shape": "__integerMin0Max255",
+ "locationName": "shadowOpacity"
},
- "FramerateDenominator": {
- "shape": "__integerMin1",
- "locationName": "framerateDenominator"
+ "ShadowXOffset": {
+ "shape": "__integer",
+ "locationName": "shadowXOffset"
},
- "FramerateNumerator": {
- "shape": "__integerMin1",
- "locationName": "framerateNumerator"
+ "ShadowYOffset": {
+ "shape": "__integer",
+ "locationName": "shadowYOffset"
},
- "GopBReference": {
- "shape": "H264GopBReference",
- "locationName": "gopBReference"
+ "TeletextGridControl": {
+ "shape": "DvbSubDestinationTeletextGridControl",
+ "locationName": "teletextGridControl"
},
- "GopClosedCadence": {
+ "XPosition": {
"shape": "__integerMin0",
- "locationName": "gopClosedCadence"
+ "locationName": "xPosition"
},
- "GopNumBFrames": {
- "shape": "__integerMin0Max7",
- "locationName": "gopNumBFrames"
- },
- "GopSize": {
- "shape": "__double",
- "locationName": "gopSize"
- },
- "GopSizeUnits": {
- "shape": "H264GopSizeUnits",
- "locationName": "gopSizeUnits"
- },
- "Level": {
- "shape": "H264Level",
- "locationName": "level"
- },
- "LookAheadRateControl": {
- "shape": "H264LookAheadRateControl",
- "locationName": "lookAheadRateControl"
- },
- "MaxBitrate": {
- "shape": "__integerMin1000",
- "locationName": "maxBitrate"
- },
- "MinIInterval": {
- "shape": "__integerMin0Max30",
- "locationName": "minIInterval"
- },
- "NumRefFrames": {
- "shape": "__integerMin1Max6",
- "locationName": "numRefFrames"
- },
- "ParControl": {
- "shape": "H264ParControl",
- "locationName": "parControl"
- },
- "ParDenominator": {
- "shape": "__integerMin1",
- "locationName": "parDenominator"
- },
- "ParNumerator": {
- "shape": "__integerMin1",
- "locationName": "parNumerator"
- },
- "Profile": {
- "shape": "H264Profile",
- "locationName": "profile"
- },
- "QualityLevel": {
- "shape": "H264QualityLevel",
- "locationName": "qualityLevel"
- },
- "QvbrQualityLevel": {
- "shape": "__integerMin1Max10",
- "locationName": "qvbrQualityLevel"
- },
- "RateControlMode": {
- "shape": "H264RateControlMode",
- "locationName": "rateControlMode"
- },
- "ScanType": {
- "shape": "H264ScanType",
- "locationName": "scanType"
- },
- "SceneChangeDetect": {
- "shape": "H264SceneChangeDetect",
- "locationName": "sceneChangeDetect"
- },
- "Slices": {
- "shape": "__integerMin1Max32",
- "locationName": "slices"
- },
- "Softness": {
- "shape": "__integerMin0Max128",
- "locationName": "softness"
- },
- "SpatialAq": {
- "shape": "H264SpatialAq",
- "locationName": "spatialAq"
- },
- "SubgopLength": {
- "shape": "H264SubGopLength",
- "locationName": "subgopLength"
- },
- "Syntax": {
- "shape": "H264Syntax",
- "locationName": "syntax"
- },
- "TemporalAq": {
- "shape": "H264TemporalAq",
- "locationName": "temporalAq"
- },
- "TimecodeInsertion": {
- "shape": "H264TimecodeInsertionBehavior",
- "locationName": "timecodeInsertion"
- },
- "TimecodeBurninSettings": {
- "shape": "TimecodeBurninSettings",
- "locationName": "timecodeBurninSettings"
- },
- "MinQp": {
- "shape": "__integerMin1Max51",
- "locationName": "minQp"
+ "YPosition": {
+ "shape": "__integerMin0",
+ "locationName": "yPosition"
}
}
},
- "H264SpatialAq": {
+ "DvbSubDestinationShadowColor": {
"type": "string",
"enum": [
- "DISABLED",
- "ENABLED"
+ "BLACK",
+ "NONE",
+ "WHITE"
]
},
- "H264SubGopLength": {
+ "DvbSubDestinationTeletextGridControl": {
"type": "string",
"enum": [
- "DYNAMIC",
- "FIXED"
+ "FIXED",
+ "SCALED"
]
},
- "H264Syntax": {
+ "DvbSubOcrLanguage": {
"type": "string",
"enum": [
- "DEFAULT",
- "RP2027"
+ "DEU",
+ "ENG",
+ "FRA",
+ "NLD",
+ "POR",
+ "SPA"
]
},
- "H264TemporalAq": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
+ "DvbSubSourceSettings": {
+ "type": "structure",
+ "members": {
+ "OcrLanguage": {
+ "shape": "DvbSubOcrLanguage",
+ "locationName": "ocrLanguage"
+ },
+ "Pid": {
+ "shape": "__integerMin1",
+ "locationName": "pid"
+ }
+ }
},
- "H264TimecodeInsertionBehavior": {
- "type": "string",
- "enum": [
- "DISABLED",
- "PIC_TIMING_SEI"
- ]
+ "DvbTdtSettings": {
+ "type": "structure",
+ "members": {
+ "RepInterval": {
+ "shape": "__integerMin1000Max30000",
+ "locationName": "repInterval"
+ }
+ }
},
- "H265AdaptiveQuantization": {
+ "Eac3AtmosCodingMode": {
"type": "string",
"enum": [
- "AUTO",
- "HIGH",
- "HIGHER",
- "LOW",
- "MAX",
- "MEDIUM",
- "OFF"
+ "CODING_MODE_5_1_4",
+ "CODING_MODE_7_1_4",
+ "CODING_MODE_9_1_6"
]
},
- "H265AlternativeTransferFunction": {
+ "Eac3AtmosDrcLine": {
"type": "string",
"enum": [
- "INSERT",
- "OMIT"
+ "FILM_LIGHT",
+ "FILM_STANDARD",
+ "MUSIC_LIGHT",
+ "MUSIC_STANDARD",
+ "NONE",
+ "SPEECH"
]
},
- "H265ColorMetadata": {
+ "Eac3AtmosDrcRf": {
"type": "string",
"enum": [
- "IGNORE",
- "INSERT"
+ "FILM_LIGHT",
+ "FILM_STANDARD",
+ "MUSIC_LIGHT",
+ "MUSIC_STANDARD",
+ "NONE",
+ "SPEECH"
]
},
- "H265ColorSpaceSettings": {
+ "Eac3AtmosSettings": {
"type": "structure",
"members": {
- "ColorSpacePassthroughSettings": {
- "shape": "ColorSpacePassthroughSettings",
- "locationName": "colorSpacePassthroughSettings"
+ "Bitrate": {
+ "shape": "__double",
+ "locationName": "bitrate"
},
- "DolbyVision81Settings": {
- "shape": "DolbyVision81Settings",
- "locationName": "dolbyVision81Settings"
+ "CodingMode": {
+ "shape": "Eac3AtmosCodingMode",
+ "locationName": "codingMode"
},
- "Hdr10Settings": {
- "shape": "Hdr10Settings",
- "locationName": "hdr10Settings"
+ "Dialnorm": {
+ "shape": "__integerMin1Max31",
+ "locationName": "dialnorm"
},
- "Rec601Settings": {
- "shape": "Rec601Settings",
- "locationName": "rec601Settings"
+ "DrcLine": {
+ "shape": "Eac3AtmosDrcLine",
+ "locationName": "drcLine"
},
- "Rec709Settings": {
- "shape": "Rec709Settings",
- "locationName": "rec709Settings"
- }
- }
- },
- "H265FilterSettings": {
- "type": "structure",
- "members": {
- "TemporalFilterSettings": {
- "shape": "TemporalFilterSettings",
- "locationName": "temporalFilterSettings"
+ "DrcRf": {
+ "shape": "Eac3AtmosDrcRf",
+ "locationName": "drcRf"
+ },
+ "HeightTrim": {
+ "shape": "__double",
+ "locationName": "heightTrim"
+ },
+ "SurroundTrim": {
+ "shape": "__double",
+ "locationName": "surroundTrim"
}
}
},
- "H265FlickerAq": {
+ "Eac3AttenuationControl": {
"type": "string",
"enum": [
- "DISABLED",
- "ENABLED"
+ "ATTENUATE_3_DB",
+ "NONE"
]
},
- "H265GopSizeUnits": {
+ "Eac3BitstreamMode": {
"type": "string",
"enum": [
- "FRAMES",
- "SECONDS"
+ "COMMENTARY",
+ "COMPLETE_MAIN",
+ "EMERGENCY",
+ "HEARING_IMPAIRED",
+ "VISUALLY_IMPAIRED"
]
},
- "H265Level": {
+ "Eac3CodingMode": {
"type": "string",
"enum": [
- "H265_LEVEL_1",
- "H265_LEVEL_2",
- "H265_LEVEL_2_1",
- "H265_LEVEL_3",
- "H265_LEVEL_3_1",
- "H265_LEVEL_4",
- "H265_LEVEL_4_1",
- "H265_LEVEL_5",
- "H265_LEVEL_5_1",
- "H265_LEVEL_5_2",
- "H265_LEVEL_6",
- "H265_LEVEL_6_1",
- "H265_LEVEL_6_2",
- "H265_LEVEL_AUTO"
+ "CODING_MODE_1_0",
+ "CODING_MODE_2_0",
+ "CODING_MODE_3_2"
]
},
- "H265LookAheadRateControl": {
+ "Eac3DcFilter": {
"type": "string",
"enum": [
- "HIGH",
- "LOW",
- "MEDIUM"
+ "DISABLED",
+ "ENABLED"
]
},
- "H265Profile": {
+ "Eac3DrcLine": {
"type": "string",
"enum": [
- "MAIN",
- "MAIN_10BIT"
+ "FILM_LIGHT",
+ "FILM_STANDARD",
+ "MUSIC_LIGHT",
+ "MUSIC_STANDARD",
+ "NONE",
+ "SPEECH"
]
},
- "H265RateControlMode": {
+ "Eac3DrcRf": {
"type": "string",
"enum": [
- "CBR",
- "MULTIPLEX",
- "QVBR"
+ "FILM_LIGHT",
+ "FILM_STANDARD",
+ "MUSIC_LIGHT",
+ "MUSIC_STANDARD",
+ "NONE",
+ "SPEECH"
]
},
- "H265ScanType": {
+ "Eac3LfeControl": {
"type": "string",
"enum": [
- "INTERLACED",
- "PROGRESSIVE"
+ "LFE",
+ "NO_LFE"
]
},
- "H265SceneChangeDetect": {
+ "Eac3LfeFilter": {
"type": "string",
"enum": [
"DISABLED",
"ENABLED"
]
},
- "H265Settings": {
+ "Eac3MetadataControl": {
+ "type": "string",
+ "enum": [
+ "FOLLOW_INPUT",
+ "USE_CONFIGURED"
+ ]
+ },
+ "Eac3PassthroughControl": {
+ "type": "string",
+ "enum": [
+ "NO_PASSTHROUGH",
+ "WHEN_POSSIBLE"
+ ]
+ },
+ "Eac3PhaseControl": {
+ "type": "string",
+ "enum": [
+ "NO_SHIFT",
+ "SHIFT_90_DEGREES"
+ ]
+ },
+ "Eac3Settings": {
"type": "structure",
"members": {
- "AdaptiveQuantization": {
- "shape": "H265AdaptiveQuantization",
- "locationName": "adaptiveQuantization"
- },
- "AfdSignaling": {
- "shape": "AfdSignaling",
- "locationName": "afdSignaling"
- },
- "AlternativeTransferFunction": {
- "shape": "H265AlternativeTransferFunction",
- "locationName": "alternativeTransferFunction"
+ "AttenuationControl": {
+ "shape": "Eac3AttenuationControl",
+ "locationName": "attenuationControl"
},
"Bitrate": {
- "shape": "__integerMin100000Max40000000",
+ "shape": "__double",
"locationName": "bitrate"
},
- "BufSize": {
- "shape": "__integerMin100000Max80000000",
- "locationName": "bufSize"
- },
- "ColorMetadata": {
- "shape": "H265ColorMetadata",
- "locationName": "colorMetadata"
+ "BitstreamMode": {
+ "shape": "Eac3BitstreamMode",
+ "locationName": "bitstreamMode"
},
- "ColorSpaceSettings": {
- "shape": "H265ColorSpaceSettings",
- "locationName": "colorSpaceSettings"
+ "CodingMode": {
+ "shape": "Eac3CodingMode",
+ "locationName": "codingMode"
},
- "FilterSettings": {
- "shape": "H265FilterSettings",
- "locationName": "filterSettings"
+ "DcFilter": {
+ "shape": "Eac3DcFilter",
+ "locationName": "dcFilter"
},
- "FixedAfd": {
- "shape": "FixedAfd",
- "locationName": "fixedAfd"
+ "Dialnorm": {
+ "shape": "__integerMin1Max31",
+ "locationName": "dialnorm"
},
- "FlickerAq": {
- "shape": "H265FlickerAq",
- "locationName": "flickerAq"
+ "DrcLine": {
+ "shape": "Eac3DrcLine",
+ "locationName": "drcLine"
},
- "FramerateDenominator": {
- "shape": "__integerMin1Max3003",
- "locationName": "framerateDenominator"
+ "DrcRf": {
+ "shape": "Eac3DrcRf",
+ "locationName": "drcRf"
},
- "FramerateNumerator": {
- "shape": "__integerMin1",
- "locationName": "framerateNumerator"
+ "LfeControl": {
+ "shape": "Eac3LfeControl",
+ "locationName": "lfeControl"
},
- "GopClosedCadence": {
- "shape": "__integerMin0",
- "locationName": "gopClosedCadence"
+ "LfeFilter": {
+ "shape": "Eac3LfeFilter",
+ "locationName": "lfeFilter"
},
- "GopSize": {
+ "LoRoCenterMixLevel": {
"shape": "__double",
- "locationName": "gopSize"
- },
- "GopSizeUnits": {
- "shape": "H265GopSizeUnits",
- "locationName": "gopSizeUnits"
+ "locationName": "loRoCenterMixLevel"
},
- "Level": {
- "shape": "H265Level",
- "locationName": "level"
+ "LoRoSurroundMixLevel": {
+ "shape": "__double",
+ "locationName": "loRoSurroundMixLevel"
},
- "LookAheadRateControl": {
- "shape": "H265LookAheadRateControl",
- "locationName": "lookAheadRateControl"
+ "LtRtCenterMixLevel": {
+ "shape": "__double",
+ "locationName": "ltRtCenterMixLevel"
},
- "MaxBitrate": {
- "shape": "__integerMin100000Max40000000",
- "locationName": "maxBitrate"
+ "LtRtSurroundMixLevel": {
+ "shape": "__double",
+ "locationName": "ltRtSurroundMixLevel"
},
- "MinIInterval": {
- "shape": "__integerMin0Max30",
- "locationName": "minIInterval"
+ "MetadataControl": {
+ "shape": "Eac3MetadataControl",
+ "locationName": "metadataControl"
},
- "ParDenominator": {
- "shape": "__integerMin1",
- "locationName": "parDenominator"
+ "PassthroughControl": {
+ "shape": "Eac3PassthroughControl",
+ "locationName": "passthroughControl"
},
- "ParNumerator": {
- "shape": "__integerMin1",
- "locationName": "parNumerator"
+ "PhaseControl": {
+ "shape": "Eac3PhaseControl",
+ "locationName": "phaseControl"
},
- "Profile": {
- "shape": "H265Profile",
- "locationName": "profile"
+ "StereoDownmix": {
+ "shape": "Eac3StereoDownmix",
+ "locationName": "stereoDownmix"
},
- "QvbrQualityLevel": {
- "shape": "__integerMin1Max10",
- "locationName": "qvbrQualityLevel"
+ "SurroundExMode": {
+ "shape": "Eac3SurroundExMode",
+ "locationName": "surroundExMode"
},
- "RateControlMode": {
- "shape": "H265RateControlMode",
- "locationName": "rateControlMode"
+ "SurroundMode": {
+ "shape": "Eac3SurroundMode",
+ "locationName": "surroundMode"
+ }
+ }
+ },
+ "Eac3StereoDownmix": {
+ "type": "string",
+ "enum": [
+ "DPL2",
+ "LO_RO",
+ "LT_RT",
+ "NOT_INDICATED"
+ ]
+ },
+ "Eac3SurroundExMode": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED",
+ "NOT_INDICATED"
+ ]
+ },
+ "Eac3SurroundMode": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED",
+ "NOT_INDICATED"
+ ]
+ },
+ "EbuTtDDestinationSettings": {
+ "type": "structure",
+ "members": {
+ "CopyrightHolder": {
+ "shape": "__stringMax1000",
+ "locationName": "copyrightHolder"
},
- "ScanType": {
- "shape": "H265ScanType",
- "locationName": "scanType"
+ "FillLineGap": {
+ "shape": "EbuTtDFillLineGapControl",
+ "locationName": "fillLineGap"
},
- "SceneChangeDetect": {
- "shape": "H265SceneChangeDetect",
- "locationName": "sceneChangeDetect"
+ "FontFamily": {
+ "shape": "__string",
+ "locationName": "fontFamily"
},
- "Slices": {
- "shape": "__integerMin1Max16",
- "locationName": "slices"
- },
- "Tier": {
- "shape": "H265Tier",
- "locationName": "tier"
- },
- "TimecodeInsertion": {
- "shape": "H265TimecodeInsertionBehavior",
- "locationName": "timecodeInsertion"
- },
- "TimecodeBurninSettings": {
- "shape": "TimecodeBurninSettings",
- "locationName": "timecodeBurninSettings"
- },
- "MvOverPictureBoundaries": {
- "shape": "H265MvOverPictureBoundaries",
- "locationName": "mvOverPictureBoundaries"
- },
- "MvTemporalPredictor": {
- "shape": "H265MvTemporalPredictor",
- "locationName": "mvTemporalPredictor"
- },
- "TileHeight": {
- "shape": "__integerMin64Max2160",
- "locationName": "tileHeight"
- },
- "TilePadding": {
- "shape": "H265TilePadding",
- "locationName": "tilePadding"
- },
- "TileWidth": {
- "shape": "__integerMin256Max3840",
- "locationName": "tileWidth"
- },
- "TreeblockSize": {
- "shape": "H265TreeblockSize",
- "locationName": "treeblockSize"
- },
- "MinQp": {
- "shape": "__integerMin1Max51",
- "locationName": "minQp"
+ "StyleControl": {
+ "shape": "EbuTtDDestinationStyleControl",
+ "locationName": "styleControl"
}
- },
- "required": [
- "FramerateNumerator",
- "FramerateDenominator"
- ]
+ }
},
- "H265Tier": {
+ "EbuTtDDestinationStyleControl": {
"type": "string",
"enum": [
- "HIGH",
- "MAIN"
+ "EXCLUDE",
+ "INCLUDE"
]
},
- "H265TimecodeInsertionBehavior": {
+ "EbuTtDFillLineGapControl": {
"type": "string",
"enum": [
"DISABLED",
- "PIC_TIMING_SEI"
- ]
- },
- "Hdr10Settings": {
- "type": "structure",
- "members": {
- "MaxCll": {
- "shape": "__integerMin0Max32768",
- "locationName": "maxCll"
- },
- "MaxFall": {
- "shape": "__integerMin0Max32768",
- "locationName": "maxFall"
- }
- }
- },
- "HlsAdMarkers": {
- "type": "string",
- "enum": [
- "ADOBE",
- "ELEMENTAL",
- "ELEMENTAL_SCTE35"
+ "ENABLED"
]
},
- "HlsAkamaiHttpTransferMode": {
+ "EmbeddedConvert608To708": {
"type": "string",
"enum": [
- "CHUNKED",
- "NON_CHUNKED"
+ "DISABLED",
+ "UPCONVERT"
]
},
- "HlsAkamaiSettings": {
+ "EmbeddedDestinationSettings": {
"type": "structure",
"members": {
- "ConnectionRetryInterval": {
- "shape": "__integerMin0",
- "locationName": "connectionRetryInterval"
- },
- "FilecacheDuration": {
- "shape": "__integerMin0Max600",
- "locationName": "filecacheDuration"
- },
- "HttpTransferMode": {
- "shape": "HlsAkamaiHttpTransferMode",
- "locationName": "httpTransferMode"
- },
- "NumRetries": {
- "shape": "__integerMin0",
- "locationName": "numRetries"
- },
- "RestartDelay": {
- "shape": "__integerMin0Max15",
- "locationName": "restartDelay"
- },
- "Salt": {
- "shape": "__string",
- "locationName": "salt"
- },
- "Token": {
- "shape": "__string",
- "locationName": "token"
- }
}
},
- "HlsBasicPutSettings": {
+ "EmbeddedPlusScte20DestinationSettings": {
"type": "structure",
"members": {
- "ConnectionRetryInterval": {
- "shape": "__integerMin0",
- "locationName": "connectionRetryInterval"
- },
- "FilecacheDuration": {
- "shape": "__integerMin0Max600",
- "locationName": "filecacheDuration"
- },
- "NumRetries": {
- "shape": "__integerMin0",
- "locationName": "numRetries"
- },
- "RestartDelay": {
- "shape": "__integerMin0Max15",
- "locationName": "restartDelay"
- }
}
},
- "HlsCaptionLanguageSetting": {
+ "EmbeddedScte20Detection": {
"type": "string",
"enum": [
- "INSERT",
- "NONE",
- "OMIT"
+ "AUTO",
+ "OFF"
]
},
- "HlsCdnSettings": {
+ "EmbeddedSourceSettings": {
"type": "structure",
"members": {
- "HlsAkamaiSettings": {
- "shape": "HlsAkamaiSettings",
- "locationName": "hlsAkamaiSettings"
- },
- "HlsBasicPutSettings": {
- "shape": "HlsBasicPutSettings",
- "locationName": "hlsBasicPutSettings"
+ "Convert608To708": {
+ "shape": "EmbeddedConvert608To708",
+ "locationName": "convert608To708"
},
- "HlsMediaStoreSettings": {
- "shape": "HlsMediaStoreSettings",
- "locationName": "hlsMediaStoreSettings"
+ "Scte20Detection": {
+ "shape": "EmbeddedScte20Detection",
+ "locationName": "scte20Detection"
},
- "HlsS3Settings": {
- "shape": "HlsS3Settings",
- "locationName": "hlsS3Settings"
+ "Source608ChannelNumber": {
+ "shape": "__integerMin1Max4",
+ "locationName": "source608ChannelNumber"
},
- "HlsWebdavSettings": {
- "shape": "HlsWebdavSettings",
- "locationName": "hlsWebdavSettings"
+ "Source608TrackNumber": {
+ "shape": "__integerMin1Max5",
+ "locationName": "source608TrackNumber"
}
}
},
- "HlsClientCache": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "HlsCodecSpecification": {
- "type": "string",
- "enum": [
- "RFC_4281",
- "RFC_6381"
- ]
- },
- "HlsDirectoryStructure": {
- "type": "string",
- "enum": [
- "SINGLE_DIRECTORY",
- "SUBDIRECTORY_PER_STREAM"
- ]
- },
- "HlsDiscontinuityTags": {
- "type": "string",
- "enum": [
- "INSERT",
- "NEVER_INSERT"
- ]
- },
- "HlsEncryptionType": {
- "type": "string",
- "enum": [
- "AES128",
- "SAMPLE_AES"
- ]
+ "Empty": {
+ "type": "structure",
+ "members": {
+ }
},
- "HlsGroupSettings": {
+ "EncoderSettings": {
"type": "structure",
"members": {
- "AdMarkers": {
- "shape": "__listOfHlsAdMarkers",
- "locationName": "adMarkers"
+ "AudioDescriptions": {
+ "shape": "__listOfAudioDescription",
+ "locationName": "audioDescriptions"
},
- "BaseUrlContent": {
- "shape": "__string",
- "locationName": "baseUrlContent"
+ "AvailBlanking": {
+ "shape": "AvailBlanking",
+ "locationName": "availBlanking"
},
- "BaseUrlContent1": {
- "shape": "__string",
- "locationName": "baseUrlContent1"
+ "AvailConfiguration": {
+ "shape": "AvailConfiguration",
+ "locationName": "availConfiguration"
},
- "BaseUrlManifest": {
- "shape": "__string",
- "locationName": "baseUrlManifest"
+ "BlackoutSlate": {
+ "shape": "BlackoutSlate",
+ "locationName": "blackoutSlate"
},
- "BaseUrlManifest1": {
- "shape": "__string",
- "locationName": "baseUrlManifest1"
+ "CaptionDescriptions": {
+ "shape": "__listOfCaptionDescription",
+ "locationName": "captionDescriptions"
},
- "CaptionLanguageMappings": {
- "shape": "__listOfCaptionLanguageMapping",
- "locationName": "captionLanguageMappings"
+ "FeatureActivations": {
+ "shape": "FeatureActivations",
+ "locationName": "featureActivations"
},
- "CaptionLanguageSetting": {
- "shape": "HlsCaptionLanguageSetting",
- "locationName": "captionLanguageSetting"
+ "GlobalConfiguration": {
+ "shape": "GlobalConfiguration",
+ "locationName": "globalConfiguration"
},
- "ClientCache": {
- "shape": "HlsClientCache",
- "locationName": "clientCache"
- },
- "CodecSpecification": {
- "shape": "HlsCodecSpecification",
- "locationName": "codecSpecification"
- },
- "ConstantIv": {
- "shape": "__stringMin32Max32",
- "locationName": "constantIv"
- },
- "Destination": {
- "shape": "OutputLocationRef",
- "locationName": "destination"
- },
- "DirectoryStructure": {
- "shape": "HlsDirectoryStructure",
- "locationName": "directoryStructure"
- },
- "DiscontinuityTags": {
- "shape": "HlsDiscontinuityTags",
- "locationName": "discontinuityTags"
- },
- "EncryptionType": {
- "shape": "HlsEncryptionType",
- "locationName": "encryptionType"
- },
- "HlsCdnSettings": {
- "shape": "HlsCdnSettings",
- "locationName": "hlsCdnSettings"
- },
- "HlsId3SegmentTagging": {
- "shape": "HlsId3SegmentTaggingState",
- "locationName": "hlsId3SegmentTagging"
- },
- "IFrameOnlyPlaylists": {
- "shape": "IFrameOnlyPlaylistType",
- "locationName": "iFrameOnlyPlaylists"
- },
- "IncompleteSegmentBehavior": {
- "shape": "HlsIncompleteSegmentBehavior",
- "locationName": "incompleteSegmentBehavior"
+ "MotionGraphicsConfiguration": {
+ "shape": "MotionGraphicsConfiguration",
+ "locationName": "motionGraphicsConfiguration"
},
- "IndexNSegments": {
- "shape": "__integerMin3",
- "locationName": "indexNSegments"
+ "NielsenConfiguration": {
+ "shape": "NielsenConfiguration",
+ "locationName": "nielsenConfiguration"
},
- "InputLossAction": {
- "shape": "InputLossActionForHlsOut",
- "locationName": "inputLossAction"
+ "OutputGroups": {
+ "shape": "__listOfOutputGroup",
+ "locationName": "outputGroups"
},
- "IvInManifest": {
- "shape": "HlsIvInManifest",
- "locationName": "ivInManifest"
+ "TimecodeConfig": {
+ "shape": "TimecodeConfig",
+ "locationName": "timecodeConfig"
},
- "IvSource": {
- "shape": "HlsIvSource",
- "locationName": "ivSource"
+ "VideoDescriptions": {
+ "shape": "__listOfVideoDescription",
+ "locationName": "videoDescriptions"
},
- "KeepSegments": {
- "shape": "__integerMin1",
- "locationName": "keepSegments"
+ "ThumbnailConfiguration": {
+ "shape": "ThumbnailConfiguration",
+ "locationName": "thumbnailConfiguration"
},
- "KeyFormat": {
+ "ColorCorrectionSettings": {
+ "shape": "ColorCorrectionSettings",
+ "locationName": "colorCorrectionSettings"
+ }
+ },
+ "required": [
+ "VideoDescriptions",
+ "AudioDescriptions",
+ "OutputGroups",
+ "TimecodeConfig"
+ ]
+ },
+ "EpochLockingSettings": {
+ "type": "structure",
+ "members": {
+ "CustomEpoch": {
"shape": "__string",
- "locationName": "keyFormat"
+ "locationName": "customEpoch"
},
- "KeyFormatVersions": {
+ "JamSyncTime": {
"shape": "__string",
- "locationName": "keyFormatVersions"
- },
- "KeyProviderSettings": {
- "shape": "KeyProviderSettings",
- "locationName": "keyProviderSettings"
- },
- "ManifestCompression": {
- "shape": "HlsManifestCompression",
- "locationName": "manifestCompression"
- },
- "ManifestDurationFormat": {
- "shape": "HlsManifestDurationFormat",
- "locationName": "manifestDurationFormat"
- },
- "MinSegmentLength": {
- "shape": "__integerMin0",
- "locationName": "minSegmentLength"
- },
- "Mode": {
- "shape": "HlsMode",
- "locationName": "mode"
- },
- "OutputSelection": {
- "shape": "HlsOutputSelection",
- "locationName": "outputSelection"
- },
- "ProgramDateTime": {
- "shape": "HlsProgramDateTime",
- "locationName": "programDateTime"
- },
- "ProgramDateTimeClock": {
- "shape": "HlsProgramDateTimeClock",
- "locationName": "programDateTimeClock"
- },
- "ProgramDateTimePeriod": {
- "shape": "__integerMin0Max3600",
- "locationName": "programDateTimePeriod"
- },
- "RedundantManifest": {
- "shape": "HlsRedundantManifest",
- "locationName": "redundantManifest"
- },
- "SegmentLength": {
- "shape": "__integerMin1",
- "locationName": "segmentLength"
- },
- "SegmentationMode": {
- "shape": "HlsSegmentationMode",
- "locationName": "segmentationMode"
- },
- "SegmentsPerSubdirectory": {
- "shape": "__integerMin1",
- "locationName": "segmentsPerSubdirectory"
+ "locationName": "jamSyncTime"
+ }
+ }
+ },
+ "Esam": {
+ "type": "structure",
+ "members": {
+ "AcquisitionPointId": {
+ "shape": "__stringMax256",
+ "locationName": "acquisitionPointId"
},
- "StreamInfResolution": {
- "shape": "HlsStreamInfResolution",
- "locationName": "streamInfResolution"
+ "AdAvailOffset": {
+ "shape": "__integerMinNegative1000Max1000",
+ "locationName": "adAvailOffset"
},
- "TimedMetadataId3Frame": {
- "shape": "HlsTimedMetadataId3Frame",
- "locationName": "timedMetadataId3Frame"
+ "PasswordParam": {
+ "shape": "__string",
+ "locationName": "passwordParam"
},
- "TimedMetadataId3Period": {
- "shape": "__integerMin0",
- "locationName": "timedMetadataId3Period"
+ "PoisEndpoint": {
+ "shape": "__stringMax2048",
+ "locationName": "poisEndpoint"
},
- "TimestampDeltaMilliseconds": {
- "shape": "__integerMin0",
- "locationName": "timestampDeltaMilliseconds"
+ "Username": {
+ "shape": "__string",
+ "locationName": "username"
},
- "TsFileMode": {
- "shape": "HlsTsFileMode",
- "locationName": "tsFileMode"
+ "ZoneIdentity": {
+ "shape": "__stringMax256",
+ "locationName": "zoneIdentity"
}
},
"required": [
- "Destination"
+ "AcquisitionPointId",
+ "PoisEndpoint"
]
},
- "HlsH265PackagingType": {
- "type": "string",
- "enum": [
- "HEV1",
- "HVC1"
- ]
+ "FailoverCondition": {
+ "type": "structure",
+ "members": {
+ "FailoverConditionSettings": {
+ "shape": "FailoverConditionSettings",
+ "locationName": "failoverConditionSettings"
+ }
+ }
},
- "HlsId3SegmentTaggingScheduleActionSettings": {
+ "FailoverConditionSettings": {
"type": "structure",
"members": {
- "Tag": {
- "shape": "__string",
- "locationName": "tag"
+ "AudioSilenceSettings": {
+ "shape": "AudioSilenceFailoverSettings",
+ "locationName": "audioSilenceSettings"
},
- "Id3": {
- "shape": "__string",
- "locationName": "id3"
+ "InputLossSettings": {
+ "shape": "InputLossFailoverSettings",
+ "locationName": "inputLossSettings"
+ },
+ "VideoBlackSettings": {
+ "shape": "VideoBlackFailoverSettings",
+ "locationName": "videoBlackSettings"
}
}
},
- "HlsId3SegmentTaggingState": {
+ "FeatureActivations": {
+ "type": "structure",
+ "members": {
+ "InputPrepareScheduleActions": {
+ "shape": "FeatureActivationsInputPrepareScheduleActions",
+ "locationName": "inputPrepareScheduleActions"
+ },
+ "OutputStaticImageOverlayScheduleActions": {
+ "shape": "FeatureActivationsOutputStaticImageOverlayScheduleActions",
+ "locationName": "outputStaticImageOverlayScheduleActions"
+ }
+ }
+ },
+ "FeatureActivationsInputPrepareScheduleActions": {
"type": "string",
"enum": [
"DISABLED",
"ENABLED"
]
},
- "HlsIncompleteSegmentBehavior": {
+ "FeatureActivationsOutputStaticImageOverlayScheduleActions": {
"type": "string",
"enum": [
- "AUTO",
- "SUPPRESS"
+ "DISABLED",
+ "ENABLED"
]
},
- "HlsInputSettings": {
+ "FecOutputIncludeFec": {
+ "type": "string",
+ "enum": [
+ "COLUMN",
+ "COLUMN_AND_ROW"
+ ]
+ },
+ "FecOutputSettings": {
"type": "structure",
"members": {
- "Bandwidth": {
- "shape": "__integerMin0",
- "locationName": "bandwidth"
- },
- "BufferSegments": {
- "shape": "__integerMin0",
- "locationName": "bufferSegments"
- },
- "Retries": {
- "shape": "__integerMin0",
- "locationName": "retries"
+ "ColumnDepth": {
+ "shape": "__integerMin4Max20",
+ "locationName": "columnDepth"
},
- "RetryInterval": {
- "shape": "__integerMin0",
- "locationName": "retryInterval"
+ "IncludeFec": {
+ "shape": "FecOutputIncludeFec",
+ "locationName": "includeFec"
},
- "Scte35Source": {
- "shape": "HlsScte35SourceType",
- "locationName": "scte35Source"
+ "RowLength": {
+ "shape": "__integerMin1Max20",
+ "locationName": "rowLength"
}
}
},
- "HlsIvInManifest": {
- "type": "string",
- "enum": [
- "EXCLUDE",
- "INCLUDE"
- ]
- },
- "HlsIvSource": {
- "type": "string",
- "enum": [
- "EXPLICIT",
- "FOLLOWS_SEGMENT_NUMBER"
- ]
- },
- "HlsManifestCompression": {
+ "FixedAfd": {
"type": "string",
"enum": [
- "GZIP",
- "NONE"
+ "AFD_0000",
+ "AFD_0010",
+ "AFD_0011",
+ "AFD_0100",
+ "AFD_1000",
+ "AFD_1001",
+ "AFD_1010",
+ "AFD_1011",
+ "AFD_1101",
+ "AFD_1110",
+ "AFD_1111"
]
},
- "HlsManifestDurationFormat": {
- "type": "string",
- "enum": [
- "FLOATING_POINT",
- "INTEGER"
+ "FixedModeScheduleActionStartSettings": {
+ "type": "structure",
+ "members": {
+ "Time": {
+ "shape": "__string",
+ "locationName": "time"
+ }
+ },
+ "required": [
+ "Time"
]
},
- "HlsMediaStoreSettings": {
+ "Fmp4HlsSettings": {
"type": "structure",
"members": {
- "ConnectionRetryInterval": {
- "shape": "__integerMin0",
- "locationName": "connectionRetryInterval"
- },
- "FilecacheDuration": {
- "shape": "__integerMin0Max600",
- "locationName": "filecacheDuration"
- },
- "MediaStoreStorageClass": {
- "shape": "HlsMediaStoreStorageClass",
- "locationName": "mediaStoreStorageClass"
+ "AudioRenditionSets": {
+ "shape": "__string",
+ "locationName": "audioRenditionSets"
},
- "NumRetries": {
- "shape": "__integerMin0",
- "locationName": "numRetries"
+ "NielsenId3Behavior": {
+ "shape": "Fmp4NielsenId3Behavior",
+ "locationName": "nielsenId3Behavior"
},
- "RestartDelay": {
- "shape": "__integerMin0Max15",
- "locationName": "restartDelay"
+ "TimedMetadataBehavior": {
+ "shape": "Fmp4TimedMetadataBehavior",
+ "locationName": "timedMetadataBehavior"
}
}
},
- "HlsMediaStoreStorageClass": {
- "type": "string",
- "enum": [
- "TEMPORAL"
- ]
- },
- "HlsMode": {
+ "Fmp4NielsenId3Behavior": {
"type": "string",
"enum": [
- "LIVE",
- "VOD"
+ "NO_PASSTHROUGH",
+ "PASSTHROUGH"
]
},
- "HlsOutputSelection": {
+ "Fmp4TimedMetadataBehavior": {
"type": "string",
"enum": [
- "MANIFESTS_AND_SEGMENTS",
- "SEGMENTS_ONLY",
- "VARIANT_MANIFESTS_AND_SEGMENTS"
+ "NO_PASSTHROUGH",
+ "PASSTHROUGH"
]
},
- "HlsOutputSettings": {
+ "FollowModeScheduleActionStartSettings": {
"type": "structure",
"members": {
- "H265PackagingType": {
- "shape": "HlsH265PackagingType",
- "locationName": "h265PackagingType"
- },
- "HlsSettings": {
- "shape": "HlsSettings",
- "locationName": "hlsSettings"
- },
- "NameModifier": {
- "shape": "__stringMin1",
- "locationName": "nameModifier"
+ "FollowPoint": {
+ "shape": "FollowPoint",
+ "locationName": "followPoint"
},
- "SegmentModifier": {
+ "ReferenceActionName": {
"shape": "__string",
- "locationName": "segmentModifier"
+ "locationName": "referenceActionName"
}
},
"required": [
- "HlsSettings"
+ "ReferenceActionName",
+ "FollowPoint"
]
},
- "HlsProgramDateTime": {
+ "FollowPoint": {
"type": "string",
"enum": [
- "EXCLUDE",
- "INCLUDE"
+ "END",
+ "START"
]
},
- "HlsProgramDateTimeClock": {
- "type": "string",
- "enum": [
- "INITIALIZE_FROM_OUTPUT_TIMECODE",
- "SYSTEM_CLOCK"
+ "ForbiddenException": {
+ "type": "structure",
+ "members": {
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
+ }
+ },
+ "exception": true,
+ "error": {
+ "httpStatusCode": 403
+ }
+ },
+ "FrameCaptureCdnSettings": {
+ "type": "structure",
+ "members": {
+ "FrameCaptureS3Settings": {
+ "shape": "FrameCaptureS3Settings",
+ "locationName": "frameCaptureS3Settings"
+ }
+ }
+ },
+ "FrameCaptureGroupSettings": {
+ "type": "structure",
+ "members": {
+ "Destination": {
+ "shape": "OutputLocationRef",
+ "locationName": "destination"
+ },
+ "FrameCaptureCdnSettings": {
+ "shape": "FrameCaptureCdnSettings",
+ "locationName": "frameCaptureCdnSettings"
+ }
+ },
+ "required": [
+ "Destination"
]
},
- "HlsRedundantManifest": {
+ "FrameCaptureHlsSettings": {
+ "type": "structure",
+ "members": {
+ }
+ },
+ "FrameCaptureIntervalUnit": {
"type": "string",
"enum": [
- "DISABLED",
- "ENABLED"
+ "MILLISECONDS",
+ "SECONDS"
]
},
- "HlsS3LogUploads": {
+ "FrameCaptureOutputSettings": {
+ "type": "structure",
+ "members": {
+ "NameModifier": {
+ "shape": "__string",
+ "locationName": "nameModifier"
+ }
+ }
+ },
+ "FrameCaptureS3LogUploads": {
"type": "string",
"enum": [
"DISABLED",
"ENABLED"
]
},
- "HlsS3Settings": {
+ "FrameCaptureS3Settings": {
"type": "structure",
"members": {
"CannedAcl": {
@@ -8932,4652 +8507,3947 @@
}
}
},
- "HlsScte35SourceType": {
- "type": "string",
- "enum": [
- "MANIFEST",
- "SEGMENTS"
- ]
- },
- "HlsSegmentationMode": {
- "type": "string",
- "enum": [
- "USE_INPUT_SEGMENTATION",
- "USE_SEGMENT_DURATION"
- ]
- },
- "HlsSettings": {
+ "FrameCaptureSettings": {
"type": "structure",
"members": {
- "AudioOnlyHlsSettings": {
- "shape": "AudioOnlyHlsSettings",
- "locationName": "audioOnlyHlsSettings"
- },
- "Fmp4HlsSettings": {
- "shape": "Fmp4HlsSettings",
- "locationName": "fmp4HlsSettings"
+ "CaptureInterval": {
+ "shape": "__integerMin1Max3600000",
+ "locationName": "captureInterval"
},
- "FrameCaptureHlsSettings": {
- "shape": "FrameCaptureHlsSettings",
- "locationName": "frameCaptureHlsSettings"
+ "CaptureIntervalUnits": {
+ "shape": "FrameCaptureIntervalUnit",
+ "locationName": "captureIntervalUnits"
},
- "StandardHlsSettings": {
- "shape": "StandardHlsSettings",
- "locationName": "standardHlsSettings"
+ "TimecodeBurninSettings": {
+ "shape": "TimecodeBurninSettings",
+ "locationName": "timecodeBurninSettings"
}
}
},
- "HlsStreamInfResolution": {
- "type": "string",
- "enum": [
- "EXCLUDE",
- "INCLUDE"
- ]
- },
- "HlsTimedMetadataId3Frame": {
- "type": "string",
- "enum": [
- "NONE",
- "PRIV",
- "TDRL"
- ]
- },
- "HlsTimedMetadataScheduleActionSettings": {
+ "GatewayTimeoutException": {
"type": "structure",
"members": {
- "Id3": {
+ "Message": {
"shape": "__string",
- "locationName": "id3"
+ "locationName": "message"
}
},
- "required": [
- "Id3"
- ]
- },
- "HlsTsFileMode": {
- "type": "string",
- "enum": [
- "SEGMENTED_FILES",
- "SINGLE_FILE"
- ]
- },
- "HlsWebdavHttpTransferMode": {
- "type": "string",
- "enum": [
- "CHUNKED",
- "NON_CHUNKED"
- ]
+ "exception": true,
+ "error": {
+ "httpStatusCode": 504
+ }
},
- "HlsWebdavSettings": {
+ "GlobalConfiguration": {
"type": "structure",
"members": {
- "ConnectionRetryInterval": {
- "shape": "__integerMin0",
- "locationName": "connectionRetryInterval"
+ "InitialAudioGain": {
+ "shape": "__integerMinNegative60Max60",
+ "locationName": "initialAudioGain"
},
- "FilecacheDuration": {
- "shape": "__integerMin0Max600",
- "locationName": "filecacheDuration"
+ "InputEndAction": {
+ "shape": "GlobalConfigurationInputEndAction",
+ "locationName": "inputEndAction"
},
- "HttpTransferMode": {
- "shape": "HlsWebdavHttpTransferMode",
- "locationName": "httpTransferMode"
+ "InputLossBehavior": {
+ "shape": "InputLossBehavior",
+ "locationName": "inputLossBehavior"
},
- "NumRetries": {
- "shape": "__integerMin0",
- "locationName": "numRetries"
+ "OutputLockingMode": {
+ "shape": "GlobalConfigurationOutputLockingMode",
+ "locationName": "outputLockingMode"
},
- "RestartDelay": {
- "shape": "__integerMin0Max15",
- "locationName": "restartDelay"
+ "OutputTimingSource": {
+ "shape": "GlobalConfigurationOutputTimingSource",
+ "locationName": "outputTimingSource"
+ },
+ "SupportLowFramerateInputs": {
+ "shape": "GlobalConfigurationLowFramerateInputs",
+ "locationName": "supportLowFramerateInputs"
+ },
+ "OutputLockingSettings": {
+ "shape": "OutputLockingSettings",
+ "locationName": "outputLockingSettings"
}
}
},
- "HtmlMotionGraphicsSettings": {
- "type": "structure",
- "members": {
- }
+ "GlobalConfigurationInputEndAction": {
+ "type": "string",
+ "enum": [
+ "NONE",
+ "SWITCH_AND_LOOP_INPUTS"
+ ]
},
- "IFrameOnlyPlaylistType": {
+ "GlobalConfigurationLowFramerateInputs": {
"type": "string",
"enum": [
"DISABLED",
- "STANDARD"
+ "ENABLED"
]
},
- "ImmediateModeScheduleActionStartSettings": {
- "type": "structure",
- "members": {
- }
+ "GlobalConfigurationOutputLockingMode": {
+ "type": "string",
+ "enum": [
+ "EPOCH_LOCKING",
+ "PIPELINE_LOCKING"
+ ]
},
- "IncludeFillerNalUnits": {
+ "GlobalConfigurationOutputTimingSource": {
+ "type": "string",
+ "enum": [
+ "INPUT_CLOCK",
+ "SYSTEM_CLOCK"
+ ]
+ },
+ "H264AdaptiveQuantization": {
"type": "string",
"enum": [
"AUTO",
- "DROP",
- "INCLUDE"
+ "HIGH",
+ "HIGHER",
+ "LOW",
+ "MAX",
+ "MEDIUM",
+ "OFF"
]
},
- "Input": {
+ "H264ColorMetadata": {
+ "type": "string",
+ "enum": [
+ "IGNORE",
+ "INSERT"
+ ]
+ },
+ "H264ColorSpaceSettings": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "AttachedChannels": {
- "shape": "__listOf__string",
- "locationName": "attachedChannels"
- },
- "Destinations": {
- "shape": "__listOfInputDestination",
- "locationName": "destinations"
- },
- "Id": {
- "shape": "__string",
- "locationName": "id"
- },
- "InputClass": {
- "shape": "InputClass",
- "locationName": "inputClass"
- },
- "InputDevices": {
- "shape": "__listOfInputDeviceSettings",
- "locationName": "inputDevices"
- },
- "InputPartnerIds": {
- "shape": "__listOf__string",
- "locationName": "inputPartnerIds"
- },
- "InputSourceType": {
- "shape": "InputSourceType",
- "locationName": "inputSourceType"
- },
- "MediaConnectFlows": {
- "shape": "__listOfMediaConnectFlow",
- "locationName": "mediaConnectFlows"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "RoleArn": {
- "shape": "__string",
- "locationName": "roleArn"
- },
- "SecurityGroups": {
- "shape": "__listOf__string",
- "locationName": "securityGroups"
- },
- "Sources": {
- "shape": "__listOfInputSource",
- "locationName": "sources"
- },
- "State": {
- "shape": "InputState",
- "locationName": "state"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "ColorSpacePassthroughSettings": {
+ "shape": "ColorSpacePassthroughSettings",
+ "locationName": "colorSpacePassthroughSettings"
},
- "Type": {
- "shape": "InputType",
- "locationName": "type"
+ "Rec601Settings": {
+ "shape": "Rec601Settings",
+ "locationName": "rec601Settings"
},
- "SrtSettings": {
- "shape": "SrtSettings",
- "locationName": "srtSettings"
+ "Rec709Settings": {
+ "shape": "Rec709Settings",
+ "locationName": "rec709Settings"
}
}
},
- "InputAttachment": {
+ "H264EntropyEncoding": {
+ "type": "string",
+ "enum": [
+ "CABAC",
+ "CAVLC"
+ ]
+ },
+ "H264FilterSettings": {
"type": "structure",
"members": {
- "AutomaticInputFailoverSettings": {
- "shape": "AutomaticInputFailoverSettings",
- "locationName": "automaticInputFailoverSettings"
- },
- "InputAttachmentName": {
- "shape": "__string",
- "locationName": "inputAttachmentName"
- },
- "InputId": {
- "shape": "__string",
- "locationName": "inputId"
+ "TemporalFilterSettings": {
+ "shape": "TemporalFilterSettings",
+ "locationName": "temporalFilterSettings"
},
- "InputSettings": {
- "shape": "InputSettings",
- "locationName": "inputSettings"
+ "BandwidthReductionFilterSettings": {
+ "shape": "BandwidthReductionFilterSettings",
+ "locationName": "bandwidthReductionFilterSettings"
}
}
},
- "InputChannelLevel": {
- "type": "structure",
- "members": {
- "Gain": {
- "shape": "__integerMinNegative60Max6",
- "locationName": "gain"
- },
- "InputChannel": {
- "shape": "__integerMin0Max15",
- "locationName": "inputChannel"
- }
- },
- "required": [
- "InputChannel",
- "Gain"
+ "H264FlickerAq": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED"
]
},
- "InputClass": {
+ "H264ForceFieldPictures": {
"type": "string",
"enum": [
- "STANDARD",
- "SINGLE_PIPELINE"
+ "DISABLED",
+ "ENABLED"
]
},
- "InputClippingSettings": {
- "type": "structure",
- "members": {
- "InputTimecodeSource": {
- "shape": "InputTimecodeSource",
- "locationName": "inputTimecodeSource"
- },
- "StartTimecode": {
- "shape": "StartTimecode",
- "locationName": "startTimecode"
- },
- "StopTimecode": {
- "shape": "StopTimecode",
- "locationName": "stopTimecode"
- }
- },
- "required": [
- "InputTimecodeSource"
- ]
- },
- "InputCodec": {
+ "H264FramerateControl": {
"type": "string",
"enum": [
- "MPEG2",
- "AVC",
- "HEVC"
+ "INITIALIZE_FROM_SOURCE",
+ "SPECIFIED"
]
},
- "InputDeblockFilter": {
+ "H264GopBReference": {
"type": "string",
"enum": [
"DISABLED",
"ENABLED"
]
},
- "InputDenoiseFilter": {
+ "H264GopSizeUnits": {
"type": "string",
"enum": [
- "DISABLED",
- "ENABLED"
+ "FRAMES",
+ "SECONDS"
]
},
- "InputDestination": {
- "type": "structure",
- "members": {
- "Ip": {
- "shape": "__string",
- "locationName": "ip"
- },
- "Port": {
- "shape": "__string",
- "locationName": "port"
- },
- "Url": {
- "shape": "__string",
- "locationName": "url"
- },
- "Vpc": {
- "shape": "InputDestinationVpc",
- "locationName": "vpc"
- }
- }
- },
- "InputDestinationRequest": {
- "type": "structure",
- "members": {
- "StreamName": {
- "shape": "__string",
- "locationName": "streamName"
- }
- }
- },
- "InputDestinationVpc": {
- "type": "structure",
- "members": {
- "AvailabilityZone": {
- "shape": "__string",
- "locationName": "availabilityZone"
- },
- "NetworkInterfaceId": {
- "shape": "__string",
- "locationName": "networkInterfaceId"
- }
- }
+ "H264Level": {
+ "type": "string",
+ "enum": [
+ "H264_LEVEL_1",
+ "H264_LEVEL_1_1",
+ "H264_LEVEL_1_2",
+ "H264_LEVEL_1_3",
+ "H264_LEVEL_2",
+ "H264_LEVEL_2_1",
+ "H264_LEVEL_2_2",
+ "H264_LEVEL_3",
+ "H264_LEVEL_3_1",
+ "H264_LEVEL_3_2",
+ "H264_LEVEL_4",
+ "H264_LEVEL_4_1",
+ "H264_LEVEL_4_2",
+ "H264_LEVEL_5",
+ "H264_LEVEL_5_1",
+ "H264_LEVEL_5_2",
+ "H264_LEVEL_AUTO"
+ ]
},
- "InputDevice": {
- "type": "structure",
- "members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "ConnectionState": {
- "shape": "InputDeviceConnectionState",
- "locationName": "connectionState"
- },
- "DeviceSettingsSyncState": {
- "shape": "DeviceSettingsSyncState",
- "locationName": "deviceSettingsSyncState"
- },
- "DeviceUpdateStatus": {
- "shape": "DeviceUpdateStatus",
- "locationName": "deviceUpdateStatus"
- },
- "HdDeviceSettings": {
- "shape": "InputDeviceHdSettings",
- "locationName": "hdDeviceSettings"
- },
- "Id": {
- "shape": "__string",
- "locationName": "id"
- },
- "MacAddress": {
- "shape": "__string",
- "locationName": "macAddress"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "NetworkSettings": {
- "shape": "InputDeviceNetworkSettings",
- "locationName": "networkSettings"
- },
- "SerialNumber": {
- "shape": "__string",
- "locationName": "serialNumber"
- },
- "Type": {
- "shape": "InputDeviceType",
- "locationName": "type"
- },
- "UhdDeviceSettings": {
- "shape": "InputDeviceUhdSettings",
- "locationName": "uhdDeviceSettings"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- },
- "AvailabilityZone": {
- "shape": "__string",
- "locationName": "availabilityZone"
- },
- "MedialiveInputArns": {
- "shape": "__listOf__string",
- "locationName": "medialiveInputArns"
- },
- "OutputType": {
- "shape": "InputDeviceOutputType",
- "locationName": "outputType"
- }
- }
+ "H264LookAheadRateControl": {
+ "type": "string",
+ "enum": [
+ "HIGH",
+ "LOW",
+ "MEDIUM"
+ ]
},
- "InputDeviceActiveInput": {
+ "H264ParControl": {
"type": "string",
"enum": [
- "HDMI",
- "SDI"
+ "INITIALIZE_FROM_SOURCE",
+ "SPECIFIED"
]
},
- "InputDeviceCodec": {
+ "H264Profile": {
"type": "string",
"enum": [
- "HEVC",
- "AVC"
+ "BASELINE",
+ "HIGH",
+ "HIGH_10BIT",
+ "HIGH_422",
+ "HIGH_422_10BIT",
+ "MAIN"
]
},
- "InputDeviceConfigurableSettings": {
- "type": "structure",
- "members": {
- "ConfiguredInput": {
- "shape": "InputDeviceConfiguredInput",
- "locationName": "configuredInput"
- },
- "MaxBitrate": {
- "shape": "__integer",
- "locationName": "maxBitrate"
- },
- "LatencyMs": {
- "shape": "__integer",
- "locationName": "latencyMs"
- },
- "Codec": {
- "shape": "InputDeviceCodec",
- "locationName": "codec"
- },
- "MediaconnectSettings": {
- "shape": "InputDeviceMediaConnectConfigurableSettings",
- "locationName": "mediaconnectSettings"
- },
- "AudioChannelPairs": {
- "shape": "__listOfInputDeviceConfigurableAudioChannelPairConfig",
- "locationName": "audioChannelPairs"
- }
- }
+ "H264QualityLevel": {
+ "type": "string",
+ "enum": [
+ "ENHANCED_QUALITY",
+ "STANDARD_QUALITY"
+ ]
},
- "InputDeviceConfigurationValidationError": {
- "type": "structure",
- "members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
- },
- "ValidationErrors": {
- "shape": "__listOfValidationError",
- "locationName": "validationErrors"
- }
- }
+ "H264RateControlMode": {
+ "type": "string",
+ "enum": [
+ "CBR",
+ "MULTIPLEX",
+ "QVBR",
+ "VBR"
+ ]
},
- "InputDeviceConfiguredInput": {
+ "H264ScanType": {
"type": "string",
"enum": [
- "AUTO",
- "HDMI",
- "SDI"
+ "INTERLACED",
+ "PROGRESSIVE"
]
},
- "InputDeviceConnectionState": {
+ "H264SceneChangeDetect": {
"type": "string",
"enum": [
- "DISCONNECTED",
- "CONNECTED"
+ "DISABLED",
+ "ENABLED"
]
},
- "InputDeviceHdSettings": {
+ "H264Settings": {
"type": "structure",
"members": {
- "ActiveInput": {
- "shape": "InputDeviceActiveInput",
- "locationName": "activeInput"
+ "AdaptiveQuantization": {
+ "shape": "H264AdaptiveQuantization",
+ "locationName": "adaptiveQuantization"
},
- "ConfiguredInput": {
- "shape": "InputDeviceConfiguredInput",
- "locationName": "configuredInput"
+ "AfdSignaling": {
+ "shape": "AfdSignaling",
+ "locationName": "afdSignaling"
},
- "DeviceState": {
- "shape": "InputDeviceState",
- "locationName": "deviceState"
+ "Bitrate": {
+ "shape": "__integerMin1000",
+ "locationName": "bitrate"
},
- "Framerate": {
+ "BufFillPct": {
+ "shape": "__integerMin0Max100",
+ "locationName": "bufFillPct"
+ },
+ "BufSize": {
+ "shape": "__integerMin0",
+ "locationName": "bufSize"
+ },
+ "ColorMetadata": {
+ "shape": "H264ColorMetadata",
+ "locationName": "colorMetadata"
+ },
+ "ColorSpaceSettings": {
+ "shape": "H264ColorSpaceSettings",
+ "locationName": "colorSpaceSettings"
+ },
+ "EntropyEncoding": {
+ "shape": "H264EntropyEncoding",
+ "locationName": "entropyEncoding"
+ },
+ "FilterSettings": {
+ "shape": "H264FilterSettings",
+ "locationName": "filterSettings"
+ },
+ "FixedAfd": {
+ "shape": "FixedAfd",
+ "locationName": "fixedAfd"
+ },
+ "FlickerAq": {
+ "shape": "H264FlickerAq",
+ "locationName": "flickerAq"
+ },
+ "ForceFieldPictures": {
+ "shape": "H264ForceFieldPictures",
+ "locationName": "forceFieldPictures"
+ },
+ "FramerateControl": {
+ "shape": "H264FramerateControl",
+ "locationName": "framerateControl"
+ },
+ "FramerateDenominator": {
+ "shape": "__integerMin1",
+ "locationName": "framerateDenominator"
+ },
+ "FramerateNumerator": {
+ "shape": "__integerMin1",
+ "locationName": "framerateNumerator"
+ },
+ "GopBReference": {
+ "shape": "H264GopBReference",
+ "locationName": "gopBReference"
+ },
+ "GopClosedCadence": {
+ "shape": "__integerMin0",
+ "locationName": "gopClosedCadence"
+ },
+ "GopNumBFrames": {
+ "shape": "__integerMin0Max7",
+ "locationName": "gopNumBFrames"
+ },
+ "GopSize": {
"shape": "__double",
- "locationName": "framerate"
+ "locationName": "gopSize"
},
- "Height": {
- "shape": "__integer",
- "locationName": "height"
+ "GopSizeUnits": {
+ "shape": "H264GopSizeUnits",
+ "locationName": "gopSizeUnits"
+ },
+ "Level": {
+ "shape": "H264Level",
+ "locationName": "level"
+ },
+ "LookAheadRateControl": {
+ "shape": "H264LookAheadRateControl",
+ "locationName": "lookAheadRateControl"
},
"MaxBitrate": {
- "shape": "__integer",
+ "shape": "__integerMin1000",
"locationName": "maxBitrate"
},
- "ScanType": {
- "shape": "InputDeviceScanType",
- "locationName": "scanType"
+ "MinIInterval": {
+ "shape": "__integerMin0Max30",
+ "locationName": "minIInterval"
},
- "Width": {
- "shape": "__integer",
- "locationName": "width"
+ "NumRefFrames": {
+ "shape": "__integerMin1Max6",
+ "locationName": "numRefFrames"
},
- "LatencyMs": {
- "shape": "__integer",
- "locationName": "latencyMs"
- }
- }
- },
- "InputDeviceIpScheme": {
- "type": "string",
- "enum": [
- "STATIC",
- "DHCP"
- ]
- },
- "InputDeviceMediaConnectConfigurableSettings": {
- "type": "structure",
- "members": {
- "FlowArn": {
- "shape": "__string",
- "locationName": "flowArn"
+ "ParControl": {
+ "shape": "H264ParControl",
+ "locationName": "parControl"
},
- "RoleArn": {
- "shape": "__string",
- "locationName": "roleArn"
+ "ParDenominator": {
+ "shape": "__integerMin1",
+ "locationName": "parDenominator"
},
- "SecretArn": {
- "shape": "__string",
- "locationName": "secretArn"
+ "ParNumerator": {
+ "shape": "__integerMin1",
+ "locationName": "parNumerator"
},
- "SourceName": {
- "shape": "__string",
- "locationName": "sourceName"
- }
- }
- },
- "InputDeviceMediaConnectSettings": {
- "type": "structure",
- "members": {
- "FlowArn": {
- "shape": "__string",
- "locationName": "flowArn"
+ "Profile": {
+ "shape": "H264Profile",
+ "locationName": "profile"
},
- "RoleArn": {
- "shape": "__string",
- "locationName": "roleArn"
+ "QualityLevel": {
+ "shape": "H264QualityLevel",
+ "locationName": "qualityLevel"
},
- "SecretArn": {
- "shape": "__string",
- "locationName": "secretArn"
+ "QvbrQualityLevel": {
+ "shape": "__integerMin1Max10",
+ "locationName": "qvbrQualityLevel"
},
- "SourceName": {
- "shape": "__string",
- "locationName": "sourceName"
- }
- }
- },
- "InputDeviceNetworkSettings": {
- "type": "structure",
- "members": {
- "DnsAddresses": {
- "shape": "__listOf__string",
- "locationName": "dnsAddresses"
+ "RateControlMode": {
+ "shape": "H264RateControlMode",
+ "locationName": "rateControlMode"
},
- "Gateway": {
- "shape": "__string",
- "locationName": "gateway"
+ "ScanType": {
+ "shape": "H264ScanType",
+ "locationName": "scanType"
},
- "IpAddress": {
- "shape": "__string",
- "locationName": "ipAddress"
+ "SceneChangeDetect": {
+ "shape": "H264SceneChangeDetect",
+ "locationName": "sceneChangeDetect"
},
- "IpScheme": {
- "shape": "InputDeviceIpScheme",
- "locationName": "ipScheme"
+ "Slices": {
+ "shape": "__integerMin1Max32",
+ "locationName": "slices"
},
- "SubnetMask": {
- "shape": "__string",
- "locationName": "subnetMask"
+ "Softness": {
+ "shape": "__integerMin0Max128",
+ "locationName": "softness"
+ },
+ "SpatialAq": {
+ "shape": "H264SpatialAq",
+ "locationName": "spatialAq"
+ },
+ "SubgopLength": {
+ "shape": "H264SubGopLength",
+ "locationName": "subgopLength"
+ },
+ "Syntax": {
+ "shape": "H264Syntax",
+ "locationName": "syntax"
+ },
+ "TemporalAq": {
+ "shape": "H264TemporalAq",
+ "locationName": "temporalAq"
+ },
+ "TimecodeInsertion": {
+ "shape": "H264TimecodeInsertionBehavior",
+ "locationName": "timecodeInsertion"
+ },
+ "TimecodeBurninSettings": {
+ "shape": "TimecodeBurninSettings",
+ "locationName": "timecodeBurninSettings"
+ },
+ "MinQp": {
+ "shape": "__integerMin1Max51",
+ "locationName": "minQp"
}
}
},
- "InputDeviceOutputType": {
+ "H264SpatialAq": {
"type": "string",
"enum": [
- "NONE",
- "MEDIALIVE_INPUT",
- "MEDIACONNECT_FLOW"
+ "DISABLED",
+ "ENABLED"
]
},
- "InputDeviceRequest": {
- "type": "structure",
- "members": {
- "Id": {
- "shape": "__string",
- "locationName": "id"
- }
- }
- },
- "InputDeviceScanType": {
+ "H264SubGopLength": {
"type": "string",
"enum": [
- "INTERLACED",
- "PROGRESSIVE"
+ "DYNAMIC",
+ "FIXED"
]
},
- "InputDeviceSettings": {
- "type": "structure",
- "members": {
- "Id": {
- "shape": "__string",
- "locationName": "id"
- }
- }
+ "H264Syntax": {
+ "type": "string",
+ "enum": [
+ "DEFAULT",
+ "RP2027"
+ ]
},
- "InputDeviceState": {
+ "H264TemporalAq": {
"type": "string",
"enum": [
- "IDLE",
- "STREAMING"
+ "DISABLED",
+ "ENABLED"
]
},
- "InputDeviceSummary": {
- "type": "structure",
- "members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "ConnectionState": {
- "shape": "InputDeviceConnectionState",
- "locationName": "connectionState"
- },
- "DeviceSettingsSyncState": {
- "shape": "DeviceSettingsSyncState",
- "locationName": "deviceSettingsSyncState"
- },
- "DeviceUpdateStatus": {
- "shape": "DeviceUpdateStatus",
- "locationName": "deviceUpdateStatus"
- },
- "HdDeviceSettings": {
- "shape": "InputDeviceHdSettings",
- "locationName": "hdDeviceSettings"
- },
- "Id": {
- "shape": "__string",
- "locationName": "id"
- },
- "MacAddress": {
- "shape": "__string",
- "locationName": "macAddress"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "NetworkSettings": {
- "shape": "InputDeviceNetworkSettings",
- "locationName": "networkSettings"
- },
- "SerialNumber": {
- "shape": "__string",
- "locationName": "serialNumber"
- },
- "Type": {
- "shape": "InputDeviceType",
- "locationName": "type"
- },
- "UhdDeviceSettings": {
- "shape": "InputDeviceUhdSettings",
- "locationName": "uhdDeviceSettings"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- },
- "AvailabilityZone": {
- "shape": "__string",
- "locationName": "availabilityZone"
- },
- "MedialiveInputArns": {
- "shape": "__listOf__string",
- "locationName": "medialiveInputArns"
- },
- "OutputType": {
- "shape": "InputDeviceOutputType",
- "locationName": "outputType"
- }
- }
+ "H264TimecodeInsertionBehavior": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "PIC_TIMING_SEI"
+ ]
},
- "InputDeviceTransferType": {
+ "H265AdaptiveQuantization": {
"type": "string",
"enum": [
- "OUTGOING",
- "INCOMING"
+ "AUTO",
+ "HIGH",
+ "HIGHER",
+ "LOW",
+ "MAX",
+ "MEDIUM",
+ "OFF"
]
},
- "InputDeviceType": {
+ "H265AlternativeTransferFunction": {
"type": "string",
"enum": [
- "HD",
- "UHD"
+ "INSERT",
+ "OMIT"
]
},
- "InputDeviceUhdSettings": {
+ "H265ColorMetadata": {
+ "type": "string",
+ "enum": [
+ "IGNORE",
+ "INSERT"
+ ]
+ },
+ "H265ColorSpaceSettings": {
"type": "structure",
"members": {
- "ActiveInput": {
- "shape": "InputDeviceActiveInput",
- "locationName": "activeInput"
- },
- "ConfiguredInput": {
- "shape": "InputDeviceConfiguredInput",
- "locationName": "configuredInput"
- },
- "DeviceState": {
- "shape": "InputDeviceState",
- "locationName": "deviceState"
- },
- "Framerate": {
- "shape": "__double",
- "locationName": "framerate"
- },
- "Height": {
- "shape": "__integer",
- "locationName": "height"
- },
- "MaxBitrate": {
- "shape": "__integer",
- "locationName": "maxBitrate"
- },
- "ScanType": {
- "shape": "InputDeviceScanType",
- "locationName": "scanType"
+ "ColorSpacePassthroughSettings": {
+ "shape": "ColorSpacePassthroughSettings",
+ "locationName": "colorSpacePassthroughSettings"
},
- "Width": {
- "shape": "__integer",
- "locationName": "width"
+ "DolbyVision81Settings": {
+ "shape": "DolbyVision81Settings",
+ "locationName": "dolbyVision81Settings"
},
- "LatencyMs": {
- "shape": "__integer",
- "locationName": "latencyMs"
+ "Hdr10Settings": {
+ "shape": "Hdr10Settings",
+ "locationName": "hdr10Settings"
},
- "Codec": {
- "shape": "InputDeviceCodec",
- "locationName": "codec"
+ "Rec601Settings": {
+ "shape": "Rec601Settings",
+ "locationName": "rec601Settings"
},
- "MediaconnectSettings": {
- "shape": "InputDeviceMediaConnectSettings",
- "locationName": "mediaconnectSettings"
+ "Rec709Settings": {
+ "shape": "Rec709Settings",
+ "locationName": "rec709Settings"
+ }
+ }
+ },
+ "H265FilterSettings": {
+ "type": "structure",
+ "members": {
+ "TemporalFilterSettings": {
+ "shape": "TemporalFilterSettings",
+ "locationName": "temporalFilterSettings"
},
- "AudioChannelPairs": {
- "shape": "__listOfInputDeviceUhdAudioChannelPairConfig",
- "locationName": "audioChannelPairs"
+ "BandwidthReductionFilterSettings": {
+ "shape": "BandwidthReductionFilterSettings",
+ "locationName": "bandwidthReductionFilterSettings"
}
}
},
- "InputFilter": {
+ "H265FlickerAq": {
"type": "string",
"enum": [
- "AUTO",
"DISABLED",
- "FORCED"
+ "ENABLED"
]
},
- "InputLocation": {
- "type": "structure",
- "members": {
- "PasswordParam": {
- "shape": "__string",
- "locationName": "passwordParam"
- },
- "Uri": {
- "shape": "__stringMax2048",
- "locationName": "uri"
- },
- "Username": {
- "shape": "__string",
- "locationName": "username"
- }
- },
- "required": [
- "Uri"
+ "H265GopSizeUnits": {
+ "type": "string",
+ "enum": [
+ "FRAMES",
+ "SECONDS"
]
},
- "InputLossActionForHlsOut": {
+ "H265Level": {
"type": "string",
"enum": [
- "EMIT_OUTPUT",
- "PAUSE_OUTPUT"
+ "H265_LEVEL_1",
+ "H265_LEVEL_2",
+ "H265_LEVEL_2_1",
+ "H265_LEVEL_3",
+ "H265_LEVEL_3_1",
+ "H265_LEVEL_4",
+ "H265_LEVEL_4_1",
+ "H265_LEVEL_5",
+ "H265_LEVEL_5_1",
+ "H265_LEVEL_5_2",
+ "H265_LEVEL_6",
+ "H265_LEVEL_6_1",
+ "H265_LEVEL_6_2",
+ "H265_LEVEL_AUTO"
]
},
- "InputLossActionForMsSmoothOut": {
+ "H265LookAheadRateControl": {
"type": "string",
"enum": [
- "EMIT_OUTPUT",
- "PAUSE_OUTPUT"
+ "HIGH",
+ "LOW",
+ "MEDIUM"
]
},
- "InputLossActionForRtmpOut": {
+ "H265Profile": {
"type": "string",
"enum": [
- "EMIT_OUTPUT",
- "PAUSE_OUTPUT"
+ "MAIN",
+ "MAIN_10BIT"
]
},
- "InputLossActionForUdpOut": {
+ "H265RateControlMode": {
"type": "string",
"enum": [
- "DROP_PROGRAM",
- "DROP_TS",
- "EMIT_PROGRAM"
+ "CBR",
+ "MULTIPLEX",
+ "QVBR"
]
},
- "InputLossBehavior": {
- "type": "structure",
- "members": {
- "BlackFrameMsec": {
- "shape": "__integerMin0Max1000000",
- "locationName": "blackFrameMsec"
- },
- "InputLossImageColor": {
- "shape": "__stringMin6Max6",
- "locationName": "inputLossImageColor"
- },
- "InputLossImageSlate": {
- "shape": "InputLocation",
- "locationName": "inputLossImageSlate"
- },
- "InputLossImageType": {
- "shape": "InputLossImageType",
- "locationName": "inputLossImageType"
- },
- "RepeatFrameMsec": {
- "shape": "__integerMin0Max1000000",
- "locationName": "repeatFrameMsec"
- }
- }
- },
- "InputLossFailoverSettings": {
- "type": "structure",
- "members": {
- "InputLossThresholdMsec": {
- "shape": "__integerMin100",
- "locationName": "inputLossThresholdMsec"
- }
- }
- },
- "InputLossImageType": {
- "type": "string",
- "enum": [
- "COLOR",
- "SLATE"
- ]
- },
- "InputMaximumBitrate": {
+ "H265ScanType": {
"type": "string",
"enum": [
- "MAX_10_MBPS",
- "MAX_20_MBPS",
- "MAX_50_MBPS"
+ "INTERLACED",
+ "PROGRESSIVE"
]
},
- "InputPreference": {
+ "H265SceneChangeDetect": {
"type": "string",
"enum": [
- "EQUAL_INPUT_PREFERENCE",
- "PRIMARY_INPUT_PREFERRED"
+ "DISABLED",
+ "ENABLED"
]
},
- "InputPrepareScheduleActionSettings": {
+ "H265Settings": {
"type": "structure",
"members": {
- "InputAttachmentNameReference": {
- "shape": "__string",
- "locationName": "inputAttachmentNameReference"
+ "AdaptiveQuantization": {
+ "shape": "H265AdaptiveQuantization",
+ "locationName": "adaptiveQuantization"
},
- "InputClippingSettings": {
- "shape": "InputClippingSettings",
- "locationName": "inputClippingSettings"
+ "AfdSignaling": {
+ "shape": "AfdSignaling",
+ "locationName": "afdSignaling"
},
- "UrlPath": {
- "shape": "__listOf__string",
- "locationName": "urlPath"
- }
- }
- },
- "InputResolution": {
- "type": "string",
- "enum": [
- "SD",
- "HD",
- "UHD"
- ]
- },
- "InputSecurityGroup": {
- "type": "structure",
- "members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
+ "AlternativeTransferFunction": {
+ "shape": "H265AlternativeTransferFunction",
+ "locationName": "alternativeTransferFunction"
},
- "Id": {
- "shape": "__string",
- "locationName": "id"
+ "Bitrate": {
+ "shape": "__integerMin100000Max40000000",
+ "locationName": "bitrate"
},
- "Inputs": {
- "shape": "__listOf__string",
- "locationName": "inputs"
+ "BufSize": {
+ "shape": "__integerMin100000Max80000000",
+ "locationName": "bufSize"
},
- "State": {
- "shape": "InputSecurityGroupState",
- "locationName": "state"
+ "ColorMetadata": {
+ "shape": "H265ColorMetadata",
+ "locationName": "colorMetadata"
},
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "ColorSpaceSettings": {
+ "shape": "H265ColorSpaceSettings",
+ "locationName": "colorSpaceSettings"
},
- "WhitelistRules": {
- "shape": "__listOfInputWhitelistRule",
- "locationName": "whitelistRules"
- }
- }
- },
- "InputSecurityGroupState": {
- "type": "string",
- "enum": [
- "IDLE",
- "IN_USE",
- "UPDATING",
- "DELETED"
- ]
- },
- "InputSecurityGroupWhitelistRequest": {
- "type": "structure",
- "members": {
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "FilterSettings": {
+ "shape": "H265FilterSettings",
+ "locationName": "filterSettings"
},
- "WhitelistRules": {
- "shape": "__listOfInputWhitelistRuleCidr",
- "locationName": "whitelistRules"
- }
- }
- },
- "InputSettings": {
- "type": "structure",
- "members": {
- "AudioSelectors": {
- "shape": "__listOfAudioSelector",
- "locationName": "audioSelectors"
+ "FixedAfd": {
+ "shape": "FixedAfd",
+ "locationName": "fixedAfd"
},
- "CaptionSelectors": {
- "shape": "__listOfCaptionSelector",
- "locationName": "captionSelectors"
+ "FlickerAq": {
+ "shape": "H265FlickerAq",
+ "locationName": "flickerAq"
},
- "DeblockFilter": {
- "shape": "InputDeblockFilter",
- "locationName": "deblockFilter"
+ "FramerateDenominator": {
+ "shape": "__integerMin1Max3003",
+ "locationName": "framerateDenominator"
},
- "DenoiseFilter": {
- "shape": "InputDenoiseFilter",
- "locationName": "denoiseFilter"
+ "FramerateNumerator": {
+ "shape": "__integerMin1",
+ "locationName": "framerateNumerator"
},
- "FilterStrength": {
- "shape": "__integerMin1Max5",
- "locationName": "filterStrength"
+ "GopClosedCadence": {
+ "shape": "__integerMin0",
+ "locationName": "gopClosedCadence"
},
- "InputFilter": {
- "shape": "InputFilter",
- "locationName": "inputFilter"
+ "GopSize": {
+ "shape": "__double",
+ "locationName": "gopSize"
},
- "NetworkInputSettings": {
- "shape": "NetworkInputSettings",
- "locationName": "networkInputSettings"
+ "GopSizeUnits": {
+ "shape": "H265GopSizeUnits",
+ "locationName": "gopSizeUnits"
},
- "Scte35Pid": {
- "shape": "__integerMin32Max8191",
- "locationName": "scte35Pid"
+ "Level": {
+ "shape": "H265Level",
+ "locationName": "level"
},
- "Smpte2038DataPreference": {
- "shape": "Smpte2038DataPreference",
- "locationName": "smpte2038DataPreference"
+ "LookAheadRateControl": {
+ "shape": "H265LookAheadRateControl",
+ "locationName": "lookAheadRateControl"
},
- "SourceEndBehavior": {
- "shape": "InputSourceEndBehavior",
- "locationName": "sourceEndBehavior"
+ "MaxBitrate": {
+ "shape": "__integerMin100000Max40000000",
+ "locationName": "maxBitrate"
},
- "VideoSelector": {
- "shape": "VideoSelector",
- "locationName": "videoSelector"
- }
- }
- },
- "InputSource": {
- "type": "structure",
- "members": {
- "PasswordParam": {
- "shape": "__string",
- "locationName": "passwordParam"
+ "MinIInterval": {
+ "shape": "__integerMin0Max30",
+ "locationName": "minIInterval"
},
- "Url": {
- "shape": "__string",
- "locationName": "url"
+ "ParDenominator": {
+ "shape": "__integerMin1",
+ "locationName": "parDenominator"
},
- "Username": {
- "shape": "__string",
- "locationName": "username"
- }
- }
- },
- "InputSourceEndBehavior": {
- "type": "string",
- "enum": [
- "CONTINUE",
- "LOOP"
- ]
- },
- "InputSourceRequest": {
- "type": "structure",
- "members": {
- "PasswordParam": {
- "shape": "__string",
- "locationName": "passwordParam"
+ "ParNumerator": {
+ "shape": "__integerMin1",
+ "locationName": "parNumerator"
},
- "Url": {
- "shape": "__string",
- "locationName": "url"
+ "Profile": {
+ "shape": "H265Profile",
+ "locationName": "profile"
},
- "Username": {
- "shape": "__string",
- "locationName": "username"
- }
- }
- },
- "InputSourceType": {
- "type": "string",
- "enum": [
- "STATIC",
- "DYNAMIC"
- ]
- },
- "InputSpecification": {
- "type": "structure",
- "members": {
- "Codec": {
- "shape": "InputCodec",
- "locationName": "codec"
+ "QvbrQualityLevel": {
+ "shape": "__integerMin1Max10",
+ "locationName": "qvbrQualityLevel"
},
- "MaximumBitrate": {
- "shape": "InputMaximumBitrate",
- "locationName": "maximumBitrate"
+ "RateControlMode": {
+ "shape": "H265RateControlMode",
+ "locationName": "rateControlMode"
},
- "Resolution": {
- "shape": "InputResolution",
- "locationName": "resolution"
- }
- }
- },
- "InputState": {
- "type": "string",
- "enum": [
- "CREATING",
- "DETACHED",
- "ATTACHED",
- "DELETING",
- "DELETED"
- ]
- },
- "InputSwitchScheduleActionSettings": {
- "type": "structure",
- "members": {
- "InputAttachmentNameReference": {
- "shape": "__string",
- "locationName": "inputAttachmentNameReference"
+ "ScanType": {
+ "shape": "H265ScanType",
+ "locationName": "scanType"
},
- "InputClippingSettings": {
- "shape": "InputClippingSettings",
- "locationName": "inputClippingSettings"
+ "SceneChangeDetect": {
+ "shape": "H265SceneChangeDetect",
+ "locationName": "sceneChangeDetect"
},
- "UrlPath": {
- "shape": "__listOf__string",
- "locationName": "urlPath"
+ "Slices": {
+ "shape": "__integerMin1Max16",
+ "locationName": "slices"
+ },
+ "Tier": {
+ "shape": "H265Tier",
+ "locationName": "tier"
+ },
+ "TimecodeInsertion": {
+ "shape": "H265TimecodeInsertionBehavior",
+ "locationName": "timecodeInsertion"
+ },
+ "TimecodeBurninSettings": {
+ "shape": "TimecodeBurninSettings",
+ "locationName": "timecodeBurninSettings"
+ },
+ "MvOverPictureBoundaries": {
+ "shape": "H265MvOverPictureBoundaries",
+ "locationName": "mvOverPictureBoundaries"
+ },
+ "MvTemporalPredictor": {
+ "shape": "H265MvTemporalPredictor",
+ "locationName": "mvTemporalPredictor"
+ },
+ "TileHeight": {
+ "shape": "__integerMin64Max2160",
+ "locationName": "tileHeight"
+ },
+ "TilePadding": {
+ "shape": "H265TilePadding",
+ "locationName": "tilePadding"
+ },
+ "TileWidth": {
+ "shape": "__integerMin256Max3840",
+ "locationName": "tileWidth"
+ },
+ "TreeblockSize": {
+ "shape": "H265TreeblockSize",
+ "locationName": "treeblockSize"
+ },
+ "MinQp": {
+ "shape": "__integerMin1Max51",
+ "locationName": "minQp"
}
},
"required": [
- "InputAttachmentNameReference"
+ "FramerateNumerator",
+ "FramerateDenominator"
]
},
- "InputTimecodeSource": {
+ "H265Tier": {
"type": "string",
"enum": [
- "ZEROBASED",
- "EMBEDDED"
+ "HIGH",
+ "MAIN"
]
},
- "InputType": {
+ "H265TimecodeInsertionBehavior": {
"type": "string",
"enum": [
- "UDP_PUSH",
- "RTP_PUSH",
- "RTMP_PUSH",
- "RTMP_PULL",
- "URL_PULL",
- "MP4_FILE",
- "MEDIACONNECT",
- "INPUT_DEVICE",
- "AWS_CDI",
- "TS_FILE",
- "SRT_CALLER"
+ "DISABLED",
+ "PIC_TIMING_SEI"
]
},
- "InputVpcRequest": {
+ "Hdr10Settings": {
"type": "structure",
"members": {
- "SecurityGroupIds": {
- "shape": "__listOf__string",
- "locationName": "securityGroupIds"
+ "MaxCll": {
+ "shape": "__integerMin0Max32768",
+ "locationName": "maxCll"
},
- "SubnetIds": {
- "shape": "__listOf__string",
- "locationName": "subnetIds"
- }
- },
- "required": [
- "SubnetIds"
- ]
- },
- "InputWhitelistRule": {
- "type": "structure",
- "members": {
- "Cidr": {
- "shape": "__string",
- "locationName": "cidr"
+ "MaxFall": {
+ "shape": "__integerMin0Max32768",
+ "locationName": "maxFall"
}
}
},
- "InputWhitelistRuleCidr": {
- "type": "structure",
- "members": {
- "Cidr": {
- "shape": "__string",
- "locationName": "cidr"
- }
- }
+ "HlsAdMarkers": {
+ "type": "string",
+ "enum": [
+ "ADOBE",
+ "ELEMENTAL",
+ "ELEMENTAL_SCTE35"
+ ]
},
- "InternalServerErrorException": {
- "type": "structure",
- "members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
- }
- },
- "exception": true,
- "error": {
- "httpStatusCode": 500
- }
+ "HlsAkamaiHttpTransferMode": {
+ "type": "string",
+ "enum": [
+ "CHUNKED",
+ "NON_CHUNKED"
+ ]
},
- "InternalServiceError": {
+ "HlsAkamaiSettings": {
"type": "structure",
"members": {
- "Message": {
+ "ConnectionRetryInterval": {
+ "shape": "__integerMin0",
+ "locationName": "connectionRetryInterval"
+ },
+ "FilecacheDuration": {
+ "shape": "__integerMin0Max600",
+ "locationName": "filecacheDuration"
+ },
+ "HttpTransferMode": {
+ "shape": "HlsAkamaiHttpTransferMode",
+ "locationName": "httpTransferMode"
+ },
+ "NumRetries": {
+ "shape": "__integerMin0",
+ "locationName": "numRetries"
+ },
+ "RestartDelay": {
+ "shape": "__integerMin0Max15",
+ "locationName": "restartDelay"
+ },
+ "Salt": {
"shape": "__string",
- "locationName": "message"
- }
- }
- },
- "InvalidRequest": {
- "type": "structure",
- "members": {
- "Message": {
+ "locationName": "salt"
+ },
+ "Token": {
"shape": "__string",
- "locationName": "message"
+ "locationName": "token"
}
}
},
- "KeyProviderSettings": {
+ "HlsBasicPutSettings": {
"type": "structure",
"members": {
- "StaticKeySettings": {
- "shape": "StaticKeySettings",
- "locationName": "staticKeySettings"
+ "ConnectionRetryInterval": {
+ "shape": "__integerMin0",
+ "locationName": "connectionRetryInterval"
+ },
+ "FilecacheDuration": {
+ "shape": "__integerMin0Max600",
+ "locationName": "filecacheDuration"
+ },
+ "NumRetries": {
+ "shape": "__integerMin0",
+ "locationName": "numRetries"
+ },
+ "RestartDelay": {
+ "shape": "__integerMin0Max15",
+ "locationName": "restartDelay"
}
}
},
- "LastFrameClippingBehavior": {
+ "HlsCaptionLanguageSetting": {
"type": "string",
"enum": [
- "EXCLUDE_LAST_FRAME",
- "INCLUDE_LAST_FRAME"
+ "INSERT",
+ "NONE",
+ "OMIT"
]
},
- "LimitExceeded": {
+ "HlsCdnSettings": {
"type": "structure",
"members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
- }
- }
- },
- "ListChannelsRequest": {
- "type": "structure",
- "members": {
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "HlsAkamaiSettings": {
+ "shape": "HlsAkamaiSettings",
+ "locationName": "hlsAkamaiSettings"
},
- "NextToken": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
- }
- }
- },
- "ListChannelsResponse": {
- "type": "structure",
- "members": {
- "Channels": {
- "shape": "__listOfChannelSummary",
- "locationName": "channels"
+ "HlsBasicPutSettings": {
+ "shape": "HlsBasicPutSettings",
+ "locationName": "hlsBasicPutSettings"
},
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
- }
- }
- },
- "ListChannelsResultModel": {
- "type": "structure",
- "members": {
- "Channels": {
- "shape": "__listOfChannelSummary",
- "locationName": "channels"
+ "HlsMediaStoreSettings": {
+ "shape": "HlsMediaStoreSettings",
+ "locationName": "hlsMediaStoreSettings"
},
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
+ "HlsS3Settings": {
+ "shape": "HlsS3Settings",
+ "locationName": "hlsS3Settings"
+ },
+ "HlsWebdavSettings": {
+ "shape": "HlsWebdavSettings",
+ "locationName": "hlsWebdavSettings"
}
}
},
- "ListInputDeviceTransfersRequest": {
- "type": "structure",
- "members": {
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
- },
- "NextToken": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
- },
- "TransferType": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "transferType"
- }
- },
- "required": [
- "TransferType"
+ "HlsClientCache": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED"
]
},
- "ListInputDeviceTransfersResponse": {
- "type": "structure",
- "members": {
- "InputDeviceTransfers": {
- "shape": "__listOfTransferringInputDeviceSummary",
- "locationName": "inputDeviceTransfers"
- },
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
- }
- }
+ "HlsCodecSpecification": {
+ "type": "string",
+ "enum": [
+ "RFC_4281",
+ "RFC_6381"
+ ]
},
- "ListInputDeviceTransfersResultModel": {
- "type": "structure",
- "members": {
- "InputDeviceTransfers": {
- "shape": "__listOfTransferringInputDeviceSummary",
- "locationName": "inputDeviceTransfers"
- },
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
- }
- }
+ "HlsDirectoryStructure": {
+ "type": "string",
+ "enum": [
+ "SINGLE_DIRECTORY",
+ "SUBDIRECTORY_PER_STREAM"
+ ]
},
- "ListInputDevicesRequest": {
- "type": "structure",
- "members": {
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
- },
- "NextToken": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
- }
- }
+ "HlsDiscontinuityTags": {
+ "type": "string",
+ "enum": [
+ "INSERT",
+ "NEVER_INSERT"
+ ]
},
- "ListInputDevicesResponse": {
- "type": "structure",
- "members": {
- "InputDevices": {
- "shape": "__listOfInputDeviceSummary",
- "locationName": "inputDevices"
- },
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
- }
- }
+ "HlsEncryptionType": {
+ "type": "string",
+ "enum": [
+ "AES128",
+ "SAMPLE_AES"
+ ]
},
- "ListInputDevicesResultModel": {
+ "HlsGroupSettings": {
"type": "structure",
"members": {
- "InputDevices": {
- "shape": "__listOfInputDeviceSummary",
- "locationName": "inputDevices"
+ "AdMarkers": {
+ "shape": "__listOfHlsAdMarkers",
+ "locationName": "adMarkers"
},
- "NextToken": {
+ "BaseUrlContent": {
"shape": "__string",
- "locationName": "nextToken"
- }
- }
- },
- "ListInputSecurityGroupsRequest": {
- "type": "structure",
- "members": {
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "locationName": "baseUrlContent"
},
- "NextToken": {
+ "BaseUrlContent1": {
"shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
- }
- }
- },
- "ListInputSecurityGroupsResponse": {
- "type": "structure",
- "members": {
- "InputSecurityGroups": {
- "shape": "__listOfInputSecurityGroup",
- "locationName": "inputSecurityGroups"
+ "locationName": "baseUrlContent1"
},
- "NextToken": {
+ "BaseUrlManifest": {
"shape": "__string",
- "locationName": "nextToken"
- }
- }
- },
- "ListInputSecurityGroupsResultModel": {
- "type": "structure",
- "members": {
- "InputSecurityGroups": {
- "shape": "__listOfInputSecurityGroup",
- "locationName": "inputSecurityGroups"
+ "locationName": "baseUrlManifest"
},
- "NextToken": {
+ "BaseUrlManifest1": {
"shape": "__string",
- "locationName": "nextToken"
- }
- }
- },
- "ListInputsRequest": {
- "type": "structure",
- "members": {
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "locationName": "baseUrlManifest1"
},
- "NextToken": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
- }
- }
- },
- "ListInputsResponse": {
- "type": "structure",
- "members": {
- "Inputs": {
- "shape": "__listOfInput",
- "locationName": "inputs"
+ "CaptionLanguageMappings": {
+ "shape": "__listOfCaptionLanguageMapping",
+ "locationName": "captionLanguageMappings"
},
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
- }
- }
- },
- "ListInputsResultModel": {
- "type": "structure",
- "members": {
- "Inputs": {
- "shape": "__listOfInput",
- "locationName": "inputs"
+ "CaptionLanguageSetting": {
+ "shape": "HlsCaptionLanguageSetting",
+ "locationName": "captionLanguageSetting"
},
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
- }
- }
- },
- "ListMultiplexProgramsRequest": {
- "type": "structure",
- "members": {
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "ClientCache": {
+ "shape": "HlsClientCache",
+ "locationName": "clientCache"
},
- "MultiplexId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "multiplexId"
+ "CodecSpecification": {
+ "shape": "HlsCodecSpecification",
+ "locationName": "codecSpecification"
},
- "NextToken": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
- }
- },
- "required": [
- "MultiplexId"
- ]
- },
- "ListMultiplexProgramsResponse": {
- "type": "structure",
- "members": {
- "MultiplexPrograms": {
- "shape": "__listOfMultiplexProgramSummary",
- "locationName": "multiplexPrograms"
+ "ConstantIv": {
+ "shape": "__stringMin32Max32",
+ "locationName": "constantIv"
},
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
- }
- }
- },
- "ListMultiplexProgramsResultModel": {
- "type": "structure",
- "members": {
- "MultiplexPrograms": {
- "shape": "__listOfMultiplexProgramSummary",
- "locationName": "multiplexPrograms"
+ "Destination": {
+ "shape": "OutputLocationRef",
+ "locationName": "destination"
},
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
- }
- }
- },
- "ListMultiplexesRequest": {
- "type": "structure",
- "members": {
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "DirectoryStructure": {
+ "shape": "HlsDirectoryStructure",
+ "locationName": "directoryStructure"
},
- "NextToken": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
- }
- }
- },
- "ListMultiplexesResponse": {
- "type": "structure",
- "members": {
- "Multiplexes": {
- "shape": "__listOfMultiplexSummary",
- "locationName": "multiplexes"
+ "DiscontinuityTags": {
+ "shape": "HlsDiscontinuityTags",
+ "locationName": "discontinuityTags"
},
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
- }
- }
- },
- "ListMultiplexesResultModel": {
- "type": "structure",
- "members": {
- "Multiplexes": {
- "shape": "__listOfMultiplexSummary",
- "locationName": "multiplexes"
+ "EncryptionType": {
+ "shape": "HlsEncryptionType",
+ "locationName": "encryptionType"
},
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
- }
- }
- },
- "ListOfferingsRequest": {
- "type": "structure",
- "members": {
- "ChannelClass": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "channelClass"
+ "HlsCdnSettings": {
+ "shape": "HlsCdnSettings",
+ "locationName": "hlsCdnSettings"
},
- "ChannelConfiguration": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "channelConfiguration"
+ "HlsId3SegmentTagging": {
+ "shape": "HlsId3SegmentTaggingState",
+ "locationName": "hlsId3SegmentTagging"
},
- "Codec": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "codec"
+ "IFrameOnlyPlaylists": {
+ "shape": "IFrameOnlyPlaylistType",
+ "locationName": "iFrameOnlyPlaylists"
},
- "Duration": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "duration"
+ "IncompleteSegmentBehavior": {
+ "shape": "HlsIncompleteSegmentBehavior",
+ "locationName": "incompleteSegmentBehavior"
},
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "IndexNSegments": {
+ "shape": "__integerMin3",
+ "locationName": "indexNSegments"
},
- "MaximumBitrate": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "maximumBitrate"
+ "InputLossAction": {
+ "shape": "InputLossActionForHlsOut",
+ "locationName": "inputLossAction"
},
- "MaximumFramerate": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "maximumFramerate"
+ "IvInManifest": {
+ "shape": "HlsIvInManifest",
+ "locationName": "ivInManifest"
},
- "NextToken": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
+ "IvSource": {
+ "shape": "HlsIvSource",
+ "locationName": "ivSource"
},
- "Resolution": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "resolution"
+ "KeepSegments": {
+ "shape": "__integerMin1",
+ "locationName": "keepSegments"
},
- "ResourceType": {
+ "KeyFormat": {
"shape": "__string",
- "location": "querystring",
- "locationName": "resourceType"
+ "locationName": "keyFormat"
},
- "SpecialFeature": {
+ "KeyFormatVersions": {
"shape": "__string",
- "location": "querystring",
- "locationName": "specialFeature"
+ "locationName": "keyFormatVersions"
},
- "VideoQuality": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "videoQuality"
- }
- }
- },
- "ListOfferingsResponse": {
- "type": "structure",
- "members": {
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
+ "KeyProviderSettings": {
+ "shape": "KeyProviderSettings",
+ "locationName": "keyProviderSettings"
},
- "Offerings": {
- "shape": "__listOfOffering",
- "locationName": "offerings"
- }
- }
- },
- "ListOfferingsResultModel": {
- "type": "structure",
- "members": {
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
+ "ManifestCompression": {
+ "shape": "HlsManifestCompression",
+ "locationName": "manifestCompression"
},
- "Offerings": {
- "shape": "__listOfOffering",
- "locationName": "offerings"
- }
- }
- },
- "ListReservationsRequest": {
- "type": "structure",
- "members": {
- "ChannelClass": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "channelClass"
+ "ManifestDurationFormat": {
+ "shape": "HlsManifestDurationFormat",
+ "locationName": "manifestDurationFormat"
},
- "Codec": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "codec"
+ "MinSegmentLength": {
+ "shape": "__integerMin0",
+ "locationName": "minSegmentLength"
},
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "Mode": {
+ "shape": "HlsMode",
+ "locationName": "mode"
},
- "MaximumBitrate": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "maximumBitrate"
+ "OutputSelection": {
+ "shape": "HlsOutputSelection",
+ "locationName": "outputSelection"
},
- "MaximumFramerate": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "maximumFramerate"
+ "ProgramDateTime": {
+ "shape": "HlsProgramDateTime",
+ "locationName": "programDateTime"
},
- "NextToken": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
+ "ProgramDateTimeClock": {
+ "shape": "HlsProgramDateTimeClock",
+ "locationName": "programDateTimeClock"
},
- "Resolution": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "resolution"
+ "ProgramDateTimePeriod": {
+ "shape": "__integerMin0Max3600",
+ "locationName": "programDateTimePeriod"
},
- "ResourceType": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "resourceType"
+ "RedundantManifest": {
+ "shape": "HlsRedundantManifest",
+ "locationName": "redundantManifest"
},
- "SpecialFeature": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "specialFeature"
+ "SegmentLength": {
+ "shape": "__integerMin1",
+ "locationName": "segmentLength"
},
- "VideoQuality": {
- "shape": "__string",
- "location": "querystring",
- "locationName": "videoQuality"
- }
- }
- },
- "ListReservationsResponse": {
- "type": "structure",
- "members": {
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
+ "SegmentationMode": {
+ "shape": "HlsSegmentationMode",
+ "locationName": "segmentationMode"
},
- "Reservations": {
- "shape": "__listOfReservation",
- "locationName": "reservations"
- }
- }
- },
- "ListReservationsResultModel": {
- "type": "structure",
- "members": {
- "NextToken": {
- "shape": "__string",
- "locationName": "nextToken"
+ "SegmentsPerSubdirectory": {
+ "shape": "__integerMin1",
+ "locationName": "segmentsPerSubdirectory"
},
- "Reservations": {
- "shape": "__listOfReservation",
- "locationName": "reservations"
- }
- }
- },
- "ListTagsForResourceRequest": {
- "type": "structure",
- "members": {
- "ResourceArn": {
- "shape": "__string",
- "location": "uri",
- "locationName": "resource-arn"
+ "StreamInfResolution": {
+ "shape": "HlsStreamInfResolution",
+ "locationName": "streamInfResolution"
+ },
+ "TimedMetadataId3Frame": {
+ "shape": "HlsTimedMetadataId3Frame",
+ "locationName": "timedMetadataId3Frame"
+ },
+ "TimedMetadataId3Period": {
+ "shape": "__integerMin0",
+ "locationName": "timedMetadataId3Period"
+ },
+ "TimestampDeltaMilliseconds": {
+ "shape": "__integerMin0",
+ "locationName": "timestampDeltaMilliseconds"
+ },
+ "TsFileMode": {
+ "shape": "HlsTsFileMode",
+ "locationName": "tsFileMode"
}
},
"required": [
- "ResourceArn"
+ "Destination"
]
},
- "ListTagsForResourceResponse": {
- "type": "structure",
- "members": {
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- }
- }
- },
- "LogLevel": {
+ "HlsH265PackagingType": {
"type": "string",
"enum": [
- "ERROR",
- "WARNING",
- "INFO",
- "DEBUG",
- "DISABLED"
+ "HEV1",
+ "HVC1"
]
},
- "M2tsAbsentInputAudioBehavior": {
- "type": "string",
- "enum": [
- "DROP",
- "ENCODE_SILENCE"
- ]
+ "HlsId3SegmentTaggingScheduleActionSettings": {
+ "type": "structure",
+ "members": {
+ "Tag": {
+ "shape": "__string",
+ "locationName": "tag"
+ },
+ "Id3": {
+ "shape": "__string",
+ "locationName": "id3"
+ }
+ }
},
- "M2tsArib": {
+ "HlsId3SegmentTaggingState": {
"type": "string",
"enum": [
"DISABLED",
"ENABLED"
]
},
- "M2tsAribCaptionsPidControl": {
+ "HlsIncompleteSegmentBehavior": {
"type": "string",
"enum": [
"AUTO",
- "USE_CONFIGURED"
+ "SUPPRESS"
]
},
- "M2tsAudioBufferModel": {
+ "HlsInputSettings": {
+ "type": "structure",
+ "members": {
+ "Bandwidth": {
+ "shape": "__integerMin0",
+ "locationName": "bandwidth"
+ },
+ "BufferSegments": {
+ "shape": "__integerMin0",
+ "locationName": "bufferSegments"
+ },
+ "Retries": {
+ "shape": "__integerMin0",
+ "locationName": "retries"
+ },
+ "RetryInterval": {
+ "shape": "__integerMin0",
+ "locationName": "retryInterval"
+ },
+ "Scte35Source": {
+ "shape": "HlsScte35SourceType",
+ "locationName": "scte35Source"
+ }
+ }
+ },
+ "HlsIvInManifest": {
"type": "string",
"enum": [
- "ATSC",
- "DVB"
+ "EXCLUDE",
+ "INCLUDE"
]
},
- "M2tsAudioInterval": {
+ "HlsIvSource": {
"type": "string",
"enum": [
- "VIDEO_AND_FIXED_INTERVALS",
- "VIDEO_INTERVAL"
+ "EXPLICIT",
+ "FOLLOWS_SEGMENT_NUMBER"
]
},
- "M2tsAudioStreamType": {
+ "HlsManifestCompression": {
"type": "string",
"enum": [
- "ATSC",
- "DVB"
+ "GZIP",
+ "NONE"
]
},
- "M2tsBufferModel": {
+ "HlsManifestDurationFormat": {
"type": "string",
"enum": [
- "MULTIPLEX",
- "NONE"
+ "FLOATING_POINT",
+ "INTEGER"
]
},
- "M2tsCcDescriptor": {
+ "HlsMediaStoreSettings": {
+ "type": "structure",
+ "members": {
+ "ConnectionRetryInterval": {
+ "shape": "__integerMin0",
+ "locationName": "connectionRetryInterval"
+ },
+ "FilecacheDuration": {
+ "shape": "__integerMin0Max600",
+ "locationName": "filecacheDuration"
+ },
+ "MediaStoreStorageClass": {
+ "shape": "HlsMediaStoreStorageClass",
+ "locationName": "mediaStoreStorageClass"
+ },
+ "NumRetries": {
+ "shape": "__integerMin0",
+ "locationName": "numRetries"
+ },
+ "RestartDelay": {
+ "shape": "__integerMin0Max15",
+ "locationName": "restartDelay"
+ }
+ }
+ },
+ "HlsMediaStoreStorageClass": {
"type": "string",
"enum": [
- "DISABLED",
- "ENABLED"
+ "TEMPORAL"
]
},
- "M2tsEbifControl": {
+ "HlsMode": {
"type": "string",
"enum": [
- "NONE",
- "PASSTHROUGH"
+ "LIVE",
+ "VOD"
]
},
- "M2tsEbpPlacement": {
+ "HlsOutputSelection": {
"type": "string",
"enum": [
- "VIDEO_AND_AUDIO_PIDS",
- "VIDEO_PID"
+ "MANIFESTS_AND_SEGMENTS",
+ "SEGMENTS_ONLY",
+ "VARIANT_MANIFESTS_AND_SEGMENTS"
]
},
- "M2tsEsRateInPes": {
+ "HlsOutputSettings": {
+ "type": "structure",
+ "members": {
+ "H265PackagingType": {
+ "shape": "HlsH265PackagingType",
+ "locationName": "h265PackagingType"
+ },
+ "HlsSettings": {
+ "shape": "HlsSettings",
+ "locationName": "hlsSettings"
+ },
+ "NameModifier": {
+ "shape": "__stringMin1",
+ "locationName": "nameModifier"
+ },
+ "SegmentModifier": {
+ "shape": "__string",
+ "locationName": "segmentModifier"
+ }
+ },
+ "required": [
+ "HlsSettings"
+ ]
+ },
+ "HlsProgramDateTime": {
"type": "string",
"enum": [
"EXCLUDE",
"INCLUDE"
]
},
- "M2tsKlv": {
+ "HlsProgramDateTimeClock": {
"type": "string",
"enum": [
- "NONE",
- "PASSTHROUGH"
+ "INITIALIZE_FROM_OUTPUT_TIMECODE",
+ "SYSTEM_CLOCK"
]
},
- "M2tsNielsenId3Behavior": {
+ "HlsRedundantManifest": {
"type": "string",
"enum": [
- "NO_PASSTHROUGH",
- "PASSTHROUGH"
- ]
+ "DISABLED",
+ "ENABLED"
+ ]
},
- "M2tsPcrControl": {
+ "HlsS3LogUploads": {
"type": "string",
"enum": [
- "CONFIGURED_PCR_PERIOD",
- "PCR_EVERY_PES_PACKET"
+ "DISABLED",
+ "ENABLED"
]
},
- "M2tsRateMode": {
+ "HlsS3Settings": {
+ "type": "structure",
+ "members": {
+ "CannedAcl": {
+ "shape": "S3CannedAcl",
+ "locationName": "cannedAcl"
+ }
+ }
+ },
+ "HlsScte35SourceType": {
"type": "string",
"enum": [
- "CBR",
- "VBR"
+ "MANIFEST",
+ "SEGMENTS"
]
},
- "M2tsScte35Control": {
+ "HlsSegmentationMode": {
"type": "string",
"enum": [
- "NONE",
- "PASSTHROUGH"
+ "USE_INPUT_SEGMENTATION",
+ "USE_SEGMENT_DURATION"
]
},
- "M2tsSegmentationMarkers": {
+ "HlsSettings": {
+ "type": "structure",
+ "members": {
+ "AudioOnlyHlsSettings": {
+ "shape": "AudioOnlyHlsSettings",
+ "locationName": "audioOnlyHlsSettings"
+ },
+ "Fmp4HlsSettings": {
+ "shape": "Fmp4HlsSettings",
+ "locationName": "fmp4HlsSettings"
+ },
+ "FrameCaptureHlsSettings": {
+ "shape": "FrameCaptureHlsSettings",
+ "locationName": "frameCaptureHlsSettings"
+ },
+ "StandardHlsSettings": {
+ "shape": "StandardHlsSettings",
+ "locationName": "standardHlsSettings"
+ }
+ }
+ },
+ "HlsStreamInfResolution": {
"type": "string",
"enum": [
- "EBP",
- "EBP_LEGACY",
- "NONE",
- "PSI_SEGSTART",
- "RAI_ADAPT",
- "RAI_SEGSTART"
+ "EXCLUDE",
+ "INCLUDE"
]
},
- "M2tsSegmentationStyle": {
+ "HlsTimedMetadataId3Frame": {
"type": "string",
"enum": [
- "MAINTAIN_CADENCE",
- "RESET_CADENCE"
+ "NONE",
+ "PRIV",
+ "TDRL"
]
},
- "M2tsSettings": {
+ "HlsTimedMetadataScheduleActionSettings": {
"type": "structure",
"members": {
- "AbsentInputAudioBehavior": {
- "shape": "M2tsAbsentInputAudioBehavior",
- "locationName": "absentInputAudioBehavior"
- },
- "Arib": {
- "shape": "M2tsArib",
- "locationName": "arib"
- },
- "AribCaptionsPid": {
+ "Id3": {
"shape": "__string",
- "locationName": "aribCaptionsPid"
+ "locationName": "id3"
+ }
+ },
+ "required": [
+ "Id3"
+ ]
+ },
+ "HlsTsFileMode": {
+ "type": "string",
+ "enum": [
+ "SEGMENTED_FILES",
+ "SINGLE_FILE"
+ ]
+ },
+ "HlsWebdavHttpTransferMode": {
+ "type": "string",
+ "enum": [
+ "CHUNKED",
+ "NON_CHUNKED"
+ ]
+ },
+ "HlsWebdavSettings": {
+ "type": "structure",
+ "members": {
+ "ConnectionRetryInterval": {
+ "shape": "__integerMin0",
+ "locationName": "connectionRetryInterval"
},
- "AribCaptionsPidControl": {
- "shape": "M2tsAribCaptionsPidControl",
- "locationName": "aribCaptionsPidControl"
+ "FilecacheDuration": {
+ "shape": "__integerMin0Max600",
+ "locationName": "filecacheDuration"
},
- "AudioBufferModel": {
- "shape": "M2tsAudioBufferModel",
- "locationName": "audioBufferModel"
+ "HttpTransferMode": {
+ "shape": "HlsWebdavHttpTransferMode",
+ "locationName": "httpTransferMode"
},
- "AudioFramesPerPes": {
+ "NumRetries": {
"shape": "__integerMin0",
- "locationName": "audioFramesPerPes"
+ "locationName": "numRetries"
},
- "AudioPids": {
+ "RestartDelay": {
+ "shape": "__integerMin0Max15",
+ "locationName": "restartDelay"
+ }
+ }
+ },
+ "HtmlMotionGraphicsSettings": {
+ "type": "structure",
+ "members": {
+ }
+ },
+ "IFrameOnlyPlaylistType": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "STANDARD"
+ ]
+ },
+ "ImmediateModeScheduleActionStartSettings": {
+ "type": "structure",
+ "members": {
+ }
+ },
+ "IncludeFillerNalUnits": {
+ "type": "string",
+ "enum": [
+ "AUTO",
+ "DROP",
+ "INCLUDE"
+ ]
+ },
+ "Input": {
+ "type": "structure",
+ "members": {
+ "Arn": {
"shape": "__string",
- "locationName": "audioPids"
+ "locationName": "arn"
},
- "AudioStreamType": {
- "shape": "M2tsAudioStreamType",
- "locationName": "audioStreamType"
+ "AttachedChannels": {
+ "shape": "__listOf__string",
+ "locationName": "attachedChannels"
},
- "Bitrate": {
- "shape": "__integerMin0",
- "locationName": "bitrate"
+ "Destinations": {
+ "shape": "__listOfInputDestination",
+ "locationName": "destinations"
},
- "BufferModel": {
- "shape": "M2tsBufferModel",
- "locationName": "bufferModel"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
- "CcDescriptor": {
- "shape": "M2tsCcDescriptor",
- "locationName": "ccDescriptor"
+ "InputClass": {
+ "shape": "InputClass",
+ "locationName": "inputClass"
},
- "DvbNitSettings": {
- "shape": "DvbNitSettings",
- "locationName": "dvbNitSettings"
+ "InputDevices": {
+ "shape": "__listOfInputDeviceSettings",
+ "locationName": "inputDevices"
},
- "DvbSdtSettings": {
- "shape": "DvbSdtSettings",
- "locationName": "dvbSdtSettings"
+ "InputPartnerIds": {
+ "shape": "__listOf__string",
+ "locationName": "inputPartnerIds"
},
- "DvbSubPids": {
- "shape": "__string",
- "locationName": "dvbSubPids"
+ "InputSourceType": {
+ "shape": "InputSourceType",
+ "locationName": "inputSourceType"
},
- "DvbTdtSettings": {
- "shape": "DvbTdtSettings",
- "locationName": "dvbTdtSettings"
+ "MediaConnectFlows": {
+ "shape": "__listOfMediaConnectFlow",
+ "locationName": "mediaConnectFlows"
},
- "DvbTeletextPid": {
+ "Name": {
"shape": "__string",
- "locationName": "dvbTeletextPid"
+ "locationName": "name"
},
- "Ebif": {
- "shape": "M2tsEbifControl",
- "locationName": "ebif"
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
},
- "EbpAudioInterval": {
- "shape": "M2tsAudioInterval",
- "locationName": "ebpAudioInterval"
+ "SecurityGroups": {
+ "shape": "__listOf__string",
+ "locationName": "securityGroups"
},
- "EbpLookaheadMs": {
- "shape": "__integerMin0Max10000",
- "locationName": "ebpLookaheadMs"
+ "Sources": {
+ "shape": "__listOfInputSource",
+ "locationName": "sources"
},
- "EbpPlacement": {
- "shape": "M2tsEbpPlacement",
- "locationName": "ebpPlacement"
+ "State": {
+ "shape": "InputState",
+ "locationName": "state"
},
- "EcmPid": {
- "shape": "__string",
- "locationName": "ecmPid"
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
},
- "EsRateInPes": {
- "shape": "M2tsEsRateInPes",
- "locationName": "esRateInPes"
+ "Type": {
+ "shape": "InputType",
+ "locationName": "type"
},
- "EtvPlatformPid": {
- "shape": "__string",
- "locationName": "etvPlatformPid"
+ "SrtSettings": {
+ "shape": "SrtSettings",
+ "locationName": "srtSettings"
},
- "EtvSignalPid": {
- "shape": "__string",
- "locationName": "etvSignalPid"
- },
- "FragmentTime": {
- "shape": "__doubleMin0",
- "locationName": "fragmentTime"
- },
- "Klv": {
- "shape": "M2tsKlv",
- "locationName": "klv"
- },
- "KlvDataPids": {
- "shape": "__string",
- "locationName": "klvDataPids"
- },
- "NielsenId3Behavior": {
- "shape": "M2tsNielsenId3Behavior",
- "locationName": "nielsenId3Behavior"
- },
- "NullPacketBitrate": {
- "shape": "__doubleMin0",
- "locationName": "nullPacketBitrate"
- },
- "PatInterval": {
- "shape": "__integerMin0Max1000",
- "locationName": "patInterval"
- },
- "PcrControl": {
- "shape": "M2tsPcrControl",
- "locationName": "pcrControl"
- },
- "PcrPeriod": {
- "shape": "__integerMin0Max500",
- "locationName": "pcrPeriod"
- },
- "PcrPid": {
- "shape": "__string",
- "locationName": "pcrPid"
- },
- "PmtInterval": {
- "shape": "__integerMin0Max1000",
- "locationName": "pmtInterval"
- },
- "PmtPid": {
- "shape": "__string",
- "locationName": "pmtPid"
- },
- "ProgramNum": {
- "shape": "__integerMin0Max65535",
- "locationName": "programNum"
- },
- "RateMode": {
- "shape": "M2tsRateMode",
- "locationName": "rateMode"
- },
- "Scte27Pids": {
- "shape": "__string",
- "locationName": "scte27Pids"
+ "InputNetworkLocation": {
+ "shape": "InputNetworkLocation",
+ "locationName": "inputNetworkLocation"
},
- "Scte35Control": {
- "shape": "M2tsScte35Control",
- "locationName": "scte35Control"
+ "MulticastSettings": {
+ "shape": "MulticastSettings",
+ "locationName": "multicastSettings"
+ }
+ }
+ },
+ "InputAttachment": {
+ "type": "structure",
+ "members": {
+ "AutomaticInputFailoverSettings": {
+ "shape": "AutomaticInputFailoverSettings",
+ "locationName": "automaticInputFailoverSettings"
},
- "Scte35Pid": {
+ "InputAttachmentName": {
"shape": "__string",
- "locationName": "scte35Pid"
- },
- "Scte35PrerollPullupMilliseconds": {
- "shape": "__doubleMin0Max5000",
- "locationName": "scte35PrerollPullupMilliseconds"
- },
- "SegmentationMarkers": {
- "shape": "M2tsSegmentationMarkers",
- "locationName": "segmentationMarkers"
- },
- "SegmentationStyle": {
- "shape": "M2tsSegmentationStyle",
- "locationName": "segmentationStyle"
- },
- "SegmentationTime": {
- "shape": "__doubleMin1",
- "locationName": "segmentationTime"
- },
- "TimedMetadataBehavior": {
- "shape": "M2tsTimedMetadataBehavior",
- "locationName": "timedMetadataBehavior"
+ "locationName": "inputAttachmentName"
},
- "TimedMetadataPid": {
+ "InputId": {
"shape": "__string",
- "locationName": "timedMetadataPid"
+ "locationName": "inputId"
},
- "TransportStreamId": {
- "shape": "__integerMin0Max65535",
- "locationName": "transportStreamId"
+ "InputSettings": {
+ "shape": "InputSettings",
+ "locationName": "inputSettings"
},
- "VideoPid": {
- "shape": "__string",
- "locationName": "videoPid"
+ "LogicalInterfaceNames": {
+ "shape": "__listOf__string",
+ "locationName": "logicalInterfaceNames"
}
}
},
- "M2tsTimedMetadataBehavior": {
- "type": "string",
- "enum": [
- "NO_PASSTHROUGH",
- "PASSTHROUGH"
+ "InputChannelLevel": {
+ "type": "structure",
+ "members": {
+ "Gain": {
+ "shape": "__integerMinNegative60Max6",
+ "locationName": "gain"
+ },
+ "InputChannel": {
+ "shape": "__integerMin0Max15",
+ "locationName": "inputChannel"
+ }
+ },
+ "required": [
+ "InputChannel",
+ "Gain"
]
},
- "M3u8KlvBehavior": {
+ "InputClass": {
"type": "string",
"enum": [
- "NO_PASSTHROUGH",
- "PASSTHROUGH"
+ "STANDARD",
+ "SINGLE_PIPELINE"
]
},
- "M3u8NielsenId3Behavior": {
+ "InputClippingSettings": {
+ "type": "structure",
+ "members": {
+ "InputTimecodeSource": {
+ "shape": "InputTimecodeSource",
+ "locationName": "inputTimecodeSource"
+ },
+ "StartTimecode": {
+ "shape": "StartTimecode",
+ "locationName": "startTimecode"
+ },
+ "StopTimecode": {
+ "shape": "StopTimecode",
+ "locationName": "stopTimecode"
+ }
+ },
+ "required": [
+ "InputTimecodeSource"
+ ]
+ },
+ "InputCodec": {
"type": "string",
"enum": [
- "NO_PASSTHROUGH",
- "PASSTHROUGH"
+ "MPEG2",
+ "AVC",
+ "HEVC"
]
},
- "M3u8PcrControl": {
+ "InputDeblockFilter": {
"type": "string",
"enum": [
- "CONFIGURED_PCR_PERIOD",
- "PCR_EVERY_PES_PACKET"
+ "DISABLED",
+ "ENABLED"
]
},
- "M3u8Scte35Behavior": {
+ "InputDenoiseFilter": {
"type": "string",
"enum": [
- "NO_PASSTHROUGH",
- "PASSTHROUGH"
+ "DISABLED",
+ "ENABLED"
]
},
- "M3u8Settings": {
+ "InputDestination": {
"type": "structure",
"members": {
- "AudioFramesPerPes": {
- "shape": "__integerMin0",
- "locationName": "audioFramesPerPes"
- },
- "AudioPids": {
- "shape": "__string",
- "locationName": "audioPids"
- },
- "EcmPid": {
+ "Ip": {
"shape": "__string",
- "locationName": "ecmPid"
- },
- "NielsenId3Behavior": {
- "shape": "M3u8NielsenId3Behavior",
- "locationName": "nielsenId3Behavior"
- },
- "PatInterval": {
- "shape": "__integerMin0Max1000",
- "locationName": "patInterval"
- },
- "PcrControl": {
- "shape": "M3u8PcrControl",
- "locationName": "pcrControl"
- },
- "PcrPeriod": {
- "shape": "__integerMin0Max500",
- "locationName": "pcrPeriod"
+ "locationName": "ip"
},
- "PcrPid": {
+ "Port": {
"shape": "__string",
- "locationName": "pcrPid"
- },
- "PmtInterval": {
- "shape": "__integerMin0Max1000",
- "locationName": "pmtInterval"
+ "locationName": "port"
},
- "PmtPid": {
+ "Url": {
"shape": "__string",
- "locationName": "pmtPid"
- },
- "ProgramNum": {
- "shape": "__integerMin0Max65535",
- "locationName": "programNum"
+ "locationName": "url"
},
- "Scte35Behavior": {
- "shape": "M3u8Scte35Behavior",
- "locationName": "scte35Behavior"
+ "Vpc": {
+ "shape": "InputDestinationVpc",
+ "locationName": "vpc"
},
- "Scte35Pid": {
+ "Network": {
"shape": "__string",
- "locationName": "scte35Pid"
- },
- "TimedMetadataBehavior": {
- "shape": "M3u8TimedMetadataBehavior",
- "locationName": "timedMetadataBehavior"
+ "locationName": "network"
},
- "TimedMetadataPid": {
+ "NetworkRoutes": {
+ "shape": "__listOfInputDestinationRoute",
+ "locationName": "networkRoutes"
+ }
+ }
+ },
+ "InputDestinationRequest": {
+ "type": "structure",
+ "members": {
+ "StreamName": {
"shape": "__string",
- "locationName": "timedMetadataPid"
- },
- "TransportStreamId": {
- "shape": "__integerMin0Max65535",
- "locationName": "transportStreamId"
+ "locationName": "streamName"
},
- "VideoPid": {
+ "Network": {
"shape": "__string",
- "locationName": "videoPid"
+ "locationName": "network"
},
- "KlvBehavior": {
- "shape": "M3u8KlvBehavior",
- "locationName": "klvBehavior"
+ "NetworkRoutes": {
+ "shape": "__listOfInputRequestDestinationRoute",
+ "locationName": "networkRoutes"
},
- "KlvDataPids": {
+ "StaticIpAddress": {
"shape": "__string",
- "locationName": "klvDataPids"
+ "locationName": "staticIpAddress"
}
}
},
- "M3u8TimedMetadataBehavior": {
- "type": "string",
- "enum": [
- "NO_PASSTHROUGH",
- "PASSTHROUGH"
- ]
- },
- "MaintenanceCreateSettings": {
+ "InputDestinationVpc": {
"type": "structure",
"members": {
- "MaintenanceDay": {
- "shape": "MaintenanceDay",
- "locationName": "maintenanceDay"
+ "AvailabilityZone": {
+ "shape": "__string",
+ "locationName": "availabilityZone"
},
- "MaintenanceStartTime": {
- "shape": "__stringPattern010920300",
- "locationName": "maintenanceStartTime"
+ "NetworkInterfaceId": {
+ "shape": "__string",
+ "locationName": "networkInterfaceId"
}
}
},
- "MaintenanceDay": {
- "type": "string",
- "enum": [
- "MONDAY",
- "TUESDAY",
- "WEDNESDAY",
- "THURSDAY",
- "FRIDAY",
- "SATURDAY",
- "SUNDAY"
- ]
- },
- "MaintenanceStatus": {
+ "InputDevice": {
"type": "structure",
"members": {
- "MaintenanceDay": {
- "shape": "MaintenanceDay",
- "locationName": "maintenanceDay"
- },
- "MaintenanceDeadline": {
+ "Arn": {
"shape": "__string",
- "locationName": "maintenanceDeadline"
+ "locationName": "arn"
},
- "MaintenanceScheduledDate": {
+ "ConnectionState": {
+ "shape": "InputDeviceConnectionState",
+ "locationName": "connectionState"
+ },
+ "DeviceSettingsSyncState": {
+ "shape": "DeviceSettingsSyncState",
+ "locationName": "deviceSettingsSyncState"
+ },
+ "DeviceUpdateStatus": {
+ "shape": "DeviceUpdateStatus",
+ "locationName": "deviceUpdateStatus"
+ },
+ "HdDeviceSettings": {
+ "shape": "InputDeviceHdSettings",
+ "locationName": "hdDeviceSettings"
+ },
+ "Id": {
"shape": "__string",
- "locationName": "maintenanceScheduledDate"
+ "locationName": "id"
},
- "MaintenanceStartTime": {
+ "MacAddress": {
"shape": "__string",
- "locationName": "maintenanceStartTime"
- }
- }
- },
- "MaintenanceUpdateSettings": {
- "type": "structure",
- "members": {
- "MaintenanceDay": {
- "shape": "MaintenanceDay",
- "locationName": "maintenanceDay"
+ "locationName": "macAddress"
},
- "MaintenanceScheduledDate": {
+ "Name": {
"shape": "__string",
- "locationName": "maintenanceScheduledDate"
+ "locationName": "name"
},
- "MaintenanceStartTime": {
- "shape": "__stringPattern010920300",
- "locationName": "maintenanceStartTime"
- }
- }
- },
- "MaxResults": {
- "type": "integer",
- "min": 1,
- "max": 1000
- },
- "MediaConnectFlow": {
- "type": "structure",
- "members": {
- "FlowArn": {
+ "NetworkSettings": {
+ "shape": "InputDeviceNetworkSettings",
+ "locationName": "networkSettings"
+ },
+ "SerialNumber": {
"shape": "__string",
- "locationName": "flowArn"
- }
- }
- },
- "MediaConnectFlowRequest": {
- "type": "structure",
- "members": {
- "FlowArn": {
+ "locationName": "serialNumber"
+ },
+ "Type": {
+ "shape": "InputDeviceType",
+ "locationName": "type"
+ },
+ "UhdDeviceSettings": {
+ "shape": "InputDeviceUhdSettings",
+ "locationName": "uhdDeviceSettings"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "AvailabilityZone": {
"shape": "__string",
- "locationName": "flowArn"
+ "locationName": "availabilityZone"
+ },
+ "MedialiveInputArns": {
+ "shape": "__listOf__string",
+ "locationName": "medialiveInputArns"
+ },
+ "OutputType": {
+ "shape": "InputDeviceOutputType",
+ "locationName": "outputType"
}
}
},
- "MediaPackageGroupSettings": {
- "type": "structure",
- "members": {
- "Destination": {
- "shape": "OutputLocationRef",
- "locationName": "destination"
- }
- },
- "required": [
- "Destination"
+ "InputDeviceActiveInput": {
+ "type": "string",
+ "enum": [
+ "HDMI",
+ "SDI"
]
},
- "MediaPackageOutputDestinationSettings": {
- "type": "structure",
- "members": {
- "ChannelId": {
- "shape": "__stringMin1",
- "locationName": "channelId"
- }
- }
- },
- "MediaPackageOutputSettings": {
- "type": "structure",
- "members": {
- }
+ "InputDeviceCodec": {
+ "type": "string",
+ "enum": [
+ "HEVC",
+ "AVC"
+ ]
},
- "MotionGraphicsActivateScheduleActionSettings": {
+ "InputDeviceConfigurableSettings": {
"type": "structure",
"members": {
- "Duration": {
- "shape": "__longMin0Max86400000",
- "locationName": "duration"
+ "ConfiguredInput": {
+ "shape": "InputDeviceConfiguredInput",
+ "locationName": "configuredInput"
},
- "PasswordParam": {
- "shape": "__string",
- "locationName": "passwordParam"
+ "MaxBitrate": {
+ "shape": "__integer",
+ "locationName": "maxBitrate"
},
- "Url": {
- "shape": "__string",
- "locationName": "url"
+ "LatencyMs": {
+ "shape": "__integer",
+ "locationName": "latencyMs"
},
- "Username": {
- "shape": "__string",
- "locationName": "username"
+ "Codec": {
+ "shape": "InputDeviceCodec",
+ "locationName": "codec"
+ },
+ "MediaconnectSettings": {
+ "shape": "InputDeviceMediaConnectConfigurableSettings",
+ "locationName": "mediaconnectSettings"
+ },
+ "AudioChannelPairs": {
+ "shape": "__listOfInputDeviceConfigurableAudioChannelPairConfig",
+ "locationName": "audioChannelPairs"
}
}
},
- "MotionGraphicsConfiguration": {
+ "InputDeviceConfigurationValidationError": {
"type": "structure",
"members": {
- "MotionGraphicsInsertion": {
- "shape": "MotionGraphicsInsertion",
- "locationName": "motionGraphicsInsertion"
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
},
- "MotionGraphicsSettings": {
- "shape": "MotionGraphicsSettings",
- "locationName": "motionGraphicsSettings"
+ "ValidationErrors": {
+ "shape": "__listOfValidationError",
+ "locationName": "validationErrors"
}
- },
- "required": [
- "MotionGraphicsSettings"
- ]
- },
- "MotionGraphicsDeactivateScheduleActionSettings": {
- "type": "structure",
- "members": {
}
},
- "MotionGraphicsInsertion": {
+ "InputDeviceConfiguredInput": {
"type": "string",
"enum": [
- "DISABLED",
- "ENABLED"
+ "AUTO",
+ "HDMI",
+ "SDI"
]
},
- "MotionGraphicsSettings": {
- "type": "structure",
- "members": {
- "HtmlMotionGraphicsSettings": {
- "shape": "HtmlMotionGraphicsSettings",
- "locationName": "htmlMotionGraphicsSettings"
- }
- }
- },
- "Mp2CodingMode": {
+ "InputDeviceConnectionState": {
"type": "string",
"enum": [
- "CODING_MODE_1_0",
- "CODING_MODE_2_0"
+ "DISCONNECTED",
+ "CONNECTED"
]
},
- "Mp2Settings": {
+ "InputDeviceHdSettings": {
"type": "structure",
"members": {
- "Bitrate": {
- "shape": "__double",
- "locationName": "bitrate"
+ "ActiveInput": {
+ "shape": "InputDeviceActiveInput",
+ "locationName": "activeInput"
},
- "CodingMode": {
- "shape": "Mp2CodingMode",
- "locationName": "codingMode"
+ "ConfiguredInput": {
+ "shape": "InputDeviceConfiguredInput",
+ "locationName": "configuredInput"
},
- "SampleRate": {
+ "DeviceState": {
+ "shape": "InputDeviceState",
+ "locationName": "deviceState"
+ },
+ "Framerate": {
"shape": "__double",
- "locationName": "sampleRate"
+ "locationName": "framerate"
+ },
+ "Height": {
+ "shape": "__integer",
+ "locationName": "height"
+ },
+ "MaxBitrate": {
+ "shape": "__integer",
+ "locationName": "maxBitrate"
+ },
+ "ScanType": {
+ "shape": "InputDeviceScanType",
+ "locationName": "scanType"
+ },
+ "Width": {
+ "shape": "__integer",
+ "locationName": "width"
+ },
+ "LatencyMs": {
+ "shape": "__integer",
+ "locationName": "latencyMs"
}
}
},
- "Mpeg2AdaptiveQuantization": {
+ "InputDeviceIpScheme": {
"type": "string",
"enum": [
- "AUTO",
- "HIGH",
- "LOW",
- "MEDIUM",
- "OFF"
+ "STATIC",
+ "DHCP"
]
},
- "Mpeg2ColorMetadata": {
- "type": "string",
- "enum": [
- "IGNORE",
- "INSERT"
- ]
+ "InputDeviceMediaConnectConfigurableSettings": {
+ "type": "structure",
+ "members": {
+ "FlowArn": {
+ "shape": "__string",
+ "locationName": "flowArn"
+ },
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
+ },
+ "SecretArn": {
+ "shape": "__string",
+ "locationName": "secretArn"
+ },
+ "SourceName": {
+ "shape": "__string",
+ "locationName": "sourceName"
+ }
+ }
},
- "Mpeg2ColorSpace": {
- "type": "string",
- "enum": [
- "AUTO",
- "PASSTHROUGH"
- ]
+ "InputDeviceMediaConnectSettings": {
+ "type": "structure",
+ "members": {
+ "FlowArn": {
+ "shape": "__string",
+ "locationName": "flowArn"
+ },
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
+ },
+ "SecretArn": {
+ "shape": "__string",
+ "locationName": "secretArn"
+ },
+ "SourceName": {
+ "shape": "__string",
+ "locationName": "sourceName"
+ }
+ }
},
- "Mpeg2DisplayRatio": {
+ "InputDeviceNetworkSettings": {
+ "type": "structure",
+ "members": {
+ "DnsAddresses": {
+ "shape": "__listOf__string",
+ "locationName": "dnsAddresses"
+ },
+ "Gateway": {
+ "shape": "__string",
+ "locationName": "gateway"
+ },
+ "IpAddress": {
+ "shape": "__string",
+ "locationName": "ipAddress"
+ },
+ "IpScheme": {
+ "shape": "InputDeviceIpScheme",
+ "locationName": "ipScheme"
+ },
+ "SubnetMask": {
+ "shape": "__string",
+ "locationName": "subnetMask"
+ }
+ }
+ },
+ "InputDeviceOutputType": {
"type": "string",
"enum": [
- "DISPLAYRATIO16X9",
- "DISPLAYRATIO4X3"
+ "NONE",
+ "MEDIALIVE_INPUT",
+ "MEDIACONNECT_FLOW"
]
},
- "Mpeg2FilterSettings": {
+ "InputDeviceRequest": {
"type": "structure",
"members": {
- "TemporalFilterSettings": {
- "shape": "TemporalFilterSettings",
- "locationName": "temporalFilterSettings"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
}
}
},
- "Mpeg2GopSizeUnits": {
+ "InputDeviceScanType": {
"type": "string",
"enum": [
- "FRAMES",
- "SECONDS"
+ "INTERLACED",
+ "PROGRESSIVE"
]
},
- "Mpeg2ScanType": {
+ "InputDeviceSettings": {
+ "type": "structure",
+ "members": {
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ }
+ }
+ },
+ "InputDeviceState": {
"type": "string",
"enum": [
- "INTERLACED",
- "PROGRESSIVE"
+ "IDLE",
+ "STREAMING"
]
},
- "Mpeg2Settings": {
+ "InputDeviceSummary": {
"type": "structure",
"members": {
- "AdaptiveQuantization": {
- "shape": "Mpeg2AdaptiveQuantization",
- "locationName": "adaptiveQuantization"
- },
- "AfdSignaling": {
- "shape": "AfdSignaling",
- "locationName": "afdSignaling"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "ColorMetadata": {
- "shape": "Mpeg2ColorMetadata",
- "locationName": "colorMetadata"
+ "ConnectionState": {
+ "shape": "InputDeviceConnectionState",
+ "locationName": "connectionState"
},
- "ColorSpace": {
- "shape": "Mpeg2ColorSpace",
- "locationName": "colorSpace"
+ "DeviceSettingsSyncState": {
+ "shape": "DeviceSettingsSyncState",
+ "locationName": "deviceSettingsSyncState"
},
- "DisplayAspectRatio": {
- "shape": "Mpeg2DisplayRatio",
- "locationName": "displayAspectRatio"
+ "DeviceUpdateStatus": {
+ "shape": "DeviceUpdateStatus",
+ "locationName": "deviceUpdateStatus"
},
- "FilterSettings": {
- "shape": "Mpeg2FilterSettings",
- "locationName": "filterSettings"
+ "HdDeviceSettings": {
+ "shape": "InputDeviceHdSettings",
+ "locationName": "hdDeviceSettings"
},
- "FixedAfd": {
- "shape": "FixedAfd",
- "locationName": "fixedAfd"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
- "FramerateDenominator": {
- "shape": "__integerMin1",
- "locationName": "framerateDenominator"
+ "MacAddress": {
+ "shape": "__string",
+ "locationName": "macAddress"
},
- "FramerateNumerator": {
- "shape": "__integerMin1",
- "locationName": "framerateNumerator"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "GopClosedCadence": {
- "shape": "__integerMin0",
- "locationName": "gopClosedCadence"
+ "NetworkSettings": {
+ "shape": "InputDeviceNetworkSettings",
+ "locationName": "networkSettings"
},
- "GopNumBFrames": {
- "shape": "__integerMin0Max7",
- "locationName": "gopNumBFrames"
+ "SerialNumber": {
+ "shape": "__string",
+ "locationName": "serialNumber"
},
- "GopSize": {
- "shape": "__double",
- "locationName": "gopSize"
+ "Type": {
+ "shape": "InputDeviceType",
+ "locationName": "type"
},
- "GopSizeUnits": {
- "shape": "Mpeg2GopSizeUnits",
- "locationName": "gopSizeUnits"
+ "UhdDeviceSettings": {
+ "shape": "InputDeviceUhdSettings",
+ "locationName": "uhdDeviceSettings"
},
- "ScanType": {
- "shape": "Mpeg2ScanType",
- "locationName": "scanType"
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
},
- "SubgopLength": {
- "shape": "Mpeg2SubGopLength",
- "locationName": "subgopLength"
+ "AvailabilityZone": {
+ "shape": "__string",
+ "locationName": "availabilityZone"
},
- "TimecodeInsertion": {
- "shape": "Mpeg2TimecodeInsertionBehavior",
- "locationName": "timecodeInsertion"
+ "MedialiveInputArns": {
+ "shape": "__listOf__string",
+ "locationName": "medialiveInputArns"
},
- "TimecodeBurninSettings": {
- "shape": "TimecodeBurninSettings",
- "locationName": "timecodeBurninSettings"
+ "OutputType": {
+ "shape": "InputDeviceOutputType",
+ "locationName": "outputType"
}
- },
- "required": [
- "FramerateNumerator",
- "FramerateDenominator"
- ]
+ }
},
- "Mpeg2SubGopLength": {
+ "InputDeviceTransferType": {
"type": "string",
"enum": [
- "DYNAMIC",
- "FIXED"
+ "OUTGOING",
+ "INCOMING"
]
},
- "Mpeg2TimecodeInsertionBehavior": {
+ "InputDeviceType": {
"type": "string",
"enum": [
- "DISABLED",
- "GOP_TIMECODE"
+ "HD",
+ "UHD"
]
},
- "MsSmoothGroupSettings": {
+ "InputDeviceUhdSettings": {
"type": "structure",
"members": {
- "AcquisitionPointId": {
- "shape": "__string",
- "locationName": "acquisitionPointId"
- },
- "AudioOnlyTimecodeControl": {
- "shape": "SmoothGroupAudioOnlyTimecodeControl",
- "locationName": "audioOnlyTimecodeControl"
- },
- "CertificateMode": {
- "shape": "SmoothGroupCertificateMode",
- "locationName": "certificateMode"
- },
- "ConnectionRetryInterval": {
- "shape": "__integerMin0",
- "locationName": "connectionRetryInterval"
- },
- "Destination": {
- "shape": "OutputLocationRef",
- "locationName": "destination"
+ "ActiveInput": {
+ "shape": "InputDeviceActiveInput",
+ "locationName": "activeInput"
},
- "EventId": {
- "shape": "__string",
- "locationName": "eventId"
+ "ConfiguredInput": {
+ "shape": "InputDeviceConfiguredInput",
+ "locationName": "configuredInput"
},
- "EventIdMode": {
- "shape": "SmoothGroupEventIdMode",
- "locationName": "eventIdMode"
+ "DeviceState": {
+ "shape": "InputDeviceState",
+ "locationName": "deviceState"
},
- "EventStopBehavior": {
- "shape": "SmoothGroupEventStopBehavior",
- "locationName": "eventStopBehavior"
+ "Framerate": {
+ "shape": "__double",
+ "locationName": "framerate"
},
- "FilecacheDuration": {
- "shape": "__integerMin0",
- "locationName": "filecacheDuration"
+ "Height": {
+ "shape": "__integer",
+ "locationName": "height"
},
- "FragmentLength": {
- "shape": "__integerMin1",
- "locationName": "fragmentLength"
+ "MaxBitrate": {
+ "shape": "__integer",
+ "locationName": "maxBitrate"
},
- "InputLossAction": {
- "shape": "InputLossActionForMsSmoothOut",
- "locationName": "inputLossAction"
+ "ScanType": {
+ "shape": "InputDeviceScanType",
+ "locationName": "scanType"
},
- "NumRetries": {
- "shape": "__integerMin0",
- "locationName": "numRetries"
+ "Width": {
+ "shape": "__integer",
+ "locationName": "width"
},
- "RestartDelay": {
- "shape": "__integerMin0",
- "locationName": "restartDelay"
+ "LatencyMs": {
+ "shape": "__integer",
+ "locationName": "latencyMs"
},
- "SegmentationMode": {
- "shape": "SmoothGroupSegmentationMode",
- "locationName": "segmentationMode"
+ "Codec": {
+ "shape": "InputDeviceCodec",
+ "locationName": "codec"
},
- "SendDelayMs": {
- "shape": "__integerMin0Max10000",
- "locationName": "sendDelayMs"
+ "MediaconnectSettings": {
+ "shape": "InputDeviceMediaConnectSettings",
+ "locationName": "mediaconnectSettings"
},
- "SparseTrackType": {
- "shape": "SmoothGroupSparseTrackType",
- "locationName": "sparseTrackType"
+ "AudioChannelPairs": {
+ "shape": "__listOfInputDeviceUhdAudioChannelPairConfig",
+ "locationName": "audioChannelPairs"
+ }
+ }
+ },
+ "InputFilter": {
+ "type": "string",
+ "enum": [
+ "AUTO",
+ "DISABLED",
+ "FORCED"
+ ]
+ },
+ "InputLocation": {
+ "type": "structure",
+ "members": {
+ "PasswordParam": {
+ "shape": "__string",
+ "locationName": "passwordParam"
},
- "StreamManifestBehavior": {
- "shape": "SmoothGroupStreamManifestBehavior",
- "locationName": "streamManifestBehavior"
+ "Uri": {
+ "shape": "__stringMax2048",
+ "locationName": "uri"
},
- "TimestampOffset": {
+ "Username": {
"shape": "__string",
- "locationName": "timestampOffset"
- },
- "TimestampOffsetMode": {
- "shape": "SmoothGroupTimestampOffsetMode",
- "locationName": "timestampOffsetMode"
+ "locationName": "username"
}
},
"required": [
- "Destination"
+ "Uri"
]
},
- "MsSmoothH265PackagingType": {
+ "InputLossActionForHlsOut": {
"type": "string",
"enum": [
- "HEV1",
- "HVC1"
+ "EMIT_OUTPUT",
+ "PAUSE_OUTPUT"
]
},
- "MsSmoothOutputSettings": {
+ "InputLossActionForMsSmoothOut": {
+ "type": "string",
+ "enum": [
+ "EMIT_OUTPUT",
+ "PAUSE_OUTPUT"
+ ]
+ },
+ "InputLossActionForRtmpOut": {
+ "type": "string",
+ "enum": [
+ "EMIT_OUTPUT",
+ "PAUSE_OUTPUT"
+ ]
+ },
+ "InputLossActionForUdpOut": {
+ "type": "string",
+ "enum": [
+ "DROP_PROGRAM",
+ "DROP_TS",
+ "EMIT_PROGRAM"
+ ]
+ },
+ "InputLossBehavior": {
"type": "structure",
"members": {
- "H265PackagingType": {
- "shape": "MsSmoothH265PackagingType",
- "locationName": "h265PackagingType"
+ "BlackFrameMsec": {
+ "shape": "__integerMin0Max1000000",
+ "locationName": "blackFrameMsec"
},
- "NameModifier": {
+ "InputLossImageColor": {
+ "shape": "__stringMin6Max6",
+ "locationName": "inputLossImageColor"
+ },
+ "InputLossImageSlate": {
+ "shape": "InputLocation",
+ "locationName": "inputLossImageSlate"
+ },
+ "InputLossImageType": {
+ "shape": "InputLossImageType",
+ "locationName": "inputLossImageType"
+ },
+ "RepeatFrameMsec": {
+ "shape": "__integerMin0Max1000000",
+ "locationName": "repeatFrameMsec"
+ }
+ }
+ },
+ "InputLossFailoverSettings": {
+ "type": "structure",
+ "members": {
+ "InputLossThresholdMsec": {
+ "shape": "__integerMin100",
+ "locationName": "inputLossThresholdMsec"
+ }
+ }
+ },
+ "InputLossImageType": {
+ "type": "string",
+ "enum": [
+ "COLOR",
+ "SLATE"
+ ]
+ },
+ "InputMaximumBitrate": {
+ "type": "string",
+ "enum": [
+ "MAX_10_MBPS",
+ "MAX_20_MBPS",
+ "MAX_50_MBPS"
+ ]
+ },
+ "InputPreference": {
+ "type": "string",
+ "enum": [
+ "EQUAL_INPUT_PREFERENCE",
+ "PRIMARY_INPUT_PREFERRED"
+ ]
+ },
+ "InputPrepareScheduleActionSettings": {
+ "type": "structure",
+ "members": {
+ "InputAttachmentNameReference": {
"shape": "__string",
- "locationName": "nameModifier"
+ "locationName": "inputAttachmentNameReference"
+ },
+ "InputClippingSettings": {
+ "shape": "InputClippingSettings",
+ "locationName": "inputClippingSettings"
+ },
+ "UrlPath": {
+ "shape": "__listOf__string",
+ "locationName": "urlPath"
}
}
},
- "Multiplex": {
+ "InputResolution": {
+ "type": "string",
+ "enum": [
+ "SD",
+ "HD",
+ "UHD"
+ ]
+ },
+ "InputSecurityGroup": {
"type": "structure",
"members": {
"Arn": {
"shape": "__string",
"locationName": "arn"
},
- "AvailabilityZones": {
- "shape": "__listOf__string",
- "locationName": "availabilityZones"
- },
- "Destinations": {
- "shape": "__listOfMultiplexOutputDestination",
- "locationName": "destinations"
- },
"Id": {
"shape": "__string",
"locationName": "id"
},
- "MultiplexSettings": {
- "shape": "MultiplexSettings",
- "locationName": "multiplexSettings"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "PipelinesRunningCount": {
- "shape": "__integer",
- "locationName": "pipelinesRunningCount"
- },
- "ProgramCount": {
- "shape": "__integer",
- "locationName": "programCount"
+ "Inputs": {
+ "shape": "__listOf__string",
+ "locationName": "inputs"
},
"State": {
- "shape": "MultiplexState",
+ "shape": "InputSecurityGroupState",
"locationName": "state"
},
"Tags": {
"shape": "Tags",
"locationName": "tags"
- }
- }
- },
- "MultiplexConfigurationValidationError": {
- "type": "structure",
- "members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
},
- "ValidationErrors": {
- "shape": "__listOfValidationError",
- "locationName": "validationErrors"
- }
- }
- },
- "MultiplexGroupSettings": {
- "type": "structure",
- "members": {
- }
- },
- "MultiplexMediaConnectOutputDestinationSettings": {
- "type": "structure",
- "members": {
- "EntitlementArn": {
- "shape": "__stringMin1",
- "locationName": "entitlementArn"
- }
- }
- },
- "MultiplexOutputDestination": {
- "type": "structure",
- "members": {
- "MediaConnectSettings": {
- "shape": "MultiplexMediaConnectOutputDestinationSettings",
- "locationName": "mediaConnectSettings"
+ "WhitelistRules": {
+ "shape": "__listOfInputWhitelistRule",
+ "locationName": "whitelistRules"
}
}
},
- "MultiplexOutputSettings": {
- "type": "structure",
- "members": {
- "Destination": {
- "shape": "OutputLocationRef",
- "locationName": "destination"
- }
- },
- "required": [
- "Destination"
+ "InputSecurityGroupState": {
+ "type": "string",
+ "enum": [
+ "IDLE",
+ "IN_USE",
+ "UPDATING",
+ "DELETED"
]
},
- "MultiplexProgram": {
- "type": "structure",
- "members": {
- "ChannelId": {
- "shape": "__string",
- "locationName": "channelId"
- },
- "MultiplexProgramSettings": {
- "shape": "MultiplexProgramSettings",
- "locationName": "multiplexProgramSettings"
- },
- "PacketIdentifiersMap": {
- "shape": "MultiplexProgramPacketIdentifiersMap",
- "locationName": "packetIdentifiersMap"
- },
- "PipelineDetails": {
- "shape": "__listOfMultiplexProgramPipelineDetail",
- "locationName": "pipelineDetails"
- },
- "ProgramName": {
- "shape": "__string",
- "locationName": "programName"
- }
- }
- },
- "MultiplexProgramChannelDestinationSettings": {
+ "InputSecurityGroupWhitelistRequest": {
"type": "structure",
"members": {
- "MultiplexId": {
- "shape": "__stringMin1",
- "locationName": "multiplexId"
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
},
- "ProgramName": {
- "shape": "__stringMin1",
- "locationName": "programName"
+ "WhitelistRules": {
+ "shape": "__listOfInputWhitelistRuleCidr",
+ "locationName": "whitelistRules"
}
}
},
- "MultiplexProgramPacketIdentifiersMap": {
+ "InputSettings": {
"type": "structure",
"members": {
- "AudioPids": {
- "shape": "__listOf__integer",
- "locationName": "audioPids"
- },
- "DvbSubPids": {
- "shape": "__listOf__integer",
- "locationName": "dvbSubPids"
- },
- "DvbTeletextPid": {
- "shape": "__integer",
- "locationName": "dvbTeletextPid"
- },
- "EtvPlatformPid": {
- "shape": "__integer",
- "locationName": "etvPlatformPid"
+ "AudioSelectors": {
+ "shape": "__listOfAudioSelector",
+ "locationName": "audioSelectors"
},
- "EtvSignalPid": {
- "shape": "__integer",
- "locationName": "etvSignalPid"
+ "CaptionSelectors": {
+ "shape": "__listOfCaptionSelector",
+ "locationName": "captionSelectors"
},
- "KlvDataPids": {
- "shape": "__listOf__integer",
- "locationName": "klvDataPids"
+ "DeblockFilter": {
+ "shape": "InputDeblockFilter",
+ "locationName": "deblockFilter"
},
- "PcrPid": {
- "shape": "__integer",
- "locationName": "pcrPid"
+ "DenoiseFilter": {
+ "shape": "InputDenoiseFilter",
+ "locationName": "denoiseFilter"
},
- "PmtPid": {
- "shape": "__integer",
- "locationName": "pmtPid"
+ "FilterStrength": {
+ "shape": "__integerMin1Max5",
+ "locationName": "filterStrength"
},
- "PrivateMetadataPid": {
- "shape": "__integer",
- "locationName": "privateMetadataPid"
+ "InputFilter": {
+ "shape": "InputFilter",
+ "locationName": "inputFilter"
},
- "Scte27Pids": {
- "shape": "__listOf__integer",
- "locationName": "scte27Pids"
+ "NetworkInputSettings": {
+ "shape": "NetworkInputSettings",
+ "locationName": "networkInputSettings"
},
"Scte35Pid": {
- "shape": "__integer",
+ "shape": "__integerMin32Max8191",
"locationName": "scte35Pid"
},
- "TimedMetadataPid": {
- "shape": "__integer",
- "locationName": "timedMetadataPid"
- },
- "VideoPid": {
- "shape": "__integer",
- "locationName": "videoPid"
- },
- "AribCaptionsPid": {
- "shape": "__integer",
- "locationName": "aribCaptionsPid"
- },
- "DvbTeletextPids": {
- "shape": "__listOf__integer",
- "locationName": "dvbTeletextPids"
+ "Smpte2038DataPreference": {
+ "shape": "Smpte2038DataPreference",
+ "locationName": "smpte2038DataPreference"
},
- "EcmPid": {
- "shape": "__integer",
- "locationName": "ecmPid"
+ "SourceEndBehavior": {
+ "shape": "InputSourceEndBehavior",
+ "locationName": "sourceEndBehavior"
},
- "Smpte2038Pid": {
- "shape": "__integer",
- "locationName": "smpte2038Pid"
+ "VideoSelector": {
+ "shape": "VideoSelector",
+ "locationName": "videoSelector"
}
}
},
- "MultiplexProgramPipelineDetail": {
+ "InputSource": {
"type": "structure",
"members": {
- "ActiveChannelPipeline": {
+ "PasswordParam": {
"shape": "__string",
- "locationName": "activeChannelPipeline"
+ "locationName": "passwordParam"
},
- "PipelineId": {
+ "Url": {
"shape": "__string",
- "locationName": "pipelineId"
+ "locationName": "url"
+ },
+ "Username": {
+ "shape": "__string",
+ "locationName": "username"
}
}
},
- "MultiplexProgramServiceDescriptor": {
+ "InputSourceEndBehavior": {
+ "type": "string",
+ "enum": [
+ "CONTINUE",
+ "LOOP"
+ ]
+ },
+ "InputSourceRequest": {
"type": "structure",
"members": {
- "ProviderName": {
- "shape": "__stringMax256",
- "locationName": "providerName"
+ "PasswordParam": {
+ "shape": "__string",
+ "locationName": "passwordParam"
},
- "ServiceName": {
- "shape": "__stringMax256",
- "locationName": "serviceName"
+ "Url": {
+ "shape": "__string",
+ "locationName": "url"
+ },
+ "Username": {
+ "shape": "__string",
+ "locationName": "username"
}
- },
- "required": [
- "ProviderName",
- "ServiceName"
+ }
+ },
+ "InputSourceType": {
+ "type": "string",
+ "enum": [
+ "STATIC",
+ "DYNAMIC"
]
},
- "MultiplexProgramSettings": {
+ "InputSpecification": {
"type": "structure",
"members": {
- "PreferredChannelPipeline": {
- "shape": "PreferredChannelPipeline",
- "locationName": "preferredChannelPipeline"
- },
- "ProgramNumber": {
- "shape": "__integerMin0Max65535",
- "locationName": "programNumber"
+ "Codec": {
+ "shape": "InputCodec",
+ "locationName": "codec"
},
- "ServiceDescriptor": {
- "shape": "MultiplexProgramServiceDescriptor",
- "locationName": "serviceDescriptor"
+ "MaximumBitrate": {
+ "shape": "InputMaximumBitrate",
+ "locationName": "maximumBitrate"
},
- "VideoSettings": {
- "shape": "MultiplexVideoSettings",
- "locationName": "videoSettings"
+ "Resolution": {
+ "shape": "InputResolution",
+ "locationName": "resolution"
}
- },
- "required": [
- "ProgramNumber"
+ }
+ },
+ "InputState": {
+ "type": "string",
+ "enum": [
+ "CREATING",
+ "DETACHED",
+ "ATTACHED",
+ "DELETING",
+ "DELETED"
]
},
- "MultiplexProgramSummary": {
+ "InputSwitchScheduleActionSettings": {
"type": "structure",
"members": {
- "ChannelId": {
+ "InputAttachmentNameReference": {
"shape": "__string",
- "locationName": "channelId"
+ "locationName": "inputAttachmentNameReference"
},
- "ProgramName": {
- "shape": "__string",
- "locationName": "programName"
+ "InputClippingSettings": {
+ "shape": "InputClippingSettings",
+ "locationName": "inputClippingSettings"
+ },
+ "UrlPath": {
+ "shape": "__listOf__string",
+ "locationName": "urlPath"
}
- }
+ },
+ "required": [
+ "InputAttachmentNameReference"
+ ]
},
- "MultiplexSettings": {
+ "InputTimecodeSource": {
+ "type": "string",
+ "enum": [
+ "ZEROBASED",
+ "EMBEDDED"
+ ]
+ },
+ "InputType": {
+ "type": "string",
+ "enum": [
+ "UDP_PUSH",
+ "RTP_PUSH",
+ "RTMP_PUSH",
+ "RTMP_PULL",
+ "URL_PULL",
+ "MP4_FILE",
+ "MEDIACONNECT",
+ "INPUT_DEVICE",
+ "AWS_CDI",
+ "TS_FILE",
+ "SRT_CALLER",
+ "MULTICAST"
+ ]
+ },
+ "InputVpcRequest": {
"type": "structure",
"members": {
- "MaximumVideoBufferDelayMilliseconds": {
- "shape": "__integerMin800Max3000",
- "locationName": "maximumVideoBufferDelayMilliseconds"
- },
- "TransportStreamBitrate": {
- "shape": "__integerMin1000000Max100000000",
- "locationName": "transportStreamBitrate"
- },
- "TransportStreamId": {
- "shape": "__integerMin0Max65535",
- "locationName": "transportStreamId"
+ "SecurityGroupIds": {
+ "shape": "__listOf__string",
+ "locationName": "securityGroupIds"
},
- "TransportStreamReservedBitrate": {
- "shape": "__integerMin0Max100000000",
- "locationName": "transportStreamReservedBitrate"
+ "SubnetIds": {
+ "shape": "__listOf__string",
+ "locationName": "subnetIds"
}
},
"required": [
- "TransportStreamBitrate",
- "TransportStreamId"
+ "SubnetIds"
]
},
- "MultiplexSettingsSummary": {
+ "InputWhitelistRule": {
"type": "structure",
"members": {
- "TransportStreamBitrate": {
- "shape": "__integerMin1000000Max100000000",
- "locationName": "transportStreamBitrate"
+ "Cidr": {
+ "shape": "__string",
+ "locationName": "cidr"
}
}
},
- "MultiplexState": {
- "type": "string",
- "enum": [
- "CREATING",
- "CREATE_FAILED",
- "IDLE",
- "STARTING",
- "RUNNING",
- "RECOVERING",
- "STOPPING",
- "DELETING",
- "DELETED"
- ]
- },
- "MultiplexStatmuxVideoSettings": {
+ "InputWhitelistRuleCidr": {
"type": "structure",
"members": {
- "MaximumBitrate": {
- "shape": "__integerMin100000Max100000000",
- "locationName": "maximumBitrate"
- },
- "MinimumBitrate": {
- "shape": "__integerMin100000Max100000000",
- "locationName": "minimumBitrate"
- },
- "Priority": {
- "shape": "__integerMinNegative5Max5",
- "locationName": "priority"
+ "Cidr": {
+ "shape": "__string",
+ "locationName": "cidr"
}
}
},
- "MultiplexSummary": {
+ "InternalServerErrorException": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "AvailabilityZones": {
- "shape": "__listOf__string",
- "locationName": "availabilityZones"
- },
- "Id": {
- "shape": "__string",
- "locationName": "id"
- },
- "MultiplexSettings": {
- "shape": "MultiplexSettingsSummary",
- "locationName": "multiplexSettings"
- },
- "Name": {
+ "Message": {
"shape": "__string",
- "locationName": "name"
- },
- "PipelinesRunningCount": {
- "shape": "__integer",
- "locationName": "pipelinesRunningCount"
- },
- "ProgramCount": {
- "shape": "__integer",
- "locationName": "programCount"
- },
- "State": {
- "shape": "MultiplexState",
- "locationName": "state"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "locationName": "message"
}
+ },
+ "exception": true,
+ "error": {
+ "httpStatusCode": 500
}
},
- "MultiplexVideoSettings": {
+ "InternalServiceError": {
"type": "structure",
"members": {
- "ConstantBitrate": {
- "shape": "__integerMin100000Max100000000",
- "locationName": "constantBitrate"
- },
- "StatmuxSettings": {
- "shape": "MultiplexStatmuxVideoSettings",
- "locationName": "statmuxSettings"
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
}
}
},
- "NetworkInputServerValidation": {
- "type": "string",
- "enum": [
- "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME",
- "CHECK_CRYPTOGRAPHY_ONLY"
- ]
- },
- "NetworkInputSettings": {
+ "InvalidRequest": {
"type": "structure",
"members": {
- "HlsInputSettings": {
- "shape": "HlsInputSettings",
- "locationName": "hlsInputSettings"
- },
- "ServerValidation": {
- "shape": "NetworkInputServerValidation",
- "locationName": "serverValidation"
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
}
}
},
- "NielsenCBET": {
+ "KeyProviderSettings": {
"type": "structure",
"members": {
- "CbetCheckDigitString": {
- "shape": "__stringMin2Max2",
- "locationName": "cbetCheckDigitString"
- },
- "CbetStepaside": {
- "shape": "NielsenWatermarksCbetStepaside",
- "locationName": "cbetStepaside"
- },
- "Csid": {
- "shape": "__stringMin1Max7",
- "locationName": "csid"
+ "StaticKeySettings": {
+ "shape": "StaticKeySettings",
+ "locationName": "staticKeySettings"
}
- },
- "required": [
- "CbetCheckDigitString",
- "CbetStepaside",
- "Csid"
+ }
+ },
+ "LastFrameClippingBehavior": {
+ "type": "string",
+ "enum": [
+ "EXCLUDE_LAST_FRAME",
+ "INCLUDE_LAST_FRAME"
]
},
- "NielsenConfiguration": {
+ "LimitExceeded": {
"type": "structure",
"members": {
- "DistributorId": {
+ "Message": {
"shape": "__string",
- "locationName": "distributorId"
- },
- "NielsenPcmToId3Tagging": {
- "shape": "NielsenPcmToId3TaggingState",
- "locationName": "nielsenPcmToId3Tagging"
+ "locationName": "message"
}
}
},
- "NielsenNaesIiNw": {
+ "ListChannelsRequest": {
"type": "structure",
"members": {
- "CheckDigitString": {
- "shape": "__stringMin2Max2",
- "locationName": "checkDigitString"
- },
- "Sid": {
- "shape": "__doubleMin1Max65535",
- "locationName": "sid"
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
},
- "Timezone": {
- "shape": "NielsenWatermarkTimezones",
- "locationName": "timezone"
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
}
- },
- "required": [
- "CheckDigitString",
- "Sid"
- ]
- },
- "NielsenPcmToId3TaggingState": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "NielsenWatermarkTimezones": {
- "type": "string",
- "enum": [
- "AMERICA_PUERTO_RICO",
- "US_ALASKA",
- "US_ARIZONA",
- "US_CENTRAL",
- "US_EASTERN",
- "US_HAWAII",
- "US_MOUNTAIN",
- "US_PACIFIC",
- "US_SAMOA",
- "UTC"
- ]
- },
- "NielsenWatermarksCbetStepaside": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "NielsenWatermarksDistributionTypes": {
- "type": "string",
- "enum": [
- "FINAL_DISTRIBUTOR",
- "PROGRAM_CONTENT"
- ]
+ }
},
- "NielsenWatermarksSettings": {
+ "ListChannelsResponse": {
"type": "structure",
"members": {
- "NielsenCbetSettings": {
- "shape": "NielsenCBET",
- "locationName": "nielsenCbetSettings"
- },
- "NielsenDistributionType": {
- "shape": "NielsenWatermarksDistributionTypes",
- "locationName": "nielsenDistributionType"
+ "Channels": {
+ "shape": "__listOfChannelSummary",
+ "locationName": "channels"
},
- "NielsenNaesIiNwSettings": {
- "shape": "NielsenNaesIiNw",
- "locationName": "nielsenNaesIiNwSettings"
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
}
}
},
- "NotFoundException": {
+ "ListChannelsResultModel": {
"type": "structure",
"members": {
- "Message": {
+ "Channels": {
+ "shape": "__listOfChannelSummary",
+ "locationName": "channels"
+ },
+ "NextToken": {
"shape": "__string",
- "locationName": "message"
+ "locationName": "nextToken"
}
- },
- "exception": true,
- "error": {
- "httpStatusCode": 404
}
},
- "Offering": {
+ "ListInputDeviceTransfersRequest": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "CurrencyCode": {
- "shape": "__string",
- "locationName": "currencyCode"
- },
- "Duration": {
- "shape": "__integer",
- "locationName": "duration"
- },
- "DurationUnits": {
- "shape": "OfferingDurationUnits",
- "locationName": "durationUnits"
- },
- "FixedPrice": {
- "shape": "__double",
- "locationName": "fixedPrice"
- },
- "OfferingDescription": {
- "shape": "__string",
- "locationName": "offeringDescription"
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
},
- "OfferingId": {
+ "NextToken": {
"shape": "__string",
- "locationName": "offeringId"
- },
- "OfferingType": {
- "shape": "OfferingType",
- "locationName": "offeringType"
+ "location": "querystring",
+ "locationName": "nextToken"
},
- "Region": {
+ "TransferType": {
"shape": "__string",
- "locationName": "region"
- },
- "ResourceSpecification": {
- "shape": "ReservationResourceSpecification",
- "locationName": "resourceSpecification"
- },
- "UsagePrice": {
- "shape": "__double",
- "locationName": "usagePrice"
+ "location": "querystring",
+ "locationName": "transferType"
}
- }
- },
- "OfferingDurationUnits": {
- "type": "string",
- "enum": [
- "MONTHS"
- ]
- },
- "OfferingType": {
- "type": "string",
- "enum": [
- "NO_UPFRONT"
+ },
+ "required": [
+ "TransferType"
]
},
- "Output": {
+ "ListInputDeviceTransfersResponse": {
"type": "structure",
"members": {
- "AudioDescriptionNames": {
- "shape": "__listOf__string",
- "locationName": "audioDescriptionNames"
- },
- "CaptionDescriptionNames": {
- "shape": "__listOf__string",
- "locationName": "captionDescriptionNames"
- },
- "OutputName": {
- "shape": "__stringMin1Max255",
- "locationName": "outputName"
- },
- "OutputSettings": {
- "shape": "OutputSettings",
- "locationName": "outputSettings"
+ "InputDeviceTransfers": {
+ "shape": "__listOfTransferringInputDeviceSummary",
+ "locationName": "inputDeviceTransfers"
},
- "VideoDescriptionName": {
+ "NextToken": {
"shape": "__string",
- "locationName": "videoDescriptionName"
+ "locationName": "nextToken"
}
- },
- "required": [
- "OutputSettings"
- ]
+ }
},
- "OutputDestination": {
+ "ListInputDeviceTransfersResultModel": {
"type": "structure",
"members": {
- "Id": {
- "shape": "__string",
- "locationName": "id"
- },
- "MediaPackageSettings": {
- "shape": "__listOfMediaPackageOutputDestinationSettings",
- "locationName": "mediaPackageSettings"
- },
- "MultiplexSettings": {
- "shape": "MultiplexProgramChannelDestinationSettings",
- "locationName": "multiplexSettings"
+ "InputDeviceTransfers": {
+ "shape": "__listOfTransferringInputDeviceSummary",
+ "locationName": "inputDeviceTransfers"
},
- "Settings": {
- "shape": "__listOfOutputDestinationSettings",
- "locationName": "settings"
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
}
}
},
- "OutputDestinationSettings": {
+ "ListInputDevicesRequest": {
"type": "structure",
"members": {
- "PasswordParam": {
- "shape": "__string",
- "locationName": "passwordParam"
- },
- "StreamName": {
- "shape": "__string",
- "locationName": "streamName"
- },
- "Url": {
- "shape": "__string",
- "locationName": "url"
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
},
- "Username": {
+ "NextToken": {
"shape": "__string",
- "locationName": "username"
+ "location": "querystring",
+ "locationName": "nextToken"
}
}
},
- "OutputGroup": {
+ "ListInputDevicesResponse": {
"type": "structure",
"members": {
- "Name": {
- "shape": "__stringMax32",
- "locationName": "name"
- },
- "OutputGroupSettings": {
- "shape": "OutputGroupSettings",
- "locationName": "outputGroupSettings"
+ "InputDevices": {
+ "shape": "__listOfInputDeviceSummary",
+ "locationName": "inputDevices"
},
- "Outputs": {
- "shape": "__listOfOutput",
- "locationName": "outputs"
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
}
- },
- "required": [
- "Outputs",
- "OutputGroupSettings"
- ]
+ }
},
- "OutputGroupSettings": {
+ "ListInputDevicesResultModel": {
"type": "structure",
"members": {
- "ArchiveGroupSettings": {
- "shape": "ArchiveGroupSettings",
- "locationName": "archiveGroupSettings"
- },
- "FrameCaptureGroupSettings": {
- "shape": "FrameCaptureGroupSettings",
- "locationName": "frameCaptureGroupSettings"
- },
- "HlsGroupSettings": {
- "shape": "HlsGroupSettings",
- "locationName": "hlsGroupSettings"
- },
- "MediaPackageGroupSettings": {
- "shape": "MediaPackageGroupSettings",
- "locationName": "mediaPackageGroupSettings"
- },
- "MsSmoothGroupSettings": {
- "shape": "MsSmoothGroupSettings",
- "locationName": "msSmoothGroupSettings"
- },
- "MultiplexGroupSettings": {
- "shape": "MultiplexGroupSettings",
- "locationName": "multiplexGroupSettings"
- },
- "RtmpGroupSettings": {
- "shape": "RtmpGroupSettings",
- "locationName": "rtmpGroupSettings"
- },
- "UdpGroupSettings": {
- "shape": "UdpGroupSettings",
- "locationName": "udpGroupSettings"
+ "InputDevices": {
+ "shape": "__listOfInputDeviceSummary",
+ "locationName": "inputDevices"
},
- "CmafIngestGroupSettings": {
- "shape": "CmafIngestGroupSettings",
- "locationName": "cmafIngestGroupSettings"
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
}
}
},
- "OutputLocationRef": {
+ "ListInputSecurityGroupsRequest": {
"type": "structure",
"members": {
- "DestinationRefId": {
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
+ },
+ "NextToken": {
"shape": "__string",
- "locationName": "destinationRefId"
+ "location": "querystring",
+ "locationName": "nextToken"
}
}
},
- "OutputLockingSettings": {
+ "ListInputSecurityGroupsResponse": {
"type": "structure",
"members": {
- "EpochLockingSettings": {
- "shape": "EpochLockingSettings",
- "locationName": "epochLockingSettings"
+ "InputSecurityGroups": {
+ "shape": "__listOfInputSecurityGroup",
+ "locationName": "inputSecurityGroups"
},
- "PipelineLockingSettings": {
- "shape": "PipelineLockingSettings",
- "locationName": "pipelineLockingSettings"
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
}
}
},
- "OutputSettings": {
+ "ListInputSecurityGroupsResultModel": {
"type": "structure",
"members": {
- "ArchiveOutputSettings": {
- "shape": "ArchiveOutputSettings",
- "locationName": "archiveOutputSettings"
- },
- "FrameCaptureOutputSettings": {
- "shape": "FrameCaptureOutputSettings",
- "locationName": "frameCaptureOutputSettings"
- },
- "HlsOutputSettings": {
- "shape": "HlsOutputSettings",
- "locationName": "hlsOutputSettings"
- },
- "MediaPackageOutputSettings": {
- "shape": "MediaPackageOutputSettings",
- "locationName": "mediaPackageOutputSettings"
- },
- "MsSmoothOutputSettings": {
- "shape": "MsSmoothOutputSettings",
- "locationName": "msSmoothOutputSettings"
- },
- "MultiplexOutputSettings": {
- "shape": "MultiplexOutputSettings",
- "locationName": "multiplexOutputSettings"
- },
- "RtmpOutputSettings": {
- "shape": "RtmpOutputSettings",
- "locationName": "rtmpOutputSettings"
- },
- "UdpOutputSettings": {
- "shape": "UdpOutputSettings",
- "locationName": "udpOutputSettings"
+ "InputSecurityGroups": {
+ "shape": "__listOfInputSecurityGroup",
+ "locationName": "inputSecurityGroups"
},
- "CmafIngestOutputSettings": {
- "shape": "CmafIngestOutputSettings",
- "locationName": "cmafIngestOutputSettings"
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
}
}
},
- "PassThroughSettings": {
+ "ListInputsRequest": {
"type": "structure",
"members": {
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
+ }
}
},
- "PauseStateScheduleActionSettings": {
+ "ListInputsResponse": {
"type": "structure",
"members": {
- "Pipelines": {
- "shape": "__listOfPipelinePauseStateSettings",
- "locationName": "pipelines"
+ "Inputs": {
+ "shape": "__listOfInput",
+ "locationName": "inputs"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
}
}
},
- "PipelineDetail": {
+ "ListInputsResultModel": {
"type": "structure",
"members": {
- "ActiveInputAttachmentName": {
- "shape": "__string",
- "locationName": "activeInputAttachmentName"
- },
- "ActiveInputSwitchActionName": {
- "shape": "__string",
- "locationName": "activeInputSwitchActionName"
+ "Inputs": {
+ "shape": "__listOfInput",
+ "locationName": "inputs"
},
- "ActiveMotionGraphicsActionName": {
+ "NextToken": {
"shape": "__string",
- "locationName": "activeMotionGraphicsActionName"
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "ListMultiplexProgramsRequest": {
+ "type": "structure",
+ "members": {
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
},
- "ActiveMotionGraphicsUri": {
+ "MultiplexId": {
"shape": "__string",
- "locationName": "activeMotionGraphicsUri"
+ "location": "uri",
+ "locationName": "multiplexId"
},
- "PipelineId": {
+ "NextToken": {
"shape": "__string",
- "locationName": "pipelineId"
+ "location": "querystring",
+ "locationName": "nextToken"
}
- }
- },
- "PipelineId": {
- "type": "string",
- "enum": [
- "PIPELINE_0",
- "PIPELINE_1"
+ },
+ "required": [
+ "MultiplexId"
]
},
- "PipelineLockingSettings": {
+ "ListMultiplexProgramsResponse": {
"type": "structure",
"members": {
+ "MultiplexPrograms": {
+ "shape": "__listOfMultiplexProgramSummary",
+ "locationName": "multiplexPrograms"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ }
}
},
- "PipelinePauseStateSettings": {
+ "ListMultiplexProgramsResultModel": {
"type": "structure",
"members": {
- "PipelineId": {
- "shape": "PipelineId",
- "locationName": "pipelineId"
+ "MultiplexPrograms": {
+ "shape": "__listOfMultiplexProgramSummary",
+ "locationName": "multiplexPrograms"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
}
- },
- "required": [
- "PipelineId"
- ]
- },
- "PreferredChannelPipeline": {
- "type": "string",
- "enum": [
- "CURRENTLY_ACTIVE",
- "PIPELINE_0",
- "PIPELINE_1"
- ]
+ }
},
- "PurchaseOffering": {
+ "ListMultiplexesRequest": {
"type": "structure",
"members": {
- "Count": {
- "shape": "__integerMin1",
- "locationName": "count"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "RenewalSettings": {
- "shape": "RenewalSettings",
- "locationName": "renewalSettings"
- },
- "RequestId": {
- "shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
},
- "Start": {
+ "NextToken": {
"shape": "__string",
- "locationName": "start"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "location": "querystring",
+ "locationName": "nextToken"
}
- },
- "required": [
- "Count"
- ]
+ }
},
- "PurchaseOfferingRequest": {
+ "ListMultiplexesResponse": {
"type": "structure",
"members": {
- "Count": {
- "shape": "__integerMin1",
- "locationName": "count"
+ "Multiplexes": {
+ "shape": "__listOfMultiplexSummary",
+ "locationName": "multiplexes"
},
- "Name": {
+ "NextToken": {
"shape": "__string",
- "locationName": "name"
- },
- "OfferingId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "offeringId"
- },
- "RenewalSettings": {
- "shape": "RenewalSettings",
- "locationName": "renewalSettings"
- },
- "RequestId": {
- "shape": "__string",
- "locationName": "requestId",
- "idempotencyToken": true
- },
- "Start": {
- "shape": "__string",
- "locationName": "start"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "locationName": "nextToken"
}
- },
- "required": [
- "OfferingId",
- "Count"
- ]
+ }
},
- "PurchaseOfferingResponse": {
+ "ListMultiplexesResultModel": {
"type": "structure",
"members": {
- "Reservation": {
- "shape": "Reservation",
- "locationName": "reservation"
+ "Multiplexes": {
+ "shape": "__listOfMultiplexSummary",
+ "locationName": "multiplexes"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
}
}
},
- "PurchaseOfferingResultModel": {
+ "ListOfferingsRequest": {
"type": "structure",
"members": {
- "Reservation": {
- "shape": "Reservation",
- "locationName": "reservation"
+ "ChannelClass": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "channelClass"
+ },
+ "ChannelConfiguration": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "channelConfiguration"
+ },
+ "Codec": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "codec"
+ },
+ "Duration": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "duration"
+ },
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
+ },
+ "MaximumBitrate": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "maximumBitrate"
+ },
+ "MaximumFramerate": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "maximumFramerate"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
+ },
+ "Resolution": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "resolution"
+ },
+ "ResourceType": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "resourceType"
+ },
+ "SpecialFeature": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "specialFeature"
+ },
+ "VideoQuality": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "videoQuality"
}
}
},
- "RawSettings": {
+ "ListOfferingsResponse": {
"type": "structure",
"members": {
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ },
+ "Offerings": {
+ "shape": "__listOfOffering",
+ "locationName": "offerings"
+ }
}
},
- "RebootInputDevice": {
+ "ListOfferingsResultModel": {
"type": "structure",
"members": {
- "Force": {
- "shape": "RebootInputDeviceForce",
- "locationName": "force"
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ },
+ "Offerings": {
+ "shape": "__listOfOffering",
+ "locationName": "offerings"
}
}
},
- "RebootInputDeviceForce": {
- "type": "string",
- "enum": [
- "NO",
- "YES"
- ]
- },
- "RebootInputDeviceRequest": {
+ "ListReservationsRequest": {
"type": "structure",
"members": {
- "Force": {
- "shape": "RebootInputDeviceForce",
- "locationName": "force"
+ "ChannelClass": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "channelClass"
},
- "InputDeviceId": {
+ "Codec": {
"shape": "__string",
- "location": "uri",
- "locationName": "inputDeviceId"
+ "location": "querystring",
+ "locationName": "codec"
+ },
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
+ },
+ "MaximumBitrate": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "maximumBitrate"
+ },
+ "MaximumFramerate": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "maximumFramerate"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
+ },
+ "Resolution": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "resolution"
+ },
+ "ResourceType": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "resourceType"
+ },
+ "SpecialFeature": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "specialFeature"
+ },
+ "VideoQuality": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "videoQuality"
}
- },
- "required": [
- "InputDeviceId"
- ]
- },
- "RebootInputDeviceResponse": {
- "type": "structure",
- "members": {
}
},
- "Rec601Settings": {
+ "ListReservationsResponse": {
"type": "structure",
"members": {
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ },
+ "Reservations": {
+ "shape": "__listOfReservation",
+ "locationName": "reservations"
+ }
}
},
- "Rec709Settings": {
+ "ListReservationsResultModel": {
"type": "structure",
"members": {
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ },
+ "Reservations": {
+ "shape": "__listOfReservation",
+ "locationName": "reservations"
+ }
}
},
- "RejectInputDeviceTransferRequest": {
+ "ListTagsForResourceRequest": {
"type": "structure",
"members": {
- "InputDeviceId": {
+ "ResourceArn": {
"shape": "__string",
"location": "uri",
- "locationName": "inputDeviceId"
+ "locationName": "resource-arn"
}
},
"required": [
- "InputDeviceId"
+ "ResourceArn"
]
},
- "RejectInputDeviceTransferResponse": {
- "type": "structure",
- "members": {
- }
- },
- "RemixSettings": {
+ "ListTagsForResourceResponse": {
"type": "structure",
"members": {
- "ChannelMappings": {
- "shape": "__listOfAudioChannelMapping",
- "locationName": "channelMappings"
- },
- "ChannelsIn": {
- "shape": "__integerMin1Max16",
- "locationName": "channelsIn"
- },
- "ChannelsOut": {
- "shape": "__integerMin1Max8",
- "locationName": "channelsOut"
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
}
- },
- "required": [
- "ChannelMappings"
- ]
+ }
},
- "RenewalSettings": {
- "type": "structure",
- "members": {
- "AutomaticRenewal": {
- "shape": "ReservationAutomaticRenewal",
- "locationName": "automaticRenewal"
- },
- "RenewalCount": {
- "shape": "__integerMin1",
- "locationName": "renewalCount"
- }
- }
+ "LogLevel": {
+ "type": "string",
+ "enum": [
+ "ERROR",
+ "WARNING",
+ "INFO",
+ "DEBUG",
+ "DISABLED"
+ ]
},
- "Reservation": {
- "type": "structure",
- "members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "Count": {
- "shape": "__integer",
- "locationName": "count"
- },
- "CurrencyCode": {
- "shape": "__string",
- "locationName": "currencyCode"
- },
- "Duration": {
- "shape": "__integer",
- "locationName": "duration"
- },
- "DurationUnits": {
- "shape": "OfferingDurationUnits",
- "locationName": "durationUnits"
- },
- "End": {
- "shape": "__string",
- "locationName": "end"
- },
- "FixedPrice": {
- "shape": "__double",
- "locationName": "fixedPrice"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "OfferingDescription": {
- "shape": "__string",
- "locationName": "offeringDescription"
- },
- "OfferingId": {
- "shape": "__string",
- "locationName": "offeringId"
- },
- "OfferingType": {
- "shape": "OfferingType",
- "locationName": "offeringType"
- },
- "Region": {
- "shape": "__string",
- "locationName": "region"
- },
- "RenewalSettings": {
- "shape": "RenewalSettings",
- "locationName": "renewalSettings"
- },
- "ReservationId": {
- "shape": "__string",
- "locationName": "reservationId"
- },
- "ResourceSpecification": {
- "shape": "ReservationResourceSpecification",
- "locationName": "resourceSpecification"
- },
- "Start": {
- "shape": "__string",
- "locationName": "start"
- },
- "State": {
- "shape": "ReservationState",
- "locationName": "state"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- },
- "UsagePrice": {
- "shape": "__double",
- "locationName": "usagePrice"
- }
- }
+ "M2tsAbsentInputAudioBehavior": {
+ "type": "string",
+ "enum": [
+ "DROP",
+ "ENCODE_SILENCE"
+ ]
},
- "ReservationAutomaticRenewal": {
+ "M2tsArib": {
"type": "string",
"enum": [
"DISABLED",
- "ENABLED",
- "UNAVAILABLE"
+ "ENABLED"
]
},
- "ReservationCodec": {
+ "M2tsAribCaptionsPidControl": {
"type": "string",
"enum": [
- "MPEG2",
- "AVC",
- "HEVC",
- "AUDIO",
- "LINK"
+ "AUTO",
+ "USE_CONFIGURED"
]
},
- "ReservationMaximumBitrate": {
+ "M2tsAudioBufferModel": {
"type": "string",
"enum": [
- "MAX_10_MBPS",
- "MAX_20_MBPS",
- "MAX_50_MBPS"
+ "ATSC",
+ "DVB"
]
},
- "ReservationMaximumFramerate": {
+ "M2tsAudioInterval": {
"type": "string",
"enum": [
- "MAX_30_FPS",
- "MAX_60_FPS"
+ "VIDEO_AND_FIXED_INTERVALS",
+ "VIDEO_INTERVAL"
]
},
- "ReservationResolution": {
+ "M2tsAudioStreamType": {
"type": "string",
"enum": [
- "SD",
- "HD",
- "FHD",
- "UHD"
+ "ATSC",
+ "DVB"
]
},
- "ReservationResourceSpecification": {
- "type": "structure",
- "members": {
- "ChannelClass": {
- "shape": "ChannelClass",
- "locationName": "channelClass"
- },
- "Codec": {
- "shape": "ReservationCodec",
- "locationName": "codec"
- },
- "MaximumBitrate": {
- "shape": "ReservationMaximumBitrate",
- "locationName": "maximumBitrate"
- },
- "MaximumFramerate": {
- "shape": "ReservationMaximumFramerate",
- "locationName": "maximumFramerate"
- },
- "Resolution": {
- "shape": "ReservationResolution",
- "locationName": "resolution"
- },
- "ResourceType": {
- "shape": "ReservationResourceType",
- "locationName": "resourceType"
- },
- "SpecialFeature": {
- "shape": "ReservationSpecialFeature",
- "locationName": "specialFeature"
- },
- "VideoQuality": {
- "shape": "ReservationVideoQuality",
- "locationName": "videoQuality"
- }
- }
- },
- "ReservationResourceType": {
+ "M2tsBufferModel": {
"type": "string",
"enum": [
- "INPUT",
- "OUTPUT",
"MULTIPLEX",
- "CHANNEL"
+ "NONE"
]
},
- "ReservationSpecialFeature": {
+ "M2tsCcDescriptor": {
"type": "string",
"enum": [
- "ADVANCED_AUDIO",
- "AUDIO_NORMALIZATION",
- "MGHD",
- "MGUHD"
+ "DISABLED",
+ "ENABLED"
]
},
- "ReservationState": {
+ "M2tsEbifControl": {
"type": "string",
"enum": [
- "ACTIVE",
- "EXPIRED",
- "CANCELED",
- "DELETED"
+ "NONE",
+ "PASSTHROUGH"
]
},
- "ReservationVideoQuality": {
+ "M2tsEbpPlacement": {
"type": "string",
"enum": [
- "STANDARD",
- "ENHANCED",
- "PREMIUM"
+ "VIDEO_AND_AUDIO_PIDS",
+ "VIDEO_PID"
]
},
- "ResourceConflict": {
- "type": "structure",
- "members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
- }
- }
- },
- "ResourceNotFound": {
- "type": "structure",
- "members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
- }
- }
+ "M2tsEsRateInPes": {
+ "type": "string",
+ "enum": [
+ "EXCLUDE",
+ "INCLUDE"
+ ]
},
- "RtmpAdMarkers": {
+ "M2tsKlv": {
"type": "string",
"enum": [
- "ON_CUE_POINT_SCTE35"
+ "NONE",
+ "PASSTHROUGH"
]
},
- "RtmpCacheFullBehavior": {
+ "M2tsNielsenId3Behavior": {
"type": "string",
"enum": [
- "DISCONNECT_IMMEDIATELY",
- "WAIT_FOR_SERVER"
+ "NO_PASSTHROUGH",
+ "PASSTHROUGH"
]
},
- "RtmpCaptionData": {
+ "M2tsPcrControl": {
"type": "string",
"enum": [
- "ALL",
- "FIELD1_608",
- "FIELD1_AND_FIELD2_608"
+ "CONFIGURED_PCR_PERIOD",
+ "PCR_EVERY_PES_PACKET"
]
},
- "RtmpCaptionInfoDestinationSettings": {
- "type": "structure",
- "members": {
- }
+ "M2tsRateMode": {
+ "type": "string",
+ "enum": [
+ "CBR",
+ "VBR"
+ ]
},
- "RtmpGroupSettings": {
- "type": "structure",
- "members": {
- "AdMarkers": {
- "shape": "__listOfRtmpAdMarkers",
- "locationName": "adMarkers"
- },
- "AuthenticationScheme": {
- "shape": "AuthenticationScheme",
- "locationName": "authenticationScheme"
- },
- "CacheFullBehavior": {
- "shape": "RtmpCacheFullBehavior",
- "locationName": "cacheFullBehavior"
- },
- "CacheLength": {
- "shape": "__integerMin30",
- "locationName": "cacheLength"
- },
- "CaptionData": {
- "shape": "RtmpCaptionData",
- "locationName": "captionData"
- },
- "InputLossAction": {
- "shape": "InputLossActionForRtmpOut",
- "locationName": "inputLossAction"
- },
- "RestartDelay": {
- "shape": "__integerMin0",
- "locationName": "restartDelay"
- },
- "IncludeFillerNalUnits": {
- "shape": "IncludeFillerNalUnits",
- "locationName": "includeFillerNalUnits"
- }
- }
- },
- "RtmpOutputCertificateMode": {
+ "M2tsScte35Control": {
"type": "string",
"enum": [
- "SELF_SIGNED",
- "VERIFY_AUTHENTICITY"
+ "NONE",
+ "PASSTHROUGH"
]
},
- "RtmpOutputSettings": {
- "type": "structure",
- "members": {
- "CertificateMode": {
- "shape": "RtmpOutputCertificateMode",
- "locationName": "certificateMode"
- },
- "ConnectionRetryInterval": {
- "shape": "__integerMin1",
- "locationName": "connectionRetryInterval"
- },
- "Destination": {
- "shape": "OutputLocationRef",
- "locationName": "destination"
- },
- "NumRetries": {
- "shape": "__integerMin0",
- "locationName": "numRetries"
- }
- },
- "required": [
- "Destination"
+ "M2tsSegmentationMarkers": {
+ "type": "string",
+ "enum": [
+ "EBP",
+ "EBP_LEGACY",
+ "NONE",
+ "PSI_SEGSTART",
+ "RAI_ADAPT",
+ "RAI_SEGSTART"
]
},
- "S3CannedAcl": {
+ "M2tsSegmentationStyle": {
"type": "string",
"enum": [
- "AUTHENTICATED_READ",
- "BUCKET_OWNER_FULL_CONTROL",
- "BUCKET_OWNER_READ",
- "PUBLIC_READ"
+ "MAINTAIN_CADENCE",
+ "RESET_CADENCE"
]
},
- "ScheduleAction": {
+ "M2tsSettings": {
"type": "structure",
"members": {
- "ActionName": {
+ "AbsentInputAudioBehavior": {
+ "shape": "M2tsAbsentInputAudioBehavior",
+ "locationName": "absentInputAudioBehavior"
+ },
+ "Arib": {
+ "shape": "M2tsArib",
+ "locationName": "arib"
+ },
+ "AribCaptionsPid": {
"shape": "__string",
- "locationName": "actionName"
+ "locationName": "aribCaptionsPid"
},
- "ScheduleActionSettings": {
- "shape": "ScheduleActionSettings",
- "locationName": "scheduleActionSettings"
+ "AribCaptionsPidControl": {
+ "shape": "M2tsAribCaptionsPidControl",
+ "locationName": "aribCaptionsPidControl"
},
- "ScheduleActionStartSettings": {
- "shape": "ScheduleActionStartSettings",
- "locationName": "scheduleActionStartSettings"
- }
- },
- "required": [
- "ActionName",
- "ScheduleActionStartSettings",
- "ScheduleActionSettings"
- ]
- },
- "ScheduleActionSettings": {
- "type": "structure",
- "members": {
- "HlsId3SegmentTaggingSettings": {
- "shape": "HlsId3SegmentTaggingScheduleActionSettings",
- "locationName": "hlsId3SegmentTaggingSettings"
+ "AudioBufferModel": {
+ "shape": "M2tsAudioBufferModel",
+ "locationName": "audioBufferModel"
},
- "HlsTimedMetadataSettings": {
- "shape": "HlsTimedMetadataScheduleActionSettings",
- "locationName": "hlsTimedMetadataSettings"
+ "AudioFramesPerPes": {
+ "shape": "__integerMin0",
+ "locationName": "audioFramesPerPes"
},
- "InputPrepareSettings": {
- "shape": "InputPrepareScheduleActionSettings",
- "locationName": "inputPrepareSettings"
+ "AudioPids": {
+ "shape": "__string",
+ "locationName": "audioPids"
},
- "InputSwitchSettings": {
- "shape": "InputSwitchScheduleActionSettings",
- "locationName": "inputSwitchSettings"
+ "AudioStreamType": {
+ "shape": "M2tsAudioStreamType",
+ "locationName": "audioStreamType"
},
- "MotionGraphicsImageActivateSettings": {
- "shape": "MotionGraphicsActivateScheduleActionSettings",
- "locationName": "motionGraphicsImageActivateSettings"
+ "Bitrate": {
+ "shape": "__integerMin0",
+ "locationName": "bitrate"
},
- "MotionGraphicsImageDeactivateSettings": {
- "shape": "MotionGraphicsDeactivateScheduleActionSettings",
- "locationName": "motionGraphicsImageDeactivateSettings"
+ "BufferModel": {
+ "shape": "M2tsBufferModel",
+ "locationName": "bufferModel"
},
- "PauseStateSettings": {
- "shape": "PauseStateScheduleActionSettings",
- "locationName": "pauseStateSettings"
+ "CcDescriptor": {
+ "shape": "M2tsCcDescriptor",
+ "locationName": "ccDescriptor"
},
- "Scte35InputSettings": {
- "shape": "Scte35InputScheduleActionSettings",
- "locationName": "scte35InputSettings"
+ "DvbNitSettings": {
+ "shape": "DvbNitSettings",
+ "locationName": "dvbNitSettings"
},
- "Scte35ReturnToNetworkSettings": {
- "shape": "Scte35ReturnToNetworkScheduleActionSettings",
- "locationName": "scte35ReturnToNetworkSettings"
+ "DvbSdtSettings": {
+ "shape": "DvbSdtSettings",
+ "locationName": "dvbSdtSettings"
},
- "Scte35SpliceInsertSettings": {
- "shape": "Scte35SpliceInsertScheduleActionSettings",
- "locationName": "scte35SpliceInsertSettings"
+ "DvbSubPids": {
+ "shape": "__string",
+ "locationName": "dvbSubPids"
},
- "Scte35TimeSignalSettings": {
- "shape": "Scte35TimeSignalScheduleActionSettings",
- "locationName": "scte35TimeSignalSettings"
+ "DvbTdtSettings": {
+ "shape": "DvbTdtSettings",
+ "locationName": "dvbTdtSettings"
},
- "StaticImageActivateSettings": {
- "shape": "StaticImageActivateScheduleActionSettings",
- "locationName": "staticImageActivateSettings"
+ "DvbTeletextPid": {
+ "shape": "__string",
+ "locationName": "dvbTeletextPid"
},
- "StaticImageDeactivateSettings": {
- "shape": "StaticImageDeactivateScheduleActionSettings",
- "locationName": "staticImageDeactivateSettings"
+ "Ebif": {
+ "shape": "M2tsEbifControl",
+ "locationName": "ebif"
},
- "StaticImageOutputActivateSettings": {
- "shape": "StaticImageOutputActivateScheduleActionSettings",
- "locationName": "staticImageOutputActivateSettings"
+ "EbpAudioInterval": {
+ "shape": "M2tsAudioInterval",
+ "locationName": "ebpAudioInterval"
},
- "StaticImageOutputDeactivateSettings": {
- "shape": "StaticImageOutputDeactivateScheduleActionSettings",
- "locationName": "staticImageOutputDeactivateSettings"
- }
- }
- },
- "ScheduleActionStartSettings": {
- "type": "structure",
- "members": {
- "FixedModeScheduleActionStartSettings": {
- "shape": "FixedModeScheduleActionStartSettings",
- "locationName": "fixedModeScheduleActionStartSettings"
+ "EbpLookaheadMs": {
+ "shape": "__integerMin0Max10000",
+ "locationName": "ebpLookaheadMs"
},
- "FollowModeScheduleActionStartSettings": {
- "shape": "FollowModeScheduleActionStartSettings",
- "locationName": "followModeScheduleActionStartSettings"
+ "EbpPlacement": {
+ "shape": "M2tsEbpPlacement",
+ "locationName": "ebpPlacement"
},
- "ImmediateModeScheduleActionStartSettings": {
- "shape": "ImmediateModeScheduleActionStartSettings",
- "locationName": "immediateModeScheduleActionStartSettings"
- }
- }
- },
- "ScheduleDeleteResultModel": {
- "type": "structure",
- "members": {
- }
- },
- "ScheduleDescribeResultModel": {
- "type": "structure",
- "members": {
- "NextToken": {
+ "EcmPid": {
"shape": "__string",
- "locationName": "nextToken"
+ "locationName": "ecmPid"
},
- "ScheduleActions": {
- "shape": "__listOfScheduleAction",
- "locationName": "scheduleActions"
- }
- },
- "required": [
- "ScheduleActions"
- ]
- },
- "Scte20Convert608To708": {
- "type": "string",
- "enum": [
- "DISABLED",
- "UPCONVERT"
- ]
- },
- "Scte20PlusEmbeddedDestinationSettings": {
- "type": "structure",
- "members": {
- }
- },
- "Scte20SourceSettings": {
- "type": "structure",
- "members": {
- "Convert608To708": {
- "shape": "Scte20Convert608To708",
- "locationName": "convert608To708"
+ "EsRateInPes": {
+ "shape": "M2tsEsRateInPes",
+ "locationName": "esRateInPes"
},
- "Source608ChannelNumber": {
- "shape": "__integerMin1Max4",
- "locationName": "source608ChannelNumber"
- }
- }
- },
- "Scte27DestinationSettings": {
- "type": "structure",
- "members": {
- }
- },
- "Scte27OcrLanguage": {
- "type": "string",
- "enum": [
- "DEU",
- "ENG",
- "FRA",
- "NLD",
- "POR",
- "SPA"
- ]
- },
- "Scte27SourceSettings": {
- "type": "structure",
- "members": {
- "OcrLanguage": {
- "shape": "Scte27OcrLanguage",
- "locationName": "ocrLanguage"
+ "EtvPlatformPid": {
+ "shape": "__string",
+ "locationName": "etvPlatformPid"
},
- "Pid": {
- "shape": "__integerMin1",
- "locationName": "pid"
+ "EtvSignalPid": {
+ "shape": "__string",
+ "locationName": "etvSignalPid"
+ },
+ "FragmentTime": {
+ "shape": "__doubleMin0",
+ "locationName": "fragmentTime"
+ },
+ "Klv": {
+ "shape": "M2tsKlv",
+ "locationName": "klv"
+ },
+ "KlvDataPids": {
+ "shape": "__string",
+ "locationName": "klvDataPids"
+ },
+ "NielsenId3Behavior": {
+ "shape": "M2tsNielsenId3Behavior",
+ "locationName": "nielsenId3Behavior"
+ },
+ "NullPacketBitrate": {
+ "shape": "__doubleMin0",
+ "locationName": "nullPacketBitrate"
+ },
+ "PatInterval": {
+ "shape": "__integerMin0Max1000",
+ "locationName": "patInterval"
+ },
+ "PcrControl": {
+ "shape": "M2tsPcrControl",
+ "locationName": "pcrControl"
+ },
+ "PcrPeriod": {
+ "shape": "__integerMin0Max500",
+ "locationName": "pcrPeriod"
+ },
+ "PcrPid": {
+ "shape": "__string",
+ "locationName": "pcrPid"
+ },
+ "PmtInterval": {
+ "shape": "__integerMin0Max1000",
+ "locationName": "pmtInterval"
+ },
+ "PmtPid": {
+ "shape": "__string",
+ "locationName": "pmtPid"
+ },
+ "ProgramNum": {
+ "shape": "__integerMin0Max65535",
+ "locationName": "programNum"
+ },
+ "RateMode": {
+ "shape": "M2tsRateMode",
+ "locationName": "rateMode"
+ },
+ "Scte27Pids": {
+ "shape": "__string",
+ "locationName": "scte27Pids"
+ },
+ "Scte35Control": {
+ "shape": "M2tsScte35Control",
+ "locationName": "scte35Control"
+ },
+ "Scte35Pid": {
+ "shape": "__string",
+ "locationName": "scte35Pid"
+ },
+ "Scte35PrerollPullupMilliseconds": {
+ "shape": "__doubleMin0Max5000",
+ "locationName": "scte35PrerollPullupMilliseconds"
+ },
+ "SegmentationMarkers": {
+ "shape": "M2tsSegmentationMarkers",
+ "locationName": "segmentationMarkers"
+ },
+ "SegmentationStyle": {
+ "shape": "M2tsSegmentationStyle",
+ "locationName": "segmentationStyle"
+ },
+ "SegmentationTime": {
+ "shape": "__doubleMin1",
+ "locationName": "segmentationTime"
+ },
+ "TimedMetadataBehavior": {
+ "shape": "M2tsTimedMetadataBehavior",
+ "locationName": "timedMetadataBehavior"
+ },
+ "TimedMetadataPid": {
+ "shape": "__string",
+ "locationName": "timedMetadataPid"
+ },
+ "TransportStreamId": {
+ "shape": "__integerMin0Max65535",
+ "locationName": "transportStreamId"
+ },
+ "VideoPid": {
+ "shape": "__string",
+ "locationName": "videoPid"
}
}
},
- "Scte35AposNoRegionalBlackoutBehavior": {
+ "M2tsTimedMetadataBehavior": {
"type": "string",
"enum": [
- "FOLLOW",
- "IGNORE"
+ "NO_PASSTHROUGH",
+ "PASSTHROUGH"
]
},
- "Scte35AposWebDeliveryAllowedBehavior": {
+ "M3u8KlvBehavior": {
"type": "string",
"enum": [
- "FOLLOW",
- "IGNORE"
+ "NO_PASSTHROUGH",
+ "PASSTHROUGH"
]
},
- "Scte35ArchiveAllowedFlag": {
+ "M3u8NielsenId3Behavior": {
"type": "string",
"enum": [
- "ARCHIVE_NOT_ALLOWED",
- "ARCHIVE_ALLOWED"
- ]
- },
- "Scte35DeliveryRestrictions": {
- "type": "structure",
- "members": {
- "ArchiveAllowedFlag": {
- "shape": "Scte35ArchiveAllowedFlag",
- "locationName": "archiveAllowedFlag"
- },
- "DeviceRestrictions": {
- "shape": "Scte35DeviceRestrictions",
- "locationName": "deviceRestrictions"
- },
- "NoRegionalBlackoutFlag": {
- "shape": "Scte35NoRegionalBlackoutFlag",
- "locationName": "noRegionalBlackoutFlag"
- },
- "WebDeliveryAllowedFlag": {
- "shape": "Scte35WebDeliveryAllowedFlag",
- "locationName": "webDeliveryAllowedFlag"
- }
- },
- "required": [
- "DeviceRestrictions",
- "ArchiveAllowedFlag",
- "WebDeliveryAllowedFlag",
- "NoRegionalBlackoutFlag"
- ]
- },
- "Scte35Descriptor": {
- "type": "structure",
- "members": {
- "Scte35DescriptorSettings": {
- "shape": "Scte35DescriptorSettings",
- "locationName": "scte35DescriptorSettings"
- }
- },
- "required": [
- "Scte35DescriptorSettings"
- ]
- },
- "Scte35DescriptorSettings": {
- "type": "structure",
- "members": {
- "SegmentationDescriptorScte35DescriptorSettings": {
- "shape": "Scte35SegmentationDescriptor",
- "locationName": "segmentationDescriptorScte35DescriptorSettings"
- }
- },
- "required": [
- "SegmentationDescriptorScte35DescriptorSettings"
+ "NO_PASSTHROUGH",
+ "PASSTHROUGH"
]
},
- "Scte35DeviceRestrictions": {
+ "M3u8PcrControl": {
"type": "string",
"enum": [
- "NONE",
- "RESTRICT_GROUP0",
- "RESTRICT_GROUP1",
- "RESTRICT_GROUP2"
+ "CONFIGURED_PCR_PERIOD",
+ "PCR_EVERY_PES_PACKET"
]
},
- "Scte35InputMode": {
+ "M3u8Scte35Behavior": {
"type": "string",
"enum": [
- "FIXED",
- "FOLLOW_ACTIVE"
+ "NO_PASSTHROUGH",
+ "PASSTHROUGH"
]
},
- "Scte35InputScheduleActionSettings": {
+ "M3u8Settings": {
"type": "structure",
"members": {
- "InputAttachmentNameReference": {
+ "AudioFramesPerPes": {
+ "shape": "__integerMin0",
+ "locationName": "audioFramesPerPes"
+ },
+ "AudioPids": {
"shape": "__string",
- "locationName": "inputAttachmentNameReference"
+ "locationName": "audioPids"
},
- "Mode": {
- "shape": "Scte35InputMode",
- "locationName": "mode"
- }
- },
- "required": [
- "Mode"
- ]
- },
- "Scte35NoRegionalBlackoutFlag": {
- "type": "string",
- "enum": [
- "REGIONAL_BLACKOUT",
- "NO_REGIONAL_BLACKOUT"
- ]
- },
- "Scte35ReturnToNetworkScheduleActionSettings": {
- "type": "structure",
- "members": {
- "SpliceEventId": {
- "shape": "__longMin0Max4294967295",
- "locationName": "spliceEventId"
- }
- },
- "required": [
- "SpliceEventId"
- ]
- },
- "Scte35SegmentationCancelIndicator": {
- "type": "string",
- "enum": [
- "SEGMENTATION_EVENT_NOT_CANCELED",
- "SEGMENTATION_EVENT_CANCELED"
- ]
- },
- "Scte35SegmentationDescriptor": {
- "type": "structure",
- "members": {
- "DeliveryRestrictions": {
- "shape": "Scte35DeliveryRestrictions",
- "locationName": "deliveryRestrictions"
+ "EcmPid": {
+ "shape": "__string",
+ "locationName": "ecmPid"
},
- "SegmentNum": {
- "shape": "__integerMin0Max255",
- "locationName": "segmentNum"
+ "NielsenId3Behavior": {
+ "shape": "M3u8NielsenId3Behavior",
+ "locationName": "nielsenId3Behavior"
},
- "SegmentationCancelIndicator": {
- "shape": "Scte35SegmentationCancelIndicator",
- "locationName": "segmentationCancelIndicator"
+ "PatInterval": {
+ "shape": "__integerMin0Max1000",
+ "locationName": "patInterval"
},
- "SegmentationDuration": {
- "shape": "__longMin0Max1099511627775",
- "locationName": "segmentationDuration"
+ "PcrControl": {
+ "shape": "M3u8PcrControl",
+ "locationName": "pcrControl"
},
- "SegmentationEventId": {
- "shape": "__longMin0Max4294967295",
- "locationName": "segmentationEventId"
+ "PcrPeriod": {
+ "shape": "__integerMin0Max500",
+ "locationName": "pcrPeriod"
},
- "SegmentationTypeId": {
- "shape": "__integerMin0Max255",
- "locationName": "segmentationTypeId"
+ "PcrPid": {
+ "shape": "__string",
+ "locationName": "pcrPid"
},
- "SegmentationUpid": {
+ "PmtInterval": {
+ "shape": "__integerMin0Max1000",
+ "locationName": "pmtInterval"
+ },
+ "PmtPid": {
"shape": "__string",
- "locationName": "segmentationUpid"
+ "locationName": "pmtPid"
},
- "SegmentationUpidType": {
- "shape": "__integerMin0Max255",
- "locationName": "segmentationUpidType"
+ "ProgramNum": {
+ "shape": "__integerMin0Max65535",
+ "locationName": "programNum"
},
- "SegmentsExpected": {
- "shape": "__integerMin0Max255",
- "locationName": "segmentsExpected"
+ "Scte35Behavior": {
+ "shape": "M3u8Scte35Behavior",
+ "locationName": "scte35Behavior"
},
- "SubSegmentNum": {
- "shape": "__integerMin0Max255",
- "locationName": "subSegmentNum"
+ "Scte35Pid": {
+ "shape": "__string",
+ "locationName": "scte35Pid"
},
- "SubSegmentsExpected": {
- "shape": "__integerMin0Max255",
- "locationName": "subSegmentsExpected"
- }
- },
- "required": [
- "SegmentationEventId",
- "SegmentationCancelIndicator"
- ]
- },
- "Scte35SpliceInsert": {
- "type": "structure",
- "members": {
- "AdAvailOffset": {
- "shape": "__integerMinNegative1000Max1000",
- "locationName": "adAvailOffset"
+ "TimedMetadataBehavior": {
+ "shape": "M3u8TimedMetadataBehavior",
+ "locationName": "timedMetadataBehavior"
},
- "NoRegionalBlackoutFlag": {
- "shape": "Scte35SpliceInsertNoRegionalBlackoutBehavior",
- "locationName": "noRegionalBlackoutFlag"
+ "TimedMetadataPid": {
+ "shape": "__string",
+ "locationName": "timedMetadataPid"
},
- "WebDeliveryAllowedFlag": {
- "shape": "Scte35SpliceInsertWebDeliveryAllowedBehavior",
- "locationName": "webDeliveryAllowedFlag"
+ "TransportStreamId": {
+ "shape": "__integerMin0Max65535",
+ "locationName": "transportStreamId"
+ },
+ "VideoPid": {
+ "shape": "__string",
+ "locationName": "videoPid"
+ },
+ "KlvBehavior": {
+ "shape": "M3u8KlvBehavior",
+ "locationName": "klvBehavior"
+ },
+ "KlvDataPids": {
+ "shape": "__string",
+ "locationName": "klvDataPids"
}
}
},
- "Scte35SpliceInsertNoRegionalBlackoutBehavior": {
+ "M3u8TimedMetadataBehavior": {
"type": "string",
"enum": [
- "FOLLOW",
- "IGNORE"
+ "NO_PASSTHROUGH",
+ "PASSTHROUGH"
]
},
- "Scte35SpliceInsertScheduleActionSettings": {
+ "MaintenanceCreateSettings": {
"type": "structure",
"members": {
- "Duration": {
- "shape": "__longMin0Max8589934591",
- "locationName": "duration"
+ "MaintenanceDay": {
+ "shape": "MaintenanceDay",
+ "locationName": "maintenanceDay"
},
- "SpliceEventId": {
- "shape": "__longMin0Max4294967295",
- "locationName": "spliceEventId"
+ "MaintenanceStartTime": {
+ "shape": "__stringPattern010920300",
+ "locationName": "maintenanceStartTime"
}
- },
- "required": [
- "SpliceEventId"
- ]
+ }
},
- "Scte35SpliceInsertWebDeliveryAllowedBehavior": {
+ "MaintenanceDay": {
"type": "string",
"enum": [
- "FOLLOW",
- "IGNORE"
+ "MONDAY",
+ "TUESDAY",
+ "WEDNESDAY",
+ "THURSDAY",
+ "FRIDAY",
+ "SATURDAY",
+ "SUNDAY"
]
},
- "Scte35TimeSignalApos": {
+ "MaintenanceStatus": {
"type": "structure",
"members": {
- "AdAvailOffset": {
- "shape": "__integerMinNegative1000Max1000",
- "locationName": "adAvailOffset"
+ "MaintenanceDay": {
+ "shape": "MaintenanceDay",
+ "locationName": "maintenanceDay"
},
- "NoRegionalBlackoutFlag": {
- "shape": "Scte35AposNoRegionalBlackoutBehavior",
- "locationName": "noRegionalBlackoutFlag"
+ "MaintenanceDeadline": {
+ "shape": "__string",
+ "locationName": "maintenanceDeadline"
},
- "WebDeliveryAllowedFlag": {
- "shape": "Scte35AposWebDeliveryAllowedBehavior",
- "locationName": "webDeliveryAllowedFlag"
+ "MaintenanceScheduledDate": {
+ "shape": "__string",
+ "locationName": "maintenanceScheduledDate"
+ },
+ "MaintenanceStartTime": {
+ "shape": "__string",
+ "locationName": "maintenanceStartTime"
}
}
},
- "Scte35TimeSignalScheduleActionSettings": {
+ "MaintenanceUpdateSettings": {
"type": "structure",
"members": {
- "Scte35Descriptors": {
- "shape": "__listOfScte35Descriptor",
- "locationName": "scte35Descriptors"
+ "MaintenanceDay": {
+ "shape": "MaintenanceDay",
+ "locationName": "maintenanceDay"
+ },
+ "MaintenanceScheduledDate": {
+ "shape": "__string",
+ "locationName": "maintenanceScheduledDate"
+ },
+ "MaintenanceStartTime": {
+ "shape": "__stringPattern010920300",
+ "locationName": "maintenanceStartTime"
}
- },
- "required": [
- "Scte35Descriptors"
- ]
+ }
},
- "Scte35WebDeliveryAllowedFlag": {
- "type": "string",
- "enum": [
- "WEB_DELIVERY_NOT_ALLOWED",
- "WEB_DELIVERY_ALLOWED"
- ]
+ "MaxResults": {
+ "type": "integer",
+ "min": 1,
+ "max": 1000
},
- "SmoothGroupAudioOnlyTimecodeControl": {
- "type": "string",
- "enum": [
- "PASSTHROUGH",
- "USE_CONFIGURED_CLOCK"
- ]
+ "MediaConnectFlow": {
+ "type": "structure",
+ "members": {
+ "FlowArn": {
+ "shape": "__string",
+ "locationName": "flowArn"
+ }
+ }
},
- "SmoothGroupCertificateMode": {
- "type": "string",
- "enum": [
- "SELF_SIGNED",
- "VERIFY_AUTHENTICITY"
+ "MediaConnectFlowRequest": {
+ "type": "structure",
+ "members": {
+ "FlowArn": {
+ "shape": "__string",
+ "locationName": "flowArn"
+ }
+ }
+ },
+ "MediaPackageGroupSettings": {
+ "type": "structure",
+ "members": {
+ "Destination": {
+ "shape": "OutputLocationRef",
+ "locationName": "destination"
+ }
+ },
+ "required": [
+ "Destination"
]
},
- "SmoothGroupEventIdMode": {
- "type": "string",
- "enum": [
- "NO_EVENT_ID",
- "USE_CONFIGURED",
- "USE_TIMESTAMP"
+ "MediaPackageOutputDestinationSettings": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__stringMin1",
+ "locationName": "channelId"
+ }
+ }
+ },
+ "MediaPackageOutputSettings": {
+ "type": "structure",
+ "members": {
+ }
+ },
+ "MotionGraphicsActivateScheduleActionSettings": {
+ "type": "structure",
+ "members": {
+ "Duration": {
+ "shape": "__longMin0Max86400000",
+ "locationName": "duration"
+ },
+ "PasswordParam": {
+ "shape": "__string",
+ "locationName": "passwordParam"
+ },
+ "Url": {
+ "shape": "__string",
+ "locationName": "url"
+ },
+ "Username": {
+ "shape": "__string",
+ "locationName": "username"
+ }
+ }
+ },
+ "MotionGraphicsConfiguration": {
+ "type": "structure",
+ "members": {
+ "MotionGraphicsInsertion": {
+ "shape": "MotionGraphicsInsertion",
+ "locationName": "motionGraphicsInsertion"
+ },
+ "MotionGraphicsSettings": {
+ "shape": "MotionGraphicsSettings",
+ "locationName": "motionGraphicsSettings"
+ }
+ },
+ "required": [
+ "MotionGraphicsSettings"
]
},
- "SmoothGroupEventStopBehavior": {
+ "MotionGraphicsDeactivateScheduleActionSettings": {
+ "type": "structure",
+ "members": {
+ }
+ },
+ "MotionGraphicsInsertion": {
"type": "string",
"enum": [
- "NONE",
- "SEND_EOS"
+ "DISABLED",
+ "ENABLED"
]
},
- "SmoothGroupSegmentationMode": {
+ "MotionGraphicsSettings": {
+ "type": "structure",
+ "members": {
+ "HtmlMotionGraphicsSettings": {
+ "shape": "HtmlMotionGraphicsSettings",
+ "locationName": "htmlMotionGraphicsSettings"
+ }
+ }
+ },
+ "Mp2CodingMode": {
"type": "string",
"enum": [
- "USE_INPUT_SEGMENTATION",
- "USE_SEGMENT_DURATION"
+ "CODING_MODE_1_0",
+ "CODING_MODE_2_0"
]
},
- "SmoothGroupSparseTrackType": {
+ "Mp2Settings": {
+ "type": "structure",
+ "members": {
+ "Bitrate": {
+ "shape": "__double",
+ "locationName": "bitrate"
+ },
+ "CodingMode": {
+ "shape": "Mp2CodingMode",
+ "locationName": "codingMode"
+ },
+ "SampleRate": {
+ "shape": "__double",
+ "locationName": "sampleRate"
+ }
+ }
+ },
+ "Mpeg2AdaptiveQuantization": {
"type": "string",
"enum": [
- "NONE",
- "SCTE_35",
- "SCTE_35_WITHOUT_SEGMENTATION"
+ "AUTO",
+ "HIGH",
+ "LOW",
+ "MEDIUM",
+ "OFF"
]
},
- "SmoothGroupStreamManifestBehavior": {
+ "Mpeg2ColorMetadata": {
"type": "string",
"enum": [
- "DO_NOT_SEND",
- "SEND"
+ "IGNORE",
+ "INSERT"
]
},
- "SmoothGroupTimestampOffsetMode": {
+ "Mpeg2ColorSpace": {
"type": "string",
"enum": [
- "USE_CONFIGURED_OFFSET",
- "USE_EVENT_START_DATE"
+ "AUTO",
+ "PASSTHROUGH"
]
},
- "Smpte2038DataPreference": {
+ "Mpeg2DisplayRatio": {
"type": "string",
"enum": [
- "IGNORE",
- "PREFER"
+ "DISPLAYRATIO16X9",
+ "DISPLAYRATIO4X3"
]
},
- "SmpteTtDestinationSettings": {
+ "Mpeg2FilterSettings": {
"type": "structure",
"members": {
+ "TemporalFilterSettings": {
+ "shape": "TemporalFilterSettings",
+ "locationName": "temporalFilterSettings"
+ }
}
},
- "StandardHlsSettings": {
- "type": "structure",
- "members": {
- "AudioRenditionSets": {
- "shape": "__string",
- "locationName": "audioRenditionSets"
- },
- "M3u8Settings": {
- "shape": "M3u8Settings",
- "locationName": "m3u8Settings"
- }
- },
- "required": [
- "M3u8Settings"
+ "Mpeg2GopSizeUnits": {
+ "type": "string",
+ "enum": [
+ "FRAMES",
+ "SECONDS"
]
},
- "StartChannelRequest": {
- "type": "structure",
- "members": {
- "ChannelId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "channelId"
- }
- },
- "required": [
- "ChannelId"
+ "Mpeg2ScanType": {
+ "type": "string",
+ "enum": [
+ "INTERLACED",
+ "PROGRESSIVE"
]
},
- "StartChannelResponse": {
+ "Mpeg2Settings": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
+ "AdaptiveQuantization": {
+ "shape": "Mpeg2AdaptiveQuantization",
+ "locationName": "adaptiveQuantization"
},
- "CdiInputSpecification": {
- "shape": "CdiInputSpecification",
- "locationName": "cdiInputSpecification"
+ "AfdSignaling": {
+ "shape": "AfdSignaling",
+ "locationName": "afdSignaling"
},
- "ChannelClass": {
- "shape": "ChannelClass",
- "locationName": "channelClass"
+ "ColorMetadata": {
+ "shape": "Mpeg2ColorMetadata",
+ "locationName": "colorMetadata"
},
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
+ "ColorSpace": {
+ "shape": "Mpeg2ColorSpace",
+ "locationName": "colorSpace"
},
- "EgressEndpoints": {
- "shape": "__listOfChannelEgressEndpoint",
- "locationName": "egressEndpoints"
+ "DisplayAspectRatio": {
+ "shape": "Mpeg2DisplayRatio",
+ "locationName": "displayAspectRatio"
},
- "EncoderSettings": {
- "shape": "EncoderSettings",
- "locationName": "encoderSettings"
+ "FilterSettings": {
+ "shape": "Mpeg2FilterSettings",
+ "locationName": "filterSettings"
},
- "Id": {
- "shape": "__string",
- "locationName": "id"
+ "FixedAfd": {
+ "shape": "FixedAfd",
+ "locationName": "fixedAfd"
},
- "InputAttachments": {
- "shape": "__listOfInputAttachment",
- "locationName": "inputAttachments"
+ "FramerateDenominator": {
+ "shape": "__integerMin1",
+ "locationName": "framerateDenominator"
},
- "InputSpecification": {
- "shape": "InputSpecification",
- "locationName": "inputSpecification"
+ "FramerateNumerator": {
+ "shape": "__integerMin1",
+ "locationName": "framerateNumerator"
},
- "LogLevel": {
- "shape": "LogLevel",
- "locationName": "logLevel"
+ "GopClosedCadence": {
+ "shape": "__integerMin0",
+ "locationName": "gopClosedCadence"
},
- "Maintenance": {
- "shape": "MaintenanceStatus",
- "locationName": "maintenance"
+ "GopNumBFrames": {
+ "shape": "__integerMin0Max7",
+ "locationName": "gopNumBFrames"
},
- "Name": {
- "shape": "__string",
- "locationName": "name"
+ "GopSize": {
+ "shape": "__double",
+ "locationName": "gopSize"
},
- "PipelineDetails": {
- "shape": "__listOfPipelineDetail",
- "locationName": "pipelineDetails"
+ "GopSizeUnits": {
+ "shape": "Mpeg2GopSizeUnits",
+ "locationName": "gopSizeUnits"
},
- "PipelinesRunningCount": {
- "shape": "__integer",
- "locationName": "pipelinesRunningCount"
+ "ScanType": {
+ "shape": "Mpeg2ScanType",
+ "locationName": "scanType"
},
- "RoleArn": {
- "shape": "__string",
- "locationName": "roleArn"
+ "SubgopLength": {
+ "shape": "Mpeg2SubGopLength",
+ "locationName": "subgopLength"
},
- "State": {
- "shape": "ChannelState",
- "locationName": "state"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "TimecodeInsertion": {
+ "shape": "Mpeg2TimecodeInsertionBehavior",
+ "locationName": "timecodeInsertion"
},
- "Vpc": {
- "shape": "VpcOutputSettingsDescription",
- "locationName": "vpc"
- }
- }
- },
- "StartInputDeviceMaintenanceWindowRequest": {
- "type": "structure",
- "members": {
- "InputDeviceId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "inputDeviceId"
+ "TimecodeBurninSettings": {
+ "shape": "TimecodeBurninSettings",
+ "locationName": "timecodeBurninSettings"
}
},
"required": [
- "InputDeviceId"
+ "FramerateNumerator",
+ "FramerateDenominator"
]
},
- "StartInputDeviceMaintenanceWindowResponse": {
- "type": "structure",
- "members": {
- }
+ "Mpeg2SubGopLength": {
+ "type": "string",
+ "enum": [
+ "DYNAMIC",
+ "FIXED"
+ ]
},
- "StartInputDeviceRequest": {
+ "Mpeg2TimecodeInsertionBehavior": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "GOP_TIMECODE"
+ ]
+ },
+ "MsSmoothGroupSettings": {
"type": "structure",
"members": {
- "InputDeviceId": {
+ "AcquisitionPointId": {
"shape": "__string",
- "location": "uri",
- "locationName": "inputDeviceId"
+ "locationName": "acquisitionPointId"
+ },
+ "AudioOnlyTimecodeControl": {
+ "shape": "SmoothGroupAudioOnlyTimecodeControl",
+ "locationName": "audioOnlyTimecodeControl"
+ },
+ "CertificateMode": {
+ "shape": "SmoothGroupCertificateMode",
+ "locationName": "certificateMode"
+ },
+ "ConnectionRetryInterval": {
+ "shape": "__integerMin0",
+ "locationName": "connectionRetryInterval"
+ },
+ "Destination": {
+ "shape": "OutputLocationRef",
+ "locationName": "destination"
+ },
+ "EventId": {
+ "shape": "__string",
+ "locationName": "eventId"
+ },
+ "EventIdMode": {
+ "shape": "SmoothGroupEventIdMode",
+ "locationName": "eventIdMode"
+ },
+ "EventStopBehavior": {
+ "shape": "SmoothGroupEventStopBehavior",
+ "locationName": "eventStopBehavior"
+ },
+ "FilecacheDuration": {
+ "shape": "__integerMin0",
+ "locationName": "filecacheDuration"
+ },
+ "FragmentLength": {
+ "shape": "__integerMin1",
+ "locationName": "fragmentLength"
+ },
+ "InputLossAction": {
+ "shape": "InputLossActionForMsSmoothOut",
+ "locationName": "inputLossAction"
+ },
+ "NumRetries": {
+ "shape": "__integerMin0",
+ "locationName": "numRetries"
+ },
+ "RestartDelay": {
+ "shape": "__integerMin0",
+ "locationName": "restartDelay"
+ },
+ "SegmentationMode": {
+ "shape": "SmoothGroupSegmentationMode",
+ "locationName": "segmentationMode"
+ },
+ "SendDelayMs": {
+ "shape": "__integerMin0Max10000",
+ "locationName": "sendDelayMs"
+ },
+ "SparseTrackType": {
+ "shape": "SmoothGroupSparseTrackType",
+ "locationName": "sparseTrackType"
+ },
+ "StreamManifestBehavior": {
+ "shape": "SmoothGroupStreamManifestBehavior",
+ "locationName": "streamManifestBehavior"
+ },
+ "TimestampOffset": {
+ "shape": "__string",
+ "locationName": "timestampOffset"
+ },
+ "TimestampOffsetMode": {
+ "shape": "SmoothGroupTimestampOffsetMode",
+ "locationName": "timestampOffsetMode"
}
},
"required": [
- "InputDeviceId"
+ "Destination"
]
},
- "StartInputDeviceResponse": {
- "type": "structure",
- "members": {
- }
+ "MsSmoothH265PackagingType": {
+ "type": "string",
+ "enum": [
+ "HEV1",
+ "HVC1"
+ ]
},
- "StartMultiplexRequest": {
+ "MsSmoothOutputSettings": {
"type": "structure",
"members": {
- "MultiplexId": {
+ "H265PackagingType": {
+ "shape": "MsSmoothH265PackagingType",
+ "locationName": "h265PackagingType"
+ },
+ "NameModifier": {
"shape": "__string",
- "location": "uri",
- "locationName": "multiplexId"
+ "locationName": "nameModifier"
}
- },
- "required": [
- "MultiplexId"
- ]
+ }
},
- "StartMultiplexResponse": {
+ "Multiplex": {
"type": "structure",
"members": {
"Arn": {
@@ -13622,307 +12492,318 @@
}
}
},
- "StartTimecode": {
+ "MultiplexConfigurationValidationError": {
"type": "structure",
"members": {
- "Timecode": {
+ "Message": {
"shape": "__string",
- "locationName": "timecode"
+ "locationName": "message"
+ },
+ "ValidationErrors": {
+ "shape": "__listOfValidationError",
+ "locationName": "validationErrors"
}
}
},
- "StaticImageActivateScheduleActionSettings": {
+ "MultiplexGroupSettings": {
"type": "structure",
"members": {
- "Duration": {
- "shape": "__integerMin0",
- "locationName": "duration"
- },
- "FadeIn": {
- "shape": "__integerMin0",
- "locationName": "fadeIn"
- },
- "FadeOut": {
- "shape": "__integerMin0",
- "locationName": "fadeOut"
- },
- "Height": {
- "shape": "__integerMin1",
- "locationName": "height"
- },
- "Image": {
- "shape": "InputLocation",
- "locationName": "image"
- },
- "ImageX": {
- "shape": "__integerMin0",
- "locationName": "imageX"
- },
- "ImageY": {
- "shape": "__integerMin0",
- "locationName": "imageY"
- },
- "Layer": {
- "shape": "__integerMin0Max7",
- "locationName": "layer"
- },
- "Opacity": {
- "shape": "__integerMin0Max100",
- "locationName": "opacity"
- },
- "Width": {
- "shape": "__integerMin1",
- "locationName": "width"
+ }
+ },
+ "MultiplexMediaConnectOutputDestinationSettings": {
+ "type": "structure",
+ "members": {
+ "EntitlementArn": {
+ "shape": "__stringMin1",
+ "locationName": "entitlementArn"
}
- },
- "required": [
- "Image"
- ]
+ }
},
- "StaticImageDeactivateScheduleActionSettings": {
+ "MultiplexOutputDestination": {
"type": "structure",
"members": {
- "FadeOut": {
- "shape": "__integerMin0",
- "locationName": "fadeOut"
- },
- "Layer": {
- "shape": "__integerMin0Max7",
- "locationName": "layer"
+ "MediaConnectSettings": {
+ "shape": "MultiplexMediaConnectOutputDestinationSettings",
+ "locationName": "mediaConnectSettings"
}
}
},
- "StaticImageOutputActivateScheduleActionSettings": {
+ "MultiplexOutputSettings": {
"type": "structure",
"members": {
- "Duration": {
- "shape": "__integerMin0",
- "locationName": "duration"
+ "Destination": {
+ "shape": "OutputLocationRef",
+ "locationName": "destination"
},
- "FadeIn": {
- "shape": "__integerMin0",
- "locationName": "fadeIn"
+ "ContainerSettings": {
+ "shape": "MultiplexContainerSettings",
+ "locationName": "containerSettings"
+ }
+ },
+ "required": [
+ "Destination"
+ ]
+ },
+ "MultiplexProgram": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__string",
+ "locationName": "channelId"
},
- "FadeOut": {
- "shape": "__integerMin0",
- "locationName": "fadeOut"
- },
- "Height": {
- "shape": "__integerMin1",
- "locationName": "height"
- },
- "Image": {
- "shape": "InputLocation",
- "locationName": "image"
- },
- "ImageX": {
- "shape": "__integerMin0",
- "locationName": "imageX"
- },
- "ImageY": {
- "shape": "__integerMin0",
- "locationName": "imageY"
- },
- "Layer": {
- "shape": "__integerMin0Max7",
- "locationName": "layer"
- },
- "Opacity": {
- "shape": "__integerMin0Max100",
- "locationName": "opacity"
- },
- "OutputNames": {
- "shape": "__listOf__string",
- "locationName": "outputNames"
+ "MultiplexProgramSettings": {
+ "shape": "MultiplexProgramSettings",
+ "locationName": "multiplexProgramSettings"
},
- "Width": {
- "shape": "__integerMin1",
- "locationName": "width"
- }
- },
- "required": [
- "OutputNames",
- "Image"
- ]
- },
- "StaticImageOutputDeactivateScheduleActionSettings": {
- "type": "structure",
- "members": {
- "FadeOut": {
- "shape": "__integerMin0",
- "locationName": "fadeOut"
+ "PacketIdentifiersMap": {
+ "shape": "MultiplexProgramPacketIdentifiersMap",
+ "locationName": "packetIdentifiersMap"
},
- "Layer": {
- "shape": "__integerMin0Max7",
- "locationName": "layer"
+ "PipelineDetails": {
+ "shape": "__listOfMultiplexProgramPipelineDetail",
+ "locationName": "pipelineDetails"
},
- "OutputNames": {
- "shape": "__listOf__string",
- "locationName": "outputNames"
+ "ProgramName": {
+ "shape": "__string",
+ "locationName": "programName"
}
- },
- "required": [
- "OutputNames"
- ]
+ }
},
- "StaticKeySettings": {
+ "MultiplexProgramChannelDestinationSettings": {
"type": "structure",
"members": {
- "KeyProviderServer": {
- "shape": "InputLocation",
- "locationName": "keyProviderServer"
+ "MultiplexId": {
+ "shape": "__stringMin1",
+ "locationName": "multiplexId"
},
- "StaticKeyValue": {
- "shape": "__stringMin32Max32",
- "locationName": "staticKeyValue"
- }
- },
- "required": [
- "StaticKeyValue"
- ]
- },
- "StopChannelRequest": {
- "type": "structure",
- "members": {
- "ChannelId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "channelId"
+ "ProgramName": {
+ "shape": "__stringMin1",
+ "locationName": "programName"
}
- },
- "required": [
- "ChannelId"
- ]
+ }
},
- "StopChannelResponse": {
+ "MultiplexProgramPacketIdentifiersMap": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "CdiInputSpecification": {
- "shape": "CdiInputSpecification",
- "locationName": "cdiInputSpecification"
+ "AudioPids": {
+ "shape": "__listOf__integer",
+ "locationName": "audioPids"
},
- "ChannelClass": {
- "shape": "ChannelClass",
- "locationName": "channelClass"
+ "DvbSubPids": {
+ "shape": "__listOf__integer",
+ "locationName": "dvbSubPids"
},
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
+ "DvbTeletextPid": {
+ "shape": "__integer",
+ "locationName": "dvbTeletextPid"
},
- "EgressEndpoints": {
- "shape": "__listOfChannelEgressEndpoint",
- "locationName": "egressEndpoints"
+ "EtvPlatformPid": {
+ "shape": "__integer",
+ "locationName": "etvPlatformPid"
},
- "EncoderSettings": {
- "shape": "EncoderSettings",
- "locationName": "encoderSettings"
+ "EtvSignalPid": {
+ "shape": "__integer",
+ "locationName": "etvSignalPid"
},
- "Id": {
- "shape": "__string",
- "locationName": "id"
+ "KlvDataPids": {
+ "shape": "__listOf__integer",
+ "locationName": "klvDataPids"
},
- "InputAttachments": {
- "shape": "__listOfInputAttachment",
- "locationName": "inputAttachments"
+ "PcrPid": {
+ "shape": "__integer",
+ "locationName": "pcrPid"
},
- "InputSpecification": {
- "shape": "InputSpecification",
- "locationName": "inputSpecification"
+ "PmtPid": {
+ "shape": "__integer",
+ "locationName": "pmtPid"
},
- "LogLevel": {
- "shape": "LogLevel",
- "locationName": "logLevel"
+ "PrivateMetadataPid": {
+ "shape": "__integer",
+ "locationName": "privateMetadataPid"
},
- "Maintenance": {
- "shape": "MaintenanceStatus",
- "locationName": "maintenance"
+ "Scte27Pids": {
+ "shape": "__listOf__integer",
+ "locationName": "scte27Pids"
},
- "Name": {
- "shape": "__string",
- "locationName": "name"
+ "Scte35Pid": {
+ "shape": "__integer",
+ "locationName": "scte35Pid"
},
- "PipelineDetails": {
- "shape": "__listOfPipelineDetail",
- "locationName": "pipelineDetails"
+ "TimedMetadataPid": {
+ "shape": "__integer",
+ "locationName": "timedMetadataPid"
},
- "PipelinesRunningCount": {
+ "VideoPid": {
"shape": "__integer",
- "locationName": "pipelinesRunningCount"
+ "locationName": "videoPid"
},
- "RoleArn": {
- "shape": "__string",
- "locationName": "roleArn"
+ "AribCaptionsPid": {
+ "shape": "__integer",
+ "locationName": "aribCaptionsPid"
},
- "State": {
- "shape": "ChannelState",
- "locationName": "state"
+ "DvbTeletextPids": {
+ "shape": "__listOf__integer",
+ "locationName": "dvbTeletextPids"
},
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "EcmPid": {
+ "shape": "__integer",
+ "locationName": "ecmPid"
},
- "Vpc": {
- "shape": "VpcOutputSettingsDescription",
- "locationName": "vpc"
+ "Smpte2038Pid": {
+ "shape": "__integer",
+ "locationName": "smpte2038Pid"
}
}
},
- "StopInputDeviceRequest": {
+ "MultiplexProgramPipelineDetail": {
"type": "structure",
"members": {
- "InputDeviceId": {
+ "ActiveChannelPipeline": {
"shape": "__string",
- "location": "uri",
- "locationName": "inputDeviceId"
+ "locationName": "activeChannelPipeline"
+ },
+ "PipelineId": {
+ "shape": "__string",
+ "locationName": "pipelineId"
}
- },
- "required": [
- "InputDeviceId"
- ]
- },
- "StopInputDeviceResponse": {
- "type": "structure",
- "members": {
}
},
- "StopMultiplexRequest": {
+ "MultiplexProgramServiceDescriptor": {
"type": "structure",
"members": {
- "MultiplexId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "multiplexId"
+ "ProviderName": {
+ "shape": "__stringMax256",
+ "locationName": "providerName"
+ },
+ "ServiceName": {
+ "shape": "__stringMax256",
+ "locationName": "serviceName"
}
},
"required": [
- "MultiplexId"
+ "ProviderName",
+ "ServiceName"
]
},
- "StopMultiplexResponse": {
+ "MultiplexProgramSettings": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
+ "PreferredChannelPipeline": {
+ "shape": "PreferredChannelPipeline",
+ "locationName": "preferredChannelPipeline"
},
- "AvailabilityZones": {
- "shape": "__listOf__string",
- "locationName": "availabilityZones"
+ "ProgramNumber": {
+ "shape": "__integerMin0Max65535",
+ "locationName": "programNumber"
},
- "Destinations": {
- "shape": "__listOfMultiplexOutputDestination",
- "locationName": "destinations"
+ "ServiceDescriptor": {
+ "shape": "MultiplexProgramServiceDescriptor",
+ "locationName": "serviceDescriptor"
+ },
+ "VideoSettings": {
+ "shape": "MultiplexVideoSettings",
+ "locationName": "videoSettings"
+ }
+ },
+ "required": [
+ "ProgramNumber"
+ ]
+ },
+ "MultiplexProgramSummary": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__string",
+ "locationName": "channelId"
+ },
+ "ProgramName": {
+ "shape": "__string",
+ "locationName": "programName"
+ }
+ }
+ },
+ "MultiplexSettings": {
+ "type": "structure",
+ "members": {
+ "MaximumVideoBufferDelayMilliseconds": {
+ "shape": "__integerMin800Max3000",
+ "locationName": "maximumVideoBufferDelayMilliseconds"
+ },
+ "TransportStreamBitrate": {
+ "shape": "__integerMin1000000Max100000000",
+ "locationName": "transportStreamBitrate"
+ },
+ "TransportStreamId": {
+ "shape": "__integerMin0Max65535",
+ "locationName": "transportStreamId"
+ },
+ "TransportStreamReservedBitrate": {
+ "shape": "__integerMin0Max100000000",
+ "locationName": "transportStreamReservedBitrate"
+ }
+ },
+ "required": [
+ "TransportStreamBitrate",
+ "TransportStreamId"
+ ]
+ },
+ "MultiplexSettingsSummary": {
+ "type": "structure",
+ "members": {
+ "TransportStreamBitrate": {
+ "shape": "__integerMin1000000Max100000000",
+ "locationName": "transportStreamBitrate"
+ }
+ }
+ },
+ "MultiplexState": {
+ "type": "string",
+ "enum": [
+ "CREATING",
+ "CREATE_FAILED",
+ "IDLE",
+ "STARTING",
+ "RUNNING",
+ "RECOVERING",
+ "STOPPING",
+ "DELETING",
+ "DELETED"
+ ]
+ },
+ "MultiplexStatmuxVideoSettings": {
+ "type": "structure",
+ "members": {
+ "MaximumBitrate": {
+ "shape": "__integerMin100000Max100000000",
+ "locationName": "maximumBitrate"
+ },
+ "MinimumBitrate": {
+ "shape": "__integerMin100000Max100000000",
+ "locationName": "minimumBitrate"
+ },
+ "Priority": {
+ "shape": "__integerMinNegative5Max5",
+ "locationName": "priority"
+ }
+ }
+ },
+ "MultiplexSummary": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "AvailabilityZones": {
+ "shape": "__listOf__string",
+ "locationName": "availabilityZones"
},
"Id": {
"shape": "__string",
"locationName": "id"
},
"MultiplexSettings": {
- "shape": "MultiplexSettings",
+ "shape": "MultiplexSettingsSummary",
"locationName": "multiplexSettings"
},
"Name": {
@@ -13947,241 +12828,153 @@
}
}
},
- "StopTimecode": {
- "type": "structure",
- "members": {
- "LastFrameClippingBehavior": {
- "shape": "LastFrameClippingBehavior",
- "locationName": "lastFrameClippingBehavior"
- },
- "Timecode": {
- "shape": "__string",
- "locationName": "timecode"
- }
- }
- },
- "Tags": {
- "type": "map",
- "key": {
- "shape": "__string"
- },
- "value": {
- "shape": "__string"
- }
- },
- "TagsModel": {
- "type": "structure",
- "members": {
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- }
- }
- },
- "TeletextDestinationSettings": {
- "type": "structure",
- "members": {
- }
- },
- "TeletextSourceSettings": {
+ "MultiplexVideoSettings": {
"type": "structure",
"members": {
- "OutputRectangle": {
- "shape": "CaptionRectangle",
- "locationName": "outputRectangle"
+ "ConstantBitrate": {
+ "shape": "__integerMin100000Max100000000",
+ "locationName": "constantBitrate"
},
- "PageNumber": {
- "shape": "__string",
- "locationName": "pageNumber"
+ "StatmuxSettings": {
+ "shape": "MultiplexStatmuxVideoSettings",
+ "locationName": "statmuxSettings"
}
}
},
- "TemporalFilterPostFilterSharpening": {
+ "NetworkInputServerValidation": {
"type": "string",
"enum": [
- "AUTO",
- "DISABLED",
- "ENABLED"
+ "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME",
+ "CHECK_CRYPTOGRAPHY_ONLY"
]
},
- "TemporalFilterSettings": {
+ "NetworkInputSettings": {
"type": "structure",
"members": {
- "PostFilterSharpening": {
- "shape": "TemporalFilterPostFilterSharpening",
- "locationName": "postFilterSharpening"
+ "HlsInputSettings": {
+ "shape": "HlsInputSettings",
+ "locationName": "hlsInputSettings"
},
- "Strength": {
- "shape": "TemporalFilterStrength",
- "locationName": "strength"
+ "ServerValidation": {
+ "shape": "NetworkInputServerValidation",
+ "locationName": "serverValidation"
+ },
+ "MulticastInputSettings": {
+ "shape": "MulticastInputSettings",
+ "locationName": "multicastInputSettings"
}
}
},
- "TemporalFilterStrength": {
- "type": "string",
- "enum": [
- "AUTO",
- "STRENGTH_1",
- "STRENGTH_2",
- "STRENGTH_3",
- "STRENGTH_4",
- "STRENGTH_5",
- "STRENGTH_6",
- "STRENGTH_7",
- "STRENGTH_8",
- "STRENGTH_9",
- "STRENGTH_10",
- "STRENGTH_11",
- "STRENGTH_12",
- "STRENGTH_13",
- "STRENGTH_14",
- "STRENGTH_15",
- "STRENGTH_16"
- ]
- },
- "Thumbnail": {
+ "NielsenCBET": {
"type": "structure",
"members": {
- "Body": {
- "shape": "__string",
- "locationName": "body"
- },
- "ContentType": {
- "shape": "__string",
- "locationName": "contentType"
+ "CbetCheckDigitString": {
+ "shape": "__stringMin2Max2",
+ "locationName": "cbetCheckDigitString"
},
- "ThumbnailType": {
- "shape": "ThumbnailType",
- "locationName": "thumbnailType"
+ "CbetStepaside": {
+ "shape": "NielsenWatermarksCbetStepaside",
+ "locationName": "cbetStepaside"
},
- "TimeStamp": {
- "shape": "__timestampIso8601",
- "locationName": "timeStamp"
- }
- }
- },
- "ThumbnailConfiguration": {
- "type": "structure",
- "members": {
- "State": {
- "shape": "ThumbnailState",
- "locationName": "state"
+ "Csid": {
+ "shape": "__stringMin1Max7",
+ "locationName": "csid"
}
},
"required": [
- "State"
+ "CbetCheckDigitString",
+ "CbetStepaside",
+ "Csid"
]
},
- "ThumbnailData": {
+ "NielsenConfiguration": {
"type": "structure",
"members": {
- "Body": {
+ "DistributorId": {
"shape": "__string",
- "locationName": "body"
+ "locationName": "distributorId"
+ },
+ "NielsenPcmToId3Tagging": {
+ "shape": "NielsenPcmToId3TaggingState",
+ "locationName": "nielsenPcmToId3Tagging"
}
}
},
- "ThumbnailDetail": {
+ "NielsenNaesIiNw": {
"type": "structure",
"members": {
- "PipelineId": {
- "shape": "__string",
- "locationName": "pipelineId"
+ "CheckDigitString": {
+ "shape": "__stringMin2Max2",
+ "locationName": "checkDigitString"
},
- "Thumbnails": {
- "shape": "__listOfThumbnail",
- "locationName": "thumbnails"
+ "Sid": {
+ "shape": "__doubleMin1Max65535",
+ "locationName": "sid"
+ },
+ "Timezone": {
+ "shape": "NielsenWatermarkTimezones",
+ "locationName": "timezone"
}
- }
- },
- "ThumbnailNoData": {
- "type": "structure",
- "members": {
- }
+ },
+ "required": [
+ "CheckDigitString",
+ "Sid"
+ ]
},
- "ThumbnailState": {
+ "NielsenPcmToId3TaggingState": {
"type": "string",
"enum": [
- "AUTO",
- "DISABLED"
+ "DISABLED",
+ "ENABLED"
]
},
- "ThumbnailType": {
+ "NielsenWatermarkTimezones": {
"type": "string",
"enum": [
- "UNSPECIFIED",
- "CURRENT_ACTIVE"
+ "AMERICA_PUERTO_RICO",
+ "US_ALASKA",
+ "US_ARIZONA",
+ "US_CENTRAL",
+ "US_EASTERN",
+ "US_HAWAII",
+ "US_MOUNTAIN",
+ "US_PACIFIC",
+ "US_SAMOA",
+ "UTC"
]
},
- "TimecodeBurninFontSize": {
+ "NielsenWatermarksCbetStepaside": {
"type": "string",
"enum": [
- "EXTRA_SMALL_10",
- "LARGE_48",
- "MEDIUM_32",
- "SMALL_16"
+ "DISABLED",
+ "ENABLED"
]
},
- "TimecodeBurninPosition": {
+ "NielsenWatermarksDistributionTypes": {
"type": "string",
"enum": [
- "BOTTOM_CENTER",
- "BOTTOM_LEFT",
- "BOTTOM_RIGHT",
- "MIDDLE_CENTER",
- "MIDDLE_LEFT",
- "MIDDLE_RIGHT",
- "TOP_CENTER",
- "TOP_LEFT",
- "TOP_RIGHT"
+ "FINAL_DISTRIBUTOR",
+ "PROGRAM_CONTENT"
]
},
- "TimecodeBurninSettings": {
+ "NielsenWatermarksSettings": {
"type": "structure",
"members": {
- "FontSize": {
- "shape": "TimecodeBurninFontSize",
- "locationName": "fontSize"
- },
- "Position": {
- "shape": "TimecodeBurninPosition",
- "locationName": "position"
+ "NielsenCbetSettings": {
+ "shape": "NielsenCBET",
+ "locationName": "nielsenCbetSettings"
},
- "Prefix": {
- "shape": "__stringMax255",
- "locationName": "prefix"
- }
- },
- "required": [
- "Position",
- "FontSize"
- ]
- },
- "TimecodeConfig": {
- "type": "structure",
- "members": {
- "Source": {
- "shape": "TimecodeConfigSource",
- "locationName": "source"
+ "NielsenDistributionType": {
+ "shape": "NielsenWatermarksDistributionTypes",
+ "locationName": "nielsenDistributionType"
},
- "SyncThreshold": {
- "shape": "__integerMin1Max1000000",
- "locationName": "syncThreshold"
+ "NielsenNaesIiNwSettings": {
+ "shape": "NielsenNaesIiNw",
+ "locationName": "nielsenNaesIiNwSettings"
}
- },
- "required": [
- "Source"
- ]
- },
- "TimecodeConfigSource": {
- "type": "string",
- "enum": [
- "EMBEDDED",
- "SYSTEMCLOCK",
- "ZEROBASED"
- ]
+ }
},
- "TooManyRequestsException": {
+ "NotFoundException": {
"type": "structure",
"members": {
"Message": {
@@ -14191,2343 +12984,6669 @@
},
"exception": true,
"error": {
- "httpStatusCode": 429
+ "httpStatusCode": 404
}
},
- "TransferInputDevice": {
+ "Offering": {
"type": "structure",
"members": {
- "TargetCustomerId": {
+ "Arn": {
"shape": "__string",
- "locationName": "targetCustomerId"
+ "locationName": "arn"
},
- "TargetRegion": {
+ "CurrencyCode": {
"shape": "__string",
- "locationName": "targetRegion"
+ "locationName": "currencyCode"
},
- "TransferMessage": {
+ "Duration": {
+ "shape": "__integer",
+ "locationName": "duration"
+ },
+ "DurationUnits": {
+ "shape": "OfferingDurationUnits",
+ "locationName": "durationUnits"
+ },
+ "FixedPrice": {
+ "shape": "__double",
+ "locationName": "fixedPrice"
+ },
+ "OfferingDescription": {
"shape": "__string",
- "locationName": "transferMessage"
+ "locationName": "offeringDescription"
+ },
+ "OfferingId": {
+ "shape": "__string",
+ "locationName": "offeringId"
+ },
+ "OfferingType": {
+ "shape": "OfferingType",
+ "locationName": "offeringType"
+ },
+ "Region": {
+ "shape": "__string",
+ "locationName": "region"
+ },
+ "ResourceSpecification": {
+ "shape": "ReservationResourceSpecification",
+ "locationName": "resourceSpecification"
+ },
+ "UsagePrice": {
+ "shape": "__double",
+ "locationName": "usagePrice"
}
}
},
- "TransferInputDeviceRequest": {
+ "OfferingDurationUnits": {
+ "type": "string",
+ "enum": [
+ "MONTHS"
+ ]
+ },
+ "OfferingType": {
+ "type": "string",
+ "enum": [
+ "NO_UPFRONT"
+ ]
+ },
+ "Output": {
"type": "structure",
"members": {
- "InputDeviceId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "inputDeviceId"
+ "AudioDescriptionNames": {
+ "shape": "__listOf__string",
+ "locationName": "audioDescriptionNames"
},
- "TargetCustomerId": {
- "shape": "__string",
- "locationName": "targetCustomerId"
+ "CaptionDescriptionNames": {
+ "shape": "__listOf__string",
+ "locationName": "captionDescriptionNames"
},
- "TargetRegion": {
- "shape": "__string",
- "locationName": "targetRegion"
+ "OutputName": {
+ "shape": "__stringMin1Max255",
+ "locationName": "outputName"
},
- "TransferMessage": {
+ "OutputSettings": {
+ "shape": "OutputSettings",
+ "locationName": "outputSettings"
+ },
+ "VideoDescriptionName": {
"shape": "__string",
- "locationName": "transferMessage"
+ "locationName": "videoDescriptionName"
}
},
"required": [
- "InputDeviceId"
+ "OutputSettings"
]
},
- "TransferInputDeviceResponse": {
+ "OutputDestination": {
"type": "structure",
"members": {
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "MediaPackageSettings": {
+ "shape": "__listOfMediaPackageOutputDestinationSettings",
+ "locationName": "mediaPackageSettings"
+ },
+ "MultiplexSettings": {
+ "shape": "MultiplexProgramChannelDestinationSettings",
+ "locationName": "multiplexSettings"
+ },
+ "Settings": {
+ "shape": "__listOfOutputDestinationSettings",
+ "locationName": "settings"
+ },
+ "SrtSettings": {
+ "shape": "__listOfSrtOutputDestinationSettings",
+ "locationName": "srtSettings"
+ }
}
},
- "TransferringInputDeviceSummary": {
+ "OutputDestinationSettings": {
"type": "structure",
"members": {
- "Id": {
+ "PasswordParam": {
"shape": "__string",
- "locationName": "id"
+ "locationName": "passwordParam"
},
- "Message": {
+ "StreamName": {
"shape": "__string",
- "locationName": "message"
+ "locationName": "streamName"
},
- "TargetCustomerId": {
+ "Url": {
"shape": "__string",
- "locationName": "targetCustomerId"
+ "locationName": "url"
},
- "TransferType": {
- "shape": "InputDeviceTransferType",
- "locationName": "transferType"
+ "Username": {
+ "shape": "__string",
+ "locationName": "username"
}
}
},
- "TtmlDestinationSettings": {
+ "OutputGroup": {
"type": "structure",
"members": {
- "StyleControl": {
- "shape": "TtmlDestinationStyleControl",
- "locationName": "styleControl"
- }
- }
- },
- "TtmlDestinationStyleControl": {
- "type": "string",
- "enum": [
- "PASSTHROUGH",
- "USE_CONFIGURED"
- ]
- },
- "UdpContainerSettings": {
- "type": "structure",
- "members": {
- "M2tsSettings": {
- "shape": "M2tsSettings",
- "locationName": "m2tsSettings"
- }
- }
- },
- "UdpGroupSettings": {
- "type": "structure",
- "members": {
- "InputLossAction": {
- "shape": "InputLossActionForUdpOut",
- "locationName": "inputLossAction"
+ "Name": {
+ "shape": "__stringMax32",
+ "locationName": "name"
},
- "TimedMetadataId3Frame": {
- "shape": "UdpTimedMetadataId3Frame",
- "locationName": "timedMetadataId3Frame"
+ "OutputGroupSettings": {
+ "shape": "OutputGroupSettings",
+ "locationName": "outputGroupSettings"
},
- "TimedMetadataId3Period": {
- "shape": "__integerMin0",
- "locationName": "timedMetadataId3Period"
+ "Outputs": {
+ "shape": "__listOfOutput",
+ "locationName": "outputs"
}
- }
+ },
+ "required": [
+ "Outputs",
+ "OutputGroupSettings"
+ ]
},
- "UdpOutputSettings": {
+ "OutputGroupSettings": {
"type": "structure",
"members": {
- "BufferMsec": {
- "shape": "__integerMin0Max10000",
- "locationName": "bufferMsec"
+ "ArchiveGroupSettings": {
+ "shape": "ArchiveGroupSettings",
+ "locationName": "archiveGroupSettings"
},
- "ContainerSettings": {
- "shape": "UdpContainerSettings",
- "locationName": "containerSettings"
+ "FrameCaptureGroupSettings": {
+ "shape": "FrameCaptureGroupSettings",
+ "locationName": "frameCaptureGroupSettings"
},
- "Destination": {
- "shape": "OutputLocationRef",
- "locationName": "destination"
+ "HlsGroupSettings": {
+ "shape": "HlsGroupSettings",
+ "locationName": "hlsGroupSettings"
},
- "FecOutputSettings": {
- "shape": "FecOutputSettings",
- "locationName": "fecOutputSettings"
+ "MediaPackageGroupSettings": {
+ "shape": "MediaPackageGroupSettings",
+ "locationName": "mediaPackageGroupSettings"
+ },
+ "MsSmoothGroupSettings": {
+ "shape": "MsSmoothGroupSettings",
+ "locationName": "msSmoothGroupSettings"
+ },
+ "MultiplexGroupSettings": {
+ "shape": "MultiplexGroupSettings",
+ "locationName": "multiplexGroupSettings"
+ },
+ "RtmpGroupSettings": {
+ "shape": "RtmpGroupSettings",
+ "locationName": "rtmpGroupSettings"
+ },
+ "UdpGroupSettings": {
+ "shape": "UdpGroupSettings",
+ "locationName": "udpGroupSettings"
+ },
+ "CmafIngestGroupSettings": {
+ "shape": "CmafIngestGroupSettings",
+ "locationName": "cmafIngestGroupSettings"
+ },
+ "SrtGroupSettings": {
+ "shape": "SrtGroupSettings",
+ "locationName": "srtGroupSettings"
}
- },
- "required": [
- "Destination",
- "ContainerSettings"
- ]
- },
- "UdpTimedMetadataId3Frame": {
- "type": "string",
- "enum": [
- "NONE",
- "PRIV",
- "TDRL"
- ]
+ }
},
- "UnprocessableEntityException": {
+ "OutputLocationRef": {
"type": "structure",
"members": {
- "ElementPath": {
- "shape": "__string",
- "locationName": "elementPath"
- },
- "ErrorMessage": {
+ "DestinationRefId": {
"shape": "__string",
- "locationName": "errorMessage"
+ "locationName": "destinationRefId"
}
- },
- "exception": true,
- "error": {
- "httpStatusCode": 422
}
},
- "UpdateAccountConfigurationRequest": {
+ "OutputLockingSettings": {
"type": "structure",
"members": {
- "AccountConfiguration": {
- "shape": "AccountConfiguration",
- "locationName": "accountConfiguration"
+ "EpochLockingSettings": {
+ "shape": "EpochLockingSettings",
+ "locationName": "epochLockingSettings"
+ },
+ "PipelineLockingSettings": {
+ "shape": "PipelineLockingSettings",
+ "locationName": "pipelineLockingSettings"
}
}
},
- "UpdateAccountConfigurationRequestModel": {
+ "OutputSettings": {
"type": "structure",
"members": {
- "AccountConfiguration": {
- "shape": "AccountConfiguration",
- "locationName": "accountConfiguration"
+ "ArchiveOutputSettings": {
+ "shape": "ArchiveOutputSettings",
+ "locationName": "archiveOutputSettings"
+ },
+ "FrameCaptureOutputSettings": {
+ "shape": "FrameCaptureOutputSettings",
+ "locationName": "frameCaptureOutputSettings"
+ },
+ "HlsOutputSettings": {
+ "shape": "HlsOutputSettings",
+ "locationName": "hlsOutputSettings"
+ },
+ "MediaPackageOutputSettings": {
+ "shape": "MediaPackageOutputSettings",
+ "locationName": "mediaPackageOutputSettings"
+ },
+ "MsSmoothOutputSettings": {
+ "shape": "MsSmoothOutputSettings",
+ "locationName": "msSmoothOutputSettings"
+ },
+ "MultiplexOutputSettings": {
+ "shape": "MultiplexOutputSettings",
+ "locationName": "multiplexOutputSettings"
+ },
+ "RtmpOutputSettings": {
+ "shape": "RtmpOutputSettings",
+ "locationName": "rtmpOutputSettings"
+ },
+ "UdpOutputSettings": {
+ "shape": "UdpOutputSettings",
+ "locationName": "udpOutputSettings"
+ },
+ "CmafIngestOutputSettings": {
+ "shape": "CmafIngestOutputSettings",
+ "locationName": "cmafIngestOutputSettings"
+ },
+ "SrtOutputSettings": {
+ "shape": "SrtOutputSettings",
+ "locationName": "srtOutputSettings"
}
}
},
- "UpdateAccountConfigurationResponse": {
+ "PassThroughSettings": {
"type": "structure",
"members": {
- "AccountConfiguration": {
- "shape": "AccountConfiguration",
- "locationName": "accountConfiguration"
- }
}
},
- "UpdateAccountConfigurationResultModel": {
+ "PauseStateScheduleActionSettings": {
"type": "structure",
"members": {
- "AccountConfiguration": {
- "shape": "AccountConfiguration",
- "locationName": "accountConfiguration"
+ "Pipelines": {
+ "shape": "__listOfPipelinePauseStateSettings",
+ "locationName": "pipelines"
}
}
},
- "UpdateChannel": {
+ "PipelineDetail": {
"type": "structure",
"members": {
- "CdiInputSpecification": {
- "shape": "CdiInputSpecification",
- "locationName": "cdiInputSpecification"
- },
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
- },
- "EncoderSettings": {
- "shape": "EncoderSettings",
- "locationName": "encoderSettings"
- },
- "InputAttachments": {
- "shape": "__listOfInputAttachment",
- "locationName": "inputAttachments"
- },
- "InputSpecification": {
- "shape": "InputSpecification",
- "locationName": "inputSpecification"
+ "ActiveInputAttachmentName": {
+ "shape": "__string",
+ "locationName": "activeInputAttachmentName"
},
- "LogLevel": {
- "shape": "LogLevel",
- "locationName": "logLevel"
+ "ActiveInputSwitchActionName": {
+ "shape": "__string",
+ "locationName": "activeInputSwitchActionName"
},
- "Maintenance": {
- "shape": "MaintenanceUpdateSettings",
- "locationName": "maintenance"
+ "ActiveMotionGraphicsActionName": {
+ "shape": "__string",
+ "locationName": "activeMotionGraphicsActionName"
},
- "Name": {
+ "ActiveMotionGraphicsUri": {
"shape": "__string",
- "locationName": "name"
+ "locationName": "activeMotionGraphicsUri"
},
- "RoleArn": {
+ "PipelineId": {
"shape": "__string",
- "locationName": "roleArn"
+ "locationName": "pipelineId"
}
}
},
- "UpdateChannelClass": {
+ "PipelineId": {
+ "type": "string",
+ "enum": [
+ "PIPELINE_0",
+ "PIPELINE_1"
+ ]
+ },
+ "PipelineLockingSettings": {
"type": "structure",
"members": {
- "ChannelClass": {
- "shape": "ChannelClass",
- "locationName": "channelClass"
- },
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
+ }
+ },
+ "PipelinePauseStateSettings": {
+ "type": "structure",
+ "members": {
+ "PipelineId": {
+ "shape": "PipelineId",
+ "locationName": "pipelineId"
}
},
"required": [
- "ChannelClass"
+ "PipelineId"
]
},
- "UpdateChannelClassRequest": {
- "type": "structure",
- "members": {
- "ChannelClass": {
- "shape": "ChannelClass",
- "locationName": "channelClass"
+ "PreferredChannelPipeline": {
+ "type": "string",
+ "enum": [
+ "CURRENTLY_ACTIVE",
+ "PIPELINE_0",
+ "PIPELINE_1"
+ ]
+ },
+ "PurchaseOffering": {
+ "type": "structure",
+ "members": {
+ "Count": {
+ "shape": "__integerMin1",
+ "locationName": "count"
},
- "ChannelId": {
+ "Name": {
"shape": "__string",
- "location": "uri",
- "locationName": "channelId"
+ "locationName": "name"
},
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
+ "RenewalSettings": {
+ "shape": "RenewalSettings",
+ "locationName": "renewalSettings"
+ },
+ "RequestId": {
+ "shape": "__string",
+ "locationName": "requestId",
+ "idempotencyToken": true
+ },
+ "Start": {
+ "shape": "__string",
+ "locationName": "start"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
}
},
"required": [
- "ChannelId",
- "ChannelClass"
+ "Count"
]
},
- "UpdateChannelClassResponse": {
- "type": "structure",
- "members": {
- "Channel": {
- "shape": "Channel",
- "locationName": "channel"
- }
- }
- },
- "UpdateChannelRequest": {
+ "PurchaseOfferingRequest": {
"type": "structure",
"members": {
- "CdiInputSpecification": {
- "shape": "CdiInputSpecification",
- "locationName": "cdiInputSpecification"
+ "Count": {
+ "shape": "__integerMin1",
+ "locationName": "count"
},
- "ChannelId": {
+ "Name": {
"shape": "__string",
- "location": "uri",
- "locationName": "channelId"
- },
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
- },
- "EncoderSettings": {
- "shape": "EncoderSettings",
- "locationName": "encoderSettings"
- },
- "InputAttachments": {
- "shape": "__listOfInputAttachment",
- "locationName": "inputAttachments"
- },
- "InputSpecification": {
- "shape": "InputSpecification",
- "locationName": "inputSpecification"
+ "locationName": "name"
},
- "LogLevel": {
- "shape": "LogLevel",
- "locationName": "logLevel"
+ "OfferingId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "offeringId"
},
- "Maintenance": {
- "shape": "MaintenanceUpdateSettings",
- "locationName": "maintenance"
+ "RenewalSettings": {
+ "shape": "RenewalSettings",
+ "locationName": "renewalSettings"
},
- "Name": {
+ "RequestId": {
"shape": "__string",
- "locationName": "name"
+ "locationName": "requestId",
+ "idempotencyToken": true
},
- "RoleArn": {
+ "Start": {
"shape": "__string",
- "locationName": "roleArn"
+ "locationName": "start"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
}
},
"required": [
- "ChannelId"
+ "OfferingId",
+ "Count"
]
},
- "UpdateChannelResponse": {
+ "PurchaseOfferingResponse": {
"type": "structure",
"members": {
- "Channel": {
- "shape": "Channel",
- "locationName": "channel"
+ "Reservation": {
+ "shape": "Reservation",
+ "locationName": "reservation"
}
}
},
- "UpdateChannelResultModel": {
+ "PurchaseOfferingResultModel": {
"type": "structure",
"members": {
- "Channel": {
- "shape": "Channel",
- "locationName": "channel"
+ "Reservation": {
+ "shape": "Reservation",
+ "locationName": "reservation"
}
}
},
- "UpdateInput": {
+ "RawSettings": {
"type": "structure",
"members": {
- "Destinations": {
- "shape": "__listOfInputDestinationRequest",
- "locationName": "destinations"
- },
- "InputDevices": {
- "shape": "__listOfInputDeviceRequest",
- "locationName": "inputDevices"
- },
- "InputSecurityGroups": {
- "shape": "__listOf__string",
- "locationName": "inputSecurityGroups"
- },
- "MediaConnectFlows": {
- "shape": "__listOfMediaConnectFlowRequest",
- "locationName": "mediaConnectFlows"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "RoleArn": {
- "shape": "__string",
- "locationName": "roleArn"
- },
- "Sources": {
- "shape": "__listOfInputSourceRequest",
- "locationName": "sources"
- },
- "SrtSettings": {
- "shape": "SrtSettingsRequest",
- "locationName": "srtSettings"
+ }
+ },
+ "RebootInputDevice": {
+ "type": "structure",
+ "members": {
+ "Force": {
+ "shape": "RebootInputDeviceForce",
+ "locationName": "force"
}
}
},
- "UpdateInputDevice": {
+ "RebootInputDeviceForce": {
+ "type": "string",
+ "enum": [
+ "NO",
+ "YES"
+ ]
+ },
+ "RebootInputDeviceRequest": {
"type": "structure",
"members": {
- "HdDeviceSettings": {
- "shape": "InputDeviceConfigurableSettings",
- "locationName": "hdDeviceSettings"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "UhdDeviceSettings": {
- "shape": "InputDeviceConfigurableSettings",
- "locationName": "uhdDeviceSettings"
+ "Force": {
+ "shape": "RebootInputDeviceForce",
+ "locationName": "force"
},
- "AvailabilityZone": {
+ "InputDeviceId": {
"shape": "__string",
- "locationName": "availabilityZone"
+ "location": "uri",
+ "locationName": "inputDeviceId"
}
+ },
+ "required": [
+ "InputDeviceId"
+ ]
+ },
+ "RebootInputDeviceResponse": {
+ "type": "structure",
+ "members": {
}
},
- "UpdateInputDeviceRequest": {
+ "Rec601Settings": {
+ "type": "structure",
+ "members": {
+ }
+ },
+ "Rec709Settings": {
+ "type": "structure",
+ "members": {
+ }
+ },
+ "RejectInputDeviceTransferRequest": {
"type": "structure",
"members": {
- "HdDeviceSettings": {
- "shape": "InputDeviceConfigurableSettings",
- "locationName": "hdDeviceSettings"
- },
"InputDeviceId": {
"shape": "__string",
"location": "uri",
"locationName": "inputDeviceId"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "UhdDeviceSettings": {
- "shape": "InputDeviceConfigurableSettings",
- "locationName": "uhdDeviceSettings"
- },
- "AvailabilityZone": {
- "shape": "__string",
- "locationName": "availabilityZone"
}
},
"required": [
"InputDeviceId"
]
},
- "UpdateInputDeviceResponse": {
+ "RejectInputDeviceTransferResponse": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "ConnectionState": {
- "shape": "InputDeviceConnectionState",
- "locationName": "connectionState"
+ }
+ },
+ "RemixSettings": {
+ "type": "structure",
+ "members": {
+ "ChannelMappings": {
+ "shape": "__listOfAudioChannelMapping",
+ "locationName": "channelMappings"
},
- "DeviceSettingsSyncState": {
- "shape": "DeviceSettingsSyncState",
- "locationName": "deviceSettingsSyncState"
+ "ChannelsIn": {
+ "shape": "__integerMin1Max16",
+ "locationName": "channelsIn"
},
- "DeviceUpdateStatus": {
- "shape": "DeviceUpdateStatus",
- "locationName": "deviceUpdateStatus"
+ "ChannelsOut": {
+ "shape": "__integerMin1Max8",
+ "locationName": "channelsOut"
+ }
+ },
+ "required": [
+ "ChannelMappings"
+ ]
+ },
+ "RenewalSettings": {
+ "type": "structure",
+ "members": {
+ "AutomaticRenewal": {
+ "shape": "ReservationAutomaticRenewal",
+ "locationName": "automaticRenewal"
},
- "HdDeviceSettings": {
- "shape": "InputDeviceHdSettings",
- "locationName": "hdDeviceSettings"
+ "RenewalCount": {
+ "shape": "__integerMin1",
+ "locationName": "renewalCount"
+ }
+ }
+ },
+ "Reservation": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "Id": {
+ "Count": {
+ "shape": "__integer",
+ "locationName": "count"
+ },
+ "CurrencyCode": {
"shape": "__string",
- "locationName": "id"
+ "locationName": "currencyCode"
},
- "MacAddress": {
+ "Duration": {
+ "shape": "__integer",
+ "locationName": "duration"
+ },
+ "DurationUnits": {
+ "shape": "OfferingDurationUnits",
+ "locationName": "durationUnits"
+ },
+ "End": {
"shape": "__string",
- "locationName": "macAddress"
+ "locationName": "end"
+ },
+ "FixedPrice": {
+ "shape": "__double",
+ "locationName": "fixedPrice"
},
"Name": {
"shape": "__string",
"locationName": "name"
},
- "NetworkSettings": {
- "shape": "InputDeviceNetworkSettings",
- "locationName": "networkSettings"
+ "OfferingDescription": {
+ "shape": "__string",
+ "locationName": "offeringDescription"
},
- "SerialNumber": {
+ "OfferingId": {
"shape": "__string",
- "locationName": "serialNumber"
+ "locationName": "offeringId"
},
- "Type": {
- "shape": "InputDeviceType",
- "locationName": "type"
+ "OfferingType": {
+ "shape": "OfferingType",
+ "locationName": "offeringType"
},
- "UhdDeviceSettings": {
- "shape": "InputDeviceUhdSettings",
- "locationName": "uhdDeviceSettings"
+ "Region": {
+ "shape": "__string",
+ "locationName": "region"
},
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
+ "RenewalSettings": {
+ "shape": "RenewalSettings",
+ "locationName": "renewalSettings"
},
- "AvailabilityZone": {
+ "ReservationId": {
"shape": "__string",
- "locationName": "availabilityZone"
+ "locationName": "reservationId"
},
- "MedialiveInputArns": {
- "shape": "__listOf__string",
- "locationName": "medialiveInputArns"
+ "ResourceSpecification": {
+ "shape": "ReservationResourceSpecification",
+ "locationName": "resourceSpecification"
},
- "OutputType": {
- "shape": "InputDeviceOutputType",
- "locationName": "outputType"
+ "Start": {
+ "shape": "__string",
+ "locationName": "start"
+ },
+ "State": {
+ "shape": "ReservationState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "UsagePrice": {
+ "shape": "__double",
+ "locationName": "usagePrice"
}
}
},
- "UpdateInputRequest": {
+ "ReservationAutomaticRenewal": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED",
+ "UNAVAILABLE"
+ ]
+ },
+ "ReservationCodec": {
+ "type": "string",
+ "enum": [
+ "MPEG2",
+ "AVC",
+ "HEVC",
+ "AUDIO",
+ "LINK",
+ "AV1"
+ ]
+ },
+ "ReservationMaximumBitrate": {
+ "type": "string",
+ "enum": [
+ "MAX_10_MBPS",
+ "MAX_20_MBPS",
+ "MAX_50_MBPS"
+ ]
+ },
+ "ReservationMaximumFramerate": {
+ "type": "string",
+ "enum": [
+ "MAX_30_FPS",
+ "MAX_60_FPS"
+ ]
+ },
+ "ReservationResolution": {
+ "type": "string",
+ "enum": [
+ "SD",
+ "HD",
+ "FHD",
+ "UHD"
+ ]
+ },
+ "ReservationResourceSpecification": {
"type": "structure",
"members": {
- "Destinations": {
- "shape": "__listOfInputDestinationRequest",
- "locationName": "destinations"
- },
- "InputDevices": {
- "shape": "__listOfInputDeviceRequest",
- "locationName": "inputDevices"
+ "ChannelClass": {
+ "shape": "ChannelClass",
+ "locationName": "channelClass"
},
- "InputId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "inputId"
+ "Codec": {
+ "shape": "ReservationCodec",
+ "locationName": "codec"
},
- "InputSecurityGroups": {
- "shape": "__listOf__string",
- "locationName": "inputSecurityGroups"
+ "MaximumBitrate": {
+ "shape": "ReservationMaximumBitrate",
+ "locationName": "maximumBitrate"
},
- "MediaConnectFlows": {
- "shape": "__listOfMediaConnectFlowRequest",
- "locationName": "mediaConnectFlows"
+ "MaximumFramerate": {
+ "shape": "ReservationMaximumFramerate",
+ "locationName": "maximumFramerate"
},
- "Name": {
- "shape": "__string",
- "locationName": "name"
+ "Resolution": {
+ "shape": "ReservationResolution",
+ "locationName": "resolution"
},
- "RoleArn": {
- "shape": "__string",
- "locationName": "roleArn"
+ "ResourceType": {
+ "shape": "ReservationResourceType",
+ "locationName": "resourceType"
},
- "Sources": {
- "shape": "__listOfInputSourceRequest",
- "locationName": "sources"
+ "SpecialFeature": {
+ "shape": "ReservationSpecialFeature",
+ "locationName": "specialFeature"
},
- "SrtSettings": {
- "shape": "SrtSettingsRequest",
- "locationName": "srtSettings"
+ "VideoQuality": {
+ "shape": "ReservationVideoQuality",
+ "locationName": "videoQuality"
}
- },
- "required": [
- "InputId"
+ }
+ },
+ "ReservationResourceType": {
+ "type": "string",
+ "enum": [
+ "INPUT",
+ "OUTPUT",
+ "MULTIPLEX",
+ "CHANNEL"
]
},
- "UpdateInputResponse": {
+ "ReservationSpecialFeature": {
+ "type": "string",
+ "enum": [
+ "ADVANCED_AUDIO",
+ "AUDIO_NORMALIZATION",
+ "MGHD",
+ "MGUHD"
+ ]
+ },
+ "ReservationState": {
+ "type": "string",
+ "enum": [
+ "ACTIVE",
+ "EXPIRED",
+ "CANCELED",
+ "DELETED"
+ ]
+ },
+ "ReservationVideoQuality": {
+ "type": "string",
+ "enum": [
+ "STANDARD",
+ "ENHANCED",
+ "PREMIUM"
+ ]
+ },
+ "ResourceConflict": {
"type": "structure",
"members": {
- "Input": {
- "shape": "Input",
- "locationName": "input"
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
}
}
},
- "UpdateInputResultModel": {
+ "ResourceNotFound": {
"type": "structure",
"members": {
- "Input": {
- "shape": "Input",
- "locationName": "input"
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
}
}
},
- "UpdateInputSecurityGroupRequest": {
- "type": "structure",
- "members": {
- "InputSecurityGroupId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "inputSecurityGroupId"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- },
- "WhitelistRules": {
- "shape": "__listOfInputWhitelistRuleCidr",
- "locationName": "whitelistRules"
- }
- },
- "required": [
- "InputSecurityGroupId"
+ "RtmpAdMarkers": {
+ "type": "string",
+ "enum": [
+ "ON_CUE_POINT_SCTE35"
]
},
- "UpdateInputSecurityGroupResponse": {
- "type": "structure",
- "members": {
- "SecurityGroup": {
- "shape": "InputSecurityGroup",
- "locationName": "securityGroup"
- }
- }
+ "RtmpCacheFullBehavior": {
+ "type": "string",
+ "enum": [
+ "DISCONNECT_IMMEDIATELY",
+ "WAIT_FOR_SERVER"
+ ]
},
- "UpdateInputSecurityGroupResultModel": {
+ "RtmpCaptionData": {
+ "type": "string",
+ "enum": [
+ "ALL",
+ "FIELD1_608",
+ "FIELD1_AND_FIELD2_608"
+ ]
+ },
+ "RtmpCaptionInfoDestinationSettings": {
"type": "structure",
"members": {
- "SecurityGroup": {
- "shape": "InputSecurityGroup",
- "locationName": "securityGroup"
- }
}
},
- "UpdateMultiplex": {
+ "RtmpGroupSettings": {
"type": "structure",
"members": {
- "MultiplexSettings": {
- "shape": "MultiplexSettings",
- "locationName": "multiplexSettings"
+ "AdMarkers": {
+ "shape": "__listOfRtmpAdMarkers",
+ "locationName": "adMarkers"
},
- "Name": {
- "shape": "__string",
- "locationName": "name"
+ "AuthenticationScheme": {
+ "shape": "AuthenticationScheme",
+ "locationName": "authenticationScheme"
},
- "PacketIdentifiersMapping": {
- "shape": "MultiplexPacketIdentifiersMapping",
- "locationName": "packetIdentifiersMapping"
+ "CacheFullBehavior": {
+ "shape": "RtmpCacheFullBehavior",
+ "locationName": "cacheFullBehavior"
+ },
+ "CacheLength": {
+ "shape": "__integerMin30",
+ "locationName": "cacheLength"
+ },
+ "CaptionData": {
+ "shape": "RtmpCaptionData",
+ "locationName": "captionData"
+ },
+ "InputLossAction": {
+ "shape": "InputLossActionForRtmpOut",
+ "locationName": "inputLossAction"
+ },
+ "RestartDelay": {
+ "shape": "__integerMin0",
+ "locationName": "restartDelay"
+ },
+ "IncludeFillerNalUnits": {
+ "shape": "IncludeFillerNalUnits",
+ "locationName": "includeFillerNalUnits"
}
}
},
- "UpdateMultiplexProgram": {
+ "RtmpOutputCertificateMode": {
+ "type": "string",
+ "enum": [
+ "SELF_SIGNED",
+ "VERIFY_AUTHENTICITY"
+ ]
+ },
+ "RtmpOutputSettings": {
"type": "structure",
"members": {
- "MultiplexProgramSettings": {
- "shape": "MultiplexProgramSettings",
- "locationName": "multiplexProgramSettings"
+ "CertificateMode": {
+ "shape": "RtmpOutputCertificateMode",
+ "locationName": "certificateMode"
+ },
+ "ConnectionRetryInterval": {
+ "shape": "__integerMin1",
+ "locationName": "connectionRetryInterval"
+ },
+ "Destination": {
+ "shape": "OutputLocationRef",
+ "locationName": "destination"
+ },
+ "NumRetries": {
+ "shape": "__integerMin0",
+ "locationName": "numRetries"
}
- }
+ },
+ "required": [
+ "Destination"
+ ]
},
- "UpdateMultiplexProgramRequest": {
+ "S3CannedAcl": {
+ "type": "string",
+ "enum": [
+ "AUTHENTICATED_READ",
+ "BUCKET_OWNER_FULL_CONTROL",
+ "BUCKET_OWNER_READ",
+ "PUBLIC_READ"
+ ]
+ },
+ "ScheduleAction": {
"type": "structure",
"members": {
- "MultiplexId": {
+ "ActionName": {
"shape": "__string",
- "location": "uri",
- "locationName": "multiplexId"
+ "locationName": "actionName"
},
- "MultiplexProgramSettings": {
- "shape": "MultiplexProgramSettings",
- "locationName": "multiplexProgramSettings"
+ "ScheduleActionSettings": {
+ "shape": "ScheduleActionSettings",
+ "locationName": "scheduleActionSettings"
},
- "ProgramName": {
- "shape": "__string",
- "location": "uri",
- "locationName": "programName"
+ "ScheduleActionStartSettings": {
+ "shape": "ScheduleActionStartSettings",
+ "locationName": "scheduleActionStartSettings"
}
},
"required": [
- "MultiplexId",
- "ProgramName"
+ "ActionName",
+ "ScheduleActionStartSettings",
+ "ScheduleActionSettings"
]
},
- "UpdateMultiplexProgramResponse": {
+ "ScheduleActionSettings": {
"type": "structure",
"members": {
- "MultiplexProgram": {
- "shape": "MultiplexProgram",
- "locationName": "multiplexProgram"
+ "HlsId3SegmentTaggingSettings": {
+ "shape": "HlsId3SegmentTaggingScheduleActionSettings",
+ "locationName": "hlsId3SegmentTaggingSettings"
+ },
+ "HlsTimedMetadataSettings": {
+ "shape": "HlsTimedMetadataScheduleActionSettings",
+ "locationName": "hlsTimedMetadataSettings"
+ },
+ "InputPrepareSettings": {
+ "shape": "InputPrepareScheduleActionSettings",
+ "locationName": "inputPrepareSettings"
+ },
+ "InputSwitchSettings": {
+ "shape": "InputSwitchScheduleActionSettings",
+ "locationName": "inputSwitchSettings"
+ },
+ "MotionGraphicsImageActivateSettings": {
+ "shape": "MotionGraphicsActivateScheduleActionSettings",
+ "locationName": "motionGraphicsImageActivateSettings"
+ },
+ "MotionGraphicsImageDeactivateSettings": {
+ "shape": "MotionGraphicsDeactivateScheduleActionSettings",
+ "locationName": "motionGraphicsImageDeactivateSettings"
+ },
+ "PauseStateSettings": {
+ "shape": "PauseStateScheduleActionSettings",
+ "locationName": "pauseStateSettings"
+ },
+ "Scte35InputSettings": {
+ "shape": "Scte35InputScheduleActionSettings",
+ "locationName": "scte35InputSettings"
+ },
+ "Scte35ReturnToNetworkSettings": {
+ "shape": "Scte35ReturnToNetworkScheduleActionSettings",
+ "locationName": "scte35ReturnToNetworkSettings"
+ },
+ "Scte35SpliceInsertSettings": {
+ "shape": "Scte35SpliceInsertScheduleActionSettings",
+ "locationName": "scte35SpliceInsertSettings"
+ },
+ "Scte35TimeSignalSettings": {
+ "shape": "Scte35TimeSignalScheduleActionSettings",
+ "locationName": "scte35TimeSignalSettings"
+ },
+ "StaticImageActivateSettings": {
+ "shape": "StaticImageActivateScheduleActionSettings",
+ "locationName": "staticImageActivateSettings"
+ },
+ "StaticImageDeactivateSettings": {
+ "shape": "StaticImageDeactivateScheduleActionSettings",
+ "locationName": "staticImageDeactivateSettings"
+ },
+ "StaticImageOutputActivateSettings": {
+ "shape": "StaticImageOutputActivateScheduleActionSettings",
+ "locationName": "staticImageOutputActivateSettings"
+ },
+ "StaticImageOutputDeactivateSettings": {
+ "shape": "StaticImageOutputDeactivateScheduleActionSettings",
+ "locationName": "staticImageOutputDeactivateSettings"
}
}
},
- "UpdateMultiplexProgramResultModel": {
+ "ScheduleActionStartSettings": {
"type": "structure",
"members": {
- "MultiplexProgram": {
- "shape": "MultiplexProgram",
- "locationName": "multiplexProgram"
+ "FixedModeScheduleActionStartSettings": {
+ "shape": "FixedModeScheduleActionStartSettings",
+ "locationName": "fixedModeScheduleActionStartSettings"
+ },
+ "FollowModeScheduleActionStartSettings": {
+ "shape": "FollowModeScheduleActionStartSettings",
+ "locationName": "followModeScheduleActionStartSettings"
+ },
+ "ImmediateModeScheduleActionStartSettings": {
+ "shape": "ImmediateModeScheduleActionStartSettings",
+ "locationName": "immediateModeScheduleActionStartSettings"
}
}
},
- "UpdateMultiplexRequest": {
+ "ScheduleDeleteResultModel": {
"type": "structure",
"members": {
- "MultiplexId": {
+ }
+ },
+ "ScheduleDescribeResultModel": {
+ "type": "structure",
+ "members": {
+ "NextToken": {
"shape": "__string",
- "location": "uri",
- "locationName": "multiplexId"
+ "locationName": "nextToken"
},
- "MultiplexSettings": {
- "shape": "MultiplexSettings",
- "locationName": "multiplexSettings"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "PacketIdentifiersMapping": {
- "shape": "MultiplexPacketIdentifiersMapping",
- "locationName": "packetIdentifiersMapping"
+ "ScheduleActions": {
+ "shape": "__listOfScheduleAction",
+ "locationName": "scheduleActions"
}
},
"required": [
- "MultiplexId"
+ "ScheduleActions"
]
},
- "UpdateMultiplexResponse": {
- "type": "structure",
- "members": {
- "Multiplex": {
- "shape": "Multiplex",
- "locationName": "multiplex"
- }
- }
+ "Scte20Convert608To708": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "UPCONVERT"
+ ]
},
- "UpdateMultiplexResultModel": {
+ "Scte20PlusEmbeddedDestinationSettings": {
"type": "structure",
"members": {
- "Multiplex": {
- "shape": "Multiplex",
- "locationName": "multiplex"
- }
}
},
- "UpdateReservation": {
+ "Scte20SourceSettings": {
"type": "structure",
"members": {
- "Name": {
- "shape": "__string",
- "locationName": "name"
+ "Convert608To708": {
+ "shape": "Scte20Convert608To708",
+ "locationName": "convert608To708"
},
- "RenewalSettings": {
- "shape": "RenewalSettings",
- "locationName": "renewalSettings"
+ "Source608ChannelNumber": {
+ "shape": "__integerMin1Max4",
+ "locationName": "source608ChannelNumber"
}
}
},
- "UpdateReservationRequest": {
- "type": "structure",
- "members": {
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "RenewalSettings": {
- "shape": "RenewalSettings",
- "locationName": "renewalSettings"
- },
- "ReservationId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "reservationId"
- }
- },
- "required": [
- "ReservationId"
- ]
- },
- "UpdateReservationResponse": {
+ "Scte27DestinationSettings": {
"type": "structure",
"members": {
- "Reservation": {
- "shape": "Reservation",
- "locationName": "reservation"
- }
}
},
- "UpdateReservationResultModel": {
- "type": "structure",
- "members": {
- "Reservation": {
- "shape": "Reservation",
- "locationName": "reservation"
- }
- }
+ "Scte27OcrLanguage": {
+ "type": "string",
+ "enum": [
+ "DEU",
+ "ENG",
+ "FRA",
+ "NLD",
+ "POR",
+ "SPA"
+ ]
},
- "ValidationError": {
+ "Scte27SourceSettings": {
"type": "structure",
"members": {
- "ElementPath": {
- "shape": "__string",
- "locationName": "elementPath"
+ "OcrLanguage": {
+ "shape": "Scte27OcrLanguage",
+ "locationName": "ocrLanguage"
},
- "ErrorMessage": {
- "shape": "__string",
- "locationName": "errorMessage"
+ "Pid": {
+ "shape": "__integerMin1",
+ "locationName": "pid"
}
}
},
- "VideoBlackFailoverSettings": {
+ "Scte35AposNoRegionalBlackoutBehavior": {
+ "type": "string",
+ "enum": [
+ "FOLLOW",
+ "IGNORE"
+ ]
+ },
+ "Scte35AposWebDeliveryAllowedBehavior": {
+ "type": "string",
+ "enum": [
+ "FOLLOW",
+ "IGNORE"
+ ]
+ },
+ "Scte35ArchiveAllowedFlag": {
+ "type": "string",
+ "enum": [
+ "ARCHIVE_NOT_ALLOWED",
+ "ARCHIVE_ALLOWED"
+ ]
+ },
+ "Scte35DeliveryRestrictions": {
"type": "structure",
"members": {
- "BlackDetectThreshold": {
- "shape": "__doubleMin0Max1",
- "locationName": "blackDetectThreshold"
+ "ArchiveAllowedFlag": {
+ "shape": "Scte35ArchiveAllowedFlag",
+ "locationName": "archiveAllowedFlag"
},
- "VideoBlackThresholdMsec": {
- "shape": "__integerMin1000",
- "locationName": "videoBlackThresholdMsec"
+ "DeviceRestrictions": {
+ "shape": "Scte35DeviceRestrictions",
+ "locationName": "deviceRestrictions"
+ },
+ "NoRegionalBlackoutFlag": {
+ "shape": "Scte35NoRegionalBlackoutFlag",
+ "locationName": "noRegionalBlackoutFlag"
+ },
+ "WebDeliveryAllowedFlag": {
+ "shape": "Scte35WebDeliveryAllowedFlag",
+ "locationName": "webDeliveryAllowedFlag"
}
- }
+ },
+ "required": [
+ "DeviceRestrictions",
+ "ArchiveAllowedFlag",
+ "WebDeliveryAllowedFlag",
+ "NoRegionalBlackoutFlag"
+ ]
},
- "VideoCodecSettings": {
+ "Scte35Descriptor": {
"type": "structure",
"members": {
- "FrameCaptureSettings": {
- "shape": "FrameCaptureSettings",
- "locationName": "frameCaptureSettings"
- },
- "H264Settings": {
- "shape": "H264Settings",
- "locationName": "h264Settings"
- },
- "H265Settings": {
- "shape": "H265Settings",
- "locationName": "h265Settings"
- },
- "Mpeg2Settings": {
- "shape": "Mpeg2Settings",
- "locationName": "mpeg2Settings"
+ "Scte35DescriptorSettings": {
+ "shape": "Scte35DescriptorSettings",
+ "locationName": "scte35DescriptorSettings"
}
- }
+ },
+ "required": [
+ "Scte35DescriptorSettings"
+ ]
},
- "VideoDescription": {
+ "Scte35DescriptorSettings": {
"type": "structure",
"members": {
- "CodecSettings": {
- "shape": "VideoCodecSettings",
- "locationName": "codecSettings"
- },
- "Height": {
- "shape": "__integer",
- "locationName": "height"
- },
- "Name": {
- "shape": "__string",
- "locationName": "name"
- },
- "RespondToAfd": {
- "shape": "VideoDescriptionRespondToAfd",
- "locationName": "respondToAfd"
- },
- "ScalingBehavior": {
- "shape": "VideoDescriptionScalingBehavior",
- "locationName": "scalingBehavior"
- },
- "Sharpness": {
- "shape": "__integerMin0Max100",
- "locationName": "sharpness"
- },
- "Width": {
- "shape": "__integer",
- "locationName": "width"
+ "SegmentationDescriptorScte35DescriptorSettings": {
+ "shape": "Scte35SegmentationDescriptor",
+ "locationName": "segmentationDescriptorScte35DescriptorSettings"
}
},
"required": [
- "Name"
+ "SegmentationDescriptorScte35DescriptorSettings"
]
},
- "VideoDescriptionRespondToAfd": {
+ "Scte35DeviceRestrictions": {
"type": "string",
"enum": [
"NONE",
- "PASSTHROUGH",
- "RESPOND"
+ "RESTRICT_GROUP0",
+ "RESTRICT_GROUP1",
+ "RESTRICT_GROUP2"
]
},
- "VideoDescriptionScalingBehavior": {
+ "Scte35InputMode": {
"type": "string",
"enum": [
- "DEFAULT",
- "STRETCH_TO_OUTPUT"
+ "FIXED",
+ "FOLLOW_ACTIVE"
]
},
- "VideoSelector": {
+ "Scte35InputScheduleActionSettings": {
"type": "structure",
"members": {
- "ColorSpace": {
- "shape": "VideoSelectorColorSpace",
- "locationName": "colorSpace"
- },
- "ColorSpaceSettings": {
- "shape": "VideoSelectorColorSpaceSettings",
- "locationName": "colorSpaceSettings"
- },
- "ColorSpaceUsage": {
- "shape": "VideoSelectorColorSpaceUsage",
- "locationName": "colorSpaceUsage"
+ "InputAttachmentNameReference": {
+ "shape": "__string",
+ "locationName": "inputAttachmentNameReference"
},
- "SelectorSettings": {
- "shape": "VideoSelectorSettings",
- "locationName": "selectorSettings"
+ "Mode": {
+ "shape": "Scte35InputMode",
+ "locationName": "mode"
}
- }
- },
- "VideoSelectorColorSpace": {
- "type": "string",
+ },
+ "required": [
+ "Mode"
+ ]
+ },
+ "Scte35NoRegionalBlackoutFlag": {
+ "type": "string",
"enum": [
- "FOLLOW",
- "HDR10",
- "HLG_2020",
- "REC_601",
- "REC_709"
+ "REGIONAL_BLACKOUT",
+ "NO_REGIONAL_BLACKOUT"
]
},
- "VideoSelectorColorSpaceSettings": {
+ "Scte35ReturnToNetworkScheduleActionSettings": {
"type": "structure",
"members": {
- "Hdr10Settings": {
- "shape": "Hdr10Settings",
- "locationName": "hdr10Settings"
+ "SpliceEventId": {
+ "shape": "__longMin0Max4294967295",
+ "locationName": "spliceEventId"
}
- }
+ },
+ "required": [
+ "SpliceEventId"
+ ]
},
- "VideoSelectorColorSpaceUsage": {
+ "Scte35SegmentationCancelIndicator": {
"type": "string",
"enum": [
- "FALLBACK",
- "FORCE"
+ "SEGMENTATION_EVENT_NOT_CANCELED",
+ "SEGMENTATION_EVENT_CANCELED"
]
},
- "VideoSelectorPid": {
- "type": "structure",
- "members": {
- "Pid": {
- "shape": "__integerMin0Max8191",
- "locationName": "pid"
- }
- }
- },
- "VideoSelectorProgramId": {
+ "Scte35SegmentationDescriptor": {
"type": "structure",
"members": {
- "ProgramId": {
- "shape": "__integerMin0Max65536",
- "locationName": "programId"
+ "DeliveryRestrictions": {
+ "shape": "Scte35DeliveryRestrictions",
+ "locationName": "deliveryRestrictions"
+ },
+ "SegmentNum": {
+ "shape": "__integerMin0Max255",
+ "locationName": "segmentNum"
+ },
+ "SegmentationCancelIndicator": {
+ "shape": "Scte35SegmentationCancelIndicator",
+ "locationName": "segmentationCancelIndicator"
+ },
+ "SegmentationDuration": {
+ "shape": "__longMin0Max1099511627775",
+ "locationName": "segmentationDuration"
+ },
+ "SegmentationEventId": {
+ "shape": "__longMin0Max4294967295",
+ "locationName": "segmentationEventId"
+ },
+ "SegmentationTypeId": {
+ "shape": "__integerMin0Max255",
+ "locationName": "segmentationTypeId"
+ },
+ "SegmentationUpid": {
+ "shape": "__string",
+ "locationName": "segmentationUpid"
+ },
+ "SegmentationUpidType": {
+ "shape": "__integerMin0Max255",
+ "locationName": "segmentationUpidType"
+ },
+ "SegmentsExpected": {
+ "shape": "__integerMin0Max255",
+ "locationName": "segmentsExpected"
+ },
+ "SubSegmentNum": {
+ "shape": "__integerMin0Max255",
+ "locationName": "subSegmentNum"
+ },
+ "SubSegmentsExpected": {
+ "shape": "__integerMin0Max255",
+ "locationName": "subSegmentsExpected"
}
- }
+ },
+ "required": [
+ "SegmentationEventId",
+ "SegmentationCancelIndicator"
+ ]
},
- "VideoSelectorSettings": {
+ "Scte35SpliceInsert": {
"type": "structure",
"members": {
- "VideoSelectorPid": {
- "shape": "VideoSelectorPid",
- "locationName": "videoSelectorPid"
+ "AdAvailOffset": {
+ "shape": "__integerMinNegative1000Max1000",
+ "locationName": "adAvailOffset"
},
- "VideoSelectorProgramId": {
- "shape": "VideoSelectorProgramId",
- "locationName": "videoSelectorProgramId"
+ "NoRegionalBlackoutFlag": {
+ "shape": "Scte35SpliceInsertNoRegionalBlackoutBehavior",
+ "locationName": "noRegionalBlackoutFlag"
+ },
+ "WebDeliveryAllowedFlag": {
+ "shape": "Scte35SpliceInsertWebDeliveryAllowedBehavior",
+ "locationName": "webDeliveryAllowedFlag"
}
}
},
- "VpcOutputSettings": {
+ "Scte35SpliceInsertNoRegionalBlackoutBehavior": {
+ "type": "string",
+ "enum": [
+ "FOLLOW",
+ "IGNORE"
+ ]
+ },
+ "Scte35SpliceInsertScheduleActionSettings": {
"type": "structure",
"members": {
- "PublicAddressAllocationIds": {
- "shape": "__listOf__string",
- "locationName": "publicAddressAllocationIds"
- },
- "SecurityGroupIds": {
- "shape": "__listOf__string",
- "locationName": "securityGroupIds"
+ "Duration": {
+ "shape": "__longMin0Max8589934591",
+ "locationName": "duration"
},
- "SubnetIds": {
- "shape": "__listOf__string",
- "locationName": "subnetIds"
+ "SpliceEventId": {
+ "shape": "__longMin0Max4294967295",
+ "locationName": "spliceEventId"
}
},
"required": [
- "SubnetIds"
+ "SpliceEventId"
]
},
- "VpcOutputSettingsDescription": {
- "type": "structure",
- "members": {
- "AvailabilityZones": {
- "shape": "__listOf__string",
- "locationName": "availabilityZones"
- },
- "NetworkInterfaceIds": {
- "shape": "__listOf__string",
- "locationName": "networkInterfaceIds"
- },
- "SecurityGroupIds": {
- "shape": "__listOf__string",
- "locationName": "securityGroupIds"
- },
- "SubnetIds": {
- "shape": "__listOf__string",
- "locationName": "subnetIds"
- }
- }
- },
- "WavCodingMode": {
+ "Scte35SpliceInsertWebDeliveryAllowedBehavior": {
"type": "string",
"enum": [
- "CODING_MODE_1_0",
- "CODING_MODE_2_0",
- "CODING_MODE_4_0",
- "CODING_MODE_8_0"
+ "FOLLOW",
+ "IGNORE"
]
},
- "WavSettings": {
+ "Scte35TimeSignalApos": {
"type": "structure",
"members": {
- "BitDepth": {
- "shape": "__double",
- "locationName": "bitDepth"
+ "AdAvailOffset": {
+ "shape": "__integerMinNegative1000Max1000",
+ "locationName": "adAvailOffset"
},
- "CodingMode": {
- "shape": "WavCodingMode",
- "locationName": "codingMode"
+ "NoRegionalBlackoutFlag": {
+ "shape": "Scte35AposNoRegionalBlackoutBehavior",
+ "locationName": "noRegionalBlackoutFlag"
},
- "SampleRate": {
- "shape": "__double",
- "locationName": "sampleRate"
+ "WebDeliveryAllowedFlag": {
+ "shape": "Scte35AposWebDeliveryAllowedBehavior",
+ "locationName": "webDeliveryAllowedFlag"
}
}
},
- "WebvttDestinationSettings": {
+ "Scte35TimeSignalScheduleActionSettings": {
"type": "structure",
"members": {
- "StyleControl": {
- "shape": "WebvttDestinationStyleControl",
- "locationName": "styleControl"
+ "Scte35Descriptors": {
+ "shape": "__listOfScte35Descriptor",
+ "locationName": "scte35Descriptors"
}
- }
+ },
+ "required": [
+ "Scte35Descriptors"
+ ]
},
- "WebvttDestinationStyleControl": {
+ "Scte35WebDeliveryAllowedFlag": {
"type": "string",
"enum": [
- "NO_STYLE_DATA",
- "PASSTHROUGH"
+ "WEB_DELIVERY_NOT_ALLOWED",
+ "WEB_DELIVERY_ALLOWED"
]
},
- "__boolean": {
- "type": "boolean"
- },
- "__double": {
- "type": "double"
- },
- "__doubleMin0": {
- "type": "double"
+ "SmoothGroupAudioOnlyTimecodeControl": {
+ "type": "string",
+ "enum": [
+ "PASSTHROUGH",
+ "USE_CONFIGURED_CLOCK"
+ ]
},
- "__doubleMin0Max1": {
- "type": "double"
+ "SmoothGroupCertificateMode": {
+ "type": "string",
+ "enum": [
+ "SELF_SIGNED",
+ "VERIFY_AUTHENTICITY"
+ ]
},
- "__doubleMin0Max100": {
- "type": "double"
+ "SmoothGroupEventIdMode": {
+ "type": "string",
+ "enum": [
+ "NO_EVENT_ID",
+ "USE_CONFIGURED",
+ "USE_TIMESTAMP"
+ ]
},
- "__doubleMin0Max5000": {
- "type": "double"
+ "SmoothGroupEventStopBehavior": {
+ "type": "string",
+ "enum": [
+ "NONE",
+ "SEND_EOS"
+ ]
},
- "__doubleMin1": {
- "type": "double"
+ "SmoothGroupSegmentationMode": {
+ "type": "string",
+ "enum": [
+ "USE_INPUT_SEGMENTATION",
+ "USE_SEGMENT_DURATION"
+ ]
},
- "__doubleMin1Max65535": {
- "type": "double"
- },
- "__doubleMin250Max5000": {
- "type": "double"
- },
- "__doubleMin32Max46": {
- "type": "double"
- },
- "__doubleMinNegative1Max5": {
- "type": "double"
- },
- "__doubleMinNegative59Max0": {
- "type": "double"
- },
- "__integer": {
- "type": "integer"
- },
- "__integerMin0": {
- "type": "integer",
- "min": 0
- },
- "__integerMin0Max10": {
- "type": "integer",
- "min": 0,
- "max": 10
- },
- "__integerMin0Max100": {
- "type": "integer",
- "min": 0,
- "max": 100
+ "SmoothGroupSparseTrackType": {
+ "type": "string",
+ "enum": [
+ "NONE",
+ "SCTE_35",
+ "SCTE_35_WITHOUT_SEGMENTATION"
+ ]
},
- "__integerMin0Max1000": {
- "type": "integer",
- "min": 0,
- "max": 1000
+ "SmoothGroupStreamManifestBehavior": {
+ "type": "string",
+ "enum": [
+ "DO_NOT_SEND",
+ "SEND"
+ ]
},
- "__integerMin0Max10000": {
- "type": "integer",
- "min": 0,
- "max": 10000
+ "SmoothGroupTimestampOffsetMode": {
+ "type": "string",
+ "enum": [
+ "USE_CONFIGURED_OFFSET",
+ "USE_EVENT_START_DATE"
+ ]
},
- "__integerMin0Max1000000": {
- "type": "integer",
- "min": 0,
- "max": 1000000
+ "Smpte2038DataPreference": {
+ "type": "string",
+ "enum": [
+ "IGNORE",
+ "PREFER"
+ ]
},
- "__integerMin0Max100000000": {
- "type": "integer",
- "min": 0,
- "max": 100000000
+ "SmpteTtDestinationSettings": {
+ "type": "structure",
+ "members": {
+ }
},
- "__integerMin0Max128": {
- "type": "integer",
- "min": 0,
- "max": 128
+ "StandardHlsSettings": {
+ "type": "structure",
+ "members": {
+ "AudioRenditionSets": {
+ "shape": "__string",
+ "locationName": "audioRenditionSets"
+ },
+ "M3u8Settings": {
+ "shape": "M3u8Settings",
+ "locationName": "m3u8Settings"
+ }
+ },
+ "required": [
+ "M3u8Settings"
+ ]
},
- "__integerMin0Max15": {
- "type": "integer",
- "min": 0,
- "max": 15
+ "StartChannelRequest": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelId"
+ }
+ },
+ "required": [
+ "ChannelId"
+ ]
},
- "__integerMin0Max2000": {
- "type": "integer",
- "min": 0,
- "max": 2000
+ "StartChannelResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "CdiInputSpecification": {
+ "shape": "CdiInputSpecification",
+ "locationName": "cdiInputSpecification"
+ },
+ "ChannelClass": {
+ "shape": "ChannelClass",
+ "locationName": "channelClass"
+ },
+ "Destinations": {
+ "shape": "__listOfOutputDestination",
+ "locationName": "destinations"
+ },
+ "EgressEndpoints": {
+ "shape": "__listOfChannelEgressEndpoint",
+ "locationName": "egressEndpoints"
+ },
+ "EncoderSettings": {
+ "shape": "EncoderSettings",
+ "locationName": "encoderSettings"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "InputAttachments": {
+ "shape": "__listOfInputAttachment",
+ "locationName": "inputAttachments"
+ },
+ "InputSpecification": {
+ "shape": "InputSpecification",
+ "locationName": "inputSpecification"
+ },
+ "LogLevel": {
+ "shape": "LogLevel",
+ "locationName": "logLevel"
+ },
+ "Maintenance": {
+ "shape": "MaintenanceStatus",
+ "locationName": "maintenance"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "PipelineDetails": {
+ "shape": "__listOfPipelineDetail",
+ "locationName": "pipelineDetails"
+ },
+ "PipelinesRunningCount": {
+ "shape": "__integer",
+ "locationName": "pipelinesRunningCount"
+ },
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
+ },
+ "State": {
+ "shape": "ChannelState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "Vpc": {
+ "shape": "VpcOutputSettingsDescription",
+ "locationName": "vpc"
+ },
+ "AnywhereSettings": {
+ "shape": "DescribeAnywhereSettings",
+ "locationName": "anywhereSettings"
+ }
+ }
},
- "__integerMin0Max255": {
- "type": "integer",
- "min": 0,
- "max": 255
+ "StartInputDeviceMaintenanceWindowRequest": {
+ "type": "structure",
+ "members": {
+ "InputDeviceId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputDeviceId"
+ }
+ },
+ "required": [
+ "InputDeviceId"
+ ]
},
- "__integerMin0Max30": {
- "type": "integer",
- "min": 0,
- "max": 30
+ "StartInputDeviceMaintenanceWindowResponse": {
+ "type": "structure",
+ "members": {
+ }
},
- "__integerMin0Max32768": {
- "type": "integer",
- "min": 0,
- "max": 32768
+ "StartInputDeviceRequest": {
+ "type": "structure",
+ "members": {
+ "InputDeviceId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputDeviceId"
+ }
+ },
+ "required": [
+ "InputDeviceId"
+ ]
},
- "__integerMin0Max3600": {
- "type": "integer",
- "min": 0,
- "max": 3600
+ "StartInputDeviceResponse": {
+ "type": "structure",
+ "members": {
+ }
},
- "__integerMin0Max500": {
- "type": "integer",
- "min": 0,
- "max": 500
+ "StartMultiplexRequest": {
+ "type": "structure",
+ "members": {
+ "MultiplexId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "multiplexId"
+ }
+ },
+ "required": [
+ "MultiplexId"
+ ]
},
- "__integerMin0Max600": {
- "type": "integer",
- "min": 0,
- "max": 600
- },
- "__integerMin0Max65535": {
- "type": "integer",
- "min": 0,
- "max": 65535
- },
- "__integerMin0Max65536": {
- "type": "integer",
- "min": 0,
- "max": 65536
- },
- "__integerMin0Max7": {
- "type": "integer",
- "min": 0,
- "max": 7
+ "StartMultiplexResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "AvailabilityZones": {
+ "shape": "__listOf__string",
+ "locationName": "availabilityZones"
+ },
+ "Destinations": {
+ "shape": "__listOfMultiplexOutputDestination",
+ "locationName": "destinations"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "MultiplexSettings": {
+ "shape": "MultiplexSettings",
+ "locationName": "multiplexSettings"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "PipelinesRunningCount": {
+ "shape": "__integer",
+ "locationName": "pipelinesRunningCount"
+ },
+ "ProgramCount": {
+ "shape": "__integer",
+ "locationName": "programCount"
+ },
+ "State": {
+ "shape": "MultiplexState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ }
+ }
},
- "__integerMin0Max8191": {
- "type": "integer",
- "min": 0,
- "max": 8191
+ "StartTimecode": {
+ "type": "structure",
+ "members": {
+ "Timecode": {
+ "shape": "__string",
+ "locationName": "timecode"
+ }
+ }
},
- "__integerMin1": {
- "type": "integer",
- "min": 1
+ "StaticImageActivateScheduleActionSettings": {
+ "type": "structure",
+ "members": {
+ "Duration": {
+ "shape": "__integerMin0",
+ "locationName": "duration"
+ },
+ "FadeIn": {
+ "shape": "__integerMin0",
+ "locationName": "fadeIn"
+ },
+ "FadeOut": {
+ "shape": "__integerMin0",
+ "locationName": "fadeOut"
+ },
+ "Height": {
+ "shape": "__integerMin1",
+ "locationName": "height"
+ },
+ "Image": {
+ "shape": "InputLocation",
+ "locationName": "image"
+ },
+ "ImageX": {
+ "shape": "__integerMin0",
+ "locationName": "imageX"
+ },
+ "ImageY": {
+ "shape": "__integerMin0",
+ "locationName": "imageY"
+ },
+ "Layer": {
+ "shape": "__integerMin0Max7",
+ "locationName": "layer"
+ },
+ "Opacity": {
+ "shape": "__integerMin0Max100",
+ "locationName": "opacity"
+ },
+ "Width": {
+ "shape": "__integerMin1",
+ "locationName": "width"
+ }
+ },
+ "required": [
+ "Image"
+ ]
},
- "__integerMin100": {
- "type": "integer",
- "min": 100
+ "StaticImageDeactivateScheduleActionSettings": {
+ "type": "structure",
+ "members": {
+ "FadeOut": {
+ "shape": "__integerMin0",
+ "locationName": "fadeOut"
+ },
+ "Layer": {
+ "shape": "__integerMin0Max7",
+ "locationName": "layer"
+ }
+ }
},
- "__integerMin1000": {
- "type": "integer",
- "min": 1000
+ "StaticImageOutputActivateScheduleActionSettings": {
+ "type": "structure",
+ "members": {
+ "Duration": {
+ "shape": "__integerMin0",
+ "locationName": "duration"
+ },
+ "FadeIn": {
+ "shape": "__integerMin0",
+ "locationName": "fadeIn"
+ },
+ "FadeOut": {
+ "shape": "__integerMin0",
+ "locationName": "fadeOut"
+ },
+ "Height": {
+ "shape": "__integerMin1",
+ "locationName": "height"
+ },
+ "Image": {
+ "shape": "InputLocation",
+ "locationName": "image"
+ },
+ "ImageX": {
+ "shape": "__integerMin0",
+ "locationName": "imageX"
+ },
+ "ImageY": {
+ "shape": "__integerMin0",
+ "locationName": "imageY"
+ },
+ "Layer": {
+ "shape": "__integerMin0Max7",
+ "locationName": "layer"
+ },
+ "Opacity": {
+ "shape": "__integerMin0Max100",
+ "locationName": "opacity"
+ },
+ "OutputNames": {
+ "shape": "__listOf__string",
+ "locationName": "outputNames"
+ },
+ "Width": {
+ "shape": "__integerMin1",
+ "locationName": "width"
+ }
+ },
+ "required": [
+ "OutputNames",
+ "Image"
+ ]
},
- "__integerMin1000000Max100000000": {
- "type": "integer",
- "min": 1000000,
- "max": 100000000
+ "StaticImageOutputDeactivateScheduleActionSettings": {
+ "type": "structure",
+ "members": {
+ "FadeOut": {
+ "shape": "__integerMin0",
+ "locationName": "fadeOut"
+ },
+ "Layer": {
+ "shape": "__integerMin0Max7",
+ "locationName": "layer"
+ },
+ "OutputNames": {
+ "shape": "__listOf__string",
+ "locationName": "outputNames"
+ }
+ },
+ "required": [
+ "OutputNames"
+ ]
},
- "__integerMin100000Max100000000": {
- "type": "integer",
- "min": 100000,
- "max": 100000000
+ "StaticKeySettings": {
+ "type": "structure",
+ "members": {
+ "KeyProviderServer": {
+ "shape": "InputLocation",
+ "locationName": "keyProviderServer"
+ },
+ "StaticKeyValue": {
+ "shape": "__stringMin32Max32",
+ "locationName": "staticKeyValue"
+ }
+ },
+ "required": [
+ "StaticKeyValue"
+ ]
},
- "__integerMin100000Max40000000": {
- "type": "integer",
- "min": 100000,
- "max": 40000000
+ "StopChannelRequest": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelId"
+ }
+ },
+ "required": [
+ "ChannelId"
+ ]
},
- "__integerMin100000Max80000000": {
- "type": "integer",
- "min": 100000,
- "max": 80000000
- },
- "__integerMin1000Max30000": {
- "type": "integer",
- "min": 1000,
- "max": 30000
- },
- "__integerMin1Max10": {
- "type": "integer",
- "min": 1,
- "max": 10
- },
- "__integerMin1Max1000000": {
- "type": "integer",
- "min": 1,
- "max": 1000000
+ "StopChannelResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "CdiInputSpecification": {
+ "shape": "CdiInputSpecification",
+ "locationName": "cdiInputSpecification"
+ },
+ "ChannelClass": {
+ "shape": "ChannelClass",
+ "locationName": "channelClass"
+ },
+ "Destinations": {
+ "shape": "__listOfOutputDestination",
+ "locationName": "destinations"
+ },
+ "EgressEndpoints": {
+ "shape": "__listOfChannelEgressEndpoint",
+ "locationName": "egressEndpoints"
+ },
+ "EncoderSettings": {
+ "shape": "EncoderSettings",
+ "locationName": "encoderSettings"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "InputAttachments": {
+ "shape": "__listOfInputAttachment",
+ "locationName": "inputAttachments"
+ },
+ "InputSpecification": {
+ "shape": "InputSpecification",
+ "locationName": "inputSpecification"
+ },
+ "LogLevel": {
+ "shape": "LogLevel",
+ "locationName": "logLevel"
+ },
+ "Maintenance": {
+ "shape": "MaintenanceStatus",
+ "locationName": "maintenance"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "PipelineDetails": {
+ "shape": "__listOfPipelineDetail",
+ "locationName": "pipelineDetails"
+ },
+ "PipelinesRunningCount": {
+ "shape": "__integer",
+ "locationName": "pipelinesRunningCount"
+ },
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
+ },
+ "State": {
+ "shape": "ChannelState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "Vpc": {
+ "shape": "VpcOutputSettingsDescription",
+ "locationName": "vpc"
+ },
+ "AnywhereSettings": {
+ "shape": "DescribeAnywhereSettings",
+ "locationName": "anywhereSettings"
+ }
+ }
},
- "__integerMin1Max16": {
- "type": "integer",
- "min": 1,
- "max": 16
+ "StopInputDeviceRequest": {
+ "type": "structure",
+ "members": {
+ "InputDeviceId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputDeviceId"
+ }
+ },
+ "required": [
+ "InputDeviceId"
+ ]
},
- "__integerMin1Max20": {
- "type": "integer",
- "min": 1,
- "max": 20
+ "StopInputDeviceResponse": {
+ "type": "structure",
+ "members": {
+ }
},
- "__integerMin1Max3003": {
- "type": "integer",
- "min": 1,
- "max": 3003
+ "StopMultiplexRequest": {
+ "type": "structure",
+ "members": {
+ "MultiplexId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "multiplexId"
+ }
+ },
+ "required": [
+ "MultiplexId"
+ ]
},
- "__integerMin1Max31": {
- "type": "integer",
- "min": 1,
- "max": 31
+ "StopMultiplexResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "AvailabilityZones": {
+ "shape": "__listOf__string",
+ "locationName": "availabilityZones"
+ },
+ "Destinations": {
+ "shape": "__listOfMultiplexOutputDestination",
+ "locationName": "destinations"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "MultiplexSettings": {
+ "shape": "MultiplexSettings",
+ "locationName": "multiplexSettings"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "PipelinesRunningCount": {
+ "shape": "__integer",
+ "locationName": "pipelinesRunningCount"
+ },
+ "ProgramCount": {
+ "shape": "__integer",
+ "locationName": "programCount"
+ },
+ "State": {
+ "shape": "MultiplexState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ }
+ }
},
- "__integerMin1Max32": {
- "type": "integer",
- "min": 1,
- "max": 32
+ "StopTimecode": {
+ "type": "structure",
+ "members": {
+ "LastFrameClippingBehavior": {
+ "shape": "LastFrameClippingBehavior",
+ "locationName": "lastFrameClippingBehavior"
+ },
+ "Timecode": {
+ "shape": "__string",
+ "locationName": "timecode"
+ }
+ }
},
- "__integerMin1Max3600000": {
- "type": "integer",
- "min": 1,
- "max": 3600000
+ "Tags": {
+ "type": "map",
+ "key": {
+ "shape": "__string"
+ },
+ "value": {
+ "shape": "__string"
+ }
},
- "__integerMin1Max4": {
- "type": "integer",
- "min": 1,
- "max": 4
+ "TagsModel": {
+ "type": "structure",
+ "members": {
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ }
+ }
},
- "__integerMin1Max5": {
- "type": "integer",
- "min": 1,
- "max": 5
+ "TeletextDestinationSettings": {
+ "type": "structure",
+ "members": {
+ }
},
- "__integerMin1Max6": {
- "type": "integer",
- "min": 1,
- "max": 6
+ "TeletextSourceSettings": {
+ "type": "structure",
+ "members": {
+ "OutputRectangle": {
+ "shape": "CaptionRectangle",
+ "locationName": "outputRectangle"
+ },
+ "PageNumber": {
+ "shape": "__string",
+ "locationName": "pageNumber"
+ }
+ }
},
- "__integerMin1Max8": {
- "type": "integer",
- "min": 1,
- "max": 8
+ "TemporalFilterPostFilterSharpening": {
+ "type": "string",
+ "enum": [
+ "AUTO",
+ "DISABLED",
+ "ENABLED"
+ ]
},
- "__integerMin25Max10000": {
- "type": "integer",
- "min": 25,
- "max": 10000
+ "TemporalFilterSettings": {
+ "type": "structure",
+ "members": {
+ "PostFilterSharpening": {
+ "shape": "TemporalFilterPostFilterSharpening",
+ "locationName": "postFilterSharpening"
+ },
+ "Strength": {
+ "shape": "TemporalFilterStrength",
+ "locationName": "strength"
+ }
+ }
},
- "__integerMin25Max2000": {
- "type": "integer",
- "min": 25,
- "max": 2000
+ "TemporalFilterStrength": {
+ "type": "string",
+ "enum": [
+ "AUTO",
+ "STRENGTH_1",
+ "STRENGTH_2",
+ "STRENGTH_3",
+ "STRENGTH_4",
+ "STRENGTH_5",
+ "STRENGTH_6",
+ "STRENGTH_7",
+ "STRENGTH_8",
+ "STRENGTH_9",
+ "STRENGTH_10",
+ "STRENGTH_11",
+ "STRENGTH_12",
+ "STRENGTH_13",
+ "STRENGTH_14",
+ "STRENGTH_15",
+ "STRENGTH_16"
+ ]
},
- "__integerMin3": {
- "type": "integer",
- "min": 3
+ "Thumbnail": {
+ "type": "structure",
+ "members": {
+ "Body": {
+ "shape": "__string",
+ "locationName": "body"
+ },
+ "ContentType": {
+ "shape": "__string",
+ "locationName": "contentType"
+ },
+ "ThumbnailType": {
+ "shape": "ThumbnailType",
+ "locationName": "thumbnailType"
+ },
+ "TimeStamp": {
+ "shape": "__timestampIso8601",
+ "locationName": "timeStamp"
+ }
+ }
},
- "__integerMin30": {
- "type": "integer",
- "min": 30
+ "ThumbnailConfiguration": {
+ "type": "structure",
+ "members": {
+ "State": {
+ "shape": "ThumbnailState",
+ "locationName": "state"
+ }
+ },
+ "required": [
+ "State"
+ ]
},
- "__integerMin32Max8191": {
- "type": "integer",
- "min": 32,
- "max": 8191
+ "ThumbnailData": {
+ "type": "structure",
+ "members": {
+ "Body": {
+ "shape": "__string",
+ "locationName": "body"
+ }
+ }
},
- "__integerMin4Max20": {
- "type": "integer",
- "min": 4,
- "max": 20
+ "ThumbnailDetail": {
+ "type": "structure",
+ "members": {
+ "PipelineId": {
+ "shape": "__string",
+ "locationName": "pipelineId"
+ },
+ "Thumbnails": {
+ "shape": "__listOfThumbnail",
+ "locationName": "thumbnails"
+ }
+ }
},
- "__integerMin800Max3000": {
- "type": "integer",
- "min": 800,
- "max": 3000
+ "ThumbnailNoData": {
+ "type": "structure",
+ "members": {
+ }
},
- "__integerMin96Max600": {
- "type": "integer",
- "min": 96,
- "max": 600
+ "ThumbnailState": {
+ "type": "string",
+ "enum": [
+ "AUTO",
+ "DISABLED"
+ ]
},
- "__integerMinNegative1000Max1000": {
- "type": "integer",
- "min": -1000,
- "max": 1000
+ "ThumbnailType": {
+ "type": "string",
+ "enum": [
+ "UNSPECIFIED",
+ "CURRENT_ACTIVE"
+ ]
},
- "__integerMinNegative5Max5": {
- "type": "integer",
- "min": -5,
- "max": 5
+ "TimecodeBurninFontSize": {
+ "type": "string",
+ "enum": [
+ "EXTRA_SMALL_10",
+ "LARGE_48",
+ "MEDIUM_32",
+ "SMALL_16"
+ ]
},
- "__integerMinNegative60Max6": {
- "type": "integer",
- "min": -60,
- "max": 6
+ "TimecodeBurninPosition": {
+ "type": "string",
+ "enum": [
+ "BOTTOM_CENTER",
+ "BOTTOM_LEFT",
+ "BOTTOM_RIGHT",
+ "MIDDLE_CENTER",
+ "MIDDLE_LEFT",
+ "MIDDLE_RIGHT",
+ "TOP_CENTER",
+ "TOP_LEFT",
+ "TOP_RIGHT"
+ ]
},
- "__integerMinNegative60Max60": {
- "type": "integer",
- "min": -60,
- "max": 60
+ "TimecodeBurninSettings": {
+ "type": "structure",
+ "members": {
+ "FontSize": {
+ "shape": "TimecodeBurninFontSize",
+ "locationName": "fontSize"
+ },
+ "Position": {
+ "shape": "TimecodeBurninPosition",
+ "locationName": "position"
+ },
+ "Prefix": {
+ "shape": "__stringMax255",
+ "locationName": "prefix"
+ }
+ },
+ "required": [
+ "Position",
+ "FontSize"
+ ]
},
- "__listOfAudioChannelMapping": {
- "type": "list",
- "member": {
- "shape": "AudioChannelMapping"
- }
+ "TimecodeConfig": {
+ "type": "structure",
+ "members": {
+ "Source": {
+ "shape": "TimecodeConfigSource",
+ "locationName": "source"
+ },
+ "SyncThreshold": {
+ "shape": "__integerMin1Max1000000",
+ "locationName": "syncThreshold"
+ }
+ },
+ "required": [
+ "Source"
+ ]
},
- "__listOfAudioDescription": {
- "type": "list",
- "member": {
- "shape": "AudioDescription"
- }
+ "TimecodeConfigSource": {
+ "type": "string",
+ "enum": [
+ "EMBEDDED",
+ "SYSTEMCLOCK",
+ "ZEROBASED"
+ ]
},
- "__listOfAudioSelector": {
- "type": "list",
- "member": {
- "shape": "AudioSelector"
+ "TooManyRequestsException": {
+ "type": "structure",
+ "members": {
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
+ }
+ },
+ "exception": true,
+ "error": {
+ "httpStatusCode": 429
}
},
- "__listOfAudioTrack": {
- "type": "list",
- "member": {
- "shape": "AudioTrack"
+ "TransferInputDevice": {
+ "type": "structure",
+ "members": {
+ "TargetCustomerId": {
+ "shape": "__string",
+ "locationName": "targetCustomerId"
+ },
+ "TargetRegion": {
+ "shape": "__string",
+ "locationName": "targetRegion"
+ },
+ "TransferMessage": {
+ "shape": "__string",
+ "locationName": "transferMessage"
+ }
}
},
- "__listOfBatchFailedResultModel": {
- "type": "list",
- "member": {
- "shape": "BatchFailedResultModel"
- }
+ "TransferInputDeviceRequest": {
+ "type": "structure",
+ "members": {
+ "InputDeviceId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputDeviceId"
+ },
+ "TargetCustomerId": {
+ "shape": "__string",
+ "locationName": "targetCustomerId"
+ },
+ "TargetRegion": {
+ "shape": "__string",
+ "locationName": "targetRegion"
+ },
+ "TransferMessage": {
+ "shape": "__string",
+ "locationName": "transferMessage"
+ }
+ },
+ "required": [
+ "InputDeviceId"
+ ]
},
- "__listOfBatchSuccessfulResultModel": {
- "type": "list",
- "member": {
- "shape": "BatchSuccessfulResultModel"
+ "TransferInputDeviceResponse": {
+ "type": "structure",
+ "members": {
}
},
- "__listOfCaptionDescription": {
- "type": "list",
- "member": {
- "shape": "CaptionDescription"
+ "TransferringInputDeviceSummary": {
+ "type": "structure",
+ "members": {
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
+ },
+ "TargetCustomerId": {
+ "shape": "__string",
+ "locationName": "targetCustomerId"
+ },
+ "TransferType": {
+ "shape": "InputDeviceTransferType",
+ "locationName": "transferType"
+ }
}
},
- "__listOfCaptionLanguageMapping": {
- "type": "list",
- "member": {
- "shape": "CaptionLanguageMapping"
+ "TtmlDestinationSettings": {
+ "type": "structure",
+ "members": {
+ "StyleControl": {
+ "shape": "TtmlDestinationStyleControl",
+ "locationName": "styleControl"
+ }
}
},
- "__listOfCaptionSelector": {
- "type": "list",
- "member": {
- "shape": "CaptionSelector"
- }
+ "TtmlDestinationStyleControl": {
+ "type": "string",
+ "enum": [
+ "PASSTHROUGH",
+ "USE_CONFIGURED"
+ ]
},
- "__listOfChannelEgressEndpoint": {
- "type": "list",
- "member": {
- "shape": "ChannelEgressEndpoint"
+ "UdpContainerSettings": {
+ "type": "structure",
+ "members": {
+ "M2tsSettings": {
+ "shape": "M2tsSettings",
+ "locationName": "m2tsSettings"
+ }
}
},
- "__listOfChannelSummary": {
- "type": "list",
- "member": {
- "shape": "ChannelSummary"
+ "UdpGroupSettings": {
+ "type": "structure",
+ "members": {
+ "InputLossAction": {
+ "shape": "InputLossActionForUdpOut",
+ "locationName": "inputLossAction"
+ },
+ "TimedMetadataId3Frame": {
+ "shape": "UdpTimedMetadataId3Frame",
+ "locationName": "timedMetadataId3Frame"
+ },
+ "TimedMetadataId3Period": {
+ "shape": "__integerMin0",
+ "locationName": "timedMetadataId3Period"
+ }
}
},
- "__listOfColorCorrection": {
- "type": "list",
- "member": {
- "shape": "ColorCorrection"
- }
+ "UdpOutputSettings": {
+ "type": "structure",
+ "members": {
+ "BufferMsec": {
+ "shape": "__integerMin0Max10000",
+ "locationName": "bufferMsec"
+ },
+ "ContainerSettings": {
+ "shape": "UdpContainerSettings",
+ "locationName": "containerSettings"
+ },
+ "Destination": {
+ "shape": "OutputLocationRef",
+ "locationName": "destination"
+ },
+ "FecOutputSettings": {
+ "shape": "FecOutputSettings",
+ "locationName": "fecOutputSettings"
+ }
+ },
+ "required": [
+ "Destination",
+ "ContainerSettings"
+ ]
},
- "__listOfFailoverCondition": {
- "type": "list",
- "member": {
- "shape": "FailoverCondition"
- }
+ "UdpTimedMetadataId3Frame": {
+ "type": "string",
+ "enum": [
+ "NONE",
+ "PRIV",
+ "TDRL"
+ ]
},
- "__listOfHlsAdMarkers": {
- "type": "list",
- "member": {
- "shape": "HlsAdMarkers"
+ "UnprocessableEntityException": {
+ "type": "structure",
+ "members": {
+ "ElementPath": {
+ "shape": "__string",
+ "locationName": "elementPath"
+ },
+ "ErrorMessage": {
+ "shape": "__string",
+ "locationName": "errorMessage"
+ }
+ },
+ "exception": true,
+ "error": {
+ "httpStatusCode": 422
}
},
- "__listOfInput": {
- "type": "list",
- "member": {
- "shape": "Input"
+ "UpdateAccountConfigurationRequest": {
+ "type": "structure",
+ "members": {
+ "AccountConfiguration": {
+ "shape": "AccountConfiguration",
+ "locationName": "accountConfiguration"
+ }
}
},
- "__listOfInputAttachment": {
- "type": "list",
- "member": {
- "shape": "InputAttachment"
+ "UpdateAccountConfigurationRequestModel": {
+ "type": "structure",
+ "members": {
+ "AccountConfiguration": {
+ "shape": "AccountConfiguration",
+ "locationName": "accountConfiguration"
+ }
}
},
- "__listOfInputChannelLevel": {
- "type": "list",
- "member": {
- "shape": "InputChannelLevel"
+ "UpdateAccountConfigurationResponse": {
+ "type": "structure",
+ "members": {
+ "AccountConfiguration": {
+ "shape": "AccountConfiguration",
+ "locationName": "accountConfiguration"
+ }
}
},
- "__listOfInputDestination": {
- "type": "list",
- "member": {
- "shape": "InputDestination"
+ "UpdateAccountConfigurationResultModel": {
+ "type": "structure",
+ "members": {
+ "AccountConfiguration": {
+ "shape": "AccountConfiguration",
+ "locationName": "accountConfiguration"
+ }
}
},
- "__listOfInputDestinationRequest": {
- "type": "list",
- "member": {
- "shape": "InputDestinationRequest"
+ "UpdateChannel": {
+ "type": "structure",
+ "members": {
+ "CdiInputSpecification": {
+ "shape": "CdiInputSpecification",
+ "locationName": "cdiInputSpecification"
+ },
+ "Destinations": {
+ "shape": "__listOfOutputDestination",
+ "locationName": "destinations"
+ },
+ "EncoderSettings": {
+ "shape": "EncoderSettings",
+ "locationName": "encoderSettings"
+ },
+ "InputAttachments": {
+ "shape": "__listOfInputAttachment",
+ "locationName": "inputAttachments"
+ },
+ "InputSpecification": {
+ "shape": "InputSpecification",
+ "locationName": "inputSpecification"
+ },
+ "LogLevel": {
+ "shape": "LogLevel",
+ "locationName": "logLevel"
+ },
+ "Maintenance": {
+ "shape": "MaintenanceUpdateSettings",
+ "locationName": "maintenance"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
+ }
}
},
- "__listOfInputDeviceRequest": {
- "type": "list",
- "member": {
- "shape": "InputDeviceRequest"
- }
- },
- "__listOfInputDeviceSettings": {
- "type": "list",
- "member": {
- "shape": "InputDeviceSettings"
- }
- },
- "__listOfInputDeviceSummary": {
- "type": "list",
- "member": {
- "shape": "InputDeviceSummary"
- }
- },
- "__listOfInputSecurityGroup": {
- "type": "list",
- "member": {
- "shape": "InputSecurityGroup"
- }
- },
- "__listOfInputSource": {
- "type": "list",
- "member": {
- "shape": "InputSource"
- }
+ "UpdateChannelClass": {
+ "type": "structure",
+ "members": {
+ "ChannelClass": {
+ "shape": "ChannelClass",
+ "locationName": "channelClass"
+ },
+ "Destinations": {
+ "shape": "__listOfOutputDestination",
+ "locationName": "destinations"
+ }
+ },
+ "required": [
+ "ChannelClass"
+ ]
},
- "__listOfInputSourceRequest": {
- "type": "list",
- "member": {
- "shape": "InputSourceRequest"
- }
+ "UpdateChannelClassRequest": {
+ "type": "structure",
+ "members": {
+ "ChannelClass": {
+ "shape": "ChannelClass",
+ "locationName": "channelClass"
+ },
+ "ChannelId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelId"
+ },
+ "Destinations": {
+ "shape": "__listOfOutputDestination",
+ "locationName": "destinations"
+ }
+ },
+ "required": [
+ "ChannelId",
+ "ChannelClass"
+ ]
},
- "__listOfInputWhitelistRule": {
- "type": "list",
- "member": {
- "shape": "InputWhitelistRule"
+ "UpdateChannelClassResponse": {
+ "type": "structure",
+ "members": {
+ "Channel": {
+ "shape": "Channel",
+ "locationName": "channel"
+ }
}
},
- "__listOfInputWhitelistRuleCidr": {
- "type": "list",
- "member": {
- "shape": "InputWhitelistRuleCidr"
- }
+ "UpdateChannelRequest": {
+ "type": "structure",
+ "members": {
+ "CdiInputSpecification": {
+ "shape": "CdiInputSpecification",
+ "locationName": "cdiInputSpecification"
+ },
+ "ChannelId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelId"
+ },
+ "Destinations": {
+ "shape": "__listOfOutputDestination",
+ "locationName": "destinations"
+ },
+ "EncoderSettings": {
+ "shape": "EncoderSettings",
+ "locationName": "encoderSettings"
+ },
+ "InputAttachments": {
+ "shape": "__listOfInputAttachment",
+ "locationName": "inputAttachments"
+ },
+ "InputSpecification": {
+ "shape": "InputSpecification",
+ "locationName": "inputSpecification"
+ },
+ "LogLevel": {
+ "shape": "LogLevel",
+ "locationName": "logLevel"
+ },
+ "Maintenance": {
+ "shape": "MaintenanceUpdateSettings",
+ "locationName": "maintenance"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
+ }
+ },
+ "required": [
+ "ChannelId"
+ ]
},
- "__listOfMediaConnectFlow": {
- "type": "list",
- "member": {
- "shape": "MediaConnectFlow"
+ "UpdateChannelResponse": {
+ "type": "structure",
+ "members": {
+ "Channel": {
+ "shape": "Channel",
+ "locationName": "channel"
+ }
}
},
- "__listOfMediaConnectFlowRequest": {
- "type": "list",
- "member": {
- "shape": "MediaConnectFlowRequest"
+ "UpdateChannelResultModel": {
+ "type": "structure",
+ "members": {
+ "Channel": {
+ "shape": "Channel",
+ "locationName": "channel"
+ }
}
},
- "__listOfMediaPackageOutputDestinationSettings": {
- "type": "list",
- "member": {
- "shape": "MediaPackageOutputDestinationSettings"
+ "UpdateInput": {
+ "type": "structure",
+ "members": {
+ "Destinations": {
+ "shape": "__listOfInputDestinationRequest",
+ "locationName": "destinations"
+ },
+ "InputDevices": {
+ "shape": "__listOfInputDeviceRequest",
+ "locationName": "inputDevices"
+ },
+ "InputSecurityGroups": {
+ "shape": "__listOf__string",
+ "locationName": "inputSecurityGroups"
+ },
+ "MediaConnectFlows": {
+ "shape": "__listOfMediaConnectFlowRequest",
+ "locationName": "mediaConnectFlows"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
+ },
+ "Sources": {
+ "shape": "__listOfInputSourceRequest",
+ "locationName": "sources"
+ },
+ "SrtSettings": {
+ "shape": "SrtSettingsRequest",
+ "locationName": "srtSettings"
+ },
+ "MulticastSettings": {
+ "shape": "MulticastSettingsUpdateRequest",
+ "locationName": "multicastSettings"
+ }
}
},
- "__listOfMultiplexOutputDestination": {
- "type": "list",
- "member": {
- "shape": "MultiplexOutputDestination"
+ "UpdateInputDevice": {
+ "type": "structure",
+ "members": {
+ "HdDeviceSettings": {
+ "shape": "InputDeviceConfigurableSettings",
+ "locationName": "hdDeviceSettings"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "UhdDeviceSettings": {
+ "shape": "InputDeviceConfigurableSettings",
+ "locationName": "uhdDeviceSettings"
+ },
+ "AvailabilityZone": {
+ "shape": "__string",
+ "locationName": "availabilityZone"
+ }
}
},
- "__listOfMultiplexProgramPipelineDetail": {
- "type": "list",
- "member": {
- "shape": "MultiplexProgramPipelineDetail"
- }
+ "UpdateInputDeviceRequest": {
+ "type": "structure",
+ "members": {
+ "HdDeviceSettings": {
+ "shape": "InputDeviceConfigurableSettings",
+ "locationName": "hdDeviceSettings"
+ },
+ "InputDeviceId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputDeviceId"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "UhdDeviceSettings": {
+ "shape": "InputDeviceConfigurableSettings",
+ "locationName": "uhdDeviceSettings"
+ },
+ "AvailabilityZone": {
+ "shape": "__string",
+ "locationName": "availabilityZone"
+ }
+ },
+ "required": [
+ "InputDeviceId"
+ ]
},
- "__listOfMultiplexProgramSummary": {
- "type": "list",
- "member": {
- "shape": "MultiplexProgramSummary"
- }
- },
- "__listOfMultiplexSummary": {
- "type": "list",
- "member": {
- "shape": "MultiplexSummary"
+ "UpdateInputDeviceResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "ConnectionState": {
+ "shape": "InputDeviceConnectionState",
+ "locationName": "connectionState"
+ },
+ "DeviceSettingsSyncState": {
+ "shape": "DeviceSettingsSyncState",
+ "locationName": "deviceSettingsSyncState"
+ },
+ "DeviceUpdateStatus": {
+ "shape": "DeviceUpdateStatus",
+ "locationName": "deviceUpdateStatus"
+ },
+ "HdDeviceSettings": {
+ "shape": "InputDeviceHdSettings",
+ "locationName": "hdDeviceSettings"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "MacAddress": {
+ "shape": "__string",
+ "locationName": "macAddress"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "NetworkSettings": {
+ "shape": "InputDeviceNetworkSettings",
+ "locationName": "networkSettings"
+ },
+ "SerialNumber": {
+ "shape": "__string",
+ "locationName": "serialNumber"
+ },
+ "Type": {
+ "shape": "InputDeviceType",
+ "locationName": "type"
+ },
+ "UhdDeviceSettings": {
+ "shape": "InputDeviceUhdSettings",
+ "locationName": "uhdDeviceSettings"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "AvailabilityZone": {
+ "shape": "__string",
+ "locationName": "availabilityZone"
+ },
+ "MedialiveInputArns": {
+ "shape": "__listOf__string",
+ "locationName": "medialiveInputArns"
+ },
+ "OutputType": {
+ "shape": "InputDeviceOutputType",
+ "locationName": "outputType"
+ }
}
},
- "__listOfOffering": {
- "type": "list",
- "member": {
- "shape": "Offering"
- }
+ "UpdateInputRequest": {
+ "type": "structure",
+ "members": {
+ "Destinations": {
+ "shape": "__listOfInputDestinationRequest",
+ "locationName": "destinations"
+ },
+ "InputDevices": {
+ "shape": "__listOfInputDeviceRequest",
+ "locationName": "inputDevices"
+ },
+ "InputId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputId"
+ },
+ "InputSecurityGroups": {
+ "shape": "__listOf__string",
+ "locationName": "inputSecurityGroups"
+ },
+ "MediaConnectFlows": {
+ "shape": "__listOfMediaConnectFlowRequest",
+ "locationName": "mediaConnectFlows"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
+ },
+ "Sources": {
+ "shape": "__listOfInputSourceRequest",
+ "locationName": "sources"
+ },
+ "SrtSettings": {
+ "shape": "SrtSettingsRequest",
+ "locationName": "srtSettings"
+ },
+ "MulticastSettings": {
+ "shape": "MulticastSettingsUpdateRequest",
+ "locationName": "multicastSettings"
+ }
+ },
+ "required": [
+ "InputId"
+ ]
},
- "__listOfOutput": {
- "type": "list",
- "member": {
- "shape": "Output"
+ "UpdateInputResponse": {
+ "type": "structure",
+ "members": {
+ "Input": {
+ "shape": "Input",
+ "locationName": "input"
+ }
}
},
- "__listOfOutputDestination": {
- "type": "list",
- "member": {
- "shape": "OutputDestination"
+ "UpdateInputResultModel": {
+ "type": "structure",
+ "members": {
+ "Input": {
+ "shape": "Input",
+ "locationName": "input"
+ }
}
},
- "__listOfOutputDestinationSettings": {
- "type": "list",
- "member": {
- "shape": "OutputDestinationSettings"
- }
+ "UpdateInputSecurityGroupRequest": {
+ "type": "structure",
+ "members": {
+ "InputSecurityGroupId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "inputSecurityGroupId"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "WhitelistRules": {
+ "shape": "__listOfInputWhitelistRuleCidr",
+ "locationName": "whitelistRules"
+ }
+ },
+ "required": [
+ "InputSecurityGroupId"
+ ]
},
- "__listOfOutputGroup": {
- "type": "list",
- "member": {
- "shape": "OutputGroup"
+ "UpdateInputSecurityGroupResponse": {
+ "type": "structure",
+ "members": {
+ "SecurityGroup": {
+ "shape": "InputSecurityGroup",
+ "locationName": "securityGroup"
+ }
}
},
- "__listOfPipelineDetail": {
- "type": "list",
- "member": {
- "shape": "PipelineDetail"
+ "UpdateInputSecurityGroupResultModel": {
+ "type": "structure",
+ "members": {
+ "SecurityGroup": {
+ "shape": "InputSecurityGroup",
+ "locationName": "securityGroup"
+ }
}
},
- "__listOfPipelinePauseStateSettings": {
- "type": "list",
- "member": {
- "shape": "PipelinePauseStateSettings"
+ "UpdateMultiplex": {
+ "type": "structure",
+ "members": {
+ "MultiplexSettings": {
+ "shape": "MultiplexSettings",
+ "locationName": "multiplexSettings"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "PacketIdentifiersMapping": {
+ "shape": "MultiplexPacketIdentifiersMapping",
+ "locationName": "packetIdentifiersMapping"
+ }
}
},
- "__listOfReservation": {
- "type": "list",
- "member": {
- "shape": "Reservation"
+ "UpdateMultiplexProgram": {
+ "type": "structure",
+ "members": {
+ "MultiplexProgramSettings": {
+ "shape": "MultiplexProgramSettings",
+ "locationName": "multiplexProgramSettings"
+ }
}
},
- "__listOfRtmpAdMarkers": {
- "type": "list",
- "member": {
- "shape": "RtmpAdMarkers"
+ "UpdateMultiplexProgramRequest": {
+ "type": "structure",
+ "members": {
+ "MultiplexId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "multiplexId"
+ },
+ "MultiplexProgramSettings": {
+ "shape": "MultiplexProgramSettings",
+ "locationName": "multiplexProgramSettings"
+ },
+ "ProgramName": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "programName"
+ }
+ },
+ "required": [
+ "MultiplexId",
+ "ProgramName"
+ ]
+ },
+ "UpdateMultiplexProgramResponse": {
+ "type": "structure",
+ "members": {
+ "MultiplexProgram": {
+ "shape": "MultiplexProgram",
+ "locationName": "multiplexProgram"
+ }
}
},
- "__listOfScheduleAction": {
- "type": "list",
- "member": {
- "shape": "ScheduleAction"
+ "UpdateMultiplexProgramResultModel": {
+ "type": "structure",
+ "members": {
+ "MultiplexProgram": {
+ "shape": "MultiplexProgram",
+ "locationName": "multiplexProgram"
+ }
}
},
- "__listOfScte35Descriptor": {
- "type": "list",
- "member": {
- "shape": "Scte35Descriptor"
- }
+ "UpdateMultiplexRequest": {
+ "type": "structure",
+ "members": {
+ "MultiplexId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "multiplexId"
+ },
+ "MultiplexSettings": {
+ "shape": "MultiplexSettings",
+ "locationName": "multiplexSettings"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "PacketIdentifiersMapping": {
+ "shape": "MultiplexPacketIdentifiersMapping",
+ "locationName": "packetIdentifiersMapping"
+ }
+ },
+ "required": [
+ "MultiplexId"
+ ]
},
- "__listOfThumbnail": {
- "type": "list",
- "member": {
- "shape": "Thumbnail"
+ "UpdateMultiplexResponse": {
+ "type": "structure",
+ "members": {
+ "Multiplex": {
+ "shape": "Multiplex",
+ "locationName": "multiplex"
+ }
}
},
- "__listOfThumbnailDetail": {
- "type": "list",
- "member": {
- "shape": "ThumbnailDetail"
+ "UpdateMultiplexResultModel": {
+ "type": "structure",
+ "members": {
+ "Multiplex": {
+ "shape": "Multiplex",
+ "locationName": "multiplex"
+ }
}
},
- "__listOfTransferringInputDeviceSummary": {
- "type": "list",
- "member": {
- "shape": "TransferringInputDeviceSummary"
+ "UpdateReservation": {
+ "type": "structure",
+ "members": {
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "RenewalSettings": {
+ "shape": "RenewalSettings",
+ "locationName": "renewalSettings"
+ }
}
},
- "__listOfValidationError": {
- "type": "list",
- "member": {
- "shape": "ValidationError"
- }
+ "UpdateReservationRequest": {
+ "type": "structure",
+ "members": {
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "RenewalSettings": {
+ "shape": "RenewalSettings",
+ "locationName": "renewalSettings"
+ },
+ "ReservationId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "reservationId"
+ }
+ },
+ "required": [
+ "ReservationId"
+ ]
},
- "__listOfVideoDescription": {
- "type": "list",
- "member": {
- "shape": "VideoDescription"
+ "UpdateReservationResponse": {
+ "type": "structure",
+ "members": {
+ "Reservation": {
+ "shape": "Reservation",
+ "locationName": "reservation"
+ }
}
},
- "__listOf__integer": {
- "type": "list",
- "member": {
- "shape": "__integer"
+ "UpdateReservationResultModel": {
+ "type": "structure",
+ "members": {
+ "Reservation": {
+ "shape": "Reservation",
+ "locationName": "reservation"
+ }
}
},
- "__listOf__string": {
- "type": "list",
- "member": {
- "shape": "__string"
+ "ValidationError": {
+ "type": "structure",
+ "members": {
+ "ElementPath": {
+ "shape": "__string",
+ "locationName": "elementPath"
+ },
+ "ErrorMessage": {
+ "shape": "__string",
+ "locationName": "errorMessage"
+ }
}
},
- "__long": {
- "type": "long"
- },
- "__longMin0Max1099511627775": {
- "type": "long",
- "min": 0,
- "max": 1099511627775
- },
- "__longMin0Max4294967295": {
- "type": "long",
- "min": 0,
- "max": 4294967295
- },
- "__longMin0Max8589934591": {
- "type": "long",
- "min": 0,
- "max": 8589934591
- },
- "__longMin0Max86400000": {
- "type": "long",
- "min": 0,
- "max": 86400000
- },
- "__string": {
- "type": "string"
- },
- "__stringMax1000": {
- "type": "string",
- "max": 1000
+ "VideoBlackFailoverSettings": {
+ "type": "structure",
+ "members": {
+ "BlackDetectThreshold": {
+ "shape": "__doubleMin0Max1",
+ "locationName": "blackDetectThreshold"
+ },
+ "VideoBlackThresholdMsec": {
+ "shape": "__integerMin1000",
+ "locationName": "videoBlackThresholdMsec"
+ }
+ }
},
- "__stringMax2048": {
- "type": "string",
- "max": 2048
+ "VideoCodecSettings": {
+ "type": "structure",
+ "members": {
+ "FrameCaptureSettings": {
+ "shape": "FrameCaptureSettings",
+ "locationName": "frameCaptureSettings"
+ },
+ "H264Settings": {
+ "shape": "H264Settings",
+ "locationName": "h264Settings"
+ },
+ "H265Settings": {
+ "shape": "H265Settings",
+ "locationName": "h265Settings"
+ },
+ "Mpeg2Settings": {
+ "shape": "Mpeg2Settings",
+ "locationName": "mpeg2Settings"
+ },
+ "Av1Settings": {
+ "shape": "Av1Settings",
+ "locationName": "av1Settings"
+ }
+ }
},
- "__stringMax255": {
- "type": "string",
- "max": 255
+ "VideoDescription": {
+ "type": "structure",
+ "members": {
+ "CodecSettings": {
+ "shape": "VideoCodecSettings",
+ "locationName": "codecSettings"
+ },
+ "Height": {
+ "shape": "__integer",
+ "locationName": "height"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "RespondToAfd": {
+ "shape": "VideoDescriptionRespondToAfd",
+ "locationName": "respondToAfd"
+ },
+ "ScalingBehavior": {
+ "shape": "VideoDescriptionScalingBehavior",
+ "locationName": "scalingBehavior"
+ },
+ "Sharpness": {
+ "shape": "__integerMin0Max100",
+ "locationName": "sharpness"
+ },
+ "Width": {
+ "shape": "__integer",
+ "locationName": "width"
+ }
+ },
+ "required": [
+ "Name"
+ ]
},
- "__stringMax256": {
+ "VideoDescriptionRespondToAfd": {
"type": "string",
- "max": 256
+ "enum": [
+ "NONE",
+ "PASSTHROUGH",
+ "RESPOND"
+ ]
},
- "__stringMax32": {
+ "VideoDescriptionScalingBehavior": {
"type": "string",
- "max": 32
+ "enum": [
+ "DEFAULT",
+ "STRETCH_TO_OUTPUT"
+ ]
},
- "__stringMin1": {
- "type": "string",
- "min": 1
+ "VideoSelector": {
+ "type": "structure",
+ "members": {
+ "ColorSpace": {
+ "shape": "VideoSelectorColorSpace",
+ "locationName": "colorSpace"
+ },
+ "ColorSpaceSettings": {
+ "shape": "VideoSelectorColorSpaceSettings",
+ "locationName": "colorSpaceSettings"
+ },
+ "ColorSpaceUsage": {
+ "shape": "VideoSelectorColorSpaceUsage",
+ "locationName": "colorSpaceUsage"
+ },
+ "SelectorSettings": {
+ "shape": "VideoSelectorSettings",
+ "locationName": "selectorSettings"
+ }
+ }
},
- "__stringMin1Max255": {
+ "VideoSelectorColorSpace": {
"type": "string",
- "min": 1,
- "max": 255
+ "enum": [
+ "FOLLOW",
+ "HDR10",
+ "HLG_2020",
+ "REC_601",
+ "REC_709"
+ ]
},
- "__stringMin1Max256": {
- "type": "string",
- "min": 1,
- "max": 256
+ "VideoSelectorColorSpaceSettings": {
+ "type": "structure",
+ "members": {
+ "Hdr10Settings": {
+ "shape": "Hdr10Settings",
+ "locationName": "hdr10Settings"
+ }
+ }
},
- "__stringMin1Max35": {
+ "VideoSelectorColorSpaceUsage": {
"type": "string",
- "min": 1,
- "max": 35
+ "enum": [
+ "FALLBACK",
+ "FORCE"
+ ]
},
- "__stringMin1Max7": {
- "type": "string",
- "min": 1,
- "max": 7
+ "VideoSelectorPid": {
+ "type": "structure",
+ "members": {
+ "Pid": {
+ "shape": "__integerMin0Max8191",
+ "locationName": "pid"
+ }
+ }
},
- "__stringMin2Max2": {
- "type": "string",
- "min": 2,
- "max": 2
+ "VideoSelectorProgramId": {
+ "type": "structure",
+ "members": {
+ "ProgramId": {
+ "shape": "__integerMin0Max65536",
+ "locationName": "programId"
+ }
+ }
},
- "__stringMin32Max32": {
- "type": "string",
- "min": 32,
- "max": 32
+ "VideoSelectorSettings": {
+ "type": "structure",
+ "members": {
+ "VideoSelectorPid": {
+ "shape": "VideoSelectorPid",
+ "locationName": "videoSelectorPid"
+ },
+ "VideoSelectorProgramId": {
+ "shape": "VideoSelectorProgramId",
+ "locationName": "videoSelectorProgramId"
+ }
+ }
},
- "__stringMin34Max34": {
- "type": "string",
- "min": 34,
- "max": 34
+ "VpcOutputSettings": {
+ "type": "structure",
+ "members": {
+ "PublicAddressAllocationIds": {
+ "shape": "__listOf__string",
+ "locationName": "publicAddressAllocationIds"
+ },
+ "SecurityGroupIds": {
+ "shape": "__listOf__string",
+ "locationName": "securityGroupIds"
+ },
+ "SubnetIds": {
+ "shape": "__listOf__string",
+ "locationName": "subnetIds"
+ }
+ },
+ "required": [
+ "SubnetIds"
+ ]
},
- "__stringMin3Max3": {
- "type": "string",
- "min": 3,
- "max": 3
+ "VpcOutputSettingsDescription": {
+ "type": "structure",
+ "members": {
+ "AvailabilityZones": {
+ "shape": "__listOf__string",
+ "locationName": "availabilityZones"
+ },
+ "NetworkInterfaceIds": {
+ "shape": "__listOf__string",
+ "locationName": "networkInterfaceIds"
+ },
+ "SecurityGroupIds": {
+ "shape": "__listOf__string",
+ "locationName": "securityGroupIds"
+ },
+ "SubnetIds": {
+ "shape": "__listOf__string",
+ "locationName": "subnetIds"
+ }
+ }
},
- "__stringMin6Max6": {
+ "WavCodingMode": {
"type": "string",
- "min": 6,
- "max": 6
+ "enum": [
+ "CODING_MODE_1_0",
+ "CODING_MODE_2_0",
+ "CODING_MODE_4_0",
+ "CODING_MODE_8_0"
+ ]
},
- "__stringPattern010920300": {
+ "WavSettings": {
+ "type": "structure",
+ "members": {
+ "BitDepth": {
+ "shape": "__double",
+ "locationName": "bitDepth"
+ },
+ "CodingMode": {
+ "shape": "WavCodingMode",
+ "locationName": "codingMode"
+ },
+ "SampleRate": {
+ "shape": "__double",
+ "locationName": "sampleRate"
+ }
+ }
+ },
+ "WebvttDestinationSettings": {
+ "type": "structure",
+ "members": {
+ "StyleControl": {
+ "shape": "WebvttDestinationStyleControl",
+ "locationName": "styleControl"
+ }
+ }
+ },
+ "WebvttDestinationStyleControl": {
"type": "string",
- "pattern": "^([0,1]?[0-9]|2[0-3]):00$"
+ "enum": [
+ "NO_STYLE_DATA",
+ "PASSTHROUGH"
+ ]
},
- "__timestampIso8601": {
- "type": "timestamp",
- "timestampFormat": "iso8601"
+ "__boolean": {
+ "type": "boolean"
},
- "__timestampUnix": {
- "type": "timestamp",
- "timestampFormat": "unixTimestamp"
+ "__double": {
+ "type": "double"
},
- "InputDeviceThumbnail": {
- "type": "blob",
- "streaming": true,
- "documentation": "The binary data for the thumbnail that the Link device has most recently sent to MediaLive."
+ "__doubleMin0": {
+ "type": "double"
},
- "AcceptHeader": {
- "type": "string",
- "enum": [
- "image/jpeg"
- ],
- "documentation": "The HTTP Accept header. Indicates the requested type fothe thumbnail."
+ "__doubleMin0Max1": {
+ "type": "double"
},
- "ContentType": {
- "type": "string",
- "enum": [
- "image/jpeg"
- ],
- "documentation": "Specifies the media type of the thumbnail."
+ "__doubleMin0Max100": {
+ "type": "double"
},
- "__timestamp": {
- "type": "timestamp",
- "documentation": "Placeholder documentation for __timestamp"
+ "__doubleMin0Max5000": {
+ "type": "double"
+ },
+ "__doubleMin1": {
+ "type": "double"
+ },
+ "__doubleMin1Max65535": {
+ "type": "double"
+ },
+ "__doubleMin250Max5000": {
+ "type": "double"
+ },
+ "__doubleMin32Max46": {
+ "type": "double"
+ },
+ "__doubleMinNegative1Max5": {
+ "type": "double"
+ },
+ "__doubleMinNegative59Max0": {
+ "type": "double"
+ },
+ "__integer": {
+ "type": "integer"
+ },
+ "__integerMin0": {
+ "type": "integer",
+ "min": 0
+ },
+ "__integerMin0Max10": {
+ "type": "integer",
+ "min": 0,
+ "max": 10
+ },
+ "__integerMin0Max100": {
+ "type": "integer",
+ "min": 0,
+ "max": 100
+ },
+ "__integerMin0Max1000": {
+ "type": "integer",
+ "min": 0,
+ "max": 1000
+ },
+ "__integerMin0Max10000": {
+ "type": "integer",
+ "min": 0,
+ "max": 10000
+ },
+ "__integerMin0Max1000000": {
+ "type": "integer",
+ "min": 0,
+ "max": 1000000
+ },
+ "__integerMin0Max100000000": {
+ "type": "integer",
+ "min": 0,
+ "max": 100000000
+ },
+ "__integerMin0Max128": {
+ "type": "integer",
+ "min": 0,
+ "max": 128
+ },
+ "__integerMin0Max15": {
+ "type": "integer",
+ "min": 0,
+ "max": 15
+ },
+ "__integerMin0Max2000": {
+ "type": "integer",
+ "min": 0,
+ "max": 2000
+ },
+ "__integerMin0Max255": {
+ "type": "integer",
+ "min": 0,
+ "max": 255
+ },
+ "__integerMin0Max30": {
+ "type": "integer",
+ "min": 0,
+ "max": 30
+ },
+ "__integerMin0Max32768": {
+ "type": "integer",
+ "min": 0,
+ "max": 32768
+ },
+ "__integerMin0Max3600": {
+ "type": "integer",
+ "min": 0,
+ "max": 3600
+ },
+ "__integerMin0Max500": {
+ "type": "integer",
+ "min": 0,
+ "max": 500
+ },
+ "__integerMin0Max600": {
+ "type": "integer",
+ "min": 0,
+ "max": 600
+ },
+ "__integerMin0Max65535": {
+ "type": "integer",
+ "min": 0,
+ "max": 65535
+ },
+ "__integerMin0Max65536": {
+ "type": "integer",
+ "min": 0,
+ "max": 65536
+ },
+ "__integerMin0Max7": {
+ "type": "integer",
+ "min": 0,
+ "max": 7
+ },
+ "__integerMin0Max8191": {
+ "type": "integer",
+ "min": 0,
+ "max": 8191
+ },
+ "__integerMin1": {
+ "type": "integer",
+ "min": 1
+ },
+ "__integerMin100": {
+ "type": "integer",
+ "min": 100
+ },
+ "__integerMin1000": {
+ "type": "integer",
+ "min": 1000
+ },
+ "__integerMin1000000Max100000000": {
+ "type": "integer",
+ "min": 1000000,
+ "max": 100000000
+ },
+ "__integerMin100000Max100000000": {
+ "type": "integer",
+ "min": 100000,
+ "max": 100000000
+ },
+ "__integerMin100000Max40000000": {
+ "type": "integer",
+ "min": 100000,
+ "max": 40000000
+ },
+ "__integerMin100000Max80000000": {
+ "type": "integer",
+ "min": 100000,
+ "max": 80000000
+ },
+ "__integerMin1000Max30000": {
+ "type": "integer",
+ "min": 1000,
+ "max": 30000
+ },
+ "__integerMin1Max10": {
+ "type": "integer",
+ "min": 1,
+ "max": 10
+ },
+ "__integerMin1Max1000000": {
+ "type": "integer",
+ "min": 1,
+ "max": 1000000
+ },
+ "__integerMin1Max16": {
+ "type": "integer",
+ "min": 1,
+ "max": 16
+ },
+ "__integerMin1Max20": {
+ "type": "integer",
+ "min": 1,
+ "max": 20
+ },
+ "__integerMin1Max3003": {
+ "type": "integer",
+ "min": 1,
+ "max": 3003
+ },
+ "__integerMin1Max31": {
+ "type": "integer",
+ "min": 1,
+ "max": 31
+ },
+ "__integerMin1Max32": {
+ "type": "integer",
+ "min": 1,
+ "max": 32
+ },
+ "__integerMin1Max3600000": {
+ "type": "integer",
+ "min": 1,
+ "max": 3600000
+ },
+ "__integerMin1Max4": {
+ "type": "integer",
+ "min": 1,
+ "max": 4
+ },
+ "__integerMin1Max5": {
+ "type": "integer",
+ "min": 1,
+ "max": 5
+ },
+ "__integerMin1Max6": {
+ "type": "integer",
+ "min": 1,
+ "max": 6
+ },
+ "__integerMin1Max8": {
+ "type": "integer",
+ "min": 1,
+ "max": 8
+ },
+ "__integerMin25Max10000": {
+ "type": "integer",
+ "min": 25,
+ "max": 10000
+ },
+ "__integerMin25Max2000": {
+ "type": "integer",
+ "min": 25,
+ "max": 2000
+ },
+ "__integerMin3": {
+ "type": "integer",
+ "min": 3
+ },
+ "__integerMin30": {
+ "type": "integer",
+ "min": 30
+ },
+ "__integerMin32Max8191": {
+ "type": "integer",
+ "min": 32,
+ "max": 8191
+ },
+ "__integerMin4Max20": {
+ "type": "integer",
+ "min": 4,
+ "max": 20
+ },
+ "__integerMin800Max3000": {
+ "type": "integer",
+ "min": 800,
+ "max": 3000
+ },
+ "__integerMin96Max600": {
+ "type": "integer",
+ "min": 96,
+ "max": 600
+ },
+ "__integerMinNegative1000Max1000": {
+ "type": "integer",
+ "min": -1000,
+ "max": 1000
+ },
+ "__integerMinNegative5Max5": {
+ "type": "integer",
+ "min": -5,
+ "max": 5
+ },
+ "__integerMinNegative60Max6": {
+ "type": "integer",
+ "min": -60,
+ "max": 6
+ },
+ "__integerMinNegative60Max60": {
+ "type": "integer",
+ "min": -60,
+ "max": 60
+ },
+ "__listOfAudioChannelMapping": {
+ "type": "list",
+ "member": {
+ "shape": "AudioChannelMapping"
+ }
+ },
+ "__listOfAudioDescription": {
+ "type": "list",
+ "member": {
+ "shape": "AudioDescription"
+ }
+ },
+ "__listOfAudioSelector": {
+ "type": "list",
+ "member": {
+ "shape": "AudioSelector"
+ }
+ },
+ "__listOfAudioTrack": {
+ "type": "list",
+ "member": {
+ "shape": "AudioTrack"
+ }
+ },
+ "__listOfBatchFailedResultModel": {
+ "type": "list",
+ "member": {
+ "shape": "BatchFailedResultModel"
+ }
+ },
+ "__listOfBatchSuccessfulResultModel": {
+ "type": "list",
+ "member": {
+ "shape": "BatchSuccessfulResultModel"
+ }
+ },
+ "__listOfCaptionDescription": {
+ "type": "list",
+ "member": {
+ "shape": "CaptionDescription"
+ }
+ },
+ "__listOfCaptionLanguageMapping": {
+ "type": "list",
+ "member": {
+ "shape": "CaptionLanguageMapping"
+ }
+ },
+ "__listOfCaptionSelector": {
+ "type": "list",
+ "member": {
+ "shape": "CaptionSelector"
+ }
+ },
+ "__listOfChannelEgressEndpoint": {
+ "type": "list",
+ "member": {
+ "shape": "ChannelEgressEndpoint"
+ }
+ },
+ "__listOfChannelSummary": {
+ "type": "list",
+ "member": {
+ "shape": "ChannelSummary"
+ }
+ },
+ "__listOfColorCorrection": {
+ "type": "list",
+ "member": {
+ "shape": "ColorCorrection"
+ }
+ },
+ "__listOfFailoverCondition": {
+ "type": "list",
+ "member": {
+ "shape": "FailoverCondition"
+ }
+ },
+ "__listOfHlsAdMarkers": {
+ "type": "list",
+ "member": {
+ "shape": "HlsAdMarkers"
+ }
+ },
+ "__listOfInput": {
+ "type": "list",
+ "member": {
+ "shape": "Input"
+ }
+ },
+ "__listOfInputAttachment": {
+ "type": "list",
+ "member": {
+ "shape": "InputAttachment"
+ }
+ },
+ "__listOfInputChannelLevel": {
+ "type": "list",
+ "member": {
+ "shape": "InputChannelLevel"
+ }
+ },
+ "__listOfInputDestination": {
+ "type": "list",
+ "member": {
+ "shape": "InputDestination"
+ }
+ },
+ "__listOfInputDestinationRequest": {
+ "type": "list",
+ "member": {
+ "shape": "InputDestinationRequest"
+ }
+ },
+ "__listOfInputDeviceRequest": {
+ "type": "list",
+ "member": {
+ "shape": "InputDeviceRequest"
+ }
+ },
+ "__listOfInputDeviceSettings": {
+ "type": "list",
+ "member": {
+ "shape": "InputDeviceSettings"
+ }
+ },
+ "__listOfInputDeviceSummary": {
+ "type": "list",
+ "member": {
+ "shape": "InputDeviceSummary"
+ }
+ },
+ "__listOfInputSecurityGroup": {
+ "type": "list",
+ "member": {
+ "shape": "InputSecurityGroup"
+ }
+ },
+ "__listOfInputSource": {
+ "type": "list",
+ "member": {
+ "shape": "InputSource"
+ }
+ },
+ "__listOfInputSourceRequest": {
+ "type": "list",
+ "member": {
+ "shape": "InputSourceRequest"
+ }
+ },
+ "__listOfInputWhitelistRule": {
+ "type": "list",
+ "member": {
+ "shape": "InputWhitelistRule"
+ }
+ },
+ "__listOfInputWhitelistRuleCidr": {
+ "type": "list",
+ "member": {
+ "shape": "InputWhitelistRuleCidr"
+ }
+ },
+ "__listOfMediaConnectFlow": {
+ "type": "list",
+ "member": {
+ "shape": "MediaConnectFlow"
+ }
+ },
+ "__listOfMediaConnectFlowRequest": {
+ "type": "list",
+ "member": {
+ "shape": "MediaConnectFlowRequest"
+ }
+ },
+ "__listOfMediaPackageOutputDestinationSettings": {
+ "type": "list",
+ "member": {
+ "shape": "MediaPackageOutputDestinationSettings"
+ }
+ },
+ "__listOfMultiplexOutputDestination": {
+ "type": "list",
+ "member": {
+ "shape": "MultiplexOutputDestination"
+ }
+ },
+ "__listOfMultiplexProgramPipelineDetail": {
+ "type": "list",
+ "member": {
+ "shape": "MultiplexProgramPipelineDetail"
+ }
+ },
+ "__listOfMultiplexProgramSummary": {
+ "type": "list",
+ "member": {
+ "shape": "MultiplexProgramSummary"
+ }
+ },
+ "__listOfMultiplexSummary": {
+ "type": "list",
+ "member": {
+ "shape": "MultiplexSummary"
+ }
+ },
+ "__listOfOffering": {
+ "type": "list",
+ "member": {
+ "shape": "Offering"
+ }
+ },
+ "__listOfOutput": {
+ "type": "list",
+ "member": {
+ "shape": "Output"
+ }
+ },
+ "__listOfOutputDestination": {
+ "type": "list",
+ "member": {
+ "shape": "OutputDestination"
+ }
+ },
+ "__listOfOutputDestinationSettings": {
+ "type": "list",
+ "member": {
+ "shape": "OutputDestinationSettings"
+ }
+ },
+ "__listOfOutputGroup": {
+ "type": "list",
+ "member": {
+ "shape": "OutputGroup"
+ }
+ },
+ "__listOfPipelineDetail": {
+ "type": "list",
+ "member": {
+ "shape": "PipelineDetail"
+ }
+ },
+ "__listOfPipelinePauseStateSettings": {
+ "type": "list",
+ "member": {
+ "shape": "PipelinePauseStateSettings"
+ }
+ },
+ "__listOfReservation": {
+ "type": "list",
+ "member": {
+ "shape": "Reservation"
+ }
+ },
+ "__listOfRtmpAdMarkers": {
+ "type": "list",
+ "member": {
+ "shape": "RtmpAdMarkers"
+ }
+ },
+ "__listOfScheduleAction": {
+ "type": "list",
+ "member": {
+ "shape": "ScheduleAction"
+ }
+ },
+ "__listOfScte35Descriptor": {
+ "type": "list",
+ "member": {
+ "shape": "Scte35Descriptor"
+ }
+ },
+ "__listOfThumbnail": {
+ "type": "list",
+ "member": {
+ "shape": "Thumbnail"
+ }
+ },
+ "__listOfThumbnailDetail": {
+ "type": "list",
+ "member": {
+ "shape": "ThumbnailDetail"
+ }
+ },
+ "__listOfTransferringInputDeviceSummary": {
+ "type": "list",
+ "member": {
+ "shape": "TransferringInputDeviceSummary"
+ }
+ },
+ "__listOfValidationError": {
+ "type": "list",
+ "member": {
+ "shape": "ValidationError"
+ }
+ },
+ "__listOfVideoDescription": {
+ "type": "list",
+ "member": {
+ "shape": "VideoDescription"
+ }
+ },
+ "__listOf__integer": {
+ "type": "list",
+ "member": {
+ "shape": "__integer"
+ }
+ },
+ "__listOf__string": {
+ "type": "list",
+ "member": {
+ "shape": "__string"
+ }
+ },
+ "__long": {
+ "type": "long"
+ },
+ "__longMin0Max1099511627775": {
+ "type": "long",
+ "min": 0,
+ "max": 1099511627775
+ },
+ "__longMin0Max4294967295": {
+ "type": "long",
+ "min": 0,
+ "max": 4294967295
+ },
+ "__longMin0Max8589934591": {
+ "type": "long",
+ "min": 0,
+ "max": 8589934591
+ },
+ "__longMin0Max86400000": {
+ "type": "long",
+ "min": 0,
+ "max": 86400000
+ },
+ "__string": {
+ "type": "string"
+ },
+ "__stringMax1000": {
+ "type": "string",
+ "max": 1000
+ },
+ "__stringMax2048": {
+ "type": "string",
+ "max": 2048
+ },
+ "__stringMax255": {
+ "type": "string",
+ "max": 255
+ },
+ "__stringMax256": {
+ "type": "string",
+ "max": 256
+ },
+ "__stringMax32": {
+ "type": "string",
+ "max": 32
+ },
+ "__stringMin1": {
+ "type": "string",
+ "min": 1
+ },
+ "__stringMin1Max255": {
+ "type": "string",
+ "min": 1,
+ "max": 255
+ },
+ "__stringMin1Max256": {
+ "type": "string",
+ "min": 1,
+ "max": 256
+ },
+ "__stringMin1Max35": {
+ "type": "string",
+ "min": 1,
+ "max": 35
+ },
+ "__stringMin1Max7": {
+ "type": "string",
+ "min": 1,
+ "max": 7
+ },
+ "__stringMin2Max2": {
+ "type": "string",
+ "min": 2,
+ "max": 2
+ },
+ "__stringMin32Max32": {
+ "type": "string",
+ "min": 32,
+ "max": 32
+ },
+ "__stringMin34Max34": {
+ "type": "string",
+ "min": 34,
+ "max": 34
+ },
+ "__stringMin3Max3": {
+ "type": "string",
+ "min": 3,
+ "max": 3
+ },
+ "__stringMin6Max6": {
+ "type": "string",
+ "min": 6,
+ "max": 6
+ },
+ "__stringPattern010920300": {
+ "type": "string",
+ "pattern": "^([0,1]?[0-9]|2[0-3]):00$"
+ },
+ "__timestampIso8601": {
+ "type": "timestamp",
+ "timestampFormat": "iso8601"
+ },
+ "__timestampUnix": {
+ "type": "timestamp",
+ "timestampFormat": "unixTimestamp"
+ },
+ "InputDeviceThumbnail": {
+ "type": "blob",
+ "streaming": true,
+ "documentation": "The binary data for the thumbnail that the Link device has most recently sent to MediaLive."
+ },
+ "AcceptHeader": {
+ "type": "string",
+ "enum": [
+ "image/jpeg"
+ ],
+ "documentation": "The HTTP Accept header. Indicates the requested type fothe thumbnail."
+ },
+ "ContentType": {
+ "type": "string",
+ "enum": [
+ "image/jpeg"
+ ],
+ "documentation": "Specifies the media type of the thumbnail."
+ },
+ "__timestamp": {
+ "type": "timestamp",
+ "documentation": "Placeholder documentation for __timestamp"
+ },
+ "InputDeviceConfigurableAudioChannelPairConfig": {
+ "type": "structure",
+ "members": {
+ "Id": {
+ "shape": "__integer",
+ "locationName": "id"
+ },
+ "Profile": {
+ "shape": "InputDeviceConfigurableAudioChannelPairProfile",
+ "locationName": "profile"
+ }
+ }
+ },
+ "InputDeviceConfigurableAudioChannelPairProfile": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "VBR-AAC_HHE-16000",
+ "VBR-AAC_HE-64000",
+ "VBR-AAC_LC-128000",
+ "CBR-AAC_HQ-192000",
+ "CBR-AAC_HQ-256000",
+ "CBR-AAC_HQ-384000",
+ "CBR-AAC_HQ-512000"
+ ]
+ },
+ "InputDeviceUhdAudioChannelPairConfig": {
+ "type": "structure",
+ "members": {
+ "Id": {
+ "shape": "__integer",
+ "locationName": "id"
+ },
+ "Profile": {
+ "shape": "InputDeviceUhdAudioChannelPairProfile",
+ "locationName": "profile"
+ }
+ }
+ },
+ "InputDeviceUhdAudioChannelPairProfile": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "VBR-AAC_HHE-16000",
+ "VBR-AAC_HE-64000",
+ "VBR-AAC_LC-128000",
+ "CBR-AAC_HQ-192000",
+ "CBR-AAC_HQ-256000",
+ "CBR-AAC_HQ-384000",
+ "CBR-AAC_HQ-512000"
+ ]
+ },
+ "__listOfInputDeviceConfigurableAudioChannelPairConfig": {
+ "type": "list",
+ "member": {
+ "shape": "InputDeviceConfigurableAudioChannelPairConfig"
+ }
+ },
+ "__listOfInputDeviceUhdAudioChannelPairConfig": {
+ "type": "list",
+ "member": {
+ "shape": "InputDeviceUhdAudioChannelPairConfig"
+ }
+ },
+ "ChannelPipelineIdToRestart": {
+ "type": "string",
+ "enum": [
+ "PIPELINE_0",
+ "PIPELINE_1"
+ ]
+ },
+ "RestartChannelPipelinesRequest": {
+ "type": "structure",
+ "members": {
+ "ChannelId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelId"
+ },
+ "PipelineIds": {
+ "shape": "__listOfChannelPipelineIdToRestart",
+ "locationName": "pipelineIds"
+ }
+ },
+ "required": [
+ "ChannelId"
+ ]
+ },
+ "RestartChannelPipelinesResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "CdiInputSpecification": {
+ "shape": "CdiInputSpecification",
+ "locationName": "cdiInputSpecification"
+ },
+ "ChannelClass": {
+ "shape": "ChannelClass",
+ "locationName": "channelClass"
+ },
+ "Destinations": {
+ "shape": "__listOfOutputDestination",
+ "locationName": "destinations"
+ },
+ "EgressEndpoints": {
+ "shape": "__listOfChannelEgressEndpoint",
+ "locationName": "egressEndpoints"
+ },
+ "EncoderSettings": {
+ "shape": "EncoderSettings",
+ "locationName": "encoderSettings"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "InputAttachments": {
+ "shape": "__listOfInputAttachment",
+ "locationName": "inputAttachments"
+ },
+ "InputSpecification": {
+ "shape": "InputSpecification",
+ "locationName": "inputSpecification"
+ },
+ "LogLevel": {
+ "shape": "LogLevel",
+ "locationName": "logLevel"
+ },
+ "Maintenance": {
+ "shape": "MaintenanceStatus",
+ "locationName": "maintenance"
+ },
+ "MaintenanceStatus": {
+ "shape": "__string",
+ "locationName": "maintenanceStatus"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "PipelineDetails": {
+ "shape": "__listOfPipelineDetail",
+ "locationName": "pipelineDetails"
+ },
+ "PipelinesRunningCount": {
+ "shape": "__integer",
+ "locationName": "pipelinesRunningCount"
+ },
+ "RoleArn": {
+ "shape": "__string",
+ "locationName": "roleArn"
+ },
+ "State": {
+ "shape": "ChannelState",
+ "locationName": "state"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
+ },
+ "Vpc": {
+ "shape": "VpcOutputSettingsDescription",
+ "locationName": "vpc"
+ },
+ "AnywhereSettings": {
+ "shape": "DescribeAnywhereSettings",
+ "locationName": "anywhereSettings"
+ }
+ }
+ },
+ "__listOfChannelPipelineIdToRestart": {
+ "type": "list",
+ "member": {
+ "shape": "ChannelPipelineIdToRestart"
+ }
+ },
+ "H265MvOverPictureBoundaries": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED"
+ ]
+ },
+ "H265MvTemporalPredictor": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED"
+ ]
+ },
+ "H265TilePadding": {
+ "type": "string",
+ "enum": [
+ "NONE",
+ "PADDED"
+ ]
+ },
+ "H265TreeblockSize": {
+ "type": "string",
+ "enum": [
+ "AUTO",
+ "TREE_SIZE_32X32"
+ ]
+ },
+ "__integerMin256Max3840": {
+ "type": "integer",
+ "min": 256,
+ "max": 3840
+ },
+ "__integerMin64Max2160": {
+ "type": "integer",
+ "min": 64,
+ "max": 2160
+ },
+ "CmafIngestGroupSettings": {
+ "type": "structure",
+ "members": {
+ "Destination": {
+ "shape": "OutputLocationRef",
+ "locationName": "destination"
+ },
+ "NielsenId3Behavior": {
+ "shape": "CmafNielsenId3Behavior",
+ "locationName": "nielsenId3Behavior"
+ },
+ "Scte35Type": {
+ "shape": "Scte35Type",
+ "locationName": "scte35Type"
+ },
+ "SegmentLength": {
+ "shape": "__integerMin1",
+ "locationName": "segmentLength"
+ },
+ "SegmentLengthUnits": {
+ "shape": "CmafIngestSegmentLengthUnits",
+ "locationName": "segmentLengthUnits"
+ },
+ "SendDelayMs": {
+ "shape": "__integerMin0Max2000",
+ "locationName": "sendDelayMs"
+ }
+ },
+ "required": [
+ "Destination"
+ ]
+ },
+ "CmafIngestOutputSettings": {
+ "type": "structure",
+ "members": {
+ "NameModifier": {
+ "shape": "__string",
+ "locationName": "nameModifier"
+ }
+ }
+ },
+ "CmafIngestSegmentLengthUnits": {
+ "type": "string",
+ "enum": [
+ "MILLISECONDS",
+ "SECONDS"
+ ]
+ },
+ "CmafNielsenId3Behavior": {
+ "type": "string",
+ "enum": [
+ "NO_PASSTHROUGH",
+ "PASSTHROUGH"
+ ]
+ },
+ "DashRoleAudio": {
+ "type": "string",
+ "enum": [
+ "ALTERNATE",
+ "COMMENTARY",
+ "DESCRIPTION",
+ "DUB",
+ "EMERGENCY",
+ "ENHANCED-AUDIO-INTELLIGIBILITY",
+ "KARAOKE",
+ "MAIN",
+ "SUPPLEMENTARY"
+ ]
+ },
+ "DashRoleCaption": {
+ "type": "string",
+ "enum": [
+ "ALTERNATE",
+ "CAPTION",
+ "COMMENTARY",
+ "DESCRIPTION",
+ "DUB",
+ "EASYREADER",
+ "EMERGENCY",
+ "FORCED-SUBTITLE",
+ "KARAOKE",
+ "MAIN",
+ "METADATA",
+ "SUBTITLE",
+ "SUPPLEMENTARY"
+ ]
+ },
+ "DvbDashAccessibility": {
+ "type": "string",
+ "enum": [
+ "DVBDASH_1_VISUALLY_IMPAIRED",
+ "DVBDASH_2_HARD_OF_HEARING",
+ "DVBDASH_3_SUPPLEMENTAL_COMMENTARY",
+ "DVBDASH_4_DIRECTORS_COMMENTARY",
+ "DVBDASH_5_EDUCATIONAL_NOTES",
+ "DVBDASH_6_MAIN_PROGRAM",
+ "DVBDASH_7_CLEAN_FEED"
+ ]
+ },
+ "__listOfDashRoleAudio": {
+ "type": "list",
+ "member": {
+ "shape": "DashRoleAudio"
+ }
+ },
+ "__listOfDashRoleCaption": {
+ "type": "list",
+ "member": {
+ "shape": "DashRoleCaption"
+ }
+ },
+ "Scte35Type": {
+ "type": "string",
+ "enum": [
+ "NONE",
+ "SCTE_35_WITHOUT_SEGMENTATION"
+ ]
+ },
+ "BadRequestExceptionResponseContent": {
+ "type": "structure",
+ "members": {
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
+ }
+ }
+ },
+ "CloudWatchAlarmTemplateComparisonOperator": {
+ "type": "string",
+ "enum": [
+ "GreaterThanOrEqualToThreshold",
+ "GreaterThanThreshold",
+ "LessThanThreshold",
+ "LessThanOrEqualToThreshold"
+ ]
+ },
+ "CloudWatchAlarmTemplateGroupSummary": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ },
+ "TemplateCount": {
+ "shape": "__integer",
+ "locationName": "templateCount"
+ }
+ },
+ "required": [
+ "TemplateCount",
+ "CreatedAt",
+ "Id",
+ "Arn",
+ "Name"
+ ]
+ },
+ "CloudWatchAlarmTemplateStatistic": {
+ "type": "string",
+ "enum": [
+ "SampleCount",
+ "Average",
+ "Sum",
+ "Minimum",
+ "Maximum"
+ ]
+ },
+ "CloudWatchAlarmTemplateSummary": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
+ "locationName": "arn"
+ },
+ "ComparisonOperator": {
+ "shape": "CloudWatchAlarmTemplateComparisonOperator",
+ "locationName": "comparisonOperator"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "DatapointsToAlarm": {
+ "shape": "__integerMin1",
+ "locationName": "datapointsToAlarm"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EvaluationPeriods": {
+ "shape": "__integerMin1",
+ "locationName": "evaluationPeriods"
+ },
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "MetricName": {
+ "shape": "__stringMax64",
+ "locationName": "metricName"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Period": {
+ "shape": "__integerMin10Max86400",
+ "locationName": "period"
+ },
+ "Statistic": {
+ "shape": "CloudWatchAlarmTemplateStatistic",
+ "locationName": "statistic"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ },
+ "TargetResourceType": {
+ "shape": "CloudWatchAlarmTemplateTargetResourceType",
+ "locationName": "targetResourceType"
+ },
+ "Threshold": {
+ "shape": "__double",
+ "locationName": "threshold"
+ },
+ "TreatMissingData": {
+ "shape": "CloudWatchAlarmTemplateTreatMissingData",
+ "locationName": "treatMissingData"
+ }
+ },
+ "required": [
+ "TargetResourceType",
+ "TreatMissingData",
+ "ComparisonOperator",
+ "CreatedAt",
+ "Period",
+ "EvaluationPeriods",
+ "Name",
+ "GroupId",
+ "MetricName",
+ "Statistic",
+ "Id",
+ "Arn",
+ "Threshold"
+ ]
+ },
+ "CloudWatchAlarmTemplateTargetResourceType": {
+ "type": "string",
+ "enum": [
+ "CLOUDFRONT_DISTRIBUTION",
+ "MEDIALIVE_MULTIPLEX",
+ "MEDIALIVE_CHANNEL",
+ "MEDIALIVE_INPUT_DEVICE",
+ "MEDIAPACKAGE_CHANNEL",
+ "MEDIAPACKAGE_ORIGIN_ENDPOINT",
+ "MEDIACONNECT_FLOW",
+ "S3_BUCKET"
+ ]
+ },
+ "CloudWatchAlarmTemplateTreatMissingData": {
+ "type": "string",
+ "enum": [
+ "notBreaching",
+ "breaching",
+ "ignore",
+ "missing"
+ ]
+ },
+ "ConflictExceptionResponseContent": {
+ "type": "structure",
+ "members": {
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
+ }
+ }
+ },
+ "CreateCloudWatchAlarmTemplateGroupRequest": {
+ "type": "structure",
+ "members": {
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "Name"
+ ]
+ },
+ "CreateCloudWatchAlarmTemplateGroupRequestContent": {
+ "type": "structure",
+ "members": {
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "Name"
+ ]
+ },
+ "CreateCloudWatchAlarmTemplateGroupResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ }
+ },
+ "CreateCloudWatchAlarmTemplateGroupResponseContent": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "CreatedAt",
+ "Id",
+ "Arn",
+ "Name"
+ ]
+ },
+ "CreateCloudWatchAlarmTemplateRequest": {
+ "type": "structure",
+ "members": {
+ "ComparisonOperator": {
+ "shape": "CloudWatchAlarmTemplateComparisonOperator",
+ "locationName": "comparisonOperator"
+ },
+ "DatapointsToAlarm": {
+ "shape": "__integerMin1",
+ "locationName": "datapointsToAlarm"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EvaluationPeriods": {
+ "shape": "__integerMin1",
+ "locationName": "evaluationPeriods"
+ },
+ "GroupIdentifier": {
+ "shape": "__stringPatternS",
+ "locationName": "groupIdentifier"
+ },
+ "MetricName": {
+ "shape": "__stringMax64",
+ "locationName": "metricName"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Period": {
+ "shape": "__integerMin10Max86400",
+ "locationName": "period"
+ },
+ "Statistic": {
+ "shape": "CloudWatchAlarmTemplateStatistic",
+ "locationName": "statistic"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ },
+ "TargetResourceType": {
+ "shape": "CloudWatchAlarmTemplateTargetResourceType",
+ "locationName": "targetResourceType"
+ },
+ "Threshold": {
+ "shape": "__double",
+ "locationName": "threshold"
+ },
+ "TreatMissingData": {
+ "shape": "CloudWatchAlarmTemplateTreatMissingData",
+ "locationName": "treatMissingData"
+ }
+ },
+ "required": [
+ "TargetResourceType",
+ "MetricName",
+ "TreatMissingData",
+ "ComparisonOperator",
+ "Statistic",
+ "Period",
+ "EvaluationPeriods",
+ "Threshold",
+ "Name",
+ "GroupIdentifier"
+ ]
+ },
+ "CreateCloudWatchAlarmTemplateRequestContent": {
+ "type": "structure",
+ "members": {
+ "ComparisonOperator": {
+ "shape": "CloudWatchAlarmTemplateComparisonOperator",
+ "locationName": "comparisonOperator"
+ },
+ "DatapointsToAlarm": {
+ "shape": "__integerMin1",
+ "locationName": "datapointsToAlarm"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EvaluationPeriods": {
+ "shape": "__integerMin1",
+ "locationName": "evaluationPeriods"
+ },
+ "GroupIdentifier": {
+ "shape": "__stringPatternS",
+ "locationName": "groupIdentifier"
+ },
+ "MetricName": {
+ "shape": "__stringMax64",
+ "locationName": "metricName"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Period": {
+ "shape": "__integerMin10Max86400",
+ "locationName": "period"
+ },
+ "Statistic": {
+ "shape": "CloudWatchAlarmTemplateStatistic",
+ "locationName": "statistic"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ },
+ "TargetResourceType": {
+ "shape": "CloudWatchAlarmTemplateTargetResourceType",
+ "locationName": "targetResourceType"
+ },
+ "Threshold": {
+ "shape": "__double",
+ "locationName": "threshold"
+ },
+ "TreatMissingData": {
+ "shape": "CloudWatchAlarmTemplateTreatMissingData",
+ "locationName": "treatMissingData"
+ }
+ },
+ "required": [
+ "TargetResourceType",
+ "MetricName",
+ "TreatMissingData",
+ "ComparisonOperator",
+ "Statistic",
+ "Period",
+ "EvaluationPeriods",
+ "Threshold",
+ "Name",
+ "GroupIdentifier"
+ ]
+ },
+ "CreateCloudWatchAlarmTemplateResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
+ "locationName": "arn"
+ },
+ "ComparisonOperator": {
+ "shape": "CloudWatchAlarmTemplateComparisonOperator",
+ "locationName": "comparisonOperator"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "DatapointsToAlarm": {
+ "shape": "__integerMin1",
+ "locationName": "datapointsToAlarm"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EvaluationPeriods": {
+ "shape": "__integerMin1",
+ "locationName": "evaluationPeriods"
+ },
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "MetricName": {
+ "shape": "__stringMax64",
+ "locationName": "metricName"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Period": {
+ "shape": "__integerMin10Max86400",
+ "locationName": "period"
+ },
+ "Statistic": {
+ "shape": "CloudWatchAlarmTemplateStatistic",
+ "locationName": "statistic"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ },
+ "TargetResourceType": {
+ "shape": "CloudWatchAlarmTemplateTargetResourceType",
+ "locationName": "targetResourceType"
+ },
+ "Threshold": {
+ "shape": "__double",
+ "locationName": "threshold"
+ },
+ "TreatMissingData": {
+ "shape": "CloudWatchAlarmTemplateTreatMissingData",
+ "locationName": "treatMissingData"
+ }
+ }
+ },
+ "CreateCloudWatchAlarmTemplateResponseContent": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
+ "locationName": "arn"
+ },
+ "ComparisonOperator": {
+ "shape": "CloudWatchAlarmTemplateComparisonOperator",
+ "locationName": "comparisonOperator"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "DatapointsToAlarm": {
+ "shape": "__integerMin1",
+ "locationName": "datapointsToAlarm"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EvaluationPeriods": {
+ "shape": "__integerMin1",
+ "locationName": "evaluationPeriods"
+ },
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "MetricName": {
+ "shape": "__stringMax64",
+ "locationName": "metricName"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Period": {
+ "shape": "__integerMin10Max86400",
+ "locationName": "period"
+ },
+ "Statistic": {
+ "shape": "CloudWatchAlarmTemplateStatistic",
+ "locationName": "statistic"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ },
+ "TargetResourceType": {
+ "shape": "CloudWatchAlarmTemplateTargetResourceType",
+ "locationName": "targetResourceType"
+ },
+ "Threshold": {
+ "shape": "__double",
+ "locationName": "threshold"
+ },
+ "TreatMissingData": {
+ "shape": "CloudWatchAlarmTemplateTreatMissingData",
+ "locationName": "treatMissingData"
+ }
+ },
+ "required": [
+ "TargetResourceType",
+ "TreatMissingData",
+ "ComparisonOperator",
+ "CreatedAt",
+ "Period",
+ "EvaluationPeriods",
+ "Name",
+ "GroupId",
+ "MetricName",
+ "Statistic",
+ "Id",
+ "Arn",
+ "Threshold"
+ ]
+ },
+ "CreateEventBridgeRuleTemplateGroupRequest": {
+ "type": "structure",
+ "members": {
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "Name"
+ ]
+ },
+ "CreateEventBridgeRuleTemplateGroupRequestContent": {
+ "type": "structure",
+ "members": {
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "Name"
+ ]
+ },
+ "CreateEventBridgeRuleTemplateGroupResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ }
+ },
+ "CreateEventBridgeRuleTemplateGroupResponseContent": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "CreatedAt",
+ "Id",
+ "Arn",
+ "Name"
+ ]
+ },
+ "CreateEventBridgeRuleTemplateRequest": {
+ "type": "structure",
+ "members": {
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EventTargets": {
+ "shape": "__listOfEventBridgeRuleTemplateTarget",
+ "locationName": "eventTargets"
+ },
+ "EventType": {
+ "shape": "EventBridgeRuleTemplateEventType",
+ "locationName": "eventType"
+ },
+ "GroupIdentifier": {
+ "shape": "__stringPatternS",
+ "locationName": "groupIdentifier"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "EventType",
+ "Name",
+ "GroupIdentifier"
+ ]
+ },
+ "CreateEventBridgeRuleTemplateRequestContent": {
+ "type": "structure",
+ "members": {
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EventTargets": {
+ "shape": "__listOfEventBridgeRuleTemplateTarget",
+ "locationName": "eventTargets"
+ },
+ "EventType": {
+ "shape": "EventBridgeRuleTemplateEventType",
+ "locationName": "eventType"
+ },
+ "GroupIdentifier": {
+ "shape": "__stringPatternS",
+ "locationName": "groupIdentifier"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "EventType",
+ "Name",
+ "GroupIdentifier"
+ ]
+ },
+ "CreateEventBridgeRuleTemplateResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EventTargets": {
+ "shape": "__listOfEventBridgeRuleTemplateTarget",
+ "locationName": "eventTargets"
+ },
+ "EventType": {
+ "shape": "EventBridgeRuleTemplateEventType",
+ "locationName": "eventType"
+ },
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ }
+ },
+ "CreateEventBridgeRuleTemplateResponseContent": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EventTargets": {
+ "shape": "__listOfEventBridgeRuleTemplateTarget",
+ "locationName": "eventTargets"
+ },
+ "EventType": {
+ "shape": "EventBridgeRuleTemplateEventType",
+ "locationName": "eventType"
+ },
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "EventType",
+ "CreatedAt",
+ "Id",
+ "Arn",
+ "Name",
+ "GroupId"
+ ]
+ },
+ "CreateSignalMapRequest": {
+ "type": "structure",
+ "members": {
+ "CloudWatchAlarmTemplateGroupIdentifiers": {
+ "shape": "__listOf__stringPatternS",
+ "locationName": "cloudWatchAlarmTemplateGroupIdentifiers"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "EventBridgeRuleTemplateGroupIdentifiers": {
+ "shape": "__listOf__stringPatternS",
+ "locationName": "eventBridgeRuleTemplateGroupIdentifiers"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "DiscoveryEntryPointArn",
+ "Name"
+ ]
+ },
+ "CreateSignalMapRequestContent": {
+ "type": "structure",
+ "members": {
+ "CloudWatchAlarmTemplateGroupIdentifiers": {
+ "shape": "__listOf__stringPatternS",
+ "locationName": "cloudWatchAlarmTemplateGroupIdentifiers"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "EventBridgeRuleTemplateGroupIdentifiers": {
+ "shape": "__listOf__stringPatternS",
+ "locationName": "eventBridgeRuleTemplateGroupIdentifiers"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "DiscoveryEntryPointArn",
+ "Name"
+ ]
+ },
+ "CreateSignalMapResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveSignalMap",
+ "locationName": "arn"
+ },
+ "CloudWatchAlarmTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "cloudWatchAlarmTemplateGroupIds"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "ErrorMessage": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "errorMessage"
+ },
+ "EventBridgeRuleTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "eventBridgeRuleTemplateGroupIds"
+ },
+ "FailedMediaResourceMap": {
+ "shape": "FailedMediaResourceMap",
+ "locationName": "failedMediaResourceMap"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "LastDiscoveredAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "lastDiscoveredAt"
+ },
+ "LastSuccessfulMonitorDeployment": {
+ "shape": "SuccessfulMonitorDeployment",
+ "locationName": "lastSuccessfulMonitorDeployment"
+ },
+ "MediaResourceMap": {
+ "shape": "MediaResourceMap",
+ "locationName": "mediaResourceMap"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "MonitorChangesPendingDeployment": {
+ "shape": "__boolean",
+ "locationName": "monitorChangesPendingDeployment"
+ },
+ "MonitorDeployment": {
+ "shape": "MonitorDeployment",
+ "locationName": "monitorDeployment"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Status": {
+ "shape": "SignalMapStatus",
+ "locationName": "status"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ }
+ },
+ "CreateSignalMapResponseContent": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveSignalMap",
+ "locationName": "arn"
+ },
+ "CloudWatchAlarmTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "cloudWatchAlarmTemplateGroupIds"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "ErrorMessage": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "errorMessage"
+ },
+ "EventBridgeRuleTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "eventBridgeRuleTemplateGroupIds"
+ },
+ "FailedMediaResourceMap": {
+ "shape": "FailedMediaResourceMap",
+ "locationName": "failedMediaResourceMap"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "LastDiscoveredAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "lastDiscoveredAt"
+ },
+ "LastSuccessfulMonitorDeployment": {
+ "shape": "SuccessfulMonitorDeployment",
+ "locationName": "lastSuccessfulMonitorDeployment"
+ },
+ "MediaResourceMap": {
+ "shape": "MediaResourceMap",
+ "locationName": "mediaResourceMap"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "MonitorChangesPendingDeployment": {
+ "shape": "__boolean",
+ "locationName": "monitorChangesPendingDeployment"
+ },
+ "MonitorDeployment": {
+ "shape": "MonitorDeployment",
+ "locationName": "monitorDeployment"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Status": {
+ "shape": "SignalMapStatus",
+ "locationName": "status"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "Status",
+ "CreatedAt",
+ "Name",
+ "Id",
+ "Arn",
+ "DiscoveryEntryPointArn",
+ "MonitorChangesPendingDeployment"
+ ]
+ },
+ "DeleteCloudWatchAlarmTemplateGroupRequest": {
+ "type": "structure",
+ "members": {
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ }
+ },
+ "required": [
+ "Identifier"
+ ]
+ },
+ "DeleteCloudWatchAlarmTemplateRequest": {
+ "type": "structure",
+ "members": {
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ }
+ },
+ "required": [
+ "Identifier"
+ ]
+ },
+ "DeleteEventBridgeRuleTemplateGroupRequest": {
+ "type": "structure",
+ "members": {
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ }
+ },
+ "required": [
+ "Identifier"
+ ]
+ },
+ "DeleteEventBridgeRuleTemplateRequest": {
+ "type": "structure",
+ "members": {
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ }
+ },
+ "required": [
+ "Identifier"
+ ]
+ },
+ "DeleteSignalMapRequest": {
+ "type": "structure",
+ "members": {
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ }
+ },
+ "required": [
+ "Identifier"
+ ]
+ },
+ "EventBridgeRuleTemplateEventType": {
+ "type": "string",
+ "enum": [
+ "MEDIALIVE_MULTIPLEX_ALERT",
+ "MEDIALIVE_MULTIPLEX_STATE_CHANGE",
+ "MEDIALIVE_CHANNEL_ALERT",
+ "MEDIALIVE_CHANNEL_INPUT_CHANGE",
+ "MEDIALIVE_CHANNEL_STATE_CHANGE",
+ "MEDIAPACKAGE_INPUT_NOTIFICATION",
+ "MEDIAPACKAGE_KEY_PROVIDER_NOTIFICATION",
+ "MEDIAPACKAGE_HARVEST_JOB_NOTIFICATION",
+ "SIGNAL_MAP_ACTIVE_ALARM",
+ "MEDIACONNECT_ALERT",
+ "MEDIACONNECT_SOURCE_HEALTH",
+ "MEDIACONNECT_OUTPUT_HEALTH",
+ "MEDIACONNECT_FLOW_STATUS_CHANGE"
+ ]
+ },
+ "EventBridgeRuleTemplateGroupSummary": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ },
+ "TemplateCount": {
+ "shape": "__integer",
+ "locationName": "templateCount"
+ }
+ },
+ "required": [
+ "TemplateCount",
+ "CreatedAt",
+ "Id",
+ "Arn",
+ "Name"
+ ]
+ },
+ "EventBridgeRuleTemplateSummary": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EventTargetCount": {
+ "shape": "__integerMax5",
+ "locationName": "eventTargetCount"
+ },
+ "EventType": {
+ "shape": "EventBridgeRuleTemplateEventType",
+ "locationName": "eventType"
+ },
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "EventType",
+ "CreatedAt",
+ "EventTargetCount",
+ "Id",
+ "Arn",
+ "Name",
+ "GroupId"
+ ]
+ },
+ "EventBridgeRuleTemplateTarget": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringMin1Max2048PatternArn",
+ "locationName": "arn"
+ }
+ },
+ "required": [
+ "Arn"
+ ]
+ },
+ "FailedMediaResourceMap": {
+ "type": "map",
+ "key": {
+ "shape": "__string"
+ },
+ "value": {
+ "shape": "MediaResource"
+ }
+ },
+ "ForbiddenExceptionResponseContent": {
+ "type": "structure",
+ "members": {
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
+ }
+ }
+ },
+ "GetCloudWatchAlarmTemplateGroupRequest": {
+ "type": "structure",
+ "members": {
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ }
+ },
+ "required": [
+ "Identifier"
+ ]
+ },
+ "GetCloudWatchAlarmTemplateGroupResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ }
+ },
+ "GetCloudWatchAlarmTemplateGroupResponseContent": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "CreatedAt",
+ "Id",
+ "Arn",
+ "Name"
+ ]
+ },
+ "GetCloudWatchAlarmTemplateRequest": {
+ "type": "structure",
+ "members": {
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ }
+ },
+ "required": [
+ "Identifier"
+ ]
+ },
+ "GetCloudWatchAlarmTemplateResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
+ "locationName": "arn"
+ },
+ "ComparisonOperator": {
+ "shape": "CloudWatchAlarmTemplateComparisonOperator",
+ "locationName": "comparisonOperator"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "DatapointsToAlarm": {
+ "shape": "__integerMin1",
+ "locationName": "datapointsToAlarm"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EvaluationPeriods": {
+ "shape": "__integerMin1",
+ "locationName": "evaluationPeriods"
+ },
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "MetricName": {
+ "shape": "__stringMax64",
+ "locationName": "metricName"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Period": {
+ "shape": "__integerMin10Max86400",
+ "locationName": "period"
+ },
+ "Statistic": {
+ "shape": "CloudWatchAlarmTemplateStatistic",
+ "locationName": "statistic"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ },
+ "TargetResourceType": {
+ "shape": "CloudWatchAlarmTemplateTargetResourceType",
+ "locationName": "targetResourceType"
+ },
+ "Threshold": {
+ "shape": "__double",
+ "locationName": "threshold"
+ },
+ "TreatMissingData": {
+ "shape": "CloudWatchAlarmTemplateTreatMissingData",
+ "locationName": "treatMissingData"
+ }
+ }
+ },
+ "GetCloudWatchAlarmTemplateResponseContent": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
+ "locationName": "arn"
+ },
+ "ComparisonOperator": {
+ "shape": "CloudWatchAlarmTemplateComparisonOperator",
+ "locationName": "comparisonOperator"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "DatapointsToAlarm": {
+ "shape": "__integerMin1",
+ "locationName": "datapointsToAlarm"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EvaluationPeriods": {
+ "shape": "__integerMin1",
+ "locationName": "evaluationPeriods"
+ },
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "MetricName": {
+ "shape": "__stringMax64",
+ "locationName": "metricName"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Period": {
+ "shape": "__integerMin10Max86400",
+ "locationName": "period"
+ },
+ "Statistic": {
+ "shape": "CloudWatchAlarmTemplateStatistic",
+ "locationName": "statistic"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ },
+ "TargetResourceType": {
+ "shape": "CloudWatchAlarmTemplateTargetResourceType",
+ "locationName": "targetResourceType"
+ },
+ "Threshold": {
+ "shape": "__double",
+ "locationName": "threshold"
+ },
+ "TreatMissingData": {
+ "shape": "CloudWatchAlarmTemplateTreatMissingData",
+ "locationName": "treatMissingData"
+ }
+ },
+ "required": [
+ "TargetResourceType",
+ "TreatMissingData",
+ "ComparisonOperator",
+ "CreatedAt",
+ "Period",
+ "EvaluationPeriods",
+ "Name",
+ "GroupId",
+ "MetricName",
+ "Statistic",
+ "Id",
+ "Arn",
+ "Threshold"
+ ]
+ },
+ "GetEventBridgeRuleTemplateGroupRequest": {
+ "type": "structure",
+ "members": {
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ }
+ },
+ "required": [
+ "Identifier"
+ ]
+ },
+ "GetEventBridgeRuleTemplateGroupResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ }
+ },
+ "GetEventBridgeRuleTemplateGroupResponseContent": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "CreatedAt",
+ "Id",
+ "Arn",
+ "Name"
+ ]
+ },
+ "GetEventBridgeRuleTemplateRequest": {
+ "type": "structure",
+ "members": {
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ }
+ },
+ "required": [
+ "Identifier"
+ ]
+ },
+ "GetEventBridgeRuleTemplateResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EventTargets": {
+ "shape": "__listOfEventBridgeRuleTemplateTarget",
+ "locationName": "eventTargets"
+ },
+ "EventType": {
+ "shape": "EventBridgeRuleTemplateEventType",
+ "locationName": "eventType"
+ },
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ }
+ },
+ "GetEventBridgeRuleTemplateResponseContent": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EventTargets": {
+ "shape": "__listOfEventBridgeRuleTemplateTarget",
+ "locationName": "eventTargets"
+ },
+ "EventType": {
+ "shape": "EventBridgeRuleTemplateEventType",
+ "locationName": "eventType"
+ },
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "EventType",
+ "CreatedAt",
+ "Id",
+ "Arn",
+ "Name",
+ "GroupId"
+ ]
+ },
+ "GetSignalMapRequest": {
+ "type": "structure",
+ "members": {
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ }
+ },
+ "required": [
+ "Identifier"
+ ]
+ },
+ "GetSignalMapResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveSignalMap",
+ "locationName": "arn"
+ },
+ "CloudWatchAlarmTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "cloudWatchAlarmTemplateGroupIds"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "ErrorMessage": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "errorMessage"
+ },
+ "EventBridgeRuleTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "eventBridgeRuleTemplateGroupIds"
+ },
+ "FailedMediaResourceMap": {
+ "shape": "FailedMediaResourceMap",
+ "locationName": "failedMediaResourceMap"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "LastDiscoveredAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "lastDiscoveredAt"
+ },
+ "LastSuccessfulMonitorDeployment": {
+ "shape": "SuccessfulMonitorDeployment",
+ "locationName": "lastSuccessfulMonitorDeployment"
+ },
+ "MediaResourceMap": {
+ "shape": "MediaResourceMap",
+ "locationName": "mediaResourceMap"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "MonitorChangesPendingDeployment": {
+ "shape": "__boolean",
+ "locationName": "monitorChangesPendingDeployment"
+ },
+ "MonitorDeployment": {
+ "shape": "MonitorDeployment",
+ "locationName": "monitorDeployment"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Status": {
+ "shape": "SignalMapStatus",
+ "locationName": "status"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ }
+ },
+ "GetSignalMapResponseContent": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveSignalMap",
+ "locationName": "arn"
+ },
+ "CloudWatchAlarmTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "cloudWatchAlarmTemplateGroupIds"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "ErrorMessage": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "errorMessage"
+ },
+ "EventBridgeRuleTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "eventBridgeRuleTemplateGroupIds"
+ },
+ "FailedMediaResourceMap": {
+ "shape": "FailedMediaResourceMap",
+ "locationName": "failedMediaResourceMap"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "LastDiscoveredAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "lastDiscoveredAt"
+ },
+ "LastSuccessfulMonitorDeployment": {
+ "shape": "SuccessfulMonitorDeployment",
+ "locationName": "lastSuccessfulMonitorDeployment"
+ },
+ "MediaResourceMap": {
+ "shape": "MediaResourceMap",
+ "locationName": "mediaResourceMap"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "MonitorChangesPendingDeployment": {
+ "shape": "__boolean",
+ "locationName": "monitorChangesPendingDeployment"
+ },
+ "MonitorDeployment": {
+ "shape": "MonitorDeployment",
+ "locationName": "monitorDeployment"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Status": {
+ "shape": "SignalMapStatus",
+ "locationName": "status"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ },
+ "required": [
+ "Status",
+ "CreatedAt",
+ "Name",
+ "Id",
+ "Arn",
+ "DiscoveryEntryPointArn",
+ "MonitorChangesPendingDeployment"
+ ]
},
- "InputDeviceConfigurableAudioChannelPairConfig": {
+ "InternalServerErrorExceptionResponseContent": {
"type": "structure",
"members": {
- "Id": {
- "shape": "__integer",
- "locationName": "id"
- },
- "Profile": {
- "shape": "InputDeviceConfigurableAudioChannelPairProfile",
- "locationName": "profile"
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
}
}
},
- "InputDeviceConfigurableAudioChannelPairProfile": {
- "type": "string",
- "enum": [
- "DISABLED",
- "VBR-AAC_HHE-16000",
- "VBR-AAC_HE-64000",
- "VBR-AAC_LC-128000",
- "CBR-AAC_HQ-192000",
- "CBR-AAC_HQ-256000",
- "CBR-AAC_HQ-384000",
- "CBR-AAC_HQ-512000"
- ]
- },
- "InputDeviceUhdAudioChannelPairConfig": {
+ "ListCloudWatchAlarmTemplateGroupsRequest": {
"type": "structure",
"members": {
- "Id": {
- "shape": "__integer",
- "locationName": "id"
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
},
- "Profile": {
- "shape": "InputDeviceUhdAudioChannelPairProfile",
- "locationName": "profile"
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
+ },
+ "Scope": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "scope"
+ },
+ "SignalMapIdentifier": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "signalMapIdentifier"
}
}
},
- "InputDeviceUhdAudioChannelPairProfile": {
- "type": "string",
- "enum": [
- "DISABLED",
- "VBR-AAC_HHE-16000",
- "VBR-AAC_HE-64000",
- "VBR-AAC_LC-128000",
- "CBR-AAC_HQ-192000",
- "CBR-AAC_HQ-256000",
- "CBR-AAC_HQ-384000",
- "CBR-AAC_HQ-512000"
- ]
- },
- "__listOfInputDeviceConfigurableAudioChannelPairConfig": {
- "type": "list",
- "member": {
- "shape": "InputDeviceConfigurableAudioChannelPairConfig"
- }
- },
- "__listOfInputDeviceUhdAudioChannelPairConfig": {
- "type": "list",
- "member": {
- "shape": "InputDeviceUhdAudioChannelPairConfig"
+ "ListCloudWatchAlarmTemplateGroupsResponse": {
+ "type": "structure",
+ "members": {
+ "CloudWatchAlarmTemplateGroups": {
+ "shape": "__listOfCloudWatchAlarmTemplateGroupSummary",
+ "locationName": "cloudWatchAlarmTemplateGroups"
+ },
+ "NextToken": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "nextToken"
+ }
}
},
- "ChannelPipelineIdToRestart": {
- "type": "string",
- "enum": [
- "PIPELINE_0",
- "PIPELINE_1"
- ]
- },
- "RestartChannelPipelinesRequest": {
+ "ListCloudWatchAlarmTemplateGroupsResponseContent": {
"type": "structure",
"members": {
- "ChannelId": {
- "shape": "__string",
- "location": "uri",
- "locationName": "channelId"
+ "CloudWatchAlarmTemplateGroups": {
+ "shape": "__listOfCloudWatchAlarmTemplateGroupSummary",
+ "locationName": "cloudWatchAlarmTemplateGroups"
},
- "PipelineIds": {
- "shape": "__listOfChannelPipelineIdToRestart",
- "locationName": "pipelineIds"
+ "NextToken": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "nextToken"
}
},
"required": [
- "ChannelId"
+ "CloudWatchAlarmTemplateGroups"
]
},
- "RestartChannelPipelinesResponse": {
+ "ListCloudWatchAlarmTemplatesRequest": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__string",
- "locationName": "arn"
- },
- "CdiInputSpecification": {
- "shape": "CdiInputSpecification",
- "locationName": "cdiInputSpecification"
- },
- "ChannelClass": {
- "shape": "ChannelClass",
- "locationName": "channelClass"
- },
- "Destinations": {
- "shape": "__listOfOutputDestination",
- "locationName": "destinations"
- },
- "EgressEndpoints": {
- "shape": "__listOfChannelEgressEndpoint",
- "locationName": "egressEndpoints"
- },
- "EncoderSettings": {
- "shape": "EncoderSettings",
- "locationName": "encoderSettings"
- },
- "Id": {
+ "GroupIdentifier": {
"shape": "__string",
- "locationName": "id"
- },
- "InputAttachments": {
- "shape": "__listOfInputAttachment",
- "locationName": "inputAttachments"
- },
- "InputSpecification": {
- "shape": "InputSpecification",
- "locationName": "inputSpecification"
- },
- "LogLevel": {
- "shape": "LogLevel",
- "locationName": "logLevel"
+ "location": "querystring",
+ "locationName": "groupIdentifier"
},
- "Maintenance": {
- "shape": "MaintenanceStatus",
- "locationName": "maintenance"
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
},
- "MaintenanceStatus": {
+ "NextToken": {
"shape": "__string",
- "locationName": "maintenanceStatus"
+ "location": "querystring",
+ "locationName": "nextToken"
},
- "Name": {
+ "Scope": {
"shape": "__string",
- "locationName": "name"
- },
- "PipelineDetails": {
- "shape": "__listOfPipelineDetail",
- "locationName": "pipelineDetails"
- },
- "PipelinesRunningCount": {
- "shape": "__integer",
- "locationName": "pipelinesRunningCount"
+ "location": "querystring",
+ "locationName": "scope"
},
- "RoleArn": {
+ "SignalMapIdentifier": {
"shape": "__string",
- "locationName": "roleArn"
- },
- "State": {
- "shape": "ChannelState",
- "locationName": "state"
- },
- "Tags": {
- "shape": "Tags",
- "locationName": "tags"
- },
- "Vpc": {
- "shape": "VpcOutputSettingsDescription",
- "locationName": "vpc"
+ "location": "querystring",
+ "locationName": "signalMapIdentifier"
}
}
},
- "__listOfChannelPipelineIdToRestart": {
- "type": "list",
- "member": {
- "shape": "ChannelPipelineIdToRestart"
+ "ListCloudWatchAlarmTemplatesResponse": {
+ "type": "structure",
+ "members": {
+ "CloudWatchAlarmTemplates": {
+ "shape": "__listOfCloudWatchAlarmTemplateSummary",
+ "locationName": "cloudWatchAlarmTemplates"
+ },
+ "NextToken": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "nextToken"
+ }
}
},
- "H265MvOverPictureBoundaries": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "H265MvTemporalPredictor": {
- "type": "string",
- "enum": [
- "DISABLED",
- "ENABLED"
- ]
- },
- "H265TilePadding": {
- "type": "string",
- "enum": [
- "NONE",
- "PADDED"
- ]
- },
- "H265TreeblockSize": {
- "type": "string",
- "enum": [
- "AUTO",
- "TREE_SIZE_32X32"
- ]
- },
- "__integerMin256Max3840": {
- "type": "integer",
- "min": 256,
- "max": 3840
- },
- "__integerMin64Max2160": {
- "type": "integer",
- "min": 64,
- "max": 2160
+ "ListCloudWatchAlarmTemplatesResponseContent": {
+ "type": "structure",
+ "members": {
+ "CloudWatchAlarmTemplates": {
+ "shape": "__listOfCloudWatchAlarmTemplateSummary",
+ "locationName": "cloudWatchAlarmTemplates"
+ },
+ "NextToken": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "nextToken"
+ }
+ },
+ "required": [
+ "CloudWatchAlarmTemplates"
+ ]
},
- "CmafIngestGroupSettings": {
+ "ListEventBridgeRuleTemplateGroupsRequest": {
"type": "structure",
"members": {
- "Destination": {
- "shape": "OutputLocationRef",
- "locationName": "destination"
- },
- "NielsenId3Behavior": {
- "shape": "CmafNielsenId3Behavior",
- "locationName": "nielsenId3Behavior"
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
},
- "Scte35Type": {
- "shape": "Scte35Type",
- "locationName": "scte35Type"
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
},
- "SegmentLength": {
- "shape": "__integerMin1",
- "locationName": "segmentLength"
+ "SignalMapIdentifier": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "signalMapIdentifier"
+ }
+ }
+ },
+ "ListEventBridgeRuleTemplateGroupsResponse": {
+ "type": "structure",
+ "members": {
+ "EventBridgeRuleTemplateGroups": {
+ "shape": "__listOfEventBridgeRuleTemplateGroupSummary",
+ "locationName": "eventBridgeRuleTemplateGroups"
},
- "SegmentLengthUnits": {
- "shape": "CmafIngestSegmentLengthUnits",
- "locationName": "segmentLengthUnits"
+ "NextToken": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "ListEventBridgeRuleTemplateGroupsResponseContent": {
+ "type": "structure",
+ "members": {
+ "EventBridgeRuleTemplateGroups": {
+ "shape": "__listOfEventBridgeRuleTemplateGroupSummary",
+ "locationName": "eventBridgeRuleTemplateGroups"
},
- "SendDelayMs": {
- "shape": "__integerMin0Max2000",
- "locationName": "sendDelayMs"
+ "NextToken": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "nextToken"
}
},
"required": [
- "Destination"
+ "EventBridgeRuleTemplateGroups"
]
},
- "CmafIngestOutputSettings": {
+ "ListEventBridgeRuleTemplatesRequest": {
"type": "structure",
"members": {
- "NameModifier": {
+ "GroupIdentifier": {
"shape": "__string",
- "locationName": "nameModifier"
+ "location": "querystring",
+ "locationName": "groupIdentifier"
+ },
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
+ },
+ "SignalMapIdentifier": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "signalMapIdentifier"
}
}
},
- "CmafIngestSegmentLengthUnits": {
- "type": "string",
- "enum": [
- "MILLISECONDS",
- "SECONDS"
- ]
- },
- "CmafNielsenId3Behavior": {
- "type": "string",
- "enum": [
- "NO_PASSTHROUGH",
- "PASSTHROUGH"
- ]
- },
- "DashRoleAudio": {
- "type": "string",
- "enum": [
- "ALTERNATE",
- "COMMENTARY",
- "DESCRIPTION",
- "DUB",
- "EMERGENCY",
- "ENHANCED-AUDIO-INTELLIGIBILITY",
- "KARAOKE",
- "MAIN",
- "SUPPLEMENTARY"
- ]
- },
- "DashRoleCaption": {
- "type": "string",
- "enum": [
- "ALTERNATE",
- "CAPTION",
- "COMMENTARY",
- "DESCRIPTION",
- "DUB",
- "EASYREADER",
- "EMERGENCY",
- "FORCED-SUBTITLE",
- "KARAOKE",
- "MAIN",
- "METADATA",
- "SUBTITLE",
- "SUPPLEMENTARY"
- ]
+ "ListEventBridgeRuleTemplatesResponse": {
+ "type": "structure",
+ "members": {
+ "EventBridgeRuleTemplates": {
+ "shape": "__listOfEventBridgeRuleTemplateSummary",
+ "locationName": "eventBridgeRuleTemplates"
+ },
+ "NextToken": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "nextToken"
+ }
+ }
},
- "DvbDashAccessibility": {
- "type": "string",
- "enum": [
- "DVBDASH_1_VISUALLY_IMPAIRED",
- "DVBDASH_2_HARD_OF_HEARING",
- "DVBDASH_3_SUPPLEMENTAL_COMMENTARY",
- "DVBDASH_4_DIRECTORS_COMMENTARY",
- "DVBDASH_5_EDUCATIONAL_NOTES",
- "DVBDASH_6_MAIN_PROGRAM",
- "DVBDASH_7_CLEAN_FEED"
+ "ListEventBridgeRuleTemplatesResponseContent": {
+ "type": "structure",
+ "members": {
+ "EventBridgeRuleTemplates": {
+ "shape": "__listOfEventBridgeRuleTemplateSummary",
+ "locationName": "eventBridgeRuleTemplates"
+ },
+ "NextToken": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "nextToken"
+ }
+ },
+ "required": [
+ "EventBridgeRuleTemplates"
]
},
- "__listOfDashRoleAudio": {
- "type": "list",
- "member": {
- "shape": "DashRoleAudio"
+ "ListSignalMapsRequest": {
+ "type": "structure",
+ "members": {
+ "CloudWatchAlarmTemplateGroupIdentifier": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "cloudWatchAlarmTemplateGroupIdentifier"
+ },
+ "EventBridgeRuleTemplateGroupIdentifier": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "eventBridgeRuleTemplateGroupIdentifier"
+ },
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
+ }
}
},
- "__listOfDashRoleCaption": {
- "type": "list",
- "member": {
- "shape": "DashRoleCaption"
+ "ListSignalMapsResponse": {
+ "type": "structure",
+ "members": {
+ "NextToken": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "nextToken"
+ },
+ "SignalMaps": {
+ "shape": "__listOfSignalMapSummary",
+ "locationName": "signalMaps"
+ }
}
},
- "Scte35Type": {
- "type": "string",
- "enum": [
- "NONE",
- "SCTE_35_WITHOUT_SEGMENTATION"
+ "ListSignalMapsResponseContent": {
+ "type": "structure",
+ "members": {
+ "NextToken": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "nextToken"
+ },
+ "SignalMaps": {
+ "shape": "__listOfSignalMapSummary",
+ "locationName": "signalMaps"
+ }
+ },
+ "required": [
+ "SignalMaps"
]
},
- "BadRequestExceptionResponseContent": {
+ "MediaResource": {
"type": "structure",
"members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
+ "Destinations": {
+ "shape": "__listOfMediaResourceNeighbor",
+ "locationName": "destinations"
+ },
+ "Name": {
+ "shape": "__stringMin1Max256",
+ "locationName": "name"
+ },
+ "Sources": {
+ "shape": "__listOfMediaResourceNeighbor",
+ "locationName": "sources"
}
}
},
- "CloudWatchAlarmTemplateComparisonOperator": {
- "type": "string",
- "enum": [
- "GreaterThanOrEqualToThreshold",
- "GreaterThanThreshold",
- "LessThanThreshold",
- "LessThanOrEqualToThreshold"
- ]
- },
- "CloudWatchAlarmTemplateGroupSummary": {
+ "MediaResourceMap": {
+ "type": "map",
+ "key": {
+ "shape": "__string"
+ },
+ "value": {
+ "shape": "MediaResource"
+ }
+ },
+ "MediaResourceNeighbor": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
+ "shape": "__stringMin1Max2048PatternArn",
"locationName": "arn"
},
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__stringMin1Max256",
"locationName": "name"
+ }
+ },
+ "required": [
+ "Arn"
+ ]
+ },
+ "MonitorDeployment": {
+ "type": "structure",
+ "members": {
+ "DetailsUri": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "detailsUri"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "ErrorMessage": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "errorMessage"
},
- "TemplateCount": {
- "shape": "__integer",
- "locationName": "templateCount"
+ "Status": {
+ "shape": "SignalMapMonitorDeploymentStatus",
+ "locationName": "status"
}
},
"required": [
- "TemplateCount",
- "CreatedAt",
- "Id",
- "Arn",
- "Name"
+ "Status"
]
},
- "CloudWatchAlarmTemplateStatistic": {
+ "NotFoundExceptionResponseContent": {
+ "type": "structure",
+ "members": {
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
+ }
+ }
+ },
+ "SignalMapMonitorDeploymentStatus": {
"type": "string",
"enum": [
- "SampleCount",
- "Average",
- "Sum",
- "Minimum",
- "Maximum"
+ "NOT_DEPLOYED",
+ "DRY_RUN_DEPLOYMENT_COMPLETE",
+ "DRY_RUN_DEPLOYMENT_FAILED",
+ "DRY_RUN_DEPLOYMENT_IN_PROGRESS",
+ "DEPLOYMENT_COMPLETE",
+ "DEPLOYMENT_FAILED",
+ "DEPLOYMENT_IN_PROGRESS",
+ "DELETE_COMPLETE",
+ "DELETE_FAILED",
+ "DELETE_IN_PROGRESS"
]
},
- "CloudWatchAlarmTemplateSummary": {
+ "SignalMapStatus": {
+ "type": "string",
+ "enum": [
+ "CREATE_IN_PROGRESS",
+ "CREATE_COMPLETE",
+ "CREATE_FAILED",
+ "UPDATE_IN_PROGRESS",
+ "UPDATE_COMPLETE",
+ "UPDATE_REVERTED",
+ "UPDATE_FAILED",
+ "READY",
+ "NOT_READY"
+ ]
+ },
+ "SignalMapSummary": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
+ "shape": "__stringPatternArnMedialiveSignalMap",
"locationName": "arn"
},
- "ComparisonOperator": {
- "shape": "CloudWatchAlarmTemplateComparisonOperator",
- "locationName": "comparisonOperator"
- },
"CreatedAt": {
"shape": "__timestampIso8601",
"locationName": "createdAt"
},
- "DatapointsToAlarm": {
- "shape": "__integerMin1",
- "locationName": "datapointsToAlarm"
- },
"Description": {
"shape": "__stringMin0Max1024",
"locationName": "description"
},
- "EvaluationPeriods": {
- "shape": "__integerMin1",
- "locationName": "evaluationPeriods"
- },
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
- },
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
},
- "MetricName": {
- "shape": "__stringMax64",
- "locationName": "metricName"
- },
"ModifiedAt": {
"shape": "__timestampIso8601",
"locationName": "modifiedAt"
},
+ "MonitorDeploymentStatus": {
+ "shape": "SignalMapMonitorDeploymentStatus",
+ "locationName": "monitorDeploymentStatus"
+ },
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
},
- "Period": {
- "shape": "__integerMin10Max86400",
- "locationName": "period"
- },
- "Statistic": {
- "shape": "CloudWatchAlarmTemplateStatistic",
- "locationName": "statistic"
+ "Status": {
+ "shape": "SignalMapStatus",
+ "locationName": "status"
},
"Tags": {
"shape": "TagMap",
"locationName": "tags"
- },
- "TargetResourceType": {
- "shape": "CloudWatchAlarmTemplateTargetResourceType",
- "locationName": "targetResourceType"
- },
- "Threshold": {
- "shape": "__double",
- "locationName": "threshold"
- },
- "TreatMissingData": {
- "shape": "CloudWatchAlarmTemplateTreatMissingData",
- "locationName": "treatMissingData"
}
},
"required": [
- "TargetResourceType",
- "TreatMissingData",
- "ComparisonOperator",
+ "Status",
+ "MonitorDeploymentStatus",
"CreatedAt",
- "Period",
- "EvaluationPeriods",
- "Name",
- "GroupId",
- "MetricName",
- "Statistic",
"Id",
"Arn",
- "Threshold"
- ]
- },
- "CloudWatchAlarmTemplateTargetResourceType": {
- "type": "string",
- "enum": [
- "CLOUDFRONT_DISTRIBUTION",
- "MEDIALIVE_MULTIPLEX",
- "MEDIALIVE_CHANNEL",
- "MEDIALIVE_INPUT_DEVICE",
- "MEDIAPACKAGE_CHANNEL",
- "MEDIAPACKAGE_ORIGIN_ENDPOINT",
- "MEDIACONNECT_FLOW",
- "S3_BUCKET"
- ]
- },
- "CloudWatchAlarmTemplateTreatMissingData": {
- "type": "string",
- "enum": [
- "notBreaching",
- "breaching",
- "ignore",
- "missing"
- ]
- },
- "ConflictExceptionResponseContent": {
- "type": "structure",
- "members": {
- "Message": {
- "shape": "__string",
- "locationName": "message"
- }
- }
- },
- "CreateCloudWatchAlarmTemplateGroupRequest": {
- "type": "structure",
- "members": {
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
- },
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
- }
- },
- "required": [
"Name"
]
},
- "CreateCloudWatchAlarmTemplateGroupRequestContent": {
+ "StartDeleteMonitorDeploymentRequest": {
"type": "structure",
"members": {
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
- },
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
}
},
"required": [
- "Name"
+ "Identifier"
]
},
- "CreateCloudWatchAlarmTemplateGroupResponse": {
+ "StartDeleteMonitorDeploymentResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
+ "shape": "__stringPatternArnMedialiveSignalMap",
"locationName": "arn"
},
+ "CloudWatchAlarmTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "cloudWatchAlarmTemplateGroupIds"
+ },
"CreatedAt": {
"shape": "__timestampIso8601",
"locationName": "createdAt"
@@ -16536,31 +19655,75 @@
"shape": "__stringMin0Max1024",
"locationName": "description"
},
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "ErrorMessage": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "errorMessage"
+ },
+ "EventBridgeRuleTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "eventBridgeRuleTemplateGroupIds"
+ },
+ "FailedMediaResourceMap": {
+ "shape": "FailedMediaResourceMap",
+ "locationName": "failedMediaResourceMap"
+ },
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
},
+ "LastDiscoveredAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "lastDiscoveredAt"
+ },
+ "LastSuccessfulMonitorDeployment": {
+ "shape": "SuccessfulMonitorDeployment",
+ "locationName": "lastSuccessfulMonitorDeployment"
+ },
+ "MediaResourceMap": {
+ "shape": "MediaResourceMap",
+ "locationName": "mediaResourceMap"
+ },
"ModifiedAt": {
"shape": "__timestampIso8601",
"locationName": "modifiedAt"
},
+ "MonitorChangesPendingDeployment": {
+ "shape": "__boolean",
+ "locationName": "monitorChangesPendingDeployment"
+ },
+ "MonitorDeployment": {
+ "shape": "MonitorDeployment",
+ "locationName": "monitorDeployment"
+ },
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
},
+ "Status": {
+ "shape": "SignalMapStatus",
+ "locationName": "status"
+ },
"Tags": {
"shape": "TagMap",
"locationName": "tags"
}
}
},
- "CreateCloudWatchAlarmTemplateGroupResponseContent": {
+ "StartDeleteMonitorDeploymentResponseContent": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
+ "shape": "__stringPatternArnMedialiveSignalMap",
"locationName": "arn"
},
+ "CloudWatchAlarmTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "cloudWatchAlarmTemplateGroupIds"
+ },
"CreatedAt": {
"shape": "__timestampIso8601",
"locationName": "createdAt"
@@ -16569,376 +19732,339 @@
"shape": "__stringMin0Max1024",
"locationName": "description"
},
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "ErrorMessage": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "errorMessage"
+ },
+ "EventBridgeRuleTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "eventBridgeRuleTemplateGroupIds"
+ },
+ "FailedMediaResourceMap": {
+ "shape": "FailedMediaResourceMap",
+ "locationName": "failedMediaResourceMap"
+ },
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
},
+ "LastDiscoveredAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "lastDiscoveredAt"
+ },
+ "LastSuccessfulMonitorDeployment": {
+ "shape": "SuccessfulMonitorDeployment",
+ "locationName": "lastSuccessfulMonitorDeployment"
+ },
+ "MediaResourceMap": {
+ "shape": "MediaResourceMap",
+ "locationName": "mediaResourceMap"
+ },
"ModifiedAt": {
"shape": "__timestampIso8601",
"locationName": "modifiedAt"
},
+ "MonitorChangesPendingDeployment": {
+ "shape": "__boolean",
+ "locationName": "monitorChangesPendingDeployment"
+ },
+ "MonitorDeployment": {
+ "shape": "MonitorDeployment",
+ "locationName": "monitorDeployment"
+ },
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
},
+ "Status": {
+ "shape": "SignalMapStatus",
+ "locationName": "status"
+ },
"Tags": {
"shape": "TagMap",
"locationName": "tags"
}
},
"required": [
+ "Status",
"CreatedAt",
+ "Name",
"Id",
"Arn",
- "Name"
+ "DiscoveryEntryPointArn",
+ "MonitorChangesPendingDeployment"
]
},
- "CreateCloudWatchAlarmTemplateRequest": {
+ "StartMonitorDeploymentRequest": {
"type": "structure",
"members": {
- "ComparisonOperator": {
- "shape": "CloudWatchAlarmTemplateComparisonOperator",
- "locationName": "comparisonOperator"
- },
- "DatapointsToAlarm": {
- "shape": "__integerMin1",
- "locationName": "datapointsToAlarm"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "EvaluationPeriods": {
- "shape": "__integerMin1",
- "locationName": "evaluationPeriods"
- },
- "GroupIdentifier": {
- "shape": "__stringPatternS",
- "locationName": "groupIdentifier"
- },
- "MetricName": {
- "shape": "__stringMax64",
- "locationName": "metricName"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
- },
- "Period": {
- "shape": "__integerMin10Max86400",
- "locationName": "period"
- },
- "Statistic": {
- "shape": "CloudWatchAlarmTemplateStatistic",
- "locationName": "statistic"
- },
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
- },
- "TargetResourceType": {
- "shape": "CloudWatchAlarmTemplateTargetResourceType",
- "locationName": "targetResourceType"
- },
- "Threshold": {
- "shape": "__double",
- "locationName": "threshold"
+ "DryRun": {
+ "shape": "__boolean",
+ "locationName": "dryRun"
},
- "TreatMissingData": {
- "shape": "CloudWatchAlarmTemplateTreatMissingData",
- "locationName": "treatMissingData"
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
}
},
"required": [
- "TargetResourceType",
- "MetricName",
- "TreatMissingData",
- "ComparisonOperator",
- "Statistic",
- "Period",
- "EvaluationPeriods",
- "Threshold",
- "Name",
- "GroupIdentifier"
+ "Identifier"
]
},
- "CreateCloudWatchAlarmTemplateRequestContent": {
+ "StartMonitorDeploymentRequestContent": {
"type": "structure",
"members": {
- "ComparisonOperator": {
- "shape": "CloudWatchAlarmTemplateComparisonOperator",
- "locationName": "comparisonOperator"
- },
- "DatapointsToAlarm": {
- "shape": "__integerMin1",
- "locationName": "datapointsToAlarm"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "EvaluationPeriods": {
- "shape": "__integerMin1",
- "locationName": "evaluationPeriods"
- },
- "GroupIdentifier": {
- "shape": "__stringPatternS",
- "locationName": "groupIdentifier"
- },
- "MetricName": {
- "shape": "__stringMax64",
- "locationName": "metricName"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
- },
- "Period": {
- "shape": "__integerMin10Max86400",
- "locationName": "period"
- },
- "Statistic": {
- "shape": "CloudWatchAlarmTemplateStatistic",
- "locationName": "statistic"
- },
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
- },
- "TargetResourceType": {
- "shape": "CloudWatchAlarmTemplateTargetResourceType",
- "locationName": "targetResourceType"
- },
- "Threshold": {
- "shape": "__double",
- "locationName": "threshold"
- },
- "TreatMissingData": {
- "shape": "CloudWatchAlarmTemplateTreatMissingData",
- "locationName": "treatMissingData"
+ "DryRun": {
+ "shape": "__boolean",
+ "locationName": "dryRun"
}
- },
- "required": [
- "TargetResourceType",
- "MetricName",
- "TreatMissingData",
- "ComparisonOperator",
- "Statistic",
- "Period",
- "EvaluationPeriods",
- "Threshold",
- "Name",
- "GroupIdentifier"
- ]
+ }
},
- "CreateCloudWatchAlarmTemplateResponse": {
+ "StartMonitorDeploymentResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
+ "shape": "__stringPatternArnMedialiveSignalMap",
"locationName": "arn"
},
- "ComparisonOperator": {
- "shape": "CloudWatchAlarmTemplateComparisonOperator",
- "locationName": "comparisonOperator"
+ "CloudWatchAlarmTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "cloudWatchAlarmTemplateGroupIds"
},
"CreatedAt": {
"shape": "__timestampIso8601",
"locationName": "createdAt"
},
- "DatapointsToAlarm": {
- "shape": "__integerMin1",
- "locationName": "datapointsToAlarm"
- },
"Description": {
"shape": "__stringMin0Max1024",
"locationName": "description"
},
- "EvaluationPeriods": {
- "shape": "__integerMin1",
- "locationName": "evaluationPeriods"
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
},
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
+ "ErrorMessage": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "errorMessage"
+ },
+ "EventBridgeRuleTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "eventBridgeRuleTemplateGroupIds"
+ },
+ "FailedMediaResourceMap": {
+ "shape": "FailedMediaResourceMap",
+ "locationName": "failedMediaResourceMap"
},
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
},
- "MetricName": {
- "shape": "__stringMax64",
- "locationName": "metricName"
+ "LastDiscoveredAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "lastDiscoveredAt"
+ },
+ "LastSuccessfulMonitorDeployment": {
+ "shape": "SuccessfulMonitorDeployment",
+ "locationName": "lastSuccessfulMonitorDeployment"
+ },
+ "MediaResourceMap": {
+ "shape": "MediaResourceMap",
+ "locationName": "mediaResourceMap"
},
"ModifiedAt": {
"shape": "__timestampIso8601",
"locationName": "modifiedAt"
},
+ "MonitorChangesPendingDeployment": {
+ "shape": "__boolean",
+ "locationName": "monitorChangesPendingDeployment"
+ },
+ "MonitorDeployment": {
+ "shape": "MonitorDeployment",
+ "locationName": "monitorDeployment"
+ },
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
},
- "Period": {
- "shape": "__integerMin10Max86400",
- "locationName": "period"
- },
- "Statistic": {
- "shape": "CloudWatchAlarmTemplateStatistic",
- "locationName": "statistic"
+ "Status": {
+ "shape": "SignalMapStatus",
+ "locationName": "status"
},
"Tags": {
"shape": "TagMap",
"locationName": "tags"
- },
- "TargetResourceType": {
- "shape": "CloudWatchAlarmTemplateTargetResourceType",
- "locationName": "targetResourceType"
- },
- "Threshold": {
- "shape": "__double",
- "locationName": "threshold"
- },
- "TreatMissingData": {
- "shape": "CloudWatchAlarmTemplateTreatMissingData",
- "locationName": "treatMissingData"
}
}
},
- "CreateCloudWatchAlarmTemplateResponseContent": {
+ "StartMonitorDeploymentResponseContent": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
+ "shape": "__stringPatternArnMedialiveSignalMap",
"locationName": "arn"
},
- "ComparisonOperator": {
- "shape": "CloudWatchAlarmTemplateComparisonOperator",
- "locationName": "comparisonOperator"
+ "CloudWatchAlarmTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "cloudWatchAlarmTemplateGroupIds"
},
"CreatedAt": {
"shape": "__timestampIso8601",
"locationName": "createdAt"
},
- "DatapointsToAlarm": {
- "shape": "__integerMin1",
- "locationName": "datapointsToAlarm"
- },
"Description": {
"shape": "__stringMin0Max1024",
"locationName": "description"
},
- "EvaluationPeriods": {
- "shape": "__integerMin1",
- "locationName": "evaluationPeriods"
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
},
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
+ "ErrorMessage": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "errorMessage"
+ },
+ "EventBridgeRuleTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "eventBridgeRuleTemplateGroupIds"
+ },
+ "FailedMediaResourceMap": {
+ "shape": "FailedMediaResourceMap",
+ "locationName": "failedMediaResourceMap"
},
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
},
- "MetricName": {
- "shape": "__stringMax64",
- "locationName": "metricName"
+ "LastDiscoveredAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "lastDiscoveredAt"
+ },
+ "LastSuccessfulMonitorDeployment": {
+ "shape": "SuccessfulMonitorDeployment",
+ "locationName": "lastSuccessfulMonitorDeployment"
+ },
+ "MediaResourceMap": {
+ "shape": "MediaResourceMap",
+ "locationName": "mediaResourceMap"
},
"ModifiedAt": {
"shape": "__timestampIso8601",
"locationName": "modifiedAt"
},
+ "MonitorChangesPendingDeployment": {
+ "shape": "__boolean",
+ "locationName": "monitorChangesPendingDeployment"
+ },
+ "MonitorDeployment": {
+ "shape": "MonitorDeployment",
+ "locationName": "monitorDeployment"
+ },
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
},
- "Period": {
- "shape": "__integerMin10Max86400",
- "locationName": "period"
- },
- "Statistic": {
- "shape": "CloudWatchAlarmTemplateStatistic",
- "locationName": "statistic"
+ "Status": {
+ "shape": "SignalMapStatus",
+ "locationName": "status"
},
"Tags": {
"shape": "TagMap",
"locationName": "tags"
- },
- "TargetResourceType": {
- "shape": "CloudWatchAlarmTemplateTargetResourceType",
- "locationName": "targetResourceType"
- },
- "Threshold": {
- "shape": "__double",
- "locationName": "threshold"
- },
- "TreatMissingData": {
- "shape": "CloudWatchAlarmTemplateTreatMissingData",
- "locationName": "treatMissingData"
}
},
"required": [
- "TargetResourceType",
- "TreatMissingData",
- "ComparisonOperator",
+ "Status",
"CreatedAt",
- "Period",
- "EvaluationPeriods",
"Name",
- "GroupId",
- "MetricName",
- "Statistic",
"Id",
"Arn",
- "Threshold"
+ "DiscoveryEntryPointArn",
+ "MonitorChangesPendingDeployment"
]
},
- "CreateEventBridgeRuleTemplateGroupRequest": {
+ "StartUpdateSignalMapRequest": {
"type": "structure",
"members": {
+ "CloudWatchAlarmTemplateGroupIdentifiers": {
+ "shape": "__listOf__stringPatternS",
+ "locationName": "cloudWatchAlarmTemplateGroupIdentifiers"
+ },
"Description": {
"shape": "__stringMin0Max1024",
"locationName": "description"
},
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "EventBridgeRuleTemplateGroupIdentifiers": {
+ "shape": "__listOf__stringPatternS",
+ "locationName": "eventBridgeRuleTemplateGroupIdentifiers"
+ },
+ "ForceRediscovery": {
+ "shape": "__boolean",
+ "locationName": "forceRediscovery"
+ },
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ },
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
- },
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
}
},
"required": [
- "Name"
+ "Identifier"
]
},
- "CreateEventBridgeRuleTemplateGroupRequestContent": {
+ "StartUpdateSignalMapRequestContent": {
"type": "structure",
"members": {
+ "CloudWatchAlarmTemplateGroupIdentifiers": {
+ "shape": "__listOf__stringPatternS",
+ "locationName": "cloudWatchAlarmTemplateGroupIdentifiers"
+ },
"Description": {
"shape": "__stringMin0Max1024",
"locationName": "description"
},
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "EventBridgeRuleTemplateGroupIdentifiers": {
+ "shape": "__listOf__stringPatternS",
+ "locationName": "eventBridgeRuleTemplateGroupIdentifiers"
+ },
+ "ForceRediscovery": {
+ "shape": "__boolean",
+ "locationName": "forceRediscovery"
+ },
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
- },
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
}
- },
- "required": [
- "Name"
- ]
+ }
},
- "CreateEventBridgeRuleTemplateGroupResponse": {
+ "StartUpdateSignalMapResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "shape": "__stringPatternArnMedialiveSignalMap",
"locationName": "arn"
},
+ "CloudWatchAlarmTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "cloudWatchAlarmTemplateGroupIds"
+ },
"CreatedAt": {
"shape": "__timestampIso8601",
"locationName": "createdAt"
@@ -16947,136 +20073,216 @@
"shape": "__stringMin0Max1024",
"locationName": "description"
},
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "ErrorMessage": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "errorMessage"
+ },
+ "EventBridgeRuleTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "eventBridgeRuleTemplateGroupIds"
+ },
+ "FailedMediaResourceMap": {
+ "shape": "FailedMediaResourceMap",
+ "locationName": "failedMediaResourceMap"
+ },
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
},
+ "LastDiscoveredAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "lastDiscoveredAt"
+ },
+ "LastSuccessfulMonitorDeployment": {
+ "shape": "SuccessfulMonitorDeployment",
+ "locationName": "lastSuccessfulMonitorDeployment"
+ },
+ "MediaResourceMap": {
+ "shape": "MediaResourceMap",
+ "locationName": "mediaResourceMap"
+ },
"ModifiedAt": {
"shape": "__timestampIso8601",
"locationName": "modifiedAt"
},
+ "MonitorChangesPendingDeployment": {
+ "shape": "__boolean",
+ "locationName": "monitorChangesPendingDeployment"
+ },
+ "MonitorDeployment": {
+ "shape": "MonitorDeployment",
+ "locationName": "monitorDeployment"
+ },
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
},
+ "Status": {
+ "shape": "SignalMapStatus",
+ "locationName": "status"
+ },
"Tags": {
"shape": "TagMap",
"locationName": "tags"
}
}
},
- "CreateEventBridgeRuleTemplateGroupResponseContent": {
+ "StartUpdateSignalMapResponseContent": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "shape": "__stringPatternArnMedialiveSignalMap",
"locationName": "arn"
},
+ "CloudWatchAlarmTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "cloudWatchAlarmTemplateGroupIds"
+ },
"CreatedAt": {
"shape": "__timestampIso8601",
"locationName": "createdAt"
},
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "DiscoveryEntryPointArn": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "discoveryEntryPointArn"
+ },
+ "ErrorMessage": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "errorMessage"
+ },
+ "EventBridgeRuleTemplateGroupIds": {
+ "shape": "__listOf__stringMin7Max11PatternAws097",
+ "locationName": "eventBridgeRuleTemplateGroupIds"
+ },
+ "FailedMediaResourceMap": {
+ "shape": "FailedMediaResourceMap",
+ "locationName": "failedMediaResourceMap"
},
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
},
+ "LastDiscoveredAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "lastDiscoveredAt"
+ },
+ "LastSuccessfulMonitorDeployment": {
+ "shape": "SuccessfulMonitorDeployment",
+ "locationName": "lastSuccessfulMonitorDeployment"
+ },
+ "MediaResourceMap": {
+ "shape": "MediaResourceMap",
+ "locationName": "mediaResourceMap"
+ },
"ModifiedAt": {
"shape": "__timestampIso8601",
"locationName": "modifiedAt"
},
+ "MonitorChangesPendingDeployment": {
+ "shape": "__boolean",
+ "locationName": "monitorChangesPendingDeployment"
+ },
+ "MonitorDeployment": {
+ "shape": "MonitorDeployment",
+ "locationName": "monitorDeployment"
+ },
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
},
+ "Status": {
+ "shape": "SignalMapStatus",
+ "locationName": "status"
+ },
"Tags": {
"shape": "TagMap",
"locationName": "tags"
}
},
"required": [
+ "Status",
"CreatedAt",
+ "Name",
"Id",
"Arn",
- "Name"
+ "DiscoveryEntryPointArn",
+ "MonitorChangesPendingDeployment"
]
},
- "CreateEventBridgeRuleTemplateRequest": {
+ "SuccessfulMonitorDeployment": {
"type": "structure",
"members": {
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "EventTargets": {
- "shape": "__listOfEventBridgeRuleTemplateTarget",
- "locationName": "eventTargets"
- },
- "EventType": {
- "shape": "EventBridgeRuleTemplateEventType",
- "locationName": "eventType"
- },
- "GroupIdentifier": {
- "shape": "__stringPatternS",
- "locationName": "groupIdentifier"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "DetailsUri": {
+ "shape": "__stringMin1Max2048",
+ "locationName": "detailsUri"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Status": {
+ "shape": "SignalMapMonitorDeploymentStatus",
+ "locationName": "status"
}
},
"required": [
- "EventType",
- "Name",
- "GroupIdentifier"
+ "DetailsUri",
+ "Status"
]
},
- "CreateEventBridgeRuleTemplateRequestContent": {
+ "TagMap": {
+ "type": "map",
+ "key": {
+ "shape": "__string"
+ },
+ "value": {
+ "shape": "__string"
+ }
+ },
+ "TooManyRequestsExceptionResponseContent": {
+ "type": "structure",
+ "members": {
+ "Message": {
+ "shape": "__string",
+ "locationName": "message"
+ }
+ }
+ },
+ "UpdateCloudWatchAlarmTemplateGroupRequest": {
"type": "structure",
"members": {
"Description": {
"shape": "__stringMin0Max1024",
"locationName": "description"
},
- "EventTargets": {
- "shape": "__listOfEventBridgeRuleTemplateTarget",
- "locationName": "eventTargets"
- },
- "EventType": {
- "shape": "EventBridgeRuleTemplateEventType",
- "locationName": "eventType"
- },
- "GroupIdentifier": {
- "shape": "__stringPatternS",
- "locationName": "groupIdentifier"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
- },
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
}
},
"required": [
- "EventType",
- "Name",
- "GroupIdentifier"
+ "Identifier"
]
},
- "CreateEventBridgeRuleTemplateResponse": {
+ "UpdateCloudWatchAlarmTemplateGroupRequestContent": {
+ "type": "structure",
+ "members": {
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ }
+ }
+ },
+ "UpdateCloudWatchAlarmTemplateGroupResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
"locationName": "arn"
},
"CreatedAt": {
@@ -17087,18 +20293,6 @@
"shape": "__stringMin0Max1024",
"locationName": "description"
},
- "EventTargets": {
- "shape": "__listOfEventBridgeRuleTemplateTarget",
- "locationName": "eventTargets"
- },
- "EventType": {
- "shape": "EventBridgeRuleTemplateEventType",
- "locationName": "eventType"
- },
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
- },
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
@@ -17117,11 +20311,11 @@
}
}
},
- "CreateEventBridgeRuleTemplateResponseContent": {
+ "UpdateCloudWatchAlarmTemplateGroupResponseContent": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
"locationName": "arn"
},
"CreatedAt": {
@@ -17132,18 +20326,6 @@
"shape": "__stringMin0Max1024",
"locationName": "description"
},
- "EventTargets": {
- "shape": "__listOfEventBridgeRuleTemplateTarget",
- "locationName": "eventTargets"
- },
- "EventType": {
- "shape": "EventBridgeRuleTemplateEventType",
- "locationName": "eventType"
- },
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
- },
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
@@ -17162,246 +20344,294 @@
}
},
"required": [
- "EventType",
"CreatedAt",
"Id",
"Arn",
- "Name",
- "GroupId"
+ "Name"
]
},
- "CreateSignalMapRequest": {
+ "UpdateCloudWatchAlarmTemplateRequest": {
"type": "structure",
"members": {
- "CloudWatchAlarmTemplateGroupIdentifiers": {
- "shape": "__listOf__stringPatternS",
- "locationName": "cloudWatchAlarmTemplateGroupIdentifiers"
+ "ComparisonOperator": {
+ "shape": "CloudWatchAlarmTemplateComparisonOperator",
+ "locationName": "comparisonOperator"
+ },
+ "DatapointsToAlarm": {
+ "shape": "__integerMin1",
+ "locationName": "datapointsToAlarm"
},
"Description": {
"shape": "__stringMin0Max1024",
"locationName": "description"
},
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
+ "EvaluationPeriods": {
+ "shape": "__integerMin1",
+ "locationName": "evaluationPeriods"
},
- "EventBridgeRuleTemplateGroupIdentifiers": {
- "shape": "__listOf__stringPatternS",
- "locationName": "eventBridgeRuleTemplateGroupIdentifiers"
+ "GroupIdentifier": {
+ "shape": "__stringPatternS",
+ "locationName": "groupIdentifier"
+ },
+ "Identifier": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "identifier"
+ },
+ "MetricName": {
+ "shape": "__stringMax64",
+ "locationName": "metricName"
},
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Period": {
+ "shape": "__integerMin10Max86400",
+ "locationName": "period"
+ },
+ "Statistic": {
+ "shape": "CloudWatchAlarmTemplateStatistic",
+ "locationName": "statistic"
+ },
+ "TargetResourceType": {
+ "shape": "CloudWatchAlarmTemplateTargetResourceType",
+ "locationName": "targetResourceType"
+ },
+ "Threshold": {
+ "shape": "__double",
+ "locationName": "threshold"
+ },
+ "TreatMissingData": {
+ "shape": "CloudWatchAlarmTemplateTreatMissingData",
+ "locationName": "treatMissingData"
}
},
"required": [
- "DiscoveryEntryPointArn",
- "Name"
+ "Identifier"
]
},
- "CreateSignalMapRequestContent": {
+ "UpdateCloudWatchAlarmTemplateRequestContent": {
"type": "structure",
"members": {
- "CloudWatchAlarmTemplateGroupIdentifiers": {
- "shape": "__listOf__stringPatternS",
- "locationName": "cloudWatchAlarmTemplateGroupIdentifiers"
+ "ComparisonOperator": {
+ "shape": "CloudWatchAlarmTemplateComparisonOperator",
+ "locationName": "comparisonOperator"
+ },
+ "DatapointsToAlarm": {
+ "shape": "__integerMin1",
+ "locationName": "datapointsToAlarm"
},
"Description": {
"shape": "__stringMin0Max1024",
"locationName": "description"
},
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
+ "EvaluationPeriods": {
+ "shape": "__integerMin1",
+ "locationName": "evaluationPeriods"
+ },
+ "GroupIdentifier": {
+ "shape": "__stringPatternS",
+ "locationName": "groupIdentifier"
+ },
+ "MetricName": {
+ "shape": "__stringMax64",
+ "locationName": "metricName"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Period": {
+ "shape": "__integerMin10Max86400",
+ "locationName": "period"
+ },
+ "Statistic": {
+ "shape": "CloudWatchAlarmTemplateStatistic",
+ "locationName": "statistic"
},
- "EventBridgeRuleTemplateGroupIdentifiers": {
- "shape": "__listOf__stringPatternS",
- "locationName": "eventBridgeRuleTemplateGroupIdentifiers"
+ "TargetResourceType": {
+ "shape": "CloudWatchAlarmTemplateTargetResourceType",
+ "locationName": "targetResourceType"
},
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "Threshold": {
+ "shape": "__double",
+ "locationName": "threshold"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "TreatMissingData": {
+ "shape": "CloudWatchAlarmTemplateTreatMissingData",
+ "locationName": "treatMissingData"
}
- },
- "required": [
- "DiscoveryEntryPointArn",
- "Name"
- ]
+ }
},
- "CreateSignalMapResponse": {
+ "UpdateCloudWatchAlarmTemplateResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveSignalMap",
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
"locationName": "arn"
},
- "CloudWatchAlarmTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "cloudWatchAlarmTemplateGroupIds"
+ "ComparisonOperator": {
+ "shape": "CloudWatchAlarmTemplateComparisonOperator",
+ "locationName": "comparisonOperator"
},
"CreatedAt": {
"shape": "__timestampIso8601",
"locationName": "createdAt"
},
+ "DatapointsToAlarm": {
+ "shape": "__integerMin1",
+ "locationName": "datapointsToAlarm"
+ },
"Description": {
"shape": "__stringMin0Max1024",
"locationName": "description"
},
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
- },
- "ErrorMessage": {
- "shape": "__stringMin1Max2048",
- "locationName": "errorMessage"
- },
- "EventBridgeRuleTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "eventBridgeRuleTemplateGroupIds"
+ "EvaluationPeriods": {
+ "shape": "__integerMin1",
+ "locationName": "evaluationPeriods"
},
- "FailedMediaResourceMap": {
- "shape": "FailedMediaResourceMap",
- "locationName": "failedMediaResourceMap"
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
},
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
},
- "LastDiscoveredAt": {
- "shape": "__timestampIso8601",
- "locationName": "lastDiscoveredAt"
- },
- "LastSuccessfulMonitorDeployment": {
- "shape": "SuccessfulMonitorDeployment",
- "locationName": "lastSuccessfulMonitorDeployment"
- },
- "MediaResourceMap": {
- "shape": "MediaResourceMap",
- "locationName": "mediaResourceMap"
+ "MetricName": {
+ "shape": "__stringMax64",
+ "locationName": "metricName"
},
"ModifiedAt": {
"shape": "__timestampIso8601",
"locationName": "modifiedAt"
},
- "MonitorChangesPendingDeployment": {
- "shape": "__boolean",
- "locationName": "monitorChangesPendingDeployment"
- },
- "MonitorDeployment": {
- "shape": "MonitorDeployment",
- "locationName": "monitorDeployment"
- },
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
},
- "Status": {
- "shape": "SignalMapStatus",
- "locationName": "status"
+ "Period": {
+ "shape": "__integerMin10Max86400",
+ "locationName": "period"
+ },
+ "Statistic": {
+ "shape": "CloudWatchAlarmTemplateStatistic",
+ "locationName": "statistic"
},
"Tags": {
"shape": "TagMap",
"locationName": "tags"
+ },
+ "TargetResourceType": {
+ "shape": "CloudWatchAlarmTemplateTargetResourceType",
+ "locationName": "targetResourceType"
+ },
+ "Threshold": {
+ "shape": "__double",
+ "locationName": "threshold"
+ },
+ "TreatMissingData": {
+ "shape": "CloudWatchAlarmTemplateTreatMissingData",
+ "locationName": "treatMissingData"
}
}
},
- "CreateSignalMapResponseContent": {
+ "UpdateCloudWatchAlarmTemplateResponseContent": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveSignalMap",
+ "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
"locationName": "arn"
},
- "CloudWatchAlarmTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "cloudWatchAlarmTemplateGroupIds"
+ "ComparisonOperator": {
+ "shape": "CloudWatchAlarmTemplateComparisonOperator",
+ "locationName": "comparisonOperator"
},
"CreatedAt": {
"shape": "__timestampIso8601",
"locationName": "createdAt"
},
+ "DatapointsToAlarm": {
+ "shape": "__integerMin1",
+ "locationName": "datapointsToAlarm"
+ },
"Description": {
"shape": "__stringMin0Max1024",
"locationName": "description"
},
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
- },
- "ErrorMessage": {
- "shape": "__stringMin1Max2048",
- "locationName": "errorMessage"
- },
- "EventBridgeRuleTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "eventBridgeRuleTemplateGroupIds"
+ "EvaluationPeriods": {
+ "shape": "__integerMin1",
+ "locationName": "evaluationPeriods"
},
- "FailedMediaResourceMap": {
- "shape": "FailedMediaResourceMap",
- "locationName": "failedMediaResourceMap"
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
},
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
},
- "LastDiscoveredAt": {
- "shape": "__timestampIso8601",
- "locationName": "lastDiscoveredAt"
- },
- "LastSuccessfulMonitorDeployment": {
- "shape": "SuccessfulMonitorDeployment",
- "locationName": "lastSuccessfulMonitorDeployment"
- },
- "MediaResourceMap": {
- "shape": "MediaResourceMap",
- "locationName": "mediaResourceMap"
+ "MetricName": {
+ "shape": "__stringMax64",
+ "locationName": "metricName"
},
"ModifiedAt": {
"shape": "__timestampIso8601",
"locationName": "modifiedAt"
},
- "MonitorChangesPendingDeployment": {
- "shape": "__boolean",
- "locationName": "monitorChangesPendingDeployment"
- },
- "MonitorDeployment": {
- "shape": "MonitorDeployment",
- "locationName": "monitorDeployment"
- },
"Name": {
"shape": "__stringMin1Max255PatternS",
"locationName": "name"
},
- "Status": {
- "shape": "SignalMapStatus",
- "locationName": "status"
+ "Period": {
+ "shape": "__integerMin10Max86400",
+ "locationName": "period"
+ },
+ "Statistic": {
+ "shape": "CloudWatchAlarmTemplateStatistic",
+ "locationName": "statistic"
},
"Tags": {
"shape": "TagMap",
"locationName": "tags"
+ },
+ "TargetResourceType": {
+ "shape": "CloudWatchAlarmTemplateTargetResourceType",
+ "locationName": "targetResourceType"
+ },
+ "Threshold": {
+ "shape": "__double",
+ "locationName": "threshold"
+ },
+ "TreatMissingData": {
+ "shape": "CloudWatchAlarmTemplateTreatMissingData",
+ "locationName": "treatMissingData"
}
},
"required": [
- "Status",
+ "TargetResourceType",
+ "TreatMissingData",
+ "ComparisonOperator",
"CreatedAt",
+ "Period",
+ "EvaluationPeriods",
"Name",
+ "GroupId",
+ "MetricName",
+ "Statistic",
"Id",
"Arn",
- "DiscoveryEntryPointArn",
- "MonitorChangesPendingDeployment"
+ "Threshold"
]
},
- "DeleteCloudWatchAlarmTemplateGroupRequest": {
+ "UpdateEventBridgeRuleTemplateGroupRequest": {
"type": "structure",
"members": {
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
"Identifier": {
"shape": "__string",
"location": "uri",
@@ -17412,81 +20642,150 @@
"Identifier"
]
},
- "DeleteCloudWatchAlarmTemplateRequest": {
+ "UpdateEventBridgeRuleTemplateGroupRequestContent": {
"type": "structure",
"members": {
- "Identifier": {
- "shape": "__string",
- "location": "uri",
- "locationName": "identifier"
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
}
- },
- "required": [
- "Identifier"
- ]
+ }
},
- "DeleteEventBridgeRuleTemplateGroupRequest": {
+ "UpdateEventBridgeRuleTemplateGroupResponse": {
"type": "structure",
"members": {
- "Identifier": {
- "shape": "__string",
- "location": "uri",
- "locationName": "identifier"
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
+ }
+ }
+ },
+ "UpdateEventBridgeRuleTemplateGroupResponseContent": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "locationName": "arn"
+ },
+ "CreatedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "createdAt"
+ },
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "Id": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "id"
+ },
+ "ModifiedAt": {
+ "shape": "__timestampIso8601",
+ "locationName": "modifiedAt"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
+ },
+ "Tags": {
+ "shape": "TagMap",
+ "locationName": "tags"
}
},
"required": [
- "Identifier"
+ "CreatedAt",
+ "Id",
+ "Arn",
+ "Name"
]
},
- "DeleteEventBridgeRuleTemplateRequest": {
+ "UpdateEventBridgeRuleTemplateRequest": {
"type": "structure",
"members": {
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EventTargets": {
+ "shape": "__listOfEventBridgeRuleTemplateTarget",
+ "locationName": "eventTargets"
+ },
+ "EventType": {
+ "shape": "EventBridgeRuleTemplateEventType",
+ "locationName": "eventType"
+ },
+ "GroupIdentifier": {
+ "shape": "__stringPatternS",
+ "locationName": "groupIdentifier"
+ },
"Identifier": {
"shape": "__string",
"location": "uri",
"locationName": "identifier"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
}
},
"required": [
"Identifier"
]
},
- "DeleteSignalMapRequest": {
+ "UpdateEventBridgeRuleTemplateRequestContent": {
"type": "structure",
"members": {
- "Identifier": {
- "shape": "__string",
- "location": "uri",
- "locationName": "identifier"
+ "Description": {
+ "shape": "__stringMin0Max1024",
+ "locationName": "description"
+ },
+ "EventTargets": {
+ "shape": "__listOfEventBridgeRuleTemplateTarget",
+ "locationName": "eventTargets"
+ },
+ "EventType": {
+ "shape": "EventBridgeRuleTemplateEventType",
+ "locationName": "eventType"
+ },
+ "GroupIdentifier": {
+ "shape": "__stringPatternS",
+ "locationName": "groupIdentifier"
+ },
+ "Name": {
+ "shape": "__stringMin1Max255PatternS",
+ "locationName": "name"
}
- },
- "required": [
- "Identifier"
- ]
- },
- "EventBridgeRuleTemplateEventType": {
- "type": "string",
- "enum": [
- "MEDIALIVE_MULTIPLEX_ALERT",
- "MEDIALIVE_MULTIPLEX_STATE_CHANGE",
- "MEDIALIVE_CHANNEL_ALERT",
- "MEDIALIVE_CHANNEL_INPUT_CHANGE",
- "MEDIALIVE_CHANNEL_STATE_CHANGE",
- "MEDIAPACKAGE_INPUT_NOTIFICATION",
- "MEDIAPACKAGE_KEY_PROVIDER_NOTIFICATION",
- "MEDIAPACKAGE_HARVEST_JOB_NOTIFICATION",
- "SIGNAL_MAP_ACTIVE_ALARM",
- "MEDIACONNECT_ALERT",
- "MEDIACONNECT_SOURCE_HEALTH",
- "MEDIACONNECT_OUTPUT_HEALTH",
- "MEDIACONNECT_FLOW_STATUS_CHANGE"
- ]
+ }
},
- "EventBridgeRuleTemplateGroupSummary": {
+ "UpdateEventBridgeRuleTemplateResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
"locationName": "arn"
},
"CreatedAt": {
@@ -17497,6 +20796,18 @@
"shape": "__stringMin0Max1024",
"locationName": "description"
},
+ "EventTargets": {
+ "shape": "__listOfEventBridgeRuleTemplateTarget",
+ "locationName": "eventTargets"
+ },
+ "EventType": {
+ "shape": "EventBridgeRuleTemplateEventType",
+ "locationName": "eventType"
+ },
+ "GroupId": {
+ "shape": "__stringMin7Max11PatternAws097",
+ "locationName": "groupId"
+ },
"Id": {
"shape": "__stringMin7Max11PatternAws097",
"locationName": "id"
@@ -17512,21 +20823,10 @@
"Tags": {
"shape": "TagMap",
"locationName": "tags"
- },
- "TemplateCount": {
- "shape": "__integer",
- "locationName": "templateCount"
}
- },
- "required": [
- "TemplateCount",
- "CreatedAt",
- "Id",
- "Arn",
- "Name"
- ]
+ }
},
- "EventBridgeRuleTemplateSummary": {
+ "UpdateEventBridgeRuleTemplateResponseContent": {
"type": "structure",
"members": {
"Arn": {
@@ -17541,9 +20841,9 @@
"shape": "__stringMin0Max1024",
"locationName": "description"
},
- "EventTargetCount": {
- "shape": "__integerMax5",
- "locationName": "eventTargetCount"
+ "EventTargets": {
+ "shape": "__listOfEventBridgeRuleTemplateTarget",
+ "locationName": "eventTargets"
},
"EventType": {
"shape": "EventBridgeRuleTemplateEventType",
@@ -17573,2611 +20873,2735 @@
"required": [
"EventType",
"CreatedAt",
- "EventTargetCount",
"Id",
"Arn",
"Name",
"GroupId"
]
},
- "EventBridgeRuleTemplateTarget": {
- "type": "structure",
- "members": {
- "Arn": {
- "shape": "__stringMin1Max2048PatternArn",
- "locationName": "arn"
- }
- },
- "required": [
- "Arn"
+ "__integerMax5": {
+ "type": "integer",
+ "max": 5
+ },
+ "__integerMin10Max86400": {
+ "type": "integer",
+ "min": 10,
+ "max": 86400
+ },
+ "__listOfCloudWatchAlarmTemplateGroupSummary": {
+ "type": "list",
+ "member": {
+ "shape": "CloudWatchAlarmTemplateGroupSummary"
+ }
+ },
+ "__listOfCloudWatchAlarmTemplateSummary": {
+ "type": "list",
+ "member": {
+ "shape": "CloudWatchAlarmTemplateSummary"
+ }
+ },
+ "__listOfEventBridgeRuleTemplateGroupSummary": {
+ "type": "list",
+ "member": {
+ "shape": "EventBridgeRuleTemplateGroupSummary"
+ }
+ },
+ "__listOfEventBridgeRuleTemplateSummary": {
+ "type": "list",
+ "member": {
+ "shape": "EventBridgeRuleTemplateSummary"
+ }
+ },
+ "__listOfEventBridgeRuleTemplateTarget": {
+ "type": "list",
+ "member": {
+ "shape": "EventBridgeRuleTemplateTarget"
+ }
+ },
+ "__listOfMediaResourceNeighbor": {
+ "type": "list",
+ "member": {
+ "shape": "MediaResourceNeighbor"
+ }
+ },
+ "__listOfSignalMapSummary": {
+ "type": "list",
+ "member": {
+ "shape": "SignalMapSummary"
+ }
+ },
+ "__listOf__stringMin7Max11PatternAws097": {
+ "type": "list",
+ "member": {
+ "shape": "__stringMin7Max11PatternAws097"
+ }
+ },
+ "__listOf__stringPatternS": {
+ "type": "list",
+ "member": {
+ "shape": "__stringPatternS"
+ }
+ },
+ "__stringMax64": {
+ "type": "string",
+ "max": 64
+ },
+ "__stringMin0Max1024": {
+ "type": "string",
+ "min": 0,
+ "max": 1024
+ },
+ "__stringMin1Max2048": {
+ "type": "string",
+ "min": 1,
+ "max": 2048
+ },
+ "__stringMin1Max2048PatternArn": {
+ "type": "string",
+ "min": 1,
+ "max": 2048,
+ "pattern": "^arn.+$"
+ },
+ "__stringMin1Max255PatternS": {
+ "type": "string",
+ "min": 1,
+ "max": 255,
+ "pattern": "^[^\\s]+$"
+ },
+ "__stringMin7Max11PatternAws097": {
+ "type": "string",
+ "min": 7,
+ "max": 11,
+ "pattern": "^(aws-)?[0-9]{7}$"
+ },
+ "__stringPatternArnMedialiveCloudwatchAlarmTemplate": {
+ "type": "string",
+ "pattern": "^arn:.+:medialive:.+:cloudwatch-alarm-template:.+$"
+ },
+ "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup": {
+ "type": "string",
+ "pattern": "^arn:.+:medialive:.+:cloudwatch-alarm-template-group:.+$"
+ },
+ "__stringPatternArnMedialiveEventbridgeRuleTemplate": {
+ "type": "string",
+ "pattern": "^arn:.+:medialive:.+:eventbridge-rule-template:.+$"
+ },
+ "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup": {
+ "type": "string",
+ "pattern": "^arn:.+:medialive:.+:eventbridge-rule-template-group:.+$"
+ },
+ "__stringPatternArnMedialiveSignalMap": {
+ "type": "string",
+ "pattern": "^arn:.+:medialive:.+:signal-map:.+$"
+ },
+ "__stringPatternS": {
+ "type": "string",
+ "pattern": "^[^\\s]+$"
+ },
+ "Scte35SegmentationScope": {
+ "type": "string",
+ "enum": [
+ "ALL_OUTPUT_GROUPS",
+ "SCTE35_ENABLED_OUTPUT_GROUPS"
]
},
- "FailedMediaResourceMap": {
- "type": "map",
- "key": {
- "shape": "__string"
- },
- "value": {
- "shape": "MediaResource"
- }
+ "Algorithm": {
+ "type": "string",
+ "enum": [
+ "AES128",
+ "AES192",
+ "AES256"
+ ]
},
- "ForbiddenExceptionResponseContent": {
+ "SrtCallerDecryption": {
"type": "structure",
"members": {
- "Message": {
+ "Algorithm": {
+ "shape": "Algorithm",
+ "locationName": "algorithm"
+ },
+ "PassphraseSecretArn": {
"shape": "__string",
- "locationName": "message"
+ "locationName": "passphraseSecretArn"
}
}
},
- "GetCloudWatchAlarmTemplateGroupRequest": {
+ "SrtCallerDecryptionRequest": {
"type": "structure",
"members": {
- "Identifier": {
+ "Algorithm": {
+ "shape": "Algorithm",
+ "locationName": "algorithm"
+ },
+ "PassphraseSecretArn": {
"shape": "__string",
- "location": "uri",
- "locationName": "identifier"
+ "locationName": "passphraseSecretArn"
}
- },
- "required": [
- "Identifier"
- ]
+ }
},
- "GetCloudWatchAlarmTemplateGroupResponse": {
+ "SrtCallerSource": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
- "locationName": "arn"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "Decryption": {
+ "shape": "SrtCallerDecryption",
+ "locationName": "decryption"
},
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
+ "MinimumLatency": {
+ "shape": "__integer",
+ "locationName": "minimumLatency"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "SrtListenerAddress": {
+ "shape": "__string",
+ "locationName": "srtListenerAddress"
},
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "SrtListenerPort": {
+ "shape": "__string",
+ "locationName": "srtListenerPort"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "StreamId": {
+ "shape": "__string",
+ "locationName": "streamId"
}
}
},
- "GetCloudWatchAlarmTemplateGroupResponseContent": {
+ "SrtCallerSourceRequest": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
- "locationName": "arn"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "Decryption": {
+ "shape": "SrtCallerDecryptionRequest",
+ "locationName": "decryption"
},
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
+ "MinimumLatency": {
+ "shape": "__integer",
+ "locationName": "minimumLatency"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "SrtListenerAddress": {
+ "shape": "__string",
+ "locationName": "srtListenerAddress"
},
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "SrtListenerPort": {
+ "shape": "__string",
+ "locationName": "srtListenerPort"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "StreamId": {
+ "shape": "__string",
+ "locationName": "streamId"
}
- },
- "required": [
- "CreatedAt",
- "Id",
- "Arn",
- "Name"
- ]
+ }
},
- "GetCloudWatchAlarmTemplateRequest": {
+ "SrtSettings": {
"type": "structure",
"members": {
- "Identifier": {
- "shape": "__string",
- "location": "uri",
- "locationName": "identifier"
+ "SrtCallerSources": {
+ "shape": "__listOfSrtCallerSource",
+ "locationName": "srtCallerSources"
+ }
+ }
+ },
+ "SrtSettingsRequest": {
+ "type": "structure",
+ "members": {
+ "SrtCallerSources": {
+ "shape": "__listOfSrtCallerSourceRequest",
+ "locationName": "srtCallerSources"
}
+ }
+ },
+ "__listOfSrtCallerSource": {
+ "type": "list",
+ "member": {
+ "shape": "SrtCallerSource"
+ }
+ },
+ "__listOfSrtCallerSourceRequest": {
+ "type": "list",
+ "member": {
+ "shape": "SrtCallerSourceRequest"
+ }
+ },
+ "MultiplexPacketIdentifiersMapping": {
+ "type": "map",
+ "key": {
+ "shape": "__string"
},
- "required": [
- "Identifier"
- ]
+ "value": {
+ "shape": "MultiplexProgramPacketIdentifiersMap"
+ }
},
- "GetCloudWatchAlarmTemplateResponse": {
+ "__integerMin1Max51": {
+ "type": "integer",
+ "min": 1,
+ "max": 51
+ },
+ "AnywhereSettings": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
- "locationName": "arn"
- },
- "ComparisonOperator": {
- "shape": "CloudWatchAlarmTemplateComparisonOperator",
- "locationName": "comparisonOperator"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "DatapointsToAlarm": {
- "shape": "__integerMin1",
- "locationName": "datapointsToAlarm"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "EvaluationPeriods": {
- "shape": "__integerMin1",
- "locationName": "evaluationPeriods"
- },
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
- },
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
- },
- "MetricName": {
- "shape": "__stringMax64",
- "locationName": "metricName"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
- },
- "Period": {
- "shape": "__integerMin10Max86400",
- "locationName": "period"
- },
- "Statistic": {
- "shape": "CloudWatchAlarmTemplateStatistic",
- "locationName": "statistic"
+ "ChannelPlacementGroupId": {
+ "shape": "__string",
+ "locationName": "channelPlacementGroupId"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
+ }
+ }
+ },
+ "Av1ColorSpaceSettings": {
+ "type": "structure",
+ "members": {
+ "ColorSpacePassthroughSettings": {
+ "shape": "ColorSpacePassthroughSettings",
+ "locationName": "colorSpacePassthroughSettings"
},
- "TargetResourceType": {
- "shape": "CloudWatchAlarmTemplateTargetResourceType",
- "locationName": "targetResourceType"
+ "Hdr10Settings": {
+ "shape": "Hdr10Settings",
+ "locationName": "hdr10Settings"
},
- "Threshold": {
- "shape": "__double",
- "locationName": "threshold"
+ "Rec601Settings": {
+ "shape": "Rec601Settings",
+ "locationName": "rec601Settings"
},
- "TreatMissingData": {
- "shape": "CloudWatchAlarmTemplateTreatMissingData",
- "locationName": "treatMissingData"
+ "Rec709Settings": {
+ "shape": "Rec709Settings",
+ "locationName": "rec709Settings"
}
}
},
- "GetCloudWatchAlarmTemplateResponseContent": {
+ "Av1GopSizeUnits": {
+ "type": "string",
+ "enum": [
+ "FRAMES",
+ "SECONDS"
+ ]
+ },
+ "Av1Level": {
+ "type": "string",
+ "enum": [
+ "AV1_LEVEL_2",
+ "AV1_LEVEL_2_1",
+ "AV1_LEVEL_3",
+ "AV1_LEVEL_3_1",
+ "AV1_LEVEL_4",
+ "AV1_LEVEL_4_1",
+ "AV1_LEVEL_5",
+ "AV1_LEVEL_5_1",
+ "AV1_LEVEL_5_2",
+ "AV1_LEVEL_5_3",
+ "AV1_LEVEL_6",
+ "AV1_LEVEL_6_1",
+ "AV1_LEVEL_6_2",
+ "AV1_LEVEL_6_3",
+ "AV1_LEVEL_AUTO"
+ ]
+ },
+ "Av1LookAheadRateControl": {
+ "type": "string",
+ "enum": [
+ "HIGH",
+ "LOW",
+ "MEDIUM"
+ ]
+ },
+ "Av1SceneChangeDetect": {
+ "type": "string",
+ "enum": [
+ "DISABLED",
+ "ENABLED"
+ ]
+ },
+ "Av1Settings": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
- "locationName": "arn"
+ "AfdSignaling": {
+ "shape": "AfdSignaling",
+ "locationName": "afdSignaling"
},
- "ComparisonOperator": {
- "shape": "CloudWatchAlarmTemplateComparisonOperator",
- "locationName": "comparisonOperator"
+ "BufSize": {
+ "shape": "__integerMin50000Max16000000",
+ "locationName": "bufSize"
},
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
+ "ColorSpaceSettings": {
+ "shape": "Av1ColorSpaceSettings",
+ "locationName": "colorSpaceSettings"
},
- "DatapointsToAlarm": {
- "shape": "__integerMin1",
- "locationName": "datapointsToAlarm"
+ "FixedAfd": {
+ "shape": "FixedAfd",
+ "locationName": "fixedAfd"
},
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "FramerateDenominator": {
+ "shape": "__integerMin1Max3003",
+ "locationName": "framerateDenominator"
},
- "EvaluationPeriods": {
+ "FramerateNumerator": {
"shape": "__integerMin1",
- "locationName": "evaluationPeriods"
+ "locationName": "framerateNumerator"
},
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
+ "GopSize": {
+ "shape": "__doubleMin0",
+ "locationName": "gopSize"
},
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
+ "GopSizeUnits": {
+ "shape": "Av1GopSizeUnits",
+ "locationName": "gopSizeUnits"
},
- "MetricName": {
- "shape": "__stringMax64",
- "locationName": "metricName"
+ "Level": {
+ "shape": "Av1Level",
+ "locationName": "level"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "LookAheadRateControl": {
+ "shape": "Av1LookAheadRateControl",
+ "locationName": "lookAheadRateControl"
},
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "MaxBitrate": {
+ "shape": "__integerMin50000Max8000000",
+ "locationName": "maxBitrate"
},
- "Period": {
- "shape": "__integerMin10Max86400",
- "locationName": "period"
+ "MinIInterval": {
+ "shape": "__integerMin0Max30",
+ "locationName": "minIInterval"
},
- "Statistic": {
- "shape": "CloudWatchAlarmTemplateStatistic",
- "locationName": "statistic"
+ "ParDenominator": {
+ "shape": "__integerMin1",
+ "locationName": "parDenominator"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "ParNumerator": {
+ "shape": "__integerMin1",
+ "locationName": "parNumerator"
},
- "TargetResourceType": {
- "shape": "CloudWatchAlarmTemplateTargetResourceType",
- "locationName": "targetResourceType"
+ "QvbrQualityLevel": {
+ "shape": "__integerMin1Max10",
+ "locationName": "qvbrQualityLevel"
},
- "Threshold": {
- "shape": "__double",
- "locationName": "threshold"
+ "SceneChangeDetect": {
+ "shape": "Av1SceneChangeDetect",
+ "locationName": "sceneChangeDetect"
},
- "TreatMissingData": {
- "shape": "CloudWatchAlarmTemplateTreatMissingData",
- "locationName": "treatMissingData"
+ "TimecodeBurninSettings": {
+ "shape": "TimecodeBurninSettings",
+ "locationName": "timecodeBurninSettings"
}
},
"required": [
- "TargetResourceType",
- "TreatMissingData",
- "ComparisonOperator",
- "CreatedAt",
- "Period",
- "EvaluationPeriods",
- "Name",
- "GroupId",
- "MetricName",
- "Statistic",
- "Id",
- "Arn",
- "Threshold"
+ "FramerateNumerator",
+ "FramerateDenominator"
]
},
- "GetEventBridgeRuleTemplateGroupRequest": {
+ "ChannelPlacementGroupState": {
+ "type": "string",
+ "enum": [
+ "UNASSIGNED",
+ "ASSIGNING",
+ "ASSIGNED",
+ "DELETING",
+ "DELETE_FAILED",
+ "DELETED",
+ "UNASSIGNING"
+ ]
+ },
+ "ClusterNetworkSettings": {
"type": "structure",
"members": {
- "Identifier": {
+ "DefaultRoute": {
"shape": "__string",
- "location": "uri",
- "locationName": "identifier"
+ "locationName": "defaultRoute"
+ },
+ "InterfaceMappings": {
+ "shape": "__listOfInterfaceMapping",
+ "locationName": "interfaceMappings"
}
- },
- "required": [
- "Identifier"
- ]
+ }
},
- "GetEventBridgeRuleTemplateGroupResponse": {
+ "ClusterNetworkSettingsCreateRequest": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
- "locationName": "arn"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "DefaultRoute": {
+ "shape": "__string",
+ "locationName": "defaultRoute"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "InterfaceMappings": {
+ "shape": "__listOfInterfaceMappingCreateRequest",
+ "locationName": "interfaceMappings"
}
}
},
- "GetEventBridgeRuleTemplateGroupResponseContent": {
+ "ClusterNetworkSettingsUpdateRequest": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
- "locationName": "arn"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "DefaultRoute": {
+ "shape": "__string",
+ "locationName": "defaultRoute"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "InterfaceMappings": {
+ "shape": "__listOfInterfaceMappingUpdateRequest",
+ "locationName": "interfaceMappings"
}
- },
- "required": [
- "CreatedAt",
- "Id",
- "Arn",
- "Name"
+ }
+ },
+ "ClusterState": {
+ "type": "string",
+ "enum": [
+ "CREATING",
+ "CREATE_FAILED",
+ "ACTIVE",
+ "DELETING",
+ "DELETE_FAILED",
+ "DELETED"
]
},
- "GetEventBridgeRuleTemplateRequest": {
+ "ClusterType": {
+ "type": "string",
+ "enum": [
+ "ON_PREMISES"
+ ]
+ },
+ "CreateChannelPlacementGroupRequest": {
"type": "structure",
"members": {
- "Identifier": {
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "Nodes": {
+ "shape": "__listOf__string",
+ "locationName": "nodes"
+ },
+ "RequestId": {
"shape": "__string",
- "location": "uri",
- "locationName": "identifier"
+ "locationName": "requestId",
+ "idempotencyToken": true
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
}
},
"required": [
- "Identifier"
+ "ClusterId"
]
},
- "GetEventBridgeRuleTemplateResponse": {
+ "CreateChannelPlacementGroupResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
+ "shape": "__string",
"locationName": "arn"
},
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "EventTargets": {
- "shape": "__listOfEventBridgeRuleTemplateTarget",
- "locationName": "eventTargets"
- },
- "EventType": {
- "shape": "EventBridgeRuleTemplateEventType",
- "locationName": "eventType"
+ "Channels": {
+ "shape": "__listOf__string",
+ "locationName": "channels"
},
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Nodes": {
+ "shape": "__listOf__string",
+ "locationName": "nodes"
+ },
+ "State": {
+ "shape": "ChannelPlacementGroupState",
+ "locationName": "state"
}
}
},
- "GetEventBridgeRuleTemplateResponseContent": {
+ "CreateClusterRequest": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
- "locationName": "arn"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "EventTargets": {
- "shape": "__listOfEventBridgeRuleTemplateTarget",
- "locationName": "eventTargets"
- },
- "EventType": {
- "shape": "EventBridgeRuleTemplateEventType",
- "locationName": "eventType"
- },
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
- },
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
+ "ClusterType": {
+ "shape": "ClusterType",
+ "locationName": "clusterType"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "InstanceRoleArn": {
+ "shape": "__string",
+ "locationName": "instanceRoleArn"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
+ "NetworkSettings": {
+ "shape": "ClusterNetworkSettingsCreateRequest",
+ "locationName": "networkSettings"
+ },
+ "RequestId": {
+ "shape": "__string",
+ "locationName": "requestId",
+ "idempotencyToken": true
+ },
"Tags": {
- "shape": "TagMap",
+ "shape": "Tags",
"locationName": "tags"
}
- },
- "required": [
- "EventType",
- "CreatedAt",
- "Id",
- "Arn",
- "Name",
- "GroupId"
- ]
- },
- "GetSignalMapRequest": {
- "type": "structure",
- "members": {
- "Identifier": {
- "shape": "__string",
- "location": "uri",
- "locationName": "identifier"
- }
- },
- "required": [
- "Identifier"
- ]
+ }
},
- "GetSignalMapResponse": {
+ "CreateClusterResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveSignalMap",
+ "shape": "__string",
"locationName": "arn"
},
- "CloudWatchAlarmTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "cloudWatchAlarmTemplateGroupIds"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
- },
- "ErrorMessage": {
- "shape": "__stringMin1Max2048",
- "locationName": "errorMessage"
- },
- "EventBridgeRuleTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "eventBridgeRuleTemplateGroupIds"
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
},
- "FailedMediaResourceMap": {
- "shape": "FailedMediaResourceMap",
- "locationName": "failedMediaResourceMap"
+ "ClusterType": {
+ "shape": "ClusterType",
+ "locationName": "clusterType"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "LastDiscoveredAt": {
- "shape": "__timestampIso8601",
- "locationName": "lastDiscoveredAt"
- },
- "LastSuccessfulMonitorDeployment": {
- "shape": "SuccessfulMonitorDeployment",
- "locationName": "lastSuccessfulMonitorDeployment"
- },
- "MediaResourceMap": {
- "shape": "MediaResourceMap",
- "locationName": "mediaResourceMap"
+ "InstanceRoleArn": {
+ "shape": "__string",
+ "locationName": "instanceRoleArn"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "MonitorChangesPendingDeployment": {
- "shape": "__boolean",
- "locationName": "monitorChangesPendingDeployment"
+ "NetworkSettings": {
+ "shape": "ClusterNetworkSettings",
+ "locationName": "networkSettings"
},
- "MonitorDeployment": {
- "shape": "MonitorDeployment",
- "locationName": "monitorDeployment"
+ "State": {
+ "shape": "ClusterState",
+ "locationName": "state"
+ }
+ }
+ },
+ "CreateNetworkRequest": {
+ "type": "structure",
+ "members": {
+ "IpPools": {
+ "shape": "__listOfIpPoolCreateRequest",
+ "locationName": "ipPools"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Status": {
- "shape": "SignalMapStatus",
- "locationName": "status"
+ "RequestId": {
+ "shape": "__string",
+ "locationName": "requestId",
+ "idempotencyToken": true
+ },
+ "Routes": {
+ "shape": "__listOfRouteCreateRequest",
+ "locationName": "routes"
},
"Tags": {
- "shape": "TagMap",
+ "shape": "Tags",
"locationName": "tags"
}
}
},
- "GetSignalMapResponseContent": {
+ "CreateNetworkResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveSignalMap",
+ "shape": "__string",
"locationName": "arn"
},
- "CloudWatchAlarmTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "cloudWatchAlarmTemplateGroupIds"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
- },
- "ErrorMessage": {
- "shape": "__stringMin1Max2048",
- "locationName": "errorMessage"
- },
- "EventBridgeRuleTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "eventBridgeRuleTemplateGroupIds"
- },
- "FailedMediaResourceMap": {
- "shape": "FailedMediaResourceMap",
- "locationName": "failedMediaResourceMap"
+ "AssociatedClusterIds": {
+ "shape": "__listOf__string",
+ "locationName": "associatedClusterIds"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "LastDiscoveredAt": {
- "shape": "__timestampIso8601",
- "locationName": "lastDiscoveredAt"
- },
- "LastSuccessfulMonitorDeployment": {
- "shape": "SuccessfulMonitorDeployment",
- "locationName": "lastSuccessfulMonitorDeployment"
+ "IpPools": {
+ "shape": "__listOfIpPool",
+ "locationName": "ipPools"
},
- "MediaResourceMap": {
- "shape": "MediaResourceMap",
- "locationName": "mediaResourceMap"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "Routes": {
+ "shape": "__listOfRoute",
+ "locationName": "routes"
},
- "MonitorChangesPendingDeployment": {
- "shape": "__boolean",
- "locationName": "monitorChangesPendingDeployment"
+ "State": {
+ "shape": "NetworkState",
+ "locationName": "state"
+ }
+ }
+ },
+ "CreateNodeRegistrationScriptRequest": {
+ "type": "structure",
+ "members": {
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
},
- "MonitorDeployment": {
- "shape": "MonitorDeployment",
- "locationName": "monitorDeployment"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Status": {
- "shape": "SignalMapStatus",
- "locationName": "status"
+ "NodeInterfaceMappings": {
+ "shape": "__listOfNodeInterfaceMapping",
+ "locationName": "nodeInterfaceMappings"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "RequestId": {
+ "shape": "__string",
+ "locationName": "requestId",
+ "idempotencyToken": true
+ },
+ "Role": {
+ "shape": "NodeRole",
+ "locationName": "role"
}
},
"required": [
- "Status",
- "CreatedAt",
- "Name",
- "Id",
- "Arn",
- "DiscoveryEntryPointArn",
- "MonitorChangesPendingDeployment"
+ "ClusterId"
]
},
- "InternalServerErrorExceptionResponseContent": {
+ "CreateNodeRegistrationScriptResponse": {
"type": "structure",
"members": {
- "Message": {
+ "NodeRegistrationScript": {
"shape": "__string",
- "locationName": "message"
+ "locationName": "nodeRegistrationScript"
}
}
},
- "ListCloudWatchAlarmTemplateGroupsRequest": {
+ "CreateNodeRegistrationScriptResult": {
"type": "structure",
"members": {
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
- },
- "NextToken": {
+ "NodeRegistrationScript": {
"shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
+ "locationName": "nodeRegistrationScript"
+ }
+ }
+ },
+ "CreateNodeRequest": {
+ "type": "structure",
+ "members": {
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
},
- "Scope": {
+ "Name": {
"shape": "__string",
- "location": "querystring",
- "locationName": "scope"
+ "locationName": "name"
},
- "SignalMapIdentifier": {
+ "NodeInterfaceMappings": {
+ "shape": "__listOfNodeInterfaceMappingCreateRequest",
+ "locationName": "nodeInterfaceMappings"
+ },
+ "RequestId": {
"shape": "__string",
- "location": "querystring",
- "locationName": "signalMapIdentifier"
+ "locationName": "requestId",
+ "idempotencyToken": true
+ },
+ "Role": {
+ "shape": "NodeRole",
+ "locationName": "role"
+ },
+ "Tags": {
+ "shape": "Tags",
+ "locationName": "tags"
}
- }
+ },
+ "required": [
+ "ClusterId"
+ ]
},
- "ListCloudWatchAlarmTemplateGroupsResponse": {
+ "CreateNodeResponse": {
"type": "structure",
"members": {
- "CloudWatchAlarmTemplateGroups": {
- "shape": "__listOfCloudWatchAlarmTemplateGroupSummary",
- "locationName": "cloudWatchAlarmTemplateGroups"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "NextToken": {
- "shape": "__stringMin1Max2048",
- "locationName": "nextToken"
+ "ChannelPlacementGroups": {
+ "shape": "__listOf__string",
+ "locationName": "channelPlacementGroups"
+ },
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
+ },
+ "ConnectionState": {
+ "shape": "NodeConnectionState",
+ "locationName": "connectionState"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "InstanceArn": {
+ "shape": "__string",
+ "locationName": "instanceArn"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "NodeInterfaceMappings": {
+ "shape": "__listOfNodeInterfaceMapping",
+ "locationName": "nodeInterfaceMappings"
+ },
+ "Role": {
+ "shape": "NodeRole",
+ "locationName": "role"
+ },
+ "State": {
+ "shape": "NodeState",
+ "locationName": "state"
}
}
},
- "ListCloudWatchAlarmTemplateGroupsResponseContent": {
+ "DeleteChannelPlacementGroupRequest": {
"type": "structure",
"members": {
- "CloudWatchAlarmTemplateGroups": {
- "shape": "__listOfCloudWatchAlarmTemplateGroupSummary",
- "locationName": "cloudWatchAlarmTemplateGroups"
+ "ChannelPlacementGroupId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelPlacementGroupId"
},
- "NextToken": {
- "shape": "__stringMin1Max2048",
- "locationName": "nextToken"
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
}
},
"required": [
- "CloudWatchAlarmTemplateGroups"
+ "ClusterId",
+ "ChannelPlacementGroupId"
]
},
- "ListCloudWatchAlarmTemplatesRequest": {
+ "DeleteChannelPlacementGroupResponse": {
"type": "structure",
"members": {
- "GroupIdentifier": {
+ "Arn": {
"shape": "__string",
- "location": "querystring",
- "locationName": "groupIdentifier"
+ "locationName": "arn"
},
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "Channels": {
+ "shape": "__listOf__string",
+ "locationName": "channels"
},
- "NextToken": {
+ "ClusterId": {
"shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
+ "locationName": "clusterId"
},
- "Scope": {
+ "Id": {
"shape": "__string",
- "location": "querystring",
- "locationName": "scope"
+ "locationName": "id"
},
- "SignalMapIdentifier": {
+ "Name": {
"shape": "__string",
- "location": "querystring",
- "locationName": "signalMapIdentifier"
- }
- }
- },
- "ListCloudWatchAlarmTemplatesResponse": {
- "type": "structure",
- "members": {
- "CloudWatchAlarmTemplates": {
- "shape": "__listOfCloudWatchAlarmTemplateSummary",
- "locationName": "cloudWatchAlarmTemplates"
+ "locationName": "name"
},
- "NextToken": {
- "shape": "__stringMin1Max2048",
- "locationName": "nextToken"
+ "Nodes": {
+ "shape": "__listOf__string",
+ "locationName": "nodes"
+ },
+ "State": {
+ "shape": "ChannelPlacementGroupState",
+ "locationName": "state"
}
}
},
- "ListCloudWatchAlarmTemplatesResponseContent": {
+ "DeleteClusterRequest": {
"type": "structure",
"members": {
- "CloudWatchAlarmTemplates": {
- "shape": "__listOfCloudWatchAlarmTemplateSummary",
- "locationName": "cloudWatchAlarmTemplates"
- },
- "NextToken": {
- "shape": "__stringMin1Max2048",
- "locationName": "nextToken"
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
}
},
"required": [
- "CloudWatchAlarmTemplates"
+ "ClusterId"
]
},
- "ListEventBridgeRuleTemplateGroupsRequest": {
+ "DeleteClusterResponse": {
"type": "structure",
"members": {
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "NextToken": {
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
+ },
+ "ClusterType": {
+ "shape": "ClusterType",
+ "locationName": "clusterType"
+ },
+ "Id": {
"shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
+ "locationName": "id"
},
- "SignalMapIdentifier": {
+ "InstanceRoleArn": {
"shape": "__string",
- "location": "querystring",
- "locationName": "signalMapIdentifier"
- }
- }
- },
- "ListEventBridgeRuleTemplateGroupsResponse": {
- "type": "structure",
- "members": {
- "EventBridgeRuleTemplateGroups": {
- "shape": "__listOfEventBridgeRuleTemplateGroupSummary",
- "locationName": "eventBridgeRuleTemplateGroups"
+ "locationName": "instanceRoleArn"
},
- "NextToken": {
- "shape": "__stringMin1Max2048",
- "locationName": "nextToken"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "NetworkSettings": {
+ "shape": "ClusterNetworkSettings",
+ "locationName": "networkSettings"
+ },
+ "State": {
+ "shape": "ClusterState",
+ "locationName": "state"
}
}
},
- "ListEventBridgeRuleTemplateGroupsResponseContent": {
+ "DeleteNetworkRequest": {
"type": "structure",
"members": {
- "EventBridgeRuleTemplateGroups": {
- "shape": "__listOfEventBridgeRuleTemplateGroupSummary",
- "locationName": "eventBridgeRuleTemplateGroups"
- },
- "NextToken": {
- "shape": "__stringMin1Max2048",
- "locationName": "nextToken"
+ "NetworkId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "networkId"
}
},
"required": [
- "EventBridgeRuleTemplateGroups"
+ "NetworkId"
]
},
- "ListEventBridgeRuleTemplatesRequest": {
+ "DeleteNetworkResponse": {
"type": "structure",
"members": {
- "GroupIdentifier": {
+ "Arn": {
"shape": "__string",
- "location": "querystring",
- "locationName": "groupIdentifier"
+ "locationName": "arn"
},
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "AssociatedClusterIds": {
+ "shape": "__listOf__string",
+ "locationName": "associatedClusterIds"
},
- "NextToken": {
+ "Id": {
"shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
+ "locationName": "id"
},
- "SignalMapIdentifier": {
+ "IpPools": {
+ "shape": "__listOfIpPool",
+ "locationName": "ipPools"
+ },
+ "Name": {
"shape": "__string",
- "location": "querystring",
- "locationName": "signalMapIdentifier"
- }
- }
- },
- "ListEventBridgeRuleTemplatesResponse": {
- "type": "structure",
- "members": {
- "EventBridgeRuleTemplates": {
- "shape": "__listOfEventBridgeRuleTemplateSummary",
- "locationName": "eventBridgeRuleTemplates"
+ "locationName": "name"
},
- "NextToken": {
- "shape": "__stringMin1Max2048",
- "locationName": "nextToken"
+ "Routes": {
+ "shape": "__listOfRoute",
+ "locationName": "routes"
+ },
+ "State": {
+ "shape": "NetworkState",
+ "locationName": "state"
}
}
},
- "ListEventBridgeRuleTemplatesResponseContent": {
+ "DeleteNodeRequest": {
"type": "structure",
"members": {
- "EventBridgeRuleTemplates": {
- "shape": "__listOfEventBridgeRuleTemplateSummary",
- "locationName": "eventBridgeRuleTemplates"
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
},
- "NextToken": {
- "shape": "__stringMin1Max2048",
- "locationName": "nextToken"
+ "NodeId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "nodeId"
}
},
"required": [
- "EventBridgeRuleTemplates"
+ "NodeId",
+ "ClusterId"
]
},
- "ListSignalMapsRequest": {
+ "DeleteNodeResponse": {
"type": "structure",
"members": {
- "CloudWatchAlarmTemplateGroupIdentifier": {
+ "Arn": {
"shape": "__string",
- "location": "querystring",
- "locationName": "cloudWatchAlarmTemplateGroupIdentifier"
+ "locationName": "arn"
},
- "EventBridgeRuleTemplateGroupIdentifier": {
+ "ChannelPlacementGroups": {
+ "shape": "__listOf__string",
+ "locationName": "channelPlacementGroups"
+ },
+ "ClusterId": {
"shape": "__string",
- "location": "querystring",
- "locationName": "eventBridgeRuleTemplateGroupIdentifier"
+ "locationName": "clusterId"
},
- "MaxResults": {
- "shape": "MaxResults",
- "location": "querystring",
- "locationName": "maxResults"
+ "ConnectionState": {
+ "shape": "NodeConnectionState",
+ "locationName": "connectionState"
},
- "NextToken": {
+ "Id": {
"shape": "__string",
- "location": "querystring",
- "locationName": "nextToken"
+ "locationName": "id"
+ },
+ "InstanceArn": {
+ "shape": "__string",
+ "locationName": "instanceArn"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "NodeInterfaceMappings": {
+ "shape": "__listOfNodeInterfaceMapping",
+ "locationName": "nodeInterfaceMappings"
+ },
+ "Role": {
+ "shape": "NodeRole",
+ "locationName": "role"
+ },
+ "State": {
+ "shape": "NodeState",
+ "locationName": "state"
}
}
},
- "ListSignalMapsResponse": {
+ "DescribeAnywhereSettings": {
"type": "structure",
"members": {
- "NextToken": {
- "shape": "__stringMin1Max2048",
- "locationName": "nextToken"
+ "ChannelPlacementGroupId": {
+ "shape": "__string",
+ "locationName": "channelPlacementGroupId"
},
- "SignalMaps": {
- "shape": "__listOfSignalMapSummary",
- "locationName": "signalMaps"
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
}
}
},
- "ListSignalMapsResponseContent": {
+ "DescribeChannelPlacementGroupRequest": {
"type": "structure",
"members": {
- "NextToken": {
- "shape": "__stringMin1Max2048",
- "locationName": "nextToken"
+ "ChannelPlacementGroupId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "channelPlacementGroupId"
},
- "SignalMaps": {
- "shape": "__listOfSignalMapSummary",
- "locationName": "signalMaps"
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
}
},
"required": [
- "SignalMaps"
+ "ClusterId",
+ "ChannelPlacementGroupId"
]
},
- "MediaResource": {
+ "DescribeChannelPlacementGroupResponse": {
"type": "structure",
"members": {
- "Destinations": {
- "shape": "__listOfMediaResourceNeighbor",
- "locationName": "destinations"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "Channels": {
+ "shape": "__listOf__string",
+ "locationName": "channels"
+ },
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
"Name": {
- "shape": "__stringMin1Max256",
+ "shape": "__string",
"locationName": "name"
},
- "Sources": {
- "shape": "__listOfMediaResourceNeighbor",
- "locationName": "sources"
+ "Nodes": {
+ "shape": "__listOf__string",
+ "locationName": "nodes"
+ },
+ "State": {
+ "shape": "ChannelPlacementGroupState",
+ "locationName": "state"
}
}
},
- "MediaResourceMap": {
- "type": "map",
- "key": {
- "shape": "__string"
- },
- "value": {
- "shape": "MediaResource"
+ "DescribeChannelPlacementGroupResult": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
+ },
+ "Channels": {
+ "shape": "__listOf__string",
+ "locationName": "channels"
+ },
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "Nodes": {
+ "shape": "__listOf__string",
+ "locationName": "nodes"
+ },
+ "State": {
+ "shape": "ChannelPlacementGroupState",
+ "locationName": "state"
+ }
}
},
- "MediaResourceNeighbor": {
+ "DescribeChannelPlacementGroupSummary": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringMin1Max2048PatternArn",
+ "shape": "__string",
"locationName": "arn"
},
+ "Channels": {
+ "shape": "__listOf__string",
+ "locationName": "channels"
+ },
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
"Name": {
- "shape": "__stringMin1Max256",
+ "shape": "__string",
"locationName": "name"
+ },
+ "Nodes": {
+ "shape": "__listOf__string",
+ "locationName": "nodes"
+ },
+ "State": {
+ "shape": "ChannelPlacementGroupState",
+ "locationName": "state"
+ }
+ }
+ },
+ "DescribeClusterRequest": {
+ "type": "structure",
+ "members": {
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
}
},
"required": [
- "Arn"
+ "ClusterId"
]
},
- "MonitorDeployment": {
+ "DescribeClusterResponse": {
"type": "structure",
"members": {
- "DetailsUri": {
- "shape": "__stringMin1Max2048",
- "locationName": "detailsUri"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "ErrorMessage": {
- "shape": "__stringMin1Max2048",
- "locationName": "errorMessage"
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
},
- "Status": {
- "shape": "SignalMapMonitorDeploymentStatus",
- "locationName": "status"
+ "ClusterType": {
+ "shape": "ClusterType",
+ "locationName": "clusterType"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "InstanceRoleArn": {
+ "shape": "__string",
+ "locationName": "instanceRoleArn"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "NetworkSettings": {
+ "shape": "ClusterNetworkSettings",
+ "locationName": "networkSettings"
+ },
+ "State": {
+ "shape": "ClusterState",
+ "locationName": "state"
}
- },
- "required": [
- "Status"
- ]
+ }
},
- "NotFoundExceptionResponseContent": {
+ "DescribeClusterResult": {
"type": "structure",
"members": {
- "Message": {
+ "Arn": {
"shape": "__string",
- "locationName": "message"
+ "locationName": "arn"
+ },
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
+ },
+ "ClusterType": {
+ "shape": "ClusterType",
+ "locationName": "clusterType"
+ },
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
+ },
+ "InstanceRoleArn": {
+ "shape": "__string",
+ "locationName": "instanceRoleArn"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
+ },
+ "NetworkSettings": {
+ "shape": "ClusterNetworkSettings",
+ "locationName": "networkSettings"
+ },
+ "State": {
+ "shape": "ClusterState",
+ "locationName": "state"
}
}
},
- "SignalMapMonitorDeploymentStatus": {
- "type": "string",
- "enum": [
- "NOT_DEPLOYED",
- "DRY_RUN_DEPLOYMENT_COMPLETE",
- "DRY_RUN_DEPLOYMENT_FAILED",
- "DRY_RUN_DEPLOYMENT_IN_PROGRESS",
- "DEPLOYMENT_COMPLETE",
- "DEPLOYMENT_FAILED",
- "DEPLOYMENT_IN_PROGRESS",
- "DELETE_COMPLETE",
- "DELETE_FAILED",
- "DELETE_IN_PROGRESS"
- ]
- },
- "SignalMapStatus": {
- "type": "string",
- "enum": [
- "CREATE_IN_PROGRESS",
- "CREATE_COMPLETE",
- "CREATE_FAILED",
- "UPDATE_IN_PROGRESS",
- "UPDATE_COMPLETE",
- "UPDATE_REVERTED",
- "UPDATE_FAILED",
- "READY",
- "NOT_READY"
- ]
- },
- "SignalMapSummary": {
+ "DescribeClusterSummary": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveSignalMap",
+ "shape": "__string",
"locationName": "arn"
},
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
+ },
+ "ClusterType": {
+ "shape": "ClusterType",
+ "locationName": "clusterType"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
- "MonitorDeploymentStatus": {
- "shape": "SignalMapMonitorDeploymentStatus",
- "locationName": "monitorDeploymentStatus"
+ "InstanceRoleArn": {
+ "shape": "__string",
+ "locationName": "instanceRoleArn"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Status": {
- "shape": "SignalMapStatus",
- "locationName": "status"
+ "NetworkSettings": {
+ "shape": "ClusterNetworkSettings",
+ "locationName": "networkSettings"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "State": {
+ "shape": "ClusterState",
+ "locationName": "state"
}
- },
- "required": [
- "Status",
- "MonitorDeploymentStatus",
- "CreatedAt",
- "Id",
- "Arn",
- "Name"
- ]
+ }
},
- "StartDeleteMonitorDeploymentRequest": {
+ "DescribeNetworkRequest": {
"type": "structure",
"members": {
- "Identifier": {
+ "NetworkId": {
"shape": "__string",
"location": "uri",
- "locationName": "identifier"
+ "locationName": "networkId"
}
},
"required": [
- "Identifier"
+ "NetworkId"
]
},
- "StartDeleteMonitorDeploymentResponse": {
+ "DescribeNetworkResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveSignalMap",
+ "shape": "__string",
"locationName": "arn"
},
- "CloudWatchAlarmTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "cloudWatchAlarmTemplateGroupIds"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
- },
- "ErrorMessage": {
- "shape": "__stringMin1Max2048",
- "locationName": "errorMessage"
- },
- "EventBridgeRuleTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "eventBridgeRuleTemplateGroupIds"
- },
- "FailedMediaResourceMap": {
- "shape": "FailedMediaResourceMap",
- "locationName": "failedMediaResourceMap"
+ "AssociatedClusterIds": {
+ "shape": "__listOf__string",
+ "locationName": "associatedClusterIds"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "LastDiscoveredAt": {
- "shape": "__timestampIso8601",
- "locationName": "lastDiscoveredAt"
- },
- "LastSuccessfulMonitorDeployment": {
- "shape": "SuccessfulMonitorDeployment",
- "locationName": "lastSuccessfulMonitorDeployment"
- },
- "MediaResourceMap": {
- "shape": "MediaResourceMap",
- "locationName": "mediaResourceMap"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
- "MonitorChangesPendingDeployment": {
- "shape": "__boolean",
- "locationName": "monitorChangesPendingDeployment"
- },
- "MonitorDeployment": {
- "shape": "MonitorDeployment",
- "locationName": "monitorDeployment"
+ "IpPools": {
+ "shape": "__listOfIpPool",
+ "locationName": "ipPools"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Status": {
- "shape": "SignalMapStatus",
- "locationName": "status"
+ "Routes": {
+ "shape": "__listOfRoute",
+ "locationName": "routes"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "State": {
+ "shape": "NetworkState",
+ "locationName": "state"
}
}
},
- "StartDeleteMonitorDeploymentResponseContent": {
+ "DescribeNetworkResult": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveSignalMap",
+ "shape": "__string",
"locationName": "arn"
},
- "CloudWatchAlarmTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "cloudWatchAlarmTemplateGroupIds"
+ "AssociatedClusterIds": {
+ "shape": "__listOf__string",
+ "locationName": "associatedClusterIds"
},
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "IpPools": {
+ "shape": "__listOfIpPool",
+ "locationName": "ipPools"
},
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "ErrorMessage": {
- "shape": "__stringMin1Max2048",
- "locationName": "errorMessage"
+ "Routes": {
+ "shape": "__listOfRoute",
+ "locationName": "routes"
},
- "EventBridgeRuleTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "eventBridgeRuleTemplateGroupIds"
+ "State": {
+ "shape": "NetworkState",
+ "locationName": "state"
+ }
+ }
+ },
+ "DescribeNetworkSummary": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "FailedMediaResourceMap": {
- "shape": "FailedMediaResourceMap",
- "locationName": "failedMediaResourceMap"
+ "AssociatedClusterIds": {
+ "shape": "__listOf__string",
+ "locationName": "associatedClusterIds"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "LastDiscoveredAt": {
- "shape": "__timestampIso8601",
- "locationName": "lastDiscoveredAt"
- },
- "LastSuccessfulMonitorDeployment": {
- "shape": "SuccessfulMonitorDeployment",
- "locationName": "lastSuccessfulMonitorDeployment"
- },
- "MediaResourceMap": {
- "shape": "MediaResourceMap",
- "locationName": "mediaResourceMap"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
- "MonitorChangesPendingDeployment": {
- "shape": "__boolean",
- "locationName": "monitorChangesPendingDeployment"
- },
- "MonitorDeployment": {
- "shape": "MonitorDeployment",
- "locationName": "monitorDeployment"
+ "IpPools": {
+ "shape": "__listOfIpPool",
+ "locationName": "ipPools"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Status": {
- "shape": "SignalMapStatus",
- "locationName": "status"
+ "Routes": {
+ "shape": "__listOfRoute",
+ "locationName": "routes"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "State": {
+ "shape": "NetworkState",
+ "locationName": "state"
}
- },
- "required": [
- "Status",
- "CreatedAt",
- "Name",
- "Id",
- "Arn",
- "DiscoveryEntryPointArn",
- "MonitorChangesPendingDeployment"
- ]
+ }
},
- "StartMonitorDeploymentRequest": {
+ "DescribeNodeRequest": {
"type": "structure",
"members": {
- "DryRun": {
- "shape": "__boolean",
- "locationName": "dryRun"
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
},
- "Identifier": {
+ "NodeId": {
"shape": "__string",
"location": "uri",
- "locationName": "identifier"
+ "locationName": "nodeId"
}
},
"required": [
- "Identifier"
+ "NodeId",
+ "ClusterId"
]
},
- "StartMonitorDeploymentRequestContent": {
- "type": "structure",
- "members": {
- "DryRun": {
- "shape": "__boolean",
- "locationName": "dryRun"
- }
- }
- },
- "StartMonitorDeploymentResponse": {
+ "DescribeNodeResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveSignalMap",
+ "shape": "__string",
"locationName": "arn"
},
- "CloudWatchAlarmTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "cloudWatchAlarmTemplateGroupIds"
+ "ChannelPlacementGroups": {
+ "shape": "__listOf__string",
+ "locationName": "channelPlacementGroups"
},
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
},
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "ConnectionState": {
+ "shape": "NodeConnectionState",
+ "locationName": "connectionState"
},
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
- "ErrorMessage": {
- "shape": "__stringMin1Max2048",
- "locationName": "errorMessage"
+ "InstanceArn": {
+ "shape": "__string",
+ "locationName": "instanceArn"
},
- "EventBridgeRuleTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "eventBridgeRuleTemplateGroupIds"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "FailedMediaResourceMap": {
- "shape": "FailedMediaResourceMap",
- "locationName": "failedMediaResourceMap"
+ "NodeInterfaceMappings": {
+ "shape": "__listOfNodeInterfaceMapping",
+ "locationName": "nodeInterfaceMappings"
},
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
+ "Role": {
+ "shape": "NodeRole",
+ "locationName": "role"
},
- "LastDiscoveredAt": {
- "shape": "__timestampIso8601",
- "locationName": "lastDiscoveredAt"
+ "State": {
+ "shape": "NodeState",
+ "locationName": "state"
+ }
+ }
+ },
+ "DescribeNodeResult": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "LastSuccessfulMonitorDeployment": {
- "shape": "SuccessfulMonitorDeployment",
- "locationName": "lastSuccessfulMonitorDeployment"
+ "ChannelPlacementGroups": {
+ "shape": "__listOf__string",
+ "locationName": "channelPlacementGroups"
},
- "MediaResourceMap": {
- "shape": "MediaResourceMap",
- "locationName": "mediaResourceMap"
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "ConnectionState": {
+ "shape": "NodeConnectionState",
+ "locationName": "connectionState"
},
- "MonitorChangesPendingDeployment": {
- "shape": "__boolean",
- "locationName": "monitorChangesPendingDeployment"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
- "MonitorDeployment": {
- "shape": "MonitorDeployment",
- "locationName": "monitorDeployment"
+ "InstanceArn": {
+ "shape": "__string",
+ "locationName": "instanceArn"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Status": {
- "shape": "SignalMapStatus",
- "locationName": "status"
+ "NodeInterfaceMappings": {
+ "shape": "__listOfNodeInterfaceMapping",
+ "locationName": "nodeInterfaceMappings"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Role": {
+ "shape": "NodeRole",
+ "locationName": "role"
+ },
+ "State": {
+ "shape": "NodeState",
+ "locationName": "state"
}
}
},
- "StartMonitorDeploymentResponseContent": {
+ "DescribeNodeSummary": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveSignalMap",
+ "shape": "__string",
"locationName": "arn"
},
- "CloudWatchAlarmTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "cloudWatchAlarmTemplateGroupIds"
+ "ChannelPlacementGroups": {
+ "shape": "__listOf__string",
+ "locationName": "channelPlacementGroups"
},
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
},
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "ConnectionState": {
+ "shape": "NodeConnectionState",
+ "locationName": "connectionState"
},
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
- "ErrorMessage": {
- "shape": "__stringMin1Max2048",
- "locationName": "errorMessage"
+ "InstanceArn": {
+ "shape": "__string",
+ "locationName": "instanceArn"
},
- "EventBridgeRuleTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "eventBridgeRuleTemplateGroupIds"
+ "ManagedInstanceId": {
+ "shape": "__string",
+ "locationName": "managedInstanceId"
},
- "FailedMediaResourceMap": {
- "shape": "FailedMediaResourceMap",
- "locationName": "failedMediaResourceMap"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
+ "NodeInterfaceMappings": {
+ "shape": "__listOfNodeInterfaceMapping",
+ "locationName": "nodeInterfaceMappings"
},
- "LastDiscoveredAt": {
- "shape": "__timestampIso8601",
- "locationName": "lastDiscoveredAt"
+ "Role": {
+ "shape": "NodeRole",
+ "locationName": "role"
},
- "LastSuccessfulMonitorDeployment": {
- "shape": "SuccessfulMonitorDeployment",
- "locationName": "lastSuccessfulMonitorDeployment"
+ "State": {
+ "shape": "NodeState",
+ "locationName": "state"
+ }
+ }
+ },
+ "InputDestinationRoute": {
+ "type": "structure",
+ "members": {
+ "Cidr": {
+ "shape": "__string",
+ "locationName": "cidr"
},
- "MediaResourceMap": {
- "shape": "MediaResourceMap",
- "locationName": "mediaResourceMap"
+ "Gateway": {
+ "shape": "__string",
+ "locationName": "gateway"
+ }
+ }
+ },
+ "InputNetworkLocation": {
+ "type": "string",
+ "enum": [
+ "AWS",
+ "ON_PREMISES"
+ ]
+ },
+ "InputRequestDestinationRoute": {
+ "type": "structure",
+ "members": {
+ "Cidr": {
+ "shape": "__string",
+ "locationName": "cidr"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "Gateway": {
+ "shape": "__string",
+ "locationName": "gateway"
+ }
+ }
+ },
+ "InterfaceMapping": {
+ "type": "structure",
+ "members": {
+ "LogicalInterfaceName": {
+ "shape": "__string",
+ "locationName": "logicalInterfaceName"
},
- "MonitorChangesPendingDeployment": {
- "shape": "__boolean",
- "locationName": "monitorChangesPendingDeployment"
+ "NetworkId": {
+ "shape": "__string",
+ "locationName": "networkId"
+ }
+ }
+ },
+ "InterfaceMappingCreateRequest": {
+ "type": "structure",
+ "members": {
+ "LogicalInterfaceName": {
+ "shape": "__string",
+ "locationName": "logicalInterfaceName"
},
- "MonitorDeployment": {
- "shape": "MonitorDeployment",
- "locationName": "monitorDeployment"
+ "NetworkId": {
+ "shape": "__string",
+ "locationName": "networkId"
+ }
+ }
+ },
+ "InterfaceMappingUpdateRequest": {
+ "type": "structure",
+ "members": {
+ "LogicalInterfaceName": {
+ "shape": "__string",
+ "locationName": "logicalInterfaceName"
},
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "NetworkId": {
+ "shape": "__string",
+ "locationName": "networkId"
+ }
+ }
+ },
+ "IpPool": {
+ "type": "structure",
+ "members": {
+ "Cidr": {
+ "shape": "__string",
+ "locationName": "cidr"
+ }
+ }
+ },
+ "IpPoolCreateRequest": {
+ "type": "structure",
+ "members": {
+ "Cidr": {
+ "shape": "__string",
+ "locationName": "cidr"
+ }
+ }
+ },
+ "IpPoolUpdateRequest": {
+ "type": "structure",
+ "members": {
+ "Cidr": {
+ "shape": "__string",
+ "locationName": "cidr"
+ }
+ }
+ },
+ "ListChannelPlacementGroupsRequest": {
+ "type": "structure",
+ "members": {
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
},
- "Status": {
- "shape": "SignalMapStatus",
- "locationName": "status"
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
}
},
"required": [
- "Status",
- "CreatedAt",
- "Name",
- "Id",
- "Arn",
- "DiscoveryEntryPointArn",
- "MonitorChangesPendingDeployment"
+ "ClusterId"
]
},
- "StartUpdateSignalMapRequest": {
+ "ListChannelPlacementGroupsResponse": {
+ "type": "structure",
+ "members": {
+ "ChannelPlacementGroups": {
+ "shape": "__listOfDescribeChannelPlacementGroupSummary",
+ "locationName": "channelPlacementGroups"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "ListChannelPlacementGroupsResult": {
+ "type": "structure",
+ "members": {
+ "ChannelPlacementGroups": {
+ "shape": "__listOfDescribeChannelPlacementGroupSummary",
+ "locationName": "channelPlacementGroups"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "ListClustersRequest": {
+ "type": "structure",
+ "members": {
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "ListClustersResponse": {
+ "type": "structure",
+ "members": {
+ "Clusters": {
+ "shape": "__listOfDescribeClusterSummary",
+ "locationName": "clusters"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "ListClustersResult": {
+ "type": "structure",
+ "members": {
+ "Clusters": {
+ "shape": "__listOfDescribeClusterSummary",
+ "locationName": "clusters"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "ListNetworksRequest": {
"type": "structure",
"members": {
- "CloudWatchAlarmTemplateGroupIdentifiers": {
- "shape": "__listOf__stringPatternS",
- "locationName": "cloudWatchAlarmTemplateGroupIdentifiers"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
},
- "EventBridgeRuleTemplateGroupIdentifiers": {
- "shape": "__listOf__stringPatternS",
- "locationName": "eventBridgeRuleTemplateGroupIdentifiers"
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "ListNetworksResponse": {
+ "type": "structure",
+ "members": {
+ "Networks": {
+ "shape": "__listOfDescribeNetworkSummary",
+ "locationName": "networks"
},
- "ForceRediscovery": {
- "shape": "__boolean",
- "locationName": "forceRediscovery"
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "ListNetworksResult": {
+ "type": "structure",
+ "members": {
+ "Networks": {
+ "shape": "__listOfDescribeNetworkSummary",
+ "locationName": "networks"
},
- "Identifier": {
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
+ }
+ }
+ },
+ "ListNodesRequest": {
+ "type": "structure",
+ "members": {
+ "ClusterId": {
"shape": "__string",
"location": "uri",
- "locationName": "identifier"
+ "locationName": "clusterId"
},
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "MaxResults": {
+ "shape": "MaxResults",
+ "location": "querystring",
+ "locationName": "maxResults"
+ },
+ "NextToken": {
+ "shape": "__string",
+ "location": "querystring",
+ "locationName": "nextToken"
}
},
"required": [
- "Identifier"
+ "ClusterId"
]
},
- "StartUpdateSignalMapRequestContent": {
+ "ListNodesResponse": {
"type": "structure",
"members": {
- "CloudWatchAlarmTemplateGroupIdentifiers": {
- "shape": "__listOf__stringPatternS",
- "locationName": "cloudWatchAlarmTemplateGroupIdentifiers"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
- },
- "EventBridgeRuleTemplateGroupIdentifiers": {
- "shape": "__listOf__stringPatternS",
- "locationName": "eventBridgeRuleTemplateGroupIdentifiers"
- },
- "ForceRediscovery": {
- "shape": "__boolean",
- "locationName": "forceRediscovery"
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
},
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "Nodes": {
+ "shape": "__listOfDescribeNodeSummary",
+ "locationName": "nodes"
}
}
},
- "StartUpdateSignalMapResponse": {
+ "ListNodesResult": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveSignalMap",
- "locationName": "arn"
- },
- "CloudWatchAlarmTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "cloudWatchAlarmTemplateGroupIds"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
- },
- "ErrorMessage": {
- "shape": "__stringMin1Max2048",
- "locationName": "errorMessage"
- },
- "EventBridgeRuleTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "eventBridgeRuleTemplateGroupIds"
- },
- "FailedMediaResourceMap": {
- "shape": "FailedMediaResourceMap",
- "locationName": "failedMediaResourceMap"
- },
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
- },
- "LastDiscoveredAt": {
- "shape": "__timestampIso8601",
- "locationName": "lastDiscoveredAt"
- },
- "LastSuccessfulMonitorDeployment": {
- "shape": "SuccessfulMonitorDeployment",
- "locationName": "lastSuccessfulMonitorDeployment"
- },
- "MediaResourceMap": {
- "shape": "MediaResourceMap",
- "locationName": "mediaResourceMap"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
- "MonitorChangesPendingDeployment": {
- "shape": "__boolean",
- "locationName": "monitorChangesPendingDeployment"
- },
- "MonitorDeployment": {
- "shape": "MonitorDeployment",
- "locationName": "monitorDeployment"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
- },
- "Status": {
- "shape": "SignalMapStatus",
- "locationName": "status"
+ "NextToken": {
+ "shape": "__string",
+ "locationName": "nextToken"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Nodes": {
+ "shape": "__listOfDescribeNodeSummary",
+ "locationName": "nodes"
}
}
},
- "StartUpdateSignalMapResponseContent": {
+ "MulticastInputSettings": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveSignalMap",
- "locationName": "arn"
- },
- "CloudWatchAlarmTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "cloudWatchAlarmTemplateGroupIds"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "DiscoveryEntryPointArn": {
- "shape": "__stringMin1Max2048",
- "locationName": "discoveryEntryPointArn"
- },
- "ErrorMessage": {
- "shape": "__stringMin1Max2048",
- "locationName": "errorMessage"
- },
- "EventBridgeRuleTemplateGroupIds": {
- "shape": "__listOf__stringMin7Max11PatternAws097",
- "locationName": "eventBridgeRuleTemplateGroupIds"
- },
- "FailedMediaResourceMap": {
- "shape": "FailedMediaResourceMap",
- "locationName": "failedMediaResourceMap"
- },
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
- },
- "LastDiscoveredAt": {
- "shape": "__timestampIso8601",
- "locationName": "lastDiscoveredAt"
- },
- "LastSuccessfulMonitorDeployment": {
- "shape": "SuccessfulMonitorDeployment",
- "locationName": "lastSuccessfulMonitorDeployment"
- },
- "MediaResourceMap": {
- "shape": "MediaResourceMap",
- "locationName": "mediaResourceMap"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
- "MonitorChangesPendingDeployment": {
- "shape": "__boolean",
- "locationName": "monitorChangesPendingDeployment"
- },
- "MonitorDeployment": {
- "shape": "MonitorDeployment",
- "locationName": "monitorDeployment"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
- },
- "Status": {
- "shape": "SignalMapStatus",
- "locationName": "status"
+ "SourceIpAddress": {
+ "shape": "__string",
+ "locationName": "sourceIpAddress"
+ }
+ }
+ },
+ "MulticastSettings": {
+ "type": "structure",
+ "members": {
+ "Sources": {
+ "shape": "__listOfMulticastSource",
+ "locationName": "sources"
+ }
+ }
+ },
+ "MulticastSettingsCreateRequest": {
+ "type": "structure",
+ "members": {
+ "Sources": {
+ "shape": "__listOfMulticastSourceCreateRequest",
+ "locationName": "sources"
+ }
+ }
+ },
+ "MulticastSettingsUpdateRequest": {
+ "type": "structure",
+ "members": {
+ "Sources": {
+ "shape": "__listOfMulticastSourceUpdateRequest",
+ "locationName": "sources"
+ }
+ }
+ },
+ "MulticastSource": {
+ "type": "structure",
+ "members": {
+ "SourceIp": {
+ "shape": "__string",
+ "locationName": "sourceIp"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Url": {
+ "shape": "__string",
+ "locationName": "url"
}
},
"required": [
- "Status",
- "CreatedAt",
- "Name",
- "Id",
- "Arn",
- "DiscoveryEntryPointArn",
- "MonitorChangesPendingDeployment"
+ "Url"
]
},
- "SuccessfulMonitorDeployment": {
+ "MulticastSourceCreateRequest": {
"type": "structure",
"members": {
- "DetailsUri": {
- "shape": "__stringMin1Max2048",
- "locationName": "detailsUri"
+ "SourceIp": {
+ "shape": "__string",
+ "locationName": "sourceIp"
},
- "Status": {
- "shape": "SignalMapMonitorDeploymentStatus",
- "locationName": "status"
+ "Url": {
+ "shape": "__string",
+ "locationName": "url"
}
},
"required": [
- "DetailsUri",
- "Status"
+ "Url"
]
},
- "TagMap": {
- "type": "map",
- "key": {
- "shape": "__string"
+ "MulticastSourceUpdateRequest": {
+ "type": "structure",
+ "members": {
+ "SourceIp": {
+ "shape": "__string",
+ "locationName": "sourceIp"
+ },
+ "Url": {
+ "shape": "__string",
+ "locationName": "url"
+ }
},
- "value": {
- "shape": "__string"
- }
+ "required": [
+ "Url"
+ ]
},
- "TooManyRequestsExceptionResponseContent": {
+ "NetworkInterfaceMode": {
+ "type": "string",
+ "enum": [
+ "NAT",
+ "BRIDGE"
+ ]
+ },
+ "NetworkState": {
+ "type": "string",
+ "enum": [
+ "CREATING",
+ "CREATE_FAILED",
+ "ACTIVE",
+ "DELETING",
+ "IDLE",
+ "IN_USE",
+ "UPDATING",
+ "DELETE_FAILED",
+ "DELETED"
+ ]
+ },
+ "NodeConfigurationValidationError": {
"type": "structure",
"members": {
"Message": {
"shape": "__string",
"locationName": "message"
+ },
+ "ValidationErrors": {
+ "shape": "__listOfValidationError",
+ "locationName": "validationErrors"
}
}
},
- "UpdateCloudWatchAlarmTemplateGroupRequest": {
+ "NodeConnectionState": {
+ "type": "string",
+ "enum": [
+ "CONNECTED",
+ "DISCONNECTED"
+ ]
+ },
+ "NodeInterfaceMapping": {
"type": "structure",
"members": {
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "LogicalInterfaceName": {
+ "shape": "__string",
+ "locationName": "logicalInterfaceName"
},
- "Identifier": {
+ "NetworkInterfaceMode": {
+ "shape": "NetworkInterfaceMode",
+ "locationName": "networkInterfaceMode"
+ },
+ "PhysicalInterfaceName": {
"shape": "__string",
- "location": "uri",
- "locationName": "identifier"
+ "locationName": "physicalInterfaceName"
}
- },
- "required": [
- "Identifier"
- ]
+ }
},
- "UpdateCloudWatchAlarmTemplateGroupRequestContent": {
+ "NodeInterfaceMappingCreateRequest": {
"type": "structure",
"members": {
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "LogicalInterfaceName": {
+ "shape": "__string",
+ "locationName": "logicalInterfaceName"
+ },
+ "NetworkInterfaceMode": {
+ "shape": "NetworkInterfaceMode",
+ "locationName": "networkInterfaceMode"
+ },
+ "PhysicalInterfaceName": {
+ "shape": "__string",
+ "locationName": "physicalInterfaceName"
}
}
},
- "UpdateCloudWatchAlarmTemplateGroupResponse": {
+ "NodeRole": {
+ "type": "string",
+ "enum": [
+ "BACKUP",
+ "ACTIVE"
+ ]
+ },
+ "NodeState": {
+ "type": "string",
+ "enum": [
+ "CREATED",
+ "REGISTERING",
+ "READY_TO_ACTIVATE",
+ "REGISTRATION_FAILED",
+ "ACTIVATION_FAILED",
+ "ACTIVE",
+ "READY",
+ "IN_USE",
+ "DEREGISTERING",
+ "DRAINING",
+ "DEREGISTRATION_FAILED",
+ "DEREGISTERED"
+ ]
+ },
+ "Route": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
- "locationName": "arn"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "Cidr": {
+ "shape": "__string",
+ "locationName": "cidr"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Gateway": {
+ "shape": "__string",
+ "locationName": "gateway"
}
}
},
- "UpdateCloudWatchAlarmTemplateGroupResponseContent": {
+ "RouteCreateRequest": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup",
- "locationName": "arn"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "Id": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "id"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "Cidr": {
+ "shape": "__string",
+ "locationName": "cidr"
},
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
+ "Gateway": {
+ "shape": "__string",
+ "locationName": "gateway"
+ }
+ }
+ },
+ "RouteUpdateRequest": {
+ "type": "structure",
+ "members": {
+ "Cidr": {
+ "shape": "__string",
+ "locationName": "cidr"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Gateway": {
+ "shape": "__string",
+ "locationName": "gateway"
}
- },
- "required": [
- "CreatedAt",
- "Id",
- "Arn",
- "Name"
+ }
+ },
+ "SrtEncryptionType": {
+ "type": "string",
+ "enum": [
+ "AES128",
+ "AES192",
+ "AES256"
]
},
- "UpdateCloudWatchAlarmTemplateRequest": {
+ "SrtGroupSettings": {
"type": "structure",
"members": {
- "ComparisonOperator": {
- "shape": "CloudWatchAlarmTemplateComparisonOperator",
- "locationName": "comparisonOperator"
+ "InputLossAction": {
+ "shape": "InputLossActionForUdpOut",
+ "locationName": "inputLossAction"
+ }
+ }
+ },
+ "SrtOutputDestinationSettings": {
+ "type": "structure",
+ "members": {
+ "EncryptionPassphraseSecretArn": {
+ "shape": "__string",
+ "locationName": "encryptionPassphraseSecretArn"
},
- "DatapointsToAlarm": {
- "shape": "__integerMin1",
- "locationName": "datapointsToAlarm"
+ "StreamId": {
+ "shape": "__string",
+ "locationName": "streamId"
},
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "Url": {
+ "shape": "__string",
+ "locationName": "url"
+ }
+ }
+ },
+ "SrtOutputSettings": {
+ "type": "structure",
+ "members": {
+ "BufferMsec": {
+ "shape": "__integerMin0Max10000",
+ "locationName": "bufferMsec"
},
- "EvaluationPeriods": {
- "shape": "__integerMin1",
- "locationName": "evaluationPeriods"
+ "ContainerSettings": {
+ "shape": "UdpContainerSettings",
+ "locationName": "containerSettings"
},
- "GroupIdentifier": {
- "shape": "__stringPatternS",
- "locationName": "groupIdentifier"
+ "Destination": {
+ "shape": "OutputLocationRef",
+ "locationName": "destination"
},
- "Identifier": {
+ "EncryptionType": {
+ "shape": "SrtEncryptionType",
+ "locationName": "encryptionType"
+ },
+ "Latency": {
+ "shape": "__integerMin40Max16000",
+ "locationName": "latency"
+ }
+ },
+ "required": [
+ "Destination",
+ "ContainerSettings"
+ ]
+ },
+ "UpdateChannelPlacementGroupRequest": {
+ "type": "structure",
+ "members": {
+ "ChannelPlacementGroupId": {
"shape": "__string",
"location": "uri",
- "locationName": "identifier"
+ "locationName": "channelPlacementGroupId"
},
- "MetricName": {
- "shape": "__stringMax64",
- "locationName": "metricName"
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Period": {
- "shape": "__integerMin10Max86400",
- "locationName": "period"
- },
- "Statistic": {
- "shape": "CloudWatchAlarmTemplateStatistic",
- "locationName": "statistic"
- },
- "TargetResourceType": {
- "shape": "CloudWatchAlarmTemplateTargetResourceType",
- "locationName": "targetResourceType"
- },
- "Threshold": {
- "shape": "__double",
- "locationName": "threshold"
- },
- "TreatMissingData": {
- "shape": "CloudWatchAlarmTemplateTreatMissingData",
- "locationName": "treatMissingData"
+ "Nodes": {
+ "shape": "__listOf__string",
+ "locationName": "nodes"
}
},
"required": [
- "Identifier"
+ "ClusterId",
+ "ChannelPlacementGroupId"
]
},
- "UpdateCloudWatchAlarmTemplateRequestContent": {
+ "UpdateChannelPlacementGroupResponse": {
"type": "structure",
"members": {
- "ComparisonOperator": {
- "shape": "CloudWatchAlarmTemplateComparisonOperator",
- "locationName": "comparisonOperator"
- },
- "DatapointsToAlarm": {
- "shape": "__integerMin1",
- "locationName": "datapointsToAlarm"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "EvaluationPeriods": {
- "shape": "__integerMin1",
- "locationName": "evaluationPeriods"
+ "Channels": {
+ "shape": "__listOf__string",
+ "locationName": "channels"
},
- "GroupIdentifier": {
- "shape": "__stringPatternS",
- "locationName": "groupIdentifier"
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
},
- "MetricName": {
- "shape": "__stringMax64",
- "locationName": "metricName"
+ "Id": {
+ "shape": "__string",
+ "locationName": "id"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Period": {
- "shape": "__integerMin10Max86400",
- "locationName": "period"
- },
- "Statistic": {
- "shape": "CloudWatchAlarmTemplateStatistic",
- "locationName": "statistic"
+ "Nodes": {
+ "shape": "__listOf__string",
+ "locationName": "nodes"
},
- "TargetResourceType": {
- "shape": "CloudWatchAlarmTemplateTargetResourceType",
- "locationName": "targetResourceType"
+ "State": {
+ "shape": "ChannelPlacementGroupState",
+ "locationName": "state"
+ }
+ }
+ },
+ "UpdateClusterRequest": {
+ "type": "structure",
+ "members": {
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
},
- "Threshold": {
- "shape": "__double",
- "locationName": "threshold"
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "TreatMissingData": {
- "shape": "CloudWatchAlarmTemplateTreatMissingData",
- "locationName": "treatMissingData"
+ "NetworkSettings": {
+ "shape": "ClusterNetworkSettingsUpdateRequest",
+ "locationName": "networkSettings"
}
- }
+ },
+ "required": [
+ "ClusterId"
+ ]
},
- "UpdateCloudWatchAlarmTemplateResponse": {
+ "UpdateClusterResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
+ "shape": "__string",
"locationName": "arn"
},
- "ComparisonOperator": {
- "shape": "CloudWatchAlarmTemplateComparisonOperator",
- "locationName": "comparisonOperator"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "DatapointsToAlarm": {
- "shape": "__integerMin1",
- "locationName": "datapointsToAlarm"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "EvaluationPeriods": {
- "shape": "__integerMin1",
- "locationName": "evaluationPeriods"
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
},
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
+ "ClusterType": {
+ "shape": "ClusterType",
+ "locationName": "clusterType"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "MetricName": {
- "shape": "__stringMax64",
- "locationName": "metricName"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Period": {
- "shape": "__integerMin10Max86400",
- "locationName": "period"
- },
- "Statistic": {
- "shape": "CloudWatchAlarmTemplateStatistic",
- "locationName": "statistic"
- },
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
- },
- "TargetResourceType": {
- "shape": "CloudWatchAlarmTemplateTargetResourceType",
- "locationName": "targetResourceType"
- },
- "Threshold": {
- "shape": "__double",
- "locationName": "threshold"
+ "NetworkSettings": {
+ "shape": "ClusterNetworkSettings",
+ "locationName": "networkSettings"
},
- "TreatMissingData": {
- "shape": "CloudWatchAlarmTemplateTreatMissingData",
- "locationName": "treatMissingData"
+ "State": {
+ "shape": "ClusterState",
+ "locationName": "state"
}
}
},
- "UpdateCloudWatchAlarmTemplateResponseContent": {
+ "UpdateClusterResult": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveCloudwatchAlarmTemplate",
+ "shape": "__string",
"locationName": "arn"
},
- "ComparisonOperator": {
- "shape": "CloudWatchAlarmTemplateComparisonOperator",
- "locationName": "comparisonOperator"
- },
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "DatapointsToAlarm": {
- "shape": "__integerMin1",
- "locationName": "datapointsToAlarm"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "EvaluationPeriods": {
- "shape": "__integerMin1",
- "locationName": "evaluationPeriods"
+ "ChannelIds": {
+ "shape": "__listOf__string",
+ "locationName": "channelIds"
},
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
+ "ClusterType": {
+ "shape": "ClusterType",
+ "locationName": "clusterType"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "MetricName": {
- "shape": "__stringMax64",
- "locationName": "metricName"
- },
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
- },
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Period": {
- "shape": "__integerMin10Max86400",
- "locationName": "period"
- },
- "Statistic": {
- "shape": "CloudWatchAlarmTemplateStatistic",
- "locationName": "statistic"
- },
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
- },
- "TargetResourceType": {
- "shape": "CloudWatchAlarmTemplateTargetResourceType",
- "locationName": "targetResourceType"
- },
- "Threshold": {
- "shape": "__double",
- "locationName": "threshold"
+ "NetworkSettings": {
+ "shape": "ClusterNetworkSettings",
+ "locationName": "networkSettings"
},
- "TreatMissingData": {
- "shape": "CloudWatchAlarmTemplateTreatMissingData",
- "locationName": "treatMissingData"
+ "State": {
+ "shape": "ClusterState",
+ "locationName": "state"
}
- },
- "required": [
- "TargetResourceType",
- "TreatMissingData",
- "ComparisonOperator",
- "CreatedAt",
- "Period",
- "EvaluationPeriods",
- "Name",
- "GroupId",
- "MetricName",
- "Statistic",
- "Id",
- "Arn",
- "Threshold"
- ]
+ }
},
- "UpdateEventBridgeRuleTemplateGroupRequest": {
+ "UpdateNetworkRequest": {
"type": "structure",
"members": {
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "IpPools": {
+ "shape": "__listOfIpPoolUpdateRequest",
+ "locationName": "ipPools"
+ },
+ "Name": {
+ "shape": "__string",
+ "locationName": "name"
},
- "Identifier": {
+ "NetworkId": {
"shape": "__string",
"location": "uri",
- "locationName": "identifier"
+ "locationName": "networkId"
+ },
+ "Routes": {
+ "shape": "__listOfRouteUpdateRequest",
+ "locationName": "routes"
}
},
"required": [
- "Identifier"
+ "NetworkId"
]
},
- "UpdateEventBridgeRuleTemplateGroupRequestContent": {
- "type": "structure",
- "members": {
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- }
- }
- },
- "UpdateEventBridgeRuleTemplateGroupResponse": {
+ "UpdateNetworkResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "shape": "__string",
"locationName": "arn"
},
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "AssociatedClusterIds": {
+ "shape": "__listOf__string",
+ "locationName": "associatedClusterIds"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "IpPools": {
+ "shape": "__listOfIpPool",
+ "locationName": "ipPools"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Routes": {
+ "shape": "__listOfRoute",
+ "locationName": "routes"
+ },
+ "State": {
+ "shape": "NetworkState",
+ "locationName": "state"
}
}
},
- "UpdateEventBridgeRuleTemplateGroupResponseContent": {
+ "UpdateNetworkResult": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup",
+ "shape": "__string",
"locationName": "arn"
},
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "AssociatedClusterIds": {
+ "shape": "__listOf__string",
+ "locationName": "associatedClusterIds"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "IpPools": {
+ "shape": "__listOfIpPool",
+ "locationName": "ipPools"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "Routes": {
+ "shape": "__listOfRoute",
+ "locationName": "routes"
+ },
+ "State": {
+ "shape": "NetworkState",
+ "locationName": "state"
}
- },
- "required": [
- "CreatedAt",
- "Id",
- "Arn",
- "Name"
- ]
+ }
},
- "UpdateEventBridgeRuleTemplateRequest": {
+ "UpdateNodeRequest": {
"type": "structure",
"members": {
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "EventTargets": {
- "shape": "__listOfEventBridgeRuleTemplateTarget",
- "locationName": "eventTargets"
- },
- "EventType": {
- "shape": "EventBridgeRuleTemplateEventType",
- "locationName": "eventType"
- },
- "GroupIdentifier": {
- "shape": "__stringPatternS",
- "locationName": "groupIdentifier"
- },
- "Identifier": {
+ "ClusterId": {
"shape": "__string",
"location": "uri",
- "locationName": "identifier"
+ "locationName": "clusterId"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
+ },
+ "NodeId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "nodeId"
+ },
+ "Role": {
+ "shape": "NodeRole",
+ "locationName": "role"
}
},
"required": [
- "Identifier"
+ "NodeId",
+ "ClusterId"
]
},
- "UpdateEventBridgeRuleTemplateRequestContent": {
- "type": "structure",
- "members": {
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "EventTargets": {
- "shape": "__listOfEventBridgeRuleTemplateTarget",
- "locationName": "eventTargets"
- },
- "EventType": {
- "shape": "EventBridgeRuleTemplateEventType",
- "locationName": "eventType"
- },
- "GroupIdentifier": {
- "shape": "__stringPatternS",
- "locationName": "groupIdentifier"
- },
- "Name": {
- "shape": "__stringMin1Max255PatternS",
- "locationName": "name"
- }
- }
- },
- "UpdateEventBridgeRuleTemplateResponse": {
+ "UpdateNodeResponse": {
"type": "structure",
"members": {
"Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
+ "shape": "__string",
"locationName": "arn"
},
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
- },
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
- },
- "EventTargets": {
- "shape": "__listOfEventBridgeRuleTemplateTarget",
- "locationName": "eventTargets"
+ "ChannelPlacementGroups": {
+ "shape": "__listOf__string",
+ "locationName": "channelPlacementGroups"
},
- "EventType": {
- "shape": "EventBridgeRuleTemplateEventType",
- "locationName": "eventType"
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
},
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
+ "ConnectionState": {
+ "shape": "NodeConnectionState",
+ "locationName": "connectionState"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "InstanceArn": {
+ "shape": "__string",
+ "locationName": "instanceArn"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "NodeInterfaceMappings": {
+ "shape": "__listOfNodeInterfaceMapping",
+ "locationName": "nodeInterfaceMappings"
+ },
+ "Role": {
+ "shape": "NodeRole",
+ "locationName": "role"
+ },
+ "State": {
+ "shape": "NodeState",
+ "locationName": "state"
}
}
},
- "UpdateEventBridgeRuleTemplateResponseContent": {
+ "UpdateNodeState": {
+ "type": "string",
+ "enum": [
+ "ACTIVE",
+ "DRAINING"
+ ]
+ },
+ "UpdateNodeStateRequest": {
"type": "structure",
"members": {
- "Arn": {
- "shape": "__stringPatternArnMedialiveEventbridgeRuleTemplate",
- "locationName": "arn"
+ "ClusterId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "clusterId"
},
- "CreatedAt": {
- "shape": "__timestampIso8601",
- "locationName": "createdAt"
+ "NodeId": {
+ "shape": "__string",
+ "location": "uri",
+ "locationName": "nodeId"
},
- "Description": {
- "shape": "__stringMin0Max1024",
- "locationName": "description"
+ "State": {
+ "shape": "UpdateNodeState",
+ "locationName": "state"
+ }
+ },
+ "required": [
+ "NodeId",
+ "ClusterId"
+ ]
+ },
+ "UpdateNodeStateResponse": {
+ "type": "structure",
+ "members": {
+ "Arn": {
+ "shape": "__string",
+ "locationName": "arn"
},
- "EventTargets": {
- "shape": "__listOfEventBridgeRuleTemplateTarget",
- "locationName": "eventTargets"
+ "ChannelPlacementGroups": {
+ "shape": "__listOf__string",
+ "locationName": "channelPlacementGroups"
},
- "EventType": {
- "shape": "EventBridgeRuleTemplateEventType",
- "locationName": "eventType"
+ "ClusterId": {
+ "shape": "__string",
+ "locationName": "clusterId"
},
- "GroupId": {
- "shape": "__stringMin7Max11PatternAws097",
- "locationName": "groupId"
+ "ConnectionState": {
+ "shape": "NodeConnectionState",
+ "locationName": "connectionState"
},
"Id": {
- "shape": "__stringMin7Max11PatternAws097",
+ "shape": "__string",
"locationName": "id"
},
- "ModifiedAt": {
- "shape": "__timestampIso8601",
- "locationName": "modifiedAt"
+ "InstanceArn": {
+ "shape": "__string",
+ "locationName": "instanceArn"
},
"Name": {
- "shape": "__stringMin1Max255PatternS",
+ "shape": "__string",
"locationName": "name"
},
- "Tags": {
- "shape": "TagMap",
- "locationName": "tags"
+ "NodeInterfaceMappings": {
+ "shape": "__listOfNodeInterfaceMapping",
+ "locationName": "nodeInterfaceMappings"
+ },
+ "Role": {
+ "shape": "NodeRole",
+ "locationName": "role"
+ },
+ "State": {
+ "shape": "NodeState",
+ "locationName": "state"
}
- },
- "required": [
- "EventType",
- "CreatedAt",
- "Id",
- "Arn",
- "Name",
- "GroupId"
- ]
+ }
},
- "__integerMax5": {
+ "__integerMin40Max16000": {
"type": "integer",
- "max": 5
+ "min": 40,
+ "max": 16000
},
- "__integerMin10Max86400": {
+ "__integerMin50000Max16000000": {
"type": "integer",
- "min": 10,
- "max": 86400
+ "min": 50000,
+ "max": 16000000
},
- "__listOfCloudWatchAlarmTemplateGroupSummary": {
+ "__integerMin50000Max8000000": {
+ "type": "integer",
+ "min": 50000,
+ "max": 8000000
+ },
+ "__listOfDescribeChannelPlacementGroupSummary": {
+ "type": "list",
+ "member": {
+ "shape": "DescribeChannelPlacementGroupSummary"
+ }
+ },
+ "__listOfDescribeClusterSummary": {
+ "type": "list",
+ "member": {
+ "shape": "DescribeClusterSummary"
+ }
+ },
+ "__listOfDescribeNetworkSummary": {
+ "type": "list",
+ "member": {
+ "shape": "DescribeNetworkSummary"
+ }
+ },
+ "__listOfDescribeNodeSummary": {
+ "type": "list",
+ "member": {
+ "shape": "DescribeNodeSummary"
+ }
+ },
+ "__listOfInputDestinationRoute": {
"type": "list",
"member": {
- "shape": "CloudWatchAlarmTemplateGroupSummary"
+ "shape": "InputDestinationRoute"
}
},
- "__listOfCloudWatchAlarmTemplateSummary": {
+ "__listOfInputRequestDestinationRoute": {
"type": "list",
"member": {
- "shape": "CloudWatchAlarmTemplateSummary"
+ "shape": "InputRequestDestinationRoute"
}
},
- "__listOfEventBridgeRuleTemplateGroupSummary": {
+ "__listOfInterfaceMapping": {
"type": "list",
"member": {
- "shape": "EventBridgeRuleTemplateGroupSummary"
+ "shape": "InterfaceMapping"
}
},
- "__listOfEventBridgeRuleTemplateSummary": {
+ "__listOfInterfaceMappingCreateRequest": {
"type": "list",
"member": {
- "shape": "EventBridgeRuleTemplateSummary"
+ "shape": "InterfaceMappingCreateRequest"
}
},
- "__listOfEventBridgeRuleTemplateTarget": {
+ "__listOfInterfaceMappingUpdateRequest": {
"type": "list",
"member": {
- "shape": "EventBridgeRuleTemplateTarget"
+ "shape": "InterfaceMappingUpdateRequest"
}
},
- "__listOfMediaResourceNeighbor": {
+ "__listOfIpPool": {
"type": "list",
"member": {
- "shape": "MediaResourceNeighbor"
+ "shape": "IpPool"
}
},
- "__listOfSignalMapSummary": {
+ "__listOfIpPoolCreateRequest": {
"type": "list",
"member": {
- "shape": "SignalMapSummary"
+ "shape": "IpPoolCreateRequest"
}
},
- "__listOf__stringMin7Max11PatternAws097": {
+ "__listOfIpPoolUpdateRequest": {
"type": "list",
"member": {
- "shape": "__stringMin7Max11PatternAws097"
+ "shape": "IpPoolUpdateRequest"
}
},
- "__listOf__stringPatternS": {
+ "__listOfMulticastSource": {
"type": "list",
"member": {
- "shape": "__stringPatternS"
+ "shape": "MulticastSource"
}
},
- "__stringMax64": {
- "type": "string",
- "max": 64
- },
- "__stringMin0Max1024": {
- "type": "string",
- "min": 0,
- "max": 1024
- },
- "__stringMin1Max2048": {
- "type": "string",
- "min": 1,
- "max": 2048
- },
- "__stringMin1Max2048PatternArn": {
- "type": "string",
- "min": 1,
- "max": 2048,
- "pattern": "^arn.+$"
+ "__listOfMulticastSourceCreateRequest": {
+ "type": "list",
+ "member": {
+ "shape": "MulticastSourceCreateRequest"
+ }
},
- "__stringMin1Max255PatternS": {
- "type": "string",
- "min": 1,
- "max": 255,
- "pattern": "^[^\\s]+$"
+ "__listOfMulticastSourceUpdateRequest": {
+ "type": "list",
+ "member": {
+ "shape": "MulticastSourceUpdateRequest"
+ }
},
- "__stringMin7Max11PatternAws097": {
- "type": "string",
- "min": 7,
- "max": 11,
- "pattern": "^(aws-)?[0-9]{7}$"
+ "__listOfNodeInterfaceMapping": {
+ "type": "list",
+ "member": {
+ "shape": "NodeInterfaceMapping"
+ }
},
- "__stringPatternArnMedialiveCloudwatchAlarmTemplate": {
- "type": "string",
- "pattern": "^arn:.+:medialive:.+:cloudwatch-alarm-template:.+$"
+ "__listOfNodeInterfaceMappingCreateRequest": {
+ "type": "list",
+ "member": {
+ "shape": "NodeInterfaceMappingCreateRequest"
+ }
},
- "__stringPatternArnMedialiveCloudwatchAlarmTemplateGroup": {
- "type": "string",
- "pattern": "^arn:.+:medialive:.+:cloudwatch-alarm-template-group:.+$"
+ "__listOfRoute": {
+ "type": "list",
+ "member": {
+ "shape": "Route"
+ }
},
- "__stringPatternArnMedialiveEventbridgeRuleTemplate": {
- "type": "string",
- "pattern": "^arn:.+:medialive:.+:eventbridge-rule-template:.+$"
+ "__listOfRouteCreateRequest": {
+ "type": "list",
+ "member": {
+ "shape": "RouteCreateRequest"
+ }
},
- "__stringPatternArnMedialiveEventbridgeRuleTemplateGroup": {
- "type": "string",
- "pattern": "^arn:.+:medialive:.+:eventbridge-rule-template-group:.+$"
+ "__listOfRouteUpdateRequest": {
+ "type": "list",
+ "member": {
+ "shape": "RouteUpdateRequest"
+ }
},
- "__stringPatternArnMedialiveSignalMap": {
- "type": "string",
- "pattern": "^arn:.+:medialive:.+:signal-map:.+$"
+ "__listOfSrtOutputDestinationSettings": {
+ "type": "list",
+ "member": {
+ "shape": "SrtOutputDestinationSettings"
+ }
},
- "__stringPatternS": {
- "type": "string",
- "pattern": "^[^\\s]+$"
+ "BandwidthReductionFilterSettings": {
+ "type": "structure",
+ "members": {
+ "PostFilterSharpening": {
+ "shape": "BandwidthReductionPostFilterSharpening",
+ "locationName": "postFilterSharpening"
+ },
+ "Strength": {
+ "shape": "BandwidthReductionFilterStrength",
+ "locationName": "strength"
+ }
+ }
},
- "Scte35SegmentationScope": {
+ "BandwidthReductionFilterStrength": {
"type": "string",
"enum": [
- "ALL_OUTPUT_GROUPS",
- "SCTE35_ENABLED_OUTPUT_GROUPS"
+ "AUTO",
+ "STRENGTH_1",
+ "STRENGTH_2",
+ "STRENGTH_3",
+ "STRENGTH_4"
]
},
- "Algorithm": {
+ "BandwidthReductionPostFilterSharpening": {
"type": "string",
"enum": [
- "AES128",
- "AES192",
- "AES256"
+ "DISABLED",
+ "SHARPENING_1",
+ "SHARPENING_2",
+ "SHARPENING_3"
]
},
- "SrtCallerDecryption": {
+ "MultiplexContainerSettings": {
"type": "structure",
"members": {
- "Algorithm": {
- "shape": "Algorithm",
- "locationName": "algorithm"
- },
- "PassphraseSecretArn": {
- "shape": "__string",
- "locationName": "passphraseSecretArn"
+ "MultiplexM2tsSettings": {
+ "shape": "MultiplexM2tsSettings",
+ "locationName": "multiplexM2tsSettings"
}
}
},
- "SrtCallerDecryptionRequest": {
+ "MultiplexM2tsSettings": {
"type": "structure",
"members": {
- "Algorithm": {
- "shape": "Algorithm",
- "locationName": "algorithm"
+ "AbsentInputAudioBehavior": {
+ "shape": "M2tsAbsentInputAudioBehavior",
+ "locationName": "absentInputAudioBehavior"
},
- "PassphraseSecretArn": {
- "shape": "__string",
- "locationName": "passphraseSecretArn"
- }
- }
- },
- "SrtCallerSource": {
- "type": "structure",
- "members": {
- "Decryption": {
- "shape": "SrtCallerDecryption",
- "locationName": "decryption"
+ "Arib": {
+ "shape": "M2tsArib",
+ "locationName": "arib"
},
- "MinimumLatency": {
- "shape": "__integer",
- "locationName": "minimumLatency"
+ "AudioBufferModel": {
+ "shape": "M2tsAudioBufferModel",
+ "locationName": "audioBufferModel"
},
- "SrtListenerAddress": {
- "shape": "__string",
- "locationName": "srtListenerAddress"
+ "AudioFramesPerPes": {
+ "shape": "__integerMin0",
+ "locationName": "audioFramesPerPes"
},
- "SrtListenerPort": {
- "shape": "__string",
- "locationName": "srtListenerPort"
+ "AudioStreamType": {
+ "shape": "M2tsAudioStreamType",
+ "locationName": "audioStreamType"
},
- "StreamId": {
- "shape": "__string",
- "locationName": "streamId"
- }
- }
- },
- "SrtCallerSourceRequest": {
- "type": "structure",
- "members": {
- "Decryption": {
- "shape": "SrtCallerDecryptionRequest",
- "locationName": "decryption"
+ "CcDescriptor": {
+ "shape": "M2tsCcDescriptor",
+ "locationName": "ccDescriptor"
},
- "MinimumLatency": {
- "shape": "__integer",
- "locationName": "minimumLatency"
+ "Ebif": {
+ "shape": "M2tsEbifControl",
+ "locationName": "ebif"
},
- "SrtListenerAddress": {
- "shape": "__string",
- "locationName": "srtListenerAddress"
+ "EsRateInPes": {
+ "shape": "M2tsEsRateInPes",
+ "locationName": "esRateInPes"
},
- "SrtListenerPort": {
- "shape": "__string",
- "locationName": "srtListenerPort"
+ "Klv": {
+ "shape": "M2tsKlv",
+ "locationName": "klv"
},
- "StreamId": {
- "shape": "__string",
- "locationName": "streamId"
- }
- }
- },
- "SrtSettings": {
- "type": "structure",
- "members": {
- "SrtCallerSources": {
- "shape": "__listOfSrtCallerSource",
- "locationName": "srtCallerSources"
- }
- }
- },
- "SrtSettingsRequest": {
- "type": "structure",
- "members": {
- "SrtCallerSources": {
- "shape": "__listOfSrtCallerSourceRequest",
- "locationName": "srtCallerSources"
+ "NielsenId3Behavior": {
+ "shape": "M2tsNielsenId3Behavior",
+ "locationName": "nielsenId3Behavior"
+ },
+ "PcrControl": {
+ "shape": "M2tsPcrControl",
+ "locationName": "pcrControl"
+ },
+ "PcrPeriod": {
+ "shape": "__integerMin0Max500",
+ "locationName": "pcrPeriod"
+ },
+ "Scte35Control": {
+ "shape": "M2tsScte35Control",
+ "locationName": "scte35Control"
+ },
+ "Scte35PrerollPullupMilliseconds": {
+ "shape": "__doubleMin0Max5000",
+ "locationName": "scte35PrerollPullupMilliseconds"
}
}
- },
- "__listOfSrtCallerSource": {
- "type": "list",
- "member": {
- "shape": "SrtCallerSource"
- }
- },
- "__listOfSrtCallerSourceRequest": {
- "type": "list",
- "member": {
- "shape": "SrtCallerSourceRequest"
- }
- },
- "MultiplexPacketIdentifiersMapping": {
- "type": "map",
- "key": {
- "shape": "__string"
- },
- "value": {
- "shape": "MultiplexProgramPacketIdentifiersMap"
- }
- },
- "__integerMin1Max51": {
- "type": "integer",
- "min": 1,
- "max": 51
}
}
}
\ No newline at end of file
diff --git a/apis/medialive/2017-10-14/docs-2.json b/apis/medialive/2017-10-14/docs-2.json
index bdaefc5231c..46b085c3c17 100644
--- a/apis/medialive/2017-10-14/docs-2.json
+++ b/apis/medialive/2017-10-14/docs-2.json
@@ -93,7 +93,29 @@
"UpdateCloudWatchAlarmTemplate": "Updates the specified cloudwatch alarm template.",
"UpdateCloudWatchAlarmTemplateGroup": "Updates the specified cloudwatch alarm template group.",
"UpdateEventBridgeRuleTemplate": "Updates the specified eventbridge rule template.",
- "UpdateEventBridgeRuleTemplateGroup": "Updates the specified eventbridge rule template group."
+ "UpdateEventBridgeRuleTemplateGroup": "Updates the specified eventbridge rule template group.",
+ "CreateChannelPlacementGroup": "Create a ChannelPlacementGroup in the specified Cluster. As part of the create operation, you specify the Nodes to attach the group to.After you create a ChannelPlacementGroup, you add Channels to the group (you do this by modifying the Channels to add them to a specific group). You now have an association of Channels to ChannelPlacementGroup, and ChannelPlacementGroup to Nodes. This association means that all the Channels in the group are able to run on any of the Nodes associated with the group.",
+ "CreateCluster": "Create a new Cluster.",
+ "CreateNetwork": "Create as many Networks as you need. You will associate one or more Clusters with each Network.Each Network provides MediaLive Anywhere with required information about the network in your organization that you are using for video encoding using MediaLive.",
+ "CreateNode": "Create a Node in the specified Cluster. You can also create Nodes using the CreateNodeRegistrationScript. Note that you can't move a Node to another Cluster.",
+ "CreateNodeRegistrationScript": "Create the Register Node script for all the nodes intended for a specific Cluster. You will then run the script on each hardware unit that is intended for that Cluster. The script creates a Node in the specified Cluster. It then binds the Node to this hardware unit, and activates the node hardware for use with MediaLive Anywhere.",
+ "DeleteChannelPlacementGroup": "Delete the specified ChannelPlacementGroup that exists in the specified Cluster.",
+ "DeleteCluster": "Delete a Cluster. The Cluster must be idle.",
+ "DeleteNetwork": "Delete a Network. The Network must have no resources associated with it.",
+ "DeleteNode": "Delete a Node. The Node must be IDLE.",
+ "DescribeChannelPlacementGroup": "Get details about a ChannelPlacementGroup.",
+ "DescribeCluster": "Get details about a Cluster.",
+ "DescribeNetwork": "Get details about a Network.",
+ "DescribeNode": "Get details about a Node in the specified Cluster.",
+ "ListChannelPlacementGroups": "Retrieve the list of ChannelPlacementGroups in the specified Cluster.",
+ "ListClusters": "Retrieve the list of Clusters.",
+ "ListNetworks": "Retrieve the list of Networks.",
+ "ListNodes": "Retrieve the list of Nodes.",
+ "UpdateChannelPlacementGroup": "Change the settings for a ChannelPlacementGroup.",
+ "UpdateCluster": "Change the settings for a Cluster.",
+ "UpdateNetwork": "Change the settings for a Network.",
+ "UpdateNode": "Change the settings for a Node.",
+ "UpdateNodeState": "Update the state of a node."
},
"shapes": {
"AacCodingMode": {
@@ -210,7 +232,8 @@
"refs": {
"H264Settings$AfdSignaling": "Indicates that AFD values will be written into the output stream. If afdSignaling is \"auto\", the system will try to preserve the input AFD value (in cases where multiple AFD values are valid). If set to \"fixed\", the AFD value will be the value configured in the fixedAfd parameter.",
"H265Settings$AfdSignaling": "Indicates that AFD values will be written into the output stream. If afdSignaling is \"auto\", the system will try to preserve the input AFD value (in cases where multiple AFD values are valid). If set to \"fixed\", the AFD value will be the value configured in the fixedAfd parameter.",
- "Mpeg2Settings$AfdSignaling": "Indicates the AFD values that MediaLive will write into the video encode. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose AUTO.\nAUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid).\nFIXED: MediaLive will use the value you specify in fixedAFD."
+ "Mpeg2Settings$AfdSignaling": "Indicates the AFD values that MediaLive will write into the video encode. If you do not know what AFD signaling is, or if your downstream system has not given you guidance, choose AUTO.\nAUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid).\nFIXED: MediaLive will use the value you specify in fixedAFD.",
+ "Av1Settings$AfdSignaling": "Configures whether MediaLive will write AFD values into the video.\nAUTO: MediaLive will try to preserve the input AFD value (in cases where multiple AFD values are valid).\nFIXED: the AFD value will be the value configured in the fixedAfd parameter.\nNONE: MediaLive won't write AFD into the video"
}
},
"AncillarySourceSettings": {
@@ -707,7 +730,8 @@
"base": "Passthrough applies no color space conversion to the output",
"refs": {
"H264ColorSpaceSettings$ColorSpacePassthroughSettings": null,
- "H265ColorSpaceSettings$ColorSpacePassthroughSettings": null
+ "H265ColorSpaceSettings$ColorSpacePassthroughSettings": null,
+ "Av1ColorSpaceSettings$ColorSpacePassthroughSettings": null
}
},
"ConflictException": {
@@ -1118,7 +1142,8 @@
"refs": {
"H264Settings$FixedAfd": "Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.",
"H265Settings$FixedAfd": "Four bit AFD value to write on all frames of video in the output stream. Only valid when afdSignaling is set to 'Fixed'.",
- "Mpeg2Settings$FixedAfd": "Complete this field only when afdSignaling is set to FIXED. Enter the AFD value (4 bits) to write on all frames of the video encode."
+ "Mpeg2Settings$FixedAfd": "Complete this field only when afdSignaling is set to FIXED. Enter the AFD value (4 bits) to write on all frames of the video encode.",
+ "Av1Settings$FixedAfd": "Complete this property only if you set the afdSignaling property to FIXED. Choose the AFD value (4 bits) to write on all frames of the video encode."
}
},
"FixedModeScheduleActionStartSettings": {
@@ -1489,7 +1514,8 @@
"base": "Hdr10 Settings",
"refs": {
"H265ColorSpaceSettings$Hdr10Settings": null,
- "VideoSelectorColorSpaceSettings$Hdr10Settings": null
+ "VideoSelectorColorSpaceSettings$Hdr10Settings": null,
+ "Av1ColorSpaceSettings$Hdr10Settings": null
}
},
"HlsAdMarkers": {
@@ -1780,7 +1806,7 @@
"InputClass": {
"base": "A standard input has two sources and a single pipeline input only has one.",
"refs": {
- "Input$InputClass": "STANDARD - MediaLive expects two sources to be connected to this input. If the channel is also STANDARD, both sources will be ingested. If the channel is SINGLE_PIPELINE, only the first source will be ingested; the second source will always be ignored, even if the first source fails.\nSINGLE_PIPELINE - You can connect only one source to this input. If the ChannelClass is also SINGLE_PIPELINE, this value is valid. If the ChannelClass is STANDARD, this value is not valid because the channel requires two sources in the input."
+ "Input$InputClass": "STANDARD - MediaLive expects two sources to be connected to this input. If the channel is also STANDARD, both sources will be ingested. If the channel is SINGLE_PIPELINE, only the first source will be ingested; the second source will always be ignored, even if the first source fails.\nSINGLE_PIPELINE - You can connect only one source to this input. If the ChannelClass is also SINGLE_PIPELINE, this value is valid. If the ChannelClass is STANDARD, this value is not valid because the channel requires two sources in the input."
}
},
"InputClippingSettings": {
@@ -2005,7 +2031,8 @@
"InputLossActionForUdpOut": {
"base": "Input Loss Action For Udp Out",
"refs": {
- "UdpGroupSettings$InputLossAction": "Specifies behavior of last resort when input video is lost, and no more backup inputs are available. When dropTs is selected the entire transport stream will stop being emitted. When dropProgram is selected the program can be dropped from the transport stream (and replaced with null packets to meet the TS bitrate requirement). Or, when emitProgram is chosen the transport stream will continue to be produced normally with repeat frames, black frames, or slate frames substituted for the absent input video."
+ "UdpGroupSettings$InputLossAction": "Specifies behavior of last resort when input video is lost, and no more backup inputs are available. When dropTs is selected the entire transport stream will stop being emitted. When dropProgram is selected the program can be dropped from the transport stream (and replaced with null packets to meet the TS bitrate requirement). Or, when emitProgram is chosen the transport stream will continue to be produced normally with repeat frames, black frames, or slate frames substituted for the absent input video.",
+ "SrtGroupSettings$InputLossAction": "Specifies behavior of last resort when input video is lost, and no more backup inputs are available. When dropTs is selected the entire transport stream will stop being emitted. When dropProgram is selected the program can be dropped from the transport stream (and replaced with null packets to meet the TS bitrate requirement). Or, when emitProgram is chosen the transport stream will continue to be produced normally with repeat frames, black frames, or slate frames substituted for the absent input video."
}
},
"InputLossBehavior": {
@@ -2240,13 +2267,15 @@
"M2tsAbsentInputAudioBehavior": {
"base": "M2ts Absent Input Audio Behavior",
"refs": {
- "M2tsSettings$AbsentInputAudioBehavior": "When set to drop, output audio streams will be removed from the program if the selected input audio stream is removed from the input. This allows the output audio configuration to dynamically change based on input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream."
+ "M2tsSettings$AbsentInputAudioBehavior": "When set to drop, output audio streams will be removed from the program if the selected input audio stream is removed from the input. This allows the output audio configuration to dynamically change based on input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream.",
+ "MultiplexM2tsSettings$AbsentInputAudioBehavior": "When set to drop, output audio streams will be removed from the program if the selected input audio stream is removed from the input. This allows the output audio configuration to dynamically change based on input configuration. If this is set to encodeSilence, all output audio streams will output encoded silence when not connected to an active input stream."
}
},
"M2tsArib": {
"base": "M2ts Arib",
"refs": {
- "M2tsSettings$Arib": "When set to enabled, uses ARIB-compliant field muxing and removes video descriptor."
+ "M2tsSettings$Arib": "When set to enabled, uses ARIB-compliant field muxing and removes video descriptor.",
+ "MultiplexM2tsSettings$Arib": "When set to enabled, uses ARIB-compliant field muxing and removes video descriptor."
}
},
"M2tsAribCaptionsPidControl": {
@@ -2258,7 +2287,8 @@
"M2tsAudioBufferModel": {
"base": "M2ts Audio Buffer Model",
"refs": {
- "M2tsSettings$AudioBufferModel": "When set to dvb, uses DVB buffer model for Dolby Digital audio. When set to atsc, the ATSC model is used."
+ "M2tsSettings$AudioBufferModel": "When set to dvb, uses DVB buffer model for Dolby Digital audio. When set to atsc, the ATSC model is used.",
+ "MultiplexM2tsSettings$AudioBufferModel": "When set to dvb, uses DVB buffer model for Dolby Digital audio. When set to atsc, the ATSC model is used."
}
},
"M2tsAudioInterval": {
@@ -2270,7 +2300,8 @@
"M2tsAudioStreamType": {
"base": "M2ts Audio Stream Type",
"refs": {
- "M2tsSettings$AudioStreamType": "When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. When set to dvb, uses stream type = 0x06."
+ "M2tsSettings$AudioStreamType": "When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. When set to dvb, uses stream type = 0x06.",
+ "MultiplexM2tsSettings$AudioStreamType": "When set to atsc, uses stream type = 0x81 for AC3 and stream type = 0x87 for EAC3. When set to dvb, uses stream type = 0x06."
}
},
"M2tsBufferModel": {
@@ -2282,13 +2313,15 @@
"M2tsCcDescriptor": {
"base": "M2ts Cc Descriptor",
"refs": {
- "M2tsSettings$CcDescriptor": "When set to enabled, generates captionServiceDescriptor in PMT."
+ "M2tsSettings$CcDescriptor": "When set to enabled, generates captionServiceDescriptor in PMT.",
+ "MultiplexM2tsSettings$CcDescriptor": "When set to enabled, generates captionServiceDescriptor in PMT."
}
},
"M2tsEbifControl": {
"base": "M2ts Ebif Control",
"refs": {
- "M2tsSettings$Ebif": "If set to passthrough, passes any EBIF data from the input source to this output."
+ "M2tsSettings$Ebif": "If set to passthrough, passes any EBIF data from the input source to this output.",
+ "MultiplexM2tsSettings$Ebif": "If set to passthrough, passes any EBIF data from the input source to this output."
}
},
"M2tsEbpPlacement": {
@@ -2300,25 +2333,29 @@
"M2tsEsRateInPes": {
"base": "M2ts Es Rate In Pes",
"refs": {
- "M2tsSettings$EsRateInPes": "Include or exclude the ES Rate field in the PES header."
+ "M2tsSettings$EsRateInPes": "Include or exclude the ES Rate field in the PES header.",
+ "MultiplexM2tsSettings$EsRateInPes": "Include or exclude the ES Rate field in the PES header."
}
},
"M2tsKlv": {
"base": "M2ts Klv",
"refs": {
- "M2tsSettings$Klv": "If set to passthrough, passes any KLV data from the input source to this output."
+ "M2tsSettings$Klv": "If set to passthrough, passes any KLV data from the input source to this output.",
+ "MultiplexM2tsSettings$Klv": "If set to passthrough, passes any KLV data from the input source to this output."
}
},
"M2tsNielsenId3Behavior": {
"base": "M2ts Nielsen Id3 Behavior",
"refs": {
- "M2tsSettings$NielsenId3Behavior": "If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output."
+ "M2tsSettings$NielsenId3Behavior": "If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output.",
+ "MultiplexM2tsSettings$NielsenId3Behavior": "If set to passthrough, Nielsen inaudible tones for media tracking will be detected in the input audio and an equivalent ID3 tag will be inserted in the output."
}
},
"M2tsPcrControl": {
"base": "M2ts Pcr Control",
"refs": {
- "M2tsSettings$PcrControl": "When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream."
+ "M2tsSettings$PcrControl": "When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream.",
+ "MultiplexM2tsSettings$PcrControl": "When set to pcrEveryPesPacket, a Program Clock Reference value is inserted for every Packetized Elementary Stream (PES) header. This parameter is effective only when the PCR PID is the same as the video or audio elementary stream."
}
},
"M2tsRateMode": {
@@ -2330,7 +2367,8 @@
"M2tsScte35Control": {
"base": "M2ts Scte35 Control",
"refs": {
- "M2tsSettings$Scte35Control": "Optionally pass SCTE-35 signals from the input source to this output."
+ "M2tsSettings$Scte35Control": "Optionally pass SCTE-35 signals from the input source to this output.",
+ "MultiplexM2tsSettings$Scte35Control": "Optionally pass SCTE-35 signals from the input source to this output."
}
},
"M2tsSegmentationMarkers": {
@@ -2818,7 +2856,8 @@
"MultiplexOutputSettings$Destination": "Destination is a Multiplex.",
"RtmpOutputSettings$Destination": "The RTMP endpoint excluding the stream name (eg. rtmp://host/appname). For connection to Akamai, a username and password must be supplied. URI fields accept format identifiers.",
"UdpOutputSettings$Destination": "Destination address and port number for RTP or UDP packets. Can be unicast or multicast RTP or UDP (eg. rtp://239.10.10.10:5001 or udp://10.100.100.100:5002).",
- "CmafIngestGroupSettings$Destination": "A HTTP destination for the tracks"
+ "CmafIngestGroupSettings$Destination": "A HTTP destination for the tracks",
+ "SrtOutputSettings$Destination": null
}
},
"OutputLockingSettings": {
@@ -2906,14 +2945,16 @@
"base": "Rec601 Settings",
"refs": {
"H264ColorSpaceSettings$Rec601Settings": null,
- "H265ColorSpaceSettings$Rec601Settings": null
+ "H265ColorSpaceSettings$Rec601Settings": null,
+ "Av1ColorSpaceSettings$Rec601Settings": null
}
},
"Rec709Settings": {
"base": "Rec709 Settings",
"refs": {
"H264ColorSpaceSettings$Rec709Settings": null,
- "H265ColorSpaceSettings$Rec709Settings": null
+ "H265ColorSpaceSettings$Rec709Settings": null,
+ "Av1ColorSpaceSettings$Rec709Settings": null
}
},
"RemixSettings": {
@@ -2945,7 +2986,7 @@
}
},
"ReservationCodec": {
- "base": "Codec, 'MPEG2', 'AVC', 'HEVC', or 'AUDIO'",
+ "base": "Codec, 'MPEG2', 'AVC', 'HEVC', 'AUDIO', 'LINK', or 'AV1'",
"refs": {
"ReservationResourceSpecification$Codec": "Codec, e.g. 'AVC'"
}
@@ -3369,7 +3410,11 @@
"MultiplexSummary$Tags": "A collection of key-value pairs.",
"PurchaseOffering$Tags": "A collection of key-value pairs",
"Reservation$Tags": "A collection of key-value pairs",
- "TagsModel$Tags": null
+ "TagsModel$Tags": null,
+ "CreateChannelPlacementGroupRequest$Tags": "A collection of key-value pairs.",
+ "CreateClusterRequest$Tags": "A collection of key-value pairs.",
+ "CreateNetworkRequest$Tags": "A collection of key-value pairs.",
+ "CreateNodeRequest$Tags": "A collection of key-value pairs."
}
},
"TagsModel": {
@@ -3467,7 +3512,8 @@
"FrameCaptureSettings$TimecodeBurninSettings": "Timecode burn-in settings",
"H264Settings$TimecodeBurninSettings": "Timecode burn-in settings",
"H265Settings$TimecodeBurninSettings": "Timecode burn-in settings",
- "Mpeg2Settings$TimecodeBurninSettings": "Timecode burn-in settings"
+ "Mpeg2Settings$TimecodeBurninSettings": "Timecode burn-in settings",
+ "Av1Settings$TimecodeBurninSettings": "Configures the timecode burn-in feature. If you enable this feature, the timecode will become part of the video."
}
},
"TimecodeConfig": {
@@ -3513,7 +3559,8 @@
"UdpContainerSettings": {
"base": "Udp Container Settings",
"refs": {
- "UdpOutputSettings$ContainerSettings": null
+ "UdpOutputSettings$ContainerSettings": null,
+ "SrtOutputSettings$ContainerSettings": null
}
},
"UdpGroupSettings": {
@@ -3780,7 +3827,8 @@
"base": null,
"refs": {
"M2tsSettings$FragmentTime": "The length in seconds of each fragment. Only used with EBP markers.",
- "M2tsSettings$NullPacketBitrate": "Value in bits per second of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets."
+ "M2tsSettings$NullPacketBitrate": "Value in bits per second of extra null packets to insert into the transport stream. This can be used if a downstream encryption system requires periodic null packets.",
+ "Av1Settings$GopSize": "The GOP size (keyframe interval).\nIf GopSizeUnits is frames, GopSize must be a whole number and must be greater than or equal to 1.\nIf GopSizeUnits is seconds, GopSize must be greater than 0, but it can be a decimal."
}
},
"__doubleMin0Max1": {
@@ -3801,7 +3849,8 @@
"__doubleMin0Max5000": {
"base": null,
"refs": {
- "M2tsSettings$Scte35PrerollPullupMilliseconds": "Defines the amount SCTE-35 preroll will be increased (in milliseconds) on the output. Preroll is the amount of time between the presence of a SCTE-35 indication in a transport stream and the PTS of the video frame it references. Zero means don't add pullup (it doesn't mean set the preroll to zero). Negative pullup is not supported, which means that you can't make the preroll shorter. Be aware that latency in the output will increase by the pullup amount."
+ "M2tsSettings$Scte35PrerollPullupMilliseconds": "Defines the amount SCTE-35 preroll will be increased (in milliseconds) on the output. Preroll is the amount of time between the presence of a SCTE-35 indication in a transport stream and the PTS of the video frame it references. Zero means don't add pullup (it doesn't mean set the preroll to zero). Negative pullup is not supported, which means that you can't make the preroll shorter. Be aware that latency in the output will increase by the pullup amount.",
+ "MultiplexM2tsSettings$Scte35PrerollPullupMilliseconds": "Defines the amount SCTE-35 preroll will be increased (in milliseconds) on the output. Preroll is the amount of time between the presence of a SCTE-35 indication in a transport stream and the PTS of the video frame it references. Zero means don't add pullup (it doesn't mean set the preroll to zero). Negative pullup is not supported, which means that you can't make the preroll shorter. Be aware that latency in the output will increase by the pullup amount."
}
},
"__doubleMin1": {
@@ -3936,7 +3985,8 @@
"StaticImageOutputActivateScheduleActionSettings$ImageX": "Placement of the left edge of the overlay relative to the left edge of the video frame, in pixels. 0 (the default) is the left edge of the frame. If the placement causes the overlay to extend beyond the right edge of the underlying video, then the overlay is cropped on the right.",
"StaticImageOutputActivateScheduleActionSettings$ImageY": "Placement of the top edge of the overlay relative to the top edge of the video frame, in pixels. 0 (the default) is the top edge of the frame. If the placement causes the overlay to extend beyond the bottom edge of the underlying video, then the overlay is cropped on the bottom.",
"StaticImageOutputDeactivateScheduleActionSettings$FadeOut": "The time in milliseconds for the image to fade out. Default is 0 (no fade-out).",
- "UdpGroupSettings$TimedMetadataId3Period": "Timed Metadata interval in seconds."
+ "UdpGroupSettings$TimedMetadataId3Period": "Timed Metadata interval in seconds.",
+ "MultiplexM2tsSettings$AudioFramesPerPes": "The number of audio frames to insert for each PES packet."
}
},
"__integerMin0Max10": {
@@ -3969,7 +4019,8 @@
"refs": {
"M2tsSettings$EbpLookaheadMs": "When set, enforces that Encoder Boundary Points do not come within the specified time interval of each other by looking ahead at input video. If another EBP is going to come in within the specified time interval, the current EBP is not emitted, and the segment is \"stretched\" to the next marker. The lookahead value does not add latency to the system. The Live Event must be configured elsewhere to create sufficient latency to make the lookahead accurate.",
"MsSmoothGroupSettings$SendDelayMs": "Number of milliseconds to delay the output from the second pipeline.",
- "UdpOutputSettings$BufferMsec": "UDP output buffering in milliseconds. Larger values increase latency through the transcoder but simultaneously assist the transcoder in maintaining a constant, low-jitter UDP/RTP output while accommodating clock recovery, input switching, input disruptions, picture reordering, etc."
+ "UdpOutputSettings$BufferMsec": "UDP output buffering in milliseconds. Larger values increase latency through the transcoder but simultaneously assist the transcoder in maintaining a constant, low-jitter UDP/RTP output while accommodating clock recovery, input switching, input disruptions, picture reordering, etc.",
+ "SrtOutputSettings$BufferMsec": "SRT output buffering in milliseconds. A higher value increases latency through the encoder. But the benefits are that it helps to maintain a constant, low-jitter SRT output, and it accommodates clock recovery, input switching, input disruptions, picture reordering, and so on. Range: 0-10000 milliseconds."
}
},
"__integerMin0Max1000000": {
@@ -4028,7 +4079,8 @@
"base": null,
"refs": {
"H264Settings$MinIInterval": "Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if multiplex rate control is used. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1",
- "H265Settings$MinIInterval": "Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if multiplex rate control is used. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1"
+ "H265Settings$MinIInterval": "Only meaningful if sceneChangeDetect is set to enabled. Defaults to 5 if multiplex rate control is used. Enforces separation between repeated (cadence) I-frames and I-frames inserted by Scene Change Detection. If a scene change I-frame is within I-interval frames of a cadence I-frame, the GOP is shrunk and/or stretched to the scene change I-frame. GOP stretch requires enabling lookahead as well as setting I-interval. The normal cadence resumes for the next GOP. Note: Maximum GOP stretch = GOP size + Min-I-interval - 1",
+ "Av1Settings$MinIInterval": "Applies only if you enable SceneChangeDetect. Sets the interval between frames. This property ensures a minimum separation between repeated (cadence) I-frames and any I-frames inserted by scene change detection (SCD frames).\nEnter a number for the interval, measured in number of frames.\nIf an SCD frame and a cadence frame are closer than the specified number of frames, MediaLive shrinks or stretches the GOP to include the SCD frame. Then normal cadence resumes in the next GOP. For GOP stretch to succeed, you must enable LookAheadRateControl.\nNote that the maximum GOP stretch = (GOP size) + (Minimum I-interval) - 1"
}
},
"__integerMin0Max32768": {
@@ -4048,7 +4100,8 @@
"base": null,
"refs": {
"M2tsSettings$PcrPeriod": "Maximum time in milliseconds between Program Clock Reference (PCRs) inserted into the transport stream.",
- "M3u8Settings$PcrPeriod": "Maximum time in milliseconds between Program Clock References (PCRs) inserted into the transport stream."
+ "M3u8Settings$PcrPeriod": "Maximum time in milliseconds between Program Clock References (PCRs) inserted into the transport stream.",
+ "MultiplexM2tsSettings$PcrPeriod": "Maximum time in milliseconds between Program Clock Reference (PCRs) inserted into the transport stream."
}
},
"__integerMin0Max600": {
@@ -4137,7 +4190,10 @@
"UpdateCloudWatchAlarmTemplateRequestContent$DatapointsToAlarm": "The number of datapoints within the evaluation period that must be breaching to trigger the alarm.",
"UpdateCloudWatchAlarmTemplateRequestContent$EvaluationPeriods": "The number of periods over which data is compared to the specified threshold.",
"UpdateCloudWatchAlarmTemplateResponseContent$DatapointsToAlarm": "The number of datapoints within the evaluation period that must be breaching to trigger the alarm.",
- "UpdateCloudWatchAlarmTemplateResponseContent$EvaluationPeriods": "The number of periods over which data is compared to the specified threshold."
+ "UpdateCloudWatchAlarmTemplateResponseContent$EvaluationPeriods": "The number of periods over which data is compared to the specified threshold.",
+ "Av1Settings$FramerateNumerator": "The numerator for the framerate. Framerate is a fraction, for example, 24000 / 1001.",
+ "Av1Settings$ParDenominator": "The denominator for the output pixel aspect ratio (PAR).",
+ "Av1Settings$ParNumerator": "The numerator for the output pixel aspect ratio (PAR)."
}
},
"__integerMin100": {
@@ -4193,7 +4249,8 @@
"base": null,
"refs": {
"H264Settings$QvbrQualityLevel": "Controls the target quality for the video encode. Applies only when the rate control mode is QVBR. You can set a target quality or you can let MediaLive determine the best quality. To set a target quality, enter values in the QVBR quality level field and the Max bitrate field. Enter values that suit your most important viewing devices. Recommended values are:\n- Primary screen: Quality level: 8 to 10. Max bitrate: 4M\n- PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M\n- Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M\nTo let MediaLive decide, leave the QVBR quality level field empty, and in Max bitrate enter the maximum rate you want in the video. For more information, see the section called \"Video - rate control mode\" in the MediaLive user guide",
- "H265Settings$QvbrQualityLevel": "Controls the target quality for the video encode. Applies only when the rate control mode is QVBR. Set values for the QVBR quality level field and Max bitrate field that suit your most important viewing devices. Recommended values are:\n- Primary screen: Quality level: 8 to 10. Max bitrate: 4M\n- PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M\n- Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M"
+ "H265Settings$QvbrQualityLevel": "Controls the target quality for the video encode. Applies only when the rate control mode is QVBR. Set values for the QVBR quality level field and Max bitrate field that suit your most important viewing devices. Recommended values are:\n- Primary screen: Quality level: 8 to 10. Max bitrate: 4M\n- PC or tablet: Quality level: 7. Max bitrate: 1.5M to 3M\n- Smartphone: Quality level: 6. Max bitrate: 1M to 1.5M",
+ "Av1Settings$QvbrQualityLevel": "Controls the target quality for the video encode. With QVBR rate control mode, the final quality is the target quality, constrained by the maxBitrate.\nSet values for the qvbrQualityLevel property and maxBitrate property that suit your most important viewing devices.\nTo let MediaLive set the quality level (AUTO mode), leave the qvbrQualityLevel field empty. In this case, MediaLive uses the maximum bitrate, and the quality follows from that: more complex content might have a lower quality.\nOr set a target quality level and a maximum bitrate. With more complex content, MediaLive will try to achieve the target quality, but it won't exceed the maximum bitrate. With less complex content, This option will use only the bitrate needed to reach the target quality.\nRecommended values are:\nPrimary screen: qvbrQualityLevel: Leave empty. maxBitrate: 4,000,000\nPC or tablet: qvbrQualityLevel: Leave empty. maxBitrate: 1,500,000 to 3,000,000\nSmartphone: qvbrQualityLevel: Leave empty. maxBitrate: 1,000,000 to 1,500,000"
}
},
"__integerMin1Max1000000": {
@@ -4218,7 +4275,8 @@
"__integerMin1Max3003": {
"base": null,
"refs": {
- "H265Settings$FramerateDenominator": "Framerate denominator."
+ "H265Settings$FramerateDenominator": "Framerate denominator.",
+ "Av1Settings$FramerateDenominator": "The denominator for the framerate. Framerate is a fraction, for example, 24000 / 1001."
}
},
"__integerMin1Max31": {
@@ -4329,7 +4387,7 @@
"__integerMinNegative5Max5": {
"base": null,
"refs": {
- "MultiplexStatmuxVideoSettings$Priority": "The purpose of the priority is to use a combination of the\\nmultiplex rate control algorithm and the QVBR capability of the\\nencoder to prioritize the video quality of some channels in a\\nmultiplex over others. Channels that have a higher priority will\\nget higher video quality at the expense of the video quality of\\nother channels in the multiplex with lower priority."
+ "MultiplexStatmuxVideoSettings$Priority": "The purpose of the priority is to use a combination of the\\nmultiplex rate control algorithm and the QVBR capability of the\\nencoder to prioritize the video quality of some channels in a\\nmultiplex over others. Channels that have a higher priority will\\nget higher video quality at the expense of the video quality of\\nother channels in the multiplex with lower priority."
}
},
"__integerMinNegative60Max6": {
@@ -4656,7 +4714,8 @@
"refs": {
"ChannelConfigurationValidationError$ValidationErrors": "A collection of validation error responses.",
"InputDeviceConfigurationValidationError$ValidationErrors": "A collection of validation error responses.",
- "MultiplexConfigurationValidationError$ValidationErrors": "A collection of validation error responses."
+ "MultiplexConfigurationValidationError$ValidationErrors": "A collection of validation error responses.",
+ "NodeConfigurationValidationError$ValidationErrors": "A collection of validation error responses."
}
},
"__listOfVideoDescription": {
@@ -4714,7 +4773,26 @@
"VpcOutputSettingsDescription$AvailabilityZones": "The Availability Zones where the vpc subnets are located.\nThe first Availability Zone applies to the first subnet in the list of subnets.\nThe second Availability Zone applies to the second subnet.",
"VpcOutputSettingsDescription$NetworkInterfaceIds": "A list of Elastic Network Interfaces created by MediaLive in the customer's VPC",
"VpcOutputSettingsDescription$SecurityGroupIds": "A list of up EC2 VPC security group IDs attached to the Output VPC network interfaces.",
- "VpcOutputSettingsDescription$SubnetIds": "A list of VPC subnet IDs from the same VPC.\nIf STANDARD channel, subnet IDs must be mapped to two unique availability zones (AZ)."
+ "VpcOutputSettingsDescription$SubnetIds": "A list of VPC subnet IDs from the same VPC.\nIf STANDARD channel, subnet IDs must be mapped to two unique availability zones (AZ).",
+ "CreateChannelPlacementGroupRequest$Nodes": "An array of one ID for the Node that you want to associate with the ChannelPlacementGroup. (You can't associate more than one Node with the ChannelPlacementGroup.) The Node and the ChannelPlacementGroup must be in the same Cluster.",
+ "CreateNodeRequest$AllowedInstanceTypes": "The allowed instance types for node creation. Defaults to all outpost instance types if not specified.",
+ "DescribeChannelPlacementGroupResult$Channels": "Used in ListChannelPlacementGroupsResult",
+ "DescribeChannelPlacementGroupResult$Nodes": "An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup.",
+ "DescribeChannelPlacementGroupSummary$Channels": "Used in ListChannelPlacementGroupsResult",
+ "DescribeChannelPlacementGroupSummary$Nodes": "An array with one item, which is the signle Node that is associated with the ChannelPlacementGroup.",
+ "DescribeClusterResult$ChannelIds": null,
+ "DescribeClusterSummary$ChannelIds": "An array of the IDs of the Channels that are associated with this Cluster. One Channel is associated with the Cluster as follows: A Channel belongs to a ChannelPlacementGroup. A ChannelPlacementGroup is attached to a Node. A Node belongs to a Cluster.",
+ "DescribeNetworkResult$AssociatedClusterIds": null,
+ "DescribeNetworkSummary$AssociatedClusterIds": null,
+ "DescribeNodeResult$AllowedInstanceTypes": "The allowed instance types for node creation. Defaults to all outpost instance types if not specified.",
+ "DescribeNodeResult$ChannelPlacementGroups": "An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups.",
+ "DescribeNodeSummary$AllowedInstanceTypes": "The allowed instance types for node creation. Defaults to all outpost instance types if not specified.",
+ "DescribeNodeSummary$ChannelPlacementGroups": "An array of IDs. Each ID is one ChannelPlacementGroup that is associated with this Node. Empty if the Node is not yet associated with any groups.",
+ "InputAttachment$LogicalInterfaceNames": "Optional assignment of an input to a logical interface on the Node. Only applies to on premises channels.",
+ "OutputDestination$LogicalInterfaceNames": "Optional assignment of an output to a logical interface on the Node. Only applies to on premises channels.",
+ "UpdateChannelPlacementGroupRequest$Nodes": "Include this parameter only if you want to change the list of Nodes that are associated with the ChannelPlacementGroup.",
+ "UpdateClusterResult$ChannelIds": "An array of the IDs of the Channels that are associated with this Cluster. One Channel is associated with the Cluster as follows: A Channel belongs to a ChannelPlacementGroup. A ChannelPlacementGroup is attached to a Node. A Node belongs to a Cluster.",
+ "UpdateNetworkResult$AssociatedClusterIds": null
}
},
"__longMin0Max1099511627775": {
@@ -5024,7 +5102,122 @@
"SrtCallerSource$StreamId": "The stream ID, if the upstream system uses this identifier.",
"SrtCallerSourceRequest$SrtListenerAddress": "The IP address at the upstream system (the listener) that MediaLive (the caller) will connect to.",
"SrtCallerSourceRequest$SrtListenerPort": "The port at the upstream system (the listener) that MediaLive (the caller) will connect to.",
- "SrtCallerSourceRequest$StreamId": "This value is required if the upstream system uses this identifier because without it, the SRT handshake between MediaLive (the caller) and the upstream system (the listener) might fail."
+ "SrtCallerSourceRequest$StreamId": "This value is required if the upstream system uses this identifier because without it, the SRT handshake between MediaLive (the caller) and the upstream system (the listener) might fail.",
+ "AnywhereSettings$ChannelPlacementGroupId": "The ID of the channel placement group for the channel.",
+ "AnywhereSettings$ClusterId": "The ID of the cluster for the channel.",
+ "AnywhereSettings$ClusterName": "The name of the cluster that is the instance provider for the channel",
+ "ClusterNetworkSettings$DefaultRoute": "The network interface that is the default route for traffic to and from the node. MediaLive Anywhere uses this default when the destination for the traffic isn't covered by the route table for any of the networks. Specify the value of the appropriate logicalInterfaceName parameter that you create in the interfaceMappings.",
+ "ClusterNetworkSettingsCreateRequest$DefaultRoute": "Specify one network interface as the default route for traffic to and from the Node. MediaLive Anywhere uses this default when the destination for the traffic isn't covered by the route table for any of the networks. Specify the value of the appropriate logicalInterfaceName parameter that you create in the interfaceMappings.",
+ "ClusterNetworkSettingsUpdateRequest$DefaultRoute": "Include this parameter only if you want to change the default route for the Cluster. Specify one network interface as the default route for traffic to and from the node. MediaLive Anywhere uses this default when the destination for the traffic isn't covered by the route table for any of the networks. Specify the value of the appropriate logicalInterfaceName parameter that you create in the interfaceMappings.",
+ "CreateChannelPlacementGroupRequest$Name": "Specify a name that is unique in the Cluster. You can't change the name. Names are case-sensitive.",
+ "CreateChannelPlacementGroupRequest$RequestId": "An ID that you assign to a create request. This ID ensures idempotency when creating resources. the request.",
+ "CreateClusterRequest$InstanceRoleArn": "The ARN of the IAM role for the Node in this Cluster. The role must include all the operations that you expect these Node to perform. If necessary, create a role in IAM, then attach it here.",
+ "CreateClusterRequest$Name": "Specify a name that is unique in the AWS account. We recommend that you assign a name that hints at the types of Nodes in the Cluster. Names are case-sensitive.",
+ "CreateClusterRequest$RequestId": "The unique ID of the request.",
+ "CreateNetworkRequest$Name": "Specify a name that is unique in the AWS account. We recommend that you assign a name that hints at the type of traffic on the network. Names are case-sensitive.",
+ "CreateNetworkRequest$RequestId": "An ID that you assign to a create request. This ID ensures idempotency when creating resources.",
+ "CreateNodeRegistrationScriptRequest$Id": "If you're generating a re-registration script for an already existing node, this is where you provide the id.",
+ "CreateNodeRegistrationScriptRequest$Name": "Specify a pattern for MediaLive Anywhere to use to assign a name to each Node in the Cluster. The pattern can include the variables $hn (hostname of the node hardware) and $ts for the date and time that the Node is created, in UTC (for example, 2024-08-20T23:35:12Z).",
+ "CreateNodeRegistrationScriptRequest$RequestId": "An ID that you assign to a create request. This ID ensures idempotency when creating resources.",
+ "CreateNodeRegistrationScriptRequest$SsmRoleArn": "An IAM role that has the gives MediaLive permission to create the script and generate an SSM activation.",
+ "CreateNodeRegistrationScriptResult$NodeRegistrationScript": "A script that can be run on a Bring Your Own Device Elemental Anywhere system to create a node in a cluster.",
+ "CreateNodeRequest$Name": "The user-specified name of the Node to be created.",
+ "CreateNodeRequest$RequestId": "An ID that you assign to a create request. This ID ensures idempotency when creating resources.",
+ "CreateNodeRequest$SubnetId": "The ID of the subnet to launch the node into, which must be created on an Outpost.",
+ "DescribeAnywhereSettings$ChannelPlacementGroupId": "The ID of the channel placement group for the channel.",
+ "DescribeAnywhereSettings$ClusterId": "The ID of the cluster for the channel.",
+ "DescribeAnywhereSettings$ClusterName": "The name of the cluster that is the instance provider for the channel",
+ "DescribeChannelPlacementGroupResult$Arn": "The ARN of this ChannelPlacementGroup. It is automatically assigned when the ChannelPlacementGroup is created.",
+ "DescribeChannelPlacementGroupResult$ClusterId": "The ID of the Cluster that the Node belongs to.",
+ "DescribeChannelPlacementGroupResult$Id": "The ID of the ChannelPlacementGroup. Unique in the AWS account. The ID is the resource-id portion of the ARN.",
+ "DescribeChannelPlacementGroupResult$Name": "The name that you specified for the ChannelPlacementGroup.",
+ "DescribeChannelPlacementGroupSummary$Arn": "The ARN of this ChannelPlacementGroup. It is automatically assigned when the ChannelPlacementGroup is created.",
+ "DescribeChannelPlacementGroupSummary$ClusterId": "The ID of the Cluster that the Node belongs to.",
+ "DescribeChannelPlacementGroupSummary$Id": "The ID of the ChannelPlacementGroup. Unique in the AWS account. The ID is the resource-id portion of the ARN.",
+ "DescribeChannelPlacementGroupSummary$Name": "The name that you specified for the ChannelPlacementGroup.",
+ "DescribeClusterResult$Arn": "The ARN of this Cluster. It is automatically assigned when the Cluster is created.",
+ "DescribeClusterResult$Id": "The ID of the Cluster. Unique in the AWS account. The ID is the resource-id portion of the ARN.",
+ "DescribeClusterResult$InstanceRoleArn": "The ARN of the IAM role for the Node in this Cluster. Any Nodes that are associated with this Cluster assume this role. The role gives permissions to the operations that you expect these Node to perform.",
+ "DescribeClusterResult$Name": "The name that you specified for the Cluster.",
+ "DescribeClusterSummary$Arn": "The ARN of this Cluster. It is automatically assigned when the Cluster is created.",
+ "DescribeClusterSummary$Id": "The ID of the Cluster. Unique in the AWS account. The ID is the resource-id portion of the ARN.",
+ "DescribeClusterSummary$InstanceRoleArn": "The ARN of the IAM role for the Node in this Cluster. Any Nodes that are associated with this Cluster assume this role. The role gives permissions to the operations that you expect these Node to perform.",
+ "DescribeClusterSummary$Name": "The name that you specified for the Cluster.",
+ "DescribeNetworkResult$Arn": "The ARN of this Network. It is automatically assigned when the Network is created.",
+ "DescribeNetworkResult$Id": "The ID of the Network. Unique in the AWS account. The ID is the resource-id portion of the ARN.",
+ "DescribeNetworkResult$Name": "The name that you specified for the Network.",
+ "DescribeNetworkSummary$Arn": "The ARN of this Network. It is automatically assigned when the Network is created.",
+ "DescribeNetworkSummary$Id": "The ID of the Network. Unique in the AWS account. The ID is the resource-id portion of the ARN.",
+ "DescribeNetworkSummary$Name": "The name that you specified for this Network.",
+ "DescribeNodeResult$Arn": "The ARN of the Node. It is automatically assigned when the Node is created.",
+ "DescribeNodeResult$ClusterId": "The ID of the Cluster that the Node belongs to.",
+ "DescribeNodeResult$HardwareType": "The hardware type of the node.",
+ "DescribeNodeResult$Id": "The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN.",
+ "DescribeNodeResult$InstanceArn": "The ARN of the EC2 instance hosting the Node.",
+ "DescribeNodeResult$InstanceId": "The EC2 instance associated with this Node.",
+ "DescribeNodeResult$Name": "The name that you specified for the Node.",
+ "DescribeNodeResult$OutpostArn": "The outpost ARN of the Node.",
+ "DescribeNodeResult$SubnetId": "The subnet id of the Node.",
+ "DescribeNodeSummary$Arn": "The ARN of the Node. It is automatically assigned when the Node is created.",
+ "DescribeNodeSummary$ClusterId": "The ID of the Cluster that the Node belongs to.",
+ "DescribeNodeSummary$HardwareType": "The hardware type of the node.",
+ "DescribeNodeSummary$Id": "The unique ID of the Node. Unique in the Cluster. The ID is the resource-id portion of the ARN.",
+ "DescribeNodeSummary$InstanceArn": "The EC2 ARN of the Instance associated with the Node.",
+ "DescribeNodeSummary$InstanceId": "The EC2 instance associated with this Node.",
+ "DescribeNodeSummary$ManagedInstanceId": "At the routing layer will get it from the callerId/context for use with bring your own device.",
+ "DescribeNodeSummary$Name": "The name that you specified for the Node.",
+ "DescribeNodeSummary$OutpostArn": "The outpost ARN of the Node.",
+ "DescribeNodeSummary$SubnetId": "The subnet id of the Node.",
+ "InputDestination$Network": "The ID of the attached network.",
+ "InputDestinationRequest$Network": "If the push input has an input location of ON-PREM, ID the ID of the attached network.",
+ "InputDestinationRequest$StaticIpAddress": "If the push input has an input location of ON-PREM it's optional to specify what the ip address\nof the input is going to be on the customer local network.",
+ "InputDestinationRoute$Cidr": "The CIDR of the route.",
+ "InputDestinationRoute$Gateway": "An optional gateway for the route.",
+ "InputRequestDestinationRoute$Cidr": "The CIDR of the route.",
+ "InputRequestDestinationRoute$Gateway": "An optional gateway for the route.",
+ "InterfaceMapping$LogicalInterfaceName": "The logical name for one interface (on every Node) that handles a specific type of traffic. We recommend that the name hints at the physical interface it applies to. For example, it could refer to the traffic that the physical interface handles. For example, my-Inputs-Interface.",
+ "InterfaceMapping$NetworkId": "The ID of the network that you want to connect to the specified logicalInterfaceName.",
+ "InterfaceMappingCreateRequest$LogicalInterfaceName": "The logical name for one interface (on every Node) that handles a specific type of traffic. We recommend that the name hints at the physical interface it applies to. For example, it could refer to the traffic that the physical interface handles. For example, my-Inputs-Interface.",
+ "InterfaceMappingCreateRequest$NetworkId": "The ID of the network that you want to connect to the specified logicalInterfaceName.",
+ "InterfaceMappingUpdateRequest$LogicalInterfaceName": "The logical name for one interface (on every Node) that handles a specific type of traffic. We recommend that the name hints at the physical interface it applies to. For example, it could refer to the traffic that the physical interface handles. For example, my-Inputs-Interface.",
+ "InterfaceMappingUpdateRequest$NetworkId": "The ID of the network that you want to connect to the specified logicalInterfaceName. You can use the ListNetworks operation to discover all the IDs.",
+ "IpPool$Cidr": "A CIDR block of IP addresses that are reserved for MediaLive Anywhere.",
+ "IpPoolCreateRequest$Cidr": "A CIDR block of IP addresses to reserve for MediaLive Anywhere.",
+ "IpPoolUpdateRequest$Cidr": "A CIDR block of IP addresses to reserve for MediaLive Anywhere.",
+ "ListChannelPlacementGroupsResult$NextToken": "Token for the next result.",
+ "ListClustersResult$NextToken": "Token for the next result.",
+ "ListNetworksResult$NextToken": "Token for the next ListNetworks request.",
+ "ListNodesResult$NextToken": "Token for the next result.",
+ "MulticastSource$SourceIp": "This represents the ip address of the device sending the multicast stream.",
+ "MulticastSource$Url": "This represents the customer's source URL where multicast stream is pulled from.",
+ "MulticastSourceCreateRequest$SourceIp": "This represents the ip address of the device sending the multicast stream.",
+ "MulticastSourceCreateRequest$Url": "This represents the customer's source URL where multicast stream is pulled from.",
+ "MulticastSourceUpdateRequest$SourceIp": "This represents the ip address of the device sending the multicast stream.",
+ "MulticastSourceUpdateRequest$Url": "This represents the customer's source URL where multicast stream is pulled from.",
+ "NodeConfigurationValidationError$Message": "The error message.",
+ "NodeInterfaceMapping$LogicalInterfaceName": "A uniform logical interface name to address in a MediaLive channel configuration.",
+ "NodeInterfaceMapping$PhysicalInterfaceName": "The name of the physical interface on the hardware that will be running Elemental anywhere.",
+ "NodeInterfaceMappingCreateRequest$LogicalInterfaceName": "Specify one of the logicalInterfaceNames that you created in the Cluster that this node belongs to. For example, my-Inputs-Interface.",
+ "NodeInterfaceMappingCreateRequest$PhysicalInterfaceName": "Specify the physical name that corresponds to the logicalInterfaceName that you specified in this interface mapping. For example, Eth1 or ENO1234EXAMPLE.",
+ "Route$Cidr": "A CIDR block for one Route.",
+ "Route$Gateway": "The IP address of the Gateway for this route, if applicable.",
+ "RouteCreateRequest$Cidr": "A CIDR block for one Route.",
+ "RouteCreateRequest$Gateway": "The IP address of the Gateway for this route, if applicable.",
+ "RouteUpdateRequest$Cidr": "A CIDR block for one Route.",
+ "RouteUpdateRequest$Gateway": "The IP address of the Gateway for this route, if applicable.",
+ "SrtOutputDestinationSettings$EncryptionPassphraseSecretArn": "Arn used to extract the password from Secrets Manager",
+ "SrtOutputDestinationSettings$StreamId": "Stream id for SRT destinations (URLs of type srt://)",
+ "SrtOutputDestinationSettings$Url": "A URL specifying a destination",
+ "UpdateChannelPlacementGroupRequest$Name": "Include this parameter only if you want to change the current name of the ChannelPlacementGroup. Specify a name that is unique in the Cluster. You can't change the name. Names are case-sensitive.",
+ "UpdateClusterRequest$Name": "Include this parameter only if you want to change the current name of the Cluster. Specify a name that is unique in the AWS account. You can't change the name. Names are case-sensitive.",
+ "UpdateClusterResult$Arn": "The ARN of the Cluster.",
+ "UpdateClusterResult$Id": "The unique ID of the Cluster.",
+ "UpdateClusterResult$Name": "The user-specified name of the Cluster.",
+ "UpdateNetworkRequest$Name": "Include this parameter only if you want to change the name of the Network. Specify a name that is unique in the AWS account. Names are case-sensitive.",
+ "UpdateNetworkResult$Arn": "The ARN of this Network. It is automatically assigned when the Network is created.",
+ "UpdateNetworkResult$Id": "The ID of the Network. Unique in the AWS account. The ID is the resource-id portion of the ARN.",
+ "UpdateNetworkResult$Name": "The name that you specified for the Network.",
+ "UpdateNodeRequest$Name": "Include this parameter only if you want to change the current name of the Node. Specify a name that is unique in the Cluster. You can't change the name. Names are case-sensitive."
}
},
"__stringMax1000": {
@@ -6054,6 +6247,610 @@
"H264Settings$MinQp": "Sets the minimum QP. If you aren't familiar with quantization adjustment, leave the field empty. MediaLive will\napply an appropriate value.",
"H265Settings$MinQp": "Sets the minimum QP. If you aren't familiar with quantization adjustment, leave the field empty. MediaLive will\napply an appropriate value."
}
+ },
+ "AnywhereSettings": {
+ "base": "Elemental anywhere settings",
+ "refs": {
+ "CreateChannel$AnywhereSettings": "The Elemental Anywhere settings for this channel."
+ }
+ },
+ "Av1ColorSpaceSettings": {
+ "base": "Av1 Color Space Settings",
+ "refs": {
+ "Av1Settings$ColorSpaceSettings": "Color Space settings"
+ }
+ },
+ "Av1GopSizeUnits": {
+ "base": "Av1 Gop Size Units",
+ "refs": {
+ "Av1Settings$GopSizeUnits": "Choose the units for the GOP size: FRAMES or SECONDS. For SECONDS, MediaLive converts the size into a frame count at run time."
+ }
+ },
+ "Av1Level": {
+ "base": "Av1 Level",
+ "refs": {
+ "Av1Settings$Level": "Sets the level. This parameter is one of the properties of the encoding scheme for AV1."
+ }
+ },
+ "Av1LookAheadRateControl": {
+ "base": "Av1 Look Ahead Rate Control",
+ "refs": {
+ "Av1Settings$LookAheadRateControl": "Sets the amount of lookahead. A value of LOW can decrease latency and memory usage. A value of HIGH can produce better quality for certain content."
+ }
+ },
+ "Av1SceneChangeDetect": {
+ "base": "Av1 Scene Change Detect",
+ "refs": {
+ "Av1Settings$SceneChangeDetect": "Controls whether MediaLive inserts I-frames when it detects a scene change. ENABLED or DISABLED."
+ }
+ },
+ "Av1Settings": {
+ "base": "Av1 Settings",
+ "refs": {
+ "VideoCodecSettings$Av1Settings": null
+ }
+ },
+ "ChannelPlacementGroupState": {
+ "base": "Used in DescribeChannelPlacementGroupResult",
+ "refs": {
+ "DescribeChannelPlacementGroupResult$State": "The current state of the ChannelPlacementGroup.",
+ "DescribeChannelPlacementGroupSummary$State": "The current state of the ChannelPlacementGroup."
+ }
+ },
+ "ClusterNetworkSettings": {
+ "base": "Used in DescribeClusterResult, DescribeClusterSummary, UpdateClusterResult.",
+ "refs": {
+ "DescribeClusterResult$NetworkSettings": "Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.",
+ "DescribeClusterSummary$NetworkSettings": "Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with.",
+ "UpdateClusterResult$NetworkSettings": "Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with."
+ }
+ },
+ "ClusterNetworkSettingsCreateRequest": {
+ "base": "Used in a CreateClusterRequest.",
+ "refs": {
+ "CreateClusterRequest$NetworkSettings": "Network settings that connect the Nodes in the Cluster to one or more of the Networks that the Cluster is associated with."
+ }
+ },
+ "ClusterNetworkSettingsUpdateRequest": {
+ "base": null,
+ "refs": {
+ "UpdateClusterRequest$NetworkSettings": "Include this property only if you want to change the current connections between the Nodes in the Cluster and the Networks the Cluster is associated with."
+ }
+ },
+ "ClusterState": {
+ "base": "Used in DescribeClusterSummary, DescribeClusterResult, UpdateClusterResult.",
+ "refs": {
+ "DescribeClusterResult$State": "The current state of the Cluster.",
+ "DescribeClusterSummary$State": "The current state of the Cluster.",
+ "UpdateClusterResult$State": "The current state of the Cluster."
+ }
+ },
+ "ClusterType": {
+ "base": "Used in CreateClusterSummary, DescribeClusterSummary, DescribeClusterResult, UpdateClusterResult.",
+ "refs": {
+ "CreateClusterRequest$ClusterType": "Specify a type. All the Nodes that you later add to this Cluster must be this type of hardware. One Cluster instance can't contain different hardware types. You won't be able to change this parameter after you create the Cluster.",
+ "DescribeClusterResult$ClusterType": "The hardware type for the Cluster",
+ "DescribeClusterSummary$ClusterType": "The hardware type for the Cluster.",
+ "UpdateClusterResult$ClusterType": "The hardware type for the Cluster"
+ }
+ },
+ "CreateChannelPlacementGroupRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "CreateClusterRequest": {
+ "base": "Used in the CreateCluster operation.",
+ "refs": {
+ }
+ },
+ "CreateNetworkRequest": {
+ "base": "Used in the CreateNetwork operation.",
+ "refs": {
+ }
+ },
+ "CreateNodeRegistrationScriptRequest": {
+ "base": "Used in the CreateNodeRegistrationScript operation.",
+ "refs": {
+ }
+ },
+ "CreateNodeRegistrationScriptResult": {
+ "base": "Contains the response for CreateNodeRegistrationScript.",
+ "refs": {
+ }
+ },
+ "CreateNodeRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "DescribeAnywhereSettings": {
+ "base": "Elemental anywhere settings",
+ "refs": {
+ "Channel$AnywhereSettings": "Anywhere settings for this channel.",
+ "ChannelSummary$AnywhereSettings": "AnywhereSettings settings for this channel."
+ }
+ },
+ "DescribeChannelPlacementGroupResult": {
+ "base": "Contains the response for CreateChannelPlacementGroup, DescribeChannelPlacementGroup, DeleteChannelPlacementGroup, UpdateChannelPlacementGroup",
+ "refs": {
+ }
+ },
+ "DescribeChannelPlacementGroupSummary": {
+ "base": "Contains the response for ListChannelPlacementGroups",
+ "refs": {
+ "__listOfDescribeChannelPlacementGroupSummary$member": null
+ }
+ },
+ "DescribeClusterResult": {
+ "base": "Contains the response for CreateCluster, DescribeCluster, DeleteCluster, UpdateCluster",
+ "refs": {
+ }
+ },
+ "DescribeClusterSummary": {
+ "base": "Used in ListClustersResult.",
+ "refs": {
+ "__listOfDescribeClusterSummary$member": null
+ }
+ },
+ "DescribeNetworkResult": {
+ "base": "Contains the response for CreateNetwork, DescribeNetwork, DeleteNetwork, UpdateNetwork.",
+ "refs": {
+ }
+ },
+ "DescribeNetworkSummary": {
+ "base": "Used in ListNetworksResult.",
+ "refs": {
+ "__listOfDescribeNetworkSummary$member": null
+ }
+ },
+ "DescribeNodeResult": {
+ "base": "Contains the response for CreateNode, DescribeNode, DeleteNode, UpdateNode",
+ "refs": {
+ }
+ },
+ "DescribeNodeSummary": {
+ "base": null,
+ "refs": {
+ "__listOfDescribeNodeSummary$member": null
+ }
+ },
+ "InputDestinationRoute": {
+ "base": "A network route configuration.",
+ "refs": {
+ "__listOfInputDestinationRoute$member": null
+ }
+ },
+ "InputNetworkLocation": {
+ "base": "With the introduction of MediaLive Anywhere, a MediaLive input can now exist in two different places: AWS or\ninside an on-premises datacenter. By default all inputs will continue to be AWS inputs.",
+ "refs": {
+ "CreateInput$InputNetworkLocation": "The location of this input. AWS, for an input existing in the AWS Cloud, On-Prem for\nan input in a customer network.",
+ "Input$InputNetworkLocation": "The location of this input. AWS, for an input existing in the AWS Cloud, On-Prem for\nan input in a customer network."
+ }
+ },
+ "InputRequestDestinationRoute": {
+ "base": "A network route configuration.",
+ "refs": {
+ "__listOfInputRequestDestinationRoute$member": null
+ }
+ },
+ "InterfaceMapping": {
+ "base": "Used in ClusterNetworkSettings",
+ "refs": {
+ "__listOfInterfaceMapping$member": null
+ }
+ },
+ "InterfaceMappingCreateRequest": {
+ "base": "Used in ClusterNetworkSettingsCreateRequest.",
+ "refs": {
+ "__listOfInterfaceMappingCreateRequest$member": null
+ }
+ },
+ "InterfaceMappingUpdateRequest": {
+ "base": null,
+ "refs": {
+ "__listOfInterfaceMappingUpdateRequest$member": null
+ }
+ },
+ "IpPool": {
+ "base": "Used in DescribeNetworkResult, DescribeNetworkSummary, UpdateNetworkResult.",
+ "refs": {
+ "__listOfIpPool$member": null
+ }
+ },
+ "IpPoolCreateRequest": {
+ "base": "Used in CreateNetworkRequest.",
+ "refs": {
+ "__listOfIpPoolCreateRequest$member": null
+ }
+ },
+ "IpPoolUpdateRequest": {
+ "base": "Used in UpdateNetworkRequest.",
+ "refs": {
+ "__listOfIpPoolUpdateRequest$member": null
+ }
+ },
+ "ListChannelPlacementGroupsResult": {
+ "base": "Contains the response for ListChannelPlacementGroups.",
+ "refs": {
+ }
+ },
+ "ListClustersResult": {
+ "base": "Contains the response for ListClusters.",
+ "refs": {
+ }
+ },
+ "ListNetworksResult": {
+ "base": "Contains the response for ListNetworks",
+ "refs": {
+ }
+ },
+ "ListNodesResult": {
+ "base": "Contains the response for ListNodes.",
+ "refs": {
+ }
+ },
+ "MulticastInputSettings": {
+ "base": "Multicast-specific input settings.",
+ "refs": {
+ "NetworkInputSettings$MulticastInputSettings": "Specifies multicast input settings when the uri is for a multicast event."
+ }
+ },
+ "MulticastSettings": {
+ "base": "Settings for a Multicast input. Contains a list of multicast Urls and optional source ip addresses.",
+ "refs": {
+ "Input$MulticastSettings": "Multicast Input settings."
+ }
+ },
+ "MulticastSettingsCreateRequest": {
+ "base": "Settings for a Multicast input. Contains a list of multicast Urls and optional source ip addresses.",
+ "refs": {
+ "CreateInput$MulticastSettings": "Multicast Input settings."
+ }
+ },
+ "MulticastSettingsUpdateRequest": {
+ "base": "Settings for a Multicast input. Contains a list of multicast Urls and optional source ip addresses.",
+ "refs": {
+ "UpdateInput$MulticastSettings": "Multicast Input settings."
+ }
+ },
+ "MulticastSource": {
+ "base": "Pair of multicast url and source ip address (optional) that make up a multicast source.",
+ "refs": {
+ "__listOfMulticastSource$member": null
+ }
+ },
+ "MulticastSourceCreateRequest": {
+ "base": "Pair of multicast url and source ip address (optional) that make up a multicast source.",
+ "refs": {
+ "__listOfMulticastSourceCreateRequest$member": null
+ }
+ },
+ "MulticastSourceUpdateRequest": {
+ "base": "Pair of multicast url and source ip address (optional) that make up a multicast source.",
+ "refs": {
+ "__listOfMulticastSourceUpdateRequest$member": null
+ }
+ },
+ "NetworkInterfaceMode": {
+ "base": "Used in NodeInterfaceMapping and NodeInterfaceMappingCreateRequest",
+ "refs": {
+ "NodeInterfaceMapping$NetworkInterfaceMode": null,
+ "NodeInterfaceMappingCreateRequest$NetworkInterfaceMode": "The style of the network -- NAT or BRIDGE."
+ }
+ },
+ "NetworkState": {
+ "base": "Used in DescribeNetworkResult, DescribeNetworkSummary, UpdateNetworkResult.",
+ "refs": {
+ "DescribeNetworkResult$State": "The current state of the Network. Only MediaLive Anywhere can change the state.",
+ "DescribeNetworkSummary$State": "The current state of the Network. Only MediaLive Anywhere can change the state.",
+ "UpdateNetworkResult$State": "The current state of the Network. Only MediaLive Anywhere can change the state."
+ }
+ },
+ "NodeConfigurationValidationError": {
+ "base": "Details about a configuration error on the Node.",
+ "refs": {
+ }
+ },
+ "NodeConnectionState": {
+ "base": "Used in DescribeNodeSummary.",
+ "refs": {
+ "DescribeNodeResult$ConnectionState": "The current connection state of the Node.",
+ "DescribeNodeSummary$ConnectionState": "The current connection state of the Node."
+ }
+ },
+ "NodeInterfaceMapping": {
+ "base": "A mapping that's used to pair a logical network interface name on a Node with the physical interface name exposed in the operating system.",
+ "refs": {
+ "__listOfNodeInterfaceMapping$member": null
+ }
+ },
+ "NodeInterfaceMappingCreateRequest": {
+ "base": "Used in CreateNodeRequest.",
+ "refs": {
+ "__listOfNodeInterfaceMappingCreateRequest$member": null
+ }
+ },
+ "NodeRole": {
+ "base": "Used in CreateNodeRequest, CreateNodeRegistrationScriptRequest, DescribeNodeResult, DescribeNodeSummary, UpdateNodeRequest.",
+ "refs": {
+ "CreateNodeRegistrationScriptRequest$Role": "The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.",
+ "CreateNodeRequest$Role": "The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.",
+ "DescribeNodeResult$Role": "The initial role current role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.",
+ "DescribeNodeSummary$Role": "The initial role current role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.",
+ "UpdateNodeRequest$Role": "The initial role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails."
+ }
+ },
+ "NodeState": {
+ "base": "Used in DescribeNodeSummary.",
+ "refs": {
+ "DescribeNodeResult$State": "The current state of the Node.",
+ "DescribeNodeSummary$State": "The current state of the Node."
+ }
+ },
+ "Route": {
+ "base": "Used in DescribeNetworkResult, DescribeNetworkSummary, UpdateNetworkResult.",
+ "refs": {
+ "__listOfRoute$member": null
+ }
+ },
+ "RouteCreateRequest": {
+ "base": "Used in CreateNetworkRequest.",
+ "refs": {
+ "__listOfRouteCreateRequest$member": null
+ }
+ },
+ "RouteUpdateRequest": {
+ "base": "Used in UpdateNetworkRequest.",
+ "refs": {
+ "__listOfRouteUpdateRequest$member": null
+ }
+ },
+ "SrtEncryptionType": {
+ "base": "Srt Encryption Type",
+ "refs": {
+ "SrtOutputSettings$EncryptionType": "The encryption level for the content. Valid values are AES128, AES192, AES256. You and the downstream system should plan how to set this field because the values must not conflict with each other."
+ }
+ },
+ "SrtGroupSettings": {
+ "base": "Srt Group Settings",
+ "refs": {
+ "OutputGroupSettings$SrtGroupSettings": null
+ }
+ },
+ "SrtOutputDestinationSettings": {
+ "base": null,
+ "refs": {
+ "__listOfSrtOutputDestinationSettings$member": null
+ }
+ },
+ "SrtOutputSettings": {
+ "base": "Srt Output Settings",
+ "refs": {
+ "OutputSettings$SrtOutputSettings": null
+ }
+ },
+ "UpdateChannelPlacementGroupRequest": {
+ "base": "Used in the UpdateChannelPlacementGroup operation.",
+ "refs": {
+ }
+ },
+ "UpdateClusterRequest": {
+ "base": "Used in the UpdatedCluster operation.",
+ "refs": {
+ }
+ },
+ "UpdateClusterResult": {
+ "base": "The name that you specified for the Cluster.",
+ "refs": {
+ }
+ },
+ "UpdateNetworkRequest": {
+ "base": "Used in the UpdateNetwork operation.",
+ "refs": {
+ }
+ },
+ "UpdateNetworkResult": {
+ "base": "Contains the response for the UpdateNetwork",
+ "refs": {
+ }
+ },
+ "UpdateNodeRequest": {
+ "base": "Used in the UpdateNode operation.",
+ "refs": {
+ }
+ },
+ "UpdateNodeState": {
+ "base": "Used in UpdateNodeStateRequest.",
+ "refs": {
+ "UpdateNodeStateRequest$State": "The state to apply to the Node. Set to ACTIVE (COMMISSIONED) to indicate that the Node is deployable. MediaLive Anywhere will consider this node it needs a Node to run a Channel on, or when it needs a Node to promote from a backup node to an active node. Set to DRAINING to isolate the Node so that MediaLive Anywhere won't use it."
+ }
+ },
+ "UpdateNodeStateRequest": {
+ "base": "Used in the UpdateNode operation.",
+ "refs": {
+ }
+ },
+ "__integerMin40Max16000": {
+ "base": null,
+ "refs": {
+ "SrtOutputSettings$Latency": "The latency value, in milliseconds, that is proposed during the SRT connection handshake. SRT will choose the maximum of the values proposed by the sender and receiver. On the sender side, latency is the amount of time a packet is held to give it a chance to be delivered successfully. On the receiver side, latency is the amount of time the packet is held before delivering to the application, aiding in packet recovery and matching as closely as possible the packet timing of the sender. Range: 40-16000 milliseconds."
+ }
+ },
+ "__integerMin50000Max16000000": {
+ "base": null,
+ "refs": {
+ "Av1Settings$BufSize": "The size of the buffer (HRD buffer model) in bits."
+ }
+ },
+ "__integerMin50000Max8000000": {
+ "base": null,
+ "refs": {
+ "Av1Settings$MaxBitrate": "The maximum bitrate to assign.\nFor recommendations, see the description for qvbrQualityLevel."
+ }
+ },
+ "__listOfDescribeChannelPlacementGroupSummary": {
+ "base": null,
+ "refs": {
+ "ListChannelPlacementGroupsResult$ChannelPlacementGroups": "An array of ChannelPlacementGroups that exist in the Cluster."
+ }
+ },
+ "__listOfDescribeClusterSummary": {
+ "base": null,
+ "refs": {
+ "ListClustersResult$Clusters": "A list of the Clusters that exist in your AWS account."
+ }
+ },
+ "__listOfDescribeNetworkSummary": {
+ "base": null,
+ "refs": {
+ "ListNetworksResult$Networks": "An array of networks that you have created."
+ }
+ },
+ "__listOfDescribeNodeSummary": {
+ "base": null,
+ "refs": {
+ "ListNodesResult$Nodes": "An array of Nodes that exist in the Cluster."
+ }
+ },
+ "__listOfInputDestinationRoute": {
+ "base": null,
+ "refs": {
+ "InputDestination$NetworkRoutes": "If the push input has an input location of ON-PREM it's a requirement to specify what the route of the input\nis going to be on the customer local network."
+ }
+ },
+ "__listOfInputRequestDestinationRoute": {
+ "base": null,
+ "refs": {
+ "InputDestinationRequest$NetworkRoutes": "If the push input has an input location of ON-PREM it's a requirement to specify what the route of the input\nis going to be on the customer local network."
+ }
+ },
+ "__listOfInterfaceMapping": {
+ "base": null,
+ "refs": {
+ "ClusterNetworkSettings$InterfaceMappings": "An array of interfaceMapping objects for this Cluster. Each mapping logically connects one interface on the nodes with one Network. You need only one mapping for each interface because all the Nodes share the mapping."
+ }
+ },
+ "__listOfInterfaceMappingCreateRequest": {
+ "base": null,
+ "refs": {
+ "ClusterNetworkSettingsCreateRequest$InterfaceMappings": "An array of interfaceMapping objects for this Cluster. You must create a mapping for node interfaces that you plan to use for encoding traffic. You typically don't create a mapping for the management interface. You define this mapping in the Cluster so that the mapping can be used by all the Nodes. Each mapping logically connects one interface on the nodes with one Network. Each mapping consists of a pair of parameters. The logicalInterfaceName parameter creates a logical name for the Node interface that handles a specific type of traffic. For example, my-Inputs-Interface. The networkID parameter refers to the ID of the network. When you create the Nodes in this Cluster, you will associate the logicalInterfaceName with the appropriate physical interface."
+ }
+ },
+ "__listOfInterfaceMappingUpdateRequest": {
+ "base": null,
+ "refs": {
+ "ClusterNetworkSettingsUpdateRequest$InterfaceMappings": "An array of interfaceMapping objects for this Cluster. Include this parameter only if you want to change the interface mappings for the Cluster. Typically, you change the interface mappings only to fix an error you made when creating the mapping. In an update request, make sure that you enter the entire set of mappings again, not just the mappings that you want to add or change. You define this mapping so that the mapping can be used by all the Nodes. Each mapping logically connects one interface on the nodes with one Network. Each mapping consists of a pair of parameters. The logicalInterfaceName parameter creates a logical name for the Node interface that handles a specific type of traffic. For example, my-Inputs-Interface. The networkID parameter refers to the ID of the network. When you create the Nodes in this Cluster, you will associate the logicalInterfaceName with the appropriate physical interface."
+ }
+ },
+ "__listOfIpPool": {
+ "base": null,
+ "refs": {
+ "DescribeNetworkResult$IpPools": "An array of IpPools in your organization's network that identify a collection of IP addresses in this network that are reserved for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPool specifies one CIDR block.",
+ "DescribeNetworkSummary$IpPools": "An array of IpPools in your organization's network that identify a collection of IP addresses in your organization's network that are reserved for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPool specifies one CIDR block.",
+ "UpdateNetworkResult$IpPools": "An array of IpPools in your organization's network that identify a collection of IP addresses in this network that are reserved for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPool specifies one CIDR block."
+ }
+ },
+ "__listOfIpPoolCreateRequest": {
+ "base": null,
+ "refs": {
+ "CreateNetworkRequest$IpPools": "An array of IpPoolCreateRequests that identify a collection of IP addresses in your network that you want to reserve for use in MediaLive Anywhere. MediaLiveAnywhere uses these IP addresses for Push inputs (in both Bridge and NATnetworks) and for output destinations (only in Bridge networks). EachIpPoolUpdateRequest specifies one CIDR block."
+ }
+ },
+ "__listOfIpPoolUpdateRequest": {
+ "base": null,
+ "refs": {
+ "UpdateNetworkRequest$IpPools": "Include this parameter only if you want to change the pool of IP addresses in the network. An array of IpPoolCreateRequests that identify a collection of IP addresses in this network that you want to reserve for use in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses for Push inputs (in both Bridge and NAT networks) and for output destinations (only in Bridge networks). Each IpPoolUpdateRequest specifies one CIDR block."
+ }
+ },
+ "__listOfMulticastSource": {
+ "base": null,
+ "refs": {
+ "MulticastSettings$Sources": null
+ }
+ },
+ "__listOfMulticastSourceCreateRequest": {
+ "base": null,
+ "refs": {
+ "MulticastSettingsCreateRequest$Sources": null
+ }
+ },
+ "__listOfMulticastSourceUpdateRequest": {
+ "base": null,
+ "refs": {
+ "MulticastSettingsUpdateRequest$Sources": null
+ }
+ },
+ "__listOfNodeInterfaceMapping": {
+ "base": null,
+ "refs": {
+ "CreateNodeRegistrationScriptRequest$NodeInterfaceMappings": "An array of interface mappings for the Node. Each mapping logically connects one physical interface on the node hardware with one logical interface name. This mapping associates a node interface with a network. The association works as follows: Node physicalInterfaceName > Node logicalInterfaceName = Cluster logicalInterfaceName > networkId.",
+ "DescribeNodeResult$NodeInterfaceMappings": "An array of interface mappings for the Node. Each mapping logically connects one physical interface on the node hardware with one logical interface name.\nThis mapping associates a node interface with a network. The association works as follows: Node physicalInterfaceName > Node logicalInterfaceName = Cluster logicalInterfaceName > networkId.",
+ "DescribeNodeSummary$NodeInterfaceMappings": "An array of interface mappings for the Node. Each mapping logically connects one physical interface on the node hardware with one logical interface name. This mapping associates a node interface with a network. The association works as follows: Node physicalInterfaceName > Node logicalInterfaceName = Cluster logicalInterfaceName > networkId."
+ }
+ },
+ "__listOfNodeInterfaceMappingCreateRequest": {
+ "base": null,
+ "refs": {
+ "CreateNodeRequest$NodeInterfaceMappings": "An array of interface mappings for the Node. Each mapping logically connects one physical interface on the node hardware with one logical interface name. You created the logical names in the logicalInterfaceName parameter when you created the Cluster. Create one mapping for each physical interface on the node, but only for node interfaces that you plan to use for encoding content traffic (and not for any management-only interface). In each mapping pair, we recommend that you specify the logical name first, then assign the physical name that applies.The physicalInterfaceName is the final piece of data that associates a node interface with a network. The association works as follows: Node physicalInterfaceName > Node logicalInterfaceName = Cluster logicalInterfaceName > networkId."
+ }
+ },
+ "__listOfRoute": {
+ "base": null,
+ "refs": {
+ "DescribeNetworkResult$Routes": "An array of routes that MediaLive Anywhere needs to know about in order to route encoding traffic.",
+ "DescribeNetworkSummary$Routes": "An array of routes that MediaLive Anywhere needs to know about in order to route encoding traffic.",
+ "UpdateNetworkResult$Routes": "An array of Routes that MediaLive Anywhere needs to know about in order to route encoding traffic."
+ }
+ },
+ "__listOfRouteCreateRequest": {
+ "base": null,
+ "refs": {
+ "CreateNetworkRequest$Routes": "An array of routes that MediaLive Anywhere needs to know about in order to route encoding traffic."
+ }
+ },
+ "__listOfRouteUpdateRequest": {
+ "base": null,
+ "refs": {
+ "UpdateNetworkRequest$Routes": "Include this parameter only if you want to change or add routes in the Network. An array of Routes that MediaLive Anywhere needs to know about in order to route encoding traffic."
+ }
+ },
+ "__listOfSrtOutputDestinationSettings": {
+ "base": null,
+ "refs": {
+ "OutputDestination$SrtSettings": "SRT settings for an SRT output; one destination for each redundant encoder."
+ }
+ },
+ "BandwidthReductionFilterSettings": {
+ "base": "Bandwidth Reduction Filter Settings",
+ "refs": {
+ "H264FilterSettings$BandwidthReductionFilterSettings": null,
+ "H265FilterSettings$BandwidthReductionFilterSettings": null
+ }
+ },
+ "BandwidthReductionFilterStrength": {
+ "base": "Bandwidth Reduction Filter Strength",
+ "refs": {
+ "BandwidthReductionFilterSettings$Strength": "Enables the bandwidth reduction filter. The filter strengths range from 1 to 4. We recommend that you always\nenable this filter and use AUTO, to let MediaLive apply the optimum filtering for the context."
+ }
+ },
+ "BandwidthReductionPostFilterSharpening": {
+ "base": "Bandwidth Reduction Post Filter Sharpening",
+ "refs": {
+ "BandwidthReductionFilterSettings$PostFilterSharpening": "Configures the sharpening control, which is available when the bandwidth reduction filter is enabled. This\ncontrol sharpens edges and contours, which produces a specific artistic effect that you might want.\n\nWe recommend that you test each of the values (including DISABLED) to observe the sharpening effect on the\ncontent."
+ }
+ },
+ "MultiplexContainerSettings": {
+ "base": "Multiplex Container Settings",
+ "refs": {
+ "MultiplexOutputSettings$ContainerSettings": null
+ }
+ },
+ "MultiplexM2tsSettings": {
+ "base": "Multiplex M2ts Settings",
+ "refs": {
+ "MultiplexContainerSettings$MultiplexM2tsSettings": null
+ }
}
},
"documentation": "API for AWS Elemental MediaLive"
diff --git a/apis/medialive/2017-10-14/paginators-1.json b/apis/medialive/2017-10-14/paginators-1.json
index 2047b6faf6e..ff4d731face 100644
--- a/apis/medialive/2017-10-14/paginators-1.json
+++ b/apis/medialive/2017-10-14/paginators-1.json
@@ -89,6 +89,30 @@
"output_token": "NextToken",
"limit_key": "MaxResults",
"result_key": "EventBridgeRuleTemplateGroups"
+ },
+ "ListNodes": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Nodes"
+ },
+ "ListClusters": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Clusters"
+ },
+ "ListChannelPlacementGroups": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "ChannelPlacementGroups"
+ },
+ "ListNetworks": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Networks"
}
}
}
diff --git a/apis/medialive/2017-10-14/waiters-2.json b/apis/medialive/2017-10-14/waiters-2.json
index dcff01bb8d9..d95e09abe9f 100644
--- a/apis/medialive/2017-10-14/waiters-2.json
+++ b/apis/medialive/2017-10-14/waiters-2.json
@@ -421,6 +421,204 @@
"expected": "UPDATE_REVERTED"
}
]
+ },
+ "ClusterCreated": {
+ "description": "Wait until a cluster has been created",
+ "operation": "DescribeCluster",
+ "delay": 3,
+ "maxAttempts": 5,
+ "acceptors": [
+ {
+ "state": "success",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "ACTIVE"
+ },
+ {
+ "state": "retry",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "CREATING"
+ },
+ {
+ "state": "retry",
+ "matcher": "status",
+ "expected": 500
+ },
+ {
+ "state": "failure",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "CREATE_FAILED"
+ }
+ ]
+ },
+ "ClusterDeleted": {
+ "description": "Wait until a cluster has been deleted",
+ "operation": "DescribeCluster",
+ "delay": 5,
+ "maxAttempts": 20,
+ "acceptors": [
+ {
+ "state": "success",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "DELETED"
+ },
+ {
+ "state": "retry",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "DELETING"
+ },
+ {
+ "state": "retry",
+ "matcher": "status",
+ "expected": 500
+ }
+ ]
+ },
+ "NodeRegistered": {
+ "description": "Wait until a node has been registered",
+ "operation": "DescribeNode",
+ "delay": 3,
+ "maxAttempts": 5,
+ "acceptors": [
+ {
+ "state": "success",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "ACTIVE"
+ },
+ {
+ "state": "retry",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "REGISTERING"
+ },
+ {
+ "state": "retry",
+ "matcher": "status",
+ "expected": 404
+ },
+ {
+ "state": "failure",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "REGISTRATION_FAILED"
+ },
+ {
+ "state": "retry",
+ "matcher": "status",
+ "expected": 500
+ }
+ ]
+ },
+ "NodeDeregistered": {
+ "description": "Wait until a node has been deregistered",
+ "operation": "DescribeNode",
+ "delay": 5,
+ "maxAttempts": 20,
+ "acceptors": [
+ {
+ "state": "success",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "DEREGISTERED"
+ },
+ {
+ "state": "retry",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "DEREGISTERING"
+ },
+ {
+ "state": "retry",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "DRAINING"
+ },
+ {
+ "state": "retry",
+ "matcher": "status",
+ "expected": 500
+ }
+ ]
+ },
+ "ChannelPlacementGroupAssigned": {
+ "description": "Wait until the channel placement group has been assigned",
+ "operation": "DescribeChannelPlacementGroup",
+ "delay": 3,
+ "maxAttempts": 5,
+ "acceptors": [
+ {
+ "state": "success",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "ASSIGNED"
+ },
+ {
+ "state": "retry",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "ASSIGNING"
+ },
+ {
+ "state": "retry",
+ "matcher": "status",
+ "expected": 500
+ }
+ ]
+ },
+ "ChannelPlacementGroupUnassigned": {
+ "description": "Wait until the channel placement group has been unassigned",
+ "operation": "DescribeChannelPlacementGroup",
+ "delay": 5,
+ "maxAttempts": 20,
+ "acceptors": [
+ {
+ "state": "success",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "UNASSIGNED"
+ },
+ {
+ "state": "retry",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "UNASSIGNING"
+ },
+ {
+ "state": "retry",
+ "matcher": "status",
+ "expected": 500
+ }
+ ]
+ },
+ "ChannelPlacementGroupDeleted": {
+ "description": "Wait until the channel placement group has been deleted",
+ "operation": "DescribeChannelPlacementGroup",
+ "delay": 5,
+ "maxAttempts": 20,
+ "acceptors": [
+ {
+ "state": "success",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "DELETED"
+ },
+ {
+ "state": "retry",
+ "matcher": "path",
+ "argument": "State",
+ "expected": "DELETING"
+ },
+ {
+ "state": "retry",
+ "matcher": "status",
+ "expected": 500
+ }
+ ]
}
}
}
diff --git a/apis/models.lex.v2/2020-08-07/api-2.json b/apis/models.lex.v2/2020-08-07/api-2.json
index 03fc7c0eccb..84d215053ad 100644
--- a/apis/models.lex.v2/2020-08-07/api-2.json
+++ b/apis/models.lex.v2/2020-08-07/api-2.json
@@ -9604,7 +9604,9 @@
"type":"string",
"enum":[
"standard",
- "neural"
+ "neural",
+ "long-form",
+ "generative"
]
},
"VoiceId":{"type":"string"},
diff --git a/apis/models.lex.v2/2020-08-07/docs-2.json b/apis/models.lex.v2/2020-08-07/docs-2.json
index 53695cab502..07989f5c60f 100644
--- a/apis/models.lex.v2/2020-08-07/docs-2.json
+++ b/apis/models.lex.v2/2020-08-07/docs-2.json
@@ -6154,7 +6154,7 @@
}
},
"VoiceSettings": {
- "base": "Defines settings for using an Amazon Polly voice to communicate with a user.
",
+ "base": "Defines settings for using an Amazon Polly voice to communicate with a user.
Valid values include:
-
standard
-
neural
-
long-form
-
generative
",
"refs": {
"BotLocaleImportSpecification$voiceSettings": null,
"CreateBotLocaleRequest$voiceSettings": "The Amazon Polly voice ID that Amazon Lex uses for voice interaction with the user.
",
diff --git a/apis/organizations/2016-11-28/docs-2.json b/apis/organizations/2016-11-28/docs-2.json
index 203dffcf444..0c78ed505bb 100644
--- a/apis/organizations/2016-11-28/docs-2.json
+++ b/apis/organizations/2016-11-28/docs-2.json
@@ -5,8 +5,8 @@
"AcceptHandshake": "Sends a response to the originator of a handshake agreeing to the action proposed by the handshake request.
You can only call this operation by the following principals when they also have the relevant IAM permissions:
-
Invitation to join or Approve all features request handshakes: only a principal from the member account.
The user who calls the API for an invitation to join must have the organizations:AcceptHandshake
permission. If you enabled all features in the organization, the user must also have the iam:CreateServiceLinkedRole
permission so that Organizations can create the required service-linked role named AWSServiceRoleForOrganizations
. For more information, see Organizations and service-linked roles in the Organizations User Guide.
-
Enable all features final confirmation handshake: only a principal from the management account.
For more information about invitations, see Inviting an Amazon Web Services account to join your organization in the Organizations User Guide. For more information about requests to enable all features in the organization, see Enabling all features in your organization in the Organizations User Guide.
After you accept a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that, it's deleted.
",
"AttachPolicy": "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": "Cancels a handshake. Canceling a handshake sets the handshake state to CANCELED
.
This operation can be called only from the account that originated the handshake. The recipient of the handshake can't cancel it, but can use DeclineHandshake instead. After a handshake is canceled, the recipient can no longer respond to that handshake.
After you cancel a handshake, it continues to appear in the results of relevant APIs for only 30 days. After that, it's deleted.
",
- "CloseAccount": "Closes an Amazon Web Services member account within an organization. You can close an account when all features are enabled . You can't close the management account with this API. This is an asynchronous request that Amazon Web Services performs in the background. Because CloseAccount
operates asynchronously, it can return a successful completion message even though account closure might still be in progress. You need to wait a few minutes before the account is fully closed. To check the status of the request, do one of the following:
-
Use the AccountId
that you sent in the CloseAccount
request to provide as a parameter to the DescribeAccount operation.
While the close account request is in progress, Account status will indicate PENDING_CLOSURE. When the close account request completes, the status will change to SUSPENDED.
-
Check the CloudTrail log for the CloseAccountResult
event that gets published after the account closes successfully. For information on using CloudTrail with Organizations, see Logging and monitoring in Organizations in the Organizations User Guide.
-
You can close only 10% of member accounts, between 10 and 1000, within a rolling 30 day period. This quota is not bound by a calendar month, but starts when you close an account. After you reach this limit, you can close additional accounts. For more information, see Closing a member account in your organization and Quotas for Organizationsin the Organizations User Guide.
-
To reinstate a closed account, contact Amazon Web Services Support within the 90-day grace period while the account is in SUSPENDED status.
-
If the Amazon Web Services account you attempt to close is linked to an Amazon Web Services GovCloud (US) account, the CloseAccount
request will close both accounts. To learn important pre-closure details, see Closing an Amazon Web Services GovCloud (US) account in the Amazon Web Services GovCloud User Guide.
",
- "CreateAccount": "Creates an Amazon Web Services account that is automatically a member of the organization whose credentials made the request. This is an asynchronous request that Amazon Web Services performs in the background. Because CreateAccount
operates asynchronously, it can return a successful completion message even though account initialization might still be in progress. You might need to wait a few minutes before you can successfully access the account. To check the status of the request, do one of the following:
-
Use the Id
value of the CreateAccountStatus
response element from this operation to provide as a parameter to the DescribeCreateAccountStatus operation.
-
Check the CloudTrail log for the CreateAccountResult
event. For information on using CloudTrail with Organizations, see Logging and monitoring in Organizations in the Organizations User Guide.
The user who calls the API to create an account must have the organizations:CreateAccount
permission. If you enabled all features in the organization, Organizations creates the required service-linked role named AWSServiceRoleForOrganizations
. For more information, see Organizations and service-linked roles in the Organizations User Guide.
If the request includes tags, then the requester must have the organizations:TagResource
permission.
Organizations preconfigures the new member account with a role (named OrganizationAccountAccessRole
by default) that grants users in the management account administrator permissions in the new member account. Principals in the management account can assume the role. Organizations clones the company name and address information for the new account from the organization's management account.
This operation can be called only from the organization's management account.
For more information about creating accounts, see Creating a member account in your organization in the Organizations User Guide.
-
When you create an account in an organization using the Organizations console, API, or CLI commands, the information required for the account to operate as a standalone account, such as a payment method is not automatically collected. If you must remove an account from your organization later, you can do so only after you provide the missing information. For more information, see Considerations before removing an account from an organization in the Organizations User Guide.
-
If you get an exception that indicates that you exceeded your account limits for the organization, contact Amazon Web Services Support.
-
If you get an exception that indicates that the operation failed because your organization is still initializing, wait one hour and then try again. If the error persists, contact Amazon Web Services Support.
-
Using CreateAccount
to create multiple temporary accounts isn't recommended. You can only close an account from the Billing and Cost Management console, and you must be signed in as the root user. For information on the requirements and process for closing an account, see Closing a member account in your organization in the Organizations User Guide.
When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable it, only the account root user can access billing information. For information about how to disable this switch for an account, see Granting access to your billing information and tools.
",
+ "CloseAccount": "Closes an Amazon Web Services member account within an organization. You can close an account when all features are enabled . You can't close the management account with this API. This is an asynchronous request that Amazon Web Services performs in the background. Because CloseAccount
operates asynchronously, it can return a successful completion message even though account closure might still be in progress. You need to wait a few minutes before the account is fully closed. To check the status of the request, do one of the following:
-
Use the AccountId
that you sent in the CloseAccount
request to provide as a parameter to the DescribeAccount operation.
While the close account request is in progress, Account status will indicate PENDING_CLOSURE. When the close account request completes, the status will change to SUSPENDED.
-
Check the CloudTrail log for the CloseAccountResult
event that gets published after the account closes successfully. For information on using CloudTrail with Organizations, see Logging and monitoring in Organizations in the Organizations User Guide.
-
You can close only 10% of member accounts, between 10 and 1000, within a rolling 30 day period. This quota is not bound by a calendar month, but starts when you close an account. After you reach this limit, you can't close additional accounts. For more information, see Closing a member account in your organization and Quotas for Organizations in the Organizations User Guide.
-
To reinstate a closed account, contact Amazon Web Services Support within the 90-day grace period while the account is in SUSPENDED status.
-
If the Amazon Web Services account you attempt to close is linked to an Amazon Web Services GovCloud (US) account, the CloseAccount
request will close both accounts. To learn important pre-closure details, see Closing an Amazon Web Services GovCloud (US) account in the Amazon Web Services GovCloud User Guide.
",
+ "CreateAccount": "Creates an Amazon Web Services account that is automatically a member of the organization whose credentials made the request. This is an asynchronous request that Amazon Web Services performs in the background. Because CreateAccount
operates asynchronously, it can return a successful completion message even though account initialization might still be in progress. You might need to wait a few minutes before you can successfully access the account. To check the status of the request, do one of the following:
-
Use the Id
value of the CreateAccountStatus
response element from this operation to provide as a parameter to the DescribeCreateAccountStatus operation.
-
Check the CloudTrail log for the CreateAccountResult
event. For information on using CloudTrail with Organizations, see Logging and monitoring in Organizations in the Organizations User Guide.
The user who calls the API to create an account must have the organizations:CreateAccount
permission. If you enabled all features in the organization, Organizations creates the required service-linked role named AWSServiceRoleForOrganizations
. For more information, see Organizations and service-linked roles in the Organizations User Guide.
If the request includes tags, then the requester must have the organizations:TagResource
permission.
Organizations preconfigures the new member account with a role (named OrganizationAccountAccessRole
by default) that grants users in the management account administrator permissions in the new member account. Principals in the management account can assume the role. Organizations clones the company name and address information for the new account from the organization's management account.
This operation can be called only from the organization's management account.
For more information about creating accounts, see Creating a member account in your organization in the Organizations User Guide.
-
When you create an account in an organization using the Organizations console, API, or CLI commands, the information required for the account to operate as a standalone account, such as a payment method is not automatically collected. If you must remove an account from your organization later, you can do so only after you provide the missing information. For more information, see Considerations before removing an account from an organization in the Organizations User Guide.
-
If you get an exception that indicates that you exceeded your account limits for the organization, contact Amazon Web Services Support.
-
If you get an exception that indicates that the operation failed because your organization is still initializing, wait one hour and then try again. If the error persists, contact Amazon Web Services Support.
-
It isn't recommended to use CreateAccount
to create multiple temporary accounts, and using the CreateAccount
API to close accounts is subject to a 30-day usage quota. For information on the requirements and process for closing an account, see Closing a member account in your organization in the Organizations User Guide.
When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable it, only the account root user can access billing information. For information about how to disable this switch for an account, see Granting access to your billing information and tools.
",
"CreateGovCloudAccount": "This action is available if all of the following are true:
-
You're authorized to create accounts in the Amazon Web Services GovCloud (US) Region. For more information on the Amazon Web Services GovCloud (US) Region, see the Amazon Web Services GovCloud User Guide.
-
You already have an account in the Amazon Web Services GovCloud (US) Region that is paired with a management account of an organization in the commercial Region.
-
You call this action from the management account of your organization in the commercial Region.
-
You have the organizations:CreateGovCloudAccount
permission.
Organizations automatically creates the required service-linked role named AWSServiceRoleForOrganizations
. For more information, see Organizations and service-linked roles in the Organizations User Guide.
Amazon Web Services automatically enables CloudTrail for Amazon Web Services GovCloud (US) accounts, but you should also do the following:
-
Verify that CloudTrail is enabled to store logs.
-
Create an Amazon S3 bucket for CloudTrail log storage.
For more information, see Verifying CloudTrail Is Enabled in the Amazon Web Services GovCloud User Guide.
If the request includes tags, then the requester must have the organizations:TagResource
permission. The tags are attached to the commercial account associated with the GovCloud account, rather than the GovCloud account itself. To add tags to the GovCloud account, call the TagResource operation in the GovCloud Region after the new GovCloud account exists.
You call this action from the management account of your organization in the commercial Region to create a standalone Amazon Web Services account in the Amazon Web Services GovCloud (US) Region. After the account is created, the management account of an organization in the Amazon Web Services GovCloud (US) Region can invite it to that organization. For more information on inviting standalone accounts in the Amazon Web Services GovCloud (US) to join an organization, see Organizations in the Amazon Web Services GovCloud User Guide.
Calling CreateGovCloudAccount
is an asynchronous request that Amazon Web Services performs in the background. Because CreateGovCloudAccount
operates asynchronously, it can return a successful completion message even though account initialization might still be in progress. You might need to wait a few minutes before you can successfully access the account. To check the status of the request, do one of the following:
When you call the CreateGovCloudAccount
action, you create two accounts: a standalone account in the Amazon Web Services GovCloud (US) Region and an associated account in the commercial Region for billing and support purposes. The account in the commercial Region is automatically a member of the organization whose credentials made the request. Both accounts are associated with the same email address.
A role is created in the new account in the commercial Region that allows the management account in the organization in the commercial Region to assume it. An Amazon Web Services GovCloud (US) account is then created and associated with the commercial account that you just created. A role is also created in the new Amazon Web Services GovCloud (US) account that can be assumed by the Amazon Web Services GovCloud (US) account that is associated with the management account of the commercial organization. For more information and to view a diagram that explains how account access works, see Organizations in the Amazon Web Services GovCloud User Guide.
For more information about creating accounts, see Creating a member account in your organization in the Organizations User Guide.
-
When you create an account in an organization using the Organizations console, API, or CLI commands, the information required for the account to operate as a standalone account is not automatically collected. This includes a payment method and signing the end user license agreement (EULA). If you must remove an account from your organization later, you can do so only after you provide the missing information. For more information, see Considerations before removing an account from an organization in the Organizations User Guide.
-
If you get an exception that indicates that you exceeded your account limits for the organization, contact Amazon Web Services Support.
-
If you get an exception that indicates that the operation failed because your organization is still initializing, wait one hour and then try again. If the error persists, contact Amazon Web Services Support.
-
Using CreateGovCloudAccount
to create multiple temporary accounts isn't recommended. You can only close an account from the Amazon Web Services Billing and Cost Management console, and you must be signed in as the root user. For information on the requirements and process for closing an account, see Closing a member account in your organization in the Organizations User Guide.
When you create a member account with this operation, you can choose whether to create the account with the IAM User and Role Access to Billing Information switch enabled. If you enable it, IAM users and roles that have appropriate permissions can view billing information for the account. If you disable it, only the account root user can access billing information. For information about how to disable this switch for an account, see Granting access to your billing information and tools.
",
"CreateOrganization": "Creates an Amazon Web Services organization. The account whose user is calling the CreateOrganization
operation automatically becomes the management account of the new organization.
This operation must be called using credentials from the account that is to become the new organization's management account. The principal must also have the relevant IAM permissions.
By default (or if you set the FeatureSet
parameter to ALL
), the new organization is created with all features enabled and service control policies automatically enabled in the root. If you instead choose to create the organization supporting only the consolidated billing features by setting the FeatureSet
parameter to CONSOLIDATED_BILLING
, no policy types are enabled by default and you can't use organization policies.
",
"CreateOrganizationalUnit": "Creates an organizational unit (OU) within a root or parent OU. An OU is a container for accounts that enables you to organize your accounts to apply policies according to your business requirements. The number of levels deep that you can nest OUs is dependent upon the policy types enabled for that root. For service control policies, the limit is five.
For more information about OUs, see Managing organizational units (OUs) in the Organizations User Guide.
If the request includes tags, then the requester must have the organizations:TagResource
permission.
This operation can be called only from the organization's management account.
",
@@ -28,11 +28,11 @@
"DetachPolicy": "Detaches a policy from a target root, organizational unit (OU), or account.
If the policy being detached is a service control policy (SCP), the changes to permissions for Identity and Access Management (IAM) users and roles in affected accounts are immediate.
Every root, OU, and account must have at least one SCP attached. If you want to replace the default FullAWSAccess
policy with an SCP that limits the permissions that can be delegated, you must attach the replacement SCP before you can remove the default SCP. This is the authorization strategy of an \"allow list\". If you instead attach a second SCP and leave the FullAWSAccess
SCP still attached, and specify \"Effect\": \"Deny\"
in the second SCP to override the \"Effect\": \"Allow\"
in the FullAWSAccess
policy (or any other attached SCP), you're using the authorization strategy of a \"deny list\".
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.
",
"DisableAWSServiceAccess": "Disables the integration of an Amazon Web Services service (the service that is specified by ServicePrincipal
) with Organizations. When you disable integration, the specified service no longer can create a service-linked role in new accounts in your organization. This means the service can't perform operations on your behalf on any new accounts in your organization. The service can still perform operations in older accounts until the service completes its clean-up from Organizations.
We strongly recommend that you don't use this command to disable integration between Organizations and the specified Amazon Web Services service. Instead, use the console or commands that are provided by the specified service. This lets the trusted service perform any required initialization when enabling trusted access, such as creating any required resources and any required clean up of resources when disabling trusted access.
For information about how to disable trusted service access to your organization using the trusted service, see the Learn more link under the Supports Trusted Access column at Amazon Web Services services that you can use with Organizations. on this page.
If you disable access by using this command, it causes the following actions to occur:
-
The service can no longer create a service-linked role in the accounts in your organization. This means that the service can't perform operations on your behalf on any new accounts in your organization. The service can still perform operations in older accounts until the service completes its clean-up from Organizations.
-
The service can no longer perform tasks in the member accounts in the organization, unless those operations are explicitly permitted by the IAM policies that are attached to your roles. This includes any data aggregation from the member accounts to the management account, or to a delegated administrator account, where relevant.
-
Some services detect this and clean up any remaining data or resources related to the integration, while other services stop accessing the organization but leave any historical data and configuration in place to support a possible re-enabling of the integration.
Using the other service's console or commands to disable the integration ensures that the other service is aware that it can clean up any resources that are required only for the integration. How the service cleans up its resources in the organization's accounts depends on that service. For more information, see the documentation for the other Amazon Web Services service.
After you perform the DisableAWSServiceAccess
operation, the specified service can no longer perform operations in your organization's accounts
For more information about integrating other services with Organizations, including the list of services that work with Organizations, see Using Organizations with other Amazon Web Services services in the Organizations User Guide.
This operation can be called only from the organization's management account.
",
"DisablePolicyType": "Disables an organizational policy type in a root. A policy of a certain type can be attached to entities in a root only if that type is enabled in the root. After you perform this operation, you no longer can attach policies of the specified type to that root or to any organizational unit (OU) or account in that root. You can undo this by using the EnablePolicyType operation.
This is an asynchronous request that Amazon Web Services performs in the background. If you disable a policy type for a root, it still appears enabled for the organization if all features are enabled for the organization. Amazon Web Services recommends that you first use ListRoots to see the status of policy types for a specified root, and then use this operation.
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.
To view the status of available policy types in the organization, use DescribeOrganization.
",
- "EnableAWSServiceAccess": "Enables the integration of an Amazon Web Services service (the service that is specified by ServicePrincipal
) with Organizations. When you enable integration, you allow the specified service to create a service-linked role in all the accounts in your organization. This allows the service to perform operations on your behalf in your organization and its accounts.
We recommend that you enable integration between Organizations and the specified Amazon Web Services service by using the console or commands that are provided by the specified service. Doing so ensures that the service is aware that it can create the resources that are required for the integration. How the service creates those resources in the organization's accounts depends on that service. For more information, see the documentation for the other Amazon Web Services service.
For more information about enabling services to integrate with Organizations, see Using Organizations with other Amazon Web Services services in the Organizations User Guide.
You can only call this operation from the organization's management account and only if the organization has enabled all features.
",
+ "EnableAWSServiceAccess": "Provides an Amazon Web Services service (the service that is specified by ServicePrincipal
) with permissions to view the structure of an organization, create a service-linked role in all the accounts in the organization, and allow the service to perform operations on behalf of the organization and its accounts. Establishing these permissions can be a first step in enabling the integration of an Amazon Web Services service with Organizations.
We recommend that you enable integration between Organizations and the specified Amazon Web Services service by using the console or commands that are provided by the specified service. Doing so ensures that the service is aware that it can create the resources that are required for the integration. How the service creates those resources in the organization's accounts depends on that service. For more information, see the documentation for the other Amazon Web Services service.
For more information about enabling services to integrate with Organizations, see Using Organizations with other Amazon Web Services services in the Organizations User Guide.
You can only call this operation from the organization's management account and only if the organization has enabled all features.
",
"EnableAllFeatures": "Enables all features in an organization. This enables the use of organization policies that can restrict the services and actions that can be called in each account. Until you enable all features, you have access only to consolidated billing, and you can't use any of the advanced account administration features that Organizations supports. For more information, see Enabling all features in your organization in the Organizations User Guide.
This operation is required only for organizations that were created explicitly with only the consolidated billing features enabled. Calling this operation sends a handshake to every invited account in the organization. The feature set change can be finalized and the additional features enabled only after all administrators in the invited accounts approve the change by accepting the handshake.
After you enable all features, you can separately enable or disable individual policy types in a root using EnablePolicyType and DisablePolicyType. To see the status of policy types in a root, use ListRoots.
After all invited member accounts accept the handshake, you finalize the feature set change by accepting the handshake that contains \"Action\": \"ENABLE_ALL_FEATURES\"
. This completes the change.
After you enable all features in your organization, the management account in the organization can apply policies on all member accounts. These policies can restrict what users and even administrators in those accounts can do. The management account can apply policies that prevent accounts from leaving the organization. Ensure that your account administrators are aware of this.
This operation can be called only from the organization's management account.
",
"EnablePolicyType": "Enables a policy type in a root. After you enable a policy type in a root, you can attach policies of that type to the root, any organizational unit (OU), or account in that root. You can undo this by using the DisablePolicyType operation.
This is an asynchronous request that Amazon Web Services performs in the background. Amazon Web Services recommends that you first use ListRoots to see the status of policy types for a specified root, and then use this operation.
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.
You can enable a policy type in a root only if that policy type is available in the organization. To view the status of available policy types in the organization, use DescribeOrganization.
",
"InviteAccountToOrganization": "Sends an invitation to another account to join your organization as a member account. Organizations sends email on your behalf to the email address that is associated with the other account's owner. The invitation is implemented as a Handshake whose details are in the response.
-
You can invite Amazon Web Services accounts only from the same seller as the management account. For example, if your organization's management account was created by Amazon Internet Services Pvt. Ltd (AISPL), an Amazon Web Services seller in India, you can invite only other AISPL accounts to your organization. You can't combine accounts from AISPL and Amazon Web Services or from any other Amazon Web Services seller. For more information, see Consolidated billing in India.
-
If you receive an exception that indicates that you exceeded your account limits for the organization or that the operation failed because your organization is still initializing, wait one hour and then try again. If the error persists after an hour, contact Amazon Web Services Support.
If the request includes tags, then the requester must have the organizations:TagResource
permission.
This operation can be called only from the organization's management account.
",
- "LeaveOrganization": "Removes a member account from its parent organization. This version of the operation is performed by the account that wants to leave. To remove a member account as a user in the management account, use RemoveAccountFromOrganization instead.
This operation can be called only from a member account in the organization.
-
The management account in an organization with all features enabled can set service control policies (SCPs) that can restrict what administrators of member accounts can do. This includes preventing them from successfully calling LeaveOrganization
and leaving the organization.
-
You can leave an organization as a member account only if the account is configured with the information required to operate as a standalone account. When you create an account in an organization using the Organizations console, API, or CLI commands, the information required of standalone accounts is not automatically collected. For each account that you want to make standalone, you must perform the following steps. If any of the steps are already completed for this account, that step doesn't appear.
Amazon Web Services uses the payment method to charge for any billable (not free tier) Amazon Web Services activity that occurs while the account isn't attached to an organization. For more information, see Considerations before removing an account from an organization in the Organizations User Guide.
-
The account that you want to leave must not be a delegated administrator account for any Amazon Web Services service enabled for your organization. If the account is a delegated administrator, you must first change the delegated administrator account to another account that is remaining in the organization.
-
You can leave an organization only after you enable IAM user access to billing in your account. For more information, see About IAM access to the Billing and Cost Management console in the Amazon Web Services Billing and Cost Management User Guide.
-
After the account leaves the organization, all tags that were attached to the account object in the organization are deleted. Amazon Web Services accounts outside of an organization do not support tags.
-
A newly created account has a waiting period before it can be removed from its organization. If you get an error that indicates that a wait period is required, then try again in a few days.
-
If you are using an organization principal to call LeaveOrganization
across multiple accounts, you can only do this up to 5 accounts per second in a single organization.
",
+ "LeaveOrganization": "Removes a member account from its parent organization. This version of the operation is performed by the account that wants to leave. To remove a member account as a user in the management account, use RemoveAccountFromOrganization instead.
This operation can be called only from a member account in the organization.
-
The management account in an organization with all features enabled can set service control policies (SCPs) that can restrict what administrators of member accounts can do. This includes preventing them from successfully calling LeaveOrganization
and leaving the organization.
-
You can leave an organization as a member account only if the account is configured with the information required to operate as a standalone account. When you create an account in an organization using the Organizations console, API, or CLI commands, the information required of standalone accounts is not automatically collected. For each account that you want to make standalone, you must perform the following steps. If any of the steps are already completed for this account, that step doesn't appear.
Amazon Web Services uses the payment method to charge for any billable (not free tier) Amazon Web Services activity that occurs while the account isn't attached to an organization. For more information, see Considerations before removing an account from an organization in the Organizations User Guide.
-
The account that you want to leave must not be a delegated administrator account for any Amazon Web Services service enabled for your organization. If the account is a delegated administrator, you must first change the delegated administrator account to another account that is remaining in the organization.
-
You can leave an organization only after you enable IAM user access to billing in your account. For more information, see About IAM access to the Billing and Cost Management console in the Amazon Web Services Billing and Cost Management User Guide.
-
After the account leaves the organization, all tags that were attached to the account object in the organization are deleted. Amazon Web Services accounts outside of an organization do not support tags.
-
A newly created account has a waiting period before it can be removed from its organization. You must wait until at least seven days after the account was created. Invited accounts aren't subject to this waiting period.
-
If you are using an organization principal to call LeaveOrganization
across multiple accounts, you can only do this up to 5 accounts per second in a single organization.
",
"ListAWSServiceAccessForOrganization": "Returns a list of the Amazon Web Services services that you enabled to integrate with your organization. After a service on this list creates the resources that it requires for the integration, it can perform operations on your organization and its accounts.
For more information about integrating other services with Organizations, including the list of services that currently work with Organizations, see Using Organizations with other Amazon Web Services services in the Organizations User Guide.
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.
",
"ListAccounts": "Lists all the accounts in the organization. To request only the accounts in a specified root or organizational unit (OU), use the ListAccountsForParent operation instead.
Always check the NextToken
response parameter for a null
value when calling a List*
operation. These operations can occasionally return an empty set of results even when there are more results available. The NextToken
response parameter value is null
only when there are no more results to display.
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.
",
"ListAccountsForParent": "Lists the accounts in an organization that are contained by the specified target root or organizational unit (OU). If you specify the root, you get a list of all the accounts that aren't in any OU. If you specify an OU, you get a list of all the accounts in only that OU and not in any child OUs. To get a list of all accounts in the organization, use the ListAccounts operation.
Always check the NextToken
response parameter for a null
value when calling a List*
operation. These operations can occasionally return an empty set of results even when there are more results available. The NextToken
response parameter value is null
only when there are no more results to display.
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.
",
@@ -255,7 +255,7 @@
}
},
"ConstraintViolationException": {
- "base": "Performing this operation violates a minimum or maximum value limit. For example, attempting to remove the last service control policy (SCP) from an OU or root, inviting or creating too many accounts to the organization, or attaching too many policies to an account, OU, or root. 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.
-
ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management account from the organization. You can't remove the management account. Instead, after you remove all member accounts, delete the organization itself.
-
ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an account from the organization that doesn't yet have enough information to exist as a standalone account. This account requires you to first complete phone verification. Follow the steps at Removing a member account from your organization in the Organizations User Guide.
-
ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of accounts that you can create in one day.
-
ACCOUNT_CREATION_NOT_COMPLETE: Your account setup isn't complete or your account isn't fully active. You must complete the account setup before you create an organization.
-
ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number of accounts in an organization. If you need more accounts, contact Amazon Web Services Support to request an increase in your limit.
Or the number of invitations that you tried to send would cause you to exceed the limit of accounts in your organization. Send fewer invitations or contact Amazon Web Services Support to request an increase in the number of accounts.
Deleted and closed accounts still count toward your limit.
If you get this exception when running a command immediately after creating the organization, wait one hour and try again. After an hour, if the command continues to fail with this error, contact Amazon Web Services Support.
-
CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot register a suspended account as a delegated administrator.
-
CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register the management account of the organization as a delegated administrator for an Amazon Web Services service integrated with Organizations. You can designate only a member account as a delegated administrator.
-
CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management account. To close the management account for the organization, you must first either remove or close all member accounts in the organization. Follow standard account closure process using root credentials.
-
CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove an account that is registered as a delegated administrator for a service integrated with your organization. To complete this operation, you must first deregister this account as a delegated administrator.
-
CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota for the past 30 days.
-
CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number of accounts that you can close at a time.
-
CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an organization in the specified region, you must enable all features mode.
-
DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register an Amazon Web Services account as a delegated administrator for an Amazon Web Services service that already has a delegated administrator. To complete this operation, you must first deregister any existing delegated administrators for this service.
-
EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for a limited period of time. You must resubmit the request and generate a new verfication code.
-
HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of handshakes that you can send in one day.
-
INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see Managing your Amazon Web Services payments.
-
MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace.
-
MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support.
-
MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must first provide a valid contact address and phone number for the management account. Then try the operation again.
-
MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the management account must have an associated account in the Amazon Web Services GovCloud (US-West) Region. For more information, see Organizations in the Amazon Web Services GovCloud User Guide.
-
MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with this management account, you first must associate a valid payment instrument, such as a credit card, with the account. For more information, see Considerations before removing an account from an organization in the Organizations User Guide.
-
MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to register more delegated administrators than allowed for the service principal.
-
MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the number of policies of a certain type that can be attached to an entity at one time.
-
MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed on this resource.
-
MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with this member account, you first must associate a valid payment instrument, such as a credit card, with the account. For more information, see Considerations before removing an account from an organization in the Organizations User Guide.
-
MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy from an entity that would cause the entity to have fewer than the minimum number of policies of a certain type required.
-
ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation that requires the organization to be configured to support all features. An organization that supports only consolidated billing features can't perform this operation.
-
OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is too many levels deep.
-
OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs that you can have in an organization.
-
POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that is larger than the maximum size.
-
POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of policies that you can have in an organization.
-
SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator before you enabled service access. Call the EnableAWSServiceAccess
API first.
-
TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags that are not compliant with the tag policy requirements for this account.
-
WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, there is a waiting period before you can remove it from the organization. If you get an error that indicates that a wait period is required, try again in a few days.
",
+ "base": "Performing this operation violates a minimum or maximum value limit. For example, attempting to remove the last service control policy (SCP) from an OU or root, inviting or creating too many accounts to the organization, or attaching too many policies to an account, OU, or root. 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.
-
ACCOUNT_CANNOT_LEAVE_ORGANIZATION: You attempted to remove the management account from the organization. You can't remove the management account. Instead, after you remove all member accounts, delete the organization itself.
-
ACCOUNT_CANNOT_LEAVE_WITHOUT_PHONE_VERIFICATION: You attempted to remove an account from the organization that doesn't yet have enough information to exist as a standalone account. This account requires you to first complete phone verification. Follow the steps at Removing a member account from your organization in the Organizations User Guide.
-
ACCOUNT_CREATION_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of accounts that you can create in one day.
-
ACCOUNT_CREATION_NOT_COMPLETE: Your account setup isn't complete or your account isn't fully active. You must complete the account setup before you create an organization.
-
ACCOUNT_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the limit on the number of accounts in an organization. If you need more accounts, contact Amazon Web Services Support to request an increase in your limit.
Or the number of invitations that you tried to send would cause you to exceed the limit of accounts in your organization. Send fewer invitations or contact Amazon Web Services Support to request an increase in the number of accounts.
Deleted and closed accounts still count toward your limit.
If you get this exception when running a command immediately after creating the organization, wait one hour and try again. After an hour, if the command continues to fail with this error, contact Amazon Web Services Support.
-
CANNOT_REGISTER_SUSPENDED_ACCOUNT_AS_DELEGATED_ADMINISTRATOR: You cannot register a suspended account as a delegated administrator.
-
CANNOT_REGISTER_MASTER_AS_DELEGATED_ADMINISTRATOR: You attempted to register the management account of the organization as a delegated administrator for an Amazon Web Services service integrated with Organizations. You can designate only a member account as a delegated administrator.
-
CANNOT_CLOSE_MANAGEMENT_ACCOUNT: You attempted to close the management account. To close the management account for the organization, you must first either remove or close all member accounts in the organization. Follow standard account closure process using root credentials.
-
CANNOT_REMOVE_DELEGATED_ADMINISTRATOR_FROM_ORG: You attempted to remove an account that is registered as a delegated administrator for a service integrated with your organization. To complete this operation, you must first deregister this account as a delegated administrator.
-
CLOSE_ACCOUNT_QUOTA_EXCEEDED: You have exceeded close account quota for the past 30 days.
-
CLOSE_ACCOUNT_REQUESTS_LIMIT_EXCEEDED: You attempted to exceed the number of accounts that you can close at a time.
-
CREATE_ORGANIZATION_IN_BILLING_MODE_UNSUPPORTED_REGION: To create an organization in the specified region, you must enable all features mode.
-
DELEGATED_ADMINISTRATOR_EXISTS_FOR_THIS_SERVICE: You attempted to register an Amazon Web Services account as a delegated administrator for an Amazon Web Services service that already has a delegated administrator. To complete this operation, you must first deregister any existing delegated administrators for this service.
-
EMAIL_VERIFICATION_CODE_EXPIRED: The email verification code is only valid for a limited period of time. You must resubmit the request and generate a new verfication code.
-
HANDSHAKE_RATE_LIMIT_EXCEEDED: You attempted to exceed the number of handshakes that you can send in one day.
-
INVALID_PAYMENT_INSTRUMENT: You cannot remove an account because no supported payment method is associated with the account. Amazon Web Services does not support cards issued by financial institutions in Russia or Belarus. For more information, see Managing your Amazon Web Services payments.
-
MASTER_ACCOUNT_ADDRESS_DOES_NOT_MATCH_MARKETPLACE: To create an account in this organization, you first must migrate the organization's management account to the marketplace that corresponds to the management account's address. All accounts in an organization must be associated with the same marketplace.
-
MASTER_ACCOUNT_MISSING_BUSINESS_LICENSE: Applies only to the Amazon Web Services Regions in China. To create an organization, the master must have a valid business license. For more information, contact customer support.
-
MASTER_ACCOUNT_MISSING_CONTACT_INFO: To complete this operation, you must first provide a valid contact address and phone number for the management account. Then try the operation again.
-
MASTER_ACCOUNT_NOT_GOVCLOUD_ENABLED: To complete this operation, the management account must have an associated account in the Amazon Web Services GovCloud (US-West) Region. For more information, see Organizations in the Amazon Web Services GovCloud User Guide.
-
MASTER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To create an organization with this management account, you first must associate a valid payment instrument, such as a credit card, with the account. For more information, see Considerations before removing an account from an organization in the Organizations User Guide.
-
MAX_DELEGATED_ADMINISTRATORS_FOR_SERVICE_LIMIT_EXCEEDED: You attempted to register more delegated administrators than allowed for the service principal.
-
MAX_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to exceed the number of policies of a certain type that can be attached to an entity at one time.
-
MAX_TAG_LIMIT_EXCEEDED: You have exceeded the number of tags allowed on this resource.
-
MEMBER_ACCOUNT_PAYMENT_INSTRUMENT_REQUIRED: To complete this operation with this member account, you first must associate a valid payment instrument, such as a credit card, with the account. For more information, see Considerations before removing an account from an organization in the Organizations User Guide.
-
MIN_POLICY_TYPE_ATTACHMENT_LIMIT_EXCEEDED: You attempted to detach a policy from an entity that would cause the entity to have fewer than the minimum number of policies of a certain type required.
-
ORGANIZATION_NOT_IN_ALL_FEATURES_MODE: You attempted to perform an operation that requires the organization to be configured to support all features. An organization that supports only consolidated billing features can't perform this operation.
-
OU_DEPTH_LIMIT_EXCEEDED: You attempted to create an OU tree that is too many levels deep.
-
OU_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of OUs that you can have in an organization.
-
POLICY_CONTENT_LIMIT_EXCEEDED: You attempted to create a policy that is larger than the maximum size.
-
POLICY_NUMBER_LIMIT_EXCEEDED: You attempted to exceed the number of policies that you can have in an organization.
-
SERVICE_ACCESS_NOT_ENABLED: You attempted to register a delegated administrator before you enabled service access. Call the EnableAWSServiceAccess
API first.
-
TAG_POLICY_VIOLATION: You attempted to create or update a resource with tags that are not compliant with the tag policy requirements for this account.
-
WAIT_PERIOD_ACTIVE: After you create an Amazon Web Services account, you must wait until at least seven days after the account was created. Invited accounts aren't subject to this waiting period.
",
"refs": {
}
},
@@ -1067,7 +1067,7 @@
"base": "Contains details about an organization. An organization is a collection of accounts that are centrally managed together using consolidated billing, organized hierarchically with organizational units (OUs), and controlled with policies .
",
"refs": {
"CreateOrganizationResponse$Organization": "A structure that contains details about the newly created organization.
",
- "DescribeOrganizationResponse$Organization": "A structure that contains information about the organization.
The AvailablePolicyTypes
part of the response is deprecated, and you shouldn't use it in your apps. It doesn't include any policy type supported by Organizations other than SCPs. To determine which policy types are enabled in your organization, use the ListRoots
operation.
"
+ "DescribeOrganizationResponse$Organization": "A structure that contains information about the organization.
The AvailablePolicyTypes
part of the response is deprecated, and you shouldn't use it in your apps. It doesn't include any policy type supported by Organizations other than SCPs. In the China (Ningxia) Region, no policy type is included. To determine which policy types are enabled in your organization, use the ListRoots
operation.
"
}
},
"OrganizationArn": {
diff --git a/apis/organizations/2016-11-28/examples-1.json b/apis/organizations/2016-11-28/examples-1.json
index 8e39290e083..486bae2acd3 100644
--- a/apis/organizations/2016-11-28/examples-1.json
+++ b/apis/organizations/2016-11-28/examples-1.json
@@ -533,7 +533,7 @@
"output": {
}
},
- "description": "The following example shows how to request details about an OU:/n/n",
+ "description": "The following example shows how to request details about an OU:",
"id": "to-get-information-about-an-organizational-unit",
"title": "To get information about an organizational unit"
}
diff --git a/apis/pca-connector-scep/2018-05-10/api-2.json b/apis/pca-connector-scep/2018-05-10/api-2.json
index 15d651db8cb..f3fcd044f82 100644
--- a/apis/pca-connector-scep/2018-05-10/api-2.json
+++ b/apis/pca-connector-scep/2018-05-10/api-2.json
@@ -2,6 +2,7 @@
"version":"2.0",
"metadata":{
"apiVersion":"2018-05-10",
+ "auth":["aws.auth#sigv4"],
"endpointPrefix":"pca-connector-scep",
"protocol":"rest-json",
"protocols":["rest-json"],
diff --git a/apis/pca-connector-scep/2018-05-10/docs-2.json b/apis/pca-connector-scep/2018-05-10/docs-2.json
index 57d3a0488c2..a991a5e96e8 100644
--- a/apis/pca-connector-scep/2018-05-10/docs-2.json
+++ b/apis/pca-connector-scep/2018-05-10/docs-2.json
@@ -1,6 +1,6 @@
{
"version": "2.0",
- "service": " Connector for SCEP (Preview) is in preview release for Amazon Web Services Private Certificate Authority and is subject to change.
Connector for SCEP (Preview) creates a connector between Amazon Web Services Private CA and your SCEP-enabled clients and devices. For more information, see Connector for SCEP in the Amazon Web Services Private CA User Guide.
",
+ "service": "Connector for SCEP creates a connector between Amazon Web Services Private CA and your SCEP-enabled clients and devices. For more information, see Connector for SCEP in the Amazon Web Services Private CA User Guide.
",
"operations": {
"CreateChallenge": "For general-purpose connectors. Creates a challenge password for the specified connector. The SCEP protocol uses a challenge password to authenticate a request before issuing a certificate from a certificate authority (CA). Your SCEP clients include the challenge password as part of their certificate request to Connector for SCEP. To retrieve the connector Amazon Resource Names (ARNs) for the connectors in your account, call ListConnectors.
To create additional challenge passwords for the connector, call CreateChallenge
again. We recommend frequently rotating your challenge passwords.
",
"CreateConnector": "Creates a SCEP connector. A SCEP connector links Amazon Web Services Private Certificate Authority to your SCEP-compatible devices and mobile device management (MDM) systems. Before you create a connector, you must complete a set of prerequisites, including creation of a private certificate authority (CA) to use with this connector. For more information, see Connector for SCEP prerequisites.
",
diff --git a/apis/quicksight/2018-04-01/api-2.json b/apis/quicksight/2018-04-01/api-2.json
index 4922144f04d..1a134980b65 100644
--- a/apis/quicksight/2018-04-01/api-2.json
+++ b/apis/quicksight/2018-04-01/api-2.json
@@ -1901,6 +1901,24 @@
{"shape":"InternalFailureException"}
]
},
+ "ListFoldersForResource":{
+ "name":"ListFoldersForResource",
+ "http":{
+ "method":"GET",
+ "requestUri":"/accounts/{AwsAccountId}/resource/{ResourceArn}/folders"
+ },
+ "input":{"shape":"ListFoldersForResourceRequest"},
+ "output":{"shape":"ListFoldersForResourceResponse"},
+ "errors":[
+ {"shape":"InvalidParameterValueException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"InvalidNextTokenException"},
+ {"shape":"UnsupportedUserEditionException"},
+ {"shape":"InternalFailureException"}
+ ]
+ },
"ListGroupMemberships":{
"name":"ListGroupMemberships",
"http":{
@@ -5619,6 +5637,13 @@
"ColumnHierarchies":{"shape":"ColumnHierarchyList"}
}
},
+ "CommitMode":{
+ "type":"string",
+ "enum":[
+ "AUTO",
+ "MANUAL"
+ ]
+ },
"ComparativeOrder":{
"type":"structure",
"members":{
@@ -8063,7 +8088,8 @@
"type":"structure",
"members":{
"Type":{"shape":"SheetControlDateTimePickerType"},
- "DisplayOptions":{"shape":"DateTimePickerControlDisplayOptions"}
+ "DisplayOptions":{"shape":"DateTimePickerControlDisplayOptions"},
+ "CommitMode":{"shape":"CommitMode"}
}
},
"DefaultFilterControlConfiguration":{
@@ -8094,7 +8120,8 @@
"members":{
"DisplayOptions":{"shape":"DropDownControlDisplayOptions"},
"Type":{"shape":"SheetControlListType"},
- "SelectableValues":{"shape":"FilterSelectableValues"}
+ "SelectableValues":{"shape":"FilterSelectableValues"},
+ "CommitMode":{"shape":"CommitMode"}
}
},
"DefaultFilterListControlOptions":{
@@ -8150,7 +8177,8 @@
"DefaultRelativeDateTimeControlOptions":{
"type":"structure",
"members":{
- "DisplayOptions":{"shape":"RelativeDateTimeControlDisplayOptions"}
+ "DisplayOptions":{"shape":"RelativeDateTimeControlDisplayOptions"},
+ "CommitMode":{"shape":"CommitMode"}
}
},
"DefaultSectionBasedLayoutConfiguration":{
@@ -11126,7 +11154,8 @@
"Title":{"shape":"SheetControlTitle"},
"SourceFilterId":{"shape":"ShortRestrictiveResourceId"},
"DisplayOptions":{"shape":"DateTimePickerControlDisplayOptions"},
- "Type":{"shape":"SheetControlDateTimePickerType"}
+ "Type":{"shape":"SheetControlDateTimePickerType"},
+ "CommitMode":{"shape":"CommitMode"}
}
},
"FilterDropDownControl":{
@@ -11143,7 +11172,8 @@
"DisplayOptions":{"shape":"DropDownControlDisplayOptions"},
"Type":{"shape":"SheetControlListType"},
"SelectableValues":{"shape":"FilterSelectableValues"},
- "CascadingControlConfiguration":{"shape":"CascadingControlConfiguration"}
+ "CascadingControlConfiguration":{"shape":"CascadingControlConfiguration"},
+ "CommitMode":{"shape":"CommitMode"}
}
},
"FilterGroup":{
@@ -11246,7 +11276,8 @@
"FilterControlId":{"shape":"ShortRestrictiveResourceId"},
"Title":{"shape":"SheetControlTitle"},
"SourceFilterId":{"shape":"ShortRestrictiveResourceId"},
- "DisplayOptions":{"shape":"RelativeDateTimeControlDisplayOptions"}
+ "DisplayOptions":{"shape":"RelativeDateTimeControlDisplayOptions"},
+ "CommitMode":{"shape":"CommitMode"}
}
},
"FilterScopeConfiguration":{
@@ -11413,6 +11444,11 @@
"RESTRICTED"
]
},
+ "FoldersForResourceArnList":{
+ "type":"list",
+ "member":{"shape":"Arn"},
+ "max":20
+ },
"Font":{
"type":"structure",
"members":{
@@ -13618,6 +13654,48 @@
"RequestId":{"shape":"String"}
}
},
+ "ListFoldersForResourceRequest":{
+ "type":"structure",
+ "required":[
+ "AwsAccountId",
+ "ResourceArn"
+ ],
+ "members":{
+ "AwsAccountId":{
+ "shape":"AwsAccountId",
+ "location":"uri",
+ "locationName":"AwsAccountId"
+ },
+ "ResourceArn":{
+ "shape":"Arn",
+ "location":"uri",
+ "locationName":"ResourceArn"
+ },
+ "NextToken":{
+ "shape":"String",
+ "location":"querystring",
+ "locationName":"next-token"
+ },
+ "MaxResults":{
+ "shape":"MaxResults",
+ "box":true,
+ "location":"querystring",
+ "locationName":"max-results"
+ }
+ }
+ },
+ "ListFoldersForResourceResponse":{
+ "type":"structure",
+ "members":{
+ "Status":{
+ "shape":"StatusCode",
+ "location":"statusCode"
+ },
+ "Folders":{"shape":"FoldersForResourceArnList"},
+ "NextToken":{"shape":"String"},
+ "RequestId":{"shape":"String"}
+ }
+ },
"ListFoldersRequest":{
"type":"structure",
"required":["AwsAccountId"],
@@ -15374,7 +15452,8 @@
"DisplayOptions":{"shape":"DropDownControlDisplayOptions"},
"Type":{"shape":"SheetControlListType"},
"SelectableValues":{"shape":"ParameterSelectableValues"},
- "CascadingControlConfiguration":{"shape":"CascadingControlConfiguration"}
+ "CascadingControlConfiguration":{"shape":"CascadingControlConfiguration"},
+ "CommitMode":{"shape":"CommitMode"}
}
},
"ParameterListControl":{
diff --git a/apis/quicksight/2018-04-01/docs-2.json b/apis/quicksight/2018-04-01/docs-2.json
index 423e01c81aa..f8b0d6103d1 100644
--- a/apis/quicksight/2018-04-01/docs-2.json
+++ b/apis/quicksight/2018-04-01/docs-2.json
@@ -109,6 +109,7 @@
"ListDataSources": "Lists data sources in current Amazon Web Services Region that belong to this Amazon Web Services account.
",
"ListFolderMembers": "List all assets (DASHBOARD
, ANALYSIS
, and DATASET
) in a folder.
",
"ListFolders": "Lists all folders in an account.
",
+ "ListFoldersForResource": "List all folders that a resource is a member of.
",
"ListGroupMemberships": "Lists member users in a group.
",
"ListGroups": "Lists all user groups in Amazon QuickSight.
",
"ListIAMPolicyAssignments": "Lists the IAM policy assignments in the current Amazon QuickSight account.
",
@@ -712,6 +713,7 @@
"Folder$Arn": "The Amazon Resource Name (ARN) for the folder.
",
"FolderArnList$member": null,
"FolderSummary$Arn": "The Amazon Resource Name (ARN) of the folder.
",
+ "FoldersForResourceArnList$member": null,
"GenerateEmbedUrlForAnonymousUserResponse$AnonymousUserArn": "The Amazon Resource Name (ARN) to use for the anonymous Amazon QuickSight user.
",
"GenerateEmbedUrlForRegisteredUserRequest$UserArn": "The Amazon Resource Name for the registered user.
",
"GetDashboardEmbedUrlRequest$UserArn": "The Amazon QuickSight user's Amazon Resource Name (ARN), for use with QUICKSIGHT
identity type. You can use this for any Amazon QuickSight users in your account (readers, authors, or admins) authenticated as one of the following:
-
Active Directory (AD) users or group members
-
Invited nonfederated users
-
IAM users and IAM role-based sessions authenticated through Federated Single Sign-On using SAML, OpenID Connect, or IAM federation.
Omit this parameter for users in the third group – IAM users and IAM role-based sessions.
",
@@ -720,6 +722,7 @@
"GroupMember$Arn": "The Amazon Resource Name (ARN) for the group member (user).
",
"IAMPolicyAssignment$PolicyArn": "The Amazon Resource Name (ARN) for the IAM policy.
",
"Ingestion$Arn": "The Amazon Resource Name (ARN) of the resource.
",
+ "ListFoldersForResourceRequest$ResourceArn": "The Amazon Resource Name (ARN) the resource whose folders you need to list.
",
"ListTagsForResourceRequest$ResourceArn": "The Amazon Resource Name (ARN) of the resource that you want a list of tags for.
",
"ListTopicRefreshSchedulesResponse$TopicArn": "The Amazon Resource Name (ARN) of the topic.
",
"ListTopicReviewedAnswersResponse$TopicArn": "The Amazon Resource Name (ARN) of the topic.
",
@@ -1622,6 +1625,7 @@
"ListDataSetsRequest$AwsAccountId": "The Amazon Web Services account ID.
",
"ListDataSourcesRequest$AwsAccountId": "The Amazon Web Services account ID.
",
"ListFolderMembersRequest$AwsAccountId": "The ID for the Amazon Web Services account that contains the folder.
",
+ "ListFoldersForResourceRequest$AwsAccountId": "The ID for the Amazon Web Services account that contains the resource.
",
"ListFoldersRequest$AwsAccountId": "The ID for the Amazon Web Services account that contains the folder.
",
"ListGroupMembershipsRequest$AwsAccountId": "The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
",
"ListGroupsRequest$AwsAccountId": "The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon QuickSight account.
",
@@ -2716,6 +2720,18 @@
"Visual$ComboChartVisual": "A combo chart.
For more information, see Using combo charts in the Amazon QuickSight User Guide.
"
}
},
+ "CommitMode": {
+ "base": null,
+ "refs": {
+ "DefaultDateTimePickerControlOptions$CommitMode": "The visibility configuration of the Apply button on a DateTimePickerControl
.
",
+ "DefaultFilterDropDownControlOptions$CommitMode": "The visibility configuration of the Apply button on a FilterDropDownControl
.
",
+ "DefaultRelativeDateTimeControlOptions$CommitMode": "The visibility configuration of the Apply button on a RelativeDateTimeControl
.
",
+ "FilterDateTimePickerControl$CommitMode": "The visibility configurationof the Apply button on a DateTimePickerControl
.
",
+ "FilterDropDownControl$CommitMode": "The visibility configuration of the Apply button on a FilterDropDownControl
.
",
+ "FilterRelativeDateTimeControl$CommitMode": "The visibility configuration of the Apply button on a FilterRelativeDateTimeControl
.
",
+ "ParameterDropDownControl$CommitMode": "The visibility configuration of the Apply button on a ParameterDropDownControl
.
"
+ }
+ },
"ComparativeOrder": {
"base": "A structure that represents a comparative order.
",
"refs": {
@@ -5731,6 +5747,12 @@
"FolderSummary$FolderType": "The type of folder.
"
}
},
+ "FoldersForResourceArnList": {
+ "base": null,
+ "refs": {
+ "ListFoldersForResourceResponse$Folders": "A list that contains the Amazon Resource Names (ARNs) of all folders that the resource is a member of.
"
+ }
+ },
"Font": {
"base": "Determines the font settings.
",
"refs": {
@@ -7382,6 +7404,16 @@
"refs": {
}
},
+ "ListFoldersForResourceRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListFoldersForResourceResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListFoldersRequest": {
"base": null,
"refs": {
@@ -7766,6 +7798,7 @@
"ListDataSetsRequest$MaxResults": "The maximum number of results to be returned per request.
",
"ListDataSourcesRequest$MaxResults": "The maximum number of results to be returned per request.
",
"ListFolderMembersRequest$MaxResults": "The maximum number of results to be returned per request.
",
+ "ListFoldersForResourceRequest$MaxResults": "The maximum number of results to be returned per request.
",
"ListFoldersRequest$MaxResults": "The maximum number of results to be returned per request.
",
"ListGroupMembershipsRequest$MaxResults": "The maximum number of results to return from this request.
",
"ListGroupsRequest$MaxResults": "The maximum number of results to return.
",
@@ -11161,6 +11194,7 @@
"ListDataSetsResponse$Status": "The HTTP status of the request.
",
"ListDataSourcesResponse$Status": "The HTTP status of the request.
",
"ListFolderMembersResponse$Status": "The HTTP status of the request.
",
+ "ListFoldersForResourceResponse$Status": "The HTTP status of the request.
",
"ListFoldersResponse$Status": "The HTTP status of the request.
",
"ListGroupMembershipsResponse$Status": "The HTTP status of the request.
",
"ListGroupsResponse$Status": "The HTTP status of the request.
",
@@ -11443,6 +11477,9 @@
"ListFolderMembersRequest$NextToken": "The token for the next set of results, or null if there are no more results.
",
"ListFolderMembersResponse$NextToken": "The token for the next set of results, or null if there are no more results.
",
"ListFolderMembersResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
+ "ListFoldersForResourceRequest$NextToken": "The token for the next set of results, or null if there are no more results.
",
+ "ListFoldersForResourceResponse$NextToken": "The token for the next set of results, or null if there are no more results.
",
+ "ListFoldersForResourceResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
"ListFoldersRequest$NextToken": "The token for the next set of results, or null if there are no more results.
",
"ListFoldersResponse$NextToken": "The token for the next set of results, or null if there are no more results.
",
"ListFoldersResponse$RequestId": "The Amazon Web Services request ID for this operation.
",
diff --git a/apis/quicksight/2018-04-01/paginators-1.json b/apis/quicksight/2018-04-01/paginators-1.json
index e310b5d69c0..1f4736f740d 100644
--- a/apis/quicksight/2018-04-01/paginators-1.json
+++ b/apis/quicksight/2018-04-01/paginators-1.json
@@ -66,6 +66,12 @@
"limit_key": "MaxResults",
"result_key": "FolderSummaryList"
},
+ "ListFoldersForResource": {
+ "input_token": "NextToken",
+ "output_token": "NextToken",
+ "limit_key": "MaxResults",
+ "result_key": "Folders"
+ },
"ListGroupMemberships": {
"input_token": "NextToken",
"output_token": "NextToken",
diff --git a/apis/rds/2014-10-31/api-2.json b/apis/rds/2014-10-31/api-2.json
index e70f2ff8962..b4ba927db20 100644
--- a/apis/rds/2014-10-31/api-2.json
+++ b/apis/rds/2014-10-31/api-2.json
@@ -3950,7 +3950,8 @@
"EngineLifecycleSupport":{"shape":"String"},
"DeletionProtection":{"shape":"BooleanOptional"},
"DatabaseName":{"shape":"String"},
- "StorageEncrypted":{"shape":"BooleanOptional"}
+ "StorageEncrypted":{"shape":"BooleanOptional"},
+ "Tags":{"shape":"TagList"}
}
},
"CreateGlobalClusterResult":{
@@ -6973,7 +6974,8 @@
"StorageEncrypted":{"shape":"BooleanOptional"},
"DeletionProtection":{"shape":"BooleanOptional"},
"GlobalClusterMembers":{"shape":"GlobalClusterMemberList"},
- "FailoverState":{"shape":"FailoverState"}
+ "FailoverState":{"shape":"FailoverState"},
+ "TagList":{"shape":"TagList"}
},
"wrapper":true
},
diff --git a/apis/rds/2014-10-31/docs-2.json b/apis/rds/2014-10-31/docs-2.json
index 83e06e6deff..76a7cf34b71 100644
--- a/apis/rds/2014-10-31/docs-2.json
+++ b/apis/rds/2014-10-31/docs-2.json
@@ -107,7 +107,7 @@
"EnableHttpEndpoint": "Enables the HTTP endpoint for the DB cluster. By default, the HTTP endpoint isn't enabled.
When enabled, this endpoint provides a connectionless web service API (RDS Data API) for running SQL queries on the Aurora DB cluster. You can also query your database from inside the RDS console with the RDS query editor.
For more information, see Using RDS Data API in the Amazon Aurora User Guide.
This operation applies only to Aurora PostgreSQL Serverless v2 and provisioned DB clusters. To enable the HTTP endpoint for Aurora Serverless v1 DB clusters, use the EnableHttpEndpoint
parameter of the ModifyDBCluster
operation.
",
"FailoverDBCluster": "Forces a failover for a DB cluster.
For an Aurora DB cluster, failover for a DB cluster promotes one of the Aurora Replicas (read-only instances) in the DB cluster to be the primary DB instance (the cluster writer).
For a Multi-AZ DB cluster, after RDS terminates the primary DB instance, the internal monitoring system detects that the primary DB instance is unhealthy and promotes a readable standby (read-only instances) in the DB cluster to be the primary DB instance (the cluster writer). Failover times are typically less than 35 seconds.
An Amazon Aurora DB cluster automatically fails over to an Aurora Replica, if one exists, when the primary DB instance fails. A Multi-AZ DB cluster automatically fails over to a readable standby DB instance when the primary DB instance fails.
To simulate a failure of a primary instance for testing, you can force a failover. Because each instance in a DB cluster has its own endpoint address, make sure to clean up and re-establish any existing connections that use those endpoint addresses when the failover is complete.
For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? in the Amazon Aurora User Guide.
For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide.
",
"FailoverGlobalCluster": "Promotes the specified secondary DB cluster to be the primary DB cluster in the global database cluster to fail over or switch over a global database. Switchover operations were previously called \"managed planned failovers.\"
Although this operation can be used either to fail over or to switch over a global database cluster, its intended use is for global database failover. To switch over a global database cluster, we recommend that you use the SwitchoverGlobalCluster operation instead.
How you use this operation depends on whether you are failing over or switching over your global database cluster:
-
Failing over - Specify the AllowDataLoss
parameter and don't specify the Switchover
parameter.
-
Switching over - Specify the Switchover
parameter or omit it, but don't specify the AllowDataLoss
parameter.
About failing over and switching over
While failing over and switching over a global database cluster both change the primary DB cluster, you use these operations for different reasons:
-
Failing over - Use this operation to respond to an unplanned event, such as a Regional disaster in the primary Region. Failing over can result in a loss of write transaction data that wasn't replicated to the chosen secondary before the failover event occurred. However, the recovery process that promotes a DB instance on the chosen seconday DB cluster to be the primary writer DB instance guarantees that the data is in a transactionally consistent state.
For more information about failing over an Amazon Aurora global database, see Performing managed failovers for Aurora global databases in the Amazon Aurora User Guide.
-
Switching over - Use this operation on a healthy global database cluster for planned events, such as Regional rotation or to fail back to the original primary DB cluster after a failover operation. With this operation, there is no data loss.
For more information about switching over an Amazon Aurora global database, see Performing switchovers for Aurora global databases in the Amazon Aurora User Guide.
",
- "ListTagsForResource": "Lists all tags on an Amazon RDS resource.
For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
",
+ "ListTagsForResource": "Lists all tags on an Amazon RDS resource.
For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS Resources in the Amazon Aurora User Guide.
",
"ModifyActivityStream": "Changes the audit policy state of a database activity stream to either locked (default) or unlocked. A locked policy is read-only, whereas an unlocked policy is read/write. If your activity stream is started and locked, you can unlock it, customize your audit policy, and then lock your activity stream. Restarting the activity stream isn't required. For more information, see Modifying a database activity stream in the Amazon RDS User Guide.
This operation is supported for RDS for Oracle and Microsoft SQL Server.
",
"ModifyCertificates": "Override the system-default Secure Sockets Layer/Transport Layer Security (SSL/TLS) certificate for Amazon RDS for new DB instances, or remove the override.
By using this operation, you can specify an RDS-approved SSL/TLS certificate for new DB instances that is different from the default certificate provided by RDS. You can also use this operation to remove the override, so that new DB instances use the default certificate provided by RDS.
You might need to override the default certificate in the following situations:
-
You already migrated your applications to support the latest certificate authority (CA) certificate, but the new CA certificate is not yet the RDS default CA certificate for the specified Amazon Web Services Region.
-
RDS has already moved to a new default CA certificate for the specified Amazon Web Services Region, but you are still in the process of supporting the new CA certificate. In this case, you temporarily need additional time to finish your application changes.
For more information about rotating your SSL/TLS certificate for RDS DB engines, see Rotating Your SSL/TLS Certificate in the Amazon RDS User Guide.
For more information about rotating your SSL/TLS certificate for Aurora DB engines, see Rotating Your SSL/TLS Certificate in the Amazon Aurora User Guide.
",
"ModifyCurrentDBClusterCapacity": "Set the capacity of an Aurora Serverless v1 DB cluster to a specific value.
Aurora Serverless v1 scales seamlessly based on the workload on the DB cluster. In some cases, the capacity might not scale fast enough to meet a sudden change in workload, such as a large number of new transactions. Call ModifyCurrentDBClusterCapacity
to set the capacity explicitly.
After this call sets the DB cluster capacity, Aurora Serverless v1 can automatically scale the DB cluster based on the cooldown period for scaling up and the cooldown period for scaling down.
For more information about Aurora Serverless v1, see Using Amazon Aurora Serverless v1 in the Amazon Aurora User Guide.
If you call ModifyCurrentDBClusterCapacity
with the default TimeoutAction
, connections that prevent Aurora Serverless v1 from finding a scaling point might be dropped. For more information about scaling points, see Autoscaling for Aurora Serverless v1 in the Amazon Aurora User Guide.
This operation only applies to Aurora Serverless v1 DB clusters.
",
@@ -142,13 +142,13 @@
"RemoveRoleFromDBCluster": "Removes the asssociation of an Amazon Web Services Identity and Access Management (IAM) role from a DB cluster.
For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? in the Amazon Aurora User Guide.
For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide.
",
"RemoveRoleFromDBInstance": "Disassociates an Amazon Web Services Identity and Access Management (IAM) role from a DB instance.
",
"RemoveSourceIdentifierFromSubscription": "Removes a source identifier from an existing RDS event notification subscription.
",
- "RemoveTagsFromResource": "Removes metadata tags from an Amazon RDS resource.
For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
",
+ "RemoveTagsFromResource": "Removes metadata tags from an Amazon RDS resource.
For an overview on tagging an Amazon RDS resource, see Tagging Amazon RDS Resources in the Amazon RDS User Guide or Tagging Amazon Aurora and Amazon RDS Resources in the Amazon Aurora User Guide.
",
"ResetDBClusterParameterGroup": "Modifies the parameters of a DB cluster parameter group to the default value. To reset specific parameters submit a list of the following: ParameterName
and ApplyMethod
. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName
and ResetAllParameters
parameters.
When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot
to take effect on the next DB instance restart or RebootDBInstance
request. You must call RebootDBInstance
for every DB instance in your DB cluster that you want the updated static parameter to apply to.
For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? in the Amazon Aurora User Guide.
For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide.
",
"ResetDBParameterGroup": "Modifies the parameters of a DB parameter group to the engine/system default value. To reset specific parameters, provide a list of the following: ParameterName
and ApplyMethod
. To reset the entire DB parameter group, specify the DBParameterGroup
name and ResetAllParameters
parameters. When resetting the entire group, dynamic parameters are updated immediately and static parameters are set to pending-reboot
to take effect on the next DB instance restart or RebootDBInstance
request.
",
"RestoreDBClusterFromS3": "Creates an Amazon Aurora DB cluster from MySQL data stored in an Amazon S3 bucket. Amazon RDS must be authorized to access the Amazon S3 bucket and the data must be created using the Percona XtraBackup utility as described in Migrating Data from MySQL by Using an Amazon S3 Bucket in the Amazon Aurora User Guide.
This operation only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance
operation to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier
. You can create DB instances only after the RestoreDBClusterFromS3
operation has completed and the DB cluster is available.
For more information on Amazon Aurora, see What is Amazon Aurora? in the Amazon Aurora User Guide.
This operation only applies to Aurora DB clusters. The source DB engine must be MySQL.
",
"RestoreDBClusterFromSnapshot": "Creates a new DB cluster from a DB snapshot or DB cluster snapshot.
The target DB cluster is created from the source snapshot with a default configuration. If you don't specify a security group, the new DB cluster is associated with the default security group.
This operation only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance
operation to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier
. You can create DB instances only after the RestoreDBClusterFromSnapshot
operation has completed and the DB cluster is available.
For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? in the Amazon Aurora User Guide.
For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide.
",
"RestoreDBClusterToPointInTime": "Restores a DB cluster to an arbitrary point in time. Users can restore to any point in time before LatestRestorableTime
for up to BackupRetentionPeriod
days. The target DB cluster is created from the source DB cluster with the same configuration as the original DB cluster, except that the new DB cluster is created with the default DB security group.
For Aurora, this operation only restores the DB cluster, not the DB instances for that DB cluster. You must invoke the CreateDBInstance
operation to create DB instances for the restored DB cluster, specifying the identifier of the restored DB cluster in DBClusterIdentifier
. You can create DB instances only after the RestoreDBClusterToPointInTime
operation has completed and the DB cluster is available.
For more information on Amazon Aurora DB clusters, see What is Amazon Aurora? in the Amazon Aurora User Guide.
For more information on Multi-AZ DB clusters, see Multi-AZ DB cluster deployments in the Amazon RDS User Guide.
",
- "RestoreDBInstanceFromDBSnapshot": "Creates a new DB instance from a DB snapshot. The target database is created from the source database restore point with most of the source's original configuration, including the default security group and DB parameter group. By default, the new DB instance is created as a Single-AZ deployment, except when the instance is a SQL Server instance that has an option group associated with mirroring. In this case, the instance becomes a Multi-AZ deployment, not a Single-AZ deployment.
If you want to replace your original DB instance with the new, restored DB instance, then rename your original DB instance before you call the RestoreDBInstanceFromDBSnapshot
operation. RDS doesn't allow two DB instances with the same name. After you have renamed your original DB instance with a different identifier, then you can pass the original name of the DB instance as the DBInstanceIdentifier
in the call to the RestoreDBInstanceFromDBSnapshot
operation. The result is that you replace the original DB instance with the DB instance created from the snapshot.
If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier
must be the ARN of the shared DB snapshot.
This command doesn't apply to Aurora MySQL and Aurora PostgreSQL. For Aurora, use RestoreDBClusterFromSnapshot
.
",
+ "RestoreDBInstanceFromDBSnapshot": "Creates a new DB instance from a DB snapshot. The target database is created from the source database restore point with most of the source's original configuration, including the default security group and DB parameter group. By default, the new DB instance is created as a Single-AZ deployment, except when the instance is a SQL Server instance that has an option group associated with mirroring. In this case, the instance becomes a Multi-AZ deployment, not a Single-AZ deployment.
If you want to replace your original DB instance with the new, restored DB instance, then rename your original DB instance before you call the RestoreDBInstanceFromDBSnapshot
operation. RDS doesn't allow two DB instances with the same name. After you have renamed your original DB instance with a different identifier, then you can pass the original name of the DB instance as the DBInstanceIdentifier
in the call to the RestoreDBInstanceFromDBSnapshot
operation. The result is that you replace the original DB instance with the DB instance created from the snapshot.
If you are restoring from a shared manual DB snapshot, the DBSnapshotIdentifier
must be the ARN of the shared DB snapshot.
To restore from a DB snapshot with an unsupported engine version, you must first upgrade the engine version of the snapshot. For more information about upgrading a RDS for MySQL DB snapshot engine version, see Upgrading a MySQL DB snapshot engine version. For more information about upgrading a RDS for PostgreSQL DB snapshot engine version, Upgrading a PostgreSQL DB snapshot engine version.
This command doesn't apply to Aurora MySQL and Aurora PostgreSQL. For Aurora, use RestoreDBClusterFromSnapshot
.
",
"RestoreDBInstanceFromS3": "Amazon Relational Database Service (Amazon RDS) supports importing MySQL databases by using backup files. You can create a backup of your on-premises database, store it on Amazon Simple Storage Service (Amazon S3), and then restore the backup file onto a new Amazon RDS DB instance running MySQL. For more information, see Importing Data into an Amazon RDS MySQL DB Instance in the Amazon RDS User Guide.
This operation doesn't apply to RDS Custom.
",
"RestoreDBInstanceToPointInTime": "Restores a DB instance to an arbitrary point in time. You can restore to any point in time before the time identified by the LatestRestorableTime
property. You can restore to a point up to the number of days specified by the BackupRetentionPeriod
property.
The target database is created with most of the original configuration, but in a system-selected Availability Zone, with the default security group, the default subnet group, and the default DB parameter group. By default, the new DB instance is created as a single-AZ deployment except when the instance is a SQL Server instance that has an option group that is associated with mirroring; in this case, the instance becomes a mirrored deployment and not a single-AZ deployment.
This operation doesn't apply to Aurora MySQL and Aurora PostgreSQL. For Aurora, use RestoreDBClusterToPointInTime
.
",
"RevokeDBSecurityGroupIngress": "Revokes ingress from a DBSecurityGroup for previously authorized IP ranges or EC2 or VPC security groups. Required parameters for this API are one of CIDRIP, EC2SecurityGroupId for VPC, or (EC2SecurityGroupOwnerId and either EC2SecurityGroupName or EC2SecurityGroupId).
EC2-Classic was retired on August 15, 2022. If you haven't migrated from EC2-Classic to a VPC, we recommend that you migrate as soon as possible. For more information, see Migrate from EC2-Classic to a VPC in the Amazon EC2 User Guide, the blog EC2-Classic Networking is Retiring – Here’s How to Prepare, and Moving a DB instance not in a VPC into a VPC in the Amazon RDS User Guide.
",
@@ -2996,7 +2996,7 @@
"ClusterPendingModifiedValues$Iops": "The Provisioned IOPS (I/O operations per second) value. This setting is only for non-Aurora Multi-AZ DB clusters.
",
"ConnectionPoolConfiguration$MaxConnectionsPercent": "The maximum size of the connection pool for each target in a target group. The value is expressed as a percentage of the max_connections
setting for the RDS DB instance or Aurora DB cluster used by the target group.
If you specify MaxIdleConnectionsPercent
, then you must also include a value for this parameter.
Default: 10
for RDS for Microsoft SQL Server, and 100
for all other engines
Constraints:
",
"ConnectionPoolConfiguration$MaxIdleConnectionsPercent": "A value that controls how actively the proxy closes idle database connections in the connection pool. The value is expressed as a percentage of the max_connections
setting for the RDS DB instance or Aurora DB cluster used by the target group. With a high value, the proxy leaves a high percentage of idle database connections open. A low value causes the proxy to close more idle connections and return them to the database.
If you specify this parameter, then you must also include a value for MaxConnectionsPercent
.
Default: The default value is half of the value of MaxConnectionsPercent
. For example, if MaxConnectionsPercent
is 80, then the default value of MaxIdleConnectionsPercent
is 40. If the value of MaxConnectionsPercent
isn't specified, then for SQL Server, MaxIdleConnectionsPercent
is 5
, and for all other engines, the default is 50
.
Constraints:
",
- "ConnectionPoolConfiguration$ConnectionBorrowTimeout": "The number of seconds for a proxy to wait for a connection to become available in the connection pool. This setting only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions. For an unlimited wait time, specify 0
.
Default: 120
Constraints:
",
+ "ConnectionPoolConfiguration$ConnectionBorrowTimeout": "The number of seconds for a proxy to wait for a connection to become available in the connection pool. This setting only applies when the proxy has opened its maximum number of connections and all connections are busy with client sessions.
Default: 120
Constraints:
",
"CreateDBClusterMessage$BackupRetentionPeriod": "The number of days for which automated backups are retained.
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
Default: 1
Constraints:
",
"CreateDBClusterMessage$Port": "The port number on which the instances in the DB cluster accept connections.
Valid for Cluster Type: Aurora DB clusters and Multi-AZ DB clusters
Valid Values: 1150-65535
Default:
",
"CreateDBClusterMessage$AllocatedStorage": "The amount of storage in gibibytes (GiB) to allocate to each DB instance in the Multi-AZ DB cluster.
Valid for Cluster Type: Multi-AZ DB clusters only
This setting is required to create a Multi-AZ DB cluster.
",
@@ -4716,16 +4716,16 @@
"CreateDBInstanceMessage$DBName": "The meaning of this parameter differs according to the database engine you use.
- Amazon Aurora MySQL
-
The name of the database to create when the primary DB instance of the Aurora MySQL DB cluster is created. If this parameter isn't specified for an Aurora MySQL DB cluster, no database is created in the DB cluster.
Constraints:
- Amazon Aurora PostgreSQL
-
The name of the database to create when the primary DB instance of the Aurora PostgreSQL DB cluster is created. A database named postgres
is always created. If this parameter is specified, an additional database with this name is created.
Constraints:
-
It must contain 1 to 63 alphanumeric characters.
-
Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0 to 9).
-
Can't be a word reserved by the database engine.
- Amazon RDS Custom for Oracle
-
The Oracle System ID (SID) of the created RDS Custom DB instance. If you don't specify a value, the default value is ORCL
for non-CDBs and RDSCDB
for CDBs.
Default: ORCL
Constraints:
- Amazon RDS Custom for SQL Server
-
Not applicable. Must be null.
- RDS for Db2
-
The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance. In some cases, we recommend that you don't add a database name. For more information, see Additional considerations in the Amazon RDS User Guide.
Constraints:
-
Must contain 1 to 64 letters or numbers.
-
Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
-
Can't be a word reserved by the specified database engine.
- RDS for MariaDB
-
The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance.
Constraints:
-
Must contain 1 to 64 letters or numbers.
-
Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
-
Can't be a word reserved by the specified database engine.
- RDS for MySQL
-
The name of the database to create when the DB instance is created. If this parameter isn't specified, no database is created in the DB instance.
Constraints:
-
Must contain 1 to 64 letters or numbers.
-
Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
-
Can't be a word reserved by the specified database engine.
- RDS for Oracle
-
The Oracle System ID (SID) of the created DB instance. If you don't specify a value, the default value is ORCL
. You can't specify the string null
, or any other reserved word, for DBName
.
Default: ORCL
Constraints:
- RDS for PostgreSQL
-
The name of the database to create when the DB instance is created. A database named postgres
is always created. If this parameter is specified, an additional database with this name is created.
Constraints:
-
Must contain 1 to 63 letters, numbers, or underscores.
-
Must begin with a letter. Subsequent characters can be letters, underscores, or digits (0-9).
-
Can't be a word reserved by the specified database engine.
- RDS for SQL Server
-
Not applicable. Must be null.
",
"CreateDBInstanceMessage$DBInstanceIdentifier": "The identifier for this DB instance. This parameter is stored as a lowercase string.
Constraints:
-
Must contain from 1 to 63 letters, numbers, or hyphens.
-
First character must be a letter.
-
Can't end with a hyphen or contain two consecutive hyphens.
Example: mydbinstance
",
"CreateDBInstanceMessage$DBInstanceClass": "The compute and memory capacity of the DB instance, for example db.m5.large
. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB instance classes in the Amazon RDS User Guide or Aurora DB instance classes in the Amazon Aurora User Guide.
",
- "CreateDBInstanceMessage$Engine": "The database engine to use for this DB instance.
Not every database engine is available in every Amazon Web Services Region.
Valid Values:
-
aurora-mysql
(for Aurora MySQL DB instances)
-
aurora-postgresql
(for Aurora PostgreSQL DB instances)
-
custom-oracle-ee
(for RDS Custom for Oracle DB instances)
-
custom-oracle-ee-cdb
(for RDS Custom for Oracle DB instances)
-
custom-oracle-se2
(for RDS Custom for Oracle DB instances)
-
custom-oracle-se2-cdb
(for RDS Custom for Oracle DB instances)
-
custom-sqlserver-ee
(for RDS Custom for SQL Server DB instances)
-
custom-sqlserver-se
(for RDS Custom for SQL Server DB instances)
-
custom-sqlserver-web
(for RDS Custom for SQL Server DB instances)
-
db2-ae
-
db2-se
-
mariadb
-
mysql
-
oracle-ee
-
oracle-ee-cdb
-
oracle-se2
-
oracle-se2-cdb
-
postgres
-
sqlserver-ee
-
sqlserver-se
-
sqlserver-ex
-
sqlserver-web
",
+ "CreateDBInstanceMessage$Engine": "The database engine to use for this DB instance.
Not every database engine is available in every Amazon Web Services Region.
Valid Values:
-
aurora-mysql
(for Aurora MySQL DB instances)
-
aurora-postgresql
(for Aurora PostgreSQL DB instances)
-
custom-oracle-ee
(for RDS Custom for Oracle DB instances)
-
custom-oracle-ee-cdb
(for RDS Custom for Oracle DB instances)
-
custom-oracle-se2
(for RDS Custom for Oracle DB instances)
-
custom-oracle-se2-cdb
(for RDS Custom for Oracle DB instances)
-
custom-sqlserver-ee
(for RDS Custom for SQL Server DB instances)
-
custom-sqlserver-se
(for RDS Custom for SQL Server DB instances)
-
custom-sqlserver-web
(for RDS Custom for SQL Server DB instances)
-
custom-sqlserver-dev
(for RDS Custom for SQL Server DB instances)
-
db2-ae
-
db2-se
-
mariadb
-
mysql
-
oracle-ee
-
oracle-ee-cdb
-
oracle-se2
-
oracle-se2-cdb
-
postgres
-
sqlserver-ee
-
sqlserver-se
-
sqlserver-ex
-
sqlserver-web
",
"CreateDBInstanceMessage$MasterUsername": "The name for the master user.
This setting doesn't apply to Amazon Aurora DB instances. The name for the master user is managed by the DB cluster.
This setting is required for RDS DB instances.
Constraints:
-
Must be 1 to 16 letters, numbers, or underscores.
-
First character must be a letter.
-
Can't be a reserved word for the chosen database engine.
",
"CreateDBInstanceMessage$MasterUserPassword": "The password for the master user.
This setting doesn't apply to Amazon Aurora DB instances. The password for the master user is managed by the DB cluster.
Constraints:
-
Can't be specified if ManageMasterUserPassword
is turned on.
-
Can include any printable ASCII character except \"/\", \"\"\", or \"@\". For RDS for Oracle, can't include the \"&\" (ampersand) or the \"'\" (single quotes) character.
Length Constraints:
-
RDS for Db2 - Must contain from 8 to 255 characters.
-
RDS for MariaDB - Must contain from 8 to 41 characters.
-
RDS for Microsoft SQL Server - Must contain from 8 to 128 characters.
-
RDS for MySQL - Must contain from 8 to 41 characters.
-
RDS for Oracle - Must contain from 8 to 30 characters.
-
RDS for PostgreSQL - Must contain from 8 to 128 characters.
",
"CreateDBInstanceMessage$AvailabilityZone": "The Availability Zone (AZ) where the database will be created. For information on Amazon Web Services Regions and Availability Zones, see Regions and Availability Zones.
For Amazon Aurora, each Aurora DB cluster hosts copies of its storage in three separate Availability Zones. Specify one of these Availability Zones. Aurora automatically chooses an appropriate Availability Zone if you don't specify one.
Default: A random, system-chosen Availability Zone in the endpoint's Amazon Web Services Region.
Constraints:
Example: us-east-1d
",
- "CreateDBInstanceMessage$DBSubnetGroupName": "A DB subnet group to associate with this DB instance.
Constraints:
Example: mydbsubnetgroup
",
+ "CreateDBInstanceMessage$DBSubnetGroupName": "A DB subnet group to associate with this DB instance.
Constraints:
Example: mydbsubnetgroup
",
"CreateDBInstanceMessage$PreferredMaintenanceWindow": "The time range each week during which system maintenance can occur. For more information, see Amazon RDS Maintenance Window in the Amazon RDS User Guide.
The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region, occurring on a random day of the week.
Constraints:
-
Must be in the format ddd:hh24:mi-ddd:hh24:mi
.
-
The day values must be mon | tue | wed | thu | fri | sat | sun
.
-
Must be in Universal Coordinated Time (UTC).
-
Must not conflict with the preferred backup window.
-
Must be at least 30 minutes.
",
"CreateDBInstanceMessage$DBParameterGroupName": "The name of the DB parameter group to associate with this DB instance. If you don't specify a value, then Amazon RDS uses the default DB parameter group for the specified DB engine and version.
This setting doesn't apply to RDS Custom DB instances.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
The first character must be a letter.
-
Can't end with a hyphen or contain two consecutive hyphens.
",
"CreateDBInstanceMessage$PreferredBackupWindow": "The daily time range during which automated backups are created if automated backups are enabled, using the BackupRetentionPeriod
parameter. The default is a 30-minute window selected at random from an 8-hour block of time for each Amazon Web Services Region. For more information, see Backup window in the Amazon RDS User Guide.
This setting doesn't apply to Amazon Aurora DB instances. The daily time range for creating automated backups is managed by the DB cluster.
Constraints:
-
Must be in the format hh24:mi-hh24:mi
.
-
Must be in Universal Coordinated Time (UTC).
-
Must not conflict with the preferred maintenance window.
-
Must be at least 30 minutes.
",
"CreateDBInstanceMessage$EngineVersion": "The version number of the database engine to use.
This setting doesn't apply to Amazon Aurora DB instances. The version number of the database engine the DB instance uses is managed by the DB cluster.
For a list of valid engine versions, use the DescribeDBEngineVersions
operation.
The following are the database engines and links to information about the major and minor versions that are available with Amazon RDS. Not every database engine is available for every Amazon Web Services Region.
- Amazon RDS Custom for Oracle
-
A custom engine version (CEV) that you have previously created. This setting is required for RDS Custom for Oracle. The CEV name has the following format: 19.customized_string. A valid CEV name is 19.my_cev1
. For more information, see Creating an RDS Custom for Oracle DB instance in the Amazon RDS User Guide.
- Amazon RDS Custom for SQL Server
-
See RDS Custom for SQL Server general requirements in the Amazon RDS User Guide.
- RDS for Db2
-
For information, see Db2 on Amazon RDS versions in the Amazon RDS User Guide.
- RDS for MariaDB
-
For information, see MariaDB on Amazon RDS versions in the Amazon RDS User Guide.
- RDS for Microsoft SQL Server
-
For information, see Microsoft SQL Server versions on Amazon RDS in the Amazon RDS User Guide.
- RDS for MySQL
-
For information, see MySQL on Amazon RDS versions in the Amazon RDS User Guide.
- RDS for Oracle
-
For information, see Oracle Database Engine release notes in the Amazon RDS User Guide.
- RDS for PostgreSQL
-
For information, see Amazon RDS for PostgreSQL versions and extensions in the Amazon RDS User Guide.
",
- "CreateDBInstanceMessage$LicenseModel": "The license model information for this DB instance.
License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more information, see RDS for Db2 licensing options in the Amazon RDS User Guide.
The default for RDS for Db2 is bring-your-own-license
.
This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
Valid Values:
-
RDS for Db2 - bring-your-own-license | marketplace-license
-
RDS for MariaDB - general-public-license
-
RDS for Microsoft SQL Server - license-included
-
RDS for MySQL - general-public-license
-
RDS for Oracle - bring-your-own-license | license-included
-
RDS for PostgreSQL - postgresql-license
",
+ "CreateDBInstanceMessage$LicenseModel": "The license model information for this DB instance.
License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires a custom parameter group and an Amazon Web Services License Manager self-managed license. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more information, see Amazon RDS for Db2 licensing options in the Amazon RDS User Guide.
The default for RDS for Db2 is bring-your-own-license
.
This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
Valid Values:
-
RDS for Db2 - bring-your-own-license | marketplace-license
-
RDS for MariaDB - general-public-license
-
RDS for Microsoft SQL Server - license-included
-
RDS for MySQL - general-public-license
-
RDS for Oracle - bring-your-own-license | license-included
-
RDS for PostgreSQL - postgresql-license
",
"CreateDBInstanceMessage$OptionGroupName": "The option group to associate the DB instance with.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group. Also, that option group can't be removed from a DB instance after it is associated with a DB instance.
This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
",
"CreateDBInstanceMessage$CharacterSetName": "For supported engines, the character set (CharacterSet
) to associate the DB instance with.
This setting doesn't apply to the following DB instances:
-
Amazon Aurora - The character set is managed by the DB cluster. For more information, see CreateDBCluster
.
-
RDS Custom - However, if you need to change the character set, you can change it on the database itself.
",
"CreateDBInstanceMessage$NcharCharacterSetName": "The name of the NCHAR character set for the Oracle DB instance.
This setting doesn't apply to RDS Custom DB instances.
",
@@ -4759,7 +4759,7 @@
"CreateDBInstanceReadReplicaMessage$StorageType": "The storage type to associate with the read replica.
If you specify io1
, io2
, or gp3
, you must also include a value for the Iops
parameter.
Valid Values: gp2 | gp3 | io1 | io2 | standard
Default: io1
if the Iops
parameter is specified. Otherwise, gp2
.
",
"CreateDBInstanceReadReplicaMessage$MonitoringRoleArn": "The ARN for the IAM role that permits RDS to send enhanced monitoring metrics to Amazon CloudWatch Logs. For example, arn:aws:iam:123456789012:role/emaccess
. For information on creating a monitoring role, go to To create an IAM role for Amazon RDS Enhanced Monitoring in the Amazon RDS User Guide.
If MonitoringInterval
is set to a value other than 0, then you must supply a MonitoringRoleArn
value.
This setting doesn't apply to RDS Custom DB instances.
",
"CreateDBInstanceReadReplicaMessage$KmsKeyId": "The Amazon Web Services KMS key identifier for an encrypted read replica.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
If you create an encrypted read replica in the same Amazon Web Services Region as the source DB instance or Multi-AZ DB cluster, don't specify a value for this parameter. A read replica in the same Amazon Web Services Region is always encrypted with the same KMS key as the source DB instance or cluster.
If you create an encrypted read replica in a different Amazon Web Services Region, then you must specify a KMS key identifier for the destination Amazon Web Services Region. KMS keys are specific to the Amazon Web Services Region that they are created in, and you can't use KMS keys from one Amazon Web Services Region in another Amazon Web Services Region.
You can't create an encrypted read replica from an unencrypted DB instance or Multi-AZ DB cluster.
This setting doesn't apply to RDS Custom, which uses the same KMS key as the primary replica.
",
- "CreateDBInstanceReadReplicaMessage$PreSignedUrl": "When you are creating a read replica from one Amazon Web Services GovCloud (US) Region to another or from one China Amazon Web Services Region to another, the URL that contains a Signature Version 4 signed request for the CreateDBInstanceReadReplica
API operation in the source Amazon Web Services Region that contains the source DB instance.
This setting applies only to Amazon Web Services GovCloud (US) Regions and China Amazon Web Services Regions. It's ignored in other Amazon Web Services Regions.
This setting applies only when replicating from a source DB instance. Source DB clusters aren't supported in Amazon Web Services GovCloud (US) Regions and China Amazon Web Services Regions.
You must specify this parameter when you create an encrypted read replica from another Amazon Web Services Region by using the Amazon RDS API. Don't specify PreSignedUrl
when you are creating an encrypted read replica in the same Amazon Web Services Region.
The presigned URL must be a valid request for the CreateDBInstanceReadReplica
API operation that can run in the source Amazon Web Services Region that contains the encrypted source DB instance. The presigned URL request must contain the following parameter values:
-
DestinationRegion
- The Amazon Web Services Region that the encrypted read replica is created in. This Amazon Web Services Region is the same one where the CreateDBInstanceReadReplica
operation is called that contains this presigned URL.
For example, if you create an encrypted DB instance in the us-west-1 Amazon Web Services Region, from a source DB instance in the us-east-2 Amazon Web Services Region, then you call the CreateDBInstanceReadReplica
operation in the us-east-1 Amazon Web Services Region and provide a presigned URL that contains a call to the CreateDBInstanceReadReplica
operation in the us-west-2 Amazon Web Services Region. For this example, the DestinationRegion
in the presigned URL must be set to the us-east-1 Amazon Web Services Region.
-
KmsKeyId
- The KMS key identifier for the key to use to encrypt the read replica in the destination Amazon Web Services Region. This is the same identifier for both the CreateDBInstanceReadReplica
operation that is called in the destination Amazon Web Services Region, and the operation contained in the presigned URL.
-
SourceDBInstanceIdentifier
- The DB instance identifier for the encrypted DB instance to be replicated. This identifier must be in the Amazon Resource Name (ARN) format for the source Amazon Web Services Region. For example, if you are creating an encrypted read replica from a DB instance in the us-west-2 Amazon Web Services Region, then your SourceDBInstanceIdentifier
looks like the following example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115
.
To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process.
If you are using an Amazon Web Services SDK tool or the CLI, you can specify SourceRegion
(or --source-region
for the CLI) instead of specifying PreSignedUrl
manually. Specifying SourceRegion
autogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.
SourceRegion
isn't supported for SQL Server, because Amazon RDS for SQL Server doesn't support cross-Region read replicas.
This setting doesn't apply to RDS Custom DB instances.
",
+ "CreateDBInstanceReadReplicaMessage$PreSignedUrl": "When you are creating a read replica from one Amazon Web Services GovCloud (US) Region to another or from one China Amazon Web Services Region to another, the URL that contains a Signature Version 4 signed request for the CreateDBInstanceReadReplica
API operation in the source Amazon Web Services Region that contains the source DB instance.
This setting applies only to Amazon Web Services GovCloud (US) Regions and China Amazon Web Services Regions. It's ignored in other Amazon Web Services Regions.
This setting applies only when replicating from a source DB instance. Source DB clusters aren't supported in Amazon Web Services GovCloud (US) Regions and China Amazon Web Services Regions.
You must specify this parameter when you create an encrypted read replica from another Amazon Web Services Region by using the Amazon RDS API. Don't specify PreSignedUrl
when you are creating an encrypted read replica in the same Amazon Web Services Region.
The presigned URL must be a valid request for the CreateDBInstanceReadReplica
API operation that can run in the source Amazon Web Services Region that contains the encrypted source DB instance. The presigned URL request must contain the following parameter values:
-
DestinationRegion
- The Amazon Web Services Region that the encrypted read replica is created in. This Amazon Web Services Region is the same one where the CreateDBInstanceReadReplica
operation is called that contains this presigned URL.
For example, if you create an encrypted DB instance in the us-west-1 Amazon Web Services Region, from a source DB instance in the us-east-2 Amazon Web Services Region, then you call the CreateDBInstanceReadReplica
operation in the us-east-1 Amazon Web Services Region and provide a presigned URL that contains a call to the CreateDBInstanceReadReplica
operation in the us-west-2 Amazon Web Services Region. For this example, the DestinationRegion
in the presigned URL must be set to the us-east-1 Amazon Web Services Region.
-
KmsKeyId
- The KMS key identifier for the key to use to encrypt the read replica in the destination Amazon Web Services Region. This is the same identifier for both the CreateDBInstanceReadReplica
operation that is called in the destination Amazon Web Services Region, and the operation contained in the presigned URL.
-
SourceDBInstanceIdentifier
- The DB instance identifier for the encrypted DB instance to be replicated. This identifier must be in the Amazon Resource Name (ARN) format for the source Amazon Web Services Region. For example, if you are creating an encrypted read replica from a DB instance in the us-west-2 Amazon Web Services Region, then your SourceDBInstanceIdentifier
looks like the following example: arn:aws:rds:us-west-2:123456789012:instance:mysql-instance1-20161115
.
To learn how to generate a Signature Version 4 signed request, see Authenticating Requests: Using Query Parameters (Amazon Web Services Signature Version 4) and Signature Version 4 Signing Process.
If you are using an Amazon Web Services SDK tool or the CLI, you can specify SourceRegion
(or --source-region
for the CLI) instead of specifying PreSignedUrl
manually. Specifying SourceRegion
autogenerates a presigned URL that is a valid request for the operation that can run in the source Amazon Web Services Region.
This setting doesn't apply to RDS Custom DB instances.
",
"CreateDBInstanceReadReplicaMessage$PerformanceInsightsKMSKeyId": "The Amazon Web Services KMS key identifier for encryption of Performance Insights data.
The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
If you do not specify a value for PerformanceInsightsKMSKeyId
, then Amazon RDS uses your default KMS key. There is a default KMS key for your Amazon Web Services account. Your Amazon Web Services account has a different default KMS key for each Amazon Web Services Region.
This setting doesn't apply to RDS Custom DB instances.
",
"CreateDBInstanceReadReplicaMessage$Domain": "The Active Directory directory ID to create the DB instance in. Currently, only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be created in an Active Directory Domain.
For more information, see Kerberos Authentication in the Amazon RDS User Guide.
This setting doesn't apply to RDS Custom DB instances.
",
"CreateDBInstanceReadReplicaMessage$DomainIAMRoleName": "The name of the IAM role to use when making API calls to the Directory Service.
This setting doesn't apply to RDS Custom DB instances.
",
@@ -4987,7 +4987,7 @@
"DBParameterGroupDetails$Marker": "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 MaxRecords
.
",
"DBParameterGroupNameMessage$DBParameterGroupName": "The name of the DB parameter group.
",
"DBParameterGroupStatus$DBParameterGroupName": "The name of the DB parameter group.
",
- "DBParameterGroupStatus$ParameterApplyStatus": "The status of parameter updates.
",
+ "DBParameterGroupStatus$ParameterApplyStatus": "The status of parameter updates. Valid values are:
-
applying
: The parameter group change is being applied to the database.
-
failed-to-apply
: The parameter group is in an invalid state.
-
in-sync
: The parameter group change is synchronized with the database.
-
pending-database-upgrade
: The parameter group change will be applied after the DB instance is upgraded.
-
pending-reboot
: The parameter group change will be applied after the DB instance reboots.
",
"DBParameterGroupsMessage$Marker": "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 MaxRecords
.
",
"DBProxy$DBProxyName": "The identifier for the proxy. This name must be unique for all proxies owned by your Amazon Web Services account in the specified Amazon Web Services Region.
",
"DBProxy$DBProxyArn": "The Amazon Resource Name (ARN) for the proxy.
",
@@ -5583,7 +5583,7 @@
"RestoreDBInstanceFromDBSnapshotMessage$DBInstanceClass": "The compute and memory capacity of the Amazon RDS DB instance, for example db.m4.large. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide.
Default: The same DBInstanceClass as the original DB instance.
",
"RestoreDBInstanceFromDBSnapshotMessage$AvailabilityZone": "The Availability Zone (AZ) where the DB instance will be created.
Default: A random, system-chosen Availability Zone.
Constraint: You can't specify the AvailabilityZone
parameter if the DB instance is a Multi-AZ deployment.
Example: us-east-1a
",
"RestoreDBInstanceFromDBSnapshotMessage$DBSubnetGroupName": "The name of the DB subnet group to use for the new instance.
Constraints:
Example: mydbsubnetgroup
",
- "RestoreDBInstanceFromDBSnapshotMessage$LicenseModel": "License model information for the restored DB instance.
License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more information, see RDS for Db2 licensing options in the Amazon RDS User Guide.
This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
Valid Values:
-
RDS for Db2 - bring-your-own-license | marketplace-license
-
RDS for MariaDB - general-public-license
-
RDS for Microsoft SQL Server - license-included
-
RDS for MySQL - general-public-license
-
RDS for Oracle - bring-your-own-license | license-included
-
RDS for PostgreSQL - postgresql-license
Default: Same as the source.
",
+ "RestoreDBInstanceFromDBSnapshotMessage$LicenseModel": "License model information for the restored DB instance.
License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires a custom parameter group and an Amazon Web Services License Manager self-managed license. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more information, see Amazon RDS for Db2 licensing options in the Amazon RDS User Guide.
This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
Valid Values:
-
RDS for Db2 - bring-your-own-license | marketplace-license
-
RDS for MariaDB - general-public-license
-
RDS for Microsoft SQL Server - license-included
-
RDS for MySQL - general-public-license
-
RDS for Oracle - bring-your-own-license | license-included
-
RDS for PostgreSQL - postgresql-license
Default: Same as the source.
",
"RestoreDBInstanceFromDBSnapshotMessage$DBName": "The name of the database for the restored DB instance.
This parameter only applies to RDS for Oracle and RDS for SQL Server DB instances. It doesn't apply to the other engines or to RDS Custom DB instances.
",
"RestoreDBInstanceFromDBSnapshotMessage$Engine": "The database engine to use for the new instance.
This setting doesn't apply to RDS Custom.
Default: The same as source
Constraint: Must be compatible with the engine of the source. For example, you can restore a MariaDB 10.1 DB instance from a MySQL 5.6 snapshot.
Valid Values:
-
db2-ae
-
db2-se
-
mariadb
-
mysql
-
oracle-ee
-
oracle-ee-cdb
-
oracle-se2
-
oracle-se2-cdb
-
postgres
-
sqlserver-ee
-
sqlserver-se
-
sqlserver-ex
-
sqlserver-web
",
"RestoreDBInstanceFromDBSnapshotMessage$OptionGroupName": "The name of the option group to be used for the restored DB instance.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group, and that option group can't be removed from a DB instance after it is associated with a DB instance.
This setting doesn't apply to RDS Custom.
",
@@ -5634,7 +5634,7 @@
"RestoreDBInstanceToPointInTimeMessage$DBInstanceClass": "The compute and memory capacity of the Amazon RDS DB instance, for example db.m4.large. Not all DB instance classes are available in all Amazon Web Services Regions, or for all database engines. For the full list of DB instance classes, and availability for your engine, see DB Instance Class in the Amazon RDS User Guide.
Default: The same DB instance class as the original DB instance.
",
"RestoreDBInstanceToPointInTimeMessage$AvailabilityZone": "The Availability Zone (AZ) where the DB instance will be created.
Default: A random, system-chosen Availability Zone.
Constraints:
Example: us-east-1a
",
"RestoreDBInstanceToPointInTimeMessage$DBSubnetGroupName": "The DB subnet group name to use for the new instance.
Constraints:
Example: mydbsubnetgroup
",
- "RestoreDBInstanceToPointInTimeMessage$LicenseModel": "The license model information for the restored DB instance.
License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires a custom parameter group. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more information, see RDS for Db2 licensing options in the Amazon RDS User Guide.
This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
Valid Values:
-
RDS for Db2 - bring-your-own-license | marketplace-license
-
RDS for MariaDB - general-public-license
-
RDS for Microsoft SQL Server - license-included
-
RDS for MySQL - general-public-license
-
RDS for Oracle - bring-your-own-license | license-included
-
RDS for PostgreSQL - postgresql-license
Default: Same as the source.
",
+ "RestoreDBInstanceToPointInTimeMessage$LicenseModel": "The license model information for the restored DB instance.
License models for RDS for Db2 require additional configuration. The Bring Your Own License (BYOL) model requires a custom parameter group and an Amazon Web Services License Manager self-managed license. The Db2 license through Amazon Web Services Marketplace model requires an Amazon Web Services Marketplace subscription. For more information, see Amazon RDS for Db2 licensing options in the Amazon RDS User Guide.
This setting doesn't apply to Amazon Aurora or RDS Custom DB instances.
Valid Values:
-
RDS for Db2 - bring-your-own-license | marketplace-license
-
RDS for MariaDB - general-public-license
-
RDS for Microsoft SQL Server - license-included
-
RDS for MySQL - general-public-license
-
RDS for Oracle - bring-your-own-license | license-included
-
RDS for PostgreSQL - postgresql-license
Default: Same as the source.
",
"RestoreDBInstanceToPointInTimeMessage$DBName": "The database name for the restored DB instance.
This parameter doesn't apply to the following DB instances:
-
RDS Custom
-
RDS for Db2
-
RDS for MariaDB
-
RDS for MySQL
",
"RestoreDBInstanceToPointInTimeMessage$Engine": "The database engine to use for the new instance.
This setting doesn't apply to RDS Custom.
Valid Values:
-
db2-ae
-
db2-se
-
mariadb
-
mysql
-
oracle-ee
-
oracle-ee-cdb
-
oracle-se2
-
oracle-se2-cdb
-
postgres
-
sqlserver-ee
-
sqlserver-se
-
sqlserver-ex
-
sqlserver-web
Default: The same as source
Constraints:
",
"RestoreDBInstanceToPointInTimeMessage$OptionGroupName": "The name of the option group to use for the restored DB instance.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group, and that option group can't be removed from a DB instance after it is associated with a DB instance
This setting doesn't apply to RDS Custom.
",
@@ -5972,6 +5972,7 @@
"CreateDBSnapshotMessage$Tags": null,
"CreateDBSubnetGroupMessage$Tags": "Tags to assign to the DB subnet group.
",
"CreateEventSubscriptionMessage$Tags": null,
+ "CreateGlobalClusterMessage$Tags": "Tags to assign to the global cluster.
",
"CreateIntegrationMessage$Tags": null,
"CreateOptionGroupMessage$Tags": "Tags to assign to the option group.
",
"CreateTenantDatabaseMessage$Tags": null,
@@ -5981,6 +5982,7 @@
"DBInstance$TagList": null,
"DBSnapshot$TagList": null,
"DBSnapshotTenantDatabase$TagList": null,
+ "GlobalCluster$TagList": null,
"Integration$Tags": null,
"PurchaseReservedDBInstancesOfferingMessage$Tags": null,
"RestoreDBClusterFromS3Message$Tags": null,
diff --git a/apis/s3/2006-03-01/api-2.json b/apis/s3/2006-03-01/api-2.json
index 67382cde74f..e4db64dfc28 100644
--- a/apis/s3/2006-03-01/api-2.json
+++ b/apis/s3/2006-03-01/api-2.json
@@ -2551,6 +2551,26 @@
"type":"structure",
"required":["Credentials"],
"members":{
+ "ServerSideEncryption":{
+ "shape":"ServerSideEncryption",
+ "location":"header",
+ "locationName":"x-amz-server-side-encryption"
+ },
+ "SSEKMSKeyId":{
+ "shape":"SSEKMSKeyId",
+ "location":"header",
+ "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "SSEKMSEncryptionContext":{
+ "shape":"SSEKMSEncryptionContext",
+ "location":"header",
+ "locationName":"x-amz-server-side-encryption-context"
+ },
+ "BucketKeyEnabled":{
+ "shape":"BucketKeyEnabled",
+ "location":"header",
+ "locationName":"x-amz-server-side-encryption-bucket-key-enabled"
+ },
"Credentials":{
"shape":"SessionCredentials",
"locationName":"Credentials"
@@ -2571,6 +2591,26 @@
"contextParam":{"name":"Bucket"},
"location":"uri",
"locationName":"Bucket"
+ },
+ "ServerSideEncryption":{
+ "shape":"ServerSideEncryption",
+ "location":"header",
+ "locationName":"x-amz-server-side-encryption"
+ },
+ "SSEKMSKeyId":{
+ "shape":"SSEKMSKeyId",
+ "location":"header",
+ "locationName":"x-amz-server-side-encryption-aws-kms-key-id"
+ },
+ "SSEKMSEncryptionContext":{
+ "shape":"SSEKMSEncryptionContext",
+ "location":"header",
+ "locationName":"x-amz-server-side-encryption-context"
+ },
+ "BucketKeyEnabled":{
+ "shape":"BucketKeyEnabled",
+ "location":"header",
+ "locationName":"x-amz-server-side-encryption-bucket-key-enabled"
}
}
},
diff --git a/apis/s3/2006-03-01/docs-2.json b/apis/s3/2006-03-01/docs-2.json
index aecff892054..04ad12adad0 100644
--- a/apis/s3/2006-03-01/docs-2.json
+++ b/apis/s3/2006-03-01/docs-2.json
@@ -3,15 +3,15 @@
"service": "",
"operations": {
"AbortMultipartUpload": "This operation aborts a multipart upload. After a multipart upload is aborted, no additional parts can be uploaded using that upload ID. The storage consumed by any previously uploaded parts will be freed. However, if any part uploads are currently in progress, those part uploads might or might not succeed. As a result, it might be necessary to abort a given multipart upload multiple times in order to completely free all storage consumed by all parts.
To verify that all parts have been removed and prevent getting charged for the part storage, you should call the ListParts API operation and ensure that the parts list is empty.
-
Directory buckets - If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed. To delete these in-progress multipart uploads, use the ListMultipartUploads
operation to list the in-progress multipart uploads in the bucket and use the AbortMultupartUpload
operation to abort all the in-progress multipart uploads.
-
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - For information about permissions required to use the multipart upload, see Multipart Upload and Permissions in the Amazon S3 User Guide.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to AbortMultipartUpload
:
",
- "CompleteMultipartUpload": "Completes a multipart upload by assembling previously uploaded parts.
You first initiate the multipart upload and then upload all parts using the UploadPart operation or the UploadPartCopy operation. After successfully uploading all relevant parts of an upload, you call this CompleteMultipartUpload
operation to complete the upload. Upon receiving this request, Amazon S3 concatenates all the parts in ascending order by part number to create a new object. In the CompleteMultipartUpload request, you must provide the parts list and ensure that the parts list is complete. The CompleteMultipartUpload API operation concatenates the parts that you provide in the list. For each part in the list, you must provide the PartNumber
value and the ETag
value that are returned after that part was uploaded.
The processing of a CompleteMultipartUpload request could take several minutes to finalize. After Amazon S3 begins processing the request, it sends an HTTP response header that specifies a 200 OK
response. While processing is in progress, Amazon S3 periodically sends white space characters to keep the connection from timing out. A request could fail after the initial 200 OK
response has been sent. This means that a 200 OK
response can contain either a success or an error. The error response might be embedded in the 200 OK
response. If you call this API operation directly, make sure to design your application to parse the contents of the response and handle it appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply error handling per your configuration settings (including automatically retrying the request as appropriate). If the condition persists, the SDKs throw an exception (or, for the SDKs that don't use exceptions, they return an error).
Note that if CompleteMultipartUpload
fails, applications should be prepared to retry any failed requests (including 500 error responses). For more information, see Amazon S3 Error Best Practices.
You can't use Content-Type: application/x-www-form-urlencoded
for the CompleteMultipartUpload requests. Also, if you don't provide a Content-Type
header, CompleteMultipartUpload
can still return a 200 OK
response.
For more information about multipart uploads, see Uploading Objects Using Multipart Upload in the Amazon S3 User Guide.
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - For information about permissions required to use the multipart upload API, see Multipart Upload and Permissions in the Amazon S3 User Guide.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
-
If you provide an additional checksum value in your MultipartUpload
requests and the object is encrypted with Key Management Service, you must have permission to use the kms:Decrypt
action for the CompleteMultipartUpload
request to succeed.
- Special errors
-
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to CompleteMultipartUpload
:
",
- "CopyObject": "Creates a copy of an object that is already stored in Amazon S3.
You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your object up to 5 GB in size in a single atomic action using this API. However, to copy an object greater than 5 GB, you must use the multipart upload Upload Part - Copy (UploadPartCopy) API. For more information, see Copy Object Using the REST Multipart Upload API.
You can copy individual objects between general purpose buckets, between directory buckets, and between general purpose buckets and directory buckets.
-
Amazon S3 supports copy operations using Multi-Region Access Points only as a destination when using the Multi-Region Access Point ARN.
-
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
-
VPC endpoints don't support cross-Region requests (including copies). If you're using VPC endpoints, your source and destination buckets should be in the same Amazon Web Services Region as your VPC endpoint.
Both the Region that you want to copy the object from and the Region that you want to copy the object to must be enabled for your account. For more information about how to enable a Region for your account, see Enable or disable a Region for standalone accounts in the Amazon Web Services Account Management Guide.
Amazon S3 transfer acceleration does not support cross-Region copies. If you request a cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad Request
error. For more information, see Transfer Acceleration.
- Authentication and authorization
-
All CopyObject
requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the x-amz-
prefix, including x-amz-copy-source
, must be signed. For more information, see REST Authentication.
Directory buckets - You must use the IAM credentials to authenticate and authorize your access to the CopyObject
API operation, instead of using the temporary security credentials through the CreateSession
API operation.
Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.
- Permissions
-
You must have read access to the source object and write access to the destination bucket.
-
General purpose bucket permissions - You must have permissions in an IAM policy based on the source and destination bucket types in a CopyObject
operation.
-
If the source object is in a general purpose bucket, you must have s3:GetObject
permission to read the source object that is being copied.
-
If the destination bucket is a general purpose bucket, you must have s3:PutObject
permission to write the object copy to the destination bucket.
-
Directory bucket permissions - You must have permissions in a bucket policy or an IAM identity-based policy based on the source and destination bucket types in a CopyObject
operation.
-
If the source object that you want to copy is in a directory bucket, you must have the s3express:CreateSession
permission in the Action
element of a policy to read the object. By default, the session is in the ReadWrite
mode. If you want to restrict the access, you can explicitly set the s3express:SessionMode
condition key to ReadOnly
on the copy source bucket.
-
If the copy destination is a directory bucket, you must have the s3express:CreateSession
permission in the Action
element of a policy to write the object to the destination. The s3express:SessionMode
condition key can't be set to ReadOnly
on the copy destination bucket.
For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the Amazon S3 User Guide.
- Response and special errors
-
When the request is an HTTP 1.1 request, the response is chunk encoded. When the request is not an HTTP 1.1 request, the response would not contain the Content-Length
. You always need to read the entire response body to check if the copy succeeds.
-
If the copy is successful, you receive a response with information about the copied object.
-
A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3 is copying the files. A 200 OK
response can contain either a success or an error.
-
If the error occurs before the copy action starts, you receive a standard Amazon S3 error.
-
If the error occurs during the copy operation, the error response is embedded in the 200 OK
response. For example, in a cross-region copy, you may encounter throttling and receive a 200 OK
response. For more information, see Resolve the Error 200 response when copying objects to Amazon S3. The 200 OK
status code means the copy was accepted, but it doesn't mean the copy is complete. Another example is when you disconnect from Amazon S3 before the copy is complete, Amazon S3 might cancel the copy and you may receive a 200 OK
response. You must stay connected to Amazon S3 until the entire response is successfully received and processed.
If you call this API operation directly, make sure to design your application to parse the content of the response and handle it appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply error handling per your configuration settings (including automatically retrying the request as appropriate). If the condition persists, the SDKs throw an exception (or, for the SDKs that don't use exceptions, they return an error).
- Charge
-
The copy request charge is based on the storage class and Region that you specify for the destination object. The request can also result in a data retrieval charge for the source if the source storage class bills for data retrieval. If the copy source is in a different region, the data transfer is billed to the copy source account. For pricing information, see Amazon S3 pricing.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to CopyObject
:
",
+ "CompleteMultipartUpload": "Completes a multipart upload by assembling previously uploaded parts.
You first initiate the multipart upload and then upload all parts using the UploadPart operation or the UploadPartCopy operation. After successfully uploading all relevant parts of an upload, you call this CompleteMultipartUpload
operation to complete the upload. Upon receiving this request, Amazon S3 concatenates all the parts in ascending order by part number to create a new object. In the CompleteMultipartUpload request, you must provide the parts list and ensure that the parts list is complete. The CompleteMultipartUpload API operation concatenates the parts that you provide in the list. For each part in the list, you must provide the PartNumber
value and the ETag
value that are returned after that part was uploaded.
The processing of a CompleteMultipartUpload request could take several minutes to finalize. After Amazon S3 begins processing the request, it sends an HTTP response header that specifies a 200 OK
response. While processing is in progress, Amazon S3 periodically sends white space characters to keep the connection from timing out. A request could fail after the initial 200 OK
response has been sent. This means that a 200 OK
response can contain either a success or an error. The error response might be embedded in the 200 OK
response. If you call this API operation directly, make sure to design your application to parse the contents of the response and handle it appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply error handling per your configuration settings (including automatically retrying the request as appropriate). If the condition persists, the SDKs throw an exception (or, for the SDKs that don't use exceptions, they return an error).
Note that if CompleteMultipartUpload
fails, applications should be prepared to retry any failed requests (including 500 error responses). For more information, see Amazon S3 Error Best Practices.
You can't use Content-Type: application/x-www-form-urlencoded
for the CompleteMultipartUpload requests. Also, if you don't provide a Content-Type
header, CompleteMultipartUpload
can still return a 200 OK
response.
For more information about multipart uploads, see Uploading Objects Using Multipart Upload in the Amazon S3 User Guide.
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - For information about permissions required to use the multipart upload API, see Multipart Upload and Permissions in the Amazon S3 User Guide.
If you provide an additional checksum value in your MultipartUpload
requests and the object is encrypted with Key Management Service, you must have permission to use the kms:Decrypt
action for the CompleteMultipartUpload
request to succeed.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
If the object is encrypted with SSE-KMS, you must also have the kms:GenerateDataKey
and kms:Decrypt
permissions in IAM identity-based policies and KMS key policies for the KMS key.
- Special errors
-
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to CompleteMultipartUpload
:
",
+ "CopyObject": "Creates a copy of an object that is already stored in Amazon S3.
You can store individual objects of up to 5 TB in Amazon S3. You create a copy of your object up to 5 GB in size in a single atomic action using this API. However, to copy an object greater than 5 GB, you must use the multipart upload Upload Part - Copy (UploadPartCopy) API. For more information, see Copy Object Using the REST Multipart Upload API.
You can copy individual objects between general purpose buckets, between directory buckets, and between general purpose buckets and directory buckets.
-
Amazon S3 supports copy operations using Multi-Region Access Points only as a destination when using the Multi-Region Access Point ARN.
-
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
-
VPC endpoints don't support cross-Region requests (including copies). If you're using VPC endpoints, your source and destination buckets should be in the same Amazon Web Services Region as your VPC endpoint.
Both the Region that you want to copy the object from and the Region that you want to copy the object to must be enabled for your account. For more information about how to enable a Region for your account, see Enable or disable a Region for standalone accounts in the Amazon Web Services Account Management Guide.
Amazon S3 transfer acceleration does not support cross-Region copies. If you request a cross-Region copy using a transfer acceleration endpoint, you get a 400 Bad Request
error. For more information, see Transfer Acceleration.
- Authentication and authorization
-
All CopyObject
requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the x-amz-
prefix, including x-amz-copy-source
, must be signed. For more information, see REST Authentication.
Directory buckets - You must use the IAM credentials to authenticate and authorize your access to the CopyObject
API operation, instead of using the temporary security credentials through the CreateSession
API operation.
Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.
- Permissions
-
You must have read access to the source object and write access to the destination bucket.
-
General purpose bucket permissions - You must have permissions in an IAM policy based on the source and destination bucket types in a CopyObject
operation.
-
If the source object is in a general purpose bucket, you must have s3:GetObject
permission to read the source object that is being copied.
-
If the destination bucket is a general purpose bucket, you must have s3:PutObject
permission to write the object copy to the destination bucket.
-
Directory bucket permissions - You must have permissions in a bucket policy or an IAM identity-based policy based on the source and destination bucket types in a CopyObject
operation.
-
If the source object that you want to copy is in a directory bucket, you must have the s3express:CreateSession
permission in the Action
element of a policy to read the object. By default, the session is in the ReadWrite
mode. If you want to restrict the access, you can explicitly set the s3express:SessionMode
condition key to ReadOnly
on the copy source bucket.
-
If the copy destination is a directory bucket, you must have the s3express:CreateSession
permission in the Action
element of a policy to write the object to the destination. The s3express:SessionMode
condition key can't be set to ReadOnly
on the copy destination bucket.
If the object is encrypted with SSE-KMS, you must also have the kms:GenerateDataKey
and kms:Decrypt
permissions in IAM identity-based policies and KMS key policies for the KMS key.
For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the Amazon S3 User Guide.
- Response and special errors
-
When the request is an HTTP 1.1 request, the response is chunk encoded. When the request is not an HTTP 1.1 request, the response would not contain the Content-Length
. You always need to read the entire response body to check if the copy succeeds.
-
If the copy is successful, you receive a response with information about the copied object.
-
A copy request might return an error when Amazon S3 receives the copy request or while Amazon S3 is copying the files. A 200 OK
response can contain either a success or an error.
-
If the error occurs before the copy action starts, you receive a standard Amazon S3 error.
-
If the error occurs during the copy operation, the error response is embedded in the 200 OK
response. For example, in a cross-region copy, you may encounter throttling and receive a 200 OK
response. For more information, see Resolve the Error 200 response when copying objects to Amazon S3. The 200 OK
status code means the copy was accepted, but it doesn't mean the copy is complete. Another example is when you disconnect from Amazon S3 before the copy is complete, Amazon S3 might cancel the copy and you may receive a 200 OK
response. You must stay connected to Amazon S3 until the entire response is successfully received and processed.
If you call this API operation directly, make sure to design your application to parse the content of the response and handle it appropriately. If you use Amazon Web Services SDKs, SDKs handle this condition. The SDKs detect the embedded error and apply error handling per your configuration settings (including automatically retrying the request as appropriate). If the condition persists, the SDKs throw an exception (or, for the SDKs that don't use exceptions, they return an error).
- Charge
-
The copy request charge is based on the storage class and Region that you specify for the destination object. The request can also result in a data retrieval charge for the source if the source storage class bills for data retrieval. If the copy source is in a different region, the data transfer is billed to the copy source account. For pricing information, see Amazon S3 pricing.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to CopyObject
:
",
"CreateBucket": " This action creates an Amazon S3 bucket. To create an Amazon S3 on Outposts bucket, see CreateBucket
.
Creates a new S3 bucket. To create a bucket, you must set up Amazon S3 and have a valid Amazon Web Services Access Key ID to authenticate requests. Anonymous requests are never allowed to create buckets. By creating the bucket, you become the bucket owner.
There are two types of buckets: general purpose buckets and directory buckets. For more information about these bucket types, see Creating, configuring, and working with Amazon S3 buckets in the Amazon S3 User Guide.
-
General purpose buckets - If you send your CreateBucket
request to the s3.amazonaws.com
global endpoint, the request goes to the us-east-1
Region. So the signature calculations in Signature Version 4 must use us-east-1
as the Region, even if the location constraint in the request specifies another Region where the bucket is to be created. If you create a bucket in a Region other than US East (N. Virginia), your application must be able to handle 307 redirect. For more information, see Virtual hosting of buckets in the Amazon S3 User Guide.
-
Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - In addition to the s3:CreateBucket
permission, the following permissions are required in a policy when your CreateBucket
request includes specific headers:
-
Access control lists (ACLs) - In your CreateBucket
request, if you specify an access control list (ACL) and set it to public-read
, public-read-write
, authenticated-read
, or if you explicitly specify any other custom ACLs, both s3:CreateBucket
and s3:PutBucketAcl
permissions are required. In your CreateBucket
request, if you set the ACL to private
, or if you don't specify any ACLs, only the s3:CreateBucket
permission is required.
-
Object Lock - In your CreateBucket
request, if you set x-amz-bucket-object-lock-enabled
to true, the s3:PutBucketObjectLockConfiguration
and s3:PutBucketVersioning
permissions are required.
-
S3 Object Ownership - If your CreateBucket
request includes the x-amz-object-ownership
header, then the s3:PutBucketOwnershipControls
permission is required.
To set an ACL on a bucket as part of a CreateBucket
request, you must explicitly set S3 Object Ownership for the bucket to a different value than the default, BucketOwnerEnforced
. Additionally, if your desired bucket ACL grants public access, you must first create the bucket (without the bucket ACL) and then explicitly disable Block Public Access on the bucket before using PutBucketAcl
to set the ACL. If you try to create a bucket with a public ACL, the request will fail.
For the majority of modern use cases in S3, we recommend that you keep all Block Public Access settings enabled and keep ACLs disabled. If you would like to share data with users outside of your account, you can use bucket policies as needed. For more information, see Controlling ownership of objects and disabling ACLs for your bucket and Blocking public access to your Amazon S3 storage in the Amazon S3 User Guide.
-
S3 Block Public Access - If your specific use case requires granting public access to your S3 resources, you can disable Block Public Access. Specifically, you can create a new bucket with Block Public Access enabled, then separately call the DeletePublicAccessBlock
API. To use this operation, you must have the s3:PutBucketPublicAccessBlock
permission. For more information about S3 Block Public Access, see Blocking public access to your Amazon S3 storage in the Amazon S3 User Guide.
-
Directory bucket permissions - You must have the s3express:CreateBucket
permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.
The permissions for ACLs, Object Lock, S3 Object Ownership, and S3 Block Public Access are not supported for directory buckets. For directory buckets, all Block Public Access settings are enabled at the bucket level and S3 Object Ownership is set to Bucket owner enforced (ACLs disabled). These settings can't be modified.
For more information about permissions for creating and working with directory buckets, see Directory buckets in the Amazon S3 User Guide. For more information about supported S3 features for directory buckets, see Features of S3 Express One Zone in the Amazon S3 User Guide.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com
.
The following operations are related to CreateBucket
:
",
- "CreateMultipartUpload": "This action initiates a multipart upload and returns an upload ID. This upload ID is used to associate all of the parts in the specific multipart upload. You specify this upload ID in each of your subsequent upload part requests (see UploadPart). You also include this upload ID in the final request to either complete or abort the multipart upload request. For more information about multipart uploads, see Multipart Upload Overview in the Amazon S3 User Guide.
After you initiate a multipart upload and upload one or more parts, to stop being charged for storing the uploaded parts, you must either complete or abort the multipart upload. Amazon S3 frees up the space used to store the parts and stops charging you for storing them only after you either complete or abort a multipart upload.
If you have configured a lifecycle rule to abort incomplete multipart uploads, the created multipart upload must be completed within the number of days specified in the bucket lifecycle configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort action and Amazon S3 aborts the multipart upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration.
-
Directory buckets - S3 Lifecycle is not supported by directory buckets.
-
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Request signing
-
For request signing, multipart upload is just a series of regular requests. You initiate a multipart upload, send one or more requests to upload parts, and then complete the multipart upload process. You sign each request individually. There is nothing special about signing multipart upload requests. For more information about signing, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - To perform a multipart upload with encryption using an Key Management Service (KMS) KMS key, the requester must have permission to the kms:Decrypt
and kms:GenerateDataKey
actions on the key. The requester must also have permissions for the kms:GenerateDataKey
action for the CreateMultipartUpload
API. Then, the requester needs permissions for the kms:Decrypt
action on the UploadPart
and UploadPartCopy
APIs. These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload. For more information, see Multipart upload API and permissions and Protecting data using server-side encryption with Amazon Web Services KMS in the Amazon S3 User Guide.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
- Encryption
-
-
General purpose buckets - Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it writes it to disks in its data centers and decrypts it when you access it. Amazon S3 automatically encrypts all new objects that are uploaded to an S3 bucket. When doing a multipart upload, if you don't specify encryption information in your request, the encryption setting of the uploaded parts is set to the default encryption configuration of the destination bucket. By default, all buckets have a base level of encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the destination bucket has a default encryption configuration that uses server-side encryption with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C), Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the uploaded parts. When you perform a CreateMultipartUpload operation, if you want to use a different type of encryption setting for the uploaded parts, you can request that Amazon S3 encrypts the object with a different encryption key (such as an Amazon S3 managed key, a KMS key, or a customer-provided key). When the encryption setting in your request is different from the default encryption configuration of the destination bucket, the encryption setting in your request takes precedence. If you choose to provide your own encryption key, the request headers you provide in UploadPart and UploadPartCopy requests must match the headers you used in the CreateMultipartUpload
request.
-
Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key (aws/s3
) and KMS customer managed keys stored in Key Management Service (KMS) – If you want Amazon Web Services to manage the keys used to encrypt data, specify the following headers in the request.
-
x-amz-server-side-encryption
-
x-amz-server-side-encryption-aws-kms-key-id
-
x-amz-server-side-encryption-context
-
If you specify x-amz-server-side-encryption:aws:kms
, but don't provide x-amz-server-side-encryption-aws-kms-key-id
, Amazon S3 uses the Amazon Web Services managed key (aws/s3
key) in KMS to protect the data.
-
To perform a multipart upload with encryption by using an Amazon Web Services KMS key, the requester must have permission to the kms:Decrypt
and kms:GenerateDataKey*
actions on the key. These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload. For more information, see Multipart upload API and permissions and Protecting data using server-side encryption with Amazon Web Services KMS in the Amazon S3 User Guide.
-
If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account as the KMS key, then you must have these permissions on the key policy. If your IAM user or role is in a different account from the key, then you must have the permissions on both the key policy and your IAM user or role.
-
All GET
and PUT
requests for an object protected by KMS fail if you don't make them by using Secure Sockets Layer (SSL), Transport Layer Security (TLS), or Signature Version 4. For information about configuring any of the officially supported Amazon Web Services SDKs and Amazon Web Services CLI, see Specifying the Signature Version in Request Authentication in the Amazon S3 User Guide.
For more information about server-side encryption with KMS keys (SSE-KMS), see Protecting Data Using Server-Side Encryption with KMS keys in the Amazon S3 User Guide.
-
Use customer-provided encryption keys (SSE-C) – If you want to manage your own encryption keys, provide all the following headers in the request.
-
x-amz-server-side-encryption-customer-algorithm
-
x-amz-server-side-encryption-customer-key
-
x-amz-server-side-encryption-customer-key-MD5
For more information about server-side encryption with customer-provided encryption keys (SSE-C), see Protecting data using server-side encryption with customer-provided encryption keys (SSE-C) in the Amazon S3 User Guide.
-
Directory buckets -For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to CreateMultipartUpload
:
",
- "CreateSession": "Creates a session that establishes temporary security credentials to support fast authentication and authorization for the Zonal endpoint APIs on directory buckets. For more information about Zonal endpoint APIs that include the Availability Zone in the request endpoint, see S3 Express One Zone APIs in the Amazon S3 User Guide.
To make Zonal endpoint API requests on a directory bucket, use the CreateSession
API operation. Specifically, you grant s3express:CreateSession
permission to a bucket in a bucket policy or an IAM identity-based policy. Then, you use IAM credentials to make the CreateSession
API request on the bucket, which returns temporary security credentials that include the access key ID, secret access key, session token, and expiration. These credentials have associated permissions to access the Zonal endpoint APIs. After the session is created, you don’t need to use other policies to grant permissions to each Zonal endpoint API individually. Instead, in your Zonal endpoint API requests, you sign your requests by applying the temporary security credentials of the session to the request headers and following the SigV4 protocol for authentication. You also apply the session token to the x-amz-s3session-token
request header for authorization. Temporary security credentials are scoped to the bucket and expire after 5 minutes. After the expiration time, any calls that you make with those credentials will fail. You must use IAM credentials again to make a CreateSession
API request that generates a new set of temporary credentials for use. Temporary credentials cannot be extended or refreshed beyond the original specified interval.
If you use Amazon Web Services SDKs, SDKs handle the session token refreshes automatically to avoid service interruptions when a session expires. We recommend that you use the Amazon Web Services SDKs to initiate and manage requests to the CreateSession API. For more information, see Performance guidelines and design patterns in the Amazon S3 User Guide.
-
You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
-
CopyObject
API operation - Unlike other Zonal endpoint APIs, the CopyObject
API operation doesn't use the temporary security credentials returned from the CreateSession
API operation for authentication and authorization. For information about authentication and authorization of the CopyObject
API operation on directory buckets, see CopyObject.
-
HeadBucket
API operation - Unlike other Zonal endpoint APIs, the HeadBucket
API operation doesn't use the temporary security credentials returned from the CreateSession
API operation for authentication and authorization. For information about authentication and authorization of the HeadBucket
API operation on directory buckets, see HeadBucket.
- Permissions
-
To obtain temporary security credentials, you must create a bucket policy or an IAM identity-based policy that grants s3express:CreateSession
permission to the bucket. In a policy, you can have the s3express:SessionMode
condition key to control who can create a ReadWrite
or ReadOnly
session. For more information about ReadWrite
or ReadOnly
sessions, see x-amz-create-session-mode
. For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the Amazon S3 User Guide.
To grant cross-account access to Zonal endpoint APIs, the bucket policy should also grant both accounts the s3express:CreateSession
permission.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
",
+ "CreateMultipartUpload": "This action initiates a multipart upload and returns an upload ID. This upload ID is used to associate all of the parts in the specific multipart upload. You specify this upload ID in each of your subsequent upload part requests (see UploadPart). You also include this upload ID in the final request to either complete or abort the multipart upload request. For more information about multipart uploads, see Multipart Upload Overview in the Amazon S3 User Guide.
After you initiate a multipart upload and upload one or more parts, to stop being charged for storing the uploaded parts, you must either complete or abort the multipart upload. Amazon S3 frees up the space used to store the parts and stops charging you for storing them only after you either complete or abort a multipart upload.
If you have configured a lifecycle rule to abort incomplete multipart uploads, the created multipart upload must be completed within the number of days specified in the bucket lifecycle configuration. Otherwise, the incomplete multipart upload becomes eligible for an abort action and Amazon S3 aborts the multipart upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Configuration.
-
Directory buckets - S3 Lifecycle is not supported by directory buckets.
-
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Request signing
-
For request signing, multipart upload is just a series of regular requests. You initiate a multipart upload, send one or more requests to upload parts, and then complete the multipart upload process. You sign each request individually. There is nothing special about signing multipart upload requests. For more information about signing, see Authenticating Requests (Amazon Web Services Signature Version 4) in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - To perform a multipart upload with encryption using an Key Management Service (KMS) KMS key, the requester must have permission to the kms:Decrypt
and kms:GenerateDataKey
actions on the key. The requester must also have permissions for the kms:GenerateDataKey
action for the CreateMultipartUpload
API. Then, the requester needs permissions for the kms:Decrypt
action on the UploadPart
and UploadPartCopy
APIs. These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload. For more information, see Multipart upload API and permissions and Protecting data using server-side encryption with Amazon Web Services KMS in the Amazon S3 User Guide.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
- Encryption
-
-
General purpose buckets - Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it writes it to disks in its data centers and decrypts it when you access it. Amazon S3 automatically encrypts all new objects that are uploaded to an S3 bucket. When doing a multipart upload, if you don't specify encryption information in your request, the encryption setting of the uploaded parts is set to the default encryption configuration of the destination bucket. By default, all buckets have a base level of encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the destination bucket has a default encryption configuration that uses server-side encryption with an Key Management Service (KMS) key (SSE-KMS), or a customer-provided encryption key (SSE-C), Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the uploaded parts. When you perform a CreateMultipartUpload operation, if you want to use a different type of encryption setting for the uploaded parts, you can request that Amazon S3 encrypts the object with a different encryption key (such as an Amazon S3 managed key, a KMS key, or a customer-provided key). When the encryption setting in your request is different from the default encryption configuration of the destination bucket, the encryption setting in your request takes precedence. If you choose to provide your own encryption key, the request headers you provide in UploadPart and UploadPartCopy requests must match the headers you used in the CreateMultipartUpload
request.
-
Use KMS keys (SSE-KMS) that include the Amazon Web Services managed key (aws/s3
) and KMS customer managed keys stored in Key Management Service (KMS) – If you want Amazon Web Services to manage the keys used to encrypt data, specify the following headers in the request.
-
x-amz-server-side-encryption
-
x-amz-server-side-encryption-aws-kms-key-id
-
x-amz-server-side-encryption-context
-
If you specify x-amz-server-side-encryption:aws:kms
, but don't provide x-amz-server-side-encryption-aws-kms-key-id
, Amazon S3 uses the Amazon Web Services managed key (aws/s3
key) in KMS to protect the data.
-
To perform a multipart upload with encryption by using an Amazon Web Services KMS key, the requester must have permission to the kms:Decrypt
and kms:GenerateDataKey*
actions on the key. These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload. For more information, see Multipart upload API and permissions and Protecting data using server-side encryption with Amazon Web Services KMS in the Amazon S3 User Guide.
-
If your Identity and Access Management (IAM) user or role is in the same Amazon Web Services account as the KMS key, then you must have these permissions on the key policy. If your IAM user or role is in a different account from the key, then you must have the permissions on both the key policy and your IAM user or role.
-
All GET
and PUT
requests for an object protected by KMS fail if you don't make them by using Secure Sockets Layer (SSL), Transport Layer Security (TLS), or Signature Version 4. For information about configuring any of the officially supported Amazon Web Services SDKs and Amazon Web Services CLI, see Specifying the Signature Version in Request Authentication in the Amazon S3 User Guide.
For more information about server-side encryption with KMS keys (SSE-KMS), see Protecting Data Using Server-Side Encryption with KMS keys in the Amazon S3 User Guide.
-
Use customer-provided encryption keys (SSE-C) – If you want to manage your own encryption keys, provide all the following headers in the request.
-
x-amz-server-side-encryption-customer-algorithm
-
x-amz-server-side-encryption-customer-key
-
x-amz-server-side-encryption-customer-key-MD5
For more information about server-side encryption with customer-provided encryption keys (SSE-C), see Protecting data using server-side encryption with customer-provided encryption keys (SSE-C) in the Amazon S3 User Guide.
-
Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) and server-side encryption with KMS keys (SSE-KMS) (aws:kms
). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your CreateSession
requests or PUT
object requests. Then, new objects are automatically encrypted with the desired encryption settings. For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.
In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, the encryption request headers must match the encryption settings that are specified in the CreateSession
request. You can't override the values of the encryption settings (x-amz-server-side-encryption
, x-amz-server-side-encryption-aws-kms-key-id
, x-amz-server-side-encryption-context
, and x-amz-server-side-encryption-bucket-key-enabled
) that are specified in the CreateSession
request. You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and Amazon S3 will use the encryption settings values from the CreateSession
request to protect new objects in the directory bucket.
When you use the CLI or the Amazon Web Services SDKs, for CreateSession
, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the CreateSession
request. It's not supported to override the encryption settings values in the CreateSession
request. So in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), the encryption request headers must match the default encryption configuration of the directory bucket.
For directory buckets, when you perform a CreateMultipartUpload
operation and an UploadPartCopy
operation, the request headers you provide in the CreateMultipartUpload
request must match the default encryption configuration of the destination bucket.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to CreateMultipartUpload
:
",
+ "CreateSession": "Creates a session that establishes temporary security credentials to support fast authentication and authorization for the Zonal endpoint API operations on directory buckets. For more information about Zonal endpoint API operations that include the Availability Zone in the request endpoint, see S3 Express One Zone APIs in the Amazon S3 User Guide.
To make Zonal endpoint API requests on a directory bucket, use the CreateSession
API operation. Specifically, you grant s3express:CreateSession
permission to a bucket in a bucket policy or an IAM identity-based policy. Then, you use IAM credentials to make the CreateSession
API request on the bucket, which returns temporary security credentials that include the access key ID, secret access key, session token, and expiration. These credentials have associated permissions to access the Zonal endpoint API operations. After the session is created, you don’t need to use other policies to grant permissions to each Zonal endpoint API individually. Instead, in your Zonal endpoint API requests, you sign your requests by applying the temporary security credentials of the session to the request headers and following the SigV4 protocol for authentication. You also apply the session token to the x-amz-s3session-token
request header for authorization. Temporary security credentials are scoped to the bucket and expire after 5 minutes. After the expiration time, any calls that you make with those credentials will fail. You must use IAM credentials again to make a CreateSession
API request that generates a new set of temporary credentials for use. Temporary credentials cannot be extended or refreshed beyond the original specified interval.
If you use Amazon Web Services SDKs, SDKs handle the session token refreshes automatically to avoid service interruptions when a session expires. We recommend that you use the Amazon Web Services SDKs to initiate and manage requests to the CreateSession API. For more information, see Performance guidelines and design patterns in the Amazon S3 User Guide.
-
You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
-
CopyObject
API operation - Unlike other Zonal endpoint API operations, the CopyObject
API operation doesn't use the temporary security credentials returned from the CreateSession
API operation for authentication and authorization. For information about authentication and authorization of the CopyObject
API operation on directory buckets, see CopyObject.
-
HeadBucket
API operation - Unlike other Zonal endpoint API operations, the HeadBucket
API operation doesn't use the temporary security credentials returned from the CreateSession
API operation for authentication and authorization. For information about authentication and authorization of the HeadBucket
API operation on directory buckets, see HeadBucket.
- Permissions
-
To obtain temporary security credentials, you must create a bucket policy or an IAM identity-based policy that grants s3express:CreateSession
permission to the bucket. In a policy, you can have the s3express:SessionMode
condition key to control who can create a ReadWrite
or ReadOnly
session. For more information about ReadWrite
or ReadOnly
sessions, see x-amz-create-session-mode
. For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the Amazon S3 User Guide.
To grant cross-account access to Zonal endpoint API operations, the bucket policy should also grant both accounts the s3express:CreateSession
permission.
If you want to encrypt objects with SSE-KMS, you must also have the kms:GenerateDataKey
and the kms:Decrypt
permissions in IAM identity-based policies and KMS key policies for the target KMS key.
- Encryption
-
For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) and server-side encryption with KMS keys (SSE-KMS) (aws:kms
). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your CreateSession
requests or PUT
object requests. Then, new objects are automatically encrypted with the desired encryption settings. For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.
For Zonal endpoint (object-level) API operations except CopyObject and UploadPartCopy, you authenticate and authorize requests through CreateSession for low latency. To encrypt new objects in a directory bucket with SSE-KMS, you must specify SSE-KMS as the directory bucket's default encryption configuration with a KMS key (specifically, a customer managed key). Then, when a session is created for Zonal endpoint API operations, new objects are automatically encrypted and decrypted with SSE-KMS and S3 Bucket Keys during the session.
Only 1 customer managed key is supported per directory bucket for the lifetime of the bucket. Amazon Web Services managed key (aws/s3
) isn't supported. After you specify SSE-KMS as your bucket's default encryption configuration with a customer managed key, you can't change the customer managed key for the bucket's SSE-KMS configuration.
In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, you can't override the values of the encryption settings (x-amz-server-side-encryption
, x-amz-server-side-encryption-aws-kms-key-id
, x-amz-server-side-encryption-context
, and x-amz-server-side-encryption-bucket-key-enabled
) from the CreateSession
request. You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and Amazon S3 will use the encryption settings values from the CreateSession
request to protect new objects in the directory bucket.
When you use the CLI or the Amazon Web Services SDKs, for CreateSession
, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the CreateSession
request. It's not supported to override the encryption settings values in the CreateSession
request. Also, in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), it's not supported to override the values of the encryption settings from the CreateSession
request.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
",
"DeleteBucket": "Deletes the S3 bucket. All objects (including all object versions and delete markers) in the bucket must be deleted before the bucket itself can be deleted.
-
Directory buckets - If multipart uploads in a directory bucket are in progress, you can't delete the bucket until all the in-progress multipart uploads are aborted or completed.
-
Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - You must have the s3:DeleteBucket
permission on the specified bucket in a policy.
-
Directory bucket permissions - You must have the s3express:DeleteBucket
permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com
.
The following operations are related to DeleteBucket
:
",
"DeleteBucketAnalyticsConfiguration": " This operation is not supported by directory buckets.
Deletes an analytics configuration for the bucket (specified by the analytics configuration ID).
To use this operation, you must have permissions to perform the s3:PutAnalyticsConfiguration
action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis.
The following operations are related to DeleteBucketAnalyticsConfiguration
:
",
"DeleteBucketCors": " This operation is not supported by directory buckets.
Deletes the cors
configuration information set for the bucket.
To use this operation, you must have permission to perform the s3:PutBucketCORS
action. The bucket owner has this permission by default and can grant this permission to others.
For information about cors
, see Enabling Cross-Origin Resource Sharing in the Amazon S3 User Guide.
Related Resources
",
- "DeleteBucketEncryption": " This operation is not supported by directory buckets.
This implementation of the DELETE action resets the default encryption for the bucket as server-side encryption with Amazon S3 managed keys (SSE-S3). For information about the bucket default encryption feature, see Amazon S3 Bucket Default Encryption in the Amazon S3 User Guide.
To use this operation, you must have permissions to perform the s3:PutEncryptionConfiguration
action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to your Amazon S3 Resources in the Amazon S3 User Guide.
The following operations are related to DeleteBucketEncryption
:
",
+ "DeleteBucketEncryption": "This implementation of the DELETE action resets the default encryption for the bucket as server-side encryption with Amazon S3 managed keys (SSE-S3).
- Permissions
-
-
General purpose bucket permissions - The s3:PutEncryptionConfiguration
permission is required in a policy. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Operations and Managing Access Permissions to Your Amazon S3 Resources.
-
Directory bucket permissions - To grant access to this API operation, you must have the s3express:PutEncryptionConfiguration
permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com
.
The following operations are related to DeleteBucketEncryption
:
",
"DeleteBucketIntelligentTieringConfiguration": " This operation is not supported by directory buckets.
Deletes the S3 Intelligent-Tiering configuration from the specified bucket.
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
Operations related to DeleteBucketIntelligentTieringConfiguration
include:
",
"DeleteBucketInventoryConfiguration": " This operation is not supported by directory buckets.
Deletes an inventory configuration (identified by the inventory ID) from the bucket.
To use this operation, you must have permissions to perform the s3:PutInventoryConfiguration
action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
Operations related to DeleteBucketInventoryConfiguration
include:
",
"DeleteBucketLifecycle": " This operation is not supported by directory buckets.
Deletes the lifecycle configuration from the specified bucket. Amazon S3 removes all the lifecycle configuration rules in the lifecycle subresource associated with the bucket. Your objects never expire, and Amazon S3 no longer automatically deletes any objects on the basis of rules contained in the deleted lifecycle configuration.
To use this operation, you must have permission to perform the s3:PutLifecycleConfiguration
action. By default, the bucket owner has this permission and the bucket owner can grant this permission to others.
There is usually some time lag before lifecycle configuration deletion is fully propagated to all the Amazon S3 systems.
For more information about the object expiration, see Elements to Describe Lifecycle Actions.
Related actions include:
",
@@ -29,7 +29,7 @@
"GetBucketAcl": " This operation is not supported by directory buckets.
This implementation of the GET
action uses the acl
subresource to return the access control list (ACL) of a bucket. To use GET
to return the ACL of the bucket, you must have the READ_ACP
access to the bucket. If READ_ACP
permission is granted to the anonymous user, you can return the ACL of the bucket without using an authorization header.
When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. For more information about InvalidAccessPointAliasError
, see List of Error Codes.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership, requests to read ACLs are still supported and return the bucket-owner-full-control
ACL with the owner being the account that created the bucket. For more information, see Controlling object ownership and disabling ACLs in the Amazon S3 User Guide.
The following operations are related to GetBucketAcl
:
",
"GetBucketAnalyticsConfiguration": " This operation is not supported by directory buckets.
This implementation of the GET action returns an analytics configuration (identified by the analytics configuration ID) from the bucket.
To use this operation, you must have permissions to perform the s3:GetAnalyticsConfiguration
action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources in the Amazon S3 User Guide.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis in the Amazon S3 User Guide.
The following operations are related to GetBucketAnalyticsConfiguration
:
",
"GetBucketCors": " This operation is not supported by directory buckets.
Returns the Cross-Origin Resource Sharing (CORS) configuration information set for the bucket.
To use this operation, you must have permission to perform the s3:GetBucketCORS
action. By default, the bucket owner has this permission and can grant it to others.
When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. For more information about InvalidAccessPointAliasError
, see List of Error Codes.
For more information about CORS, see Enabling Cross-Origin Resource Sharing.
The following operations are related to GetBucketCors
:
",
- "GetBucketEncryption": " This operation is not supported by directory buckets.
Returns the default encryption configuration for an Amazon S3 bucket. By default, all buckets have a default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). For information about the bucket default encryption feature, see Amazon S3 Bucket Default Encryption in the Amazon S3 User Guide.
To use this operation, you must have permission to perform the s3:GetEncryptionConfiguration
action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.
The following operations are related to GetBucketEncryption
:
",
+ "GetBucketEncryption": "Returns the default encryption configuration for an Amazon S3 bucket. By default, all buckets have a default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3).
- Permissions
-
-
General purpose bucket permissions - The s3:GetEncryptionConfiguration
permission is required in a policy. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Operations and Managing Access Permissions to Your Amazon S3 Resources.
-
Directory bucket permissions - To grant access to this API operation, you must have the s3express:GetEncryptionConfiguration
permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com
.
The following operations are related to GetBucketEncryption
:
",
"GetBucketIntelligentTieringConfiguration": " This operation is not supported by directory buckets.
Gets the S3 Intelligent-Tiering configuration from the specified bucket.
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
Operations related to GetBucketIntelligentTieringConfiguration
include:
",
"GetBucketInventoryConfiguration": " This operation is not supported by directory buckets.
Returns an inventory configuration (identified by the inventory configuration ID) from the bucket.
To use this operation, you must have permissions to perform the s3:GetInventoryConfiguration
action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory.
The following operations are related to GetBucketInventoryConfiguration
:
",
"GetBucketLifecycle": " For an updated version of this API, see GetBucketLifecycleConfiguration. If you configured a bucket lifecycle using the filter
element, you should see the updated version of this topic. This topic is provided for backward compatibility.
This operation is not supported by directory buckets.
Returns the lifecycle configuration information set on the bucket. For information about lifecycle configuration, see Object Lifecycle Management.
To use this operation, you must have permission to perform the s3:GetLifecycleConfiguration
action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.
GetBucketLifecycle
has the following special error:
The following operations are related to GetBucketLifecycle
:
",
@@ -47,9 +47,9 @@
"GetBucketTagging": " This operation is not supported by directory buckets.
Returns the tag set associated with the bucket.
To use this operation, you must have permission to perform the s3:GetBucketTagging
action. By default, the bucket owner has this permission and can grant this permission to others.
GetBucketTagging
has the following special error:
The following operations are related to GetBucketTagging
:
",
"GetBucketVersioning": " This operation is not supported by directory buckets.
Returns the versioning state of a bucket.
To retrieve the versioning state of a bucket, you must be the bucket owner.
This implementation also returns the MFA Delete status of the versioning state. If the MFA Delete status is enabled
, the bucket owner must use an authentication device to change the versioning state of the bucket.
The following operations are related to GetBucketVersioning
:
",
"GetBucketWebsite": " This operation is not supported by directory buckets.
Returns the website configuration for a bucket. To host website on Amazon S3, you can configure a bucket as website by adding a website configuration. For more information about hosting websites, see Hosting Websites on Amazon S3.
This GET action requires the S3:GetBucketWebsite
permission. By default, only the bucket owner can read the bucket website configuration. However, bucket owners can allow other users to read the website configuration by writing a bucket policy granting them the S3:GetBucketWebsite
permission.
The following operations are related to GetBucketWebsite
:
",
- "GetObject": "Retrieves an object from Amazon S3.
In the GetObject
request, specify the full key name for the object.
General purpose buckets - Both the virtual-hosted-style requests and the path-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg
, specify the object key name as /photos/2006/February/sample.jpg
. For a path-style request example, if you have the object photos/2006/February/sample.jpg
in the bucket named examplebucket
, specify the object key name as /examplebucket/photos/2006/February/sample.jpg
. For more information about request types, see HTTP Host Header Bucket Specification in the Amazon S3 User Guide.
Directory buckets - Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg
in the bucket named examplebucket--use1-az5--x-s3
, specify the object key name as /photos/2006/February/sample.jpg
. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - You must have the required permissions in a policy. To use GetObject
, you must have the READ
access to the object (or version). If you grant READ
access to the anonymous user, the GetObject
operation returns the object without using an authorization header. For more information, see Specifying permissions in a policy in the Amazon S3 User Guide.
If you include a versionId
in your request header, you must have the s3:GetObjectVersion
permission to access a specific version of an object. The s3:GetObject
permission is not required in this scenario.
If you request the current version of an object without a specific versionId
in the request header, only the s3:GetObject
permission is required. The s3:GetObjectVersion
permission is not required in this scenario.
If the object that you request doesn’t exist, the error that Amazon S3 returns depends on whether you also have the s3:ListBucket
permission.
-
If you have the s3:ListBucket
permission on the bucket, Amazon S3 returns an HTTP status code 404 Not Found
error.
-
If you don’t have the s3:ListBucket
permission, Amazon S3 returns an HTTP status code 403 Access Denied
error.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
- Storage classes
-
If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a copy using RestoreObject. Otherwise, this operation returns an InvalidObjectState
error. For information about restoring archived objects, see Restoring Archived Objects in the Amazon S3 User Guide.
Directory buckets - For directory buckets, only the S3 Express One Zone storage class is supported to store newly created objects. Unsupported storage class values won't write a destination object and will respond with the HTTP status code 400 Bad Request
.
- Encryption
-
Encryption request headers, like x-amz-server-side-encryption
, should not be sent for the GetObject
requests, if your object uses server-side encryption with Amazon S3 managed encryption keys (SSE-S3), server-side encryption with Key Management Service (KMS) keys (SSE-KMS), or dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you include the header in your GetObject
requests for the object that uses these types of keys, you’ll get an HTTP 400 Bad Request
error.
- Overriding response header values through the request
-
There are times when you want to override certain response header values of a GetObject
response. For example, you might override the Content-Disposition
response header value through your GetObject
request.
You can override values for a set of response headers. These modified response header values are included only in a successful response, that is, when the HTTP status code 200 OK
is returned. The headers you can override using the following query parameters in the request are a subset of the headers that Amazon S3 accepts when you create an object.
The response headers that you can override for the GetObject
response are Cache-Control
, Content-Disposition
, Content-Encoding
, Content-Language
, Content-Type
, and Expires
.
To override values for a set of response headers in the GetObject
response, you can use the following query parameters in the request.
-
response-cache-control
-
response-content-disposition
-
response-content-encoding
-
response-content-language
-
response-content-type
-
response-expires
When you use these parameters, you must sign the request by using either an Authorization header or a presigned URL. These parameters cannot be used with an unsigned (anonymous) request.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to GetObject
:
",
+ "GetObject": "Retrieves an object from Amazon S3.
In the GetObject
request, specify the full key name for the object.
General purpose buckets - Both the virtual-hosted-style requests and the path-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg
, specify the object key name as /photos/2006/February/sample.jpg
. For a path-style request example, if you have the object photos/2006/February/sample.jpg
in the bucket named examplebucket
, specify the object key name as /examplebucket/photos/2006/February/sample.jpg
. For more information about request types, see HTTP Host Header Bucket Specification in the Amazon S3 User Guide.
Directory buckets - Only virtual-hosted-style requests are supported. For a virtual hosted-style request example, if you have the object photos/2006/February/sample.jpg
in the bucket named examplebucket--use1-az5--x-s3
, specify the object key name as /photos/2006/February/sample.jpg
. Also, when you make requests to this API operation, your requests are sent to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - You must have the required permissions in a policy. To use GetObject
, you must have the READ
access to the object (or version). If you grant READ
access to the anonymous user, the GetObject
operation returns the object without using an authorization header. For more information, see Specifying permissions in a policy in the Amazon S3 User Guide.
If you include a versionId
in your request header, you must have the s3:GetObjectVersion
permission to access a specific version of an object. The s3:GetObject
permission is not required in this scenario.
If you request the current version of an object without a specific versionId
in the request header, only the s3:GetObject
permission is required. The s3:GetObjectVersion
permission is not required in this scenario.
If the object that you request doesn’t exist, the error that Amazon S3 returns depends on whether you also have the s3:ListBucket
permission.
-
If you have the s3:ListBucket
permission on the bucket, Amazon S3 returns an HTTP status code 404 Not Found
error.
-
If you don’t have the s3:ListBucket
permission, Amazon S3 returns an HTTP status code 403 Access Denied
error.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
If the object is encrypted using SSE-KMS, you must also have the kms:GenerateDataKey
and kms:Decrypt
permissions in IAM identity-based policies and KMS key policies for the KMS key.
- Storage classes
-
If the object you are retrieving is stored in the S3 Glacier Flexible Retrieval storage class, the S3 Glacier Deep Archive storage class, the S3 Intelligent-Tiering Archive Access tier, or the S3 Intelligent-Tiering Deep Archive Access tier, before you can retrieve the object you must first restore a copy using RestoreObject. Otherwise, this operation returns an InvalidObjectState
error. For information about restoring archived objects, see Restoring Archived Objects in the Amazon S3 User Guide.
Directory buckets - For directory buckets, only the S3 Express One Zone storage class is supported to store newly created objects. Unsupported storage class values won't write a destination object and will respond with the HTTP status code 400 Bad Request
.
- Encryption
-
Encryption request headers, like x-amz-server-side-encryption
, should not be sent for the GetObject
requests, if your object uses server-side encryption with Amazon S3 managed encryption keys (SSE-S3), server-side encryption with Key Management Service (KMS) keys (SSE-KMS), or dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you include the header in your GetObject
requests for the object that uses these types of keys, you’ll get an HTTP 400 Bad Request
error.
Directory buckets - For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. SSE-C isn't supported. For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide.
- Overriding response header values through the request
-
There are times when you want to override certain response header values of a GetObject
response. For example, you might override the Content-Disposition
response header value through your GetObject
request.
You can override values for a set of response headers. These modified response header values are included only in a successful response, that is, when the HTTP status code 200 OK
is returned. The headers you can override using the following query parameters in the request are a subset of the headers that Amazon S3 accepts when you create an object.
The response headers that you can override for the GetObject
response are Cache-Control
, Content-Disposition
, Content-Encoding
, Content-Language
, Content-Type
, and Expires
.
To override values for a set of response headers in the GetObject
response, you can use the following query parameters in the request.
-
response-cache-control
-
response-content-disposition
-
response-content-encoding
-
response-content-language
-
response-content-type
-
response-expires
When you use these parameters, you must sign the request by using either an Authorization header or a presigned URL. These parameters cannot be used with an unsigned (anonymous) request.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to GetObject
:
",
"GetObjectAcl": " This operation is not supported by directory buckets.
Returns the access control list (ACL) of an object. To use this operation, you must have s3:GetObjectAcl
permissions or READ_ACP
access to the object. For more information, see Mapping of ACL permissions and access policy permissions in the Amazon S3 User Guide
This functionality is not supported for Amazon S3 on Outposts.
By default, GET returns ACL information about the current version of an object. To return ACL information about a different version, use the versionId subresource.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership, requests to read ACLs are still supported and return the bucket-owner-full-control
ACL with the owner being the account that created the bucket. For more information, see Controlling object ownership and disabling ACLs in the Amazon S3 User Guide.
The following operations are related to GetObjectAcl
:
",
- "GetObjectAttributes": "Retrieves all the metadata from an object without returning the object itself. This operation is useful if you're interested only in an object's metadata.
GetObjectAttributes
combines the functionality of HeadObject
and ListParts
. All of the data returned with each of those individual calls can be returned with a single call to GetObjectAttributes
.
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - To use GetObjectAttributes
, you must have READ access to the object. The permissions that you need to use this operation with depend on whether the bucket is versioned. If the bucket is versioned, you need both the s3:GetObjectVersion
and s3:GetObjectVersionAttributes
permissions for this operation. If the bucket is not versioned, you need the s3:GetObject
and s3:GetObjectAttributes
permissions. For more information, see Specifying Permissions in a Policy in the Amazon S3 User Guide. If the object that you request does not exist, the error Amazon S3 returns depends on whether you also have the s3:ListBucket
permission.
-
If you have the s3:ListBucket
permission on the bucket, Amazon S3 returns an HTTP status code 404 Not Found
(\"no such key\") error.
-
If you don't have the s3:ListBucket
permission, Amazon S3 returns an HTTP status code 403 Forbidden
(\"access denied\") error.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
- Encryption
-
Encryption request headers, like x-amz-server-side-encryption
, should not be sent for HEAD
requests if your object uses server-side encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side encryption with Amazon S3 managed encryption keys (SSE-S3). The x-amz-server-side-encryption
header is used when you PUT
an object to S3 and want to specify the encryption method. If you include this header in a GET
request for an object that uses these types of keys, you’ll get an HTTP 400 Bad Request
error. It's because the encryption method can't be changed when you retrieve the object.
If you encrypt an object by using server-side encryption with customer-provided encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the metadata from the object, you must use the following headers to provide the encryption key for the server to be able to retrieve the object's metadata. The headers are:
-
x-amz-server-side-encryption-customer-algorithm
-
x-amz-server-side-encryption-customer-key
-
x-amz-server-side-encryption-customer-key-MD5
For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys) in the Amazon S3 User Guide.
Directory bucket permissions - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
- Versioning
-
Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null
value of the version ID is supported by directory buckets. You can only specify null
to the versionId
query parameter in the request.
- Conditional request headers
-
Consider the following when using request headers:
-
If both of the If-Match
and If-Unmodified-Since
headers are present in the request as follows, then Amazon S3 returns the HTTP status code 200 OK
and the data requested:
For more information about conditional requests, see RFC 7232.
-
If both of the If-None-Match
and If-Modified-Since
headers are present in the request as follows, then Amazon S3 returns the HTTP status code 304 Not Modified
:
For more information about conditional requests, see RFC 7232.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following actions are related to GetObjectAttributes
:
",
+ "GetObjectAttributes": "Retrieves all the metadata from an object without returning the object itself. This operation is useful if you're interested only in an object's metadata.
GetObjectAttributes
combines the functionality of HeadObject
and ListParts
. All of the data returned with each of those individual calls can be returned with a single call to GetObjectAttributes
.
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - To use GetObjectAttributes
, you must have READ access to the object. The permissions that you need to use this operation depend on whether the bucket is versioned. If the bucket is versioned, you need both the s3:GetObjectVersion
and s3:GetObjectVersionAttributes
permissions for this operation. If the bucket is not versioned, you need the s3:GetObject
and s3:GetObjectAttributes
permissions. For more information, see Specifying Permissions in a Policy in the Amazon S3 User Guide. If the object that you request does not exist, the error Amazon S3 returns depends on whether you also have the s3:ListBucket
permission.
-
If you have the s3:ListBucket
permission on the bucket, Amazon S3 returns an HTTP status code 404 Not Found
(\"no such key\") error.
-
If you don't have the s3:ListBucket
permission, Amazon S3 returns an HTTP status code 403 Forbidden
(\"access denied\") error.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
If the object is encrypted with SSE-KMS, you must also have the kms:GenerateDataKey
and kms:Decrypt
permissions in IAM identity-based policies and KMS key policies for the KMS key.
- Encryption
-
Encryption request headers, like x-amz-server-side-encryption
, should not be sent for HEAD
requests if your object uses server-side encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side encryption with Amazon S3 managed encryption keys (SSE-S3). The x-amz-server-side-encryption
header is used when you PUT
an object to S3 and want to specify the encryption method. If you include this header in a GET
request for an object that uses these types of keys, you’ll get an HTTP 400 Bad Request
error. It's because the encryption method can't be changed when you retrieve the object.
If you encrypt an object by using server-side encryption with customer-provided encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the metadata from the object, you must use the following headers to provide the encryption key for the server to be able to retrieve the object's metadata. The headers are:
-
x-amz-server-side-encryption-customer-algorithm
-
x-amz-server-side-encryption-customer-key
-
x-amz-server-side-encryption-customer-key-MD5
For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys) in the Amazon S3 User Guide.
Directory bucket permissions - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) and server-side encryption with KMS keys (SSE-KMS) (aws:kms
). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your CreateSession
requests or PUT
object requests. Then, new objects are automatically encrypted with the desired encryption settings. For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.
- Versioning
-
Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null
value of the version ID is supported by directory buckets. You can only specify null
to the versionId
query parameter in the request.
- Conditional request headers
-
Consider the following when using request headers:
-
If both of the If-Match
and If-Unmodified-Since
headers are present in the request as follows, then Amazon S3 returns the HTTP status code 200 OK
and the data requested:
For more information about conditional requests, see RFC 7232.
-
If both of the If-None-Match
and If-Modified-Since
headers are present in the request as follows, then Amazon S3 returns the HTTP status code 304 Not Modified
:
For more information about conditional requests, see RFC 7232.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following actions are related to GetObjectAttributes
:
",
"GetObjectLegalHold": " This operation is not supported by directory buckets.
Gets an object's current legal hold status. For more information, see Locking Objects.
This functionality is not supported for Amazon S3 on Outposts.
The following action is related to GetObjectLegalHold
:
",
"GetObjectLockConfiguration": " This operation is not supported by directory buckets.
Gets the Object Lock configuration for a bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see Locking Objects.
The following action is related to GetObjectLockConfiguration
:
",
"GetObjectRetention": " This operation is not supported by directory buckets.
Retrieves an object's retention settings. For more information, see Locking Objects.
This functionality is not supported for Amazon S3 on Outposts.
The following action is related to GetObjectRetention
:
",
@@ -57,7 +57,7 @@
"GetObjectTorrent": " This operation is not supported by directory buckets.
Returns torrent files from a bucket. BitTorrent can save you bandwidth when you're distributing large files.
You can get torrent only for objects that are less than 5 GB in size, and that are not encrypted using server-side encryption with a customer-provided encryption key.
To use GET, you must have READ access to the object.
This functionality is not supported for Amazon S3 on Outposts.
The following action is related to GetObjectTorrent
:
",
"GetPublicAccessBlock": " This operation is not supported by directory buckets.
Retrieves the PublicAccessBlock
configuration for an Amazon S3 bucket. To use this operation, you must have the s3:GetBucketPublicAccessBlock
permission. For more information about Amazon S3 permissions, see Specifying Permissions in a Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or an object, it checks the PublicAccessBlock
configuration for both the bucket (or the bucket that contains the object) and the bucket owner's account. If the PublicAccessBlock
settings are different between the bucket and the account, Amazon S3 uses the most restrictive combination of the bucket-level and account-level settings.
For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".
The following operations are related to GetPublicAccessBlock
:
",
"HeadBucket": "You can use this operation to determine if a bucket exists and if you have permission to access it. The action returns a 200 OK
if the bucket exists and you have permission to access it.
If the bucket does not exist or you do not have permission to access it, the HEAD
request returns a generic 400 Bad Request
, 403 Forbidden
or 404 Not Found
code. A message body is not included, so you cannot determine the exception beyond these HTTP response codes.
- Authentication and authorization
-
General purpose buckets - Request to public buckets that grant the s3:ListBucket permission publicly do not need to be signed. All other HeadBucket
requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the x-amz-
prefix, including x-amz-copy-source
, must be signed. For more information, see REST Authentication.
Directory buckets - You must use IAM credentials to authenticate and authorize your access to the HeadBucket
API operation, instead of using the temporary security credentials through the CreateSession
API operation.
Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.
- Permissions
-
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
You must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
",
- "HeadObject": "The HEAD
operation retrieves metadata from an object without returning the object itself. This operation is useful if you're interested only in an object's metadata.
A HEAD
request has the same options as a GET
operation on an object. The response is identical to the GET
response except that there is no response body. Because of this, if the HEAD
request generates an error, it returns a generic code, such as 400 Bad Request
, 403 Forbidden
, 404 Not Found
, 405 Method Not Allowed
, 412 Precondition Failed
, or 304 Not Modified
. It's not possible to retrieve the exact exception of these error codes.
Request headers are limited to 8 KB in size. For more information, see Common Request Headers.
- Permissions
-
-
General purpose bucket permissions - To use HEAD
, you must have the s3:GetObject
permission. You need the relevant read object (or version) permission for this operation. For more information, see Actions, resources, and condition keys for Amazon S3 in the Amazon S3 User Guide.
If the object you request doesn't exist, the error that Amazon S3 returns depends on whether you also have the s3:ListBucket
permission.
-
If you have the s3:ListBucket
permission on the bucket, Amazon S3 returns an HTTP status code 404 Not Found
error.
-
If you don’t have the s3:ListBucket
permission, Amazon S3 returns an HTTP status code 403 Forbidden
error.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
- Encryption
-
Encryption request headers, like x-amz-server-side-encryption
, should not be sent for HEAD
requests if your object uses server-side encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side encryption with Amazon S3 managed encryption keys (SSE-S3). The x-amz-server-side-encryption
header is used when you PUT
an object to S3 and want to specify the encryption method. If you include this header in a HEAD
request for an object that uses these types of keys, you’ll get an HTTP 400 Bad Request
error. It's because the encryption method can't be changed when you retrieve the object.
If you encrypt an object by using server-side encryption with customer-provided encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the metadata from the object, you must use the following headers to provide the encryption key for the server to be able to retrieve the object's metadata. The headers are:
-
x-amz-server-side-encryption-customer-algorithm
-
x-amz-server-side-encryption-customer-key
-
x-amz-server-side-encryption-customer-key-MD5
For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys) in the Amazon S3 User Guide.
Directory bucket permissions - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
- Versioning
-
-
If the current version of the object is a delete marker, Amazon S3 behaves as if the object was deleted and includes x-amz-delete-marker: true
in the response.
-
If the specified version is a delete marker, the response returns a 405 Method Not Allowed
error and the Last-Modified: timestamp
response header.
-
Directory buckets - Delete marker is not supported by directory buckets.
-
Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null
value of the version ID is supported by directory buckets. You can only specify null
to the versionId
query parameter in the request.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
The following actions are related to HeadObject
:
",
+ "HeadObject": "The HEAD
operation retrieves metadata from an object without returning the object itself. This operation is useful if you're interested only in an object's metadata.
A HEAD
request has the same options as a GET
operation on an object. The response is identical to the GET
response except that there is no response body. Because of this, if the HEAD
request generates an error, it returns a generic code, such as 400 Bad Request
, 403 Forbidden
, 404 Not Found
, 405 Method Not Allowed
, 412 Precondition Failed
, or 304 Not Modified
. It's not possible to retrieve the exact exception of these error codes.
Request headers are limited to 8 KB in size. For more information, see Common Request Headers.
- Permissions
-
-
General purpose bucket permissions - To use HEAD
, you must have the s3:GetObject
permission. You need the relevant read object (or version) permission for this operation. For more information, see Actions, resources, and condition keys for Amazon S3 in the Amazon S3 User Guide.
If the object you request doesn't exist, the error that Amazon S3 returns depends on whether you also have the s3:ListBucket
permission.
-
If you have the s3:ListBucket
permission on the bucket, Amazon S3 returns an HTTP status code 404 Not Found
error.
-
If you don’t have the s3:ListBucket
permission, Amazon S3 returns an HTTP status code 403 Forbidden
error.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
If you enable x-amz-checksum-mode
in the request and the object is encrypted with Amazon Web Services Key Management Service (Amazon Web Services KMS), you must also have the kms:GenerateDataKey
and kms:Decrypt
permissions in IAM identity-based policies and KMS key policies for the KMS key to retrieve the checksum of the object.
- Encryption
-
Encryption request headers, like x-amz-server-side-encryption
, should not be sent for HEAD
requests if your object uses server-side encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side encryption with Amazon S3 managed encryption keys (SSE-S3). The x-amz-server-side-encryption
header is used when you PUT
an object to S3 and want to specify the encryption method. If you include this header in a HEAD
request for an object that uses these types of keys, you’ll get an HTTP 400 Bad Request
error. It's because the encryption method can't be changed when you retrieve the object.
If you encrypt an object by using server-side encryption with customer-provided encryption keys (SSE-C) when you store the object in Amazon S3, then when you retrieve the metadata from the object, you must use the following headers to provide the encryption key for the server to be able to retrieve the object's metadata. The headers are:
-
x-amz-server-side-encryption-customer-algorithm
-
x-amz-server-side-encryption-customer-key
-
x-amz-server-side-encryption-customer-key-MD5
For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys) in the Amazon S3 User Guide.
Directory bucket - For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS. SSE-C isn't supported. For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide.
- Versioning
-
-
If the current version of the object is a delete marker, Amazon S3 behaves as if the object was deleted and includes x-amz-delete-marker: true
in the response.
-
If the specified version is a delete marker, the response returns a 405 Method Not Allowed
error and the Last-Modified: timestamp
response header.
-
Directory buckets - Delete marker is not supported by directory buckets.
-
Directory buckets - S3 Versioning isn't enabled and supported for directory buckets. For this API operation, only the null
value of the version ID is supported by directory buckets. You can only specify null
to the versionId
query parameter in the request.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
The following actions are related to HeadObject
:
",
"ListBucketAnalyticsConfigurations": " This operation is not supported by directory buckets.
Lists the analytics configurations for the bucket. You can have up to 1,000 analytics configurations per bucket.
This action supports list pagination and does not return more than 100 configurations at a time. You should always check the IsTruncated
element in the response. If there are no more configurations to list, IsTruncated
is set to false. If there are more configurations to list, IsTruncated
is set to true, and there will be a value in NextContinuationToken
. You use the NextContinuationToken
value to continue the pagination of the list by passing the value in continuation-token in the request to GET
the next page.
To use this operation, you must have permissions to perform the s3:GetAnalyticsConfiguration
action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.
For information about Amazon S3 analytics feature, see Amazon S3 Analytics – Storage Class Analysis.
The following operations are related to ListBucketAnalyticsConfigurations
:
",
"ListBucketIntelligentTieringConfigurations": " This operation is not supported by directory buckets.
Lists the S3 Intelligent-Tiering configuration from the specified bucket.
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
Operations related to ListBucketIntelligentTieringConfigurations
include:
",
"ListBucketInventoryConfigurations": " This operation is not supported by directory buckets.
Returns a list of inventory configurations for the bucket. You can have up to 1,000 analytics configurations per bucket.
This action supports list pagination and does not return more than 100 configurations at a time. Always check the IsTruncated
element in the response. If there are no more configurations to list, IsTruncated
is set to false. If there are more configurations to list, IsTruncated
is set to true, and there is a value in NextContinuationToken
. You use the NextContinuationToken
value to continue the pagination of the list by passing the value in continuation-token in the request to GET
the next page.
To use this operation, you must have permissions to perform the s3:GetInventoryConfiguration
action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.
For information about the Amazon S3 inventory feature, see Amazon S3 Inventory
The following operations are related to ListBucketInventoryConfigurations
:
",
@@ -73,7 +73,7 @@
"PutBucketAcl": " This operation is not supported by directory buckets.
Sets the permissions on an existing bucket using access control lists (ACL). For more information, see Using ACLs. To set the ACL of a bucket, you must have the WRITE_ACP
permission.
You can use one of the following two ways to set a bucket's permissions:
You cannot specify access permission using both the body and the request headers.
Depending on your application needs, you may choose to set the ACL on a bucket using either the request body or the headers. For example, if you have an existing application that updates a bucket ACL using the request body, then you can continue to use that approach.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled and no longer affect permissions. You must use policies to grant access to your bucket and the objects in it. Requests to set ACLs or update ACLs fail and return the AccessControlListNotSupported
error code. Requests to read ACLs are still supported. For more information, see Controlling object ownership in the Amazon S3 User Guide.
- Permissions
-
You can set access permissions by using one of the following methods:
-
Specify a canned ACL with the x-amz-acl
request header. Amazon S3 supports a set of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set of grantees and permissions. Specify the canned ACL name as the value of x-amz-acl
. If you use this header, you cannot use other access control-specific headers in your request. For more information, see Canned ACL.
-
Specify access permissions explicitly with the x-amz-grant-read
, x-amz-grant-read-acp
, x-amz-grant-write-acp
, and x-amz-grant-full-control
headers. When using these headers, you specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who will receive the permission. If you use these ACL-specific headers, you cannot use the x-amz-acl
header to set a canned ACL. These parameters map to the set of permissions that Amazon S3 supports in an ACL. For more information, see Access Control List (ACL) Overview.
You specify each grantee as a type=value pair, where the type is one of the following:
-
id
– if the value specified is the canonical user ID of an Amazon Web Services account
-
uri
– if you are granting permissions to a predefined group
-
emailAddress
– if the value specified is the email address of an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
For example, the following x-amz-grant-write
header grants create, overwrite, and delete objects permission to LogDelivery group predefined by Amazon S3 and two Amazon Web Services accounts identified by their email addresses.
x-amz-grant-write: uri=\"http://acs.amazonaws.com/groups/s3/LogDelivery\", id=\"111122223333\", id=\"555566667777\"
You can use either a canned ACL or specify access permissions explicitly. You cannot do both.
- Grantee Values
-
You can specify the person (grantee) to whom you're assigning access rights (using request elements) in the following ways:
-
By the person's ID:
<Grantee xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"CanonicalUser\"><ID><>ID<></ID><DisplayName><>GranteesEmail<></DisplayName> </Grantee>
DisplayName is optional and ignored in the request
-
By URI:
<Grantee xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"Group\"><URI><>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<></URI></Grantee>
-
By Email address:
<Grantee xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"AmazonCustomerByEmail\"><EmailAddress><>Grantees@email.com<></EmailAddress>&</Grantee>
The grantee is resolved to the CanonicalUser and, in a response to a GET Object acl request, appears as the CanonicalUser.
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
The following operations are related to PutBucketAcl
:
",
"PutBucketAnalyticsConfiguration": " This operation is not supported by directory buckets.
Sets an analytics configuration for the bucket (specified by the analytics configuration ID). You can have up to 1,000 analytics configurations per bucket.
You can choose to have storage class analysis export analysis reports sent to a comma-separated values (CSV) flat file. See the DataExport
request element. Reports are updated daily and are based on the object filters that you configure. When selecting data export, you specify a destination bucket and an optional destination prefix where the file is written. You can export the data to a destination bucket in a different account. However, the destination bucket must be in the same Region as the bucket that you are making the PUT analytics configuration to. For more information, see Amazon S3 Analytics – Storage Class Analysis.
You must create a bucket policy on the destination bucket where the exported file is written to grant permissions to Amazon S3 to write objects to the bucket. For an example policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
To use this operation, you must have permissions to perform the s3:PutAnalyticsConfiguration
action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.
PutBucketAnalyticsConfiguration
has the following special errors:
-
-
-
HTTP Error: HTTP 400 Bad Request
-
Code: TooManyConfigurations
-
Cause: You are attempting to create a new configuration but have already reached the 1,000-configuration limit.
-
-
HTTP Error: HTTP 403 Forbidden
-
Code: AccessDenied
-
Cause: You are not the owner of the specified bucket, or you do not have the s3:PutAnalyticsConfiguration bucket permission to set the configuration on the bucket.
The following operations are related to PutBucketAnalyticsConfiguration
:
",
"PutBucketCors": " This operation is not supported by directory buckets.
Sets the cors
configuration for your bucket. If the configuration exists, Amazon S3 replaces it.
To use this operation, you must be allowed to perform the s3:PutBucketCORS
action. By default, the bucket owner has this permission and can grant it to others.
You set this configuration on a bucket so that the bucket can service cross-origin requests. For example, you might want to enable a request whose origin is http://www.example.com
to access your Amazon S3 bucket at my.example.bucket.com
by using the browser's XMLHttpRequest
capability.
To enable cross-origin resource sharing (CORS) on a bucket, you add the cors
subresource to the bucket. The cors
subresource is an XML document in which you configure rules that identify origins and the HTTP methods that can be executed on your bucket. The document is limited to 64 KB in size.
When Amazon S3 receives a cross-origin request (or a pre-flight OPTIONS request) against a bucket, it evaluates the cors
configuration on the bucket and uses the first CORSRule
rule that matches the incoming browser request to enable a cross-origin request. For a rule to match, the following conditions must be met:
-
The request's Origin
header must match AllowedOrigin
elements.
-
The request method (for example, GET, PUT, HEAD, and so on) or the Access-Control-Request-Method
header in case of a pre-flight OPTIONS
request must be one of the AllowedMethod
elements.
-
Every header specified in the Access-Control-Request-Headers
request header of a pre-flight request must match an AllowedHeader
element.
For more information about CORS, go to Enabling Cross-Origin Resource Sharing in the Amazon S3 User Guide.
The following operations are related to PutBucketCors
:
",
- "PutBucketEncryption": " This operation is not supported by directory buckets.
This action uses the encryption
subresource to configure default encryption and Amazon S3 Bucket Keys for an existing bucket.
By default, all buckets have a default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). You can optionally configure default encryption for a bucket by using server-side encryption with Key Management Service (KMS) keys (SSE-KMS) or dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS). If you specify default encryption by using SSE-KMS, you can also configure Amazon S3 Bucket Keys. If you use PutBucketEncryption to set your default bucket encryption to SSE-KMS, you should verify that your KMS key ID is correct. Amazon S3 does not validate the KMS key ID provided in PutBucketEncryption requests.
If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
Also, this action requires Amazon Web Services Signature Version 4. For more information, see Authenticating Requests (Amazon Web Services Signature Version 4).
To use this operation, you must have permission to perform the s3:PutEncryptionConfiguration
action. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources in the Amazon S3 User Guide.
The following operations are related to PutBucketEncryption
:
",
+ "PutBucketEncryption": "This operation configures default encryption and Amazon S3 Bucket Keys for an existing bucket.
Directory buckets - For directory buckets, you must make requests for this API operation to the Regional endpoint. These endpoints support path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
By default, all buckets have a default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3).
If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
Also, this action requires Amazon Web Services Signature Version 4. For more information, see Authenticating Requests (Amazon Web Services Signature Version 4).
- Permissions
-
-
General purpose bucket permissions - The s3:PutEncryptionConfiguration
permission is required in a policy. The bucket owner has this permission by default. The bucket owner can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Operations and Managing Access Permissions to Your Amazon S3 Resources in the Amazon S3 User Guide.
-
Directory bucket permissions - To grant access to this API operation, you must have the s3express:PutEncryptionConfiguration
permission in an IAM identity-based policy instead of a bucket policy. Cross-account access to this API operation isn't supported. This operation can only be performed by the Amazon Web Services account that owns the resource. For more information about directory bucket policies and permissions, see Amazon Web Services Identity and Access Management (IAM) for S3 Express One Zone in the Amazon S3 User Guide.
To set a directory bucket default encryption with SSE-KMS, you must also have the kms:GenerateDataKey
and the kms:Decrypt
permissions in IAM identity-based policies and KMS key policies for the target KMS key.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is s3express-control.region.amazonaws.com
.
The following operations are related to PutBucketEncryption
:
",
"PutBucketIntelligentTieringConfiguration": " This operation is not supported by directory buckets.
Puts a S3 Intelligent-Tiering configuration to the specified bucket. You can have up to 1,000 S3 Intelligent-Tiering configurations per bucket.
The S3 Intelligent-Tiering storage class is designed to optimize storage costs by automatically moving data to the most cost-effective storage access tier, without performance impact or operational overhead. S3 Intelligent-Tiering delivers automatic cost savings in three low latency and high throughput access tiers. To get the lowest storage cost on data that can be accessed in minutes to hours, you can choose to activate additional archiving capabilities.
The S3 Intelligent-Tiering storage class is the ideal storage class for data with unknown, changing, or unpredictable access patterns, independent of object size or retention period. If the size of an object is less than 128 KB, it is not monitored and not eligible for auto-tiering. Smaller objects can be stored, but they are always charged at the Frequent Access tier rates in the S3 Intelligent-Tiering storage class.
For more information, see Storage class for automatically optimizing frequently and infrequently accessed objects.
Operations related to PutBucketIntelligentTieringConfiguration
include:
You only need S3 Intelligent-Tiering enabled on a bucket if you want to automatically move objects stored in the S3 Intelligent-Tiering storage class to the Archive Access or Deep Archive Access tier.
PutBucketIntelligentTieringConfiguration
has the following special errors:
- HTTP 400 Bad Request Error
-
Code: InvalidArgument
Cause: Invalid Argument
- HTTP 400 Bad Request Error
-
Code: TooManyConfigurations
Cause: You are attempting to create a new configuration but have already reached the 1,000-configuration limit.
- HTTP 403 Forbidden Error
-
Cause: You are not the owner of the specified bucket, or you do not have the s3:PutIntelligentTieringConfiguration
bucket permission to set the configuration on the bucket.
",
"PutBucketInventoryConfiguration": " This operation is not supported by directory buckets.
This implementation of the PUT
action adds an inventory configuration (identified by the inventory ID) to the bucket. You can have up to 1,000 inventory configurations per bucket.
Amazon S3 inventory generates inventories of the objects in the bucket on a daily or weekly basis, and the results are published to a flat file. The bucket that is inventoried is called the source bucket, and the bucket where the inventory flat file is stored is called the destination bucket. The destination bucket must be in the same Amazon Web Services Region as the source bucket.
When you configure an inventory for a source bucket, you specify the destination bucket where you want the inventory to be stored, and whether to generate the inventory daily or weekly. You can also configure what object metadata to include and whether to inventory all object versions or only current versions. For more information, see Amazon S3 Inventory in the Amazon S3 User Guide.
You must create a bucket policy on the destination bucket to grant permissions to Amazon S3 to write objects to the bucket in the defined location. For an example policy, see Granting Permissions for Amazon S3 Inventory and Storage Class Analysis.
- Permissions
-
To use this operation, you must have permission to perform the s3:PutInventoryConfiguration
action. The bucket owner has this permission by default and can grant this permission to others.
The s3:PutInventoryConfiguration
permission allows a user to create an S3 Inventory report that includes all object metadata fields available and to specify the destination bucket to store the inventory. A user with read access to objects in the destination bucket can also access all object metadata fields that are available in the inventory report.
To restrict access to an inventory report, see Restricting access to an Amazon S3 Inventory report in the Amazon S3 User Guide. For more information about the metadata fields available in S3 Inventory, see Amazon S3 Inventory lists in the Amazon S3 User Guide. For more information about permissions, see Permissions related to bucket subresource operations and Identity and access management in Amazon S3 in the Amazon S3 User Guide.
PutBucketInventoryConfiguration
has the following special errors:
- HTTP 400 Bad Request Error
-
Code: InvalidArgument
Cause: Invalid Argument
- HTTP 400 Bad Request Error
-
Code: TooManyConfigurations
Cause: You are attempting to create a new configuration but have already reached the 1,000-configuration limit.
- HTTP 403 Forbidden Error
-
Cause: You are not the owner of the specified bucket, or you do not have the s3:PutInventoryConfiguration
bucket permission to set the configuration on the bucket.
The following operations are related to PutBucketInventoryConfiguration
:
",
"PutBucketLifecycle": " This operation is not supported by directory buckets.
For an updated version of this API, see PutBucketLifecycleConfiguration. This version has been deprecated. Existing lifecycle configurations will work. For new lifecycle configurations, use the updated API.
Creates a new lifecycle configuration for the bucket or replaces an existing lifecycle configuration. For information about lifecycle configuration, see Object Lifecycle Management in the Amazon S3 User Guide.
By default, all Amazon S3 resources, including buckets, objects, and related subresources (for example, lifecycle configuration and website configuration) are private. Only the resource owner, the Amazon Web Services account that created the resource, can access it. The resource owner can optionally grant access permissions to others by writing an access policy. For this operation, users must get the s3:PutLifecycleConfiguration
permission.
You can also explicitly deny permissions. Explicit denial also supersedes any other permissions. If you want to prevent users or accounts from removing or deleting objects from your bucket, you must deny them permissions for the following actions:
For more information about permissions, see Managing Access Permissions to your Amazon S3 Resources in the Amazon S3 User Guide.
For more examples of transitioning objects to storage classes such as STANDARD_IA or ONEZONE_IA, see Examples of Lifecycle Configuration.
The following operations are related to PutBucketLifecycle
:
-
GetBucketLifecycle(Deprecated)
-
GetBucketLifecycleConfiguration
-
RestoreObject
-
By default, a resource owner—in this case, a bucket owner, which is the Amazon Web Services account that created the bucket—can perform any of the operations. A resource owner can also grant others permission to perform the operation. For more information, see the following topics in the Amazon S3 User Guide:
",
@@ -89,7 +89,7 @@
"PutBucketTagging": " This operation is not supported by directory buckets.
Sets the tags for a bucket.
Use tags to organize your Amazon Web Services bill to reflect your own cost structure. To do this, sign up to get your Amazon Web Services account bill with tag key values included. Then, to see the cost of combined resources, organize your billing information according to resources with the same tag key values. For example, you can tag several resources with a specific application name, and then organize your billing information to see the total cost of that application across several services. For more information, see Cost Allocation and Tagging and Using Cost Allocation in Amazon S3 Bucket Tags.
When this operation sets the tags for a bucket, it will overwrite any current tags the bucket already has. You cannot use this operation to add tags to an existing list of tags.
To use this operation, you must have permissions to perform the s3:PutBucketTagging
action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources.
PutBucketTagging
has the following special errors. For more Amazon S3 errors see, Error Responses.
-
InvalidTag
- The tag provided was not a valid tag. This error can occur if the tag did not pass input validation. For more information, see Using Cost Allocation in Amazon S3 Bucket Tags.
-
MalformedXML
- The XML provided does not match the schema.
-
OperationAborted
- A conflicting conditional action is currently in progress against this resource. Please try again.
-
InternalError
- The service was unable to apply the provided tag to the bucket.
The following operations are related to PutBucketTagging
:
",
"PutBucketVersioning": " This operation is not supported by directory buckets.
When you enable versioning on a bucket for the first time, it might take a short amount of time for the change to be fully propagated. We recommend that you wait for 15 minutes after enabling versioning before issuing write operations (PUT
or DELETE
) on objects in the bucket.
Sets the versioning state of an existing bucket.
You can set the versioning state with one of the following values:
Enabled—Enables versioning for the objects in the bucket. All objects added to the bucket receive a unique version ID.
Suspended—Disables versioning for the objects in the bucket. All objects added to the bucket receive the version ID null.
If the versioning state has never been set on a bucket, it has no versioning state; a GetBucketVersioning request does not return a versioning state value.
In order to enable MFA Delete, you must be the bucket owner. If you are the bucket owner and want to enable MFA Delete in the bucket versioning configuration, you must include the x-amz-mfa request
header and the Status
and the MfaDelete
request elements in a request to set the versioning state of the bucket.
If you have an object expiration lifecycle configuration in your non-versioned bucket and you want to maintain the same permanent delete behavior when you enable versioning, you must add a noncurrent expiration policy. The noncurrent expiration lifecycle configuration will manage the deletes of the noncurrent object versions in the version-enabled bucket. (A version-enabled bucket maintains one current and zero or more noncurrent object versions.) For more information, see Lifecycle and Versioning.
The following operations are related to PutBucketVersioning
:
",
"PutBucketWebsite": " This operation is not supported by directory buckets.
Sets the configuration of the website that is specified in the website
subresource. To configure a bucket as a website, you can add this subresource on the bucket with website configuration information such as the file name of the index document and any redirect rules. For more information, see Hosting Websites on Amazon S3.
This PUT action requires the S3:PutBucketWebsite
permission. By default, only the bucket owner can configure the website attached to a bucket; however, bucket owners can allow other users to set the website configuration by writing a bucket policy that grants them the S3:PutBucketWebsite
permission.
To redirect all website requests sent to the bucket's website endpoint, you add a website configuration with the following elements. Because all requests are sent to another website, you don't need to provide index document name for the bucket.
-
WebsiteConfiguration
-
RedirectAllRequestsTo
-
HostName
-
Protocol
If you want granular control over redirects, you can use the following elements to add routing rules that describe conditions for redirecting requests and information about the redirect destination. In this case, the website configuration must provide an index document for the bucket, because some requests might not be redirected.
Amazon S3 has a limitation of 50 routing rules per website configuration. If you require more than 50 routing rules, you can use object redirect. For more information, see Configuring an Object Redirect in the Amazon S3 User Guide.
The maximum request length is limited to 128 KB.
",
- "PutObject": "Adds an object to a bucket.
-
Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the entire object to the bucket. You cannot use PutObject
to only update a single piece of metadata for an existing object. You must put the entire object with updated metadata if you want to update some values.
-
If your bucket uses the bucket owner enforced setting for Object Ownership, ACLs are disabled and no longer affect permissions. All objects written to the bucket by any account will be owned by the bucket owner.
-
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
Amazon S3 is a distributed system. If it receives multiple write requests for the same object simultaneously, it overwrites all but the last object written. However, Amazon S3 provides features that can modify this behavior:
-
S3 Object Lock - To prevent objects from being deleted or overwritten, you can use Amazon S3 Object Lock in the Amazon S3 User Guide.
This functionality is not supported for directory buckets.
-
S3 Versioning - When you enable versioning for a bucket, if Amazon S3 receives multiple write requests for the same object simultaneously, it stores all versions of the objects. For each write request that is made to the same object, Amazon S3 automatically generates a unique version ID of that object being stored in Amazon S3. You can retrieve, replace, or delete any version of the object. For more information about versioning, see Adding Objects to Versioning-Enabled Buckets in the Amazon S3 User Guide. For information about returning the versioning state of a bucket, see GetBucketVersioning.
This functionality is not supported for directory buckets.
- Permissions
-
-
General purpose bucket permissions - The following permissions are required in your policies when your PutObject
request includes specific headers.
-
s3:PutObject
- To successfully complete the PutObject
request, you must always have the s3:PutObject
permission on a bucket to add an object to it.
-
s3:PutObjectAcl
- To successfully change the objects ACL of your PutObject
request, you must have the s3:PutObjectAcl
.
-
s3:PutObjectTagging
- To successfully set the tag-set with your PutObject
request, you must have the s3:PutObjectTagging
.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
- Data integrity with Content-MD5
-
-
General purpose bucket - To ensure that data is not corrupted traversing the network, use the Content-MD5
header. When you use this header, Amazon S3 checks the object against the provided MD5 value and, if they do not match, Amazon S3 returns an error. Alternatively, when the object's ETag is its MD5 digest, you can calculate the MD5 while putting the object to Amazon S3 and compare the returned ETag to the calculated MD5 value.
-
Directory bucket - This functionality is not supported for directory buckets.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
For more information about related Amazon S3 APIs, see the following:
",
+ "PutObject": "Adds an object to a bucket.
-
Amazon S3 never adds partial objects; if you receive a success response, Amazon S3 added the entire object to the bucket. You cannot use PutObject
to only update a single piece of metadata for an existing object. You must put the entire object with updated metadata if you want to update some values.
-
If your bucket uses the bucket owner enforced setting for Object Ownership, ACLs are disabled and no longer affect permissions. All objects written to the bucket by any account will be owned by the bucket owner.
-
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
Amazon S3 is a distributed system. If it receives multiple write requests for the same object simultaneously, it overwrites all but the last object written. However, Amazon S3 provides features that can modify this behavior:
-
S3 Object Lock - To prevent objects from being deleted or overwritten, you can use Amazon S3 Object Lock in the Amazon S3 User Guide.
This functionality is not supported for directory buckets.
-
S3 Versioning - When you enable versioning for a bucket, if Amazon S3 receives multiple write requests for the same object simultaneously, it stores all versions of the objects. For each write request that is made to the same object, Amazon S3 automatically generates a unique version ID of that object being stored in Amazon S3. You can retrieve, replace, or delete any version of the object. For more information about versioning, see Adding Objects to Versioning-Enabled Buckets in the Amazon S3 User Guide. For information about returning the versioning state of a bucket, see GetBucketVersioning.
This functionality is not supported for directory buckets.
- Permissions
-
-
General purpose bucket permissions - The following permissions are required in your policies when your PutObject
request includes specific headers.
-
s3:PutObject
- To successfully complete the PutObject
request, you must always have the s3:PutObject
permission on a bucket to add an object to it.
-
s3:PutObjectAcl
- To successfully change the objects ACL of your PutObject
request, you must have the s3:PutObjectAcl
.
-
s3:PutObjectTagging
- To successfully set the tag-set with your PutObject
request, you must have the s3:PutObjectTagging
.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
If the object is encrypted with SSE-KMS, you must also have the kms:GenerateDataKey
and kms:Decrypt
permissions in IAM identity-based policies and KMS key policies for the KMS key.
- Data integrity with Content-MD5
-
-
General purpose bucket - To ensure that data is not corrupted traversing the network, use the Content-MD5
header. When you use this header, Amazon S3 checks the object against the provided MD5 value and, if they do not match, Amazon S3 returns an error. Alternatively, when the object's ETag is its MD5 digest, you can calculate the MD5 while putting the object to Amazon S3 and compare the returned ETag to the calculated MD5 value.
-
Directory bucket - This functionality is not supported for directory buckets.
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
For more information about related Amazon S3 APIs, see the following:
",
"PutObjectAcl": " This operation is not supported by directory buckets.
Uses the acl
subresource to set the access control list (ACL) permissions for a new or existing object in an S3 bucket. You must have the WRITE_ACP
permission to set the ACL of an object. For more information, see What permissions can I grant? in the Amazon S3 User Guide.
This functionality is not supported for Amazon S3 on Outposts.
Depending on your application needs, you can choose to set the ACL on an object using either the request body or the headers. For example, if you have an existing application that updates a bucket ACL using the request body, you can continue to use that approach. For more information, see Access Control List (ACL) Overview in the Amazon S3 User Guide.
If your bucket uses the bucket owner enforced setting for S3 Object Ownership, ACLs are disabled and no longer affect permissions. You must use policies to grant access to your bucket and the objects in it. Requests to set ACLs or update ACLs fail and return the AccessControlListNotSupported
error code. Requests to read ACLs are still supported. For more information, see Controlling object ownership in the Amazon S3 User Guide.
- Permissions
-
You can set access permissions using one of the following methods:
-
Specify a canned ACL with the x-amz-acl
request header. Amazon S3 supports a set of predefined ACLs, known as canned ACLs. Each canned ACL has a predefined set of grantees and permissions. Specify the canned ACL name as the value of x-amz-ac
l. If you use this header, you cannot use other access control-specific headers in your request. For more information, see Canned ACL.
-
Specify access permissions explicitly with the x-amz-grant-read
, x-amz-grant-read-acp
, x-amz-grant-write-acp
, and x-amz-grant-full-control
headers. When using these headers, you specify explicit access permissions and grantees (Amazon Web Services accounts or Amazon S3 groups) who will receive the permission. If you use these ACL-specific headers, you cannot use x-amz-acl
header to set a canned ACL. These parameters map to the set of permissions that Amazon S3 supports in an ACL. For more information, see Access Control List (ACL) Overview.
You specify each grantee as a type=value pair, where the type is one of the following:
-
id
– if the value specified is the canonical user ID of an Amazon Web Services account
-
uri
– if you are granting permissions to a predefined group
-
emailAddress
– if the value specified is the email address of an Amazon Web Services account
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
For example, the following x-amz-grant-read
header grants list objects permission to the two Amazon Web Services accounts identified by their email addresses.
x-amz-grant-read: emailAddress=\"xyz@amazon.com\", emailAddress=\"abc@amazon.com\"
You can use either a canned ACL or specify access permissions explicitly. You cannot do both.
- Grantee Values
-
You can specify the person (grantee) to whom you're assigning access rights (using request elements) in the following ways:
-
By the person's ID:
<Grantee xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"CanonicalUser\"><ID><>ID<></ID><DisplayName><>GranteesEmail<></DisplayName> </Grantee>
DisplayName is optional and ignored in the request.
-
By URI:
<Grantee xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"Group\"><URI><>http://acs.amazonaws.com/groups/global/AuthenticatedUsers<></URI></Grantee>
-
By Email address:
<Grantee xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:type=\"AmazonCustomerByEmail\"><EmailAddress><>Grantees@email.com<></EmailAddress>lt;/Grantee>
The grantee is resolved to the CanonicalUser and, in a response to a GET Object acl request, appears as the CanonicalUser.
Using email addresses to specify a grantee is only supported in the following Amazon Web Services Regions:
For a list of all the Amazon S3 supported Regions and endpoints, see Regions and Endpoints in the Amazon Web Services General Reference.
- Versioning
-
The ACL of an object is set at the object version level. By default, PUT sets the ACL of the current version of an object. To set the ACL of a different version, use the versionId
subresource.
The following operations are related to PutObjectAcl
:
",
"PutObjectLegalHold": " This operation is not supported by directory buckets.
Applies a legal hold configuration to the specified object. For more information, see Locking Objects.
This functionality is not supported for Amazon S3 on Outposts.
",
"PutObjectLockConfiguration": " This operation is not supported by directory buckets.
Places an Object Lock configuration on the specified bucket. The rule specified in the Object Lock configuration will be applied by default to every new object placed in the specified bucket. For more information, see Locking Objects.
-
The DefaultRetention
settings require both a mode and a period.
-
The DefaultRetention
period can be either Days
or Years
but you must select one. You cannot specify Days
and Years
at the same time.
-
You can enable Object Lock for new or existing buckets. For more information, see Configuring Object Lock.
",
@@ -98,8 +98,8 @@
"PutPublicAccessBlock": " This operation is not supported by directory buckets.
Creates or modifies the PublicAccessBlock
configuration for an Amazon S3 bucket. To use this operation, you must have the s3:PutBucketPublicAccessBlock
permission. For more information about Amazon S3 permissions, see Specifying Permissions in a Policy.
When Amazon S3 evaluates the PublicAccessBlock
configuration for a bucket or an object, it checks the PublicAccessBlock
configuration for both the bucket (or the bucket that contains the object) and the bucket owner's account. If the PublicAccessBlock
configurations are different between the bucket and the account, Amazon S3 uses the most restrictive combination of the bucket-level and account-level settings.
For more information about when Amazon S3 considers a bucket or an object public, see The Meaning of \"Public\".
The following operations are related to PutPublicAccessBlock
:
",
"RestoreObject": " This operation is not supported by directory buckets.
The SELECT
job type for the RestoreObject operation is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the feature as usual. Learn more
Restores an archived copy of an object back into Amazon S3
This functionality is not supported for Amazon S3 on Outposts.
This action performs the following types of requests:
For more information about the S3
structure in the request body, see the following:
- Permissions
-
To use this operation, you must have permissions to perform the s3:RestoreObject
action. The bucket owner has this permission by default and can grant this permission to others. For more information about permissions, see Permissions Related to Bucket Subresource Operations and Managing Access Permissions to Your Amazon S3 Resources in the Amazon S3 User Guide.
- Restoring objects
-
Objects that you archive to the S3 Glacier Flexible Retrieval Flexible Retrieval or S3 Glacier Deep Archive storage class, and S3 Intelligent-Tiering Archive or S3 Intelligent-Tiering Deep Archive tiers, are not accessible in real time. For objects in the S3 Glacier Flexible Retrieval Flexible Retrieval or S3 Glacier Deep Archive storage classes, you must first initiate a restore request, and then wait until a temporary copy of the object is available. If you want a permanent copy of the object, create a copy of it in the Amazon S3 Standard storage class in your S3 bucket. To access an archived object, you must restore the object for the duration (number of days) that you specify. For objects in the Archive Access or Deep Archive Access tiers of S3 Intelligent-Tiering, you must first initiate a restore request, and then wait until the object is moved into the Frequent Access tier.
To restore a specific object version, you can provide a version ID. If you don't provide a version ID, Amazon S3 restores the current version.
When restoring an archived object, you can specify one of the following data access tier options in the Tier
element of the request body:
-
Expedited
- Expedited retrievals allow you to quickly access your data stored in the S3 Glacier Flexible Retrieval Flexible Retrieval storage class or S3 Intelligent-Tiering Archive tier when occasional urgent requests for restoring archives are required. For all but the largest archived objects (250 MB+), data accessed using Expedited retrievals is typically made available within 1–5 minutes. Provisioned capacity ensures that retrieval capacity for Expedited retrievals is available when you need it. Expedited retrievals and provisioned capacity are not available for objects stored in the S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
-
Standard
- Standard retrievals allow you to access any of your archived objects within several hours. This is the default option for retrieval requests that do not specify the retrieval option. Standard retrievals typically finish within 3–5 hours for objects stored in the S3 Glacier Flexible Retrieval Flexible Retrieval storage class or S3 Intelligent-Tiering Archive tier. They typically finish within 12 hours for objects stored in the S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier. Standard retrievals are free for objects stored in S3 Intelligent-Tiering.
-
Bulk
- Bulk retrievals free for objects stored in the S3 Glacier Flexible Retrieval and S3 Intelligent-Tiering storage classes, enabling you to retrieve large amounts, even petabytes, of data at no cost. Bulk retrievals typically finish within 5–12 hours for objects stored in the S3 Glacier Flexible Retrieval Flexible Retrieval storage class or S3 Intelligent-Tiering Archive tier. Bulk retrievals are also the lowest-cost retrieval option when restoring objects from S3 Glacier Deep Archive. They typically finish within 48 hours for objects stored in the S3 Glacier Deep Archive storage class or S3 Intelligent-Tiering Deep Archive tier.
For more information about archive retrieval options and provisioned capacity for Expedited
data access, see Restoring Archived Objects in the Amazon S3 User Guide.
You can use Amazon S3 restore speed upgrade to change the restore speed to a faster speed while it is in progress. For more information, see Upgrading the speed of an in-progress restore in the Amazon S3 User Guide.
To get the status of object restoration, you can send a HEAD
request. Operations return the x-amz-restore
header, which provides information about the restoration status, in the response. You can use Amazon S3 event notifications to notify you when a restore is initiated or completed. For more information, see Configuring Amazon S3 Event Notifications in the Amazon S3 User Guide.
After restoring an archived object, you can update the restoration period by reissuing the request with a new period. Amazon S3 updates the restoration period relative to the current time and charges only for the request-there are no data transfer charges. You cannot update the restoration period when Amazon S3 is actively processing your current restore request for the object.
If your bucket has a lifecycle configuration with a rule that includes an expiration action, the object expiration overrides the life span that you specify in a restore request. For example, if you restore an object copy for 10 days, but the object is scheduled to expire in 3 days, Amazon S3 deletes the object in 3 days. For more information about lifecycle configuration, see PutBucketLifecycleConfiguration and Object Lifecycle Management in Amazon S3 User Guide.
- Responses
-
A successful action returns either the 200 OK
or 202 Accepted
status code.
-
If the object is not previously restored, then Amazon S3 returns 202 Accepted
in the response.
-
If the object is previously restored, Amazon S3 returns 200 OK
in the response.
-
Special errors:
-
Code: RestoreAlreadyInProgress
-
Cause: Object restore is already in progress.
-
HTTP Status Code: 409 Conflict
-
SOAP Fault Code Prefix: Client
-
-
Code: GlacierExpeditedRetrievalNotAvailable
-
Cause: expedited retrievals are currently not available. Try again later. (Returned if there is insufficient capacity to process the Expedited request. This error applies only to Expedited retrievals and not to S3 Standard or Bulk retrievals.)
-
HTTP Status Code: 503
-
SOAP Fault Code Prefix: N/A
The following operations are related to RestoreObject
:
",
"SelectObjectContent": " This operation is not supported by directory buckets.
The SelectObjectContent operation is no longer available to new customers. Existing customers of Amazon S3 Select can continue to use the operation as usual. Learn more
This action filters the contents of an Amazon S3 object based on a simple structured query language (SQL) statement. In the request, along with the SQL expression, you must also specify a data serialization format (JSON, CSV, or Apache Parquet) of the object. Amazon S3 uses this format to parse object data into records, and returns only records that match the specified SQL expression. You must also specify the data serialization format for the response.
This functionality is not supported for Amazon S3 on Outposts.
For more information about Amazon S3 Select, see Selecting Content from Objects and SELECT Command in the Amazon S3 User Guide.
- Permissions
-
You must have the s3:GetObject
permission for this operation. Amazon S3 Select does not support anonymous access. For more information about permissions, see Specifying Permissions in a Policy in the Amazon S3 User Guide.
- Object Data Formats
-
You can use Amazon S3 Select to query objects that have the following format properties:
-
CSV, JSON, and Parquet - Objects must be in CSV, JSON, or Parquet format.
-
UTF-8 - UTF-8 is the only encoding type Amazon S3 Select supports.
-
GZIP or BZIP2 - CSV and JSON files can be compressed using GZIP or BZIP2. GZIP and BZIP2 are the only compression formats that Amazon S3 Select supports for CSV and JSON files. Amazon S3 Select supports columnar compression for Parquet using GZIP or Snappy. Amazon S3 Select does not support whole-object compression for Parquet objects.
-
Server-side encryption - Amazon S3 Select supports querying objects that are protected with server-side encryption.
For objects that are encrypted with customer-provided encryption keys (SSE-C), you must use HTTPS, and you must use the headers that are documented in the GetObject. For more information about SSE-C, see Server-Side Encryption (Using Customer-Provided Encryption Keys) in the Amazon S3 User Guide.
For objects that are encrypted with Amazon S3 managed keys (SSE-S3) and Amazon Web Services KMS keys (SSE-KMS), server-side encryption is handled transparently, so you don't need to specify anything. For more information about server-side encryption, including SSE-S3 and SSE-KMS, see Protecting Data Using Server-Side Encryption in the Amazon S3 User Guide.
- Working with the Response Body
-
Given the response size is unknown, Amazon S3 Select streams the response as a series of messages and includes a Transfer-Encoding
header with chunked
as its value in the response. For more information, see Appendix: SelectObjectContent Response.
- GetObject Support
-
The SelectObjectContent
action does not support the following GetObject
functionality. For more information, see GetObject.
-
Range
: Although you can specify a scan range for an Amazon S3 Select request (see SelectObjectContentRequest - ScanRange in the request parameters), you cannot specify the range of bytes of an object to return.
-
The GLACIER
, DEEP_ARCHIVE
, and REDUCED_REDUNDANCY
storage classes, or the ARCHIVE_ACCESS
and DEEP_ARCHIVE_ACCESS
access tiers of the INTELLIGENT_TIERING
storage class: You cannot query objects in the GLACIER
, DEEP_ARCHIVE
, or REDUCED_REDUNDANCY
storage classes, nor objects in the ARCHIVE_ACCESS
or DEEP_ARCHIVE_ACCESS
access tiers of the INTELLIGENT_TIERING
storage class. For more information about storage classes, see Using Amazon S3 storage classes in the Amazon S3 User Guide.
- Special Errors
-
For a list of special errors for this operation, see List of SELECT Object Content Error Codes
The following operations are related to SelectObjectContent
:
",
- "UploadPart": "Uploads a part in a multipart upload.
In this operation, you provide new data as a part of an object in your request. However, you have an option to specify your existing Amazon S3 object as a data source for the part you are uploading. To upload a part from an existing object, you use the UploadPartCopy operation.
You must initiate a multipart upload (see CreateMultipartUpload) before you can upload any part. In response to your initiate request, Amazon S3 returns an upload ID, a unique identifier that you must include in your upload part request.
Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part and also defines its position within the object being created. If you upload a new part using the same part number that was used with a previous part, the previously uploaded part is overwritten.
For information about maximum and minimum part sizes and other multipart upload specifications, see Multipart upload limits in the Amazon S3 User Guide.
After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.
For more information on multipart uploads, go to Multipart Upload Overview in the Amazon S3 User Guide .
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - To perform a multipart upload with encryption using an Key Management Service key, the requester must have permission to the kms:Decrypt
and kms:GenerateDataKey
actions on the key. The requester must also have permissions for the kms:GenerateDataKey
action for the CreateMultipartUpload
API. Then, the requester needs permissions for the kms:Decrypt
action on the UploadPart
and UploadPartCopy
APIs.
These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload. For more information about KMS permissions, see Protecting data using server-side encryption with KMS in the Amazon S3 User Guide. For information about the permissions required to use the multipart upload API, see Multipart upload and permissions and Multipart upload API and permissions in the Amazon S3 User Guide.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
- Data integrity
-
General purpose bucket - To ensure that data is not corrupted traversing the network, specify the Content-MD5
header in the upload part request. Amazon S3 checks the part data against the provided MD5 value. If they do not match, Amazon S3 returns an error. If the upload request is signed with Signature Version 4, then Amazon Web Services S3 uses the x-amz-content-sha256
header as a checksum instead of Content-MD5
. For more information see Authenticating Requests: Using the Authorization Header (Amazon Web Services Signature Version 4).
Directory buckets - MD5 is not supported by directory buckets. You can use checksum algorithms to check object integrity.
- Encryption
-
-
General purpose bucket - Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it writes it to disks in its data centers and decrypts it when you access it. You have mutually exclusive options to protect data using server-side encryption in Amazon S3, depending on how you choose to manage the encryption keys. Specifically, the encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and Customer-Provided Keys (SSE-C). Amazon S3 encrypts data with server-side encryption using Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at rest using server-side encryption with other key options. The option you use depends on whether you want to use KMS keys (SSE-KMS) or provide your own encryption key (SSE-C).
Server-side encryption is supported by the S3 Multipart Upload operations. Unless you are using a customer-provided encryption key (SSE-C), you don't need to specify the encryption parameters in each UploadPart request. Instead, you only need to specify the server-side encryption parameters in the initial Initiate Multipart request. For more information, see CreateMultipartUpload.
If you request server-side encryption using a customer-provided encryption key (SSE-C) in your initiate multipart upload request, you must provide identical encryption information in each part upload using the following request headers.
-
x-amz-server-side-encryption-customer-algorithm
-
x-amz-server-side-encryption-customer-key
-
x-amz-server-side-encryption-customer-key-MD5
-
Directory bucket - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
For more information, see Using Server-Side Encryption in the Amazon S3 User Guide.
- Special errors
-
-
Error Code: NoSuchUpload
-
Description: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.
-
HTTP Status Code: 404 Not Found
-
SOAP Fault Code Prefix: Client
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to UploadPart
:
",
- "UploadPartCopy": "Uploads a part by copying data from an existing object as data source. To specify the data source, you add the request header x-amz-copy-source
in your request. To specify a byte range, you add the request header x-amz-copy-source-range
in your request.
For information about maximum and minimum part sizes and other multipart upload specifications, see Multipart upload limits in the Amazon S3 User Guide.
Instead of copying data from an existing object as part data, you might use the UploadPart action to upload new data as a part of an object in your request.
You must initiate a multipart upload before you can upload any part. In response to your initiate request, Amazon S3 returns the upload ID, a unique identifier that you must include in your upload part request.
For conceptual information about multipart uploads, see Uploading Objects Using Multipart Upload in the Amazon S3 User Guide. For information about copying objects using a single atomic action vs. a multipart upload, see Operations on Objects in the Amazon S3 User Guide.
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Authentication and authorization
-
All UploadPartCopy
requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the x-amz-
prefix, including x-amz-copy-source
, must be signed. For more information, see REST Authentication.
Directory buckets - You must use IAM credentials to authenticate and authorize your access to the UploadPartCopy
API operation, instead of using the temporary security credentials through the CreateSession
API operation.
Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.
- Permissions
-
You must have READ
access to the source object and WRITE
access to the destination bucket.
-
General purpose bucket permissions - You must have the permissions in a policy based on the bucket types of your source bucket and destination bucket in an UploadPartCopy
operation.
-
If the source object is in a general purpose bucket, you must have the s3:GetObject
permission to read the source object that is being copied.
-
If the destination bucket is a general purpose bucket, you must have the s3:PutObject
permission to write the object copy to the destination bucket.
-
To perform a multipart upload with encryption using an Key Management Service key, the requester must have permission to the kms:Decrypt
and kms:GenerateDataKey
actions on the key. The requester must also have permissions for the kms:GenerateDataKey
action for the CreateMultipartUpload
API. Then, the requester needs permissions for the kms:Decrypt
action on the UploadPart
and UploadPartCopy
APIs. These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload. For more information about KMS permissions, see Protecting data using server-side encryption with KMS in the Amazon S3 User Guide. For information about the permissions required to use the multipart upload API, see Multipart upload and permissions and Multipart upload API and permissions in the Amazon S3 User Guide.
-
Directory bucket permissions - You must have permissions in a bucket policy or an IAM identity-based policy based on the source and destination bucket types in an UploadPartCopy
operation.
-
If the source object that you want to copy is in a directory bucket, you must have the s3express:CreateSession
permission in the Action
element of a policy to read the object. By default, the session is in the ReadWrite
mode. If you want to restrict the access, you can explicitly set the s3express:SessionMode
condition key to ReadOnly
on the copy source bucket.
-
If the copy destination is a directory bucket, you must have the s3express:CreateSession
permission in the Action
element of a policy to write the object to the destination. The s3express:SessionMode
condition key cannot be set to ReadOnly
on the copy destination.
For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the Amazon S3 User Guide.
- Encryption
-
-
General purpose buckets - For information about using server-side encryption with customer-provided encryption keys with the UploadPartCopy
operation, see CopyObject and UploadPart.
-
Directory buckets - For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
- Special errors
-
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to UploadPartCopy
:
",
+ "UploadPart": "Uploads a part in a multipart upload.
In this operation, you provide new data as a part of an object in your request. However, you have an option to specify your existing Amazon S3 object as a data source for the part you are uploading. To upload a part from an existing object, you use the UploadPartCopy operation.
You must initiate a multipart upload (see CreateMultipartUpload) before you can upload any part. In response to your initiate request, Amazon S3 returns an upload ID, a unique identifier that you must include in your upload part request.
Part numbers can be any number from 1 to 10,000, inclusive. A part number uniquely identifies a part and also defines its position within the object being created. If you upload a new part using the same part number that was used with a previous part, the previously uploaded part is overwritten.
For information about maximum and minimum part sizes and other multipart upload specifications, see Multipart upload limits in the Amazon S3 User Guide.
After you initiate multipart upload and upload one or more parts, you must either complete or abort multipart upload in order to stop getting charged for storage of the uploaded parts. Only after you either complete or abort multipart upload, Amazon S3 frees up the parts storage and stops charging you for the parts storage.
For more information on multipart uploads, go to Multipart Upload Overview in the Amazon S3 User Guide .
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Permissions
-
-
General purpose bucket permissions - To perform a multipart upload with encryption using an Key Management Service key, the requester must have permission to the kms:Decrypt
and kms:GenerateDataKey
actions on the key. The requester must also have permissions for the kms:GenerateDataKey
action for the CreateMultipartUpload
API. Then, the requester needs permissions for the kms:Decrypt
action on the UploadPart
and UploadPartCopy
APIs.
These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload. For more information about KMS permissions, see Protecting data using server-side encryption with KMS in the Amazon S3 User Guide. For information about the permissions required to use the multipart upload API, see Multipart upload and permissions and Multipart upload API and permissions in the Amazon S3 User Guide.
-
Directory bucket permissions - To grant access to this API operation on a directory bucket, we recommend that you use the CreateSession
API operation for session-based authorization. Specifically, you grant the s3express:CreateSession
permission to the directory bucket in a bucket policy or an IAM identity-based policy. Then, you make the CreateSession
API call on the bucket to obtain a session token. With the session token in your request header, you can make API requests to this operation. After the session token expires, you make another CreateSession
API call to generate a new session token for use. Amazon Web Services CLI or SDKs create session and refresh the session token automatically to avoid service interruptions when a session expires. For more information about authorization, see CreateSession
.
If the object is encrypted with SSE-KMS, you must also have the kms:GenerateDataKey
and kms:Decrypt
permissions in IAM identity-based policies and KMS key policies for the KMS key.
- Data integrity
-
General purpose bucket - To ensure that data is not corrupted traversing the network, specify the Content-MD5
header in the upload part request. Amazon S3 checks the part data against the provided MD5 value. If they do not match, Amazon S3 returns an error. If the upload request is signed with Signature Version 4, then Amazon Web Services S3 uses the x-amz-content-sha256
header as a checksum instead of Content-MD5
. For more information see Authenticating Requests: Using the Authorization Header (Amazon Web Services Signature Version 4).
Directory buckets - MD5 is not supported by directory buckets. You can use checksum algorithms to check object integrity.
- Encryption
-
-
General purpose bucket - Server-side encryption is for data encryption at rest. Amazon S3 encrypts your data as it writes it to disks in its data centers and decrypts it when you access it. You have mutually exclusive options to protect data using server-side encryption in Amazon S3, depending on how you choose to manage the encryption keys. Specifically, the encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS), and Customer-Provided Keys (SSE-C). Amazon S3 encrypts data with server-side encryption using Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at rest using server-side encryption with other key options. The option you use depends on whether you want to use KMS keys (SSE-KMS) or provide your own encryption key (SSE-C).
Server-side encryption is supported by the S3 Multipart Upload operations. Unless you are using a customer-provided encryption key (SSE-C), you don't need to specify the encryption parameters in each UploadPart request. Instead, you only need to specify the server-side encryption parameters in the initial Initiate Multipart request. For more information, see CreateMultipartUpload.
If you request server-side encryption using a customer-provided encryption key (SSE-C) in your initiate multipart upload request, you must provide identical encryption information in each part upload using the following request headers.
-
x-amz-server-side-encryption-customer-algorithm
-
x-amz-server-side-encryption-customer-key
-
x-amz-server-side-encryption-customer-key-MD5
For more information, see Using Server-Side Encryption in the Amazon S3 User Guide.
-
Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) and server-side encryption with KMS keys (SSE-KMS) (aws:kms
).
- Special errors
-
-
Error Code: NoSuchUpload
-
Description: The specified multipart upload does not exist. The upload ID might be invalid, or the multipart upload might have been aborted or completed.
-
HTTP Status Code: 404 Not Found
-
SOAP Fault Code Prefix: Client
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to UploadPart
:
",
+ "UploadPartCopy": "Uploads a part by copying data from an existing object as data source. To specify the data source, you add the request header x-amz-copy-source
in your request. To specify a byte range, you add the request header x-amz-copy-source-range
in your request.
For information about maximum and minimum part sizes and other multipart upload specifications, see Multipart upload limits in the Amazon S3 User Guide.
Instead of copying data from an existing object as part data, you might use the UploadPart action to upload new data as a part of an object in your request.
You must initiate a multipart upload before you can upload any part. In response to your initiate request, Amazon S3 returns the upload ID, a unique identifier that you must include in your upload part request.
For conceptual information about multipart uploads, see Uploading Objects Using Multipart Upload in the Amazon S3 User Guide. For information about copying objects using a single atomic action vs. a multipart upload, see Operations on Objects in the Amazon S3 User Guide.
Directory buckets - For directory buckets, you must make requests for this API operation to the Zonal endpoint. These endpoints support virtual-hosted-style requests in the format https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
. Path-style requests are not supported. For more information, see Regional and Zonal endpoints in the Amazon S3 User Guide.
- Authentication and authorization
-
All UploadPartCopy
requests must be authenticated and signed by using IAM credentials (access key ID and secret access key for the IAM identities). All headers with the x-amz-
prefix, including x-amz-copy-source
, must be signed. For more information, see REST Authentication.
Directory buckets - You must use IAM credentials to authenticate and authorize your access to the UploadPartCopy
API operation, instead of using the temporary security credentials through the CreateSession
API operation.
Amazon Web Services CLI or SDKs handles authentication and authorization on your behalf.
- Permissions
-
You must have READ
access to the source object and WRITE
access to the destination bucket.
-
General purpose bucket permissions - You must have the permissions in a policy based on the bucket types of your source bucket and destination bucket in an UploadPartCopy
operation.
-
If the source object is in a general purpose bucket, you must have the s3:GetObject
permission to read the source object that is being copied.
-
If the destination bucket is a general purpose bucket, you must have the s3:PutObject
permission to write the object copy to the destination bucket.
-
To perform a multipart upload with encryption using an Key Management Service key, the requester must have permission to the kms:Decrypt
and kms:GenerateDataKey
actions on the key. The requester must also have permissions for the kms:GenerateDataKey
action for the CreateMultipartUpload
API. Then, the requester needs permissions for the kms:Decrypt
action on the UploadPart
and UploadPartCopy
APIs. These permissions are required because Amazon S3 must decrypt and read data from the encrypted file parts before it completes the multipart upload. For more information about KMS permissions, see Protecting data using server-side encryption with KMS in the Amazon S3 User Guide. For information about the permissions required to use the multipart upload API, see Multipart upload and permissions and Multipart upload API and permissions in the Amazon S3 User Guide.
-
Directory bucket permissions - You must have permissions in a bucket policy or an IAM identity-based policy based on the source and destination bucket types in an UploadPartCopy
operation.
-
If the source object that you want to copy is in a directory bucket, you must have the s3express:CreateSession
permission in the Action
element of a policy to read the object. By default, the session is in the ReadWrite
mode. If you want to restrict the access, you can explicitly set the s3express:SessionMode
condition key to ReadOnly
on the copy source bucket.
-
If the copy destination is a directory bucket, you must have the s3express:CreateSession
permission in the Action
element of a policy to write the object to the destination. The s3express:SessionMode
condition key cannot be set to ReadOnly
on the copy destination.
If the object is encrypted with SSE-KMS, you must also have the kms:GenerateDataKey
and kms:Decrypt
permissions in IAM identity-based policies and KMS key policies for the KMS key.
For example policies, see Example bucket policies for S3 Express One Zone and Amazon Web Services Identity and Access Management (IAM) identity-based policies for S3 Express One Zone in the Amazon S3 User Guide.
- Encryption
-
-
General purpose buckets - For information about using server-side encryption with customer-provided encryption keys with the UploadPartCopy
operation, see CopyObject and UploadPart.
-
Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) and server-side encryption with KMS keys (SSE-KMS) (aws:kms
). For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide.
For directory buckets, when you perform a CreateMultipartUpload
operation and an UploadPartCopy
operation, the request headers you provide in the CreateMultipartUpload
request must match the default encryption configuration of the destination bucket.
S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through UploadPartCopy. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.
- Special errors
-
- HTTP Host header syntax
-
Directory buckets - The HTTP Host header syntax is Bucket_name.s3express-az_id.region.amazonaws.com
.
The following operations are related to UploadPartCopy
:
",
"WriteGetObjectResponse": " This operation is not supported by directory buckets.
Passes transformed objects to a GetObject
operation when using Object Lambda access points. For information about Object Lambda access points, see Transforming objects with Object Lambda access points in the Amazon S3 User Guide.
This operation supports metadata that can be returned by GetObject, in addition to RequestRoute
, RequestToken
, StatusCode
, ErrorCode
, and ErrorMessage
. The GetObject
response metadata is supported so that the WriteGetObjectResponse
caller, typically an Lambda function, can provide the same metadata when it internally invokes GetObject
. When WriteGetObjectResponse
is called by a customer-owned Lambda function, the metadata returned to the end user GetObject
call might differ from what Amazon S3 would normally return.
You can include any number of metadata headers. When including a metadata header, it should be prefaced with x-amz-meta
. For example, x-amz-meta-my-custom-header: MyCustomValue
. The primary use case for this is to forward GetObject
metadata.
Amazon Web Services provides some prebuilt Lambda functions that you can use with S3 Object Lambda to detect and redact personally identifiable information (PII) and decompress S3 objects. These Lambda functions are available in the Amazon Web Services Serverless Application Repository, and can be selected through the Amazon Web Services Management Console when you create your Object Lambda access point.
Example 1: PII Access Control - This Lambda function uses Amazon Comprehend, a natural language processing (NLP) service using machine learning to find insights and relationships in text. It automatically detects personally identifiable information (PII) such as names, addresses, dates, credit card numbers, and social security numbers from documents in your Amazon S3 bucket.
Example 2: PII Redaction - This Lambda function uses Amazon Comprehend, a natural language processing (NLP) service using machine learning to find insights and relationships in text. It automatically redacts personally identifiable information (PII) such as names, addresses, dates, credit card numbers, and social security numbers from documents in your Amazon S3 bucket.
Example 3: Decompression - The Lambda function S3ObjectLambdaDecompression, is equipped to decompress objects stored in S3 in one of six compressed file formats including bzip2, gzip, snappy, zlib, zstandard and ZIP.
For information on how to view and use these functions, see Using Amazon Web Services built Lambda functions in the Amazon S3 User Guide.
"
},
"shapes": {
@@ -191,7 +191,7 @@
"CreateMultipartUploadRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"DeleteBucketAnalyticsConfigurationRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"DeleteBucketCorsRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
- "DeleteBucketEncryptionRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
+ "DeleteBucketEncryptionRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code 501 Not Implemented
.
",
"DeleteBucketInventoryConfigurationRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"DeleteBucketLifecycleRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"DeleteBucketMetricsConfigurationRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
@@ -210,7 +210,7 @@
"GetBucketAclRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"GetBucketAnalyticsConfigurationRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"GetBucketCorsRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
- "GetBucketEncryptionRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
+ "GetBucketEncryptionRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code 501 Not Implemented
.
",
"GetBucketInventoryConfigurationRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"GetBucketLifecycleConfigurationRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"GetBucketLifecycleRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
@@ -250,7 +250,7 @@
"PutBucketAclRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"PutBucketAnalyticsConfigurationRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"PutBucketCorsRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
- "PutBucketEncryptionRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
+ "PutBucketEncryptionRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
For directory buckets, this header is not supported in this API operation. If you specify this header, the request fails with the HTTP status code 501 Not Implemented
.
",
"PutBucketInventoryConfigurationRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"PutBucketLifecycleConfigurationRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
"PutBucketLifecycleRequest$ExpectedBucketOwner": "The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code 403 Forbidden
(access denied).
",
@@ -430,18 +430,20 @@
"BucketKeyEnabled": {
"base": null,
"refs": {
- "CompleteMultipartUploadOutput$BucketKeyEnabled": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
This functionality is not supported for directory buckets.
",
- "CopyObjectOutput$BucketKeyEnabled": "Indicates whether the copied object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
This functionality is not supported for directory buckets.
",
- "CopyObjectRequest$BucketKeyEnabled": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using Key Management Service (KMS) keys (SSE-KMS). If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the object.
Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS. Specifying this header with a COPY action doesn’t affect bucket-level settings for S3 Bucket Key.
For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
This functionality is not supported when the destination bucket is a directory bucket.
",
- "CreateMultipartUploadOutput$BucketKeyEnabled": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
This functionality is not supported for directory buckets.
",
- "CreateMultipartUploadRequest$BucketKeyEnabled": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using Key Management Service (KMS) keys (SSE-KMS). Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with an object action doesn’t affect bucket-level settings for S3 Bucket Key.
This functionality is not supported for directory buckets.
",
- "GetObjectOutput$BucketKeyEnabled": "Indicates whether the object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
This functionality is not supported for directory buckets.
",
- "HeadObjectOutput$BucketKeyEnabled": "Indicates whether the object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
This functionality is not supported for directory buckets.
",
- "PutObjectOutput$BucketKeyEnabled": "Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
This functionality is not supported for directory buckets.
",
- "PutObjectRequest$BucketKeyEnabled": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using Key Management Service (KMS) keys (SSE-KMS). Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
Specifying this header with a PUT action doesn’t affect bucket-level settings for S3 Bucket Key.
This functionality is not supported for directory buckets.
",
- "ServerSideEncryptionRule$BucketKeyEnabled": "Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the BucketKeyEnabled
element to true
causes Amazon S3 to use an S3 Bucket Key. By default, S3 Bucket Key is not enabled.
For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
",
- "UploadPartCopyOutput$BucketKeyEnabled": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
This functionality is not supported for directory buckets.
",
- "UploadPartOutput$BucketKeyEnabled": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
This functionality is not supported for directory buckets.
",
+ "CompleteMultipartUploadOutput$BucketKeyEnabled": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
",
+ "CopyObjectOutput$BucketKeyEnabled": "Indicates whether the copied object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
",
+ "CopyObjectRequest$BucketKeyEnabled": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using Key Management Service (KMS) keys (SSE-KMS). If a target object uses SSE-KMS, you can enable an S3 Bucket Key for the object.
Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS. Specifying this header with a COPY action doesn’t affect bucket-level settings for S3 Bucket Key.
For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
Directory buckets - S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.
",
+ "CreateMultipartUploadOutput$BucketKeyEnabled": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
",
+ "CreateMultipartUploadRequest$BucketKeyEnabled": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using Key Management Service (KMS) keys (SSE-KMS).
General purpose buckets - Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS. Also, specifying this header with a PUT action doesn't affect bucket-level settings for S3 Bucket Key.
Directory buckets - S3 Bucket Keys are always enabled for GET
and PUT
operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject, UploadPartCopy, the Copy operation in Batch Operations, or the import jobs. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.
",
+ "CreateSessionOutput$BucketKeyEnabled": "Indicates whether to use an S3 Bucket Key for server-side encryption with KMS keys (SSE-KMS).
",
+ "CreateSessionRequest$BucketKeyEnabled": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using KMS keys (SSE-KMS).
S3 Bucket Keys are always enabled for GET
and PUT
operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject, UploadPartCopy, the Copy operation in Batch Operations, or the import jobs. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.
",
+ "GetObjectOutput$BucketKeyEnabled": "Indicates whether the object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
",
+ "HeadObjectOutput$BucketKeyEnabled": "Indicates whether the object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
",
+ "PutObjectOutput$BucketKeyEnabled": "Indicates whether the uploaded object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
",
+ "PutObjectRequest$BucketKeyEnabled": "Specifies whether Amazon S3 should use an S3 Bucket Key for object encryption with server-side encryption using Key Management Service (KMS) keys (SSE-KMS).
General purpose buckets - Setting this header to true
causes Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS. Also, specifying this header with a PUT action doesn't affect bucket-level settings for S3 Bucket Key.
Directory buckets - S3 Bucket Keys are always enabled for GET
and PUT
operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject, UploadPartCopy, the Copy operation in Batch Operations, or the import jobs. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.
",
+ "ServerSideEncryptionRule$BucketKeyEnabled": "Specifies whether Amazon S3 should use an S3 Bucket Key with server-side encryption using KMS (SSE-KMS) for new objects in the bucket. Existing objects are not affected. Setting the BucketKeyEnabled
element to true
causes Amazon S3 to use an S3 Bucket Key.
-
General purpose buckets - By default, S3 Bucket Key is not enabled. For more information, see Amazon S3 Bucket Keys in the Amazon S3 User Guide.
-
Directory buckets - S3 Bucket Keys are always enabled for GET
and PUT
operations in a directory bucket and can’t be disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects from general purpose buckets to directory buckets, from directory buckets to general purpose buckets, or between directory buckets, through CopyObject, UploadPartCopy, the Copy operation in Batch Operations, or the import jobs. In this case, Amazon S3 makes a call to KMS every time a copy request is made for a KMS-encrypted object.
",
+ "UploadPartCopyOutput$BucketKeyEnabled": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
",
+ "UploadPartOutput$BucketKeyEnabled": "Indicates whether the multipart upload uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
",
"WriteGetObjectResponseRequest$BucketKeyEnabled": " Indicates whether the object stored in Amazon S3 uses an S3 bucket key for server-side encryption with Amazon Web Services KMS (SSE-KMS).
"
}
},
@@ -491,7 +493,7 @@
"CreateSessionRequest$Bucket": "The name of the bucket that you create a session for.
",
"DeleteBucketAnalyticsConfigurationRequest$Bucket": "The name of the bucket from which an analytics configuration is deleted.
",
"DeleteBucketCorsRequest$Bucket": "Specifies the bucket whose cors
configuration is being deleted.
",
- "DeleteBucketEncryptionRequest$Bucket": "The name of the bucket containing the server-side encryption configuration to delete.
",
+ "DeleteBucketEncryptionRequest$Bucket": "The name of the bucket containing the server-side encryption configuration to delete.
Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format bucket_base_name--az_id--x-s3
(for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide
",
"DeleteBucketIntelligentTieringConfigurationRequest$Bucket": "The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.
",
"DeleteBucketInventoryConfigurationRequest$Bucket": "The name of the bucket containing the inventory configuration to delete.
",
"DeleteBucketLifecycleRequest$Bucket": "The bucket name of the lifecycle to delete.
",
@@ -511,7 +513,7 @@
"GetBucketAclRequest$Bucket": "Specifies the S3 bucket whose ACL is being requested.
When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. For more information about InvalidAccessPointAliasError
, see List of Error Codes.
",
"GetBucketAnalyticsConfigurationRequest$Bucket": "The name of the bucket from which an analytics configuration is retrieved.
",
"GetBucketCorsRequest$Bucket": "The bucket name for which to get the cors configuration.
When you use this API operation with an access point, provide the alias of the access point in place of the bucket name.
When you use this API operation with an Object Lambda access point, provide the alias of the Object Lambda access point in place of the bucket name. If the Object Lambda access point alias in a request is not valid, the error code InvalidAccessPointAliasError
is returned. For more information about InvalidAccessPointAliasError
, see List of Error Codes.
",
- "GetBucketEncryptionRequest$Bucket": "The name of the bucket from which the server-side encryption configuration is retrieved.
",
+ "GetBucketEncryptionRequest$Bucket": "The name of the bucket from which the server-side encryption configuration is retrieved.
Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format bucket_base_name--az_id--x-s3
(for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide
",
"GetBucketIntelligentTieringConfigurationRequest$Bucket": "The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.
",
"GetBucketInventoryConfigurationRequest$Bucket": "The name of the bucket containing the inventory configuration to retrieve.
",
"GetBucketLifecycleConfigurationRequest$Bucket": "The name of the bucket for which to get the lifecycle information.
",
@@ -558,7 +560,7 @@
"PutBucketAclRequest$Bucket": "The bucket to which to apply the ACL.
",
"PutBucketAnalyticsConfigurationRequest$Bucket": "The name of the bucket to which an analytics configuration is stored.
",
"PutBucketCorsRequest$Bucket": "Specifies the bucket impacted by the cors
configuration.
",
- "PutBucketEncryptionRequest$Bucket": "Specifies default encryption for a bucket using server-side encryption with different key options. By default, all buckets have a default encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). You can optionally configure default encryption for a bucket by using server-side encryption with an Amazon Web Services KMS key (SSE-KMS) or a customer-provided key (SSE-C). For information about the bucket default encryption feature, see Amazon S3 Bucket Default Encryption in the Amazon S3 User Guide.
",
+ "PutBucketEncryptionRequest$Bucket": "Specifies default encryption for a bucket using server-side encryption with different key options.
Directory buckets - When you use this operation with a directory bucket, you must use path-style requests in the format https://s3express-control.region_code.amazonaws.com/bucket-name
. Virtual-hosted-style requests aren't supported. Directory bucket names must be unique in the chosen Availability Zone. Bucket names must also follow the format bucket_base_name--az_id--x-s3
(for example, DOC-EXAMPLE-BUCKET--usw2-az1--x-s3
). For information about bucket naming restrictions, see Directory bucket naming rules in the Amazon S3 User Guide
",
"PutBucketIntelligentTieringConfigurationRequest$Bucket": "The name of the Amazon S3 bucket whose configuration you want to modify or retrieve.
",
"PutBucketInventoryConfigurationRequest$Bucket": "The name of the bucket where the inventory configuration will be stored.
",
"PutBucketLifecycleConfigurationRequest$Bucket": "The name of the bucket for which to set the configuration.
",
@@ -698,7 +700,7 @@
"PutBucketAccelerateConfigurationRequest$ChecksumAlgorithm": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more information, see Checking object integrity in the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
parameter.
",
"PutBucketAclRequest$ChecksumAlgorithm": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more information, see Checking object integrity in the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
parameter.
",
"PutBucketCorsRequest$ChecksumAlgorithm": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more information, see Checking object integrity in the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
parameter.
",
- "PutBucketEncryptionRequest$ChecksumAlgorithm": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more information, see Checking object integrity in the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
parameter.
",
+ "PutBucketEncryptionRequest$ChecksumAlgorithm": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more information, see Checking object integrity in the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
parameter.
For directory buckets, when you use Amazon Web Services SDKs, CRC32
is the default checksum algorithm that's used for performance.
",
"PutBucketLifecycleConfigurationRequest$ChecksumAlgorithm": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more information, see Checking object integrity in the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
parameter.
",
"PutBucketLifecycleRequest$ChecksumAlgorithm": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more information, see Checking object integrity in the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
parameter.
",
"PutBucketLoggingRequest$ChecksumAlgorithm": "Indicates the algorithm used to create the checksum for the object when you use the SDK. This header will not provide any additional functionality if you don't use the SDK. When you send this header, there must be a corresponding x-amz-checksum
or x-amz-trailer
header sent. Otherwise, Amazon S3 fails the request with the HTTP status code 400 Bad Request
. For more information, see Checking object integrity in the Amazon S3 User Guide.
If you provide an individual checksum, Amazon S3 ignores any provided ChecksumAlgorithm
parameter.
",
@@ -770,8 +772,8 @@
"ChecksumMode": {
"base": null,
"refs": {
- "GetObjectRequest$ChecksumMode": "To retrieve the checksum, this mode must be enabled.
In addition, if you enable checksum mode and the object is uploaded with a checksum and encrypted with an Key Management Service (KMS) key, you must have permission to use the kms:Decrypt
action to retrieve the checksum.
",
- "HeadObjectRequest$ChecksumMode": "To retrieve the checksum, this parameter must be enabled.
In addition, if you enable checksum mode and the object is uploaded with a checksum and encrypted with an Key Management Service (KMS) key, you must have permission to use the kms:Decrypt
action to retrieve the checksum.
"
+ "GetObjectRequest$ChecksumMode": "To retrieve the checksum, this mode must be enabled.
General purpose buckets - In addition, if you enable checksum mode and the object is uploaded with a checksum and encrypted with an Key Management Service (KMS) key, you must have permission to use the kms:Decrypt
action to retrieve the checksum.
",
+ "HeadObjectRequest$ChecksumMode": "To retrieve the checksum, this parameter must be enabled.
General purpose buckets - If you enable checksum mode and the object is uploaded with a checksum and encrypted with an Key Management Service (KMS) key, you must have permission to use the kms:Decrypt
action to retrieve the checksum.
Directory buckets - If you enable ChecksumMode
and the object is encrypted with Amazon Web Services Key Management Service (Amazon Web Services KMS), you must also have the kms:GenerateDataKey
and kms:Decrypt
permissions in IAM identity-based policies and KMS key policies for the KMS key to retrieve the checksum of the object.
"
}
},
"ChecksumSHA1": {
@@ -953,7 +955,7 @@
"refs": {
"PutBucketAclRequest$ContentMD5": "The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity check to verify that the request body was not corrupted in transit. For more information, go to RFC 1864.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
",
"PutBucketCorsRequest$ContentMD5": "The base64-encoded 128-bit MD5 digest of the data. This header must be used as a message integrity check to verify that the request body was not corrupted in transit. For more information, go to RFC 1864.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
",
- "PutBucketEncryptionRequest$ContentMD5": "The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
",
+ "PutBucketEncryptionRequest$ContentMD5": "The base64-encoded 128-bit MD5 digest of the server-side encryption configuration.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
This functionality is not supported for directory buckets.
",
"PutBucketLifecycleRequest$ContentMD5": " For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
",
"PutBucketLoggingRequest$ContentMD5": "The MD5 hash of the PutBucketLogging
request body.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
",
"PutBucketNotificationRequest$ContentMD5": "The MD5 hash of the PutPublicAccessBlock
request body.
For requests made using the Amazon Web Services Command Line Interface (CLI) or Amazon Web Services SDKs, this field is calculated automatically.
",
@@ -1492,9 +1494,9 @@
}
},
"ExistingObjectReplication": {
- "base": "Optional configuration to replicate existing source bucket objects. For more information, see Replicating Existing Objects in the Amazon S3 User Guide.
",
+ "base": "Optional configuration to replicate existing source bucket objects.
This parameter is no longer supported. To replicate existing objects, see Replicating existing objects with S3 Batch Replication in the Amazon S3 User Guide.
",
"refs": {
- "ReplicationRule$ExistingObjectReplication": "Optional configuration to replicate existing source bucket objects. For more information, see Replicating Existing Objects in the Amazon S3 User Guide.
"
+ "ReplicationRule$ExistingObjectReplication": "Optional configuration to replicate existing source bucket objects.
This parameter is no longer supported. To replicate existing objects, see Replicating existing objects with S3 Batch Replication in the Amazon S3 User Guide.
"
}
},
"ExistingObjectReplicationStatus": {
@@ -4003,31 +4005,35 @@
"SSEKMSEncryptionContext": {
"base": null,
"refs": {
- "CopyObjectOutput$SSEKMSEncryptionContext": "If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.
This functionality is not supported for directory buckets.
",
- "CopyObjectRequest$SSEKMSEncryptionContext": "Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs. This value must be explicitly added to specify encryption context for CopyObject
requests.
This functionality is not supported when the destination bucket is a directory bucket.
",
- "CreateMultipartUploadOutput$SSEKMSEncryptionContext": "If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.
This functionality is not supported for directory buckets.
",
- "CreateMultipartUploadRequest$SSEKMSEncryptionContext": "Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.
This functionality is not supported for directory buckets.
",
- "PutObjectOutput$SSEKMSEncryptionContext": "If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject
or CopyObject
operations on this object.
This functionality is not supported for directory buckets.
",
- "PutObjectRequest$SSEKMSEncryptionContext": "Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject
or CopyObject
operations on this object. This value must be explicitly added during CopyObject
operations.
This functionality is not supported for directory buckets.
"
+ "CopyObjectOutput$SSEKMSEncryptionContext": "If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.
",
+ "CopyObjectRequest$SSEKMSEncryptionContext": "Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for the destination object encryption. The value of this header is a base64-encoded UTF-8 string holding JSON with the encryption context key-value pairs.
General purpose buckets - This value must be explicitly added to specify encryption context for CopyObject
requests if you want an additional encryption context for your destination object. The additional encryption context of the source object won't be copied to the destination object. For more information, see Encryption context in the Amazon S3 User Guide.
Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.
",
+ "CreateMultipartUploadOutput$SSEKMSEncryptionContext": "If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.
",
+ "CreateMultipartUploadRequest$SSEKMSEncryptionContext": "Specifies the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs.
Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.
",
+ "CreateSessionOutput$SSEKMSEncryptionContext": "If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject
operations on this object.
",
+ "CreateSessionRequest$SSEKMSEncryptionContext": "Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject
operations on this object.
General purpose buckets - This value must be explicitly added during CopyObject
operations if you want an additional encryption context for your object. For more information, see Encryption context in the Amazon S3 User Guide.
Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.
",
+ "PutObjectOutput$SSEKMSEncryptionContext": "If present, indicates the Amazon Web Services KMS Encryption Context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject
operations on this object.
",
+ "PutObjectRequest$SSEKMSEncryptionContext": "Specifies the Amazon Web Services KMS Encryption Context as an additional encryption context to use for object encryption. The value of this header is a Base64-encoded string of a UTF-8 encoded JSON, which contains the encryption context as key-value pairs. This value is stored as object metadata and automatically gets passed on to Amazon Web Services KMS for future GetObject
operations on this object.
General purpose buckets - This value must be explicitly added during CopyObject
operations if you want an additional encryption context for your object. For more information, see Encryption context in the Amazon S3 User Guide.
Directory buckets - You can optionally provide an explicit encryption context value. The value must match the default encryption context - the bucket Amazon Resource Name (ARN). An additional encryption context value is not supported.
"
}
},
"SSEKMSKeyId": {
"base": null,
"refs": {
- "CompleteMultipartUploadOutput$SSEKMSKeyId": "If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
This functionality is not supported for directory buckets.
",
- "CopyObjectOutput$SSEKMSKeyId": "If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
This functionality is not supported for directory buckets.
",
- "CopyObjectRequest$SSEKMSKeyId": "Specifies the KMS ID (Key ID, Key ARN, or Key Alias) to use for object encryption. All GET and PUT requests for an object protected by KMS will fail if they're not made via SSL or using SigV4. For information about configuring any of the officially supported Amazon Web Services SDKs and Amazon Web Services CLI, see Specifying the Signature Version in Request Authentication in the Amazon S3 User Guide.
This functionality is not supported when the destination bucket is a directory bucket.
",
- "CreateMultipartUploadOutput$SSEKMSKeyId": "If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
This functionality is not supported for directory buckets.
",
- "CreateMultipartUploadRequest$SSEKMSKeyId": "Specifies the ID (Key ID, Key ARN, or Key Alias) of the symmetric encryption customer managed key to use for object encryption.
This functionality is not supported for directory buckets.
",
+ "CompleteMultipartUploadOutput$SSEKMSKeyId": "If present, indicates the ID of the KMS key that was used for object encryption.
",
+ "CopyObjectOutput$SSEKMSKeyId": "If present, indicates the ID of the KMS key that was used for object encryption.
",
+ "CopyObjectRequest$SSEKMSKeyId": "Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for object encryption. All GET and PUT requests for an object protected by KMS will fail if they're not made via SSL or using SigV4. For information about configuring any of the officially supported Amazon Web Services SDKs and Amazon Web Services CLI, see Specifying the Signature Version in Request Authentication in the Amazon S3 User Guide.
Directory buckets - If you specify x-amz-server-side-encryption
with aws:kms
, you must specify the x-amz-server-side-encryption-aws-kms-key-id
header with the ID (Key ID or Key ARN) of the KMS symmetric encryption customer managed key to use. Otherwise, you get an HTTP 400 Bad Request
error. Only use the key ID or key ARN. The key alias format of the KMS key isn't supported. Your SSE-KMS configuration can only support 1 customer managed key per directory bucket for the lifetime of the bucket. Amazon Web Services managed key (aws/s3
) isn't supported.
",
+ "CreateMultipartUploadOutput$SSEKMSKeyId": "If present, indicates the ID of the KMS key that was used for object encryption.
",
+ "CreateMultipartUploadRequest$SSEKMSKeyId": "Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for object encryption. If the KMS key doesn't exist in the same account that's issuing the command, you must use the full Key ARN not the Key ID.
General purpose buckets - If you specify x-amz-server-side-encryption
with aws:kms
or aws:kms:dsse
, this header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key to use. If you specify x-amz-server-side-encryption:aws:kms
or x-amz-server-side-encryption:aws:kms:dsse
, but do not provide x-amz-server-side-encryption-aws-kms-key-id
, Amazon S3 uses the Amazon Web Services managed key (aws/s3
) to protect the data.
Directory buckets - If you specify x-amz-server-side-encryption
with aws:kms
, you must specify the x-amz-server-side-encryption-aws-kms-key-id
header with the ID (Key ID or Key ARN) of the KMS symmetric encryption customer managed key to use. Otherwise, you get an HTTP 400 Bad Request
error. Only use the key ID or key ARN. The key alias format of the KMS key isn't supported. Your SSE-KMS configuration can only support 1 customer managed key per directory bucket for the lifetime of the bucket. Amazon Web Services managed key (aws/s3
) isn't supported.
",
+ "CreateSessionOutput$SSEKMSKeyId": "If you specify x-amz-server-side-encryption
with aws:kms
, this header indicates the ID of the KMS symmetric encryption customer managed key that was used for object encryption.
",
+ "CreateSessionRequest$SSEKMSKeyId": "If you specify x-amz-server-side-encryption
with aws:kms
, you must specify the x-amz-server-side-encryption-aws-kms-key-id
header with the ID (Key ID or Key ARN) of the KMS symmetric encryption customer managed key to use. Otherwise, you get an HTTP 400 Bad Request
error. Only use the key ID or key ARN. The key alias format of the KMS key isn't supported. Also, if the KMS key doesn't exist in the same account that't issuing the command, you must use the full Key ARN not the Key ID.
Your SSE-KMS configuration can only support 1 customer managed key per directory bucket for the lifetime of the bucket. Amazon Web Services managed key (aws/s3
) isn't supported.
",
"Encryption$KMSKeyId": "If the encryption type is aws:kms
, this optional value specifies the ID of the symmetric encryption customer managed key to use for encryption of job results. Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in KMS in the Amazon Web Services Key Management Service Developer Guide.
",
- "GetObjectOutput$SSEKMSKeyId": "If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
This functionality is not supported for directory buckets.
",
- "HeadObjectOutput$SSEKMSKeyId": "If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
This functionality is not supported for directory buckets.
",
- "PutObjectOutput$SSEKMSKeyId": "If x-amz-server-side-encryption
has a valid value of aws:kms
or aws:kms:dsse
, this header indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
This functionality is not supported for directory buckets.
",
- "PutObjectRequest$SSEKMSKeyId": "If x-amz-server-side-encryption
has a valid value of aws:kms
or aws:kms:dsse
, this header specifies the ID (Key ID, Key ARN, or Key Alias) of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object. If you specify x-amz-server-side-encryption:aws:kms
or x-amz-server-side-encryption:aws:kms:dsse
, but do not provide x-amz-server-side-encryption-aws-kms-key-id
, Amazon S3 uses the Amazon Web Services managed key (aws/s3
) to protect the data. If the KMS key does not exist in the same account that's issuing the command, you must use the full ARN and not just the ID.
This functionality is not supported for directory buckets.
",
+ "GetObjectOutput$SSEKMSKeyId": "If present, indicates the ID of the KMS key that was used for object encryption.
",
+ "HeadObjectOutput$SSEKMSKeyId": "If present, indicates the ID of the KMS key that was used for object encryption.
",
+ "PutObjectOutput$SSEKMSKeyId": "If present, indicates the ID of the KMS key that was used for object encryption.
",
+ "PutObjectRequest$SSEKMSKeyId": "Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for object encryption. If the KMS key doesn't exist in the same account that's issuing the command, you must use the full Key ARN not the Key ID.
General purpose buckets - If you specify x-amz-server-side-encryption
with aws:kms
or aws:kms:dsse
, this header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key to use. If you specify x-amz-server-side-encryption:aws:kms
or x-amz-server-side-encryption:aws:kms:dsse
, but do not provide x-amz-server-side-encryption-aws-kms-key-id
, Amazon S3 uses the Amazon Web Services managed key (aws/s3
) to protect the data.
Directory buckets - If you specify x-amz-server-side-encryption
with aws:kms
, you must specify the x-amz-server-side-encryption-aws-kms-key-id
header with the ID (Key ID or Key ARN) of the KMS symmetric encryption customer managed key to use. Otherwise, you get an HTTP 400 Bad Request
error. Only use the key ID or key ARN. The key alias format of the KMS key isn't supported. Your SSE-KMS configuration can only support 1 customer managed key per directory bucket for the lifetime of the bucket. Amazon Web Services managed key (aws/s3
) isn't supported.
",
"SSEKMS$KeyId": "Specifies the ID of the Key Management Service (KMS) symmetric encryption customer managed key to use for encrypting inventory reports.
",
- "ServerSideEncryptionByDefault$KMSMasterKeyID": "Amazon Web Services Key Management Service (KMS) customer Amazon Web Services KMS key ID to use for the default encryption. This parameter is allowed if and only if SSEAlgorithm
is set to aws:kms
or aws:kms:dsse
.
You can specify the key ID, key alias, or the Amazon Resource Name (ARN) of the KMS key.
-
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
-
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
-
Key Alias: alias/alias-name
If you use a key ID, you can run into a LogDestination undeliverable error when creating a VPC flow log.
If you are using encryption with cross-account or Amazon Web Services service operations you must use a fully qualified KMS key ARN. For more information, see Using encryption for cross-account operations.
Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.
",
- "UploadPartCopyOutput$SSEKMSKeyId": "If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
This functionality is not supported for directory buckets.
",
- "UploadPartOutput$SSEKMSKeyId": "If present, indicates the ID of the Key Management Service (KMS) symmetric encryption customer managed key that was used for the object.
This functionality is not supported for directory buckets.
",
+ "ServerSideEncryptionByDefault$KMSMasterKeyID": "Amazon Web Services Key Management Service (KMS) customer managed key ID to use for the default encryption.
-
General purpose buckets - This parameter is allowed if and only if SSEAlgorithm
is set to aws:kms
or aws:kms:dsse
.
-
Directory buckets - This parameter is allowed if and only if SSEAlgorithm
is set to aws:kms
.
You can specify the key ID, key alias, or the Amazon Resource Name (ARN) of the KMS key.
-
Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
-
Key ARN: arn:aws:kms:us-east-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
-
Key Alias: alias/alias-name
If you are using encryption with cross-account or Amazon Web Services service operations, you must use a fully qualified KMS key ARN. For more information, see Using encryption for cross-account operations.
-
General purpose buckets - If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner. Also, if you use a key ID, you can run into a LogDestination undeliverable error when creating a VPC flow log.
-
Directory buckets - When you specify an KMS customer managed key for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.
Amazon S3 only supports symmetric encryption KMS keys. For more information, see Asymmetric keys in Amazon Web Services KMS in the Amazon Web Services Key Management Service Developer Guide.
",
+ "UploadPartCopyOutput$SSEKMSKeyId": "If present, indicates the ID of the KMS key that was used for object encryption.
",
+ "UploadPartOutput$SSEKMSKeyId": "If present, indicates the ID of the KMS key that was used for object encryption.
",
"WriteGetObjectResponseRequest$SSEKMSKeyId": " If present, specifies the ID (Key ID, Key ARN, or Key Alias) of the Amazon Web Services Key Management Service (Amazon Web Services KMS) symmetric encryption customer managed key that was used for stored in Amazon S3 object.
"
}
},
@@ -4068,24 +4074,26 @@
"ServerSideEncryption": {
"base": null,
"refs": {
- "CompleteMultipartUploadOutput$ServerSideEncryption": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256
, aws:kms
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
",
- "CopyObjectOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
, aws:kms:dsse
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
",
- "CopyObjectRequest$ServerSideEncryption": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256
, aws:kms
, aws:kms:dsse
). Unrecognized or unsupported values won’t write a destination object and will receive a 400 Bad Request
response.
Amazon S3 automatically encrypts all new objects that are copied to an S3 bucket. When copying an object, if you don't specify encryption information in your copy request, the encryption setting of the target object is set to the default encryption configuration of the destination bucket. By default, all buckets have a base level of encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the destination bucket has a default encryption configuration that uses server-side encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), or server-side encryption with customer-provided encryption keys (SSE-C), Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the target object copy.
When you perform a CopyObject
operation, if you want to use a different type of encryption setting for the target object, you can specify appropriate encryption-related headers to encrypt the target object with an Amazon S3 managed key, a KMS key, or a customer-provided key. If the encryption setting in your request is different from the default encryption configuration of the destination bucket, the encryption setting in your request takes precedence.
With server-side encryption, Amazon S3 encrypts your data as it writes your data to disks in its data centers and decrypts the data when you access it. For more information about server-side encryption, see Using Server-Side Encryption in the Amazon S3 User Guide.
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
",
- "CreateMultipartUploadOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
",
- "CreateMultipartUploadRequest$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
",
+ "CompleteMultipartUploadOutput$ServerSideEncryption": "The server-side encryption algorithm used when storing this object in Amazon S3 (for example, AES256
, aws:kms
).
",
+ "CopyObjectOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
, aws:kms:dsse
).
",
+ "CopyObjectRequest$ServerSideEncryption": "The server-side encryption algorithm used when storing this object in Amazon S3. Unrecognized or unsupported values won’t write a destination object and will receive a 400 Bad Request
response.
Amazon S3 automatically encrypts all new objects that are copied to an S3 bucket. When copying an object, if you don't specify encryption information in your copy request, the encryption setting of the target object is set to the default encryption configuration of the destination bucket. By default, all buckets have a base level of encryption configuration that uses server-side encryption with Amazon S3 managed keys (SSE-S3). If the destination bucket has a different default encryption configuration, Amazon S3 uses the corresponding encryption key to encrypt the target object copy.
With server-side encryption, Amazon S3 encrypts your data as it writes your data to disks in its data centers and decrypts the data when you access it. For more information about server-side encryption, see Using Server-Side Encryption in the Amazon S3 User Guide.
General purpose buckets
-
For general purpose buckets, there are the following supported options for server-side encryption: server-side encryption with Key Management Service (KMS) keys (SSE-KMS), dual-layer server-side encryption with Amazon Web Services KMS keys (DSSE-KMS), and server-side encryption with customer-provided encryption keys (SSE-C). Amazon S3 uses the corresponding KMS key, or a customer-provided key to encrypt the target object copy.
-
When you perform a CopyObject
operation, if you want to use a different type of encryption setting for the target object, you can specify appropriate encryption-related headers to encrypt the target object with an Amazon S3 managed key, a KMS key, or a customer-provided key. If the encryption setting in your request is different from the default encryption configuration of the destination bucket, the encryption setting in your request takes precedence.
Directory buckets
-
For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) and server-side encryption with KMS keys (SSE-KMS) (aws:kms
). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your CreateSession
requests or PUT
object requests. Then, new objects are automatically encrypted with the desired encryption settings. For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.
-
To encrypt new object copies to a directory bucket with SSE-KMS, we recommend you specify SSE-KMS as the directory bucket's default encryption configuration with a KMS key (specifically, a customer managed key). Amazon Web Services managed key (aws/s3
) isn't supported. Your SSE-KMS configuration can only support 1 customer managed key per directory bucket for the lifetime of the bucket. After you specify a customer managed key for SSE-KMS, you can't override the customer managed key for the bucket's SSE-KMS configuration. Then, when you perform a CopyObject
operation and want to specify server-side encryption settings for new object copies with SSE-KMS in the encryption-related request headers, you must ensure the encryption key is the same customer managed key that you specified for the directory bucket's default encryption configuration.
",
+ "CreateMultipartUploadOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
).
",
+ "CreateMultipartUploadRequest$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
).
-
Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) and server-side encryption with KMS keys (SSE-KMS) (aws:kms
). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your CreateSession
requests or PUT
object requests. Then, new objects are automatically encrypted with the desired encryption settings. For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.
In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, the encryption request headers must match the encryption settings that are specified in the CreateSession
request. You can't override the values of the encryption settings (x-amz-server-side-encryption
, x-amz-server-side-encryption-aws-kms-key-id
, x-amz-server-side-encryption-context
, and x-amz-server-side-encryption-bucket-key-enabled
) that are specified in the CreateSession
request. You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and Amazon S3 will use the encryption settings values from the CreateSession
request to protect new objects in the directory bucket.
When you use the CLI or the Amazon Web Services SDKs, for CreateSession
, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the CreateSession
request. It's not supported to override the encryption settings values in the CreateSession
request. So in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), the encryption request headers must match the default encryption configuration of the directory bucket.
",
+ "CreateSessionOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store objects in the directory bucket.
",
+ "CreateSessionRequest$ServerSideEncryption": "The server-side encryption algorithm to use when you store objects in the directory bucket.
For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) and server-side encryption with KMS keys (SSE-KMS) (aws:kms
). By default, Amazon S3 encrypts data with SSE-S3. For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide.
",
"Encryption$EncryptionType": "The server-side encryption algorithm used when storing job results in Amazon S3 (for example, AES256, aws:kms
).
",
- "GetObjectOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
, aws:kms:dsse
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
",
- "HeadObjectOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
, aws:kms:dsse
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
",
- "PutObjectOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
, aws:kms:dsse
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
",
- "PutObjectRequest$ServerSideEncryption": "The server-side encryption algorithm that was used when you store this object in Amazon S3 (for example, AES256
, aws:kms
, aws:kms:dsse
).
General purpose buckets - You have four mutually exclusive options to protect data using server-side encryption in Amazon S3, depending on how you choose to manage the encryption keys. Specifically, the encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and customer-provided keys (SSE-C). Amazon S3 encrypts data with server-side encryption by using Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at rest by using server-side encryption with other key options. For more information, see Using Server-Side Encryption in the Amazon S3 User Guide.
Directory buckets - For directory buckets, only the server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) value is supported.
",
- "ServerSideEncryptionByDefault$SSEAlgorithm": "Server-side encryption algorithm to use for the default encryption.
",
- "UploadPartCopyOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
",
- "UploadPartOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
).
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) is supported.
",
+ "GetObjectOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3.
",
+ "HeadObjectOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
, aws:kms:dsse
).
",
+ "PutObjectOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3.
",
+ "PutObjectRequest$ServerSideEncryption": "The server-side encryption algorithm that was used when you store this object in Amazon S3 (for example, AES256
, aws:kms
, aws:kms:dsse
).
-
General purpose buckets - You have four mutually exclusive options to protect data using server-side encryption in Amazon S3, depending on how you choose to manage the encryption keys. Specifically, the encryption key options are Amazon S3 managed keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and customer-provided keys (SSE-C). Amazon S3 encrypts data with server-side encryption by using Amazon S3 managed keys (SSE-S3) by default. You can optionally tell Amazon S3 to encrypt data at rest by using server-side encryption with other key options. For more information, see Using Server-Side Encryption in the Amazon S3 User Guide.
-
Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256
) and server-side encryption with KMS keys (SSE-KMS) (aws:kms
). We recommend that the bucket's default encryption uses the desired encryption configuration and you don't override the bucket default encryption in your CreateSession
requests or PUT
object requests. Then, new objects are automatically encrypted with the desired encryption settings. For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For more information about the encryption overriding behaviors in directory buckets, see Specifying server-side encryption with KMS for new object uploads.
In the Zonal endpoint API calls (except CopyObject and UploadPartCopy) using the REST API, the encryption request headers must match the encryption settings that are specified in the CreateSession
request. You can't override the values of the encryption settings (x-amz-server-side-encryption
, x-amz-server-side-encryption-aws-kms-key-id
, x-amz-server-side-encryption-context
, and x-amz-server-side-encryption-bucket-key-enabled
) that are specified in the CreateSession
request. You don't need to explicitly specify these encryption settings values in Zonal endpoint API calls, and Amazon S3 will use the encryption settings values from the CreateSession
request to protect new objects in the directory bucket.
When you use the CLI or the Amazon Web Services SDKs, for CreateSession
, the session token refreshes automatically to avoid service interruptions when a session expires. The CLI or the Amazon Web Services SDKs use the bucket's default encryption configuration for the CreateSession
request. It's not supported to override the encryption settings values in the CreateSession
request. So in the Zonal endpoint API calls (except CopyObject and UploadPartCopy), the encryption request headers must match the default encryption configuration of the directory bucket.
",
+ "ServerSideEncryptionByDefault$SSEAlgorithm": "Server-side encryption algorithm to use for the default encryption.
For directory buckets, there are only two supported values for server-side encryption: AES256
and aws:kms
.
",
+ "UploadPartCopyOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
).
",
+ "UploadPartOutput$ServerSideEncryption": "The server-side encryption algorithm used when you store this object in Amazon S3 (for example, AES256
, aws:kms
).
",
"WriteGetObjectResponseRequest$ServerSideEncryption": " The server-side encryption algorithm used when storing requested object in Amazon S3 (for example, AES256, aws:kms
).
"
}
},
"ServerSideEncryptionByDefault": {
- "base": "Describes the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. If you don't specify a customer managed key at configuration, Amazon S3 automatically creates an Amazon Web Services KMS key in your Amazon Web Services account the first time that you add an object encrypted with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS. For more information, see PUT Bucket encryption in the Amazon S3 API Reference.
If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
",
+ "base": "Describes the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied. For more information, see PutBucketEncryption.
-
General purpose buckets - If you don't specify a customer managed key at configuration, Amazon S3 automatically creates an Amazon Web Services KMS key (aws/s3
) in your Amazon Web Services account the first time that you add an object encrypted with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS.
-
Directory buckets - Your SSE-KMS configuration can only support 1 customer managed key per directory bucket for the lifetime of the bucket. Amazon Web Services managed key (aws/s3
) isn't supported.
-
Directory buckets - For directory buckets, there are only two supported options for server-side encryption: SSE-S3 and SSE-KMS.
",
"refs": {
"ServerSideEncryptionRule$ApplyServerSideEncryptionByDefault": "Specifies the default server-side encryption to apply to new objects in the bucket. If a PUT Object request doesn't specify any server-side encryption, this default encryption will be applied.
"
}
@@ -4098,7 +4106,7 @@
}
},
"ServerSideEncryptionRule": {
- "base": "Specifies the default server-side encryption configuration.
If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
",
+ "base": "Specifies the default server-side encryption configuration.
-
General purpose buckets - If you're specifying a customer managed KMS key, we recommend using a fully qualified KMS key ARN. If you use a KMS key alias instead, then KMS resolves the key within the requester’s account. This behavior can result in data that's encrypted with a KMS key that belongs to the requester, and not the bucket owner.
-
Directory buckets - When you specify an KMS customer managed key for encryption in your directory bucket, only use the key ID or key ARN. The key alias format of the KMS key isn't supported.
",
"refs": {
"ServerSideEncryptionRules$member": null
}
@@ -4117,7 +4125,7 @@
}
},
"SessionCredentials": {
- "base": "The established temporary security credentials of the session.
Directory buckets - These session credentials are only supported for the authentication and authorization of Zonal endpoint APIs on directory buckets.
",
+ "base": "The established temporary security credentials of the session.
Directory buckets - These session credentials are only supported for the authentication and authorization of Zonal endpoint API operations on directory buckets.
",
"refs": {
"CreateSessionOutput$Credentials": "The established temporary security credentials for the created session.
"
}
@@ -4131,7 +4139,7 @@
"SessionMode": {
"base": null,
"refs": {
- "CreateSessionRequest$SessionMode": "Specifies the mode of the session that will be created, either ReadWrite
or ReadOnly
. By default, a ReadWrite
session is created. A ReadWrite
session is capable of executing all the Zonal endpoint APIs on a directory bucket. A ReadOnly
session is constrained to execute the following Zonal endpoint APIs: GetObject
, HeadObject
, ListObjectsV2
, GetObjectAttributes
, ListParts
, and ListMultipartUploads
.
"
+ "CreateSessionRequest$SessionMode": "Specifies the mode of the session that will be created, either ReadWrite
or ReadOnly
. By default, a ReadWrite
session is created. A ReadWrite
session is capable of executing all the Zonal endpoint API operations on a directory bucket. A ReadOnly
session is constrained to execute the following Zonal endpoint API operations: GetObject
, HeadObject
, ListObjectsV2
, GetObjectAttributes
, ListParts
, and ListMultipartUploads
.
"
}
},
"Setting": {
diff --git a/apis/s3/2006-03-01/examples-1.json b/apis/s3/2006-03-01/examples-1.json
index c592700a8b8..dd0860e2894 100644
--- a/apis/s3/2006-03-01/examples-1.json
+++ b/apis/s3/2006-03-01/examples-1.json
@@ -292,11 +292,10 @@
{
"input": {
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg",
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
+ "Key": "HappyFace.jpg"
},
"output": {
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
+ "VersionId": "null"
},
"comments": {
"input": {
@@ -304,17 +303,18 @@
"output": {
}
},
- "description": "The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.",
- "id": "to-remove-tag-set-from-an-object-version-1483145285913",
- "title": "To remove tag set from an object version"
+ "description": "The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.",
+ "id": "to-remove-tag-set-from-an-object-1483145342862",
+ "title": "To remove tag set from an object"
},
{
"input": {
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg"
+ "Key": "HappyFace.jpg",
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
},
"output": {
- "VersionId": "null"
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
},
"comments": {
"input": {
@@ -322,9 +322,9 @@
"output": {
}
},
- "description": "The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the operation removes tag set from the latest object version.",
- "id": "to-remove-tag-set-from-an-object-1483145342862",
- "title": "To remove tag set from an object"
+ "description": "The following example removes tag set associated with the specified object version. The request specifies both the object key and object version.",
+ "id": "to-remove-tag-set-from-an-object-version-1483145285913",
+ "title": "To remove tag set from an object version"
}
],
"DeleteObjects": [
@@ -334,10 +334,12 @@
"Delete": {
"Objects": [
{
- "Key": "objectkey1"
+ "Key": "HappyFace.jpg",
+ "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
},
{
- "Key": "objectkey2"
+ "Key": "HappyFace.jpg",
+ "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
}
],
"Quiet": false
@@ -346,14 +348,12 @@
"output": {
"Deleted": [
{
- "DeleteMarker": "true",
- "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
- "Key": "objectkey1"
+ "Key": "HappyFace.jpg",
+ "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
},
{
- "DeleteMarker": "true",
- "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
- "Key": "objectkey2"
+ "Key": "HappyFace.jpg",
+ "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
}
]
},
@@ -363,9 +363,9 @@
"output": {
}
},
- "description": "The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.",
- "id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805",
- "title": "To delete multiple objects from a versioned bucket"
+ "description": "The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.",
+ "id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737",
+ "title": "To delete multiple object versions from a versioned bucket"
},
{
"input": {
@@ -373,12 +373,10 @@
"Delete": {
"Objects": [
{
- "Key": "HappyFace.jpg",
- "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
+ "Key": "objectkey1"
},
{
- "Key": "HappyFace.jpg",
- "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
+ "Key": "objectkey2"
}
],
"Quiet": false
@@ -387,12 +385,14 @@
"output": {
"Deleted": [
{
- "Key": "HappyFace.jpg",
- "VersionId": "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd"
+ "DeleteMarker": "true",
+ "DeleteMarkerVersionId": "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
+ "Key": "objectkey1"
},
{
- "Key": "HappyFace.jpg",
- "VersionId": "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b"
+ "DeleteMarker": "true",
+ "DeleteMarkerVersionId": "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
+ "Key": "objectkey2"
}
]
},
@@ -402,9 +402,9 @@
"output": {
}
},
- "description": "The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object versions and returns the key and versions of deleted objects in the response.",
- "id": "to-delete-multiple-object-versions-from-a-versioned-bucket-1483147087737",
- "title": "To delete multiple object versions from a versioned bucket"
+ "description": "The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.",
+ "id": "to-delete-multiple-objects-from-a-versioned-bucket-1483146248805",
+ "title": "To delete multiple objects from a versioned bucket"
}
],
"GetBucketCors": [
@@ -840,20 +840,17 @@
{
"input": {
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg"
+ "Key": "exampleobject",
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
},
"output": {
"TagSet": [
{
- "Key": "Key4",
- "Value": "Value4"
- },
- {
- "Key": "Key3",
- "Value": "Value3"
+ "Key": "Key1",
+ "Value": "Value1"
}
],
- "VersionId": "null"
+ "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
},
"comments": {
"input": {
@@ -861,24 +858,27 @@
"output": {
}
},
- "description": "The following example retrieves tag set of an object.",
- "id": "to-retrieve-tag-set-of-an-object-1481833847896",
- "title": "To retrieve tag set of an object"
+ "description": "The following example retrieves tag set of an object. The request specifies object version.",
+ "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
+ "title": "To retrieve tag set of a specific object version"
},
{
"input": {
"Bucket": "examplebucket",
- "Key": "exampleobject",
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
+ "Key": "HappyFace.jpg"
},
"output": {
"TagSet": [
{
- "Key": "Key1",
- "Value": "Value1"
+ "Key": "Key4",
+ "Value": "Value4"
+ },
+ {
+ "Key": "Key3",
+ "Value": "Value3"
}
],
- "VersionId": "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI"
+ "VersionId": "null"
},
"comments": {
"input": {
@@ -886,9 +886,9 @@
"output": {
}
},
- "description": "The following example retrieves tag set of an object. The request specifies object version.",
- "id": "to-retrieve-tag-set-of-a-specific-object-version-1483400283663",
- "title": "To retrieve tag set of a specific object version"
+ "description": "The following example retrieves tag set of an object.",
+ "id": "to-retrieve-tag-set-of-an-object-1481833847896",
+ "title": "To retrieve tag set of an object"
}
],
"GetObjectTorrent": [
@@ -1567,16 +1567,14 @@
"PutObject": [
{
"input": {
- "Body": "HappyFace.jpg",
+ "Body": "c:\\HappyFace.jpg",
"Bucket": "examplebucket",
"Key": "HappyFace.jpg",
- "ServerSideEncryption": "AES256",
- "StorageClass": "STANDARD_IA"
+ "Tagging": "key1=value1&key2=value2"
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
- "ServerSideEncryption": "AES256",
- "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
+ "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
},
"comments": {
"input": {
@@ -1584,9 +1582,9 @@
"output": {
}
},
- "description": "The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.",
- "id": "to-upload-an-object-(specify-optional-headers)",
- "title": "To upload an object (specify optional headers)"
+ "description": "The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.",
+ "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
+ "title": "To upload an object and specify optional tags"
},
{
"input": {
@@ -1610,13 +1608,17 @@
},
{
"input": {
- "Body": "HappyFace.jpg",
+ "Body": "filetoupload",
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg"
+ "Key": "exampleobject",
+ "Metadata": {
+ "metadata1": "value1",
+ "metadata2": "value2"
+ }
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
- "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
+ "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
},
"comments": {
"input": {
@@ -1624,20 +1626,19 @@
"output": {
}
},
- "description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.",
- "id": "to-upload-an-object-1481760101010",
- "title": "To upload an object"
+ "description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
+ "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
+ "title": "To upload object and specify user-defined metadata"
},
{
"input": {
- "Body": "c:\\HappyFace.jpg",
+ "Body": "HappyFace.jpg",
"Bucket": "examplebucket",
- "Key": "HappyFace.jpg",
- "Tagging": "key1=value1&key2=value2"
+ "Key": "HappyFace.jpg"
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
- "VersionId": "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a"
+ "VersionId": "tpf3zF08nBplQK1XLOefGskR7mGDwcDk"
},
"comments": {
"input": {
@@ -1645,20 +1646,22 @@
"output": {
}
},
- "description": "The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore S3 returns version ID of the newly created object.",
- "id": "to-upload-an-object-and-specify-optional-tags-1481762310955",
- "title": "To upload an object and specify optional tags"
+ "description": "The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file syntax. S3 returns VersionId of the newly created object.",
+ "id": "to-upload-an-object-1481760101010",
+ "title": "To upload an object"
},
{
"input": {
- "ACL": "authenticated-read",
"Body": "filetoupload",
"Bucket": "examplebucket",
- "Key": "exampleobject"
+ "Key": "exampleobject",
+ "ServerSideEncryption": "AES256",
+ "Tagging": "key1=value1&key2=value2"
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
- "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
+ "ServerSideEncryption": "AES256",
+ "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
},
"comments": {
"input": {
@@ -1666,23 +1669,20 @@
"output": {
}
},
- "description": "The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.",
- "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
- "title": "To upload an object and specify canned ACL."
+ "description": "The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
+ "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
+ "title": "To upload an object and specify server-side encryption and object tags"
},
{
"input": {
+ "ACL": "authenticated-read",
"Body": "filetoupload",
"Bucket": "examplebucket",
- "Key": "exampleobject",
- "Metadata": {
- "metadata1": "value1",
- "metadata2": "value2"
- }
+ "Key": "exampleobject"
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
- "VersionId": "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0"
+ "VersionId": "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr"
},
"comments": {
"input": {
@@ -1690,22 +1690,22 @@
"output": {
}
},
- "description": "The following example creates an object. The request also specifies optional metadata. If the bucket is versioning enabled, S3 returns version ID in response.",
- "id": "to-upload-object-and-specify-user-defined-metadata-1483396974757",
- "title": "To upload object and specify user-defined metadata"
+ "description": "The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.",
+ "id": "to-upload-an-object-and-specify-canned-acl-1483397779571",
+ "title": "To upload an object and specify canned ACL."
},
{
"input": {
- "Body": "filetoupload",
+ "Body": "HappyFace.jpg",
"Bucket": "examplebucket",
- "Key": "exampleobject",
+ "Key": "HappyFace.jpg",
"ServerSideEncryption": "AES256",
- "Tagging": "key1=value1&key2=value2"
+ "StorageClass": "STANDARD_IA"
},
"output": {
"ETag": "\"6805f2cfc46c0f04559748bb039d69ae\"",
"ServerSideEncryption": "AES256",
- "VersionId": "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt"
+ "VersionId": "CG612hodqujkf8FaaNfp8U..FIhLROcp"
},
"comments": {
"input": {
@@ -1713,9 +1713,9 @@
"output": {
}
},
- "description": "The following example uploads an object. The request specifies the optional server-side encryption option. The request also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.",
- "id": "to-upload-an-object-and-specify-server-side-encryption-and-object-tags-1483398331831",
- "title": "To upload an object and specify server-side encryption and object tags"
+ "description": "The following example uploads an object. The request specifies optional request headers to directs S3 to use specific storage class and use server-side encryption.",
+ "id": "to-upload-an-object-(specify-optional-headers)",
+ "title": "To upload an object (specify optional headers)"
}
],
"PutObjectAcl": [
@@ -1826,14 +1826,15 @@
"input": {
"Bucket": "examplebucket",
"CopySource": "/bucketname/sourceobjectkey",
+ "CopySourceRange": "bytes=1-100000",
"Key": "examplelargeobject",
- "PartNumber": "1",
+ "PartNumber": "2",
"UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
},
"output": {
"CopyPartResult": {
- "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
- "LastModified": "2016-12-29T21:24:43.000Z"
+ "ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
+ "LastModified": "2016-12-29T21:44:28.000Z"
}
},
"comments": {
@@ -1842,23 +1843,22 @@
"output": {
}
},
- "description": "The following example uploads a part of a multipart upload by copying data from an existing object as data source.",
- "id": "to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348",
- "title": "To upload a part by copying data from an existing object as data source"
+ "description": "The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.",
+ "id": "to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594",
+ "title": "To upload a part by copying byte range from an existing object as data source"
},
{
"input": {
"Bucket": "examplebucket",
"CopySource": "/bucketname/sourceobjectkey",
- "CopySourceRange": "bytes=1-100000",
"Key": "examplelargeobject",
- "PartNumber": "2",
+ "PartNumber": "1",
"UploadId": "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--"
},
"output": {
"CopyPartResult": {
- "ETag": "\"65d16d19e65a7508a51f043180edcc36\"",
- "LastModified": "2016-12-29T21:44:28.000Z"
+ "ETag": "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
+ "LastModified": "2016-12-29T21:24:43.000Z"
}
},
"comments": {
@@ -1867,9 +1867,9 @@
"output": {
}
},
- "description": "The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as data source.",
- "id": "to-upload-a-part-by-copying-byte-range-from-an-existing-object-as-data-source-1483048068594",
- "title": "To upload a part by copying byte range from an existing object as data source"
+ "description": "The following example uploads a part of a multipart upload by copying data from an existing object as data source.",
+ "id": "to-upload-a-part-by-copying-data-from-an-existing-object-as-data-source-1483046746348",
+ "title": "To upload a part by copying data from an existing object as data source"
}
]
}
diff --git a/apis/sagemaker/2017-07-24/api-2.json b/apis/sagemaker/2017-07-24/api-2.json
index 0f0faade779..1586f245565 100644
--- a/apis/sagemaker/2017-07-24/api-2.json
+++ b/apis/sagemaker/2017-07-24/api-2.json
@@ -4241,6 +4241,14 @@
"ml.g6.16xlarge",
"ml.g6.24xlarge",
"ml.g6.48xlarge",
+ "ml.g6e.xlarge",
+ "ml.g6e.2xlarge",
+ "ml.g6e.4xlarge",
+ "ml.g6e.8xlarge",
+ "ml.g6e.12xlarge",
+ "ml.g6e.16xlarge",
+ "ml.g6e.24xlarge",
+ "ml.g6e.48xlarge",
"ml.geospatial.interactive",
"ml.p4d.24xlarge",
"ml.p4de.24xlarge",
diff --git a/apis/ssm/2014-11-06/api-2.json b/apis/ssm/2014-11-06/api-2.json
index 34b694fcea6..5b966fcaf46 100644
--- a/apis/ssm/2014-11-06/api-2.json
+++ b/apis/ssm/2014-11-06/api-2.json
@@ -2777,6 +2777,7 @@
"ProgressCounters":{"shape":"ProgressCounters"},
"AlarmConfiguration":{"shape":"AlarmConfiguration"},
"TriggeredAlarms":{"shape":"AlarmStateInformationList"},
+ "TargetLocationsURL":{"shape":"TargetLocationsURL"},
"AutomationSubtype":{"shape":"AutomationSubtype"},
"ScheduledTime":{"shape":"DateTime"},
"Runbooks":{"shape":"Runbooks"},
@@ -2870,6 +2871,7 @@
"AutomationType":{"shape":"AutomationType"},
"AlarmConfiguration":{"shape":"AlarmConfiguration"},
"TriggeredAlarms":{"shape":"AlarmStateInformationList"},
+ "TargetLocationsURL":{"shape":"TargetLocationsURL"},
"AutomationSubtype":{"shape":"AutomationSubtype"},
"ScheduledTime":{"shape":"DateTime"},
"Runbooks":{"shape":"Runbooks"},
@@ -5107,6 +5109,18 @@
"member":{"shape":"EffectivePatch"}
},
"ErrorCount":{"type":"integer"},
+ "ExcludeAccount":{
+ "type":"string",
+ "max":68,
+ "min":6,
+ "pattern":"^(ou-[a-z0-9]{4,32}-[a-z0-9]{8,32})|(\\d{12})$"
+ },
+ "ExcludeAccounts":{
+ "type":"list",
+ "member":{"shape":"ExcludeAccount"},
+ "max":5000,
+ "min":1
+ },
"ExecutionMode":{
"type":"string",
"enum":[
@@ -10283,7 +10297,8 @@
"box":true
},
"Tags":{"shape":"TagList"},
- "AlarmConfiguration":{"shape":"AlarmConfiguration"}
+ "AlarmConfiguration":{"shape":"AlarmConfiguration"},
+ "TargetLocationsURL":{"shape":"TargetLocationsURL"}
}
},
"StartAutomationExecutionResult":{
@@ -10562,7 +10577,12 @@
"TargetLocationAlarmConfiguration":{
"shape":"AlarmConfiguration",
"box":true
- }
+ },
+ "IncludeChildOrganizationUnits":{"shape":"Boolean"},
+ "ExcludeAccounts":{"shape":"ExcludeAccounts"},
+ "Targets":{"shape":"Targets"},
+ "TargetsMaxConcurrency":{"shape":"MaxConcurrency"},
+ "TargetsMaxErrors":{"shape":"MaxErrors"}
}
},
"TargetLocations":{
@@ -10571,6 +10591,10 @@
"max":100,
"min":1
},
+ "TargetLocationsURL":{
+ "type":"string",
+ "pattern":"^https:\\/\\/[-a-zA-Z0-9@:%._\\+~#=]{1,253}\\.s3(\\.[a-z\\d-]{9,16})?\\.amazonaws\\.com\\/.{1,2000}"
+ },
"TargetMap":{
"type":"map",
"key":{"shape":"TargetMapKey"},
diff --git a/apis/ssm/2014-11-06/docs-2.json b/apis/ssm/2014-11-06/docs-2.json
index 8ed18bd6250..350ec3fe428 100644
--- a/apis/ssm/2014-11-06/docs-2.json
+++ b/apis/ssm/2014-11-06/docs-2.json
@@ -6,15 +6,15 @@
"AssociateOpsItemRelatedItem": "Associates a related item to a Systems Manager OpsCenter OpsItem. For example, you can associate an Incident Manager incident or analysis with an OpsItem. Incident Manager and OpsCenter are capabilities of Amazon Web Services Systems Manager.
",
"CancelCommand": "Attempts to cancel the command specified by the Command ID. There is no guarantee that the command will be terminated and the underlying process stopped.
",
"CancelMaintenanceWindowExecution": "Stops a maintenance window execution that is already in progress and cancels any tasks in the window that haven't already starting running. Tasks already in progress will continue to completion.
",
- "CreateActivation": "Generates an activation code and activation ID you can use to register your on-premises servers, edge devices, or virtual machine (VM) with Amazon Web Services Systems Manager. Registering these machines with Systems Manager makes it possible to manage them using Systems Manager capabilities. You use the activation code and ID when installing SSM Agent on machines in your hybrid environment. For more information about requirements for managing on-premises machines using Systems Manager, see Setting up Amazon Web Services Systems Manager for hybrid and multicloud environments in the Amazon Web Services Systems Manager User Guide.
Amazon Elastic Compute Cloud (Amazon EC2) instances, edge devices, and on-premises servers and VMs that are configured for Systems Manager are all called managed nodes.
",
+ "CreateActivation": "Generates an activation code and activation ID you can use to register your on-premises servers, edge devices, or virtual machine (VM) with Amazon Web Services Systems Manager. Registering these machines with Systems Manager makes it possible to manage them using Systems Manager capabilities. You use the activation code and ID when installing SSM Agent on machines in your hybrid environment. For more information about requirements for managing on-premises machines using Systems Manager, see Using Amazon Web Services Systems Manager in hybrid and multicloud environments in the Amazon Web Services Systems Manager User Guide.
Amazon Elastic Compute Cloud (Amazon EC2) instances, edge devices, and on-premises servers and VMs that are configured for Systems Manager are all called managed nodes.
",
"CreateAssociation": "A State Manager association defines the state that you want to maintain on your managed nodes. For example, an association can specify that anti-virus software must be installed and running on your managed nodes, or that certain ports must be closed. For static targets, the association specifies a schedule for when the configuration is reapplied. For dynamic targets, such as an Amazon Web Services resource group or an Amazon Web Services autoscaling group, State Manager, a capability of Amazon Web Services Systems Manager applies the configuration when new managed nodes are added to the group. The association also specifies actions to take when applying the configuration. For example, an association for anti-virus software might run once a day. If the software isn't installed, then State Manager installs it. If the software is installed, but the service isn't running, then the association might instruct State Manager to start the service.
",
"CreateAssociationBatch": "Associates the specified Amazon Web Services Systems Manager document (SSM document) with the specified managed nodes or targets.
When you associate a document with one or more managed nodes using IDs or tags, Amazon Web Services Systems Manager Agent (SSM Agent) running on the managed node processes the document and configures the node as specified.
If you associate a document with a managed node that already has an associated document, the system returns the AssociationAlreadyExists exception.
",
- "CreateDocument": "Creates a Amazon Web Services Systems Manager (SSM document). An SSM document defines the actions that Systems Manager performs on your managed nodes. For more information about SSM documents, including information about supported schemas, features, and syntax, see Amazon Web Services Systems Manager Documents in the Amazon Web Services Systems Manager User Guide.
",
+ "CreateDocument": "Creates a Amazon Web Services Systems Manager (SSM document). An SSM document defines the actions that Systems Manager performs on your managed nodes. For more information about SSM documents, including information about supported schemas, features, and syntax, see Amazon Web Services Systems Manager Documents in the Amazon Web Services Systems Manager User Guide.
",
"CreateMaintenanceWindow": "Creates a new maintenance window.
The value you specify for Duration
determines the specific end time for the maintenance window based on the time it begins. No maintenance window tasks are permitted to start after the resulting endtime minus the number of hours you specify for Cutoff
. For example, if the maintenance window starts at 3 PM, the duration is three hours, and the value you specify for Cutoff
is one hour, no maintenance window tasks can start after 5 PM.
",
"CreateOpsItem": "Creates a new OpsItem. You must have permission in Identity and Access Management (IAM) to create a new OpsItem. For more information, see Set up OpsCenter in the Amazon Web Services Systems Manager User Guide.
Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and remediate operational issues impacting the performance and health of their Amazon Web Services resources. For more information, see Amazon Web Services Systems Manager OpsCenter in the Amazon Web Services Systems Manager User Guide.
",
"CreateOpsMetadata": "If you create a new application in Application Manager, Amazon Web Services Systems Manager calls this API operation to specify information about the new application, including the application type.
",
"CreatePatchBaseline": "Creates a patch baseline.
For information about valid key-value pairs in PatchFilters
for each supported operating system type, see PatchFilter.
",
- "CreateResourceDataSync": "A resource data sync helps you view data from multiple sources in a single location. Amazon Web Services Systems Manager offers two types of resource data sync: SyncToDestination
and SyncFromSource
.
You can configure Systems Manager Inventory to use the SyncToDestination
type to synchronize Inventory data from multiple Amazon Web Services Regions to a single Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Configuring resource data sync for Inventory in the Amazon Web Services Systems Manager User Guide.
You can configure Systems Manager Explorer to use the SyncFromSource
type to synchronize operational work items (OpsItems) and operational data (OpsData) from multiple Amazon Web Services Regions to a single Amazon S3 bucket. This type can synchronize OpsItems and OpsData from multiple Amazon Web Services accounts and Amazon Web Services Regions or EntireOrganization
by using Organizations. For more information, see Setting up Systems Manager Explorer to display data from multiple accounts and Regions in the Amazon Web Services Systems Manager User Guide.
A resource data sync is an asynchronous operation that returns immediately. After a successful initial sync is completed, the system continuously syncs data. To check the status of a sync, use the ListResourceDataSync.
By default, data isn't encrypted in Amazon S3. We strongly recommend that you enable encryption in Amazon S3 to ensure secure data storage. We also recommend that you secure access to the Amazon S3 bucket by creating a restrictive bucket policy.
",
+ "CreateResourceDataSync": "A resource data sync helps you view data from multiple sources in a single location. Amazon Web Services Systems Manager offers two types of resource data sync: SyncToDestination
and SyncFromSource
.
You can configure Systems Manager Inventory to use the SyncToDestination
type to synchronize Inventory data from multiple Amazon Web Services Regions to a single Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Creatinga a resource data sync for Inventory in the Amazon Web Services Systems Manager User Guide.
You can configure Systems Manager Explorer to use the SyncFromSource
type to synchronize operational work items (OpsItems) and operational data (OpsData) from multiple Amazon Web Services Regions to a single Amazon S3 bucket. This type can synchronize OpsItems and OpsData from multiple Amazon Web Services accounts and Amazon Web Services Regions or EntireOrganization
by using Organizations. For more information, see Setting up Systems Manager Explorer to display data from multiple accounts and Regions in the Amazon Web Services Systems Manager User Guide.
A resource data sync is an asynchronous operation that returns immediately. After a successful initial sync is completed, the system continuously syncs data. To check the status of a sync, use the ListResourceDataSync.
By default, data isn't encrypted in Amazon S3. We strongly recommend that you enable encryption in Amazon S3 to ensure secure data storage. We also recommend that you secure access to the Amazon S3 bucket by creating a restrictive bucket policy.
",
"DeleteActivation": "Deletes an activation. You aren't required to delete an activation. If you delete an activation, you can no longer use it to register additional managed nodes. Deleting an activation doesn't de-register managed nodes. You must manually de-register managed nodes.
",
"DeleteAssociation": "Disassociates the specified Amazon Web Services Systems Manager document (SSM document) from the specified managed node. If you created the association by using the Targets
parameter, then you must delete the association by using the association ID.
When you disassociate a document from a managed node, it doesn't change the configuration of the node. To change the configuration state of a managed node after you disassociate a document, you must create a new document with the desired configuration and associate it with the node.
",
"DeleteDocument": "Deletes the Amazon Web Services Systems Manager document (SSM document) and all managed node associations to the document.
Before you delete the document, we recommend that you use DeleteAssociation to disassociate all managed nodes that are associated with the document.
",
@@ -327,7 +327,7 @@
"ApproveAfterDays": {
"base": null,
"refs": {
- "PatchRule$ApproveAfterDays": "The number of days after the release date of each patch matched by the rule that the patch is marked as approved in the patch baseline. For example, a value of 7
means that patches are approved seven days after they are released.
This parameter is marked as not required, but your request must include a value for either ApproveAfterDays
or ApproveUntilDate
.
Not supported for Debian Server or Ubuntu Server.
"
+ "PatchRule$ApproveAfterDays": "The number of days after the release date of each patch matched by the rule that the patch is marked as approved in the patch baseline. For example, a value of 7
means that patches are approved seven days after they are released.
This parameter is marked as Required: No
, but your request must include a value for either ApproveAfterDays
or ApproveUntilDate
.
Not supported for Debian Server or Ubuntu Server.
Use caution when setting this value for Windows Server patch baselines. Because patch updates that are replaced by later updates are removed, setting too broad a value for this parameter can result in crucial patches not being installed. For more information, see the Windows Server tab in the topic How security patches are selected in the Amazon Web Services Systems Manager User Guide.
"
}
},
"Architecture": {
@@ -718,7 +718,7 @@
"AttachmentsSourceValues": {
"base": null,
"refs": {
- "AttachmentsSource$Values": "The value of a key-value pair that identifies the location of an attachment to a document. The format for Value depends on the type of key you specify.
-
For the key SourceUrl, the value is an S3 bucket location. For example:
\"Values\": [ \"s3://doc-example-bucket/my-folder\" ]
-
For the key S3FileUrl, the value is a file in an S3 bucket. For example:
\"Values\": [ \"s3://doc-example-bucket/my-folder/my-file.py\" ]
-
For the key AttachmentReference, the value is constructed from the name of another SSM document in your account, a version number of that document, and a file attached to that document version that you want to reuse. For example:
\"Values\": [ \"MyOtherDocument/3/my-other-file.py\" ]
However, if the SSM document is shared with you from another account, the full SSM document ARN must be specified instead of the document name only. For example:
\"Values\": [ \"arn:aws:ssm:us-east-2:111122223333:document/OtherAccountDocument/3/their-file.py\" ]
"
+ "AttachmentsSource$Values": "The value of a key-value pair that identifies the location of an attachment to a document. The format for Value depends on the type of key you specify.
-
For the key SourceUrl, the value is an S3 bucket location. For example:
\"Values\": [ \"s3://amzn-s3-demo-bucket/my-prefix\" ]
-
For the key S3FileUrl, the value is a file in an S3 bucket. For example:
\"Values\": [ \"s3://amzn-s3-demo-bucket/my-prefix/my-file.py\" ]
-
For the key AttachmentReference, the value is constructed from the name of another SSM document in your account, a version number of that document, and a file attached to that document version that you want to reuse. For example:
\"Values\": [ \"MyOtherDocument/3/my-other-file.py\" ]
However, if the SSM document is shared with you from another account, the full SSM document ARN must be specified instead of the document name only. For example:
\"Values\": [ \"arn:aws:ssm:us-east-2:111122223333:document/OtherAccountDocument/3/their-file.py\" ]
"
}
},
"AttributeName": {
@@ -907,7 +907,7 @@
"AutomationType": {
"base": null,
"refs": {
- "AutomationExecutionMetadata$AutomationType": "Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running Automation workflows in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.
"
+ "AutomationExecutionMetadata$AutomationType": "Use this filter with DescribeAutomationExecutions. Specify either Local or CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.
"
}
},
"BaselineDescription": {
@@ -992,6 +992,7 @@
"StartChangeRequestExecutionRequest$AutoApprove": "Indicates whether the change request can be approved automatically without the need for manual approvals.
If AutoApprovable
is enabled in a change template, then setting AutoApprove
to true
in StartChangeRequestExecution
creates a change request that bypasses approver review.
Change Calendar restrictions are not bypassed in this scenario. If the state of an associated calendar is CLOSED
, change freeze approvers must still grant permission for this change request to run. If they don't, the change won't be processed until the calendar state is again OPEN
.
",
"StepExecution$IsEnd": "The flag which can be used to end automation no matter whether the step succeeds or fails.
",
"StepExecution$IsCritical": "The flag which can be used to help decide whether the failure of current step leads to the Automation failure.
",
+ "TargetLocation$IncludeChildOrganizationUnits": "Indicates whether to include child organizational units (OUs) that are children of the targeted OUs. The default is false
.
",
"UpdateMaintenanceWindowRequest$Replace": "If True
, then all fields that are required by the CreateMaintenanceWindow operation are also required for this API request. Optional fields that aren't specified are set to null.
",
"UpdateMaintenanceWindowTargetRequest$Replace": "If True
, then all fields that are required by the RegisterTargetWithMaintenanceWindow operation are also required for this API request. Optional fields that aren't specified are set to null.
",
"UpdateMaintenanceWindowTaskRequest$Replace": "If True, then all fields that are required by the RegisterTaskWithMaintenanceWindow operation are also required for this API request. Optional fields that aren't specified are set to null.
",
@@ -1136,7 +1137,7 @@
"CommandFilterValue": {
"base": null,
"refs": {
- "CommandFilter$value": "The filter value. Valid values for each filter key are as follows:
-
InvokedAfter: Specify a timestamp to limit your results. For example, specify 2021-07-07T00:00:00Z
to see a list of command executions occurring July 7, 2021, and later.
-
InvokedBefore: Specify a timestamp to limit your results. For example, specify 2021-07-07T00:00:00Z
to see a list of command executions from before July 7, 2021.
-
Status: Specify a valid command status to see a list of all command executions with that status. The status choices depend on the API you call.
The status values you can specify for ListCommands
are:
The status values you can specify for ListCommandInvocations
are:
-
DocumentName: Specify name of the Amazon Web Services Systems Manager document (SSM document) for which you want to see command execution results. For example, specify AWS-RunPatchBaseline
to see command executions that used this SSM document to perform security patching operations on managed nodes.
-
ExecutionStage: Specify one of the following values (ListCommands
operations only):
"
+ "CommandFilter$value": "The filter value. Valid values for each filter key are as follows:
-
InvokedAfter: Specify a timestamp to limit your results. For example, specify 2024-07-07T00:00:00Z
to see a list of command executions occurring July 7, 2021, and later.
-
InvokedBefore: Specify a timestamp to limit your results. For example, specify 2024-07-07T00:00:00Z
to see a list of command executions from before July 7, 2021.
-
Status: Specify a valid command status to see a list of all command executions with that status. The status choices depend on the API you call.
The status values you can specify for ListCommands
are:
The status values you can specify for ListCommandInvocations
are:
-
DocumentName: Specify name of the Amazon Web Services Systems Manager document (SSM document) for which you want to see command execution results. For example, specify AWS-RunPatchBaseline
to see command executions that used this SSM document to perform security patching operations on managed nodes.
-
ExecutionStage: Specify one of the following values (ListCommands
operations only):
"
}
},
"CommandId": {
@@ -2739,6 +2740,18 @@
"Command$ErrorCount": "The number of targets for which the status is Failed or Execution Timed Out.
"
}
},
+ "ExcludeAccount": {
+ "base": null,
+ "refs": {
+ "ExcludeAccounts$member": null
+ }
+ },
+ "ExcludeAccounts": {
+ "base": null,
+ "refs": {
+ "TargetLocation$ExcludeAccounts": "Amazon Web Services accounts or organizational units to exclude as expanded targets.
"
+ }
+ },
"ExecutionMode": {
"base": null,
"refs": {
@@ -2757,7 +2770,7 @@
"base": null,
"refs": {
"Activation$ExpirationDate": "The date when this activation can no longer be used to register managed nodes.
",
- "CreateActivationRequest$ExpirationDate": "The date by which this activation request should expire, in timestamp format, such as \"2021-07-07T00:00:00\". You can specify a date up to 30 days in advance. If you don't provide an expiration date, the activation code expires in 24 hours.
"
+ "CreateActivationRequest$ExpirationDate": "The date by which this activation request should expire, in timestamp format, such as \"2024-07-07T00:00:00\". You can specify a date up to 30 days in advance. If you don't provide an expiration date, the activation code expires in 24 hours.
"
}
},
"ExternalAlarmState": {
@@ -3104,10 +3117,10 @@
"base": null,
"refs": {
"Activation$IamRole": "The Identity and Access Management (IAM) role to assign to the managed node.
",
- "CreateActivationRequest$IamRole": "The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal ssm.amazonaws.com
. For more information, see Create an IAM service role for a hybrid and multicloud environment in the Amazon Web Services Systems Manager User Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
",
+ "CreateActivationRequest$IamRole": "The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal ssm.amazonaws.com
. For more information, see Create the IAM service role required for Systems Manager in a hybrid and multicloud environments in the Amazon Web Services Systems Manager User Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
",
"InstanceInformation$IamRole": "The role assigned to an Amazon EC2 instance configured with a Systems Manager Quick Setup host management configuration or the role assigned to an on-premises managed node.
This call doesn't return the IAM role for unmanaged Amazon EC2 instances (instances not configured for Systems Manager). To retrieve the role for an unmanaged instance, use the Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.
",
"InstanceProperty$IamRole": "The IAM role used in the hybrid activation to register the node with Systems Manager.
",
- "UpdateManagedInstanceRoleRequest$IamRole": "The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal ssm.amazonaws.com
. For more information, see Create an IAM service role for a hybrid and multicloud environment in the Amazon Web Services Systems Manager User Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
"
+ "UpdateManagedInstanceRoleRequest$IamRole": "The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal ssm.amazonaws.com
. For more information, see Create the IAM service role required for Systems Manager in hybrid and multicloud environments in the Amazon Web Services Systems Manager User Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
"
}
},
"IdempotencyToken": {
@@ -3130,7 +3143,7 @@
"InstallOverrideList": {
"base": null,
"refs": {
- "InstancePatchState$InstallOverrideList": "An https URL or an Amazon Simple Storage Service (Amazon S3) path-style URL to a list of patches to be installed. This patch installation list, which you maintain in an S3 bucket in YAML format and specify in the SSM document AWS-RunPatchBaseline
, overrides the patches specified by the default patch baseline.
For more information about the InstallOverrideList
parameter, see About the AWS-RunPatchBaseline SSM document
in the Amazon Web Services Systems Manager User Guide.
"
+ "InstancePatchState$InstallOverrideList": "An https URL or an Amazon Simple Storage Service (Amazon S3) path-style URL to a list of patches to be installed. This patch installation list, which you maintain in an S3 bucket in YAML format and specify in the SSM document AWS-RunPatchBaseline
, overrides the patches specified by the default patch baseline.
For more information about the InstallOverrideList
parameter, see SSM Command document for patching: AWS-RunPatchBaseline
in the Amazon Web Services Systems Manager User Guide.
"
}
},
"InstanceAggregatedAssociationOverview": {
@@ -3796,8 +3809,8 @@
"InventoryDeletionSummary": {
"base": "Information about the delete operation.
",
"refs": {
- "DeleteInventoryResult$DeletionSummary": "A summary of the delete operation. For more information about this summary, see Understanding the delete inventory summary in the Amazon Web Services Systems Manager User Guide.
",
- "InventoryDeletionStatusItem$DeletionSummary": "Information about the delete operation. For more information about this summary, see Understanding the delete inventory summary in the Amazon Web Services Systems Manager User Guide.
"
+ "DeleteInventoryResult$DeletionSummary": "A summary of the delete operation. For more information about this summary, see Deleting custom inventory in the Amazon Web Services Systems Manager User Guide.
",
+ "InventoryDeletionStatusItem$DeletionSummary": "Information about the delete operation. For more information about this summary, see Understanding the delete inventory summary in the Amazon Web Services Systems Manager User Guide.
"
}
},
"InventoryDeletionSummaryItem": {
@@ -3982,7 +3995,7 @@
"InventoryQueryOperatorType": {
"base": null,
"refs": {
- "InventoryFilter$Type": "The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.
"
+ "InventoryFilter$Type": "The type of filter.
The Exists
filter must be used with aggregators. For more information, see Aggregating inventory data in the Amazon Web Services Systems Manager User Guide.
"
}
},
"InventoryResultEntity": {
@@ -4485,7 +4498,7 @@
"refs": {
"DescribeMaintenanceWindowExecutionTaskInvocationsRequest$Filters": "Optional filters used to scope down the returned task invocations. The supported filter key is STATUS
with the corresponding values PENDING
, IN_PROGRESS
, SUCCESS
, FAILED
, TIMED_OUT
, CANCELLING
, and CANCELLED
.
",
"DescribeMaintenanceWindowExecutionTasksRequest$Filters": "Optional filters used to scope down the returned tasks. The supported filter key is STATUS
with the corresponding values PENDING
, IN_PROGRESS
, SUCCESS
, FAILED
, TIMED_OUT
, CANCELLING
, and CANCELLED
.
",
- "DescribeMaintenanceWindowExecutionsRequest$Filters": "Each entry in the array is a structure containing:
-
Key. A string between 1 and 128 characters. Supported keys include ExecutedBefore
and ExecutedAfter
.
-
Values. An array of strings, each between 1 and 256 characters. Supported values are date/time strings in a valid ISO 8601 date/time format, such as 2021-11-04T05:00:00Z
.
",
+ "DescribeMaintenanceWindowExecutionsRequest$Filters": "Each entry in the array is a structure containing:
-
Key. A string between 1 and 128 characters. Supported keys include ExecutedBefore
and ExecutedAfter
.
-
Values. An array of strings, each between 1 and 256 characters. Supported values are date/time strings in a valid ISO 8601 date/time format, such as 2024-11-04T05:00:00Z
.
",
"DescribeMaintenanceWindowTargetsRequest$Filters": "Optional filters that can be used to narrow down the scope of the returned window targets. The supported filter keys are Type
, WindowTargetId
, and OwnerInformation
.
",
"DescribeMaintenanceWindowTasksRequest$Filters": "Optional filters used to narrow down the scope of the returned tasks. The supported filter keys are WindowTaskId
, TaskArn
, Priority
, and TaskType
.
",
"DescribeMaintenanceWindowsRequest$Filters": "Optional filters used to narrow down the scope of the returned maintenance windows. Supported filter keys are Name
and Enabled
. For example, Name=MyMaintenanceWindow
and Enabled=True
.
"
@@ -4883,8 +4896,9 @@
"RegisterTaskWithMaintenanceWindowRequest$MaxConcurrency": "The maximum number of targets this task can be run for, in parallel.
Although this element is listed as \"Required: No\", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1
. This value doesn't affect the running of your task.
",
"Runbook$MaxConcurrency": "The MaxConcurrency
value specified by the user when the operation started, indicating the maximum number of resources that the runbook operation can run on at the same time.
",
"SendCommandRequest$MaxConcurrency": "(Optional) The maximum number of managed nodes that are allowed to run the command at the same time. You can specify a number such as 10 or a percentage such as 10%. The default value is 50
. For more information about how to use MaxConcurrency
, see Using concurrency controls in the Amazon Web Services Systems Manager User Guide.
",
- "StartAutomationExecutionRequest$MaxConcurrency": "The maximum number of targets allowed to run this task in parallel. You can specify a number, such as 10, or a percentage, such as 10%. The default value is 10
.
",
+ "StartAutomationExecutionRequest$MaxConcurrency": "The maximum number of targets allowed to run this task in parallel. You can specify a number, such as 10, or a percentage, such as 10%. The default value is 10
.
If both this parameter and the TargetLocation:TargetsMaxConcurrency
are supplied, TargetLocation:TargetsMaxConcurrency
takes precedence.
",
"TargetLocation$TargetLocationMaxConcurrency": "The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation concurrently.
",
+ "TargetLocation$TargetsMaxConcurrency": "The maximum number of targets allowed to run this task in parallel. This TargetsMaxConcurrency
takes precedence over the StartAutomationExecution:MaxConcurrency
parameter if both are supplied.
",
"UpdateAssociationRequest$MaxConcurrency": "The maximum number of targets allowed to run the association at the same time. You can specify a number, for example 10, or a percentage of the target set, for example 10%. The default value is 100%, which means all targets run the association at the same time.
If a new managed node starts and attempts to run an association while Systems Manager is running MaxConcurrency
associations, the association is allowed to run. During the next association interval, the new managed node will process its association within the limit specified for MaxConcurrency
.
",
"UpdateMaintenanceWindowTaskRequest$MaxConcurrency": "The new MaxConcurrency
value you want to specify. MaxConcurrency
is the number of targets that are allowed to run this task, in parallel.
Although this element is listed as \"Required: No\", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1
. This value doesn't affect the running of your task.
",
"UpdateMaintenanceWindowTaskResult$MaxConcurrency": "The updated MaxConcurrency
value.
"
@@ -4911,8 +4925,9 @@
"RegisterTaskWithMaintenanceWindowRequest$MaxErrors": "The maximum number of errors allowed before this task stops being scheduled.
Although this element is listed as \"Required: No\", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1
. This value doesn't affect the running of your task.
",
"Runbook$MaxErrors": "The MaxErrors
value specified by the user when the execution started, indicating the maximum number of errors that can occur during the operation before the updates are stopped or rolled back.
",
"SendCommandRequest$MaxErrors": "The maximum number of errors allowed without the command failing. When the command fails one more time beyond the value of MaxErrors
, the systems stops sending the command to additional targets. You can specify a number like 10 or a percentage like 10%. The default value is 0
. For more information about how to use MaxErrors
, see Using error controls in the Amazon Web Services Systems Manager User Guide.
",
- "StartAutomationExecutionRequest$MaxErrors": "The number of errors that are allowed before the system stops running the automation on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops running the automation when the fourth error is received. If you specify 0, then the system stops running the automation on additional targets after the first error result is returned. If you run an automation on 50 resources and set max-errors to 10%, then the system stops running the automation on additional targets when the sixth error is received.
Executions that are already running an automation when max-errors is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set max-concurrency to 1 so the executions proceed one at a time.
",
+ "StartAutomationExecutionRequest$MaxErrors": "The number of errors that are allowed before the system stops running the automation on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops running the automation when the fourth error is received. If you specify 0, then the system stops running the automation on additional targets after the first error result is returned. If you run an automation on 50 resources and set max-errors to 10%, then the system stops running the automation on additional targets when the sixth error is received.
Executions that are already running an automation when max-errors is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set max-concurrency to 1 so the executions proceed one at a time.
If this parameter and the TargetLocation:TargetsMaxErrors
parameter are both supplied, TargetLocation:TargetsMaxErrors
takes precedence.
",
"TargetLocation$TargetLocationMaxErrors": "The maximum number of errors allowed before the system stops queueing additional Automation executions for the currently running Automation.
",
+ "TargetLocation$TargetsMaxErrors": "The maximum number of errors that are allowed before the system stops running the automation on additional targets. This TargetsMaxErrors
parameter takes precedence over the StartAutomationExecution:MaxErrors
parameter if both are supplied.
",
"UpdateAssociationRequest$MaxErrors": "The number of errors that are allowed before the system stops sending requests to run the association on additional targets. You can specify either an absolute number of errors, for example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, the system stops sending requests when the fourth error is received. If you specify 0, then the system stops sending requests after the first error is returned. If you run an association on 50 managed nodes and set MaxError
to 10%, then the system stops sending the request when the sixth error is received.
Executions that are already running an association when MaxErrors
is reached are allowed to complete, but some of these executions may fail as well. If you need to ensure that there won't be more than max-errors failed executions, set MaxConcurrency
to 1 so that executions proceed one at a time.
",
"UpdateMaintenanceWindowTaskRequest$MaxErrors": "The new MaxErrors
value to specify. MaxErrors
is the maximum number of errors that are allowed before the task stops being scheduled.
Although this element is listed as \"Required: No\", a value can be omitted only when you are registering or updating a targetless task You must provide a value in all other cases.
For maintenance window tasks without a target specified, you can't supply a value for this option. Instead, the system inserts a placeholder value of 1
. This value doesn't affect the running of your task.
",
"UpdateMaintenanceWindowTaskResult$MaxErrors": "The updated MaxErrors
value.
"
@@ -5673,9 +5688,9 @@
"OpsItemStatus": {
"base": null,
"refs": {
- "OpsItem$Status": "The OpsItem status. Status can be Open
, In Progress
, or Resolved
. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
",
- "OpsItemSummary$Status": "The OpsItem status. Status can be Open
, In Progress
, or Resolved
.
",
- "UpdateOpsItemRequest$Status": "The OpsItem status. Status can be Open
, In Progress
, or Resolved
. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
"
+ "OpsItem$Status": "The OpsItem status. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
",
+ "OpsItemSummary$Status": "The OpsItem status.
",
+ "UpdateOpsItemRequest$Status": "The OpsItem status. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.
"
}
},
"OpsItemSummaries": {
@@ -5845,7 +5860,7 @@
"refs": {
"DeleteParameterRequest$Name": "The name of the parameter to delete.
You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name itself.
",
"GetParameterHistoryRequest$Name": "The name or Amazon Resource Name (ARN) of the parameter for which you want to review history. For parameters shared with you from another account, you must use the full ARN.
",
- "GetParameterRequest$Name": "The name or Amazon Resource Name (ARN) of the parameter that you want to query. For parameters shared with you from another account, you must use the full ARN.
To query by parameter label, use \"Name\": \"name:label\"
. To query by parameter version, use \"Name\": \"name:version\"
.
For more information about shared parameters, see Working with shared parameters in the Amazon Web Services Systems Manager User Guide.
",
+ "GetParameterRequest$Name": "The name or Amazon Resource Name (ARN) of the parameter that you want to query. For parameters shared with you from another account, you must use the full ARN.
To query by parameter label, use \"Name\": \"name:label\"
. To query by parameter version, use \"Name\": \"name:version\"
.
For more information about shared parameters, see Working with shared parameters in the Amazon Web Services Systems Manager User Guide.
",
"GetParametersByPathRequest$Path": "The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierarchy is the parameter name except the last part of the parameter. For the API call to succeed, the last part of the parameter name can't be in the path. A parameter name hierarchy can have a maximum of 15 levels. Here is an example of a hierarchy: /Finance/Prod/IAD/WinServ2016/license33
",
"LabelParameterVersionRequest$Name": "The parameter name on which you want to attach one or more labels.
You can't enter the Amazon Resource Name (ARN) for a parameter, only the parameter name itself.
",
"Parameter$Name": "The name of the parameter.
",
@@ -6258,7 +6273,7 @@
"PatchComplianceDataState": {
"base": null,
"refs": {
- "PatchComplianceData$State": "The state of the patch on the managed node, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
"
+ "PatchComplianceData$State": "The state of the patch on the managed node, such as INSTALLED or FAILED.
For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.
"
}
},
"PatchComplianceLevel": {
@@ -6402,14 +6417,14 @@
"PatchIdList": {
"base": null,
"refs": {
- "BaselineOverride$ApprovedPatches": "A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
- "BaselineOverride$RejectedPatches": "A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
- "CreatePatchBaselineRequest$ApprovedPatches": "A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
- "CreatePatchBaselineRequest$RejectedPatches": "A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
+ "BaselineOverride$ApprovedPatches": "A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
+ "BaselineOverride$RejectedPatches": "A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
+ "CreatePatchBaselineRequest$ApprovedPatches": "A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
+ "CreatePatchBaselineRequest$RejectedPatches": "A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
"GetPatchBaselineResult$ApprovedPatches": "A list of explicitly approved patches for the baseline.
",
"GetPatchBaselineResult$RejectedPatches": "A list of explicitly rejected patches for the baseline.
",
- "UpdatePatchBaselineRequest$ApprovedPatches": "A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
- "UpdatePatchBaselineRequest$RejectedPatches": "A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see About package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
+ "UpdatePatchBaselineRequest$ApprovedPatches": "A list of explicitly approved patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
+ "UpdatePatchBaselineRequest$RejectedPatches": "A list of explicitly rejected patches for the baseline.
For information about accepted formats for lists of approved patches and rejected patches, see Package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.
",
"UpdatePatchBaselineResult$ApprovedPatches": "A list of explicitly approved patches for the baseline.
",
"UpdatePatchBaselineResult$RejectedPatches": "A list of explicitly rejected patches for the baseline.
"
}
@@ -6509,7 +6524,7 @@
"base": null,
"refs": {
"DescribeAvailablePatchesRequest$Filters": "Each element in the array is a structure containing a key-value pair.
Windows Server
Supported keys for Windows Server managed node patches include the following:
-
PATCH_SET
Sample values: OS
| APPLICATION
-
PRODUCT
Sample values: WindowsServer2012
| Office 2010
| MicrosoftDefenderAntivirus
-
PRODUCT_FAMILY
Sample values: Windows
| Office
-
MSRC_SEVERITY
Sample values: ServicePacks
| Important
| Moderate
-
CLASSIFICATION
Sample values: ServicePacks
| SecurityUpdates
| DefinitionUpdates
-
PATCH_ID
Sample values: KB123456
| KB4516046
Linux
When specifying filters for Linux patches, you must specify a key-pair for PRODUCT
. For example, using the Command Line Interface (CLI), the following command fails:
aws ssm describe-available-patches --filters Key=CVE_ID,Values=CVE-2018-3615
However, the following command succeeds:
aws ssm describe-available-patches --filters Key=PRODUCT,Values=AmazonLinux2018.03 Key=CVE_ID,Values=CVE-2018-3615
Supported keys for Linux managed node patches include the following:
-
PRODUCT
Sample values: AmazonLinux2018.03
| AmazonLinux2.0
-
NAME
Sample values: kernel-headers
| samba-python
| php
-
SEVERITY
Sample values: Critical
| Important
| Medium
| Low
-
EPOCH
Sample values: 0
| 1
-
VERSION
Sample values: 78.6.1
| 4.10.16
-
RELEASE
Sample values: 9.56.amzn1
| 1.amzn2
-
ARCH
Sample values: i686
| x86_64
-
REPOSITORY
Sample values: Core
| Updates
-
ADVISORY_ID
Sample values: ALAS-2018-1058
| ALAS2-2021-1594
-
CVE_ID
Sample values: CVE-2018-3615
| CVE-2020-1472
-
BUGZILLA_ID
Sample values: 1463241
",
- "DescribeInstancePatchesRequest$Filters": "Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
-
Classification
Sample values: Security
| SecurityUpdates
-
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
-
Severity
Sample values: Important
| Medium
| Low
-
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
For lists of all State
values, see Understanding patch compliance state values in the Amazon Web Services Systems Manager User Guide.
",
+ "DescribeInstancePatchesRequest$Filters": "Each element in the array is a structure containing a key-value pair.
Supported keys for DescribeInstancePatches
include the following:
-
Classification
Sample values: Security
| SecurityUpdates
-
KBId
Sample values: KB4480056
| java-1.7.0-openjdk.x86_64
-
Severity
Sample values: Important
| Medium
| Low
-
State
Sample values: Installed
| InstalledOther
| InstalledPendingReboot
For lists of all State
values, see Patch compliance state values in the Amazon Web Services Systems Manager User Guide.
",
"DescribeMaintenanceWindowScheduleRequest$Filters": "Filters used to limit the range of results. For example, you can limit maintenance window executions to only those scheduled before or after a certain date and time.
",
"DescribePatchBaselinesRequest$Filters": "Each element in the array is a structure containing a key-value pair.
Supported keys for DescribePatchBaselines
include the following:
-
NAME_PREFIX
Sample values: AWS-
| My-
-
OWNER
Sample values: AWS
| Self
-
OPERATING_SYSTEM
Sample values: AMAZON_LINUX
| SUSE
| WINDOWS
",
"DescribePatchGroupsRequest$Filters": "Each element in the array is a structure containing a key-value pair.
Supported keys for DescribePatchGroups
include the following:
"
@@ -6665,7 +6680,7 @@
"PatchStringDateTime": {
"base": null,
"refs": {
- "PatchRule$ApproveUntilDate": "The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically.
Enter dates in the format YYYY-MM-DD
. For example, 2021-12-31
.
This parameter is marked as not required, but your request must include a value for either ApproveUntilDate
or ApproveAfterDays
.
Not supported for Debian Server or Ubuntu Server.
"
+ "PatchRule$ApproveUntilDate": "The cutoff date for auto approval of released patches. Any patches released on or before this date are installed automatically.
Enter dates in the format YYYY-MM-DD
. For example, 2024-12-31
.
This parameter is marked as Required: No
, but your request must include a value for either ApproveUntilDate
or ApproveAfterDays
.
Not supported for Debian Server or Ubuntu Server.
Use caution when setting this value for Windows Server patch baselines. Because patch updates that are replaced by later updates are removed, setting too broad a value for this parameter can result in crucial patches not being installed. For more information, see the Windows Server tab in the topic How security patches are selected in the Amazon Web Services Systems Manager User Guide.
"
}
},
"PatchTitle": {
@@ -7347,7 +7362,7 @@
"base": null,
"refs": {
"Command$OutputS3BucketName": "The S3 bucket where the responses to the command executions should be stored. This was requested when issuing the command.
",
- "CommandPlugin$OutputS3BucketName": "The S3 bucket where the responses to the command executions should be stored. This was requested when issuing the command. For example, in the following response:
doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript
doc-example-bucket
is the name of the S3 bucket;
ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix
is the name of the S3 prefix;
i-02573cafcfEXAMPLE
is the managed node ID;
awsrunShellScript
is the name of the plugin.
",
+ "CommandPlugin$OutputS3BucketName": "The S3 bucket where the responses to the command executions should be stored. This was requested when issuing the command. For example, in the following response:
amzn-s3-demo-bucket/my-prefix/i-02573cafcfEXAMPLE/awsrunShellScript
amzn-s3-demo-bucket
is the name of the S3 bucket;
my-prefix
is the name of the S3 prefix;
i-02573cafcfEXAMPLE
is the managed node ID;
awsrunShellScript
is the name of the plugin.
",
"LoggingInfo$S3BucketName": "The name of an S3 bucket where execution logs are stored.
",
"MaintenanceWindowRunCommandParameters$OutputS3BucketName": "The name of the Amazon Simple Storage Service (Amazon S3) bucket.
",
"S3OutputLocation$OutputS3BucketName": "The name of the S3 bucket.
",
@@ -7358,7 +7373,7 @@
"base": null,
"refs": {
"Command$OutputS3KeyPrefix": "The S3 directory path inside the bucket where the responses to the command executions should be stored. This was requested when issuing the command.
",
- "CommandPlugin$OutputS3KeyPrefix": "The S3 directory path inside the bucket where the responses to the command executions should be stored. This was requested when issuing the command. For example, in the following response:
doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript
doc-example-bucket
is the name of the S3 bucket;
ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix
is the name of the S3 prefix;
i-02573cafcfEXAMPLE
is the managed node ID;
awsrunShellScript
is the name of the plugin.
",
+ "CommandPlugin$OutputS3KeyPrefix": "The S3 directory path inside the bucket where the responses to the command executions should be stored. This was requested when issuing the command. For example, in the following response:
amzn-s3-demo-bucket/my-prefix/i-02573cafcfEXAMPLE/awsrunShellScript
amzn-s3-demo-bucket
is the name of the S3 bucket;
my-prefix
is the name of the S3 prefix;
i-02573cafcfEXAMPLE
is the managed node ID;
awsrunShellScript
is the name of the plugin.
",
"LoggingInfo$S3KeyPrefix": "(Optional) The S3 bucket subfolder.
",
"MaintenanceWindowRunCommandParameters$OutputS3KeyPrefix": "The S3 bucket subfolder.
",
"S3OutputLocation$OutputS3KeyPrefix": "The S3 bucket subfolder.
",
@@ -7447,13 +7462,13 @@
"Command$ServiceRole": "The Identity and Access Management (IAM) service role that Run Command, a capability of Amazon Web Services Systems Manager, uses to act on your behalf when sending notifications about command status changes.
",
"CommandInvocation$ServiceRole": "The Identity and Access Management (IAM) service role that Run Command, a capability of Amazon Web Services Systems Manager, uses to act on your behalf when sending notifications about command status changes on a per managed node basis.
",
"GetMaintenanceWindowExecutionTaskResult$ServiceRole": "The role that was assumed when running the task.
",
- "GetMaintenanceWindowTaskResult$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up maintenance windows in the in the Amazon Web Services Systems Manager User Guide.
",
- "MaintenanceWindowRunCommandParameters$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up maintenance windows in the in the Amazon Web Services Systems Manager User Guide.
",
- "MaintenanceWindowTask$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up maintenance windows in the in the Amazon Web Services Systems Manager User Guide.
",
- "RegisterTaskWithMaintenanceWindowRequest$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up maintenance windows in the in the Amazon Web Services Systems Manager User Guide.
",
+ "GetMaintenanceWindowTaskResult$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the Amazon Web Services Systems Manager User Guide.
",
+ "MaintenanceWindowRunCommandParameters$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the Amazon Web Services Systems Manager User Guide.
",
+ "MaintenanceWindowTask$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the Amazon Web Services Systems Manager User Guide.
",
+ "RegisterTaskWithMaintenanceWindowRequest$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the Amazon Web Services Systems Manager User Guide.
",
"SendCommandRequest$ServiceRoleArn": "The ARN of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service (Amazon SNS) notifications for Run Command commands.
This role must provide the sns:Publish
permission for your notification topic. For information about creating and using this service role, see Monitoring Systems Manager status changes using Amazon SNS notifications in the Amazon Web Services Systems Manager User Guide.
",
- "UpdateMaintenanceWindowTaskRequest$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up maintenance windows in the in the Amazon Web Services Systems Manager User Guide.
",
- "UpdateMaintenanceWindowTaskResult$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up maintenance windows in the in the Amazon Web Services Systems Manager User Guide.
"
+ "UpdateMaintenanceWindowTaskRequest$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the Amazon Web Services Systems Manager User Guide.
",
+ "UpdateMaintenanceWindowTaskResult$ServiceRoleArn": "The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a maintenance window task. If you do not specify a service role ARN, Systems Manager uses a service-linked role in your account. If no appropriate service-linked role for Systems Manager exists in your account, it is created when you run RegisterTaskWithMaintenanceWindow
.
However, for an improved security posture, we strongly recommend creating a custom policy and custom service role for running your maintenance window tasks. The policy can be crafted to provide only the permissions needed for your particular maintenance window tasks. For more information, see Setting up Maintenance Windows in the in the Amazon Web Services Systems Manager User Guide.
"
}
},
"ServiceSetting": {
@@ -7517,7 +7532,7 @@
"SessionFilterValue": {
"base": null,
"refs": {
- "SessionFilter$value": "The filter value. Valid values for each filter key are as follows:
-
InvokedAfter: Specify a timestamp to limit your results. For example, specify 2018-08-29T00:00:00Z to see sessions that started August 29, 2018, and later.
-
InvokedBefore: Specify a timestamp to limit your results. For example, specify 2018-08-29T00:00:00Z to see sessions that started before August 29, 2018.
-
Target: Specify a managed node to which session connections have been made.
-
Owner: Specify an Amazon Web Services user to see a list of sessions started by that user.
-
Status: Specify a valid session status to see a list of all sessions with that status. Status values you can specify include:
-
Connected
-
Connecting
-
Disconnected
-
Terminated
-
Terminating
-
Failed
-
SessionId: Specify a session ID to return details about the session.
"
+ "SessionFilter$value": "The filter value. Valid values for each filter key are as follows:
-
InvokedAfter: Specify a timestamp to limit your results. For example, specify 2024-08-29T00:00:00Z to see sessions that started August 29, 2024, and later.
-
InvokedBefore: Specify a timestamp to limit your results. For example, specify 2024-08-29T00:00:00Z to see sessions that started before August 29, 2024.
-
Target: Specify a managed node to which session connections have been made.
-
Owner: Specify an Amazon Web Services user to see a list of sessions started by that user.
-
Status: Specify a valid session status to see a list of all sessions with that status. Status values you can specify include:
-
Connected
-
Connecting
-
Disconnected
-
Terminated
-
Terminating
-
Failed
-
SessionId: Specify a session ID to return details about the session.
"
}
},
"SessionId": {
@@ -7880,7 +7895,7 @@
"IncompatiblePolicyException$message": null,
"InstanceInformation$PlatformName": "The name of the operating system platform running on your managed node.
",
"InstanceInformation$PlatformVersion": "The version of the OS platform running on your managed node.
",
- "InstanceInformation$Name": "The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated as a Systems Manager managed node. The name is specified as the DefaultInstanceName
property using the CreateActivation command. It is applied to the managed node by specifying the Activation Code and Activation ID when you install SSM Agent on the node, as explained in Install SSM Agent for a hybrid and multicloud environment (Linux) and Install SSM Agent for a hybrid and multicloud environment (Windows). To retrieve the Name
tag of an EC2 instance, use the Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.
",
+ "InstanceInformation$Name": "The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is activated as a Systems Manager managed node. The name is specified as the DefaultInstanceName
property using the CreateActivation command. It is applied to the managed node by specifying the Activation Code and Activation ID when you install SSM Agent on the node, as explained in How to install SSM Agent on hybrid Linux nodes and How to install SSM Agent on hybrid Windows Server nodes. To retrieve the Name
tag of an EC2 instance, use the Amazon EC2 DescribeInstances
operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.
",
"InstanceProperty$ResourceType": "The type of managed node.
",
"InternalServerError$Message": null,
"InvalidActivation$Message": null,
@@ -8123,10 +8138,18 @@
"CreateAssociationBatchRequestEntry$TargetLocations": "Use this action to create an association in multiple Regions and multiple accounts.
",
"CreateAssociationRequest$TargetLocations": "A location is a combination of Amazon Web Services Regions and Amazon Web Services accounts where you want to run the association. Use this action to create an association in multiple Regions and multiple accounts.
",
"Runbook$TargetLocations": "Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook operation.
",
- "StartAutomationExecutionRequest$TargetLocations": "A location is a combination of Amazon Web Services Regions and/or Amazon Web Services accounts where you want to run the automation. Use this operation to start an automation in multiple Amazon Web Services Regions and multiple Amazon Web Services accounts. For more information, see Running Automation workflows in multiple Amazon Web Services Regions and Amazon Web Services accounts in the Amazon Web Services Systems Manager User Guide.
",
+ "StartAutomationExecutionRequest$TargetLocations": "A location is a combination of Amazon Web Services Regions and/or Amazon Web Services accounts where you want to run the automation. Use this operation to start an automation in multiple Amazon Web Services Regions and multiple Amazon Web Services accounts. For more information, see Running automations in multiple Amazon Web Services Regions and accounts in the Amazon Web Services Systems Manager User Guide.
",
"UpdateAssociationRequest$TargetLocations": "A location is a combination of Amazon Web Services Regions and Amazon Web Services accounts where you want to run the association. Use this action to update an association in multiple Regions and multiple accounts.
"
}
},
+ "TargetLocationsURL": {
+ "base": null,
+ "refs": {
+ "AutomationExecution$TargetLocationsURL": "A publicly accessible URL for a file that contains the TargetLocations
body. Currently, only files in presigned Amazon S3 buckets are supported
",
+ "AutomationExecutionMetadata$TargetLocationsURL": "A publicly accessible URL for a file that contains the TargetLocations
body. Currently, only files in presigned Amazon S3 buckets are supported
",
+ "StartAutomationExecutionRequest$TargetLocationsURL": "Specify a publicly accessible URL for a file that contains the TargetLocations
body. Currently, only files in presigned Amazon S3 buckets are supported.
"
+ }
+ },
"TargetMap": {
"base": null,
"refs": {
@@ -8167,7 +8190,7 @@
}
},
"TargetNotConnected": {
- "base": "The specified target managed node for the session isn't fully configured for use with Session Manager. For more information, see Getting started with Session Manager in the Amazon Web Services Systems Manager User Guide. This error is also returned if you attempt to start a session on a managed node that is located in a different account or Region
",
+ "base": "The specified target managed node for the session isn't fully configured for use with Session Manager. For more information, see Setting up Session Manager in the Amazon Web Services Systems Manager User Guide. This error is also returned if you attempt to start a session on a managed node that is located in a different account or Region
",
"refs": {
}
},
@@ -8208,7 +8231,7 @@
"AutomationExecutionMetadata$Targets": "The targets defined by the user when starting the automation.
",
"Command$Targets": "An array of search criteria that targets managed nodes using a Key,Value combination that you specify. Targets is required if you don't provide one or more managed node IDs in the call.
",
"CreateAssociationBatchRequestEntry$Targets": "The managed nodes targeted by the request.
",
- "CreateAssociationRequest$Targets": "The targets for the association. You can target managed nodes by using tags, Amazon Web Services resource groups, all managed nodes in an Amazon Web Services account, or individual managed node IDs. You can target all managed nodes in an Amazon Web Services account by specifying the InstanceIds
key with a value of *
. For more information about choosing targets for an association, see About targets and rate controls in State Manager associations in the Amazon Web Services Systems Manager User Guide.
",
+ "CreateAssociationRequest$Targets": "The targets for the association. You can target managed nodes by using tags, Amazon Web Services resource groups, all managed nodes in an Amazon Web Services account, or individual managed node IDs. You can target all managed nodes in an Amazon Web Services account by specifying the InstanceIds
key with a value of *
. For more information about choosing targets for an association, see Understanding targets and rate controls in State Manager associations in the Amazon Web Services Systems Manager User Guide.
",
"DescribeMaintenanceWindowScheduleRequest$Targets": "The managed node ID or key-value pair to retrieve information about.
",
"DescribeMaintenanceWindowsForTargetRequest$Targets": "The managed node ID or key-value pair to retrieve information about.
",
"GetMaintenanceWindowTaskResult$Targets": "The targets where the task should run.
",
@@ -8218,8 +8241,9 @@
"RegisterTaskWithMaintenanceWindowRequest$Targets": "The targets (either managed nodes or maintenance window targets).
One or more targets must be specified for maintenance window Run Command-type tasks. Depending on the task, targets are optional for other maintenance window task types (Automation, Lambda, and Step Functions). For more information about running tasks that don't specify targets, see Registering maintenance window tasks without targets in the Amazon Web Services Systems Manager User Guide.
Specify managed nodes using the following format:
Key=InstanceIds,Values=<instance-id-1>,<instance-id-2>
Specify maintenance window targets using the following format:
Key=WindowTargetIds,Values=<window-target-id-1>,<window-target-id-2>
",
"Runbook$Targets": "A key-value mapping to target resources that the runbook operation performs tasks on. Required if you specify TargetParameterName
.
",
"SendCommandRequest$Targets": "An array of search criteria that targets managed nodes using a Key,Value
combination that you specify. Specifying targets is most useful when you want to send a command to a large number of managed nodes at once. Using Targets
, which accepts tag key-value pairs to identify managed nodes, you can send a command to tens, hundreds, or thousands of nodes at once.
To send a command to a smaller number of managed nodes, you can use the InstanceIds
option instead.
For more information about how to use targets, see Run commands at scale in the Amazon Web Services Systems Manager User Guide.
",
- "StartAutomationExecutionRequest$Targets": "A key-value mapping to target resources. Required if you specify TargetParameterName.
",
+ "StartAutomationExecutionRequest$Targets": "A key-value mapping to target resources. Required if you specify TargetParameterName.
If both this parameter and the TargetLocation:Targets
parameter are supplied, TargetLocation:Targets
takes precedence.
",
"StepExecution$Targets": "The targets for the step execution.
",
+ "TargetLocation$Targets": "A list of key-value mappings to target resources. If you specify values for this data type, you must also specify a value for TargetParameterName
.
This Targets
parameter takes precedence over the StartAutomationExecution:Targets
parameter if both are supplied.
",
"UpdateAssociationRequest$Targets": "The targets of the association.
",
"UpdateMaintenanceWindowTargetRequest$Targets": "The targets to add or replace.
",
"UpdateMaintenanceWindowTargetResult$Targets": "The updated targets.
",
diff --git a/apis/storagegateway/2013-06-30/api-2.json b/apis/storagegateway/2013-06-30/api-2.json
index 8b38d1f086a..b6244674c56 100644
--- a/apis/storagegateway/2013-06-30/api-2.json
+++ b/apis/storagegateway/2013-06-30/api-2.json
@@ -1600,7 +1600,12 @@
"ClientToken":{"shape":"ClientToken"},
"NFSFileShareDefaults":{"shape":"NFSFileShareDefaults"},
"GatewayARN":{"shape":"GatewayARN"},
- "KMSEncrypted":{"shape":"Boolean"},
+ "EncryptionType":{"shape":"EncryptionType"},
+ "KMSEncrypted":{
+ "shape":"Boolean",
+ "deprecated":true,
+ "deprecatedMessage":"KMSEncrypted is deprecated, use EncryptionType instead."
+ },
"KMSKey":{"shape":"KMSKey"},
"Role":{"shape":"Role"},
"LocationARN":{"shape":"LocationARN"},
@@ -1637,7 +1642,12 @@
"members":{
"ClientToken":{"shape":"ClientToken"},
"GatewayARN":{"shape":"GatewayARN"},
- "KMSEncrypted":{"shape":"Boolean"},
+ "EncryptionType":{"shape":"EncryptionType"},
+ "KMSEncrypted":{
+ "shape":"Boolean",
+ "deprecated":true,
+ "deprecatedMessage":"KMSEncrypted is deprecated, use EncryptionType instead."
+ },
"KMSKey":{"shape":"KMSKey"},
"Role":{"shape":"Role"},
"LocationARN":{"shape":"LocationARN"},
@@ -2437,6 +2447,14 @@
"DoubleObject":{"type":"double"},
"Ec2InstanceId":{"type":"string"},
"Ec2InstanceRegion":{"type":"string"},
+ "EncryptionType":{
+ "type":"string",
+ "enum":[
+ "SseS3",
+ "SseKms",
+ "DsseKms"
+ ]
+ },
"EndpointNetworkConfiguration":{
"type":"structure",
"members":{
@@ -3040,7 +3058,12 @@
"FileShareId":{"shape":"FileShareId"},
"FileShareStatus":{"shape":"FileShareStatus"},
"GatewayARN":{"shape":"GatewayARN"},
- "KMSEncrypted":{"shape":"boolean"},
+ "EncryptionType":{"shape":"EncryptionType"},
+ "KMSEncrypted":{
+ "shape":"boolean",
+ "deprecated":true,
+ "deprecatedMessage":"KMSEncrypted is deprecated, use EncryptionType instead."
+ },
"KMSKey":{"shape":"KMSKey"},
"Path":{"shape":"Path"},
"Role":{"shape":"Role"},
@@ -3309,7 +3332,12 @@
"FileShareId":{"shape":"FileShareId"},
"FileShareStatus":{"shape":"FileShareStatus"},
"GatewayARN":{"shape":"GatewayARN"},
- "KMSEncrypted":{"shape":"boolean"},
+ "EncryptionType":{"shape":"EncryptionType"},
+ "KMSEncrypted":{
+ "shape":"boolean",
+ "deprecated":true,
+ "deprecatedMessage":"KMSEncrypted is deprecated, use EncryptionType instead."
+ },
"KMSKey":{"shape":"KMSKey"},
"Path":{"shape":"Path"},
"Role":{"shape":"Role"},
@@ -3809,7 +3837,12 @@
"required":["FileShareARN"],
"members":{
"FileShareARN":{"shape":"FileShareARN"},
- "KMSEncrypted":{"shape":"Boolean"},
+ "EncryptionType":{"shape":"EncryptionType"},
+ "KMSEncrypted":{
+ "shape":"Boolean",
+ "deprecated":true,
+ "deprecatedMessage":"KMSEncrypted is deprecated, use EncryptionType instead."
+ },
"KMSKey":{"shape":"KMSKey"},
"NFSFileShareDefaults":{"shape":"NFSFileShareDefaults"},
"DefaultStorageClass":{"shape":"StorageClass"},
@@ -3836,7 +3869,12 @@
"required":["FileShareARN"],
"members":{
"FileShareARN":{"shape":"FileShareARN"},
- "KMSEncrypted":{"shape":"Boolean"},
+ "EncryptionType":{"shape":"EncryptionType"},
+ "KMSEncrypted":{
+ "shape":"Boolean",
+ "deprecated":true,
+ "deprecatedMessage":"KMSEncrypted is deprecated, use EncryptionType instead."
+ },
"KMSKey":{"shape":"KMSKey"},
"DefaultStorageClass":{"shape":"StorageClass"},
"ObjectACL":{"shape":"ObjectACL"},
@@ -3991,7 +4029,8 @@
"VolumeARN":{
"type":"string",
"max":500,
- "min":50
+ "min":50,
+ "pattern":"arn:(aws(|-cn|-us-gov|-iso[A-Za-z0-9_-]*)):storagegateway:[a-z\\-0-9]+:[0-9]+:gateway\\/(.+)\\/volume\\/vol-(\\S+)"
},
"VolumeARNs":{
"type":"list",
diff --git a/apis/storagegateway/2013-06-30/docs-2.json b/apis/storagegateway/2013-06-30/docs-2.json
index 6f37621aa3a..9dc0dac141c 100644
--- a/apis/storagegateway/2013-06-30/docs-2.json
+++ b/apis/storagegateway/2013-06-30/docs-2.json
@@ -236,7 +236,7 @@
"AutomaticUpdatePolicy": {
"base": null,
"refs": {
- "SoftwareUpdatePreferences$AutomaticUpdatePolicy": "Indicates the automatic update policy for a gateway.
ALL_VERSIONS
- Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY
- Disables regular gateway maintenance updates.
"
+ "SoftwareUpdatePreferences$AutomaticUpdatePolicy": "Indicates the automatic update policy for a gateway.
ALL_VERSIONS
- Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY
- Disables regular gateway maintenance updates. The gateway will still receive emergency version updates on rare occasions if necessary to remedy highly critical security or durability issues. You will be notified before an emergency version update is applied. These updates are applied during your gateway's scheduled maintenance window.
"
}
},
"AvailabilityMonitorTestStatus": {
@@ -284,15 +284,15 @@
"base": null,
"refs": {
"CreateCachediSCSIVolumeInput$KMSEncrypted": "Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
",
- "CreateNFSFileShareInput$KMSEncrypted": "Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
",
+ "CreateNFSFileShareInput$KMSEncrypted": "Optional. Set to true
to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false
to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType
parameter instead.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
Valid Values: true
| false
",
"CreateNFSFileShareInput$ReadOnly": "A value that sets the write status of a file share. Set this value to true
to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
",
"CreateNFSFileShareInput$GuessMIMETypeEnabled": "A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true
to enable MIME type guessing, otherwise set to false
. The default value is true
.
Valid Values: true
| false
",
"CreateNFSFileShareInput$RequesterPays": "A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
",
- "CreateSMBFileShareInput$KMSEncrypted": "Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
",
+ "CreateSMBFileShareInput$KMSEncrypted": "Optional. Set to true
to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false
to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType
parameter instead.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
Valid Values: true
| false
",
"CreateSMBFileShareInput$ReadOnly": "A value that sets the write status of a file share. Set this value to true
to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
",
"CreateSMBFileShareInput$GuessMIMETypeEnabled": "A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true
to enable MIME type guessing, otherwise set to false
. The default value is true
.
Valid Values: true
| false
",
"CreateSMBFileShareInput$RequesterPays": "A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
",
- "CreateSMBFileShareInput$SMBACLEnabled": "Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the Storage Gateway User Guide.
Valid Values: true
| false
",
+ "CreateSMBFileShareInput$SMBACLEnabled": "Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Windows ACLs to limit SMB file share access in the Amazon S3 File Gateway User Guide.
Valid Values: true
| false
",
"CreateSMBFileShareInput$AccessBasedEnumeration": "The files and folders on this share will only be visible to users with read access.
",
"CreateSMBFileShareInput$OplocksEnabled": "Specifies whether opportunistic locking is enabled for the SMB file share.
Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.
Valid Values: true
| false
",
"CreateStorediSCSIVolumeInput$KMSEncrypted": "Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
",
@@ -308,18 +308,18 @@
"SMBFileShareInfo$ReadOnly": "A value that sets the write status of a file share. Set this value to true
to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
",
"SMBFileShareInfo$GuessMIMETypeEnabled": "A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true
to enable MIME type guessing, otherwise set to false
. The default value is true
.
Valid Values: true
| false
",
"SMBFileShareInfo$RequesterPays": "A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
",
- "SMBFileShareInfo$SMBACLEnabled": "If this value is set to true
, it indicates that access control list (ACL) is enabled on the SMB file share. If it is set to false
, it indicates that file and directory permissions are mapped to the POSIX permission.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the Storage Gateway User Guide.
",
+ "SMBFileShareInfo$SMBACLEnabled": "If this value is set to true
, it indicates that access control list (ACL) is enabled on the SMB file share. If it is set to false
, it indicates that file and directory permissions are mapped to the POSIX permission.
For more information, see Using Windows ACLs to limit SMB file share access in the Amazon S3 File Gateway User Guide.
",
"SMBFileShareInfo$AccessBasedEnumeration": "Indicates whether AccessBasedEnumeration
is enabled.
",
"SMBFileShareInfo$OplocksEnabled": "Specifies whether opportunistic locking is enabled for the SMB file share.
Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.
Valid Values: true
| false
",
- "UpdateNFSFileShareInput$KMSEncrypted": "Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
",
+ "UpdateNFSFileShareInput$KMSEncrypted": "Optional. Set to true
to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false
to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType
parameter instead.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
Valid Values: true
| false
",
"UpdateNFSFileShareInput$ReadOnly": "A value that sets the write status of a file share. Set this value to true
to set the write status to read-only, otherwise set to false
.
Valid Values: true
| false
",
"UpdateNFSFileShareInput$GuessMIMETypeEnabled": "A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true
to enable MIME type guessing, otherwise set to false
. The default value is true
.
Valid Values: true
| false
",
"UpdateNFSFileShareInput$RequesterPays": "A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
",
- "UpdateSMBFileShareInput$KMSEncrypted": "Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
",
+ "UpdateSMBFileShareInput$KMSEncrypted": "Optional. Set to true
to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false
to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType
parameter instead.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
Valid Values: true
| false
",
"UpdateSMBFileShareInput$ReadOnly": "A value that sets the write status of a file share. Set this value to true
to set write status to read-only, otherwise set to false
.
Valid Values: true
| false
",
"UpdateSMBFileShareInput$GuessMIMETypeEnabled": "A value that enables guessing of the MIME type for uploaded objects based on file extensions. Set this value to true
to enable MIME type guessing, otherwise set to false
. The default value is true
.
Valid Values: true
| false
",
"UpdateSMBFileShareInput$RequesterPays": "A value that sets who pays the cost of the request and the cost associated with data download from the S3 bucket. If this value is set to true
, the requester pays the costs; otherwise, the S3 bucket owner pays. However, the S3 bucket owner always pays the cost of storing data.
RequesterPays
is a configuration for the S3 bucket that backs the file share, so make sure that the configuration on the file share is the same as the S3 bucket configuration.
Valid Values: true
| false
",
- "UpdateSMBFileShareInput$SMBACLEnabled": "Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Microsoft Windows ACLs to control access to an SMB file share in the Storage Gateway User Guide.
Valid Values: true
| false
",
+ "UpdateSMBFileShareInput$SMBACLEnabled": "Set this value to true
to enable access control list (ACL) on the SMB file share. Set it to false
to map file and directory permissions to the POSIX permissions.
For more information, see Using Windows ACLs to limit SMB file share access in the Amazon S3 File Gateway User Guide.
Valid Values: true
| false
",
"UpdateSMBFileShareInput$AccessBasedEnumeration": "The files and folders on this share will only be visible to users with read access.
",
"UpdateSMBFileShareInput$OplocksEnabled": "Specifies whether opportunistic locking is enabled for the SMB file share.
Enabling opportunistic locking on case-sensitive shares is not recommended for workloads that involve access to files with the same name in different case.
Valid Values: true
| false
",
"UpdateSMBFileShareVisibilityInput$FileSharesVisible": "The shares on this gateway appear when listing shares.
"
@@ -1002,6 +1002,17 @@
"GatewayInfo$Ec2InstanceRegion": "The Amazon Web Services Region where the Amazon EC2 instance is located.
"
}
},
+ "EncryptionType": {
+ "base": null,
+ "refs": {
+ "CreateNFSFileShareInput$EncryptionType": "A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
",
+ "CreateSMBFileShareInput$EncryptionType": "A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
",
+ "NFSFileShareInfo$EncryptionType": "A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
",
+ "SMBFileShareInfo$EncryptionType": "A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
",
+ "UpdateNFSFileShareInput$EncryptionType": "A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
",
+ "UpdateSMBFileShareInput$EncryptionType": "A value that specifies the type of server-side encryption that the file share will use for the data that it stores in Amazon S3.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
"
+ }
+ },
"EndpointNetworkConfiguration": {
"base": "Specifies network configuration information for the gateway associated with the Amazon FSx file system.
",
"refs": {
@@ -1471,12 +1482,12 @@
}
},
"KMSKey": {
- "base": "The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted
is true
. Optional.
",
+ "base": "Optional. The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value must be set if KMSEncrypted
is true
, or if EncryptionType
is SseKms
or DsseKms
.
",
"refs": {
"CachediSCSIVolume$KMSKey": null,
"CreateCachediSCSIVolumeInput$KMSKey": "The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted
is true
. Optional.
",
- "CreateNFSFileShareInput$KMSKey": "The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted
is true
. Optional.
",
- "CreateSMBFileShareInput$KMSKey": "The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted
is true
. Optional.
",
+ "CreateNFSFileShareInput$KMSKey": "Optional. The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value must be set if KMSEncrypted
is true
, or if EncryptionType
is SseKms
or DsseKms
.
",
+ "CreateSMBFileShareInput$KMSKey": "Optional. The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value must be set if KMSEncrypted
is true
, or if EncryptionType
is SseKms
or DsseKms
.
",
"CreateStorediSCSIVolumeInput$KMSKey": "The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted
is true
. Optional.
",
"CreateTapeWithBarcodeInput$KMSKey": "The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted
is true
. Optional.
",
"CreateTapesInput$KMSKey": "The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted
is true
. Optional.
",
@@ -1485,8 +1496,8 @@
"StorediSCSIVolume$KMSKey": null,
"Tape$KMSKey": null,
"TapeArchive$KMSKey": null,
- "UpdateNFSFileShareInput$KMSKey": "The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted
is true
. Optional.
",
- "UpdateSMBFileShareInput$KMSKey": "The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value can only be set when KMSEncrypted
is true
. Optional.
"
+ "UpdateNFSFileShareInput$KMSKey": "Optional. The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value must be set if KMSEncrypted
is true
, or if EncryptionType
is SseKms
or DsseKms
.
",
+ "UpdateSMBFileShareInput$KMSKey": "Optional. The Amazon Resource Name (ARN) of a symmetric customer master key (CMK) used for Amazon S3 server-side encryption. Storage Gateway does not support asymmetric CMKs. This value must be set if KMSEncrypted
is true
, or if EncryptionType
is SseKms
or DsseKms
.
"
}
},
"LastSoftwareUpdate": {
@@ -1722,12 +1733,12 @@
"NotificationPolicy": {
"base": null,
"refs": {
- "CreateNFSFileShareInput$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
",
- "CreateSMBFileShareInput$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
",
- "NFSFileShareInfo$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
",
- "SMBFileShareInfo$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
",
- "UpdateNFSFileShareInput$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
",
- "UpdateSMBFileShareInput$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
"
+ "CreateNFSFileShareInput$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
",
+ "CreateSMBFileShareInput$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
",
+ "NFSFileShareInfo$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
",
+ "SMBFileShareInfo$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
",
+ "UpdateNFSFileShareInput$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
",
+ "UpdateSMBFileShareInput$NotificationPolicy": "The notification policy of the file share. SettlingTimeInSeconds
controls the number of seconds to wait after the last point in time a client wrote to a file before generating an ObjectUploaded
notification. Because clients can make many small writes to files, it's best to set this parameter for as long as possible to avoid generating multiple notifications for the same file in a small time period.
SettlingTimeInSeconds
has no effect on the timing of the object uploading to Amazon S3, only the timing of the notification.
This setting is not meant to specify an exact time at which the notification will be sent. In some cases, the gateway might require more than the specified delay time to generate and send notifications.
The following example sets NotificationPolicy
on with SettlingTimeInSeconds
set to 60.
{\\\"Upload\\\": {\\\"SettlingTimeInSeconds\\\": 60}}
The following example sets NotificationPolicy
off.
{}
"
}
},
"NotifyWhenUploadedInput": {
@@ -2043,8 +2054,8 @@
"SoftwareUpdatePreferences": {
"base": "A set of variables indicating the software update preferences for the gateway.
",
"refs": {
- "DescribeMaintenanceStartTimeOutput$SoftwareUpdatePreferences": "A set of variables indicating the software update preferences for the gateway.
Includes AutomaticUpdatePolicy
field with the following inputs:
ALL_VERSIONS
- Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY
- Disables regular gateway maintenance updates.
",
- "UpdateMaintenanceStartTimeInput$SoftwareUpdatePreferences": "A set of variables indicating the software update preferences for the gateway.
Includes AutomaticUpdatePolicy
field with the following inputs:
ALL_VERSIONS
- Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY
- Disables regular gateway maintenance updates.
"
+ "DescribeMaintenanceStartTimeOutput$SoftwareUpdatePreferences": "A set of variables indicating the software update preferences for the gateway.
Includes AutomaticUpdatePolicy
parameter with the following inputs:
ALL_VERSIONS
- Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY
- Disables regular gateway maintenance updates. The gateway will still receive emergency version updates on rare occasions if necessary to remedy highly critical security or durability issues. You will be notified before an emergency version update is applied. These updates are applied during your gateway's scheduled maintenance window.
",
+ "UpdateMaintenanceStartTimeInput$SoftwareUpdatePreferences": "A set of variables indicating the software update preferences for the gateway.
Includes AutomaticUpdatePolicy
field with the following inputs:
ALL_VERSIONS
- Enables regular gateway maintenance updates.
EMERGENCY_VERSIONS_ONLY
- Disables regular gateway maintenance updates. The gateway will still receive emergency version updates on rare occasions if necessary to remedy highly critical security or durability issues. You will be notified before an emergency version update is applied. These updates are applied during your gateway's scheduled maintenance window.
"
}
},
"SoftwareUpdatesEndDate": {
@@ -2707,8 +2718,8 @@
"DeleteTapeInput$BypassGovernanceRetention": "Set to TRUE
to delete an archived tape that belongs to a custom pool with tape retention lock. Only archived tapes with tape retention lock set to governance
can be deleted. Archived tapes with tape retention lock set to compliance
can't be deleted.
",
"DeviceiSCSIAttributes$ChapEnabled": "Indicates whether mutual CHAP is enabled for the iSCSI target.
",
"DisassociateFileSystemInput$ForceDelete": "If this value is set to true, the operation disassociates an Amazon FSx file system immediately. It ends all data uploads to the file system, and the file system association enters the FORCE_DELETING
status. If this value is set to false, the Amazon FSx file system does not disassociate until all data is uploaded.
",
- "NFSFileShareInfo$KMSEncrypted": "Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
",
- "SMBFileShareInfo$KMSEncrypted": "Set to true
to use Amazon S3 server-side encryption with your own KMS key, or false
to use a key managed by Amazon S3. Optional.
Valid Values: true
| false
",
+ "NFSFileShareInfo$KMSEncrypted": "Optional. Set to true
to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false
to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType
parameter instead.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
Valid Values: true
| false
",
+ "SMBFileShareInfo$KMSEncrypted": "Optional. Set to true
to use Amazon S3 server-side encryption with your own KMS key (SSE-KMS), or false
to use a key managed by Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the EncryptionType
parameter instead.
We recommend using EncryptionType
instead of KMSEncrypted
to set the file share encryption method. You do not need to provide values for both parameters.
If values for both parameters exist in the same request, then the specified encryption methods must not conflict. For example, if EncryptionType
is SseS3
, then KMSEncrypted
must be false
. If EncryptionType
is SseKms
or DsseKms
, then KMSEncrypted
must be true
.
Valid Values: true
| false
",
"StorediSCSIVolume$PreservedExistingData": "Indicates if when the stored volume was created, existing data on the underlying local disk was preserved.
Valid Values: true
| false
",
"Tape$Worm": "If the tape is archived as write-once-read-many (WORM), this value is true
.
",
"TapeArchive$Worm": "Set to true
if the archived tape is stored as write-once-read-many (WORM).
",
diff --git a/apis/synthetics/2017-10-11/api-2.json b/apis/synthetics/2017-10-11/api-2.json
index fddaf19a99e..04e206bbccd 100644
--- a/apis/synthetics/2017-10-11/api-2.json
+++ b/apis/synthetics/2017-10-11/api-2.json
@@ -425,7 +425,7 @@
"type":"string",
"max":2048,
"min":1,
- "pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:canary:[0-9a-z_\\-]{1,21}"
+ "pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:canary:[0-9a-z_\\-]{1,255}"
},
"CanaryCodeInput":{
"type":"structure",
@@ -454,7 +454,7 @@
},
"CanaryName":{
"type":"string",
- "max":21,
+ "max":255,
"min":1,
"pattern":"^[0-9a-z_\\-]+$"
},
@@ -617,6 +617,7 @@
"FailureRetentionPeriodInDays":{"shape":"MaxSize1024"},
"RuntimeVersion":{"shape":"String"},
"VpcConfig":{"shape":"VpcConfigInput"},
+ "ResourcesToReplicateTags":{"shape":"ResourceList"},
"Tags":{"shape":"TagMap"},
"ArtifactConfig":{"shape":"ArtifactConfigInput"}
}
@@ -1028,6 +1029,12 @@
"min":1,
"pattern":"arn:(aws[a-zA-Z-]*)?:synthetics:[a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\\d{1}:\\d{12}:(canary|group):[0-9a-z_\\-]+"
},
+ "ResourceList":{
+ "type":"list",
+ "member":{"shape":"ResourceToTag"},
+ "max":1,
+ "min":1
+ },
"ResourceNotFoundException":{
"type":"structure",
"members":{
@@ -1036,6 +1043,10 @@
"error":{"httpStatusCode":404},
"exception":true
},
+ "ResourceToTag":{
+ "type":"string",
+ "enum":["lambda-function"]
+ },
"RoleArn":{
"type":"string",
"max":2048,
diff --git a/apis/synthetics/2017-10-11/docs-2.json b/apis/synthetics/2017-10-11/docs-2.json
index e0c4a3fc242..23f11c231e1 100644
--- a/apis/synthetics/2017-10-11/docs-2.json
+++ b/apis/synthetics/2017-10-11/docs-2.json
@@ -5,7 +5,7 @@
"AssociateResource": "Associates a canary with a group. Using groups can help you with managing and automating your canaries, and you can also view aggregated run results and statistics for all canaries in a group.
You must run this operation in the Region where the canary exists.
",
"CreateCanary": "Creates a canary. Canaries are scripts that monitor your endpoints and APIs from the outside-in. Canaries help you check the availability and latency of your web services and troubleshoot anomalies by investigating load time data, screenshots of the UI, logs, and metrics. You can set up a canary to run continuously or just once.
Do not use CreateCanary
to modify an existing canary. Use UpdateCanary instead.
To create canaries, you must have the CloudWatchSyntheticsFullAccess
policy. If you are creating a new IAM role for the canary, you also need the iam:CreateRole
, iam:CreatePolicy
and iam:AttachRolePolicy
permissions. For more information, see Necessary Roles and Permissions.
Do not include secrets or proprietary information in your canary names. The canary name makes up part of the Amazon Resource Name (ARN) for the canary, and the ARN is included in outbound calls over the internet. For more information, see Security Considerations for Synthetics Canaries.
",
"CreateGroup": "Creates a group which you can use to associate canaries with each other, including cross-Region canaries. Using groups can help you with managing and automating your canaries, and you can also view aggregated run results and statistics for all canaries in a group.
Groups are global resources. When you create a group, it is replicated across Amazon Web Services Regions, and you can view it and add canaries to it from any Region. Although the group ARN format reflects the Region name where it was created, a group is not constrained to any Region. This means that you can put canaries from multiple Regions into the same group, and then use that group to view and manage all of those canaries in a single view.
Groups are supported in all Regions except the Regions that are disabled by default. For more information about these Regions, see Enabling a Region.
Each group can contain as many as 10 canaries. You can have as many as 20 groups in your account. Any single canary can be a member of up to 10 groups.
",
- "DeleteCanary": "Permanently deletes the specified canary.
If you specify DeleteLambda
to true
, CloudWatch Synthetics also deletes the Lambda functions and layers that are used by the canary.
Other resources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to use again, you should also delete the following:
-
The CloudWatch alarms created for this canary. These alarms have a name of Synthetics-SharpDrop-Alarm-MyCanaryName
.
-
Amazon S3 objects and buckets, such as the canary's artifact location.
-
IAM roles created for the canary. If they were created in the console, these roles have the name role/service-role/CloudWatchSyntheticsRole-MyCanaryName
.
-
CloudWatch Logs log groups created for the canary. These logs groups have the name /aws/lambda/cwsyn-MyCanaryName
.
Before you delete a canary, you might want to use GetCanary
to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.
",
+ "DeleteCanary": "Permanently deletes the specified canary.
If you specify DeleteLambda
to true
, CloudWatch Synthetics also deletes the Lambda functions and layers that are used by the canary.
Other resources used and created by the canary are not automatically deleted. After you delete a canary that you do not intend to use again, you should also delete the following:
-
The CloudWatch alarms created for this canary. These alarms have a name of Synthetics-Alarm-first-198-characters-of-canary-name-canaryId-alarm number
-
Amazon S3 objects and buckets, such as the canary's artifact location.
-
IAM roles created for the canary. If they were created in the console, these roles have the name role/service-role/CloudWatchSyntheticsRole-First-21-Characters-of-CanaryName
-
CloudWatch Logs log groups created for the canary. These logs groups have the name /aws/lambda/cwsyn-First-21-Characters-of-CanaryName
Before you delete a canary, you might want to use GetCanary
to display the information about this canary. Make note of the information returned by this operation so that you can delete these resources after you delete the canary.
",
"DeleteGroup": "Deletes a group. The group doesn't need to be empty to be deleted. If there are canaries in the group, they are not deleted when you delete the group.
Groups are a global resource that appear in all Regions, but the request to delete a group must be made from its home Region. You can find the home Region of a group within its ARN.
",
"DescribeCanaries": "This operation returns a list of the canaries in your account, along with full details about each canary.
This operation supports resource-level authorization using an IAM policy and the Names
parameter. If you specify the Names
parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use the Names
parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
",
"DescribeCanariesLastRun": "Use this operation to see information from the most recent run of each canary that you have created.
This operation supports resource-level authorization using an IAM policy and the Names
parameter. If you specify the Names
parameter, the operation is successful only if you have authorization to view all the canaries that you specify in your request. If you do not have permission to view any of the canaries, the request fails with a 403 response.
You are required to use the Names
parameter if you are logged on to a user or role that has an IAM policy that restricts which canaries that you are allowed to view. For more information, see Limiting a user to viewing specific canaries.
",
@@ -113,7 +113,7 @@
}
},
"CanaryCodeInput": {
- "base": "Use this structure to input your script code for the canary. This structure contains the Lambda handler with the location where the canary should start running the script. If the script is stored in an S3 bucket, the bucket name, key, and version are also included. If the script was passed into the canary directly, the script code is contained in the value of Zipfile
.
",
+ "base": "Use this structure to input your script code for the canary. This structure contains the Lambda handler with the location where the canary should start running the script. If the script is stored in an S3 bucket, the bucket name, key, and version are also included. If the script was passed into the canary directly, the script code is contained in the value of Zipfile
.
If you are uploading your canary scripts with an Amazon S3 bucket, your zip file should include your script in a certain folder structure.
",
"refs": {
"CreateCanaryRequest$Code": "A structure that includes the entry point from which the canary should start running your script. If the script is stored in an S3 bucket, the bucket name, key, and version are also included.
",
"UpdateCanaryRequest$Code": "A structure that includes the entry point from which the canary should start running your script. If the script is stored in an S3 bucket, the bucket name, key, and version are also included.
"
@@ -517,7 +517,7 @@
"MaxCanaryResults": {
"base": null,
"refs": {
- "DescribeCanariesRequest$MaxResults": "Specify this parameter to limit how many canaries are returned each time you use the DescribeCanaries
operation. If you omit this parameter, the default of 100 is used.
"
+ "DescribeCanariesRequest$MaxResults": "Specify this parameter to limit how many canaries are returned each time you use the DescribeCanaries
operation. If you omit this parameter, the default of 20 is used.
"
}
},
"MaxFifteenMinutesInSeconds": {
@@ -603,11 +603,23 @@
"UntagResourceRequest$ResourceArn": "The ARN of the canary or group that you're removing tags from.
The ARN format of a canary is arn:aws:synthetics:Region:account-id:canary:canary-name
.
The ARN format of a group is arn:aws:synthetics:Region:account-id:group:group-name
"
}
},
+ "ResourceList": {
+ "base": null,
+ "refs": {
+ "CreateCanaryRequest$ResourcesToReplicateTags": "To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this parameter with the value lambda-function
.
If you specify this parameter and don't specify any tags in the Tags
parameter, the canary creation fails.
"
+ }
+ },
"ResourceNotFoundException": {
"base": "One of the specified resources was not found.
",
"refs": {
}
},
+ "ResourceToTag": {
+ "base": null,
+ "refs": {
+ "ResourceList$member": null
+ }
+ },
"RoleArn": {
"base": null,
"refs": {
@@ -738,7 +750,7 @@
"base": null,
"refs": {
"Canary$Tags": "The list of key-value pairs that are associated with the canary.
",
- "CreateCanaryRequest$Tags": "A list of key-value pairs to associate with the canary. You can associate as many as 50 tags with a canary.
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 the resources that have certain tag values.
",
+ "CreateCanaryRequest$Tags": "A list of key-value pairs to associate with the canary. You can associate as many as 50 tags with a canary.
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 the resources that have certain tag values.
To have the tags that you apply to this canary also be applied to the Lambda function that the canary uses, specify this parameter with the value lambda-function
.
",
"CreateGroupRequest$Tags": "A list of key-value pairs to associate with the group. You can associate as many as 50 tags with a group.
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 the resources that have certain tag values.
",
"Group$Tags": "The list of key-value pairs that are associated with the canary.
",
"ListTagsForResourceResponse$Tags": "The list of tag keys and values associated with the resource that you specified.
",
diff --git a/apis/synthetics/2017-10-11/endpoint-rule-set-1.json b/apis/synthetics/2017-10-11/endpoint-rule-set-1.json
index 2c20361ea3d..72e761d33f6 100644
--- a/apis/synthetics/2017-10-11/endpoint-rule-set-1.json
+++ b/apis/synthetics/2017-10-11/endpoint-rule-set-1.json
@@ -40,7 +40,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -83,7 +82,8 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -96,7 +96,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -110,7 +109,6 @@
"assign": "PartitionResult"
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -133,7 +131,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -168,7 +165,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -179,14 +175,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS and DualStack are enabled, but this partition does not support one or both",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -200,14 +198,12 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
{
"fn": "booleanEquals",
"argv": [
- true,
{
"fn": "getAttr",
"argv": [
@@ -216,11 +212,11 @@
},
"supportsFIPS"
]
- }
+ },
+ true
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -231,14 +227,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "FIPS is enabled but this partition does not support FIPS",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [
@@ -252,7 +250,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [
@@ -272,7 +269,6 @@
]
}
],
- "type": "tree",
"rules": [
{
"conditions": [],
@@ -283,14 +279,16 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
"error": "DualStack is enabled but this partition does not support DualStack",
"type": "error"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
@@ -301,9 +299,11 @@
},
"type": "endpoint"
}
- ]
+ ],
+ "type": "tree"
}
- ]
+ ],
+ "type": "tree"
},
{
"conditions": [],
diff --git a/apis/worklink/2018-09-25/api-2.json b/apis/worklink/2018-09-25/api-2.json
deleted file mode 100644
index 99d110fefca..00000000000
--- a/apis/worklink/2018-09-25/api-2.json
+++ /dev/null
@@ -1,1461 +0,0 @@
-{
- "version":"2.0",
- "metadata":{
- "apiVersion":"2018-09-25",
- "endpointPrefix":"worklink",
- "jsonVersion":"1.1",
- "protocol":"rest-json",
- "protocols":["rest-json"],
- "serviceAbbreviation":"WorkLink",
- "serviceFullName":"Amazon WorkLink",
- "serviceId":"WorkLink",
- "signatureVersion":"v4",
- "signingName":"worklink",
- "uid":"worklink-2018-09-25",
- "auth":["aws.auth#sigv4"]
- },
- "operations":{
- "AssociateDomain":{
- "name":"AssociateDomain",
- "http":{
- "method":"POST",
- "requestUri":"/associateDomain"
- },
- "input":{"shape":"AssociateDomainRequest"},
- "output":{"shape":"AssociateDomainResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"ResourceAlreadyExistsException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "AssociateWebsiteAuthorizationProvider":{
- "name":"AssociateWebsiteAuthorizationProvider",
- "http":{
- "method":"POST",
- "requestUri":"/associateWebsiteAuthorizationProvider"
- },
- "input":{"shape":"AssociateWebsiteAuthorizationProviderRequest"},
- "output":{"shape":"AssociateWebsiteAuthorizationProviderResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"ResourceAlreadyExistsException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "AssociateWebsiteCertificateAuthority":{
- "name":"AssociateWebsiteCertificateAuthority",
- "http":{
- "method":"POST",
- "requestUri":"/associateWebsiteCertificateAuthority"
- },
- "input":{"shape":"AssociateWebsiteCertificateAuthorityRequest"},
- "output":{"shape":"AssociateWebsiteCertificateAuthorityResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"ResourceAlreadyExistsException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "CreateFleet":{
- "name":"CreateFleet",
- "http":{
- "method":"POST",
- "requestUri":"/createFleet"
- },
- "input":{"shape":"CreateFleetRequest"},
- "output":{"shape":"CreateFleetResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"ResourceAlreadyExistsException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DeleteFleet":{
- "name":"DeleteFleet",
- "http":{
- "method":"POST",
- "requestUri":"/deleteFleet"
- },
- "input":{"shape":"DeleteFleetRequest"},
- "output":{"shape":"DeleteFleetResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DescribeAuditStreamConfiguration":{
- "name":"DescribeAuditStreamConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/describeAuditStreamConfiguration"
- },
- "input":{"shape":"DescribeAuditStreamConfigurationRequest"},
- "output":{"shape":"DescribeAuditStreamConfigurationResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DescribeCompanyNetworkConfiguration":{
- "name":"DescribeCompanyNetworkConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/describeCompanyNetworkConfiguration"
- },
- "input":{"shape":"DescribeCompanyNetworkConfigurationRequest"},
- "output":{"shape":"DescribeCompanyNetworkConfigurationResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DescribeDevice":{
- "name":"DescribeDevice",
- "http":{
- "method":"POST",
- "requestUri":"/describeDevice"
- },
- "input":{"shape":"DescribeDeviceRequest"},
- "output":{"shape":"DescribeDeviceResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DescribeDevicePolicyConfiguration":{
- "name":"DescribeDevicePolicyConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/describeDevicePolicyConfiguration"
- },
- "input":{"shape":"DescribeDevicePolicyConfigurationRequest"},
- "output":{"shape":"DescribeDevicePolicyConfigurationResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DescribeDomain":{
- "name":"DescribeDomain",
- "http":{
- "method":"POST",
- "requestUri":"/describeDomain"
- },
- "input":{"shape":"DescribeDomainRequest"},
- "output":{"shape":"DescribeDomainResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DescribeFleetMetadata":{
- "name":"DescribeFleetMetadata",
- "http":{
- "method":"POST",
- "requestUri":"/describeFleetMetadata"
- },
- "input":{"shape":"DescribeFleetMetadataRequest"},
- "output":{"shape":"DescribeFleetMetadataResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DescribeIdentityProviderConfiguration":{
- "name":"DescribeIdentityProviderConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/describeIdentityProviderConfiguration"
- },
- "input":{"shape":"DescribeIdentityProviderConfigurationRequest"},
- "output":{"shape":"DescribeIdentityProviderConfigurationResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DescribeWebsiteCertificateAuthority":{
- "name":"DescribeWebsiteCertificateAuthority",
- "http":{
- "method":"POST",
- "requestUri":"/describeWebsiteCertificateAuthority"
- },
- "input":{"shape":"DescribeWebsiteCertificateAuthorityRequest"},
- "output":{"shape":"DescribeWebsiteCertificateAuthorityResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DisassociateDomain":{
- "name":"DisassociateDomain",
- "http":{
- "method":"POST",
- "requestUri":"/disassociateDomain"
- },
- "input":{"shape":"DisassociateDomainRequest"},
- "output":{"shape":"DisassociateDomainResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DisassociateWebsiteAuthorizationProvider":{
- "name":"DisassociateWebsiteAuthorizationProvider",
- "http":{
- "method":"POST",
- "requestUri":"/disassociateWebsiteAuthorizationProvider"
- },
- "input":{"shape":"DisassociateWebsiteAuthorizationProviderRequest"},
- "output":{"shape":"DisassociateWebsiteAuthorizationProviderResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"ResourceAlreadyExistsException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "DisassociateWebsiteCertificateAuthority":{
- "name":"DisassociateWebsiteCertificateAuthority",
- "http":{
- "method":"POST",
- "requestUri":"/disassociateWebsiteCertificateAuthority"
- },
- "input":{"shape":"DisassociateWebsiteCertificateAuthorityRequest"},
- "output":{"shape":"DisassociateWebsiteCertificateAuthorityResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "ListDevices":{
- "name":"ListDevices",
- "http":{
- "method":"POST",
- "requestUri":"/listDevices"
- },
- "input":{"shape":"ListDevicesRequest"},
- "output":{"shape":"ListDevicesResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "ListDomains":{
- "name":"ListDomains",
- "http":{
- "method":"POST",
- "requestUri":"/listDomains"
- },
- "input":{"shape":"ListDomainsRequest"},
- "output":{"shape":"ListDomainsResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "ListFleets":{
- "name":"ListFleets",
- "http":{
- "method":"POST",
- "requestUri":"/listFleets"
- },
- "input":{"shape":"ListFleetsRequest"},
- "output":{"shape":"ListFleetsResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "ListTagsForResource":{
- "name":"ListTagsForResource",
- "http":{
- "method":"GET",
- "requestUri":"/tags/{ResourceArn}"
- },
- "input":{"shape":"ListTagsForResourceRequest"},
- "output":{"shape":"ListTagsForResourceResponse"},
- "errors":[
- {"shape":"InvalidRequestException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "ListWebsiteAuthorizationProviders":{
- "name":"ListWebsiteAuthorizationProviders",
- "http":{
- "method":"POST",
- "requestUri":"/listWebsiteAuthorizationProviders"
- },
- "input":{"shape":"ListWebsiteAuthorizationProvidersRequest"},
- "output":{"shape":"ListWebsiteAuthorizationProvidersResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "ListWebsiteCertificateAuthorities":{
- "name":"ListWebsiteCertificateAuthorities",
- "http":{
- "method":"POST",
- "requestUri":"/listWebsiteCertificateAuthorities"
- },
- "input":{"shape":"ListWebsiteCertificateAuthoritiesRequest"},
- "output":{"shape":"ListWebsiteCertificateAuthoritiesResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "RestoreDomainAccess":{
- "name":"RestoreDomainAccess",
- "http":{
- "method":"POST",
- "requestUri":"/restoreDomainAccess"
- },
- "input":{"shape":"RestoreDomainAccessRequest"},
- "output":{"shape":"RestoreDomainAccessResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "RevokeDomainAccess":{
- "name":"RevokeDomainAccess",
- "http":{
- "method":"POST",
- "requestUri":"/revokeDomainAccess"
- },
- "input":{"shape":"RevokeDomainAccessRequest"},
- "output":{"shape":"RevokeDomainAccessResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "SignOutUser":{
- "name":"SignOutUser",
- "http":{
- "method":"POST",
- "requestUri":"/signOutUser"
- },
- "input":{"shape":"SignOutUserRequest"},
- "output":{"shape":"SignOutUserResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "TagResource":{
- "name":"TagResource",
- "http":{
- "method":"POST",
- "requestUri":"/tags/{ResourceArn}"
- },
- "input":{"shape":"TagResourceRequest"},
- "output":{"shape":"TagResourceResponse"},
- "errors":[
- {"shape":"InvalidRequestException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "UntagResource":{
- "name":"UntagResource",
- "http":{
- "method":"DELETE",
- "requestUri":"/tags/{ResourceArn}"
- },
- "input":{"shape":"UntagResourceRequest"},
- "output":{"shape":"UntagResourceResponse"},
- "errors":[
- {"shape":"InvalidRequestException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "UpdateAuditStreamConfiguration":{
- "name":"UpdateAuditStreamConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/updateAuditStreamConfiguration"
- },
- "input":{"shape":"UpdateAuditStreamConfigurationRequest"},
- "output":{"shape":"UpdateAuditStreamConfigurationResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "UpdateCompanyNetworkConfiguration":{
- "name":"UpdateCompanyNetworkConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/updateCompanyNetworkConfiguration"
- },
- "input":{"shape":"UpdateCompanyNetworkConfigurationRequest"},
- "output":{"shape":"UpdateCompanyNetworkConfigurationResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "UpdateDevicePolicyConfiguration":{
- "name":"UpdateDevicePolicyConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/updateDevicePolicyConfiguration"
- },
- "input":{"shape":"UpdateDevicePolicyConfigurationRequest"},
- "output":{"shape":"UpdateDevicePolicyConfigurationResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "UpdateDomainMetadata":{
- "name":"UpdateDomainMetadata",
- "http":{
- "method":"POST",
- "requestUri":"/updateDomainMetadata"
- },
- "input":{"shape":"UpdateDomainMetadataRequest"},
- "output":{"shape":"UpdateDomainMetadataResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "UpdateFleetMetadata":{
- "name":"UpdateFleetMetadata",
- "http":{
- "method":"POST",
- "requestUri":"/UpdateFleetMetadata"
- },
- "input":{"shape":"UpdateFleetMetadataRequest"},
- "output":{"shape":"UpdateFleetMetadataResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- },
- "UpdateIdentityProviderConfiguration":{
- "name":"UpdateIdentityProviderConfiguration",
- "http":{
- "method":"POST",
- "requestUri":"/updateIdentityProviderConfiguration"
- },
- "input":{"shape":"UpdateIdentityProviderConfigurationRequest"},
- "output":{"shape":"UpdateIdentityProviderConfigurationResponse"},
- "errors":[
- {"shape":"UnauthorizedException"},
- {"shape":"InternalServerErrorException"},
- {"shape":"InvalidRequestException"},
- {"shape":"ResourceNotFoundException"},
- {"shape":"TooManyRequestsException"}
- ],
- "deprecated":true,
- "deprecatedMessage":"Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK."
- }
- },
- "shapes":{
- "AcmCertificateArn":{
- "type":"string",
- "pattern":"arn:[\\w+=/,.@-]+:[\\w+=/,.@-]+:[\\w+=/,.@-]*:[0-9]+:[\\w+=,.@-]+(/[\\w+=/,.@-]+)*"
- },
- "AssociateDomainRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "DomainName",
- "AcmCertificateArn"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "DomainName":{"shape":"DomainName"},
- "DisplayName":{"shape":"DisplayName"},
- "AcmCertificateArn":{"shape":"AcmCertificateArn"}
- }
- },
- "AssociateDomainResponse":{
- "type":"structure",
- "members":{
- }
- },
- "AssociateWebsiteAuthorizationProviderRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "AuthorizationProviderType"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "AuthorizationProviderType":{"shape":"AuthorizationProviderType"},
- "DomainName":{"shape":"DomainName"}
- }
- },
- "AssociateWebsiteAuthorizationProviderResponse":{
- "type":"structure",
- "members":{
- "AuthorizationProviderId":{"shape":"Id"}
- }
- },
- "AssociateWebsiteCertificateAuthorityRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "Certificate"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "Certificate":{"shape":"Certificate"},
- "DisplayName":{"shape":"DisplayName"}
- }
- },
- "AssociateWebsiteCertificateAuthorityResponse":{
- "type":"structure",
- "members":{
- "WebsiteCaId":{"shape":"Id"}
- }
- },
- "AuditStreamArn":{
- "type":"string",
- "pattern":"^arn:aws:kinesis:.+:[0-9]{12}:stream/AmazonWorkLink-.*$"
- },
- "AuthorizationProviderType":{
- "type":"string",
- "enum":["SAML"]
- },
- "Boolean":{"type":"boolean"},
- "Certificate":{
- "type":"string",
- "max":8192,
- "min":1,
- "pattern":"-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}(\\u000D?\\u000A)?"
- },
- "CertificateChain":{
- "type":"string",
- "max":32768,
- "min":1,
- "pattern":"(-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}\\u000D?\\u000A)*-{5}BEGIN CERTIFICATE-{5}\\u000D?\\u000A([A-Za-z0-9/+]{64}\\u000D?\\u000A)*[A-Za-z0-9/+]{1,64}={0,2}\\u000D?\\u000A-{5}END CERTIFICATE-{5}(\\u000D?\\u000A)?"
- },
- "CompanyCode":{
- "type":"string",
- "max":32,
- "min":1
- },
- "CreateFleetRequest":{
- "type":"structure",
- "required":["FleetName"],
- "members":{
- "FleetName":{"shape":"FleetName"},
- "DisplayName":{"shape":"DisplayName"},
- "OptimizeForEndUserLocation":{"shape":"Boolean"},
- "Tags":{"shape":"TagMap"}
- }
- },
- "CreateFleetResponse":{
- "type":"structure",
- "members":{
- "FleetArn":{"shape":"FleetArn"}
- }
- },
- "DateTime":{"type":"timestamp"},
- "DeleteFleetRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"}
- }
- },
- "DeleteFleetResponse":{
- "type":"structure",
- "members":{
- }
- },
- "DescribeAuditStreamConfigurationRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"}
- }
- },
- "DescribeAuditStreamConfigurationResponse":{
- "type":"structure",
- "members":{
- "AuditStreamArn":{"shape":"AuditStreamArn"}
- }
- },
- "DescribeCompanyNetworkConfigurationRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"}
- }
- },
- "DescribeCompanyNetworkConfigurationResponse":{
- "type":"structure",
- "members":{
- "VpcId":{"shape":"VpcId"},
- "SubnetIds":{"shape":"SubnetIds"},
- "SecurityGroupIds":{"shape":"SecurityGroupIds"}
- }
- },
- "DescribeDevicePolicyConfigurationRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"}
- }
- },
- "DescribeDevicePolicyConfigurationResponse":{
- "type":"structure",
- "members":{
- "DeviceCaCertificate":{"shape":"Certificate"}
- }
- },
- "DescribeDeviceRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "DeviceId"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "DeviceId":{"shape":"Id"}
- }
- },
- "DescribeDeviceResponse":{
- "type":"structure",
- "members":{
- "Status":{"shape":"DeviceStatus"},
- "Model":{"shape":"DeviceModel"},
- "Manufacturer":{"shape":"DeviceManufacturer"},
- "OperatingSystem":{"shape":"DeviceOperatingSystemName"},
- "OperatingSystemVersion":{"shape":"DeviceOperatingSystemVersion"},
- "PatchLevel":{"shape":"DevicePatchLevel"},
- "FirstAccessedTime":{"shape":"DateTime"},
- "LastAccessedTime":{"shape":"DateTime"},
- "Username":{"shape":"Username"}
- }
- },
- "DescribeDomainRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "DomainName"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "DomainName":{"shape":"DomainName"}
- }
- },
- "DescribeDomainResponse":{
- "type":"structure",
- "members":{
- "DomainName":{"shape":"DomainName"},
- "DisplayName":{"shape":"DisplayName"},
- "CreatedTime":{"shape":"DateTime"},
- "DomainStatus":{"shape":"DomainStatus"},
- "AcmCertificateArn":{"shape":"AcmCertificateArn"}
- }
- },
- "DescribeFleetMetadataRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"}
- }
- },
- "DescribeFleetMetadataResponse":{
- "type":"structure",
- "members":{
- "CreatedTime":{"shape":"DateTime"},
- "LastUpdatedTime":{"shape":"DateTime"},
- "FleetName":{"shape":"FleetName"},
- "DisplayName":{"shape":"DisplayName"},
- "OptimizeForEndUserLocation":{"shape":"Boolean"},
- "CompanyCode":{"shape":"CompanyCode"},
- "FleetStatus":{"shape":"FleetStatus"},
- "Tags":{"shape":"TagMap"}
- }
- },
- "DescribeIdentityProviderConfigurationRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"}
- }
- },
- "DescribeIdentityProviderConfigurationResponse":{
- "type":"structure",
- "members":{
- "IdentityProviderType":{"shape":"IdentityProviderType"},
- "ServiceProviderSamlMetadata":{"shape":"SamlMetadata"},
- "IdentityProviderSamlMetadata":{"shape":"SamlMetadata"}
- }
- },
- "DescribeWebsiteCertificateAuthorityRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "WebsiteCaId"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "WebsiteCaId":{"shape":"Id"}
- }
- },
- "DescribeWebsiteCertificateAuthorityResponse":{
- "type":"structure",
- "members":{
- "Certificate":{"shape":"Certificate"},
- "CreatedTime":{"shape":"DateTime"},
- "DisplayName":{"shape":"DisplayName"}
- }
- },
- "DeviceManufacturer":{
- "type":"string",
- "max":256,
- "min":1
- },
- "DeviceModel":{
- "type":"string",
- "max":256,
- "min":1
- },
- "DeviceOperatingSystemName":{
- "type":"string",
- "max":256,
- "min":1
- },
- "DeviceOperatingSystemVersion":{
- "type":"string",
- "max":256,
- "min":1
- },
- "DevicePatchLevel":{
- "type":"string",
- "max":256,
- "min":1
- },
- "DeviceStatus":{
- "type":"string",
- "enum":[
- "ACTIVE",
- "SIGNED_OUT"
- ]
- },
- "DeviceSummary":{
- "type":"structure",
- "members":{
- "DeviceId":{"shape":"Id"},
- "DeviceStatus":{"shape":"DeviceStatus"}
- }
- },
- "DeviceSummaryList":{
- "type":"list",
- "member":{"shape":"DeviceSummary"}
- },
- "DisassociateDomainRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "DomainName"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "DomainName":{"shape":"DomainName"}
- }
- },
- "DisassociateDomainResponse":{
- "type":"structure",
- "members":{
- }
- },
- "DisassociateWebsiteAuthorizationProviderRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "AuthorizationProviderId"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "AuthorizationProviderId":{"shape":"Id"}
- }
- },
- "DisassociateWebsiteAuthorizationProviderResponse":{
- "type":"structure",
- "members":{
- }
- },
- "DisassociateWebsiteCertificateAuthorityRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "WebsiteCaId"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "WebsiteCaId":{"shape":"Id"}
- }
- },
- "DisassociateWebsiteCertificateAuthorityResponse":{
- "type":"structure",
- "members":{
- }
- },
- "DisplayName":{
- "type":"string",
- "max":100
- },
- "DomainName":{
- "type":"string",
- "max":253,
- "min":1,
- "pattern":"^[a-zA-Z0-9]?((?!-)([A-Za-z0-9-]*[A-Za-z0-9])\\.)+[a-zA-Z0-9]+$"
- },
- "DomainStatus":{
- "type":"string",
- "enum":[
- "PENDING_VALIDATION",
- "ASSOCIATING",
- "ACTIVE",
- "INACTIVE",
- "DISASSOCIATING",
- "DISASSOCIATED",
- "FAILED_TO_ASSOCIATE",
- "FAILED_TO_DISASSOCIATE"
- ]
- },
- "DomainSummary":{
- "type":"structure",
- "required":[
- "DomainName",
- "CreatedTime",
- "DomainStatus"
- ],
- "members":{
- "DomainName":{"shape":"DomainName"},
- "DisplayName":{"shape":"DisplayName"},
- "CreatedTime":{"shape":"DateTime"},
- "DomainStatus":{"shape":"DomainStatus"}
- }
- },
- "DomainSummaryList":{
- "type":"list",
- "member":{"shape":"DomainSummary"}
- },
- "ExceptionMessage":{"type":"string"},
- "FleetArn":{
- "type":"string",
- "max":2048,
- "min":20
- },
- "FleetName":{
- "type":"string",
- "max":48,
- "min":1,
- "pattern":"^[a-z0-9](?:[a-z0-9\\-]{0,46}[a-z0-9])?$"
- },
- "FleetStatus":{
- "type":"string",
- "enum":[
- "CREATING",
- "ACTIVE",
- "DELETING",
- "DELETED",
- "FAILED_TO_CREATE",
- "FAILED_TO_DELETE"
- ]
- },
- "FleetSummary":{
- "type":"structure",
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "CreatedTime":{"shape":"DateTime"},
- "LastUpdatedTime":{"shape":"DateTime"},
- "FleetName":{"shape":"FleetName"},
- "DisplayName":{"shape":"DisplayName"},
- "CompanyCode":{"shape":"CompanyCode"},
- "FleetStatus":{"shape":"FleetStatus"},
- "Tags":{"shape":"TagMap"}
- }
- },
- "FleetSummaryList":{
- "type":"list",
- "member":{"shape":"FleetSummary"}
- },
- "Id":{
- "type":"string",
- "max":256,
- "min":1
- },
- "IdentityProviderType":{
- "type":"string",
- "enum":["SAML"]
- },
- "InternalServerErrorException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"ExceptionMessage"}
- },
- "error":{"httpStatusCode":500},
- "exception":true
- },
- "InvalidRequestException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"ExceptionMessage"}
- },
- "error":{"httpStatusCode":400},
- "exception":true
- },
- "ListDevicesRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "NextToken":{"shape":"NextToken"},
- "MaxResults":{"shape":"MaxResults"}
- }
- },
- "ListDevicesResponse":{
- "type":"structure",
- "members":{
- "Devices":{"shape":"DeviceSummaryList"},
- "NextToken":{"shape":"NextToken"}
- }
- },
- "ListDomainsRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "NextToken":{"shape":"NextToken"},
- "MaxResults":{"shape":"MaxResults"}
- }
- },
- "ListDomainsResponse":{
- "type":"structure",
- "members":{
- "Domains":{"shape":"DomainSummaryList"},
- "NextToken":{"shape":"NextToken"}
- }
- },
- "ListFleetsRequest":{
- "type":"structure",
- "members":{
- "NextToken":{"shape":"NextToken"},
- "MaxResults":{"shape":"MaxResults"}
- }
- },
- "ListFleetsResponse":{
- "type":"structure",
- "members":{
- "FleetSummaryList":{"shape":"FleetSummaryList"},
- "NextToken":{"shape":"NextToken"}
- }
- },
- "ListTagsForResourceRequest":{
- "type":"structure",
- "required":["ResourceArn"],
- "members":{
- "ResourceArn":{
- "shape":"FleetArn",
- "location":"uri",
- "locationName":"ResourceArn"
- }
- }
- },
- "ListTagsForResourceResponse":{
- "type":"structure",
- "members":{
- "Tags":{"shape":"TagMap"}
- }
- },
- "ListWebsiteAuthorizationProvidersRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "NextToken":{"shape":"NextToken"},
- "MaxResults":{"shape":"MaxResults"}
- }
- },
- "ListWebsiteAuthorizationProvidersResponse":{
- "type":"structure",
- "members":{
- "WebsiteAuthorizationProviders":{"shape":"WebsiteAuthorizationProvidersSummaryList"},
- "NextToken":{"shape":"NextToken"}
- }
- },
- "ListWebsiteCertificateAuthoritiesRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "MaxResults":{"shape":"MaxResults"},
- "NextToken":{"shape":"NextToken"}
- }
- },
- "ListWebsiteCertificateAuthoritiesResponse":{
- "type":"structure",
- "members":{
- "WebsiteCertificateAuthorities":{"shape":"WebsiteCaSummaryList"},
- "NextToken":{"shape":"NextToken"}
- }
- },
- "MaxResults":{
- "type":"integer",
- "min":1
- },
- "NextToken":{
- "type":"string",
- "max":4096,
- "min":1,
- "pattern":"[\\w\\-]+"
- },
- "ResourceAlreadyExistsException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"ExceptionMessage"}
- },
- "error":{"httpStatusCode":400},
- "exception":true
- },
- "ResourceNotFoundException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"ExceptionMessage"}
- },
- "error":{"httpStatusCode":404},
- "exception":true
- },
- "RestoreDomainAccessRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "DomainName"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "DomainName":{"shape":"DomainName"}
- }
- },
- "RestoreDomainAccessResponse":{
- "type":"structure",
- "members":{
- }
- },
- "RevokeDomainAccessRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "DomainName"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "DomainName":{"shape":"DomainName"}
- }
- },
- "RevokeDomainAccessResponse":{
- "type":"structure",
- "members":{
- }
- },
- "SamlMetadata":{
- "type":"string",
- "max":204800,
- "min":1
- },
- "SecurityGroupId":{
- "type":"string",
- "pattern":"^sg-([0-9a-f]{8}|[0-9a-f]{17})$"
- },
- "SecurityGroupIds":{
- "type":"list",
- "member":{"shape":"SecurityGroupId"},
- "max":5
- },
- "SignOutUserRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "Username"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "Username":{"shape":"Username"}
- }
- },
- "SignOutUserResponse":{
- "type":"structure",
- "members":{
- }
- },
- "SubnetId":{
- "type":"string",
- "pattern":"^subnet-([0-9a-f]{8}|[0-9a-f]{17})$"
- },
- "SubnetIds":{
- "type":"list",
- "member":{"shape":"SubnetId"}
- },
- "TagKey":{
- "type":"string",
- "max":128,
- "min":1,
- "pattern":"^(?!aws:)[a-zA-Z+-=._:/]+$"
- },
- "TagKeyList":{
- "type":"list",
- "member":{"shape":"TagKey"},
- "max":50,
- "min":1
- },
- "TagMap":{
- "type":"map",
- "key":{"shape":"TagKey"},
- "value":{"shape":"TagValue"},
- "max":50,
- "min":1
- },
- "TagResourceRequest":{
- "type":"structure",
- "required":[
- "ResourceArn",
- "Tags"
- ],
- "members":{
- "ResourceArn":{
- "shape":"FleetArn",
- "location":"uri",
- "locationName":"ResourceArn"
- },
- "Tags":{"shape":"TagMap"}
- }
- },
- "TagResourceResponse":{
- "type":"structure",
- "members":{
- }
- },
- "TagValue":{
- "type":"string",
- "max":256
- },
- "TooManyRequestsException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"ExceptionMessage"}
- },
- "error":{"httpStatusCode":429},
- "exception":true
- },
- "UnauthorizedException":{
- "type":"structure",
- "members":{
- "Message":{"shape":"ExceptionMessage"}
- },
- "error":{"httpStatusCode":403},
- "exception":true
- },
- "UntagResourceRequest":{
- "type":"structure",
- "required":[
- "ResourceArn",
- "TagKeys"
- ],
- "members":{
- "ResourceArn":{
- "shape":"FleetArn",
- "location":"uri",
- "locationName":"ResourceArn"
- },
- "TagKeys":{
- "shape":"TagKeyList",
- "location":"querystring",
- "locationName":"tagKeys"
- }
- }
- },
- "UntagResourceResponse":{
- "type":"structure",
- "members":{
- }
- },
- "UpdateAuditStreamConfigurationRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "AuditStreamArn":{"shape":"AuditStreamArn"}
- }
- },
- "UpdateAuditStreamConfigurationResponse":{
- "type":"structure",
- "members":{
- }
- },
- "UpdateCompanyNetworkConfigurationRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "VpcId",
- "SubnetIds",
- "SecurityGroupIds"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "VpcId":{"shape":"VpcId"},
- "SubnetIds":{"shape":"SubnetIds"},
- "SecurityGroupIds":{"shape":"SecurityGroupIds"}
- }
- },
- "UpdateCompanyNetworkConfigurationResponse":{
- "type":"structure",
- "members":{
- }
- },
- "UpdateDevicePolicyConfigurationRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "DeviceCaCertificate":{"shape":"CertificateChain"}
- }
- },
- "UpdateDevicePolicyConfigurationResponse":{
- "type":"structure",
- "members":{
- }
- },
- "UpdateDomainMetadataRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "DomainName"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "DomainName":{"shape":"DomainName"},
- "DisplayName":{"shape":"DisplayName"}
- }
- },
- "UpdateDomainMetadataResponse":{
- "type":"structure",
- "members":{
- }
- },
- "UpdateFleetMetadataRequest":{
- "type":"structure",
- "required":["FleetArn"],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "DisplayName":{"shape":"DisplayName"},
- "OptimizeForEndUserLocation":{"shape":"Boolean"}
- }
- },
- "UpdateFleetMetadataResponse":{
- "type":"structure",
- "members":{
- }
- },
- "UpdateIdentityProviderConfigurationRequest":{
- "type":"structure",
- "required":[
- "FleetArn",
- "IdentityProviderType"
- ],
- "members":{
- "FleetArn":{"shape":"FleetArn"},
- "IdentityProviderType":{"shape":"IdentityProviderType"},
- "IdentityProviderSamlMetadata":{"shape":"SamlMetadata"}
- }
- },
- "UpdateIdentityProviderConfigurationResponse":{
- "type":"structure",
- "members":{
- }
- },
- "Username":{
- "type":"string",
- "max":256,
- "min":1
- },
- "VpcId":{
- "type":"string",
- "pattern":"^vpc-([0-9a-f]{8}|[0-9a-f]{17})$"
- },
- "WebsiteAuthorizationProviderSummary":{
- "type":"structure",
- "required":["AuthorizationProviderType"],
- "members":{
- "AuthorizationProviderId":{"shape":"Id"},
- "AuthorizationProviderType":{"shape":"AuthorizationProviderType"},
- "DomainName":{"shape":"DomainName"},
- "CreatedTime":{"shape":"DateTime"}
- }
- },
- "WebsiteAuthorizationProvidersSummaryList":{
- "type":"list",
- "member":{"shape":"WebsiteAuthorizationProviderSummary"}
- },
- "WebsiteCaSummary":{
- "type":"structure",
- "members":{
- "WebsiteCaId":{"shape":"Id"},
- "CreatedTime":{"shape":"DateTime"},
- "DisplayName":{"shape":"DisplayName"}
- }
- },
- "WebsiteCaSummaryList":{
- "type":"list",
- "member":{"shape":"WebsiteCaSummary"}
- }
- }
-}
diff --git a/apis/worklink/2018-09-25/docs-2.json b/apis/worklink/2018-09-25/docs-2.json
deleted file mode 100644
index d4a38273d4e..00000000000
--- a/apis/worklink/2018-09-25/docs-2.json
+++ /dev/null
@@ -1,789 +0,0 @@
-{
- "version": "2.0",
- "service": "Amazon WorkLink is a cloud-based service that provides secure access to internal websites and web apps from iOS and Android phones. In a single step, your users, such as employees, can access internal websites as efficiently as they access any other public website. They enter a URL in their web browser, or choose a link to an internal website in an email. Amazon WorkLink authenticates the user's access and securely renders authorized internal web content in a secure rendering service in the AWS cloud. Amazon WorkLink doesn't download or store any internal web content on mobile devices.
",
- "operations": {
- "AssociateDomain": "Specifies a domain to be associated to Amazon WorkLink.
",
- "AssociateWebsiteAuthorizationProvider": "Associates a website authorization provider with a specified fleet. This is used to authorize users against associated websites in the company network.
",
- "AssociateWebsiteCertificateAuthority": "Imports the root certificate of a certificate authority (CA) used to obtain TLS certificates used by associated websites within the company network.
",
- "CreateFleet": "Creates a fleet. A fleet consists of resources and the configuration that delivers associated websites to authorized users who download and set up the Amazon WorkLink app.
",
- "DeleteFleet": "Deletes a fleet. Prevents users from accessing previously associated websites.
",
- "DescribeAuditStreamConfiguration": "Describes the configuration for delivering audit streams to the customer account.
",
- "DescribeCompanyNetworkConfiguration": "Describes the networking configuration to access the internal websites associated with the specified fleet.
",
- "DescribeDevice": "Provides information about a user's device.
",
- "DescribeDevicePolicyConfiguration": "Describes the device policy configuration for the specified fleet.
",
- "DescribeDomain": "Provides information about the domain.
",
- "DescribeFleetMetadata": "Provides basic information for the specified fleet, excluding identity provider, networking, and device configuration details.
",
- "DescribeIdentityProviderConfiguration": "Describes the identity provider configuration of the specified fleet.
",
- "DescribeWebsiteCertificateAuthority": "Provides information about the certificate authority.
",
- "DisassociateDomain": "Disassociates a domain from Amazon WorkLink. End users lose the ability to access the domain with Amazon WorkLink.
",
- "DisassociateWebsiteAuthorizationProvider": "Disassociates a website authorization provider from a specified fleet. After the disassociation, users can't load any associated websites that require this authorization provider.
",
- "DisassociateWebsiteCertificateAuthority": "Removes a certificate authority (CA).
",
- "ListDevices": "Retrieves a list of devices registered with the specified fleet.
",
- "ListDomains": "Retrieves a list of domains associated to a specified fleet.
",
- "ListFleets": "Retrieves a list of fleets for the current account and Region.
",
- "ListTagsForResource": "Retrieves a list of tags for the specified resource.
",
- "ListWebsiteAuthorizationProviders": "Retrieves a list of website authorization providers associated with a specified fleet.
",
- "ListWebsiteCertificateAuthorities": "Retrieves a list of certificate authorities added for the current account and Region.
",
- "RestoreDomainAccess": "Moves a domain to ACTIVE status if it was in the INACTIVE status.
",
- "RevokeDomainAccess": "Moves a domain to INACTIVE status if it was in the ACTIVE status.
",
- "SignOutUser": "Signs the user out from all of their devices. The user can sign in again if they have valid credentials.
",
- "TagResource": "Adds or overwrites one or more tags for the specified resource, such as a fleet. Each tag consists of a key and an optional value. If a resource already has a tag with the same key, this operation updates its value.
",
- "UntagResource": "Removes one or more tags from the specified resource.
",
- "UpdateAuditStreamConfiguration": "Updates the audit stream configuration for the fleet.
",
- "UpdateCompanyNetworkConfiguration": "Updates the company network configuration for the fleet.
",
- "UpdateDevicePolicyConfiguration": "Updates the device policy configuration for the fleet.
",
- "UpdateDomainMetadata": "Updates domain metadata, such as DisplayName.
",
- "UpdateFleetMetadata": "Updates fleet metadata, such as DisplayName.
",
- "UpdateIdentityProviderConfiguration": "Updates the identity provider configuration for the fleet.
"
- },
- "shapes": {
- "AcmCertificateArn": {
- "base": null,
- "refs": {
- "AssociateDomainRequest$AcmCertificateArn": "The ARN of an issued ACM certificate that is valid for the domain being associated.
",
- "DescribeDomainResponse$AcmCertificateArn": "The ARN of an issued ACM certificate that is valid for the domain being associated.
"
- }
- },
- "AssociateDomainRequest": {
- "base": null,
- "refs": {
- }
- },
- "AssociateDomainResponse": {
- "base": null,
- "refs": {
- }
- },
- "AssociateWebsiteAuthorizationProviderRequest": {
- "base": null,
- "refs": {
- }
- },
- "AssociateWebsiteAuthorizationProviderResponse": {
- "base": null,
- "refs": {
- }
- },
- "AssociateWebsiteCertificateAuthorityRequest": {
- "base": null,
- "refs": {
- }
- },
- "AssociateWebsiteCertificateAuthorityResponse": {
- "base": null,
- "refs": {
- }
- },
- "AuditStreamArn": {
- "base": null,
- "refs": {
- "DescribeAuditStreamConfigurationResponse$AuditStreamArn": "The ARN of the Amazon Kinesis data stream that will receive the audit events.
",
- "UpdateAuditStreamConfigurationRequest$AuditStreamArn": "The ARN of the Amazon Kinesis data stream that receives the audit events.
"
- }
- },
- "AuthorizationProviderType": {
- "base": null,
- "refs": {
- "AssociateWebsiteAuthorizationProviderRequest$AuthorizationProviderType": "The authorization provider type.
",
- "WebsiteAuthorizationProviderSummary$AuthorizationProviderType": "The authorization provider type.
"
- }
- },
- "Boolean": {
- "base": null,
- "refs": {
- "CreateFleetRequest$OptimizeForEndUserLocation": "The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region.
",
- "DescribeFleetMetadataResponse$OptimizeForEndUserLocation": "The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region.
",
- "UpdateFleetMetadataRequest$OptimizeForEndUserLocation": "The option to optimize for better performance by routing traffic through the closest AWS Region to users, which may be outside of your home Region.
"
- }
- },
- "Certificate": {
- "base": null,
- "refs": {
- "AssociateWebsiteCertificateAuthorityRequest$Certificate": "The root certificate of the CA.
",
- "DescribeDevicePolicyConfigurationResponse$DeviceCaCertificate": "The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
",
- "DescribeWebsiteCertificateAuthorityResponse$Certificate": "The root certificate of the certificate authority.
"
- }
- },
- "CertificateChain": {
- "base": null,
- "refs": {
- "UpdateDevicePolicyConfigurationRequest$DeviceCaCertificate": "The certificate chain, including intermediate certificates and the root certificate authority certificate used to issue device certificates.
"
- }
- },
- "CompanyCode": {
- "base": null,
- "refs": {
- "DescribeFleetMetadataResponse$CompanyCode": "The identifier used by users to sign in to the Amazon WorkLink app.
",
- "FleetSummary$CompanyCode": "The identifier used by users to sign into the Amazon WorkLink app.
"
- }
- },
- "CreateFleetRequest": {
- "base": null,
- "refs": {
- }
- },
- "CreateFleetResponse": {
- "base": null,
- "refs": {
- }
- },
- "DateTime": {
- "base": null,
- "refs": {
- "DescribeDeviceResponse$FirstAccessedTime": "The date that the device first signed in to Amazon WorkLink.
",
- "DescribeDeviceResponse$LastAccessedTime": "The date that the device last accessed Amazon WorkLink.
",
- "DescribeDomainResponse$CreatedTime": "The time that the domain was added.
",
- "DescribeFleetMetadataResponse$CreatedTime": "The time that the fleet was created.
",
- "DescribeFleetMetadataResponse$LastUpdatedTime": "The time that the fleet was last updated.
",
- "DescribeWebsiteCertificateAuthorityResponse$CreatedTime": "The time that the certificate authority was added.
",
- "DomainSummary$CreatedTime": "The time that the domain was created.
",
- "FleetSummary$CreatedTime": "The time when the fleet was created.
",
- "FleetSummary$LastUpdatedTime": "The time when the fleet was last updated.
",
- "WebsiteAuthorizationProviderSummary$CreatedTime": "The time of creation.
",
- "WebsiteCaSummary$CreatedTime": "The time when the CA was added.
"
- }
- },
- "DeleteFleetRequest": {
- "base": null,
- "refs": {
- }
- },
- "DeleteFleetResponse": {
- "base": null,
- "refs": {
- }
- },
- "DescribeAuditStreamConfigurationRequest": {
- "base": null,
- "refs": {
- }
- },
- "DescribeAuditStreamConfigurationResponse": {
- "base": null,
- "refs": {
- }
- },
- "DescribeCompanyNetworkConfigurationRequest": {
- "base": null,
- "refs": {
- }
- },
- "DescribeCompanyNetworkConfigurationResponse": {
- "base": null,
- "refs": {
- }
- },
- "DescribeDevicePolicyConfigurationRequest": {
- "base": null,
- "refs": {
- }
- },
- "DescribeDevicePolicyConfigurationResponse": {
- "base": null,
- "refs": {
- }
- },
- "DescribeDeviceRequest": {
- "base": null,
- "refs": {
- }
- },
- "DescribeDeviceResponse": {
- "base": null,
- "refs": {
- }
- },
- "DescribeDomainRequest": {
- "base": null,
- "refs": {
- }
- },
- "DescribeDomainResponse": {
- "base": null,
- "refs": {
- }
- },
- "DescribeFleetMetadataRequest": {
- "base": null,
- "refs": {
- }
- },
- "DescribeFleetMetadataResponse": {
- "base": null,
- "refs": {
- }
- },
- "DescribeIdentityProviderConfigurationRequest": {
- "base": null,
- "refs": {
- }
- },
- "DescribeIdentityProviderConfigurationResponse": {
- "base": null,
- "refs": {
- }
- },
- "DescribeWebsiteCertificateAuthorityRequest": {
- "base": null,
- "refs": {
- }
- },
- "DescribeWebsiteCertificateAuthorityResponse": {
- "base": null,
- "refs": {
- }
- },
- "DeviceManufacturer": {
- "base": null,
- "refs": {
- "DescribeDeviceResponse$Manufacturer": "The manufacturer of the device.
"
- }
- },
- "DeviceModel": {
- "base": null,
- "refs": {
- "DescribeDeviceResponse$Model": "The model of the device.
"
- }
- },
- "DeviceOperatingSystemName": {
- "base": null,
- "refs": {
- "DescribeDeviceResponse$OperatingSystem": "The operating system of the device.
"
- }
- },
- "DeviceOperatingSystemVersion": {
- "base": null,
- "refs": {
- "DescribeDeviceResponse$OperatingSystemVersion": "The operating system version of the device.
"
- }
- },
- "DevicePatchLevel": {
- "base": null,
- "refs": {
- "DescribeDeviceResponse$PatchLevel": "The operating system patch level of the device.
"
- }
- },
- "DeviceStatus": {
- "base": null,
- "refs": {
- "DescribeDeviceResponse$Status": "The current state of the device.
",
- "DeviceSummary$DeviceStatus": "The status of the device.
"
- }
- },
- "DeviceSummary": {
- "base": "The summary of devices.
",
- "refs": {
- "DeviceSummaryList$member": null
- }
- },
- "DeviceSummaryList": {
- "base": null,
- "refs": {
- "ListDevicesResponse$Devices": "Information about the devices.
"
- }
- },
- "DisassociateDomainRequest": {
- "base": null,
- "refs": {
- }
- },
- "DisassociateDomainResponse": {
- "base": null,
- "refs": {
- }
- },
- "DisassociateWebsiteAuthorizationProviderRequest": {
- "base": null,
- "refs": {
- }
- },
- "DisassociateWebsiteAuthorizationProviderResponse": {
- "base": null,
- "refs": {
- }
- },
- "DisassociateWebsiteCertificateAuthorityRequest": {
- "base": null,
- "refs": {
- }
- },
- "DisassociateWebsiteCertificateAuthorityResponse": {
- "base": null,
- "refs": {
- }
- },
- "DisplayName": {
- "base": null,
- "refs": {
- "AssociateDomainRequest$DisplayName": "The name to display.
",
- "AssociateWebsiteCertificateAuthorityRequest$DisplayName": "The certificate name to display.
",
- "CreateFleetRequest$DisplayName": "The fleet name to display.
",
- "DescribeDomainResponse$DisplayName": "The name to display.
",
- "DescribeFleetMetadataResponse$DisplayName": "The name to display.
",
- "DescribeWebsiteCertificateAuthorityResponse$DisplayName": "The certificate name to display.
",
- "DomainSummary$DisplayName": "The name to display.
",
- "FleetSummary$DisplayName": "The name of the fleet to display.
",
- "UpdateDomainMetadataRequest$DisplayName": "The name to display.
",
- "UpdateFleetMetadataRequest$DisplayName": "The fleet name to display. The existing DisplayName is unset if null is passed.
",
- "WebsiteCaSummary$DisplayName": "The name to display.
"
- }
- },
- "DomainName": {
- "base": null,
- "refs": {
- "AssociateDomainRequest$DomainName": "The fully qualified domain name (FQDN).
",
- "AssociateWebsiteAuthorizationProviderRequest$DomainName": "The domain name of the authorization provider. This applies only to SAML-based authorization providers.
",
- "DescribeDomainRequest$DomainName": "The name of the domain.
",
- "DescribeDomainResponse$DomainName": "The name of the domain.
",
- "DisassociateDomainRequest$DomainName": "The name of the domain.
",
- "DomainSummary$DomainName": "The name of the domain.
",
- "RestoreDomainAccessRequest$DomainName": "The name of the domain.
",
- "RevokeDomainAccessRequest$DomainName": "The name of the domain.
",
- "UpdateDomainMetadataRequest$DomainName": "The name of the domain.
",
- "WebsiteAuthorizationProviderSummary$DomainName": "The domain name of the authorization provider. This applies only to SAML-based authorization providers.
"
- }
- },
- "DomainStatus": {
- "base": null,
- "refs": {
- "DescribeDomainResponse$DomainStatus": "The current state for the domain.
",
- "DomainSummary$DomainStatus": "The status of the domain.
"
- }
- },
- "DomainSummary": {
- "base": "The summary of the domain.
",
- "refs": {
- "DomainSummaryList$member": null
- }
- },
- "DomainSummaryList": {
- "base": null,
- "refs": {
- "ListDomainsResponse$Domains": "Information about the domains.
"
- }
- },
- "ExceptionMessage": {
- "base": null,
- "refs": {
- "InternalServerErrorException$Message": null,
- "InvalidRequestException$Message": null,
- "ResourceAlreadyExistsException$Message": null,
- "ResourceNotFoundException$Message": null,
- "TooManyRequestsException$Message": null,
- "UnauthorizedException$Message": null
- }
- },
- "FleetArn": {
- "base": null,
- "refs": {
- "AssociateDomainRequest$FleetArn": "The Amazon Resource Name (ARN) of the fleet.
",
- "AssociateWebsiteAuthorizationProviderRequest$FleetArn": "The ARN of the fleet.
",
- "AssociateWebsiteCertificateAuthorityRequest$FleetArn": "The ARN of the fleet.
",
- "CreateFleetResponse$FleetArn": "The Amazon Resource Name (ARN) of the fleet.
",
- "DeleteFleetRequest$FleetArn": "The ARN of the fleet.
",
- "DescribeAuditStreamConfigurationRequest$FleetArn": "The ARN of the fleet.
",
- "DescribeCompanyNetworkConfigurationRequest$FleetArn": "The ARN of the fleet.
",
- "DescribeDevicePolicyConfigurationRequest$FleetArn": "The ARN of the fleet.
",
- "DescribeDeviceRequest$FleetArn": "The ARN of the fleet.
",
- "DescribeDomainRequest$FleetArn": "The ARN of the fleet.
",
- "DescribeFleetMetadataRequest$FleetArn": "The Amazon Resource Name (ARN) of the fleet.
",
- "DescribeIdentityProviderConfigurationRequest$FleetArn": "The ARN of the fleet.
",
- "DescribeWebsiteCertificateAuthorityRequest$FleetArn": "The ARN of the fleet.
",
- "DisassociateDomainRequest$FleetArn": "The ARN of the fleet.
",
- "DisassociateWebsiteAuthorizationProviderRequest$FleetArn": "The ARN of the fleet.
",
- "DisassociateWebsiteCertificateAuthorityRequest$FleetArn": "The ARN of the fleet.
",
- "FleetSummary$FleetArn": "The Amazon Resource Name (ARN) of the fleet.
",
- "ListDevicesRequest$FleetArn": "The ARN of the fleet.
",
- "ListDomainsRequest$FleetArn": "The ARN of the fleet.
",
- "ListTagsForResourceRequest$ResourceArn": "The Amazon Resource Name (ARN) of the fleet.
",
- "ListWebsiteAuthorizationProvidersRequest$FleetArn": "The ARN of the fleet.
",
- "ListWebsiteCertificateAuthoritiesRequest$FleetArn": "The ARN of the fleet.
",
- "RestoreDomainAccessRequest$FleetArn": "The ARN of the fleet.
",
- "RevokeDomainAccessRequest$FleetArn": "The ARN of the fleet.
",
- "SignOutUserRequest$FleetArn": "The ARN of the fleet.
",
- "TagResourceRequest$ResourceArn": "The Amazon Resource Name (ARN) of the fleet.
",
- "UntagResourceRequest$ResourceArn": "The Amazon Resource Name (ARN) of the fleet.
",
- "UpdateAuditStreamConfigurationRequest$FleetArn": "The ARN of the fleet.
",
- "UpdateCompanyNetworkConfigurationRequest$FleetArn": "The ARN of the fleet.
",
- "UpdateDevicePolicyConfigurationRequest$FleetArn": "The ARN of the fleet.
",
- "UpdateDomainMetadataRequest$FleetArn": "The ARN of the fleet.
",
- "UpdateFleetMetadataRequest$FleetArn": "The ARN of the fleet.
",
- "UpdateIdentityProviderConfigurationRequest$FleetArn": "The ARN of the fleet.
"
- }
- },
- "FleetName": {
- "base": null,
- "refs": {
- "CreateFleetRequest$FleetName": "A unique name for the fleet.
",
- "DescribeFleetMetadataResponse$FleetName": "The name of the fleet.
",
- "FleetSummary$FleetName": "The name of the fleet.
"
- }
- },
- "FleetStatus": {
- "base": null,
- "refs": {
- "DescribeFleetMetadataResponse$FleetStatus": "The current state of the fleet.
",
- "FleetSummary$FleetStatus": "The status of the fleet.
"
- }
- },
- "FleetSummary": {
- "base": "The summary of the fleet.
",
- "refs": {
- "FleetSummaryList$member": null
- }
- },
- "FleetSummaryList": {
- "base": null,
- "refs": {
- "ListFleetsResponse$FleetSummaryList": "The summary list of the fleets.
"
- }
- },
- "Id": {
- "base": null,
- "refs": {
- "AssociateWebsiteAuthorizationProviderResponse$AuthorizationProviderId": "A unique identifier for the authorization provider.
",
- "AssociateWebsiteCertificateAuthorityResponse$WebsiteCaId": "A unique identifier for the CA.
",
- "DescribeDeviceRequest$DeviceId": "A unique identifier for a registered user's device.
",
- "DescribeWebsiteCertificateAuthorityRequest$WebsiteCaId": "A unique identifier for the certificate authority.
",
- "DeviceSummary$DeviceId": "The ID of the device.
",
- "DisassociateWebsiteAuthorizationProviderRequest$AuthorizationProviderId": "A unique identifier for the authorization provider.
",
- "DisassociateWebsiteCertificateAuthorityRequest$WebsiteCaId": "A unique identifier for the CA.
",
- "WebsiteAuthorizationProviderSummary$AuthorizationProviderId": "A unique identifier for the authorization provider.
",
- "WebsiteCaSummary$WebsiteCaId": "A unique identifier for the CA.
"
- }
- },
- "IdentityProviderType": {
- "base": null,
- "refs": {
- "DescribeIdentityProviderConfigurationResponse$IdentityProviderType": "The type of identity provider.
",
- "UpdateIdentityProviderConfigurationRequest$IdentityProviderType": "The type of identity provider.
"
- }
- },
- "InternalServerErrorException": {
- "base": "The service is temporarily unavailable.
",
- "refs": {
- }
- },
- "InvalidRequestException": {
- "base": "The request is not valid.
",
- "refs": {
- }
- },
- "ListDevicesRequest": {
- "base": null,
- "refs": {
- }
- },
- "ListDevicesResponse": {
- "base": null,
- "refs": {
- }
- },
- "ListDomainsRequest": {
- "base": null,
- "refs": {
- }
- },
- "ListDomainsResponse": {
- "base": null,
- "refs": {
- }
- },
- "ListFleetsRequest": {
- "base": null,
- "refs": {
- }
- },
- "ListFleetsResponse": {
- "base": null,
- "refs": {
- }
- },
- "ListTagsForResourceRequest": {
- "base": null,
- "refs": {
- }
- },
- "ListTagsForResourceResponse": {
- "base": null,
- "refs": {
- }
- },
- "ListWebsiteAuthorizationProvidersRequest": {
- "base": null,
- "refs": {
- }
- },
- "ListWebsiteAuthorizationProvidersResponse": {
- "base": null,
- "refs": {
- }
- },
- "ListWebsiteCertificateAuthoritiesRequest": {
- "base": null,
- "refs": {
- }
- },
- "ListWebsiteCertificateAuthoritiesResponse": {
- "base": null,
- "refs": {
- }
- },
- "MaxResults": {
- "base": null,
- "refs": {
- "ListDevicesRequest$MaxResults": "The maximum number of results to be included in the next page.
",
- "ListDomainsRequest$MaxResults": "The maximum number of results to be included in the next page.
",
- "ListFleetsRequest$MaxResults": "The maximum number of results to be included in the next page.
",
- "ListWebsiteAuthorizationProvidersRequest$MaxResults": "The maximum number of results to be included in the next page.
",
- "ListWebsiteCertificateAuthoritiesRequest$MaxResults": "The maximum number of results to be included in the next page.
"
- }
- },
- "NextToken": {
- "base": null,
- "refs": {
- "ListDevicesRequest$NextToken": "The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
",
- "ListDevicesResponse$NextToken": "The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
",
- "ListDomainsRequest$NextToken": "The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
",
- "ListDomainsResponse$NextToken": "The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
",
- "ListFleetsRequest$NextToken": "The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
",
- "ListFleetsResponse$NextToken": "The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
",
- "ListWebsiteAuthorizationProvidersRequest$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
",
- "ListWebsiteAuthorizationProvidersResponse$NextToken": "The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
",
- "ListWebsiteCertificateAuthoritiesRequest$NextToken": "The pagination token used to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.
",
- "ListWebsiteCertificateAuthoritiesResponse$NextToken": "The pagination token used to retrieve the next page of results for this operation. If there are no more pages, this value is null.
"
- }
- },
- "ResourceAlreadyExistsException": {
- "base": "The resource already exists.
",
- "refs": {
- }
- },
- "ResourceNotFoundException": {
- "base": "The requested resource was not found.
",
- "refs": {
- }
- },
- "RestoreDomainAccessRequest": {
- "base": null,
- "refs": {
- }
- },
- "RestoreDomainAccessResponse": {
- "base": null,
- "refs": {
- }
- },
- "RevokeDomainAccessRequest": {
- "base": null,
- "refs": {
- }
- },
- "RevokeDomainAccessResponse": {
- "base": null,
- "refs": {
- }
- },
- "SamlMetadata": {
- "base": null,
- "refs": {
- "DescribeIdentityProviderConfigurationResponse$ServiceProviderSamlMetadata": "The SAML metadata document uploaded to the user’s identity provider.
",
- "DescribeIdentityProviderConfigurationResponse$IdentityProviderSamlMetadata": "The SAML metadata document provided by the user’s identity provider.
",
- "UpdateIdentityProviderConfigurationRequest$IdentityProviderSamlMetadata": "The SAML metadata document provided by the customer’s identity provider. The existing IdentityProviderSamlMetadata is unset if null is passed.
"
- }
- },
- "SecurityGroupId": {
- "base": null,
- "refs": {
- "SecurityGroupIds$member": null
- }
- },
- "SecurityGroupIds": {
- "base": null,
- "refs": {
- "DescribeCompanyNetworkConfigurationResponse$SecurityGroupIds": "The security groups associated with access to the provided subnets.
",
- "UpdateCompanyNetworkConfigurationRequest$SecurityGroupIds": "The security groups associated with access to the provided subnets.
"
- }
- },
- "SignOutUserRequest": {
- "base": null,
- "refs": {
- }
- },
- "SignOutUserResponse": {
- "base": null,
- "refs": {
- }
- },
- "SubnetId": {
- "base": null,
- "refs": {
- "SubnetIds$member": null
- }
- },
- "SubnetIds": {
- "base": null,
- "refs": {
- "DescribeCompanyNetworkConfigurationResponse$SubnetIds": "The subnets used for X-ENI connections from Amazon WorkLink rendering containers.
",
- "UpdateCompanyNetworkConfigurationRequest$SubnetIds": "The subnets used for X-ENI connections from Amazon WorkLink rendering containers.
"
- }
- },
- "TagKey": {
- "base": null,
- "refs": {
- "TagKeyList$member": null,
- "TagMap$key": null
- }
- },
- "TagKeyList": {
- "base": null,
- "refs": {
- "UntagResourceRequest$TagKeys": "The list of tag keys to remove from the resource.
"
- }
- },
- "TagMap": {
- "base": null,
- "refs": {
- "CreateFleetRequest$Tags": " The tags to add to the resource. A tag is a key-value pair.
",
- "DescribeFleetMetadataResponse$Tags": "The tags attached to the resource. A tag is a key-value pair.
",
- "FleetSummary$Tags": "The tags attached to the resource. A tag is a key-value pair.
",
- "ListTagsForResourceResponse$Tags": "The tags attached to the resource. A tag is a key-value pair.
",
- "TagResourceRequest$Tags": "The tags to add to the resource. A tag is a key-value pair.
"
- }
- },
- "TagResourceRequest": {
- "base": null,
- "refs": {
- }
- },
- "TagResourceResponse": {
- "base": null,
- "refs": {
- }
- },
- "TagValue": {
- "base": null,
- "refs": {
- "TagMap$value": null
- }
- },
- "TooManyRequestsException": {
- "base": "The number of requests exceeds the limit.
",
- "refs": {
- }
- },
- "UnauthorizedException": {
- "base": "You are not authorized to perform this action.
",
- "refs": {
- }
- },
- "UntagResourceRequest": {
- "base": null,
- "refs": {
- }
- },
- "UntagResourceResponse": {
- "base": null,
- "refs": {
- }
- },
- "UpdateAuditStreamConfigurationRequest": {
- "base": null,
- "refs": {
- }
- },
- "UpdateAuditStreamConfigurationResponse": {
- "base": null,
- "refs": {
- }
- },
- "UpdateCompanyNetworkConfigurationRequest": {
- "base": null,
- "refs": {
- }
- },
- "UpdateCompanyNetworkConfigurationResponse": {
- "base": null,
- "refs": {
- }
- },
- "UpdateDevicePolicyConfigurationRequest": {
- "base": null,
- "refs": {
- }
- },
- "UpdateDevicePolicyConfigurationResponse": {
- "base": null,
- "refs": {
- }
- },
- "UpdateDomainMetadataRequest": {
- "base": null,
- "refs": {
- }
- },
- "UpdateDomainMetadataResponse": {
- "base": null,
- "refs": {
- }
- },
- "UpdateFleetMetadataRequest": {
- "base": null,
- "refs": {
- }
- },
- "UpdateFleetMetadataResponse": {
- "base": null,
- "refs": {
- }
- },
- "UpdateIdentityProviderConfigurationRequest": {
- "base": null,
- "refs": {
- }
- },
- "UpdateIdentityProviderConfigurationResponse": {
- "base": null,
- "refs": {
- }
- },
- "Username": {
- "base": null,
- "refs": {
- "DescribeDeviceResponse$Username": "The user name associated with the device.
",
- "SignOutUserRequest$Username": "The name of the user.
"
- }
- },
- "VpcId": {
- "base": null,
- "refs": {
- "DescribeCompanyNetworkConfigurationResponse$VpcId": "The VPC with connectivity to associated websites.
",
- "UpdateCompanyNetworkConfigurationRequest$VpcId": "The VPC with connectivity to associated websites.
"
- }
- },
- "WebsiteAuthorizationProviderSummary": {
- "base": "The summary of the website authorization provider.
",
- "refs": {
- "WebsiteAuthorizationProvidersSummaryList$member": null
- }
- },
- "WebsiteAuthorizationProvidersSummaryList": {
- "base": null,
- "refs": {
- "ListWebsiteAuthorizationProvidersResponse$WebsiteAuthorizationProviders": "The website authorization providers.
"
- }
- },
- "WebsiteCaSummary": {
- "base": "The summary of the certificate authority (CA).
",
- "refs": {
- "WebsiteCaSummaryList$member": null
- }
- },
- "WebsiteCaSummaryList": {
- "base": null,
- "refs": {
- "ListWebsiteCertificateAuthoritiesResponse$WebsiteCertificateAuthorities": "Information about the certificates.
"
- }
- }
- }
-}
diff --git a/apis/worklink/2018-09-25/endpoint-rule-set-1.json b/apis/worklink/2018-09-25/endpoint-rule-set-1.json
deleted file mode 100644
index b68590f6cee..00000000000
--- a/apis/worklink/2018-09-25/endpoint-rule-set-1.json
+++ /dev/null
@@ -1,314 +0,0 @@
-{
- "version": "1.0",
- "parameters": {
- "Region": {
- "builtIn": "AWS::Region",
- "required": false,
- "documentation": "The AWS region used to dispatch the request.",
- "type": "String"
- },
- "UseDualStack": {
- "builtIn": "AWS::UseDualStack",
- "required": true,
- "default": false,
- "documentation": "When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.",
- "type": "Boolean"
- },
- "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"
- }
- },
- "rules": [
- {
- "conditions": [
- {
- "fn": "isSet",
- "argv": [
- {
- "ref": "Endpoint"
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseFIPS"
- },
- true
- ]
- }
- ],
- "error": "Invalid Configuration: FIPS and custom endpoint are not supported",
- "type": "error"
- },
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "error": "Invalid Configuration: Dualstack and custom endpoint are not supported",
- "type": "error"
- },
- {
- "conditions": [],
- "endpoint": {
- "url": {
- "ref": "Endpoint"
- },
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
- },
- {
- "conditions": [
- {
- "fn": "isSet",
- "argv": [
- {
- "ref": "Region"
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "aws.partition",
- "argv": [
- {
- "ref": "Region"
- }
- ],
- "assign": "PartitionResult"
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseFIPS"
- },
- true
- ]
- },
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsFIPS"
- ]
- }
- ]
- },
- {
- "fn": "booleanEquals",
- "argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsDualStack"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://worklink-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
- },
- {
- "conditions": [],
- "error": "FIPS and DualStack are enabled, but this partition does not support one or both",
- "type": "error"
- }
- ]
- },
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseFIPS"
- },
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsFIPS"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://worklink-fips.{Region}.{PartitionResult#dnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
- },
- {
- "conditions": [],
- "error": "FIPS is enabled but this partition does not support FIPS",
- "type": "error"
- }
- ]
- },
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- {
- "ref": "UseDualStack"
- },
- true
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [
- {
- "fn": "booleanEquals",
- "argv": [
- true,
- {
- "fn": "getAttr",
- "argv": [
- {
- "ref": "PartitionResult"
- },
- "supportsDualStack"
- ]
- }
- ]
- }
- ],
- "type": "tree",
- "rules": [
- {
- "conditions": [],
- "endpoint": {
- "url": "https://worklink.{Region}.{PartitionResult#dualStackDnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
- },
- {
- "conditions": [],
- "error": "DualStack is enabled but this partition does not support DualStack",
- "type": "error"
- }
- ]
- },
- {
- "conditions": [],
- "endpoint": {
- "url": "https://worklink.{Region}.{PartitionResult#dnsSuffix}",
- "properties": {},
- "headers": {}
- },
- "type": "endpoint"
- }
- ]
- }
- ]
- },
- {
- "conditions": [],
- "error": "Invalid Configuration: Missing Region",
- "type": "error"
- }
- ]
-}
\ No newline at end of file
diff --git a/apis/worklink/2018-09-25/paginators-1.json b/apis/worklink/2018-09-25/paginators-1.json
deleted file mode 100644
index e97d9639cea..00000000000
--- a/apis/worklink/2018-09-25/paginators-1.json
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- "pagination": {
- "ListDevices": {
- "input_token": "NextToken",
- "output_token": "NextToken",
- "limit_key": "MaxResults"
- },
- "ListDomains": {
- "input_token": "NextToken",
- "output_token": "NextToken",
- "limit_key": "MaxResults"
- },
- "ListFleets": {
- "input_token": "NextToken",
- "output_token": "NextToken",
- "limit_key": "MaxResults"
- },
- "ListWebsiteAuthorizationProviders": {
- "input_token": "NextToken",
- "output_token": "NextToken",
- "limit_key": "MaxResults"
- },
- "ListWebsiteCertificateAuthorities": {
- "input_token": "NextToken",
- "output_token": "NextToken",
- "limit_key": "MaxResults"
- }
- }
-}
diff --git a/apis/workspaces-web/2020-07-08/api-2.json b/apis/workspaces-web/2020-07-08/api-2.json
index 82d48ff7374..5c4d5ce2a4d 100644
--- a/apis/workspaces-web/2020-07-08/api-2.json
+++ b/apis/workspaces-web/2020-07-08/api-2.json
@@ -5,11 +5,13 @@
"endpointPrefix":"workspaces-web",
"jsonVersion":"1.1",
"protocol":"rest-json",
+ "protocols":["rest-json"],
"serviceFullName":"Amazon WorkSpaces Web",
"serviceId":"WorkSpaces Web",
"signatureVersion":"v4",
"signingName":"workspaces-web",
- "uid":"workspaces-web-2020-07-08"
+ "uid":"workspaces-web-2020-07-08",
+ "auth":["aws.auth#sigv4"]
},
"operations":{
"AssociateBrowserSettings":{
@@ -531,6 +533,24 @@
],
"idempotent":true
},
+ "ExpireSession":{
+ "name":"ExpireSession",
+ "http":{
+ "method":"DELETE",
+ "requestUri":"/portals/{portalId}/sessions/{sessionId}",
+ "responseCode":200
+ },
+ "input":{"shape":"ExpireSessionRequest"},
+ "output":{"shape":"ExpireSessionResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"}
+ ],
+ "idempotent":true
+ },
"GetBrowserSettings":{
"name":"GetBrowserSettings",
"http":{
@@ -633,6 +653,23 @@
{"shape":"ValidationException"}
]
},
+ "GetSession":{
+ "name":"GetSession",
+ "http":{
+ "method":"GET",
+ "requestUri":"/portals/{portalId}/sessions/{sessionId}",
+ "responseCode":200
+ },
+ "input":{"shape":"GetSessionRequest"},
+ "output":{"shape":"GetSessionResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"}
+ ]
+ },
"GetTrustStore":{
"name":"GetTrustStore",
"http":{
@@ -781,6 +818,23 @@
{"shape":"ValidationException"}
]
},
+ "ListSessions":{
+ "name":"ListSessions",
+ "http":{
+ "method":"GET",
+ "requestUri":"/portals/{portalId}/sessions",
+ "responseCode":200
+ },
+ "input":{"shape":"ListSessionsRequest"},
+ "output":{"shape":"ListSessionsResponse"},
+ "errors":[
+ {"shape":"InternalServerException"},
+ {"shape":"ResourceNotFoundException"},
+ {"shape":"AccessDeniedException"},
+ {"shape":"ThrottlingException"},
+ {"shape":"ValidationException"}
+ ]
+ },
"ListTagsForResource":{
"name":"ListTagsForResource",
"http":{
@@ -1843,6 +1897,30 @@
"value":{"shape":"StringType"}
},
"ExceptionMessage":{"type":"string"},
+ "ExpireSessionRequest":{
+ "type":"structure",
+ "required":[
+ "portalId",
+ "sessionId"
+ ],
+ "members":{
+ "portalId":{
+ "shape":"PortalId",
+ "location":"uri",
+ "locationName":"portalId"
+ },
+ "sessionId":{
+ "shape":"SessionId",
+ "location":"uri",
+ "locationName":"sessionId"
+ }
+ }
+ },
+ "ExpireSessionResponse":{
+ "type":"structure",
+ "members":{
+ }
+ },
"FieldName":{"type":"string"},
"GetBrowserSettingsRequest":{
"type":"structure",
@@ -1948,6 +2026,31 @@
"serviceProviderSamlMetadata":{"shape":"SamlMetadata"}
}
},
+ "GetSessionRequest":{
+ "type":"structure",
+ "required":[
+ "portalId",
+ "sessionId"
+ ],
+ "members":{
+ "portalId":{
+ "shape":"PortalId",
+ "location":"uri",
+ "locationName":"portalId"
+ },
+ "sessionId":{
+ "shape":"SessionId",
+ "location":"uri",
+ "locationName":"sessionId"
+ }
+ }
+ },
+ "GetSessionResponse":{
+ "type":"structure",
+ "members":{
+ "session":{"shape":"Session"}
+ }
+ },
"GetTrustStoreCertificateRequest":{
"type":"structure",
"required":[
@@ -2129,6 +2232,19 @@
"ipAccessSettingsArn":{"shape":"ARN"}
}
},
+ "IpAddress":{
+ "type":"string",
+ "max":15,
+ "min":1,
+ "pattern":"^((([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5])\\.){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))$|^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$",
+ "sensitive":true
+ },
+ "IpAddressList":{
+ "type":"list",
+ "member":{"shape":"IpAddress"},
+ "max":45,
+ "min":1
+ },
"IpRange":{
"type":"string",
"pattern":"^\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(?:/([0-9]|[12][0-9]|3[0-2])|)$",
@@ -2271,6 +2387,55 @@
"portals":{"shape":"PortalList"}
}
},
+ "ListSessionsRequest":{
+ "type":"structure",
+ "required":["portalId"],
+ "members":{
+ "maxResults":{
+ "shape":"MaxResults",
+ "location":"querystring",
+ "locationName":"maxResults"
+ },
+ "nextToken":{
+ "shape":"PaginationToken",
+ "location":"querystring",
+ "locationName":"nextToken"
+ },
+ "portalId":{
+ "shape":"PortalId",
+ "location":"uri",
+ "locationName":"portalId"
+ },
+ "sessionId":{
+ "shape":"SessionId",
+ "location":"querystring",
+ "locationName":"sessionId"
+ },
+ "sortBy":{
+ "shape":"SessionSortBy",
+ "location":"querystring",
+ "locationName":"sortBy"
+ },
+ "status":{
+ "shape":"SessionStatus",
+ "location":"querystring",
+ "locationName":"status"
+ },
+ "username":{
+ "shape":"Username",
+ "location":"querystring",
+ "locationName":"username"
+ }
+ }
+ },
+ "ListSessionsResponse":{
+ "type":"structure",
+ "required":["sessions"],
+ "members":{
+ "nextToken":{"shape":"PaginationToken"},
+ "sessions":{"shape":"SessionSummaryList"}
+ }
+ },
"ListTagsForResourceRequest":{
"type":"structure",
"required":["resourceArn"],
@@ -2455,6 +2620,12 @@
"min":1,
"pattern":"^[a-zA-Z0-9]?((?!-)([A-Za-z0-9-]*[A-Za-z0-9])\\.)+[a-zA-Z0-9]+$"
},
+ "PortalId":{
+ "type":"string",
+ "max":36,
+ "min":36,
+ "pattern":"^[a-zA-Z0-9\\-]+$"
+ },
"PortalList":{
"type":"list",
"member":{"shape":"PortalSummary"}
@@ -2544,6 +2715,53 @@
},
"exception":true
},
+ "Session":{
+ "type":"structure",
+ "members":{
+ "clientIpAddresses":{"shape":"IpAddressList"},
+ "endTime":{"shape":"Timestamp"},
+ "portalArn":{"shape":"ARN"},
+ "sessionId":{"shape":"StringType"},
+ "startTime":{"shape":"Timestamp"},
+ "status":{"shape":"SessionStatus"},
+ "username":{"shape":"Username"}
+ }
+ },
+ "SessionId":{
+ "type":"string",
+ "max":36,
+ "min":36,
+ "pattern":"^[a-zA-Z0-9\\-]+$"
+ },
+ "SessionSortBy":{
+ "type":"string",
+ "enum":[
+ "StartTimeAscending",
+ "StartTimeDescending"
+ ]
+ },
+ "SessionStatus":{
+ "type":"string",
+ "enum":[
+ "Active",
+ "Terminated"
+ ]
+ },
+ "SessionSummary":{
+ "type":"structure",
+ "members":{
+ "endTime":{"shape":"Timestamp"},
+ "portalArn":{"shape":"ARN"},
+ "sessionId":{"shape":"StringType"},
+ "startTime":{"shape":"Timestamp"},
+ "status":{"shape":"SessionStatus"},
+ "username":{"shape":"Username"}
+ }
+ },
+ "SessionSummaryList":{
+ "type":"list",
+ "member":{"shape":"SessionSummary"}
+ },
"StatusReason":{
"type":"string",
"max":1024,
@@ -2565,7 +2783,7 @@
"SubnetIdList":{
"type":"list",
"member":{"shape":"SubnetId"},
- "max":3,
+ "max":5,
"min":2
},
"SubresourceARN":{
@@ -2967,6 +3185,13 @@
"userSettingsArn":{"shape":"ARN"}
}
},
+ "Username":{
+ "type":"string",
+ "max":256,
+ "min":0,
+ "pattern":"^[\\s\\S]*$",
+ "sensitive":true
+ },
"ValidationException":{
"type":"structure",
"members":{
diff --git a/apis/workspaces-web/2020-07-08/docs-2.json b/apis/workspaces-web/2020-07-08/docs-2.json
index 7b5d4b81bd0..ed55ec3a960 100644
--- a/apis/workspaces-web/2020-07-08/docs-2.json
+++ b/apis/workspaces-web/2020-07-08/docs-2.json
@@ -30,12 +30,14 @@
"DisassociateTrustStore": "Disassociates a trust store from a web portal.
",
"DisassociateUserAccessLoggingSettings": "Disassociates user access logging settings from a web portal.
",
"DisassociateUserSettings": "Disassociates user settings from a web portal.
",
+ "ExpireSession": "Expires an active secure browser session.
",
"GetBrowserSettings": "Gets browser settings.
",
"GetIdentityProvider": "Gets the identity provider.
",
"GetIpAccessSettings": "Gets the IP access settings.
",
"GetNetworkSettings": "Gets the network settings.
",
"GetPortal": "Gets the web portal.
",
"GetPortalServiceProviderMetadata": "Gets the service provider metadata.
",
+ "GetSession": "Gets information for a secure browser session.
",
"GetTrustStore": "Gets the trust store.
",
"GetTrustStoreCertificate": "Gets the trust store certificate.
",
"GetUserAccessLoggingSettings": "Gets user access logging settings.
",
@@ -45,6 +47,7 @@
"ListIpAccessSettings": "Retrieves a list of IP access settings.
",
"ListNetworkSettings": "Retrieves a list of network settings.
",
"ListPortals": "Retrieves a list or web portals.
",
+ "ListSessions": "Lists information for multiple secure browser sessions from a specific portal.
",
"ListTagsForResource": "Retrieves a list of tags for a resource.
",
"ListTrustStoreCertificates": "Retrieves a list of trust store certificates.
",
"ListTrustStores": "Retrieves a list of trust stores.
",
@@ -146,6 +149,8 @@
"PortalSummary$trustStoreArn": "The ARN of the trust that is associated with this web portal.
",
"PortalSummary$userAccessLoggingSettingsArn": "The ARN of the user access logging settings that is associated with the web portal.
",
"PortalSummary$userSettingsArn": "The ARN of the user settings that is associated with the web portal.
",
+ "Session$portalArn": "The ARN of the web portal.
",
+ "SessionSummary$portalArn": "The ARN of the web portal.
",
"TagResourceRequest$resourceArn": "The ARN of the resource.
",
"TooManyTagsException$resourceName": "Name of the resource affected.
",
"TrustStore$trustStoreArn": "The ARN of the trust store.
",
@@ -244,10 +249,10 @@
"AuthenticationType": {
"base": null,
"refs": {
- "CreatePortalRequest$authenticationType": "The type of authentication integration points used when signing into the web portal. Defaults to Standard
.
Standard
web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider
to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center
web portals are authenticated through IAM Identity Center (successor to Single Sign-On). Identity sources (including external identity provider integration), plus user and group access to your web portal, can be configured in the IAM Identity Center.
",
- "Portal$authenticationType": "The type of authentication integration points used when signing into the web portal. Defaults to Standard
.
Standard
web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider
to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center
web portals are authenticated through IAM Identity Center (successor to Single Sign-On). Identity sources (including external identity provider integration), plus user and group access to your web portal, can be configured in the IAM Identity Center.
",
- "PortalSummary$authenticationType": "The type of authentication integration points used when signing into the web portal. Defaults to Standard
.
Standard
web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider
to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center
web portals are authenticated through IAM Identity Center (successor to Single Sign-On). Identity sources (including external identity provider integration), plus user and group access to your web portal, can be configured in the IAM Identity Center.
",
- "UpdatePortalRequest$authenticationType": "The type of authentication integration points used when signing into the web portal. Defaults to Standard
.
Standard
web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider
to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center
web portals are authenticated through IAM Identity Center (successor to Single Sign-On). Identity sources (including external identity provider integration), plus user and group access to your web portal, can be configured in the IAM Identity Center.
"
+ "CreatePortalRequest$authenticationType": "The type of authentication integration points used when signing into the web portal. Defaults to Standard
.
Standard
web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider
to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center
web portals are authenticated through IAM Identity Center. Identity sources (including external identity provider integration), plus user and group access to your web portal, can be configured in the IAM Identity Center.
",
+ "Portal$authenticationType": "The type of authentication integration points used when signing into the web portal. Defaults to Standard
.
Standard
web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider
to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center
web portals are authenticated through IAM Identity Center. Identity sources (including external identity provider integration), plus user and group access to your web portal, can be configured in the IAM Identity Center.
",
+ "PortalSummary$authenticationType": "The type of authentication integration points used when signing into the web portal. Defaults to Standard
.
Standard
web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider
to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center
web portals are authenticated through IAM Identity Center. Identity sources (including external identity provider integration), plus user and group access to your web portal, can be configured in the IAM Identity Center.
",
+ "UpdatePortalRequest$authenticationType": "The type of authentication integration points used when signing into the web portal. Defaults to Standard
.
Standard
web portals are authenticated directly through your identity provider. You need to call CreateIdentityProvider
to integrate your identity provider with your web portal. User and group access to your web portal is controlled through your identity provider.
IAM Identity Center
web portals are authenticated through IAM Identity Center. Identity sources (including external identity provider integration), plus user and group access to your web portal, can be configured in the IAM Identity Center.
"
}
},
"BrowserPolicy": {
@@ -713,6 +718,16 @@
"ValidationExceptionField$message": "The message describing why the field failed validation.
"
}
},
+ "ExpireSessionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ExpireSessionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"FieldName": {
"base": null,
"refs": {
@@ -779,6 +794,16 @@
"refs": {
}
},
+ "GetSessionRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "GetSessionResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"GetTrustStoreCertificateRequest": {
"base": null,
"refs": {
@@ -906,6 +931,18 @@
"IpAccessSettingsList$member": null
}
},
+ "IpAddress": {
+ "base": null,
+ "refs": {
+ "IpAddressList$member": null
+ }
+ },
+ "IpAddressList": {
+ "base": null,
+ "refs": {
+ "Session$clientIpAddresses": "The IP address of the client.
"
+ }
+ },
"IpRange": {
"base": "A single IP address or an IP address range in CIDR notation
",
"refs": {
@@ -985,6 +1022,16 @@
"refs": {
}
},
+ "ListSessionsRequest": {
+ "base": null,
+ "refs": {
+ }
+ },
+ "ListSessionsResponse": {
+ "base": null,
+ "refs": {
+ }
+ },
"ListTagsForResourceRequest": {
"base": null,
"refs": {
@@ -1052,6 +1099,7 @@
"ListIpAccessSettingsRequest$maxResults": "The maximum number of results to be included in the next page.
",
"ListNetworkSettingsRequest$maxResults": "The maximum number of results to be included in the next page.
",
"ListPortalsRequest$maxResults": "The maximum number of results to be included in the next page.
",
+ "ListSessionsRequest$maxResults": "The maximum number of results to be included in the next page.
",
"ListTrustStoreCertificatesRequest$maxResults": "The maximum number of results to be included in the next page.
",
"ListTrustStoresRequest$maxResults": "The maximum number of results to be included in the next page.
",
"ListUserAccessLoggingSettingsRequest$maxResults": "The maximum number of results to be included in the next page.
",
@@ -1090,6 +1138,8 @@
"ListNetworkSettingsResponse$nextToken": "The pagination token used to retrieve the next page of results for this operation.
",
"ListPortalsRequest$nextToken": "The pagination token used to retrieve the next page of results for this operation.
",
"ListPortalsResponse$nextToken": "The pagination token used to retrieve the next page of results for this operation.
",
+ "ListSessionsRequest$nextToken": "The pagination token used to retrieve the next page of results for this operation.
",
+ "ListSessionsResponse$nextToken": "The pagination token used to retrieve the next page of results for this operation.
",
"ListTrustStoreCertificatesRequest$nextToken": "The pagination token used to retrieve the next page of results for this operation.
",
"ListTrustStoreCertificatesResponse$nextToken": "The pagination token used to retrieve the next page of results for this operation.>
",
"ListTrustStoresRequest$nextToken": "The pagination token used to retrieve the next page of results for this operation.
",
@@ -1115,6 +1165,14 @@
"PortalSummary$portalEndpoint": "The endpoint URL of the web portal that users access in order to start streaming sessions.
"
}
},
+ "PortalId": {
+ "base": null,
+ "refs": {
+ "ExpireSessionRequest$portalId": "The ID of the web portal for the session.
",
+ "GetSessionRequest$portalId": "The ID of the web portal for the session.
",
+ "ListSessionsRequest$portalId": "The ID of the web portal for the sessions.
"
+ }
+ },
"PortalList": {
"base": null,
"refs": {
@@ -1208,6 +1266,46 @@
"refs": {
}
},
+ "Session": {
+ "base": "Information about a secure browser session.
",
+ "refs": {
+ "GetSessionResponse$session": "The sessions in a list.
"
+ }
+ },
+ "SessionId": {
+ "base": null,
+ "refs": {
+ "ExpireSessionRequest$sessionId": "The ID of the session to expire.
",
+ "GetSessionRequest$sessionId": "The ID of the session.
",
+ "ListSessionsRequest$sessionId": "The ID of the session.
"
+ }
+ },
+ "SessionSortBy": {
+ "base": null,
+ "refs": {
+ "ListSessionsRequest$sortBy": "The method in which the returned sessions should be sorted.
"
+ }
+ },
+ "SessionStatus": {
+ "base": null,
+ "refs": {
+ "ListSessionsRequest$status": "The status of the session.
",
+ "Session$status": "The status of the session.
",
+ "SessionSummary$status": "The status of the session.
"
+ }
+ },
+ "SessionSummary": {
+ "base": "Summary information about a secure browser session.
",
+ "refs": {
+ "SessionSummaryList$member": null
+ }
+ },
+ "SessionSummaryList": {
+ "base": null,
+ "refs": {
+ "ListSessionsResponse$sessions": "The sessions in a list.
"
+ }
+ },
"StatusReason": {
"base": null,
"refs": {
@@ -1220,7 +1318,9 @@
"EncryptionContextMap$key": null,
"EncryptionContextMap$value": null,
"IdentityProviderDetails$key": null,
- "IdentityProviderDetails$value": null
+ "IdentityProviderDetails$value": null,
+ "Session$sessionId": "The ID of the session.
",
+ "SessionSummary$sessionId": "The ID of the session.
"
}
},
"SubnetId": {
@@ -1319,7 +1419,11 @@
"IpAccessSettings$creationDate": "The creation date timestamp of the IP access settings.
",
"IpAccessSettingsSummary$creationDate": "The creation date timestamp of the IP access settings.
",
"Portal$creationDate": "The creation date of the web portal.
",
- "PortalSummary$creationDate": "The creation date of the web portal.
"
+ "PortalSummary$creationDate": "The creation date of the web portal.
",
+ "Session$endTime": "The end time of the session.
",
+ "Session$startTime": "The start time of the session.
",
+ "SessionSummary$endTime": "The end time of the session.
",
+ "SessionSummary$startTime": "The start time of the session.
"
}
},
"TooManyTagsException": {
@@ -1473,6 +1577,14 @@
"UserSettingsList$member": null
}
},
+ "Username": {
+ "base": null,
+ "refs": {
+ "ListSessionsRequest$username": "The username of the session.
",
+ "Session$username": "The username of the session.
",
+ "SessionSummary$username": "The username of the session.
"
+ }
+ },
"ValidationException": {
"base": "There is a validation error.
",
"refs": {
diff --git a/apis/workspaces-web/2020-07-08/paginators-1.json b/apis/workspaces-web/2020-07-08/paginators-1.json
index 98a37865034..94a5374aece 100644
--- a/apis/workspaces-web/2020-07-08/paginators-1.json
+++ b/apis/workspaces-web/2020-07-08/paginators-1.json
@@ -25,6 +25,12 @@
"output_token": "nextToken",
"limit_key": "maxResults"
},
+ "ListSessions": {
+ "input_token": "nextToken",
+ "output_token": "nextToken",
+ "limit_key": "maxResults",
+ "result_key": "sessions"
+ },
"ListTrustStoreCertificates": {
"input_token": "nextToken",
"output_token": "nextToken",
diff --git a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/endpoints_module.rb b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/endpoints_module.rb
index 1dfab1d7550..cc075d0af08 100644
--- a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/endpoints_module.rb
+++ b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/endpoints_module.rb
@@ -42,10 +42,6 @@ def initialize(options)
# @return [Array]
attr_reader :parameters
-
- def has_endpoint_built_in?
- parameters.any? { |p| p.param_data['builtIn'] == 'SDK::Endpoint' }
- end
end
class EndpointParameter
@@ -155,7 +151,7 @@ def built_in_client_context_param_value(param_data)
when 'AWS::S3::DisableMultiRegionAccessPoints'
'context.config.s3_disable_multiregion_access_points'
when 'SDK::Endpoint'
- 'endpoint'
+ 'context.config.regional_endpoint ? nil : context.config.endpoint.to_s'
end
end
diff --git a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/spec/endpoint_provider_spec_class.rb b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/spec/endpoint_provider_spec_class.rb
index 4b5dee46a59..69bbb10a877 100644
--- a/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/spec/endpoint_provider_spec_class.rb
+++ b/build_tools/aws-sdk-code-generator/lib/aws-sdk-code-generator/views/spec/endpoint_provider_spec_class.rb
@@ -51,9 +51,9 @@ def initialize(options)
operation_name: Underscore.underscore(
operation_inputs_test['operationName']
),
- operation_params: operation_inputs_test['operationParams'] || [],
- built_in_params: operation_inputs_test['builtInParams'] || [],
- client_params: operation_inputs_test['clientParams'] || []
+ operation_params: operation_inputs_test['operationParams'] || {},
+ built_in_params: operation_inputs_test['builtInParams'] || {},
+ client_params: operation_inputs_test['clientParams'] || {}
)
end
end
@@ -117,12 +117,13 @@ def initialize(options)
@client_params = options[:client_params].map do |k,v|
Param.new(Underscore.underscore(k), v)
end
-
@client_params += options[:built_in_params].map do |k,v|
built_in_to_param(k, v)
end
- # the expected default of UseGlobalEndpoint does not match the SDK's default value
- if @service.identifier == 's3' && !options[:built_in_params].include?('AWS::S3::UseGlobalEndpoint')
+ # the expected default of UseGlobalEndpoint in rules
+ # does not match the Ruby SDK's default value
+ if @service.identifier == 's3' &&
+ !options[:built_in_params].include?('AWS::S3::UseGlobalEndpoint')
@client_params << built_in_to_param('AWS::S3::UseGlobalEndpoint', false)
end
end
diff --git a/build_tools/aws-sdk-code-generator/templates/endpoints_module.mustache b/build_tools/aws-sdk-code-generator/templates/endpoints_module.mustache
index 7ae625341e5..a93a5860b8a 100644
--- a/build_tools/aws-sdk-code-generator/templates/endpoints_module.mustache
+++ b/build_tools/aws-sdk-code-generator/templates/endpoints_module.mustache
@@ -11,11 +11,6 @@ module {{module_name}}
{{#endpoint_classes}}
class {{name}}
def self.build(context)
- {{#has_endpoint_built_in?}}
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- {{/has_endpoint_built_in?}}
{{module_name}}::EndpointParameters.new(
{{#parameters}}
{{#static_string?}}
diff --git a/build_tools/aws-sdk-code-generator/templates/endpoints_plugin.mustache b/build_tools/aws-sdk-code-generator/templates/endpoints_plugin.mustache
index 6bdef3195e6..834fb111a36 100644
--- a/build_tools/aws-sdk-code-generator/templates/endpoints_plugin.mustache
+++ b/build_tools/aws-sdk-code-generator/templates/endpoints_plugin.mustache
@@ -44,11 +44,20 @@ module {{module_name}}
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/build_tools/aws-sdk-code-generator/templates/spec/endpoint_provider_spec_class.mustache b/build_tools/aws-sdk-code-generator/templates/spec/endpoint_provider_spec_class.mustache
index 1a3e9536d2c..b86ebcfc4e6 100644
--- a/build_tools/aws-sdk-code-generator/templates/spec/endpoint_provider_spec_class.mustache
+++ b/build_tools/aws-sdk-code-generator/templates/spec/endpoint_provider_spec_class.mustache
@@ -11,7 +11,7 @@ module {{module_name}}
subject { {{module_name}}::EndpointProvider.new }
{{#endpoint_tests}}
- context '{{documentation}}' do
+ context "{{{documentation}}}" do
let(:expected) do
{{{expect}}}
end
diff --git a/build_tools/services.rb b/build_tools/services.rb
index c8cc83b2371..045bb254e2a 100644
--- a/build_tools/services.rb
+++ b/build_tools/services.rb
@@ -10,10 +10,10 @@ class ServiceEnumerator
MANIFEST_PATH = File.expand_path('../../services.json', __FILE__)
# Minimum `aws-sdk-core` version for new gem builds
- MINIMUM_CORE_VERSION = "3.205.0"
+ MINIMUM_CORE_VERSION = "3.207.0"
# Minimum `aws-sdk-core` version for new S3 gem builds
- MINIMUM_CORE_VERSION_S3 = "3.205.0"
+ MINIMUM_CORE_VERSION_S3 = "3.207.0"
EVENTSTREAM_PLUGIN = "Aws::Plugins::EventStreamConfiguration"
diff --git a/gems/aws-partitions/CHANGELOG.md b/gems/aws-partitions/CHANGELOG.md
index e1c19735082..0e84f47a00f 100644
--- a/gems/aws-partitions/CHANGELOG.md
+++ b/gems/aws-partitions/CHANGELOG.md
@@ -1,6 +1,26 @@
Unreleased Changes
------------------
+1.977.0 (2024-09-18)
+------------------
+
+* Feature - Added support for enumerating regions for `Aws::DirectoryServiceData`.
+
+1.976.0 (2024-09-16)
+------------------
+
+* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
+
+1.975.0 (2024-09-13)
+------------------
+
+* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
+
+1.974.0 (2024-09-11)
+------------------
+
+* Feature - Updated the partitions source data the determines the AWS service regions and endpoints.
+
1.973.0 (2024-09-10)
------------------
diff --git a/gems/aws-partitions/VERSION b/gems/aws-partitions/VERSION
index 17a1ddf31e0..749cc6e5ba3 100644
--- a/gems/aws-partitions/VERSION
+++ b/gems/aws-partitions/VERSION
@@ -1 +1 @@
-1.973.0
+1.977.0
diff --git a/gems/aws-partitions/lib/aws-partitions.rb b/gems/aws-partitions/lib/aws-partitions.rb
index 2e564affa9c..cff96dfc63f 100644
--- a/gems/aws-partitions/lib/aws-partitions.rb
+++ b/gems/aws-partitions/lib/aws-partitions.rb
@@ -358,6 +358,7 @@ def service_ids
'DeviceFarm' => 'devicefarm',
'DirectConnect' => 'directconnect',
'DirectoryService' => 'ds',
+ 'DirectoryServiceData' => 'ds-data',
'DocDB' => 'rds',
'DocDBElastic' => 'docdb-elastic',
'Drs' => 'drs',
@@ -622,7 +623,6 @@ def service_ids
'WAFV2' => 'wafv2',
'WellArchitected' => 'wellarchitected',
'WorkDocs' => 'workdocs',
- 'WorkLink' => 'worklink',
'WorkMail' => 'workmail',
'WorkMailMessageFlow' => 'workmailmessageflow',
'WorkSpaces' => 'workspaces',
diff --git a/gems/aws-partitions/partitions.json b/gems/aws-partitions/partitions.json
index 7f365c22f56..14e50ff40c6 100644
--- a/gems/aws-partitions/partitions.json
+++ b/gems/aws-partitions/partitions.json
@@ -7249,6 +7249,12 @@
"tags" : [ "fips" ]
} ]
},
+ "ap-southeast-5" : {
+ "variants" : [ {
+ "hostname" : "elasticfilesystem-fips.ap-southeast-5.amazonaws.com",
+ "tags" : [ "fips" ]
+ } ]
+ },
"ca-central-1" : {
"variants" : [ {
"hostname" : "elasticfilesystem-fips.ca-central-1.amazonaws.com",
@@ -7386,6 +7392,13 @@
"deprecated" : true,
"hostname" : "elasticfilesystem-fips.ap-southeast-4.amazonaws.com"
},
+ "fips-ap-southeast-5" : {
+ "credentialScope" : {
+ "region" : "ap-southeast-5"
+ },
+ "deprecated" : true,
+ "hostname" : "elasticfilesystem-fips.ap-southeast-5.amazonaws.com"
+ },
"fips-ca-central-1" : {
"credentialScope" : {
"region" : "ca-central-1"
@@ -15704,6 +15717,7 @@
},
"redshift-serverless" : {
"endpoints" : {
+ "ap-east-1" : { },
"ap-northeast-1" : { },
"ap-northeast-2" : { },
"ap-south-1" : { },
@@ -15758,6 +15772,7 @@
"deprecated" : true,
"hostname" : "redshift-serverless-fips.us-west-2.amazonaws.com"
},
+ "il-central-1" : { },
"me-central-1" : { },
"sa-east-1" : { },
"us-east-1" : {
@@ -17689,6 +17704,7 @@
"ap-southeast-2" : { },
"ap-southeast-3" : { },
"ap-southeast-4" : { },
+ "ap-southeast-5" : { },
"ca-central-1" : { },
"ca-west-1" : { },
"eu-central-1" : { },
@@ -19494,9 +19510,11 @@
"ap-northeast-2" : { },
"ap-northeast-3" : { },
"ap-south-1" : { },
+ "ap-south-2" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
"ap-southeast-3" : { },
+ "ap-southeast-4" : { },
"ca-central-1" : {
"variants" : [ {
"hostname" : "ssm-sap-fips.ca-central-1.amazonaws.com",
@@ -19504,8 +19522,10 @@
} ]
},
"eu-central-1" : { },
+ "eu-central-2" : { },
"eu-north-1" : { },
"eu-south-1" : { },
+ "eu-south-2" : { },
"eu-west-1" : { },
"eu-west-2" : { },
"eu-west-3" : { },
@@ -19544,6 +19564,8 @@
"deprecated" : true,
"hostname" : "ssm-sap-fips.us-west-2.amazonaws.com"
},
+ "il-central-1" : { },
+ "me-central-1" : { },
"me-south-1" : { },
"sa-east-1" : { },
"us-east-1" : {
@@ -20450,82 +20472,62 @@
"ap-south-1" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
- "ca-central-1" : { },
- "eu-central-1" : { },
- "eu-west-1" : { },
- "eu-west-2" : { },
- "sa-east-1" : { },
- "transcribestreaming-ca-central-1" : {
- "credentialScope" : {
- "region" : "ca-central-1"
- },
- "deprecated" : true,
+ "ca-central-1" : {
"variants" : [ {
"hostname" : "transcribestreaming-fips.ca-central-1.amazonaws.com",
"tags" : [ "fips" ]
} ]
},
- "transcribestreaming-fips-ca-central-1" : {
+ "eu-central-1" : { },
+ "eu-west-1" : { },
+ "eu-west-2" : { },
+ "fips-ca-central-1" : {
"credentialScope" : {
"region" : "ca-central-1"
},
"deprecated" : true,
"hostname" : "transcribestreaming-fips.ca-central-1.amazonaws.com"
},
- "transcribestreaming-fips-us-east-1" : {
+ "fips-us-east-1" : {
"credentialScope" : {
"region" : "us-east-1"
},
"deprecated" : true,
"hostname" : "transcribestreaming-fips.us-east-1.amazonaws.com"
},
- "transcribestreaming-fips-us-east-2" : {
+ "fips-us-east-2" : {
"credentialScope" : {
"region" : "us-east-2"
},
"deprecated" : true,
"hostname" : "transcribestreaming-fips.us-east-2.amazonaws.com"
},
- "transcribestreaming-fips-us-west-2" : {
+ "fips-us-west-2" : {
"credentialScope" : {
"region" : "us-west-2"
},
"deprecated" : true,
"hostname" : "transcribestreaming-fips.us-west-2.amazonaws.com"
},
- "transcribestreaming-us-east-1" : {
- "credentialScope" : {
- "region" : "us-east-1"
- },
- "deprecated" : true,
+ "sa-east-1" : { },
+ "us-east-1" : {
"variants" : [ {
"hostname" : "transcribestreaming-fips.us-east-1.amazonaws.com",
"tags" : [ "fips" ]
} ]
},
- "transcribestreaming-us-east-2" : {
- "credentialScope" : {
- "region" : "us-east-2"
- },
- "deprecated" : true,
+ "us-east-2" : {
"variants" : [ {
"hostname" : "transcribestreaming-fips.us-east-2.amazonaws.com",
"tags" : [ "fips" ]
} ]
},
- "transcribestreaming-us-west-2" : {
- "credentialScope" : {
- "region" : "us-west-2"
- },
- "deprecated" : true,
+ "us-west-2" : {
"variants" : [ {
"hostname" : "transcribestreaming-fips.us-west-2.amazonaws.com",
"tags" : [ "fips" ]
} ]
- },
- "us-east-1" : { },
- "us-east-2" : { },
- "us-west-2" : { }
+ }
}
},
"transfer" : {
@@ -28670,8 +28672,32 @@
},
"transcribestreaming" : {
"endpoints" : {
- "us-gov-east-1" : { },
- "us-gov-west-1" : { }
+ "fips-us-gov-east-1" : {
+ "credentialScope" : {
+ "region" : "us-gov-east-1"
+ },
+ "deprecated" : true,
+ "hostname" : "transcribestreaming-fips.us-gov-east-1.amazonaws.com"
+ },
+ "fips-us-gov-west-1" : {
+ "credentialScope" : {
+ "region" : "us-gov-west-1"
+ },
+ "deprecated" : true,
+ "hostname" : "transcribestreaming-fips.us-gov-west-1.amazonaws.com"
+ },
+ "us-gov-east-1" : {
+ "variants" : [ {
+ "hostname" : "transcribestreaming-fips.us-gov-east-1.amazonaws.com",
+ "tags" : [ "fips" ]
+ } ]
+ },
+ "us-gov-west-1" : {
+ "variants" : [ {
+ "hostname" : "transcribestreaming-fips.us-gov-west-1.amazonaws.com",
+ "tags" : [ "fips" ]
+ } ]
+ }
}
},
"transfer" : {
@@ -29425,6 +29451,11 @@
"us-iso-west-1" : { }
}
},
+ "oam" : {
+ "endpoints" : {
+ "us-iso-east-1" : { }
+ }
+ },
"outposts" : {
"endpoints" : {
"us-iso-east-1" : { }
@@ -30148,6 +30179,11 @@
"us-isob-east-1" : { }
}
},
+ "oam" : {
+ "endpoints" : {
+ "us-isob-east-1" : { }
+ }
+ },
"outposts" : {
"endpoints" : {
"us-isob-east-1" : { }
diff --git a/gems/aws-sdk-accessanalyzer/CHANGELOG.md b/gems/aws-sdk-accessanalyzer/CHANGELOG.md
index f008ec5c606..8720285693b 100644
--- a/gems/aws-sdk-accessanalyzer/CHANGELOG.md
+++ b/gems/aws-sdk-accessanalyzer/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.57.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.56.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-accessanalyzer/VERSION b/gems/aws-sdk-accessanalyzer/VERSION
index 3ebf789f5a8..373aea97570 100644
--- a/gems/aws-sdk-accessanalyzer/VERSION
+++ b/gems/aws-sdk-accessanalyzer/VERSION
@@ -1 +1 @@
-1.56.0
+1.57.0
diff --git a/gems/aws-sdk-accessanalyzer/aws-sdk-accessanalyzer.gemspec b/gems/aws-sdk-accessanalyzer/aws-sdk-accessanalyzer.gemspec
index 7c87454ac41..803121de771 100644
--- a/gems/aws-sdk-accessanalyzer/aws-sdk-accessanalyzer.gemspec
+++ b/gems/aws-sdk-accessanalyzer/aws-sdk-accessanalyzer.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-accessanalyzer/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer.rb b/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer.rb
index 8bc65e5a93d..c04c38bbc50 100644
--- a/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer.rb
+++ b/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AccessAnalyzer
- GEM_VERSION = '1.56.0'
+ GEM_VERSION = '1.57.0'
end
diff --git a/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/client.rb b/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/client.rb
index e0b76a38796..bbdd2491849 100644
--- a/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/client.rb
+++ b/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/client.rb
@@ -2659,7 +2659,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-accessanalyzer'
- context[:gem_version] = '1.56.0'
+ context[:gem_version] = '1.57.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/endpoints.rb b/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/endpoints.rb
index ce082bdafe0..f7c51cc7f23 100644
--- a/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/endpoints.rb
+++ b/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/endpoints.rb
@@ -14,490 +14,385 @@ module Endpoints
class ApplyArchiveRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelPolicyGeneration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckAccessNotGranted
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckNoNewAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckNoPublicAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccessPreview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAnalyzer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateArchiveRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAnalyzer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteArchiveRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateFindingRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccessPreview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAnalyzedResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAnalyzer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetArchiveRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFinding
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindingRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindingV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGeneratedPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessPreviewFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessPreviews
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnalyzedResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnalyzers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListArchiveRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFindingsV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicyGenerations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartPolicyGeneration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartResourceScan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateArchiveRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidatePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AccessAnalyzer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/plugins/endpoints.rb b/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/plugins/endpoints.rb
index 1652ab9cc12..2d98bc8b1a4 100644
--- a/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/plugins/endpoints.rb
+++ b/gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-accessanalyzer/spec/endpoint_provider_spec.rb b/gems/aws-sdk-accessanalyzer/spec/endpoint_provider_spec.rb
index 349e2fede5a..6e7a09a0eac 100644
--- a/gems/aws-sdk-accessanalyzer/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-accessanalyzer/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AccessAnalyzer
describe EndpointProvider do
subject { Aws::AccessAnalyzer::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -587,7 +587,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -601,7 +601,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -614,7 +614,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-iso-east-1.c2s.ic.gov"}}
end
@@ -628,7 +628,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -641,7 +641,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -655,7 +655,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -668,7 +668,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://access-analyzer.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -682,7 +682,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::AccessAnalyzer
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::AccessAnalyzer
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-account/CHANGELOG.md b/gems/aws-sdk-account/CHANGELOG.md
index a74d86d94d7..92543686a24 100644
--- a/gems/aws-sdk-account/CHANGELOG.md
+++ b/gems/aws-sdk-account/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.31.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.30.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-account/VERSION b/gems/aws-sdk-account/VERSION
index 034552a83ee..34aae156b19 100644
--- a/gems/aws-sdk-account/VERSION
+++ b/gems/aws-sdk-account/VERSION
@@ -1 +1 @@
-1.30.0
+1.31.0
diff --git a/gems/aws-sdk-account/aws-sdk-account.gemspec b/gems/aws-sdk-account/aws-sdk-account.gemspec
index e13dcda72a7..68f8e16fd14 100644
--- a/gems/aws-sdk-account/aws-sdk-account.gemspec
+++ b/gems/aws-sdk-account/aws-sdk-account.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-account/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-account/lib/aws-sdk-account.rb b/gems/aws-sdk-account/lib/aws-sdk-account.rb
index 451242b489d..be5fa9165f5 100644
--- a/gems/aws-sdk-account/lib/aws-sdk-account.rb
+++ b/gems/aws-sdk-account/lib/aws-sdk-account.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Account
- GEM_VERSION = '1.30.0'
+ GEM_VERSION = '1.31.0'
end
diff --git a/gems/aws-sdk-account/lib/aws-sdk-account/client.rb b/gems/aws-sdk-account/lib/aws-sdk-account/client.rb
index 69bb6c69e02..30e21e25f81 100644
--- a/gems/aws-sdk-account/lib/aws-sdk-account/client.rb
+++ b/gems/aws-sdk-account/lib/aws-sdk-account/client.rb
@@ -1314,7 +1314,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-account'
- context[:gem_version] = '1.30.0'
+ context[:gem_version] = '1.31.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-account/lib/aws-sdk-account/endpoints.rb b/gems/aws-sdk-account/lib/aws-sdk-account/endpoints.rb
index 88a7dd48871..f40ea879b83 100644
--- a/gems/aws-sdk-account/lib/aws-sdk-account/endpoints.rb
+++ b/gems/aws-sdk-account/lib/aws-sdk-account/endpoints.rb
@@ -14,168 +14,132 @@ module Endpoints
class AcceptPrimaryEmailUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAlternateContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableRegion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableRegion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAlternateContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContactInformation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPrimaryEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegionOptStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRegions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAlternateContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutContactInformation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartPrimaryEmailUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Account::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-account/lib/aws-sdk-account/plugins/endpoints.rb b/gems/aws-sdk-account/lib/aws-sdk-account/plugins/endpoints.rb
index abf90f36c07..19e8099993e 100644
--- a/gems/aws-sdk-account/lib/aws-sdk-account/plugins/endpoints.rb
+++ b/gems/aws-sdk-account/lib/aws-sdk-account/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-account/spec/endpoint_provider_spec.rb b/gems/aws-sdk-account/spec/endpoint_provider_spec.rb
index 5832b4e2c13..463c2300a2b 100644
--- a/gems/aws-sdk-account/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-account/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Account
describe EndpointProvider do
subject { Aws::Account::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"us-east-1"}]}, "url"=>"https://account.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Account
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::Account
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Account
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::Account
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"us-east-1"}]}, "url"=>"https://account.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Account
end
end
- context 'For region aws-cn-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-cn-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://account.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Account
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Account
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Account
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Account
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"account", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://account.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::Account
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Account
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Account
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::Account
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Account
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::Account
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::Account
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::Account
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::Account
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::Account
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::Account
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::Account
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://account.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::Account
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::Account
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::Account
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::Account
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::Account
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-acm/CHANGELOG.md b/gems/aws-sdk-acm/CHANGELOG.md
index 8138f3608dd..11eca3548dc 100644
--- a/gems/aws-sdk-acm/CHANGELOG.md
+++ b/gems/aws-sdk-acm/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.77.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.76.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-acm/VERSION b/gems/aws-sdk-acm/VERSION
index 32a6ce3c719..79e15fd4937 100644
--- a/gems/aws-sdk-acm/VERSION
+++ b/gems/aws-sdk-acm/VERSION
@@ -1 +1 @@
-1.76.0
+1.77.0
diff --git a/gems/aws-sdk-acm/aws-sdk-acm.gemspec b/gems/aws-sdk-acm/aws-sdk-acm.gemspec
index 362e3e6d81a..9fb3186519f 100644
--- a/gems/aws-sdk-acm/aws-sdk-acm.gemspec
+++ b/gems/aws-sdk-acm/aws-sdk-acm.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-acm/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-acm/lib/aws-sdk-acm.rb b/gems/aws-sdk-acm/lib/aws-sdk-acm.rb
index 02b8e8994fa..08dc9399084 100644
--- a/gems/aws-sdk-acm/lib/aws-sdk-acm.rb
+++ b/gems/aws-sdk-acm/lib/aws-sdk-acm.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::ACM
- GEM_VERSION = '1.76.0'
+ GEM_VERSION = '1.77.0'
end
diff --git a/gems/aws-sdk-acm/lib/aws-sdk-acm/client.rb b/gems/aws-sdk-acm/lib/aws-sdk-acm/client.rb
index dc036bbd415..3ab2172d400 100644
--- a/gems/aws-sdk-acm/lib/aws-sdk-acm/client.rb
+++ b/gems/aws-sdk-acm/lib/aws-sdk-acm/client.rb
@@ -1510,7 +1510,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-acm'
- context[:gem_version] = '1.76.0'
+ context[:gem_version] = '1.77.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-acm/lib/aws-sdk-acm/endpoints.rb b/gems/aws-sdk-acm/lib/aws-sdk-acm/endpoints.rb
index 1624a7b79fd..80b4a642d8c 100644
--- a/gems/aws-sdk-acm/lib/aws-sdk-acm/endpoints.rb
+++ b/gems/aws-sdk-acm/lib/aws-sdk-acm/endpoints.rb
@@ -14,210 +14,165 @@ module Endpoints
class AddTagsToCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RenewCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RequestCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResendValidationEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCertificateOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-acm/lib/aws-sdk-acm/plugins/endpoints.rb b/gems/aws-sdk-acm/lib/aws-sdk-acm/plugins/endpoints.rb
index 5bbcae791db..44dd80e359c 100644
--- a/gems/aws-sdk-acm/lib/aws-sdk-acm/plugins/endpoints.rb
+++ b/gems/aws-sdk-acm/lib/aws-sdk-acm/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-acm/spec/endpoint_provider_spec.rb b/gems/aws-sdk-acm/spec/endpoint_provider_spec.rb
index d9dcd5ed742..9ac7c67041e 100644
--- a/gems/aws-sdk-acm/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-acm/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ACM
describe EndpointProvider do
subject { Aws::ACM::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ACM
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ACM
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ACM
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ACM
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ACM
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ACM
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ACM
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ACM
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ACM
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ACM
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ACM
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ACM
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ACM
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ACM
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ACM
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ACM
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ACM
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ACM
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ACM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ACM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ACM
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ACM
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ACM
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ACM
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ACM
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ACM
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::ACM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ACM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::ACM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ACM
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ACM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ACM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ACM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::ACM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ACM
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ACM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-fips.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::ACM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.us-gov-east-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::ACM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ACM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::ACM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::ACM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::ACM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::ACM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::ACM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::ACM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::ACM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::ACM
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::ACM
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ACM
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::ACM
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::ACM
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-acmpca/CHANGELOG.md b/gems/aws-sdk-acmpca/CHANGELOG.md
index d125cc83809..ba869388071 100644
--- a/gems/aws-sdk-acmpca/CHANGELOG.md
+++ b/gems/aws-sdk-acmpca/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.79.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.78.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-acmpca/VERSION b/gems/aws-sdk-acmpca/VERSION
index 54227249d1f..b3a8c61e6a8 100644
--- a/gems/aws-sdk-acmpca/VERSION
+++ b/gems/aws-sdk-acmpca/VERSION
@@ -1 +1 @@
-1.78.0
+1.79.0
diff --git a/gems/aws-sdk-acmpca/aws-sdk-acmpca.gemspec b/gems/aws-sdk-acmpca/aws-sdk-acmpca.gemspec
index b375a213ee3..13b569a9adb 100644
--- a/gems/aws-sdk-acmpca/aws-sdk-acmpca.gemspec
+++ b/gems/aws-sdk-acmpca/aws-sdk-acmpca.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-acmpca/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca.rb b/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca.rb
index 4bf881345bd..bf5587b5a94 100644
--- a/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca.rb
+++ b/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::ACMPCA
- GEM_VERSION = '1.78.0'
+ GEM_VERSION = '1.79.0'
end
diff --git a/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/client.rb b/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/client.rb
index 0b4c7ed2a6d..7d9bf71945c 100644
--- a/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/client.rb
+++ b/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/client.rb
@@ -2654,7 +2654,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-acmpca'
- context[:gem_version] = '1.78.0'
+ context[:gem_version] = '1.79.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/endpoints.rb b/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/endpoints.rb
index 0c5fb740a16..e3b17f48669 100644
--- a/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/endpoints.rb
+++ b/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/endpoints.rb
@@ -14,322 +14,253 @@ module Endpoints
class CreateCertificateAuthority
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCertificateAuthorityAuditReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCertificateAuthority
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCertificateAuthority
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCertificateAuthorityAuditReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCertificateAuthorityCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCertificateAuthorityCsr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportCertificateAuthorityCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class IssueCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCertificateAuthorities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreCertificateAuthority
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagCertificateAuthority
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagCertificateAuthority
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCertificateAuthority
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ACMPCA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/plugins/endpoints.rb b/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/plugins/endpoints.rb
index 7c23256ef38..07ce73eb654 100644
--- a/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/plugins/endpoints.rb
+++ b/gems/aws-sdk-acmpca/lib/aws-sdk-acmpca/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-acmpca/spec/endpoint_provider_spec.rb b/gems/aws-sdk-acmpca/spec/endpoint_provider_spec.rb
index e1268de4089..777622a45db 100644
--- a/gems/aws-sdk-acmpca/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-acmpca/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ACMPCA
describe EndpointProvider do
subject { Aws::ACMPCA::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ACMPCA
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ACMPCA
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ACMPCA
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ACMPCA
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ACMPCA
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ACMPCA
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ACMPCA
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ACMPCA
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ACMPCA
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ACMPCA
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ACMPCA
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ACMPCA
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ACMPCA
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ACMPCA
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ACMPCA
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ACMPCA
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ACMPCA
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ACMPCA
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::ACMPCA
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ACMPCA
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ACMPCA
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ACMPCA
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::ACMPCA
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://acm-pca.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::ACMPCA
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::ACMPCA
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ACMPCA
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::ACMPCA
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::ACMPCA
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-amplify/CHANGELOG.md b/gems/aws-sdk-amplify/CHANGELOG.md
index 54ebece2ad4..626ac3d8102 100644
--- a/gems/aws-sdk-amplify/CHANGELOG.md
+++ b/gems/aws-sdk-amplify/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.70.0 (2024-09-13)
+------------------
+
+* Feature - Doc only update to Amplify to explain platform setting for Next.js 14 SSG only applications
+
+1.69.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.68.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-amplify/VERSION b/gems/aws-sdk-amplify/VERSION
index ee2f4ca9130..832e9afb6c1 100644
--- a/gems/aws-sdk-amplify/VERSION
+++ b/gems/aws-sdk-amplify/VERSION
@@ -1 +1 @@
-1.68.0
+1.70.0
diff --git a/gems/aws-sdk-amplify/aws-sdk-amplify.gemspec b/gems/aws-sdk-amplify/aws-sdk-amplify.gemspec
index 43b96ad2e5c..fb94c24924a 100644
--- a/gems/aws-sdk-amplify/aws-sdk-amplify.gemspec
+++ b/gems/aws-sdk-amplify/aws-sdk-amplify.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-amplify/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-amplify/lib/aws-sdk-amplify.rb b/gems/aws-sdk-amplify/lib/aws-sdk-amplify.rb
index 4d839dbf679..0d35fee4548 100644
--- a/gems/aws-sdk-amplify/lib/aws-sdk-amplify.rb
+++ b/gems/aws-sdk-amplify/lib/aws-sdk-amplify.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Amplify
- GEM_VERSION = '1.68.0'
+ GEM_VERSION = '1.70.0'
end
diff --git a/gems/aws-sdk-amplify/lib/aws-sdk-amplify/client.rb b/gems/aws-sdk-amplify/lib/aws-sdk-amplify/client.rb
index 60db89934a1..5939db808fd 100644
--- a/gems/aws-sdk-amplify/lib/aws-sdk-amplify/client.rb
+++ b/gems/aws-sdk-amplify/lib/aws-sdk-amplify/client.rb
@@ -461,6 +461,17 @@ def initialize(*args)
# Hosting's original SSR support only, set the platform type to
# `WEB_DYNAMIC`.
#
+ # If you are deploying an SSG only app with Next.js version 14 or later,
+ # you must set the platform type to `WEB_COMPUTE` and set the artifacts
+ # `baseDirectory` to `.next` in the application's build settings. For
+ # an example of the build specification settings, see [Amplify build
+ # settings for a Next.js 14 SSG application][1] in the *Amplify Hosting
+ # User Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/deploy-nextjs-app.html#build-setting-detection-ssg-14
+ #
# @option params [String] :iam_service_role_arn
# The AWS Identity and Access Management (IAM) service role for an
# Amplify app.
@@ -2446,6 +2457,9 @@ def untag_resource(params = {}, options = {})
# Hosting's original SSR support only, set the platform type to
# `WEB_DYNAMIC`.
#
+ # If you are deploying an SSG only app with Next.js version 14 or later,
+ # you must set the platform type to `WEB_COMPUTE`.
+ #
# @option params [String] :iam_service_role_arn
# The AWS Identity and Access Management (IAM) service role for an
# Amplify app.
@@ -2936,7 +2950,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-amplify'
- context[:gem_version] = '1.68.0'
+ context[:gem_version] = '1.70.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-amplify/lib/aws-sdk-amplify/endpoints.rb b/gems/aws-sdk-amplify/lib/aws-sdk-amplify/endpoints.rb
index 2717c8b0da5..9f14b46a6d3 100644
--- a/gems/aws-sdk-amplify/lib/aws-sdk-amplify/endpoints.rb
+++ b/gems/aws-sdk-amplify/lib/aws-sdk-amplify/endpoints.rb
@@ -14,518 +14,407 @@ module Endpoints
class CreateApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackendEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBranch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomainAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWebhook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackendEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBranch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomainAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWebhook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateAccessLogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetArtifactUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackendEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBranch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWebhook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListArtifacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBackendEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBranches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWebhooks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBranch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWebhook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Amplify::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-amplify/lib/aws-sdk-amplify/plugins/endpoints.rb b/gems/aws-sdk-amplify/lib/aws-sdk-amplify/plugins/endpoints.rb
index f8e4d5e6e2c..879af05aa30 100644
--- a/gems/aws-sdk-amplify/lib/aws-sdk-amplify/plugins/endpoints.rb
+++ b/gems/aws-sdk-amplify/lib/aws-sdk-amplify/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb b/gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb
index bf5de29795d..e752094ef00 100644
--- a/gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb
+++ b/gems/aws-sdk-amplify/lib/aws-sdk-amplify/types.rb
@@ -43,6 +43,9 @@ module Types
# platform type to `WEB_COMPUTE`. For an app requiring Amplify
# Hosting's original SSR support only, set the platform type to
# `WEB_DYNAMIC`.
+ #
+ # If you are deploying an SSG only app with Next.js 14 or later, you
+ # must use the platform type `WEB_COMPUTE`.
# @return [String]
#
# @!attribute [rw] create_time
@@ -641,6 +644,17 @@ class CertificateSettings < Struct.new(
# platform type to `WEB_COMPUTE`. For an app requiring Amplify
# Hosting's original SSR support only, set the platform type to
# `WEB_DYNAMIC`.
+ #
+ # If you are deploying an SSG only app with Next.js version 14 or
+ # later, you must set the platform type to `WEB_COMPUTE` and set the
+ # artifacts `baseDirectory` to `.next` in the application's build
+ # settings. For an example of the build specification settings, see
+ # [Amplify build settings for a Next.js 14 SSG application][1] in the
+ # *Amplify Hosting User Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/amplify/latest/userguide/deploy-nextjs-app.html#build-setting-detection-ssg-14
# @return [String]
#
# @!attribute [rw] iam_service_role_arn
@@ -2659,6 +2673,9 @@ class UntagResourceResponse < Aws::EmptyStructure; end
# platform type to `WEB_COMPUTE`. For an app requiring Amplify
# Hosting's original SSR support only, set the platform type to
# `WEB_DYNAMIC`.
+ #
+ # If you are deploying an SSG only app with Next.js version 14 or
+ # later, you must set the platform type to `WEB_COMPUTE`.
# @return [String]
#
# @!attribute [rw] iam_service_role_arn
diff --git a/gems/aws-sdk-amplify/spec/endpoint_provider_spec.rb b/gems/aws-sdk-amplify/spec/endpoint_provider_spec.rb
index ff187e07e7d..772b03085f0 100644
--- a/gems/aws-sdk-amplify/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-amplify/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Amplify
describe EndpointProvider do
subject { Aws::Amplify::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Amplify
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Amplify
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Amplify
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Amplify
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Amplify
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Amplify
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Amplify
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Amplify
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Amplify
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.eu-south-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Amplify
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.eu-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Amplify
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.eu-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Amplify
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.eu-west-3.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Amplify
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.me-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Amplify
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.sa-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Amplify
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Amplify
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.us-east-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Amplify
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.us-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Amplify
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.us-west-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Amplify
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify-fips.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::Amplify
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Amplify
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::Amplify
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::Amplify
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::Amplify
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::Amplify
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::Amplify
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify-fips.us-gov-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Amplify
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::Amplify
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::Amplify
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::Amplify
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -447,7 +447,7 @@ module Aws::Amplify
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -461,7 +461,7 @@ module Aws::Amplify
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -474,7 +474,7 @@ module Aws::Amplify
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.us-iso-east-1.c2s.ic.gov"}}
end
@@ -488,7 +488,7 @@ module Aws::Amplify
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -501,7 +501,7 @@ module Aws::Amplify
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -515,7 +515,7 @@ module Aws::Amplify
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -528,7 +528,7 @@ module Aws::Amplify
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplify.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -542,7 +542,7 @@ module Aws::Amplify
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -556,7 +556,7 @@ module Aws::Amplify
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -570,7 +570,7 @@ module Aws::Amplify
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -583,7 +583,7 @@ module Aws::Amplify
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -596,7 +596,7 @@ module Aws::Amplify
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-amplifybackend/CHANGELOG.md b/gems/aws-sdk-amplifybackend/CHANGELOG.md
index aa3ee87b793..2977edbda49 100644
--- a/gems/aws-sdk-amplifybackend/CHANGELOG.md
+++ b/gems/aws-sdk-amplifybackend/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-amplifybackend/VERSION b/gems/aws-sdk-amplifybackend/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-amplifybackend/VERSION
+++ b/gems/aws-sdk-amplifybackend/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-amplifybackend/aws-sdk-amplifybackend.gemspec b/gems/aws-sdk-amplifybackend/aws-sdk-amplifybackend.gemspec
index c9667330d99..33c6f05dd15 100644
--- a/gems/aws-sdk-amplifybackend/aws-sdk-amplifybackend.gemspec
+++ b/gems/aws-sdk-amplifybackend/aws-sdk-amplifybackend.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-amplifybackend/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend.rb b/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend.rb
index 2b7361fee6a..c7380fb379d 100644
--- a/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend.rb
+++ b/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AmplifyBackend
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/client.rb b/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/client.rb
index 82d1d3e0c83..9830541a8a5 100644
--- a/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/client.rb
+++ b/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/client.rb
@@ -2141,7 +2141,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-amplifybackend'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/endpoints.rb b/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/endpoints.rb
index 88d4342127c..344d87633d0 100644
--- a/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/endpoints.rb
+++ b/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/endpoints.rb
@@ -14,434 +14,341 @@ module Endpoints
class CloneBackend
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackend
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackendAPI
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackendAuth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackendConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackendStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackend
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackendAPI
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackendAuth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackendStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateBackendAPIModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackend
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackendAPI
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackendAPIModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackendAuth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackendJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackendStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportBackendAuth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportBackendStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBackendJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListS3Buckets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveAllBackends
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveBackendConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBackendAPI
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBackendAuth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBackendConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBackendJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBackendStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyBackend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/plugins/endpoints.rb b/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/plugins/endpoints.rb
index 3e552367a73..428438a241e 100644
--- a/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/plugins/endpoints.rb
+++ b/gems/aws-sdk-amplifybackend/lib/aws-sdk-amplifybackend/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-amplifybackend/spec/endpoint_provider_spec.rb b/gems/aws-sdk-amplifybackend/spec/endpoint_provider_spec.rb
index b8e855729e1..e1f0699cfcd 100644
--- a/gems/aws-sdk-amplifybackend/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-amplifybackend/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AmplifyBackend
describe EndpointProvider do
subject { Aws::AmplifyBackend::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.me-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.us-east-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.us-west-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.us-west-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend-fips.us-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend-fips.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend-fips.us-gov-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.us-gov-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.us-gov-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -419,7 +419,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -433,7 +433,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -446,7 +446,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.us-iso-east-1.c2s.ic.gov"}}
end
@@ -460,7 +460,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -473,7 +473,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -487,7 +487,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -500,7 +500,7 @@ module Aws::AmplifyBackend
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifybackend.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -514,7 +514,7 @@ module Aws::AmplifyBackend
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::AmplifyBackend
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -542,7 +542,7 @@ module Aws::AmplifyBackend
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -555,7 +555,7 @@ module Aws::AmplifyBackend
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -568,7 +568,7 @@ module Aws::AmplifyBackend
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-amplifyuibuilder/CHANGELOG.md b/gems/aws-sdk-amplifyuibuilder/CHANGELOG.md
index a6d53a5f29d..1f16f1cca06 100644
--- a/gems/aws-sdk-amplifyuibuilder/CHANGELOG.md
+++ b/gems/aws-sdk-amplifyuibuilder/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.33.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.32.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-amplifyuibuilder/VERSION b/gems/aws-sdk-amplifyuibuilder/VERSION
index 359c41089a4..7aa332e4163 100644
--- a/gems/aws-sdk-amplifyuibuilder/VERSION
+++ b/gems/aws-sdk-amplifyuibuilder/VERSION
@@ -1 +1 @@
-1.32.0
+1.33.0
diff --git a/gems/aws-sdk-amplifyuibuilder/aws-sdk-amplifyuibuilder.gemspec b/gems/aws-sdk-amplifyuibuilder/aws-sdk-amplifyuibuilder.gemspec
index cd23031272f..89a62fb5eeb 100644
--- a/gems/aws-sdk-amplifyuibuilder/aws-sdk-amplifyuibuilder.gemspec
+++ b/gems/aws-sdk-amplifyuibuilder/aws-sdk-amplifyuibuilder.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-amplifyuibuilder/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder.rb b/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder.rb
index 47a56403abc..1d43701b317 100644
--- a/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder.rb
+++ b/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::AmplifyUIBuilder
- GEM_VERSION = '1.32.0'
+ GEM_VERSION = '1.33.0'
end
diff --git a/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/client.rb b/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/client.rb
index e7f7c37cd0f..507fcbbaa67 100644
--- a/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/client.rb
+++ b/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/client.rb
@@ -6578,7 +6578,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-amplifyuibuilder'
- context[:gem_version] = '1.32.0'
+ context[:gem_version] = '1.33.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/endpoints.rb b/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/endpoints.rb
index 38eb4898b90..ff6c1469da8 100644
--- a/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/endpoints.rb
+++ b/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/endpoints.rb
@@ -14,392 +14,308 @@ module Endpoints
class CreateComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateForm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTheme
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteForm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTheme
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExchangeCodeForToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportForms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportThemes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCodegenJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetForm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTheme
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCodegenJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListForms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThemes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMetadataFlag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RefreshToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCodegenJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateForm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTheme
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AmplifyUIBuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/plugins/endpoints.rb b/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/plugins/endpoints.rb
index b994ccb555b..de286840692 100644
--- a/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/plugins/endpoints.rb
+++ b/gems/aws-sdk-amplifyuibuilder/lib/aws-sdk-amplifyuibuilder/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-amplifyuibuilder/spec/endpoint_provider_spec.rb b/gems/aws-sdk-amplifyuibuilder/spec/endpoint_provider_spec.rb
index b1a4afda2a2..6e7c1c23acc 100644
--- a/gems/aws-sdk-amplifyuibuilder/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-amplifyuibuilder/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AmplifyUIBuilder
describe EndpointProvider do
subject { Aws::AmplifyUIBuilder::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.me-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.us-east-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.us-west-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.us-west-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder-fips.us-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder-fips.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder-fips.us-gov-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.us-gov-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.us-gov-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -419,7 +419,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -433,7 +433,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -446,7 +446,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.us-iso-east-1.c2s.ic.gov"}}
end
@@ -460,7 +460,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -473,7 +473,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -487,7 +487,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -500,7 +500,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://amplifyuibuilder.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -514,7 +514,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -542,7 +542,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -555,7 +555,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -568,7 +568,7 @@ module Aws::AmplifyUIBuilder
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-apigateway/CHANGELOG.md b/gems/aws-sdk-apigateway/CHANGELOG.md
index d617b9b9842..9ac6f4f3340 100644
--- a/gems/aws-sdk-apigateway/CHANGELOG.md
+++ b/gems/aws-sdk-apigateway/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.104.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.103.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-apigateway/VERSION b/gems/aws-sdk-apigateway/VERSION
index e402df2ddc9..9f0b4661158 100644
--- a/gems/aws-sdk-apigateway/VERSION
+++ b/gems/aws-sdk-apigateway/VERSION
@@ -1 +1 @@
-1.103.0
+1.104.0
diff --git a/gems/aws-sdk-apigateway/aws-sdk-apigateway.gemspec b/gems/aws-sdk-apigateway/aws-sdk-apigateway.gemspec
index aa31cd8e2ea..07acb0258d8 100644
--- a/gems/aws-sdk-apigateway/aws-sdk-apigateway.gemspec
+++ b/gems/aws-sdk-apigateway/aws-sdk-apigateway.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-apigateway/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway.rb b/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway.rb
index 0ef580e0139..d1676a04d6d 100644
--- a/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway.rb
+++ b/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::APIGateway
- GEM_VERSION = '1.103.0'
+ GEM_VERSION = '1.104.0'
end
diff --git a/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/client.rb b/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/client.rb
index 6c34cbf5054..ea46dc44a1c 100644
--- a/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/client.rb
+++ b/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/client.rb
@@ -7121,7 +7121,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-apigateway'
- context[:gem_version] = '1.103.0'
+ context[:gem_version] = '1.104.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/endpoints.rb b/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/endpoints.rb
index 0d836949d43..e6ed765c595 100644
--- a/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/endpoints.rb
+++ b/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/endpoints.rb
@@ -14,1680 +14,1320 @@ module Endpoints
class CreateApiKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBasePathMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDocumentationPart
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDocumentationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRequestValidator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRestApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUsagePlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUsagePlanKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApiKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBasePathMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteClientCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDocumentationPart
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDocumentationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGatewayResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIntegrationResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMethod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMethodResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRequestValidator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRestApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUsagePlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUsagePlanKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FlushStageAuthorizersCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FlushStageCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateClientCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApiKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApiKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAuthorizers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBasePathMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBasePathMappings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetClientCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetClientCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDocumentationPart
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDocumentationParts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDocumentationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDocumentationVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainNames
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGatewayResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGatewayResponses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIntegrationResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMethod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMethodResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModelTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRequestValidator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRequestValidators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRestApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRestApis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSdk
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSdkType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSdkTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUsagePlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUsagePlanKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUsagePlanKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUsagePlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVpcLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVpcLinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportApiKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportDocumentationParts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportRestApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutGatewayResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutIntegrationResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMethod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMethodResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRestApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestInvokeAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestInvokeMethod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApiKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBasePathMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateClientCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDocumentationPart
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDocumentationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGatewayResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIntegrationResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMethod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMethodResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRequestValidator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRestApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUsagePlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVpcLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::APIGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/plugins/endpoints.rb b/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/plugins/endpoints.rb
index 8df99e8fc35..bd7f3d280ee 100644
--- a/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/plugins/endpoints.rb
+++ b/gems/aws-sdk-apigateway/lib/aws-sdk-apigateway/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-apigateway/spec/endpoint_provider_spec.rb b/gems/aws-sdk-apigateway/spec/endpoint_provider_spec.rb
index 7a020bf01b2..22117977e13 100644
--- a/gems/aws-sdk-apigateway/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-apigateway/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::APIGateway
describe EndpointProvider do
subject { Aws::APIGateway::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::APIGateway
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::APIGateway
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::APIGateway
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::APIGateway
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::APIGateway
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::APIGateway
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::APIGateway
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::APIGateway
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::APIGateway
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::APIGateway
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::APIGateway
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::APIGateway
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::APIGateway
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::APIGateway
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::APIGateway
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::APIGateway
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::APIGateway
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::APIGateway
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::APIGateway
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::APIGateway
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::APIGateway
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::APIGateway
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::APIGateway
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::APIGateway
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::APIGateway
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::APIGateway
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::APIGateway
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::APIGateway
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::APIGateway
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::APIGateway
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-gov-west-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::APIGateway
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::APIGateway
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::APIGateway
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-gov-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::APIGateway
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-iso-east-1.c2s.ic.gov"}}
end
@@ -504,7 +504,7 @@ module Aws::APIGateway
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -517,7 +517,7 @@ module Aws::APIGateway
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -531,7 +531,7 @@ module Aws::APIGateway
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -544,7 +544,7 @@ module Aws::APIGateway
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -557,7 +557,7 @@ module Aws::APIGateway
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -571,7 +571,7 @@ module Aws::APIGateway
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -584,7 +584,7 @@ module Aws::APIGateway
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -598,7 +598,7 @@ module Aws::APIGateway
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::APIGateway
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::APIGateway
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -639,7 +639,7 @@ module Aws::APIGateway
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -652,7 +652,7 @@ module Aws::APIGateway
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-apigatewaymanagementapi/CHANGELOG.md b/gems/aws-sdk-apigatewaymanagementapi/CHANGELOG.md
index b7e056138b4..5bf9f62f0ad 100644
--- a/gems/aws-sdk-apigatewaymanagementapi/CHANGELOG.md
+++ b/gems/aws-sdk-apigatewaymanagementapi/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.51.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.50.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-apigatewaymanagementapi/VERSION b/gems/aws-sdk-apigatewaymanagementapi/VERSION
index 5a5c7211dc6..ba0a719118c 100644
--- a/gems/aws-sdk-apigatewaymanagementapi/VERSION
+++ b/gems/aws-sdk-apigatewaymanagementapi/VERSION
@@ -1 +1 @@
-1.50.0
+1.51.0
diff --git a/gems/aws-sdk-apigatewaymanagementapi/aws-sdk-apigatewaymanagementapi.gemspec b/gems/aws-sdk-apigatewaymanagementapi/aws-sdk-apigatewaymanagementapi.gemspec
index 9d8f9f7ba4e..0cd7460535b 100644
--- a/gems/aws-sdk-apigatewaymanagementapi/aws-sdk-apigatewaymanagementapi.gemspec
+++ b/gems/aws-sdk-apigatewaymanagementapi/aws-sdk-apigatewaymanagementapi.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-apigatewaymanagementapi/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi.rb b/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi.rb
index e5f78b70bc1..12b5febf71f 100644
--- a/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi.rb
+++ b/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ApiGatewayManagementApi
- GEM_VERSION = '1.50.0'
+ GEM_VERSION = '1.51.0'
end
diff --git a/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/client.rb b/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/client.rb
index e7511b023a2..31ae22dd22c 100644
--- a/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/client.rb
+++ b/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/client.rb
@@ -533,7 +533,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-apigatewaymanagementapi'
- context[:gem_version] = '1.50.0'
+ context[:gem_version] = '1.51.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/endpoints.rb b/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/endpoints.rb
index 743559218e0..f38f7199155 100644
--- a/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/endpoints.rb
+++ b/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/endpoints.rb
@@ -14,42 +14,33 @@ module Endpoints
class DeleteConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayManagementApi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayManagementApi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PostToConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayManagementApi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/plugins/endpoints.rb b/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/plugins/endpoints.rb
index 5c8b3303ca5..63e70af2551 100644
--- a/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/plugins/endpoints.rb
+++ b/gems/aws-sdk-apigatewaymanagementapi/lib/aws-sdk-apigatewaymanagementapi/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-apigatewaymanagementapi/spec/endpoint_provider_spec.rb b/gems/aws-sdk-apigatewaymanagementapi/spec/endpoint_provider_spec.rb
index 76c8b6705af..179f2f0ec52 100644
--- a/gems/aws-sdk-apigatewaymanagementapi/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-apigatewaymanagementapi/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ApiGatewayManagementApi
describe EndpointProvider do
subject { Aws::ApiGatewayManagementApi::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://execute-api.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::ApiGatewayManagementApi
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-apigatewayv2/CHANGELOG.md b/gems/aws-sdk-apigatewayv2/CHANGELOG.md
index 24c76369c20..4d183477b00 100644
--- a/gems/aws-sdk-apigatewayv2/CHANGELOG.md
+++ b/gems/aws-sdk-apigatewayv2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.63.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.62.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-apigatewayv2/VERSION b/gems/aws-sdk-apigatewayv2/VERSION
index 76d05362056..af92bdd9f58 100644
--- a/gems/aws-sdk-apigatewayv2/VERSION
+++ b/gems/aws-sdk-apigatewayv2/VERSION
@@ -1 +1 @@
-1.62.0
+1.63.0
diff --git a/gems/aws-sdk-apigatewayv2/aws-sdk-apigatewayv2.gemspec b/gems/aws-sdk-apigatewayv2/aws-sdk-apigatewayv2.gemspec
index d9ecc1b13e7..7de230838ce 100644
--- a/gems/aws-sdk-apigatewayv2/aws-sdk-apigatewayv2.gemspec
+++ b/gems/aws-sdk-apigatewayv2/aws-sdk-apigatewayv2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-apigatewayv2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2.rb b/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2.rb
index 18a97e36786..e0b01b9cd30 100644
--- a/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2.rb
+++ b/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ApiGatewayV2
- GEM_VERSION = '1.62.0'
+ GEM_VERSION = '1.63.0'
end
diff --git a/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/client.rb b/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/client.rb
index c7e7f956df0..f632fbab0a0 100644
--- a/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/client.rb
+++ b/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/client.rb
@@ -4578,7 +4578,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-apigatewayv2'
- context[:gem_version] = '1.62.0'
+ context[:gem_version] = '1.63.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/endpoints.rb b/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/endpoints.rb
index f5b5b2336f4..ea4b249dd27 100644
--- a/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/endpoints.rb
+++ b/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/endpoints.rb
@@ -14,1008 +14,792 @@ module Endpoints
class CreateApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApiMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIntegrationResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRouteResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccessLogSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApiMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCorsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIntegrationResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRouteRequestParameter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRouteResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRouteSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetAuthorizersCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApiMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApiMappings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAuthorizers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainNames
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIntegrationResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIntegrationResponses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIntegrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModelTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRouteResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRouteResponses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVpcLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVpcLinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReimportApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApiMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIntegrationResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRouteResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVpcLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApiGatewayV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/plugins/endpoints.rb b/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/plugins/endpoints.rb
index 8a0e7c66c8a..d1930d2d951 100644
--- a/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/plugins/endpoints.rb
+++ b/gems/aws-sdk-apigatewayv2/lib/aws-sdk-apigatewayv2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-apigatewayv2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-apigatewayv2/spec/endpoint_provider_spec.rb
index c12d93712de..43e0d1c3733 100644
--- a/gems/aws-sdk-apigatewayv2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-apigatewayv2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ApiGatewayV2
describe EndpointProvider do
subject { Aws::ApiGatewayV2::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-gov-west-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-gov-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-iso-east-1.c2s.ic.gov"}}
end
@@ -504,7 +504,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -517,7 +517,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -531,7 +531,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -544,7 +544,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -557,7 +557,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -571,7 +571,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -584,7 +584,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apigateway.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -598,7 +598,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -639,7 +639,7 @@ module Aws::ApiGatewayV2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -652,7 +652,7 @@ module Aws::ApiGatewayV2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-appconfig/CHANGELOG.md b/gems/aws-sdk-appconfig/CHANGELOG.md
index a8e33ce512a..43d95d7d61c 100644
--- a/gems/aws-sdk-appconfig/CHANGELOG.md
+++ b/gems/aws-sdk-appconfig/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.55.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.54.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-appconfig/VERSION b/gems/aws-sdk-appconfig/VERSION
index b7921ae87bc..094d6ad00ce 100644
--- a/gems/aws-sdk-appconfig/VERSION
+++ b/gems/aws-sdk-appconfig/VERSION
@@ -1 +1 @@
-1.54.0
+1.55.0
diff --git a/gems/aws-sdk-appconfig/aws-sdk-appconfig.gemspec b/gems/aws-sdk-appconfig/aws-sdk-appconfig.gemspec
index ecfc5244e5c..756bfe4fe20 100644
--- a/gems/aws-sdk-appconfig/aws-sdk-appconfig.gemspec
+++ b/gems/aws-sdk-appconfig/aws-sdk-appconfig.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appconfig/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig.rb b/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig.rb
index acc29992a94..e101857148a 100644
--- a/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig.rb
+++ b/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AppConfig
- GEM_VERSION = '1.54.0'
+ GEM_VERSION = '1.55.0'
end
diff --git a/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/client.rb b/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/client.rb
index 40d9237c6d1..9d7e69637f3 100644
--- a/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/client.rb
+++ b/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/client.rb
@@ -3863,7 +3863,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-appconfig'
- context[:gem_version] = '1.54.0'
+ context[:gem_version] = '1.55.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/endpoints.rb b/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/endpoints.rb
index 8f4811ece12..5320161781b 100644
--- a/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/endpoints.rb
+++ b/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/endpoints.rb
@@ -14,630 +14,495 @@ module Endpoints
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfigurationProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeploymentStrategy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExtension
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExtensionAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHostedConfigurationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeploymentStrategy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExtension
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExtensionAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHostedConfigurationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfigurationProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeploymentStrategy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExtension
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExtensionAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHostedConfigurationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurationProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeploymentStrategies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExtensionAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExtensions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHostedConfigurationVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeploymentStrategy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateExtension
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateExtensionAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/plugins/endpoints.rb b/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/plugins/endpoints.rb
index 0b32b261b7e..667ea4b906c 100644
--- a/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/plugins/endpoints.rb
+++ b/gems/aws-sdk-appconfig/lib/aws-sdk-appconfig/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-appconfig/spec/endpoint_provider_spec.rb b/gems/aws-sdk-appconfig/spec/endpoint_provider_spec.rb
index 83c0f102dd4..6ff0a117747 100644
--- a/gems/aws-sdk-appconfig/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-appconfig/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AppConfig
describe EndpointProvider do
subject { Aws::AppConfig::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AppConfig
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AppConfig
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AppConfig
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AppConfig
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AppConfig
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AppConfig
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AppConfig
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AppConfig
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AppConfig
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AppConfig
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AppConfig
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AppConfig
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::AppConfig
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::AppConfig
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::AppConfig
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::AppConfig
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::AppConfig
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::AppConfig
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::AppConfig
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::AppConfig
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::AppConfig
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::AppConfig
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::AppConfig
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig-fips.us-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::AppConfig
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::AppConfig
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::AppConfig
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::AppConfig
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::AppConfig
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::AppConfig
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::AppConfig
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::AppConfig
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::AppConfig
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::AppConfig
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::AppConfig
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig-fips.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::AppConfig
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::AppConfig
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-iso-east-1.c2s.ic.gov"}}
end
@@ -532,7 +532,7 @@ module Aws::AppConfig
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-iso-west-1.c2s.ic.gov"}}
end
@@ -546,7 +546,7 @@ module Aws::AppConfig
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -559,7 +559,7 @@ module Aws::AppConfig
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -573,7 +573,7 @@ module Aws::AppConfig
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -586,7 +586,7 @@ module Aws::AppConfig
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -600,7 +600,7 @@ module Aws::AppConfig
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::AppConfig
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfig-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::AppConfig
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::AppConfig
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::AppConfig
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::AppConfig
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -681,7 +681,7 @@ module Aws::AppConfig
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -694,7 +694,7 @@ module Aws::AppConfig
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-appconfigdata/CHANGELOG.md b/gems/aws-sdk-appconfigdata/CHANGELOG.md
index 781ca44788c..ddf0ca7cac7 100644
--- a/gems/aws-sdk-appconfigdata/CHANGELOG.md
+++ b/gems/aws-sdk-appconfigdata/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.28.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.27.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-appconfigdata/VERSION b/gems/aws-sdk-appconfigdata/VERSION
index 5db08bf2dc5..cfc730712d5 100644
--- a/gems/aws-sdk-appconfigdata/VERSION
+++ b/gems/aws-sdk-appconfigdata/VERSION
@@ -1 +1 @@
-1.27.0
+1.28.0
diff --git a/gems/aws-sdk-appconfigdata/aws-sdk-appconfigdata.gemspec b/gems/aws-sdk-appconfigdata/aws-sdk-appconfigdata.gemspec
index e0a59d415f2..8fcd97e44d6 100644
--- a/gems/aws-sdk-appconfigdata/aws-sdk-appconfigdata.gemspec
+++ b/gems/aws-sdk-appconfigdata/aws-sdk-appconfigdata.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appconfigdata/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata.rb b/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata.rb
index 65cbe15bc79..aea632c0b30 100644
--- a/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata.rb
+++ b/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AppConfigData
- GEM_VERSION = '1.27.0'
+ GEM_VERSION = '1.28.0'
end
diff --git a/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/client.rb b/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/client.rb
index 2ae9bf2ee64..c420b9d8102 100644
--- a/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/client.rb
+++ b/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/client.rb
@@ -578,7 +578,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-appconfigdata'
- context[:gem_version] = '1.27.0'
+ context[:gem_version] = '1.28.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/endpoints.rb b/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/endpoints.rb
index 2ef7ecc3a59..ddacc7fee0d 100644
--- a/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/endpoints.rb
+++ b/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/endpoints.rb
@@ -14,28 +14,22 @@ module Endpoints
class GetLatestConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfigData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartConfigurationSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppConfigData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/plugins/endpoints.rb b/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/plugins/endpoints.rb
index a15480e9e78..81f1628f8eb 100644
--- a/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/plugins/endpoints.rb
+++ b/gems/aws-sdk-appconfigdata/lib/aws-sdk-appconfigdata/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-appconfigdata/spec/endpoint_provider_spec.rb b/gems/aws-sdk-appconfigdata/spec/endpoint_provider_spec.rb
index 3654052c69b..ab9f985a7bf 100644
--- a/gems/aws-sdk-appconfigdata/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-appconfigdata/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AppConfigData
describe EndpointProvider do
subject { Aws::AppConfigData::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AppConfigData
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AppConfigData
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AppConfigData
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AppConfigData
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AppConfigData
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AppConfigData
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AppConfigData
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AppConfigData
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AppConfigData
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AppConfigData
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AppConfigData
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AppConfigData
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::AppConfigData
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::AppConfigData
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::AppConfigData
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::AppConfigData
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::AppConfigData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::AppConfigData
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::AppConfigData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::AppConfigData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::AppConfigData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-gov-west-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata-fips.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-gov-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-iso-west-1.c2s.ic.gov"}}
end
@@ -504,7 +504,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -517,7 +517,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -531,7 +531,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -544,7 +544,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-iso-east-1.c2s.ic.gov"}}
end
@@ -558,7 +558,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -571,7 +571,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -585,7 +585,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -598,7 +598,7 @@ module Aws::AppConfigData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appconfigdata.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -612,7 +612,7 @@ module Aws::AppConfigData
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::AppConfigData
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::AppConfigData
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -653,7 +653,7 @@ module Aws::AppConfigData
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -666,7 +666,7 @@ module Aws::AppConfigData
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-appfabric/CHANGELOG.md b/gems/aws-sdk-appfabric/CHANGELOG.md
index 5aed58b7603..ab58877a583 100644
--- a/gems/aws-sdk-appfabric/CHANGELOG.md
+++ b/gems/aws-sdk-appfabric/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.17.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.16.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-appfabric/VERSION b/gems/aws-sdk-appfabric/VERSION
index 15b989e398f..092afa15df4 100644
--- a/gems/aws-sdk-appfabric/VERSION
+++ b/gems/aws-sdk-appfabric/VERSION
@@ -1 +1 @@
-1.16.0
+1.17.0
diff --git a/gems/aws-sdk-appfabric/aws-sdk-appfabric.gemspec b/gems/aws-sdk-appfabric/aws-sdk-appfabric.gemspec
index d0917db74e2..70225caf0b6 100644
--- a/gems/aws-sdk-appfabric/aws-sdk-appfabric.gemspec
+++ b/gems/aws-sdk-appfabric/aws-sdk-appfabric.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appfabric/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric.rb b/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric.rb
index 9f03dd84f85..d149092c89d 100644
--- a/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric.rb
+++ b/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::AppFabric
- GEM_VERSION = '1.16.0'
+ GEM_VERSION = '1.17.0'
end
diff --git a/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/client.rb b/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/client.rb
index 176f57c4026..4d8ce0f92a2 100644
--- a/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/client.rb
+++ b/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/client.rb
@@ -1803,7 +1803,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-appfabric'
- context[:gem_version] = '1.16.0'
+ context[:gem_version] = '1.17.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/endpoints.rb b/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/endpoints.rb
index 409675812a0..42da1f7d34e 100644
--- a/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/endpoints.rb
+++ b/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/endpoints.rb
@@ -14,364 +14,286 @@ module Endpoints
class BatchGetUserAccessTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConnectAppAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppBundle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIngestion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIngestionDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppBundle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIngestion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIngestionDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppBundle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIngestion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIngestionDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppAuthorizations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppBundles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIngestionDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIngestions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartIngestion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartUserAccessTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopIngestion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIngestionDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppFabric::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/plugins/endpoints.rb b/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/plugins/endpoints.rb
index eacee94d900..b75197ba8e0 100644
--- a/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/plugins/endpoints.rb
+++ b/gems/aws-sdk-appfabric/lib/aws-sdk-appfabric/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-appfabric/spec/endpoint_provider_spec.rb b/gems/aws-sdk-appfabric/spec/endpoint_provider_spec.rb
index a8a78adcbab..4d32e73b1a9 100644
--- a/gems/aws-sdk-appfabric/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-appfabric/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AppFabric
describe EndpointProvider do
subject { Aws::AppFabric::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::AppFabric
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AppFabric
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::AppFabric
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AppFabric
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::AppFabric
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::AppFabric
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::AppFabric
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::AppFabric
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::AppFabric
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AppFabric
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::AppFabric
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AppFabric
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::AppFabric
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::AppFabric
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::AppFabric
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::AppFabric
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::AppFabric
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::AppFabric
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::AppFabric
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appfabric.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::AppFabric
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::AppFabric
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::AppFabric
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::AppFabric
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::AppFabric
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-appflow/CHANGELOG.md b/gems/aws-sdk-appflow/CHANGELOG.md
index 40840418492..e95092e5aa3 100644
--- a/gems/aws-sdk-appflow/CHANGELOG.md
+++ b/gems/aws-sdk-appflow/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.65.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.64.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-appflow/VERSION b/gems/aws-sdk-appflow/VERSION
index 9405730420f..902c74186fb 100644
--- a/gems/aws-sdk-appflow/VERSION
+++ b/gems/aws-sdk-appflow/VERSION
@@ -1 +1 @@
-1.64.0
+1.65.0
diff --git a/gems/aws-sdk-appflow/aws-sdk-appflow.gemspec b/gems/aws-sdk-appflow/aws-sdk-appflow.gemspec
index 1d62d10f477..79e7bc89937 100644
--- a/gems/aws-sdk-appflow/aws-sdk-appflow.gemspec
+++ b/gems/aws-sdk-appflow/aws-sdk-appflow.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appflow/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-appflow/lib/aws-sdk-appflow.rb b/gems/aws-sdk-appflow/lib/aws-sdk-appflow.rb
index 9b90c9f1af2..c0d877e7030 100644
--- a/gems/aws-sdk-appflow/lib/aws-sdk-appflow.rb
+++ b/gems/aws-sdk-appflow/lib/aws-sdk-appflow.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Appflow
- GEM_VERSION = '1.64.0'
+ GEM_VERSION = '1.65.0'
end
diff --git a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client.rb b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client.rb
index c24909c598f..80f327faa15 100644
--- a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client.rb
+++ b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/client.rb
@@ -3328,7 +3328,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-appflow'
- context[:gem_version] = '1.64.0'
+ context[:gem_version] = '1.65.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/endpoints.rb b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/endpoints.rb
index ffd85ab23a6..8c7866bde64 100644
--- a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/endpoints.rb
+++ b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/endpoints.rb
@@ -14,350 +14,275 @@ module Endpoints
class CancelFlowExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnectorProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnectorProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnectorEntity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnectorProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFlowExecutionRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnectorEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFlows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetConnectorMetadataCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnregisterConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnectorProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnectorRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Appflow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/plugins/endpoints.rb b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/plugins/endpoints.rb
index 01a414bb2bd..d374cf2e299 100644
--- a/gems/aws-sdk-appflow/lib/aws-sdk-appflow/plugins/endpoints.rb
+++ b/gems/aws-sdk-appflow/lib/aws-sdk-appflow/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-appflow/spec/endpoint_provider_spec.rb b/gems/aws-sdk-appflow/spec/endpoint_provider_spec.rb
index a0985461c84..f85df53597d 100644
--- a/gems/aws-sdk-appflow/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-appflow/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Appflow
describe EndpointProvider do
subject { Aws::Appflow::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Appflow
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Appflow
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Appflow
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Appflow
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Appflow
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Appflow
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Appflow
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Appflow
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Appflow
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Appflow
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Appflow
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.sa-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Appflow
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Appflow
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.us-east-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Appflow
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.us-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Appflow
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Appflow
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow-fips.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::Appflow
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Appflow
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::Appflow
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::Appflow
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::Appflow
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::Appflow
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::Appflow
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::Appflow
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Appflow
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::Appflow
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::Appflow
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::Appflow
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::Appflow
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::Appflow
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::Appflow
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::Appflow
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::Appflow
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::Appflow
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appflow.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::Appflow
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::Appflow
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::Appflow
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::Appflow
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::Appflow
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-appintegrationsservice/CHANGELOG.md b/gems/aws-sdk-appintegrationsservice/CHANGELOG.md
index 84eebd24c5f..d711ffb67ee 100644
--- a/gems/aws-sdk-appintegrationsservice/CHANGELOG.md
+++ b/gems/aws-sdk-appintegrationsservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.40.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.39.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-appintegrationsservice/VERSION b/gems/aws-sdk-appintegrationsservice/VERSION
index 5edffce6d57..32b7211cb61 100644
--- a/gems/aws-sdk-appintegrationsservice/VERSION
+++ b/gems/aws-sdk-appintegrationsservice/VERSION
@@ -1 +1 @@
-1.39.0
+1.40.0
diff --git a/gems/aws-sdk-appintegrationsservice/aws-sdk-appintegrationsservice.gemspec b/gems/aws-sdk-appintegrationsservice/aws-sdk-appintegrationsservice.gemspec
index 321fbe9a4b7..e6344d23617 100644
--- a/gems/aws-sdk-appintegrationsservice/aws-sdk-appintegrationsservice.gemspec
+++ b/gems/aws-sdk-appintegrationsservice/aws-sdk-appintegrationsservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appintegrationsservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice.rb b/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice.rb
index d7974147f04..c2c0a338f1b 100644
--- a/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice.rb
+++ b/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AppIntegrationsService
- GEM_VERSION = '1.39.0'
+ GEM_VERSION = '1.40.0'
end
diff --git a/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/client.rb b/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/client.rb
index 986c92c4314..dd76742b98b 100644
--- a/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/client.rb
+++ b/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/client.rb
@@ -1752,7 +1752,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-appintegrationsservice'
- context[:gem_version] = '1.39.0'
+ context[:gem_version] = '1.40.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/endpoints.rb b/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/endpoints.rb
index 5fa8a3baf9b..5adf254439d 100644
--- a/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/endpoints.rb
+++ b/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/endpoints.rb
@@ -14,322 +14,253 @@ module Endpoints
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataIntegrationAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataIntegrationAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataIntegrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventIntegrationAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventIntegrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataIntegrationAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppIntegrationsService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/plugins/endpoints.rb b/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/plugins/endpoints.rb
index 8571735c2f1..4ba993c8a7b 100644
--- a/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-appintegrationsservice/lib/aws-sdk-appintegrationsservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-appintegrationsservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-appintegrationsservice/spec/endpoint_provider_spec.rb
index 52f10db4aa4..785c0696f7b 100644
--- a/gems/aws-sdk-appintegrationsservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-appintegrationsservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AppIntegrationsService
describe EndpointProvider do
subject { Aws::AppIntegrationsService::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.eu-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations-fips.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.us-gov-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -321,7 +321,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -335,7 +335,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -348,7 +348,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.us-iso-east-1.c2s.ic.gov"}}
end
@@ -362,7 +362,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -375,7 +375,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -389,7 +389,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -402,7 +402,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://app-integrations.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -416,7 +416,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -457,7 +457,7 @@ module Aws::AppIntegrationsService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -470,7 +470,7 @@ module Aws::AppIntegrationsService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-applicationautoscaling/CHANGELOG.md b/gems/aws-sdk-applicationautoscaling/CHANGELOG.md
index 03a817730d9..12167205299 100644
--- a/gems/aws-sdk-applicationautoscaling/CHANGELOG.md
+++ b/gems/aws-sdk-applicationautoscaling/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.93.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.92.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-applicationautoscaling/VERSION b/gems/aws-sdk-applicationautoscaling/VERSION
index 7f229af9647..95784efddbc 100644
--- a/gems/aws-sdk-applicationautoscaling/VERSION
+++ b/gems/aws-sdk-applicationautoscaling/VERSION
@@ -1 +1 @@
-1.92.0
+1.93.0
diff --git a/gems/aws-sdk-applicationautoscaling/aws-sdk-applicationautoscaling.gemspec b/gems/aws-sdk-applicationautoscaling/aws-sdk-applicationautoscaling.gemspec
index d2783b307a4..f2167df2bc6 100644
--- a/gems/aws-sdk-applicationautoscaling/aws-sdk-applicationautoscaling.gemspec
+++ b/gems/aws-sdk-applicationautoscaling/aws-sdk-applicationautoscaling.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-applicationautoscaling/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling.rb b/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling.rb
index b1eb0ccd5c2..f8012dbfd3e 100644
--- a/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling.rb
+++ b/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ApplicationAutoScaling
- GEM_VERSION = '1.92.0'
+ GEM_VERSION = '1.93.0'
end
diff --git a/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/client.rb b/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/client.rb
index c3c97830662..6c7e2b05f00 100644
--- a/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/client.rb
+++ b/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/client.rb
@@ -3511,7 +3511,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-applicationautoscaling'
- context[:gem_version] = '1.92.0'
+ context[:gem_version] = '1.93.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/endpoints.rb b/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/endpoints.rb
index 1a22e75e11c..9840fee313a 100644
--- a/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/endpoints.rb
+++ b/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/endpoints.rb
@@ -14,182 +14,143 @@ module Endpoints
class DeleteScalingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterScalableTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScalableTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScalingActivities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScalingPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScheduledActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutScalingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterScalableTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationAutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/plugins/endpoints.rb b/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/plugins/endpoints.rb
index 6ae768ffbb8..1e2febdfb1c 100644
--- a/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/plugins/endpoints.rb
+++ b/gems/aws-sdk-applicationautoscaling/lib/aws-sdk-applicationautoscaling/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-applicationautoscaling/spec/endpoint_provider_spec.rb b/gems/aws-sdk-applicationautoscaling/spec/endpoint_provider_spec.rb
index 9784c7167a8..c526626d69a 100644
--- a/gems/aws-sdk-applicationautoscaling/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-applicationautoscaling/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ApplicationAutoScaling
describe EndpointProvider do
subject { Aws::ApplicationAutoScaling::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling-fips.us-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling-fips.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-iso-east-1.c2s.ic.gov"}}
end
@@ -532,7 +532,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-iso-west-1.c2s.ic.gov"}}
end
@@ -546,7 +546,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -559,7 +559,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -573,7 +573,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -586,7 +586,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -600,7 +600,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-autoscaling-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -681,7 +681,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -694,7 +694,7 @@ module Aws::ApplicationAutoScaling
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-applicationcostprofiler/CHANGELOG.md b/gems/aws-sdk-applicationcostprofiler/CHANGELOG.md
index 5a300d48f10..0c2ffbc1783 100644
--- a/gems/aws-sdk-applicationcostprofiler/CHANGELOG.md
+++ b/gems/aws-sdk-applicationcostprofiler/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.31.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.30.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-applicationcostprofiler/VERSION b/gems/aws-sdk-applicationcostprofiler/VERSION
index 034552a83ee..34aae156b19 100644
--- a/gems/aws-sdk-applicationcostprofiler/VERSION
+++ b/gems/aws-sdk-applicationcostprofiler/VERSION
@@ -1 +1 @@
-1.30.0
+1.31.0
diff --git a/gems/aws-sdk-applicationcostprofiler/aws-sdk-applicationcostprofiler.gemspec b/gems/aws-sdk-applicationcostprofiler/aws-sdk-applicationcostprofiler.gemspec
index e484b580d1d..c8acacaf468 100644
--- a/gems/aws-sdk-applicationcostprofiler/aws-sdk-applicationcostprofiler.gemspec
+++ b/gems/aws-sdk-applicationcostprofiler/aws-sdk-applicationcostprofiler.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-applicationcostprofiler/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler.rb b/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler.rb
index 4d49ceb481e..55ab20d927c 100644
--- a/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler.rb
+++ b/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ApplicationCostProfiler
- GEM_VERSION = '1.30.0'
+ GEM_VERSION = '1.31.0'
end
diff --git a/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb b/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb
index 67ed1a67d31..e349bf00b54 100644
--- a/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb
+++ b/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/client.rb
@@ -715,7 +715,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-applicationcostprofiler'
- context[:gem_version] = '1.30.0'
+ context[:gem_version] = '1.31.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/endpoints.rb b/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/endpoints.rb
index d60d53f7721..4d458e0daae 100644
--- a/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/endpoints.rb
+++ b/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/endpoints.rb
@@ -14,84 +14,66 @@ module Endpoints
class DeleteReportDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationCostProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReportDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationCostProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportApplicationUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationCostProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReportDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationCostProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutReportDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationCostProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReportDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationCostProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/plugins/endpoints.rb b/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/plugins/endpoints.rb
index a0426879b6e..e239d4f8322 100644
--- a/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/plugins/endpoints.rb
+++ b/gems/aws-sdk-applicationcostprofiler/lib/aws-sdk-applicationcostprofiler/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-applicationcostprofiler/spec/endpoint_provider_spec.rb b/gems/aws-sdk-applicationcostprofiler/spec/endpoint_provider_spec.rb
index b805d1b60c9..fb090b85b13 100644
--- a/gems/aws-sdk-applicationcostprofiler/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-applicationcostprofiler/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ApplicationCostProfiler
describe EndpointProvider do
subject { Aws::ApplicationCostProfiler::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-cost-profiler.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::ApplicationCostProfiler
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-applicationdiscoveryservice/CHANGELOG.md b/gems/aws-sdk-applicationdiscoveryservice/CHANGELOG.md
index 52ef0c7f4e0..8a511d114cc 100644
--- a/gems/aws-sdk-applicationdiscoveryservice/CHANGELOG.md
+++ b/gems/aws-sdk-applicationdiscoveryservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.74.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.73.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-applicationdiscoveryservice/VERSION b/gems/aws-sdk-applicationdiscoveryservice/VERSION
index 5e3a4256626..dc87e8af82f 100644
--- a/gems/aws-sdk-applicationdiscoveryservice/VERSION
+++ b/gems/aws-sdk-applicationdiscoveryservice/VERSION
@@ -1 +1 @@
-1.73.0
+1.74.0
diff --git a/gems/aws-sdk-applicationdiscoveryservice/aws-sdk-applicationdiscoveryservice.gemspec b/gems/aws-sdk-applicationdiscoveryservice/aws-sdk-applicationdiscoveryservice.gemspec
index 982c956f263..053eb429502 100644
--- a/gems/aws-sdk-applicationdiscoveryservice/aws-sdk-applicationdiscoveryservice.gemspec
+++ b/gems/aws-sdk-applicationdiscoveryservice/aws-sdk-applicationdiscoveryservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-applicationdiscoveryservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice.rb b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice.rb
index 09d80f016a7..d0966e4e869 100644
--- a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice.rb
+++ b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ApplicationDiscoveryService
- GEM_VERSION = '1.73.0'
+ GEM_VERSION = '1.74.0'
end
diff --git a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client.rb b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client.rb
index 373665025ea..6d1b8e5c812 100644
--- a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client.rb
+++ b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/client.rb
@@ -1808,7 +1808,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-applicationdiscoveryservice'
- context[:gem_version] = '1.73.0'
+ context[:gem_version] = '1.74.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/endpoints.rb b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/endpoints.rb
index c151937fac5..bee92840f36 100644
--- a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/endpoints.rb
+++ b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/endpoints.rb
@@ -14,392 +14,308 @@ module Endpoints
class AssociateConfigurationItemsToApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteAgents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteImportData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAgents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBatchDeleteConfigurationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContinuousExports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExportConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExportTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImportTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateConfigurationItemsFromApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDiscoverySummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServerNeighbors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBatchDeleteConfigurationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartContinuousExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDataCollectionByAgentIds
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartExportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopContinuousExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDataCollectionByAgentIds
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationDiscoveryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/plugins/endpoints.rb b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/plugins/endpoints.rb
index 516992456da..8728b543da2 100644
--- a/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-applicationdiscoveryservice/lib/aws-sdk-applicationdiscoveryservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-applicationdiscoveryservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-applicationdiscoveryservice/spec/endpoint_provider_spec.rb
index 2ce43d796ea..48058fb65c6 100644
--- a/gems/aws-sdk-applicationdiscoveryservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-applicationdiscoveryservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ApplicationDiscoveryService
describe EndpointProvider do
subject { Aws::ApplicationDiscoveryService::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.ap-southeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.eu-central-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.eu-west-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.eu-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery-fips.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery-fips.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://discovery.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::ApplicationDiscoveryService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-applicationinsights/CHANGELOG.md b/gems/aws-sdk-applicationinsights/CHANGELOG.md
index e51c8bf97f3..8cafdbf969d 100644
--- a/gems/aws-sdk-applicationinsights/CHANGELOG.md
+++ b/gems/aws-sdk-applicationinsights/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.54.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.53.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-applicationinsights/VERSION b/gems/aws-sdk-applicationinsights/VERSION
index 3f4830156cb..b7921ae87bc 100644
--- a/gems/aws-sdk-applicationinsights/VERSION
+++ b/gems/aws-sdk-applicationinsights/VERSION
@@ -1 +1 @@
-1.53.0
+1.54.0
diff --git a/gems/aws-sdk-applicationinsights/aws-sdk-applicationinsights.gemspec b/gems/aws-sdk-applicationinsights/aws-sdk-applicationinsights.gemspec
index ee87eb30912..e35f73fa1cb 100644
--- a/gems/aws-sdk-applicationinsights/aws-sdk-applicationinsights.gemspec
+++ b/gems/aws-sdk-applicationinsights/aws-sdk-applicationinsights.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-applicationinsights/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights.rb b/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights.rb
index 054a9351673..f0db27c42c0 100644
--- a/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights.rb
+++ b/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ApplicationInsights
- GEM_VERSION = '1.53.0'
+ GEM_VERSION = '1.54.0'
end
diff --git a/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/client.rb b/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/client.rb
index e151f763a8e..f78a7f2d447 100644
--- a/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/client.rb
+++ b/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/client.rb
@@ -2131,7 +2131,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-applicationinsights'
- context[:gem_version] = '1.53.0'
+ context[:gem_version] = '1.54.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/endpoints.rb b/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/endpoints.rb
index b5a8e134f2d..ea4ba1fd53b 100644
--- a/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/endpoints.rb
+++ b/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/endpoints.rb
@@ -14,462 +14,363 @@ module Endpoints
class AddWorkload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLogPattern
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLogPattern
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeComponentConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeComponentConfigurationRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLogPattern
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeObservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProblem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProblemObservations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurationHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLogPatternSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLogPatterns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProblems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkloads
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveWorkload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateComponentConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLogPattern
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProblem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationInsights::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/plugins/endpoints.rb b/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/plugins/endpoints.rb
index 56a7a3a3a70..187703fc9f4 100644
--- a/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/plugins/endpoints.rb
+++ b/gems/aws-sdk-applicationinsights/lib/aws-sdk-applicationinsights/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-applicationinsights/spec/endpoint_provider_spec.rb b/gems/aws-sdk-applicationinsights/spec/endpoint_provider_spec.rb
index ccb2e19556d..fb7a875ca0a 100644
--- a/gems/aws-sdk-applicationinsights/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-applicationinsights/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ApplicationInsights
describe EndpointProvider do
subject { Aws::ApplicationInsights::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.us-gov-west-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights-fips.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.us-gov-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -503,7 +503,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -517,7 +517,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -530,7 +530,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.us-iso-east-1.c2s.ic.gov"}}
end
@@ -544,7 +544,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -557,7 +557,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -571,7 +571,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -584,7 +584,7 @@ module Aws::ApplicationInsights
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://applicationinsights.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -598,7 +598,7 @@ module Aws::ApplicationInsights
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::ApplicationInsights
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::ApplicationInsights
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -639,7 +639,7 @@ module Aws::ApplicationInsights
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -652,7 +652,7 @@ module Aws::ApplicationInsights
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-applicationsignals/CHANGELOG.md b/gems/aws-sdk-applicationsignals/CHANGELOG.md
index 2be903d43cb..4dabcddb90e 100644
--- a/gems/aws-sdk-applicationsignals/CHANGELOG.md
+++ b/gems/aws-sdk-applicationsignals/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.8.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.7.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-applicationsignals/VERSION b/gems/aws-sdk-applicationsignals/VERSION
index bd8bf882d06..27f9cd322bb 100644
--- a/gems/aws-sdk-applicationsignals/VERSION
+++ b/gems/aws-sdk-applicationsignals/VERSION
@@ -1 +1 @@
-1.7.0
+1.8.0
diff --git a/gems/aws-sdk-applicationsignals/aws-sdk-applicationsignals.gemspec b/gems/aws-sdk-applicationsignals/aws-sdk-applicationsignals.gemspec
index 9d5387736c9..05d133b4318 100644
--- a/gems/aws-sdk-applicationsignals/aws-sdk-applicationsignals.gemspec
+++ b/gems/aws-sdk-applicationsignals/aws-sdk-applicationsignals.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-applicationsignals/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals.rb b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals.rb
index 9361ca2c6fc..a7e449ae9eb 100644
--- a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals.rb
+++ b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ApplicationSignals
- GEM_VERSION = '1.7.0'
+ GEM_VERSION = '1.8.0'
end
diff --git a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client.rb b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client.rb
index 94146e2d8e9..43e34f0860e 100644
--- a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client.rb
+++ b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/client.rb
@@ -2107,7 +2107,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-applicationsignals'
- context[:gem_version] = '1.7.0'
+ context[:gem_version] = '1.8.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/endpoints.rb b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/endpoints.rb
index 2281946ea41..1e7911ed456 100644
--- a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/endpoints.rb
+++ b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/endpoints.rb
@@ -14,12 +14,9 @@ module Endpoints
class BatchGetServiceLevelObjectiveBudgetReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -27,12 +24,9 @@ def self.build(context)
class CreateServiceLevelObjective
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -40,12 +34,9 @@ def self.build(context)
class DeleteServiceLevelObjective
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -53,12 +44,9 @@ def self.build(context)
class GetService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -66,12 +54,9 @@ def self.build(context)
class GetServiceLevelObjective
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -79,12 +64,9 @@ def self.build(context)
class ListServiceDependencies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -92,12 +74,9 @@ def self.build(context)
class ListServiceDependents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -105,12 +84,9 @@ def self.build(context)
class ListServiceLevelObjectives
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -118,12 +94,9 @@ def self.build(context)
class ListServiceOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -131,12 +104,9 @@ def self.build(context)
class ListServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -144,12 +114,9 @@ def self.build(context)
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -157,12 +124,9 @@ def self.build(context)
class StartDiscovery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -170,12 +134,9 @@ def self.build(context)
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -183,12 +144,9 @@ def self.build(context)
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -196,12 +154,9 @@ def self.build(context)
class UpdateServiceLevelObjective
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ApplicationSignals::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
diff --git a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/plugins/endpoints.rb b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/plugins/endpoints.rb
index eda5b57d85e..4c31826b9c3 100644
--- a/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/plugins/endpoints.rb
+++ b/gems/aws-sdk-applicationsignals/lib/aws-sdk-applicationsignals/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-applicationsignals/spec/endpoint_provider_spec.rb b/gems/aws-sdk-applicationsignals/spec/endpoint_provider_spec.rb
index 2523396b7c2..ac5f98f2ec4 100644
--- a/gems/aws-sdk-applicationsignals/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-applicationsignals/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ApplicationSignals
describe EndpointProvider do
subject { Aws::ApplicationSignals::EndpointProvider.new }
- context 'For custom endpoint with region not set and fips disabled' do
+ context "For custom endpoint with region not set and fips disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ApplicationSignals
end
end
- context 'For custom endpoint with fips enabled' do
+ context "For custom endpoint with fips enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -41,7 +41,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals-fips.us-east-1.api.aws"}}
end
@@ -55,7 +55,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals.us-east-1.api.aws"}}
end
@@ -69,7 +69,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region cn-northwest-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-northwest-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals-fips.cn-northwest-1.api.amazonwebservices.com.cn"}}
end
@@ -83,7 +83,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals.cn-northwest-1.api.amazonwebservices.com.cn"}}
end
@@ -97,7 +97,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals-fips.us-gov-west-1.api.aws"}}
end
@@ -111,7 +111,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals.us-gov-west-1.api.aws"}}
end
@@ -125,7 +125,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -139,7 +139,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals.us-iso-east-1.c2s.ic.gov"}}
end
@@ -153,7 +153,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -167,7 +167,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -181,7 +181,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region eu-isoe-west-1 with FIPS enabled and DualStack enabled' do
+ context "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals-fips.eu-isoe-west-1.cloud.adc-e.uk"}}
end
@@ -195,7 +195,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region eu-isoe-west-1 with FIPS disabled and DualStack enabled' do
+ context "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals.eu-isoe-west-1.cloud.adc-e.uk"}}
end
@@ -209,7 +209,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region us-isof-south-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isof-south-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals-fips.us-isof-south-1.csp.hci.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::ApplicationSignals
end
end
- context 'For region us-isof-south-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isof-south-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://application-signals.us-isof-south-1.csp.hci.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::ApplicationSignals
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-appmesh/CHANGELOG.md b/gems/aws-sdk-appmesh/CHANGELOG.md
index 186736daa83..e05c8692397 100644
--- a/gems/aws-sdk-appmesh/CHANGELOG.md
+++ b/gems/aws-sdk-appmesh/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.69.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.68.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-appmesh/VERSION b/gems/aws-sdk-appmesh/VERSION
index ee2f4ca9130..49349856550 100644
--- a/gems/aws-sdk-appmesh/VERSION
+++ b/gems/aws-sdk-appmesh/VERSION
@@ -1 +1 @@
-1.68.0
+1.69.0
diff --git a/gems/aws-sdk-appmesh/aws-sdk-appmesh.gemspec b/gems/aws-sdk-appmesh/aws-sdk-appmesh.gemspec
index 6dee30bf39d..5ade61a4ad4 100644
--- a/gems/aws-sdk-appmesh/aws-sdk-appmesh.gemspec
+++ b/gems/aws-sdk-appmesh/aws-sdk-appmesh.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appmesh/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh.rb b/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh.rb
index 7088e839674..df83b13439f 100644
--- a/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh.rb
+++ b/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AppMesh
- GEM_VERSION = '1.68.0'
+ GEM_VERSION = '1.69.0'
end
diff --git a/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/client.rb b/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/client.rb
index 3034112d39e..84534ad360e 100644
--- a/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/client.rb
+++ b/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/client.rb
@@ -5558,7 +5558,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-appmesh'
- context[:gem_version] = '1.68.0'
+ context[:gem_version] = '1.69.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/endpoints.rb b/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/endpoints.rb
index 4d1d38cff98..84d47e98020 100644
--- a/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/endpoints.rb
+++ b/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/endpoints.rb
@@ -14,532 +14,418 @@ module Endpoints
class CreateGatewayRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMesh
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVirtualGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVirtualNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVirtualRouter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVirtualService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGatewayRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMesh
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVirtualGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVirtualNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVirtualRouter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVirtualService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGatewayRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMesh
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVirtualGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVirtualNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVirtualRouter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVirtualService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGatewayRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMeshes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVirtualGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVirtualNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVirtualRouters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVirtualServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGatewayRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMesh
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVirtualGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVirtualNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVirtualRouter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVirtualService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppMesh::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/plugins/endpoints.rb b/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/plugins/endpoints.rb
index 2b2321045cd..2b3f88812b1 100644
--- a/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/plugins/endpoints.rb
+++ b/gems/aws-sdk-appmesh/lib/aws-sdk-appmesh/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-appmesh/spec/endpoint_provider_spec.rb b/gems/aws-sdk-appmesh/spec/endpoint_provider_spec.rb
index 608378c7f5e..c177c57ae16 100644
--- a/gems/aws-sdk-appmesh/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-appmesh/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AppMesh
describe EndpointProvider do
subject { Aws::AppMesh::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AppMesh
end
end
- context 'For region af-south-1 with FIPS disabled and DualStack enabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.af-south-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-northeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack enabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-northeast-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-northeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack enabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-northeast-2.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-south-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack enabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-south-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-southeast-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack enabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-southeast-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-southeast-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::AppMesh
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack enabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ap-southeast-2.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::AppMesh
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ca-central-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::AppMesh
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack enabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.ca-central-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-central-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack enabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-central-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-north-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-north-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-south-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack enabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-south-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack enabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-west-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack enabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-west-2.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-west-3.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::AppMesh
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack enabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.eu-west-3.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::AppMesh
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.me-south-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::AppMesh
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack enabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.me-south-1.api.aws"}}
end
@@ -434,7 +434,7 @@ module Aws::AppMesh
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.sa-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::AppMesh
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.sa-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::AppMesh
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::AppMesh
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::AppMesh
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-east-2.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::AppMesh
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-east-2.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::AppMesh
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::AppMesh
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-west-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::AppMesh
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-west-2.amazonaws.com"}}
end
@@ -560,7 +560,7 @@ module Aws::AppMesh
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack enabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-west-2.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::AppMesh
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh-fips.us-east-1.api.aws"}}
end
@@ -588,7 +588,7 @@ module Aws::AppMesh
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh-fips.us-east-1.amazonaws.com"}}
end
@@ -602,7 +602,7 @@ module Aws::AppMesh
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.cn-north-1.amazonaws.com.cn"}}
end
@@ -616,7 +616,7 @@ module Aws::AppMesh
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -630,7 +630,7 @@ module Aws::AppMesh
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -644,7 +644,7 @@ module Aws::AppMesh
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.cn-northwest-1.api.amazonwebservices.com.cn"}}
end
@@ -658,7 +658,7 @@ module Aws::AppMesh
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -672,7 +672,7 @@ module Aws::AppMesh
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -686,7 +686,7 @@ module Aws::AppMesh
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh-fips.us-gov-east-1.api.aws"}}
end
@@ -700,7 +700,7 @@ module Aws::AppMesh
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -714,7 +714,7 @@ module Aws::AppMesh
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-gov-east-1.api.aws"}}
end
@@ -728,7 +728,7 @@ module Aws::AppMesh
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-gov-east-1.amazonaws.com"}}
end
@@ -742,7 +742,7 @@ module Aws::AppMesh
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -755,7 +755,7 @@ module Aws::AppMesh
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -769,7 +769,7 @@ module Aws::AppMesh
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -782,7 +782,7 @@ module Aws::AppMesh
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-iso-east-1.c2s.ic.gov"}}
end
@@ -796,7 +796,7 @@ module Aws::AppMesh
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -809,7 +809,7 @@ module Aws::AppMesh
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -823,7 +823,7 @@ module Aws::AppMesh
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -836,7 +836,7 @@ module Aws::AppMesh
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appmesh.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -850,7 +850,7 @@ module Aws::AppMesh
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -864,7 +864,7 @@ module Aws::AppMesh
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -878,7 +878,7 @@ module Aws::AppMesh
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -891,7 +891,7 @@ module Aws::AppMesh
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -904,7 +904,7 @@ module Aws::AppMesh
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-appregistry/CHANGELOG.md b/gems/aws-sdk-appregistry/CHANGELOG.md
index 30e7428ac7b..361d54e708b 100644
--- a/gems/aws-sdk-appregistry/CHANGELOG.md
+++ b/gems/aws-sdk-appregistry/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.42.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.41.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-appregistry/VERSION b/gems/aws-sdk-appregistry/VERSION
index 7d47e599800..a50908ca3da 100644
--- a/gems/aws-sdk-appregistry/VERSION
+++ b/gems/aws-sdk-appregistry/VERSION
@@ -1 +1 @@
-1.41.0
+1.42.0
diff --git a/gems/aws-sdk-appregistry/aws-sdk-appregistry.gemspec b/gems/aws-sdk-appregistry/aws-sdk-appregistry.gemspec
index 425008ffa9f..d73c9a36e0b 100644
--- a/gems/aws-sdk-appregistry/aws-sdk-appregistry.gemspec
+++ b/gems/aws-sdk-appregistry/aws-sdk-appregistry.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appregistry/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry.rb b/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry.rb
index c538a273b0a..d70de10faba 100644
--- a/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry.rb
+++ b/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AppRegistry
- GEM_VERSION = '1.41.0'
+ GEM_VERSION = '1.42.0'
end
diff --git a/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/client.rb b/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/client.rb
index c0e1d985750..18fb10cfbe3 100644
--- a/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/client.rb
+++ b/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/client.rb
@@ -1582,7 +1582,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-appregistry'
- context[:gem_version] = '1.41.0'
+ context[:gem_version] = '1.42.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/endpoints.rb b/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/endpoints.rb
index 6f1ea80bc39..fd560350f34 100644
--- a/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/endpoints.rb
+++ b/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/endpoints.rb
@@ -14,336 +14,264 @@ module Endpoints
class AssociateAttributeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAttributeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAttributeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateAttributeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssociatedResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAttributeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociatedAttributeGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociatedResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttributeGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttributeGroupsForApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SyncResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAttributeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRegistry::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/plugins/endpoints.rb b/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/plugins/endpoints.rb
index da20eec1c0a..b6ebe836e09 100644
--- a/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/plugins/endpoints.rb
+++ b/gems/aws-sdk-appregistry/lib/aws-sdk-appregistry/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-appregistry/spec/endpoint_provider_spec.rb b/gems/aws-sdk-appregistry/spec/endpoint_provider_spec.rb
index 3543086e3b8..6f2f696e854 100644
--- a/gems/aws-sdk-appregistry/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-appregistry/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AppRegistry
describe EndpointProvider do
subject { Aws::AppRegistry::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AppRegistry
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AppRegistry
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AppRegistry
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AppRegistry
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AppRegistry
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AppRegistry
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AppRegistry
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AppRegistry
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AppRegistry
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AppRegistry
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AppRegistry
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AppRegistry
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::AppRegistry
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::AppRegistry
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::AppRegistry
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::AppRegistry
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::AppRegistry
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::AppRegistry
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::AppRegistry
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::AppRegistry
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::AppRegistry
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::AppRegistry
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry-fips.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.us-gov-east-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -559,7 +559,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -573,7 +573,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -586,7 +586,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.us-iso-east-1.c2s.ic.gov"}}
end
@@ -600,7 +600,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::AppRegistry
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-appregistry.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -654,7 +654,7 @@ module Aws::AppRegistry
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::AppRegistry
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::AppRegistry
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -695,7 +695,7 @@ module Aws::AppRegistry
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -708,7 +708,7 @@ module Aws::AppRegistry
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-apprunner/CHANGELOG.md b/gems/aws-sdk-apprunner/CHANGELOG.md
index 04bc471ab7f..4687e32075a 100644
--- a/gems/aws-sdk-apprunner/CHANGELOG.md
+++ b/gems/aws-sdk-apprunner/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.47.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.46.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-apprunner/VERSION b/gems/aws-sdk-apprunner/VERSION
index 0a3db35b241..21998d3c2d9 100644
--- a/gems/aws-sdk-apprunner/VERSION
+++ b/gems/aws-sdk-apprunner/VERSION
@@ -1 +1 @@
-1.46.0
+1.47.0
diff --git a/gems/aws-sdk-apprunner/aws-sdk-apprunner.gemspec b/gems/aws-sdk-apprunner/aws-sdk-apprunner.gemspec
index 757815687fd..e4c47923543 100644
--- a/gems/aws-sdk-apprunner/aws-sdk-apprunner.gemspec
+++ b/gems/aws-sdk-apprunner/aws-sdk-apprunner.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-apprunner/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner.rb b/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner.rb
index 147c60dc661..96d5163b4ff 100644
--- a/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner.rb
+++ b/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AppRunner
- GEM_VERSION = '1.46.0'
+ GEM_VERSION = '1.47.0'
end
diff --git a/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/client.rb b/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/client.rb
index de47b199ee8..a97c9ed4e50 100644
--- a/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/client.rb
+++ b/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/client.rb
@@ -2971,7 +2971,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-apprunner'
- context[:gem_version] = '1.46.0'
+ context[:gem_version] = '1.47.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/endpoints.rb b/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/endpoints.rb
index ba4287df712..7f18c949b41 100644
--- a/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/endpoints.rb
+++ b/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/endpoints.rb
@@ -14,518 +14,407 @@ module Endpoints
class AssociateCustomDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAutoScalingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateObservabilityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcIngressConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAutoScalingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteObservabilityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcIngressConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAutoScalingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeObservabilityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcIngressConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateCustomDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAutoScalingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListObservabilityConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServicesForAutoScalingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVpcConnectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVpcIngressConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PauseService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDefaultAutoScalingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVpcIngressConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppRunner::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/plugins/endpoints.rb b/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/plugins/endpoints.rb
index b1503878832..dd28d2116ea 100644
--- a/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/plugins/endpoints.rb
+++ b/gems/aws-sdk-apprunner/lib/aws-sdk-apprunner/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-apprunner/spec/endpoint_provider_spec.rb b/gems/aws-sdk-apprunner/spec/endpoint_provider_spec.rb
index 403e7589905..bfbea939aa2 100644
--- a/gems/aws-sdk-apprunner/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-apprunner/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AppRunner
describe EndpointProvider do
subject { Aws::AppRunner::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AppRunner
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.eu-west-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AppRunner
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AppRunner
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner-fips.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AppRunner
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.us-east-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AppRunner
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner-fips.us-east-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AppRunner
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AppRunner
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner-fips.us-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AppRunner
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner-fips.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::AppRunner
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::AppRunner
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::AppRunner
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::AppRunner
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::AppRunner
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::AppRunner
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner-fips.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::AppRunner
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::AppRunner
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::AppRunner
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::AppRunner
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::AppRunner
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::AppRunner
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::AppRunner
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::AppRunner
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::AppRunner
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::AppRunner
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::AppRunner
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apprunner.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::AppRunner
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::AppRunner
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::AppRunner
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::AppRunner
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::AppRunner
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-appstream/CHANGELOG.md b/gems/aws-sdk-appstream/CHANGELOG.md
index 8d0b849efd3..797666e9734 100644
--- a/gems/aws-sdk-appstream/CHANGELOG.md
+++ b/gems/aws-sdk-appstream/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.97.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.96.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-appstream/VERSION b/gems/aws-sdk-appstream/VERSION
index 9141007a558..acbb747ac54 100644
--- a/gems/aws-sdk-appstream/VERSION
+++ b/gems/aws-sdk-appstream/VERSION
@@ -1 +1 @@
-1.96.0
+1.97.0
diff --git a/gems/aws-sdk-appstream/aws-sdk-appstream.gemspec b/gems/aws-sdk-appstream/aws-sdk-appstream.gemspec
index 2ff8e8132de..49573c35f0e 100644
--- a/gems/aws-sdk-appstream/aws-sdk-appstream.gemspec
+++ b/gems/aws-sdk-appstream/aws-sdk-appstream.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appstream/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-appstream/lib/aws-sdk-appstream.rb b/gems/aws-sdk-appstream/lib/aws-sdk-appstream.rb
index 9bae0f6e035..2fdf6ccee4c 100644
--- a/gems/aws-sdk-appstream/lib/aws-sdk-appstream.rb
+++ b/gems/aws-sdk-appstream/lib/aws-sdk-appstream.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::AppStream
- GEM_VERSION = '1.96.0'
+ GEM_VERSION = '1.97.0'
end
diff --git a/gems/aws-sdk-appstream/lib/aws-sdk-appstream/client.rb b/gems/aws-sdk-appstream/lib/aws-sdk-appstream/client.rb
index 0b459ccd70b..3cf2a00e07e 100644
--- a/gems/aws-sdk-appstream/lib/aws-sdk-appstream/client.rb
+++ b/gems/aws-sdk-appstream/lib/aws-sdk-appstream/client.rb
@@ -5416,7 +5416,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-appstream'
- context[:gem_version] = '1.96.0'
+ context[:gem_version] = '1.97.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-appstream/lib/aws-sdk-appstream/endpoints.rb b/gems/aws-sdk-appstream/lib/aws-sdk-appstream/endpoints.rb
index 3b7122f31ff..47e03aeb0af 100644
--- a/gems/aws-sdk-appstream/lib/aws-sdk-appstream/endpoints.rb
+++ b/gems/aws-sdk-appstream/lib/aws-sdk-appstream/endpoints.rb
@@ -14,1106 +14,869 @@ module Endpoints
class AssociateAppBlockBuilderAppBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateApplicationFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateApplicationToEntitlement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchAssociateUserStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisassociateUserStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppBlockBuilder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppBlockBuilderStreamingURL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDirectoryConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEntitlement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateImageBuilder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateImageBuilderStreamingURL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStreamingURL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateThemeForStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUpdatedImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUsageReportSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppBlockBuilder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDirectoryConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEntitlement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImageBuilder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImagePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteThemeForStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUsageReportSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppBlockBuilderAppBlockAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppBlockBuilders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppBlocks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicationFleetAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDirectoryConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEntitlements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImageBuilders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImagePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStacks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeThemeForStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUsageReportSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUserStackAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateAppBlockBuilderAppBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateApplicationFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateApplicationFromEntitlement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExpireSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociatedFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociatedStacks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEntitledApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAppBlockBuilder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImageBuilder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopAppBlockBuilder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopImageBuilder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppBlockBuilder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDirectoryConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEntitlement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateImagePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateThemeForStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppStream::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-appstream/lib/aws-sdk-appstream/plugins/endpoints.rb b/gems/aws-sdk-appstream/lib/aws-sdk-appstream/plugins/endpoints.rb
index c153e72227a..2bad76c3b19 100644
--- a/gems/aws-sdk-appstream/lib/aws-sdk-appstream/plugins/endpoints.rb
+++ b/gems/aws-sdk-appstream/lib/aws-sdk-appstream/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-appstream/spec/endpoint_provider_spec.rb b/gems/aws-sdk-appstream/spec/endpoint_provider_spec.rb
index bebcbf99970..75659775e5b 100644
--- a/gems/aws-sdk-appstream/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-appstream/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AppStream
describe EndpointProvider do
subject { Aws::AppStream::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AppStream
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AppStream
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AppStream
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AppStream
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AppStream
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AppStream
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AppStream
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AppStream
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AppStream
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AppStream
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2-fips.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AppStream
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.us-east-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AppStream
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.us-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::AppStream
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2-fips.us-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::AppStream
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2-fips.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::AppStream
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::AppStream
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::AppStream
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::AppStream
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::AppStream
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::AppStream
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.us-gov-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::AppStream
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::AppStream
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2-fips.us-gov-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::AppStream
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::AppStream
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.us-gov-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::AppStream
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.us-gov-east-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::AppStream
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -391,7 +391,7 @@ module Aws::AppStream
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -405,7 +405,7 @@ module Aws::AppStream
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -418,7 +418,7 @@ module Aws::AppStream
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.us-iso-east-1.c2s.ic.gov"}}
end
@@ -432,7 +432,7 @@ module Aws::AppStream
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -445,7 +445,7 @@ module Aws::AppStream
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -459,7 +459,7 @@ module Aws::AppStream
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -472,7 +472,7 @@ module Aws::AppStream
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appstream2.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -486,7 +486,7 @@ module Aws::AppStream
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -500,7 +500,7 @@ module Aws::AppStream
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::AppStream
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -527,7 +527,7 @@ module Aws::AppStream
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -540,7 +540,7 @@ module Aws::AppStream
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-appsync/CHANGELOG.md b/gems/aws-sdk-appsync/CHANGELOG.md
index d7fdab67068..4140115c97f 100644
--- a/gems/aws-sdk-appsync/CHANGELOG.md
+++ b/gems/aws-sdk-appsync/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.86.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.85.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-appsync/VERSION b/gems/aws-sdk-appsync/VERSION
index f288d11142d..b7844a6ffdc 100644
--- a/gems/aws-sdk-appsync/VERSION
+++ b/gems/aws-sdk-appsync/VERSION
@@ -1 +1 @@
-1.85.0
+1.86.0
diff --git a/gems/aws-sdk-appsync/aws-sdk-appsync.gemspec b/gems/aws-sdk-appsync/aws-sdk-appsync.gemspec
index ead06dd29df..5847429e7b3 100644
--- a/gems/aws-sdk-appsync/aws-sdk-appsync.gemspec
+++ b/gems/aws-sdk-appsync/aws-sdk-appsync.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-appsync/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-appsync/lib/aws-sdk-appsync.rb b/gems/aws-sdk-appsync/lib/aws-sdk-appsync.rb
index bc4db8db61d..7e7628f9846 100644
--- a/gems/aws-sdk-appsync/lib/aws-sdk-appsync.rb
+++ b/gems/aws-sdk-appsync/lib/aws-sdk-appsync.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AppSync
- GEM_VERSION = '1.85.0'
+ GEM_VERSION = '1.86.0'
end
diff --git a/gems/aws-sdk-appsync/lib/aws-sdk-appsync/client.rb b/gems/aws-sdk-appsync/lib/aws-sdk-appsync/client.rb
index 3eebfa25e37..4aaf38ed1fe 100644
--- a/gems/aws-sdk-appsync/lib/aws-sdk-appsync/client.rb
+++ b/gems/aws-sdk-appsync/lib/aws-sdk-appsync/client.rb
@@ -4323,7 +4323,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-appsync'
- context[:gem_version] = '1.85.0'
+ context[:gem_version] = '1.86.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-appsync/lib/aws-sdk-appsync/endpoints.rb b/gems/aws-sdk-appsync/lib/aws-sdk-appsync/endpoints.rb
index ba324ebfdc7..7b4fa16291b 100644
--- a/gems/aws-sdk-appsync/lib/aws-sdk-appsync/endpoints.rb
+++ b/gems/aws-sdk-appsync/lib/aws-sdk-appsync/endpoints.rb
@@ -14,896 +14,704 @@ module Endpoints
class AssociateApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateMergedGraphqlApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateSourceGraphqlApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApiCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApiKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGraphqlApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResolver
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApiCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApiKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGraphqlApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResolver
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMergedGraphqlApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateSourceGraphqlApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EvaluateCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EvaluateMappingTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FlushApiCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApiAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApiCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataSourceIntrospection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGraphqlApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGraphqlApiEnvironmentVariables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIntrospectionSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResolver
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSchemaCreationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSourceApiAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApiKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainNames
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFunctions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGraphqlApis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResolvers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResolversByFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSourceApiAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTypesByAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutGraphqlApiEnvironmentVariables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDataSourceIntrospection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSchemaCreation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSchemaMerge
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApiCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApiKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGraphqlApi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResolver
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSourceApiAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-appsync/lib/aws-sdk-appsync/plugins/endpoints.rb b/gems/aws-sdk-appsync/lib/aws-sdk-appsync/plugins/endpoints.rb
index 603d534bd50..71dd02c17df 100644
--- a/gems/aws-sdk-appsync/lib/aws-sdk-appsync/plugins/endpoints.rb
+++ b/gems/aws-sdk-appsync/lib/aws-sdk-appsync/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-appsync/spec/endpoint_provider_spec.rb b/gems/aws-sdk-appsync/spec/endpoint_provider_spec.rb
index ff100a04333..ebdd7df3e54 100644
--- a/gems/aws-sdk-appsync/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-appsync/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AppSync
describe EndpointProvider do
subject { Aws::AppSync::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AppSync
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AppSync
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AppSync
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.ap-northeast-3.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AppSync
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AppSync
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AppSync
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AppSync
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AppSync
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AppSync
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AppSync
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AppSync
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AppSync
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::AppSync
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::AppSync
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.me-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::AppSync
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.sa-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::AppSync
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::AppSync
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.us-east-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::AppSync
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.us-west-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::AppSync
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.us-west-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::AppSync
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync-fips.us-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::AppSync
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync-fips.us-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::AppSync
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::AppSync
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::AppSync
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::AppSync
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::AppSync
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::AppSync
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::AppSync
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync-fips.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::AppSync
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::AppSync
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::AppSync
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::AppSync
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -475,7 +475,7 @@ module Aws::AppSync
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -489,7 +489,7 @@ module Aws::AppSync
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -502,7 +502,7 @@ module Aws::AppSync
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.us-iso-east-1.c2s.ic.gov"}}
end
@@ -516,7 +516,7 @@ module Aws::AppSync
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -529,7 +529,7 @@ module Aws::AppSync
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -543,7 +543,7 @@ module Aws::AppSync
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -556,7 +556,7 @@ module Aws::AppSync
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://appsync.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -570,7 +570,7 @@ module Aws::AppSync
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::AppSync
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::AppSync
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -611,7 +611,7 @@ module Aws::AppSync
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -624,7 +624,7 @@ module Aws::AppSync
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-apptest/CHANGELOG.md b/gems/aws-sdk-apptest/CHANGELOG.md
index 664abd77398..52667e66724 100644
--- a/gems/aws-sdk-apptest/CHANGELOG.md
+++ b/gems/aws-sdk-apptest/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.6.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.5.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-apptest/VERSION b/gems/aws-sdk-apptest/VERSION
index bc80560fad6..dc1e644a101 100644
--- a/gems/aws-sdk-apptest/VERSION
+++ b/gems/aws-sdk-apptest/VERSION
@@ -1 +1 @@
-1.5.0
+1.6.0
diff --git a/gems/aws-sdk-apptest/aws-sdk-apptest.gemspec b/gems/aws-sdk-apptest/aws-sdk-apptest.gemspec
index 378e47c1de7..3f40ea07548 100644
--- a/gems/aws-sdk-apptest/aws-sdk-apptest.gemspec
+++ b/gems/aws-sdk-apptest/aws-sdk-apptest.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-apptest/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-apptest/lib/aws-sdk-apptest.rb b/gems/aws-sdk-apptest/lib/aws-sdk-apptest.rb
index 6d5fb2bf1c5..7558f8e725e 100644
--- a/gems/aws-sdk-apptest/lib/aws-sdk-apptest.rb
+++ b/gems/aws-sdk-apptest/lib/aws-sdk-apptest.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::AppTest
- GEM_VERSION = '1.5.0'
+ GEM_VERSION = '1.6.0'
end
diff --git a/gems/aws-sdk-apptest/lib/aws-sdk-apptest/client.rb b/gems/aws-sdk-apptest/lib/aws-sdk-apptest/client.rb
index b5d0fb81b43..6591af9b22b 100644
--- a/gems/aws-sdk-apptest/lib/aws-sdk-apptest/client.rb
+++ b/gems/aws-sdk-apptest/lib/aws-sdk-apptest/client.rb
@@ -2279,7 +2279,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-apptest'
- context[:gem_version] = '1.5.0'
+ context[:gem_version] = '1.6.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-apptest/lib/aws-sdk-apptest/endpoints.rb b/gems/aws-sdk-apptest/lib/aws-sdk-apptest/endpoints.rb
index f3b53dd29e9..a367af7f5c4 100644
--- a/gems/aws-sdk-apptest/lib/aws-sdk-apptest/endpoints.rb
+++ b/gems/aws-sdk-apptest/lib/aws-sdk-apptest/endpoints.rb
@@ -14,336 +14,264 @@ module Endpoints
class CreateTestCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTestConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTestSuite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTestCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTestConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTestRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTestSuite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTestCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTestConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTestRunStep
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTestSuite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestCases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestRunSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestRunTestCases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestSuites
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTestRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTestCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTestConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTestSuite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AppTest::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-apptest/lib/aws-sdk-apptest/plugins/endpoints.rb b/gems/aws-sdk-apptest/lib/aws-sdk-apptest/plugins/endpoints.rb
index cddec791697..97310b65c21 100644
--- a/gems/aws-sdk-apptest/lib/aws-sdk-apptest/plugins/endpoints.rb
+++ b/gems/aws-sdk-apptest/lib/aws-sdk-apptest/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-apptest/spec/endpoint_provider_spec.rb b/gems/aws-sdk-apptest/spec/endpoint_provider_spec.rb
index b97ecfe4bac..b991c69b2a5 100644
--- a/gems/aws-sdk-apptest/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-apptest/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AppTest
describe EndpointProvider do
subject { Aws::AppTest::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::AppTest
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AppTest
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::AppTest
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AppTest
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::AppTest
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::AppTest
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::AppTest
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::AppTest
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::AppTest
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AppTest
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::AppTest
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AppTest
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::AppTest
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::AppTest
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::AppTest
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::AppTest
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::AppTest
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::AppTest
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::AppTest
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://apptest.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::AppTest
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::AppTest
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::AppTest
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::AppTest
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::AppTest
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-arczonalshift/CHANGELOG.md b/gems/aws-sdk-arczonalshift/CHANGELOG.md
index a11e84e5d0f..638b21e749d 100644
--- a/gems/aws-sdk-arczonalshift/CHANGELOG.md
+++ b/gems/aws-sdk-arczonalshift/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.22.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.21.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-arczonalshift/VERSION b/gems/aws-sdk-arczonalshift/VERSION
index 3500250a4b0..57807d6d0d0 100644
--- a/gems/aws-sdk-arczonalshift/VERSION
+++ b/gems/aws-sdk-arczonalshift/VERSION
@@ -1 +1 @@
-1.21.0
+1.22.0
diff --git a/gems/aws-sdk-arczonalshift/aws-sdk-arczonalshift.gemspec b/gems/aws-sdk-arczonalshift/aws-sdk-arczonalshift.gemspec
index aac74755de5..053ccdd9e73 100644
--- a/gems/aws-sdk-arczonalshift/aws-sdk-arczonalshift.gemspec
+++ b/gems/aws-sdk-arczonalshift/aws-sdk-arczonalshift.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-arczonalshift/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift.rb b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift.rb
index 79dd9a9f3f6..493da928de2 100644
--- a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift.rb
+++ b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ARCZonalShift
- GEM_VERSION = '1.21.0'
+ GEM_VERSION = '1.22.0'
end
diff --git a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client.rb b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client.rb
index 3b3af98e035..cec59c828f8 100644
--- a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client.rb
+++ b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/client.rb
@@ -1348,7 +1348,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-arczonalshift'
- context[:gem_version] = '1.21.0'
+ context[:gem_version] = '1.22.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoints.rb b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoints.rb
index 56844be8790..364b880aba9 100644
--- a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoints.rb
+++ b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/endpoints.rb
@@ -14,182 +14,143 @@ module Endpoints
class CancelZonalShift
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePracticeRunConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePracticeRunConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAutoshiftObserverNotificationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetManagedResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAutoshifts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListManagedResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListZonalShifts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartZonalShift
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAutoshiftObserverNotificationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePracticeRunConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateZonalAutoshiftConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateZonalShift
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ARCZonalShift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/plugins/endpoints.rb b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/plugins/endpoints.rb
index 522d22b9633..a7cc78742b7 100644
--- a/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/plugins/endpoints.rb
+++ b/gems/aws-sdk-arczonalshift/lib/aws-sdk-arczonalshift/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-arczonalshift/spec/endpoint_provider_spec.rb b/gems/aws-sdk-arczonalshift/spec/endpoint_provider_spec.rb
index 4cf32000551..8e6902337c0 100644
--- a/gems/aws-sdk-arczonalshift/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-arczonalshift/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ARCZonalShift
describe EndpointProvider do
subject { Aws::ARCZonalShift::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::ARCZonalShift
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://arc-zonal-shift.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::ARCZonalShift
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::ARCZonalShift
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::ARCZonalShift
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::ARCZonalShift
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::ARCZonalShift
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-artifact/CHANGELOG.md b/gems/aws-sdk-artifact/CHANGELOG.md
index 9c863e0c425..b3408e90ed3 100644
--- a/gems/aws-sdk-artifact/CHANGELOG.md
+++ b/gems/aws-sdk-artifact/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.10.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.9.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-artifact/VERSION b/gems/aws-sdk-artifact/VERSION
index f8e233b2733..81c871de46b 100644
--- a/gems/aws-sdk-artifact/VERSION
+++ b/gems/aws-sdk-artifact/VERSION
@@ -1 +1 @@
-1.9.0
+1.10.0
diff --git a/gems/aws-sdk-artifact/aws-sdk-artifact.gemspec b/gems/aws-sdk-artifact/aws-sdk-artifact.gemspec
index d8e7e20c209..6f1560ca3c3 100644
--- a/gems/aws-sdk-artifact/aws-sdk-artifact.gemspec
+++ b/gems/aws-sdk-artifact/aws-sdk-artifact.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-artifact/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb
index 9b8a2be4211..af47e4aee05 100644
--- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb
+++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Artifact
- GEM_VERSION = '1.9.0'
+ GEM_VERSION = '1.10.0'
end
diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb
index 578264996e2..159be8cf500 100644
--- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb
+++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/client.rb
@@ -804,7 +804,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-artifact'
- context[:gem_version] = '1.9.0'
+ context[:gem_version] = '1.10.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoints.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoints.rb
index 35c18c8fe87..32dec4fdf9c 100644
--- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoints.rb
+++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/endpoints.rb
@@ -14,84 +14,66 @@ module Endpoints
class GetAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Artifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Artifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReportMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Artifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTermForReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Artifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Artifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Artifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/plugins/endpoints.rb b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/plugins/endpoints.rb
index 166dcdd3eed..1b45fd677c0 100644
--- a/gems/aws-sdk-artifact/lib/aws-sdk-artifact/plugins/endpoints.rb
+++ b/gems/aws-sdk-artifact/lib/aws-sdk-artifact/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-artifact/spec/endpoint_provider_spec.rb b/gems/aws-sdk-artifact/spec/endpoint_provider_spec.rb
index 81697863bde..c597c5b7466 100644
--- a/gems/aws-sdk-artifact/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-artifact/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Artifact
describe EndpointProvider do
subject { Aws::Artifact::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Artifact
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Artifact
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Artifact
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Artifact
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Artifact
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Artifact
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Artifact
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Artifact
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Artifact
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Artifact
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Artifact
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Artifact
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Artifact
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Artifact
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Artifact
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Artifact
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Artifact
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Artifact
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Artifact
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://artifact.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Artifact
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Artifact
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Artifact
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Artifact
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Artifact
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-athena/CHANGELOG.md b/gems/aws-sdk-athena/CHANGELOG.md
index 8adad28558a..66c5b09938a 100644
--- a/gems/aws-sdk-athena/CHANGELOG.md
+++ b/gems/aws-sdk-athena/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.92.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.91.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-athena/VERSION b/gems/aws-sdk-athena/VERSION
index 6979a6c0661..7f229af9647 100644
--- a/gems/aws-sdk-athena/VERSION
+++ b/gems/aws-sdk-athena/VERSION
@@ -1 +1 @@
-1.91.0
+1.92.0
diff --git a/gems/aws-sdk-athena/aws-sdk-athena.gemspec b/gems/aws-sdk-athena/aws-sdk-athena.gemspec
index a5860bbc519..a679accd533 100644
--- a/gems/aws-sdk-athena/aws-sdk-athena.gemspec
+++ b/gems/aws-sdk-athena/aws-sdk-athena.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-athena/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-athena/lib/aws-sdk-athena.rb b/gems/aws-sdk-athena/lib/aws-sdk-athena.rb
index 84efb1e4c01..36279e93602 100644
--- a/gems/aws-sdk-athena/lib/aws-sdk-athena.rb
+++ b/gems/aws-sdk-athena/lib/aws-sdk-athena.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Athena
- GEM_VERSION = '1.91.0'
+ GEM_VERSION = '1.92.0'
end
diff --git a/gems/aws-sdk-athena/lib/aws-sdk-athena/client.rb b/gems/aws-sdk-athena/lib/aws-sdk-athena/client.rb
index 819354d516f..747efa774f7 100644
--- a/gems/aws-sdk-athena/lib/aws-sdk-athena/client.rb
+++ b/gems/aws-sdk-athena/lib/aws-sdk-athena/client.rb
@@ -3717,7 +3717,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-athena'
- context[:gem_version] = '1.91.0'
+ context[:gem_version] = '1.92.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-athena/lib/aws-sdk-athena/endpoints.rb b/gems/aws-sdk-athena/lib/aws-sdk-athena/endpoints.rb
index 3b839117167..91c39ee6465 100644
--- a/gems/aws-sdk-athena/lib/aws-sdk-athena/endpoints.rb
+++ b/gems/aws-sdk-athena/lib/aws-sdk-athena/endpoints.rb
@@ -14,952 +14,748 @@ module Endpoints
class BatchGetNamedQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetPreparedStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetQueryExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelCapacityReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCapacityReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNamedQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNotebook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePreparedStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePresignedNotebookUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCapacityReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNamedQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNotebook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePreparedStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportNotebook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCalculationExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCalculationExecutionCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCalculationExecutionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCapacityAssignmentConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCapacityReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNamedQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNotebookMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPreparedStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueryExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueryResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueryRuntimeStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSessionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTableMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportNotebook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationDPUSizes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCalculationExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCapacityReservations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataCatalogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEngineVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExecutors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNamedQueries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNotebookMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNotebookSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPreparedStatements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueryExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTableMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutCapacityAssignmentConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCalculationExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartQueryExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopCalculationExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopQueryExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCapacityReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNamedQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNotebook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNotebookMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePreparedStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Athena::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-athena/lib/aws-sdk-athena/plugins/endpoints.rb b/gems/aws-sdk-athena/lib/aws-sdk-athena/plugins/endpoints.rb
index 85c0b2c1352..9085e9142d0 100644
--- a/gems/aws-sdk-athena/lib/aws-sdk-athena/plugins/endpoints.rb
+++ b/gems/aws-sdk-athena/lib/aws-sdk-athena/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-athena/spec/endpoint_provider_spec.rb b/gems/aws-sdk-athena/spec/endpoint_provider_spec.rb
index 14beb22d9ad..be03c4d4e17 100644
--- a/gems/aws-sdk-athena/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-athena/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Athena
describe EndpointProvider do
subject { Aws::Athena::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Athena
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Athena
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Athena
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Athena
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Athena
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Athena
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Athena
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Athena
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Athena
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Athena
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Athena
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Athena
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Athena
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Athena
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Athena
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Athena
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Athena
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Athena
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Athena
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Athena
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Athena
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.us-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Athena
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Athena
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.us-west-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Athena
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Athena
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.us-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::Athena
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Athena
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::Athena
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Athena
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Athena
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Athena
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::Athena
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::Athena
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Athena
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Athena
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Athena
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::Athena
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::Athena
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -559,7 +559,7 @@ module Aws::Athena
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -573,7 +573,7 @@ module Aws::Athena
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -586,7 +586,7 @@ module Aws::Athena
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.us-iso-east-1.c2s.ic.gov"}}
end
@@ -600,7 +600,7 @@ module Aws::Athena
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::Athena
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::Athena
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::Athena
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://athena.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -654,7 +654,7 @@ module Aws::Athena
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::Athena
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::Athena
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -695,7 +695,7 @@ module Aws::Athena
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -708,7 +708,7 @@ module Aws::Athena
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-auditmanager/CHANGELOG.md b/gems/aws-sdk-auditmanager/CHANGELOG.md
index 8b2e2116142..c77460d1413 100644
--- a/gems/aws-sdk-auditmanager/CHANGELOG.md
+++ b/gems/aws-sdk-auditmanager/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.54.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.53.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-auditmanager/VERSION b/gems/aws-sdk-auditmanager/VERSION
index 3f4830156cb..b7921ae87bc 100644
--- a/gems/aws-sdk-auditmanager/VERSION
+++ b/gems/aws-sdk-auditmanager/VERSION
@@ -1 +1 @@
-1.53.0
+1.54.0
diff --git a/gems/aws-sdk-auditmanager/aws-sdk-auditmanager.gemspec b/gems/aws-sdk-auditmanager/aws-sdk-auditmanager.gemspec
index c047f05bb3c..72bce6b9c00 100644
--- a/gems/aws-sdk-auditmanager/aws-sdk-auditmanager.gemspec
+++ b/gems/aws-sdk-auditmanager/aws-sdk-auditmanager.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-auditmanager/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager.rb b/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager.rb
index 9720ed2fc60..ad87835d753 100644
--- a/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager.rb
+++ b/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AuditManager
- GEM_VERSION = '1.53.0'
+ GEM_VERSION = '1.54.0'
end
diff --git a/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/client.rb b/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/client.rb
index 9ffb2c05f59..8ac919ba63d 100644
--- a/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/client.rb
+++ b/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/client.rb
@@ -4031,7 +4031,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-auditmanager'
- context[:gem_version] = '1.53.0'
+ context[:gem_version] = '1.54.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/endpoints.rb b/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/endpoints.rb
index 7f6fa3826a2..fc1ecd9428f 100644
--- a/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/endpoints.rb
+++ b/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/endpoints.rb
@@ -14,868 +14,682 @@ module Endpoints
class AssociateAssessmentReportEvidenceFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchAssociateAssessmentReportEvidence
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchCreateDelegationByAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteDelegationByAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisassociateAssessmentReportEvidence
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchImportEvidenceToAssessmentControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssessmentFramework
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssessmentReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssessmentFramework
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssessmentFrameworkShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssessmentReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateAssessmentReportEvidenceFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssessmentFramework
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssessmentReportUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChangeLogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDelegations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEvidence
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEvidenceByEvidenceFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEvidenceFileUploadUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEvidenceFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEvidenceFoldersByAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEvidenceFoldersByAssessmentControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInsightsByAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServicesInScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssessmentControlInsightsByControlDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssessmentFrameworkShareRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssessmentFrameworks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssessmentReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssessments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListControlDomainInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListControlDomainInsightsByAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListControlInsightsByControlDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKeywordsForDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAssessmentFrameworkShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssessmentControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssessmentControlSetStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssessmentFramework
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssessmentFrameworkShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssessmentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateAssessmentReportIntegrity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AuditManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/plugins/endpoints.rb b/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/plugins/endpoints.rb
index c465751b0c4..a2c5e1766d3 100644
--- a/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/plugins/endpoints.rb
+++ b/gems/aws-sdk-auditmanager/lib/aws-sdk-auditmanager/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-auditmanager/spec/endpoint_provider_spec.rb b/gems/aws-sdk-auditmanager/spec/endpoint_provider_spec.rb
index 835c212253a..45fa5662d73 100644
--- a/gems/aws-sdk-auditmanager/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-auditmanager/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AuditManager
describe EndpointProvider do
subject { Aws::AuditManager::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AuditManager
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.ap-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AuditManager
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AuditManager
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AuditManager
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.ca-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AuditManager
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.eu-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AuditManager
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.eu-west-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AuditManager
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.eu-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AuditManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AuditManager
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.us-east-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AuditManager
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.us-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AuditManager
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.us-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AuditManager
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager-fips.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::AuditManager
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager-fips.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::AuditManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::AuditManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::AuditManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::AuditManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::AuditManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.cn-north-1.amazonaws.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::AuditManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager-fips.us-gov-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::AuditManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::AuditManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.us-gov-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::AuditManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::AuditManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -349,7 +349,7 @@ module Aws::AuditManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -363,7 +363,7 @@ module Aws::AuditManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -376,7 +376,7 @@ module Aws::AuditManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.us-iso-east-1.c2s.ic.gov"}}
end
@@ -390,7 +390,7 @@ module Aws::AuditManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -403,7 +403,7 @@ module Aws::AuditManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -417,7 +417,7 @@ module Aws::AuditManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -430,7 +430,7 @@ module Aws::AuditManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://auditmanager.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -444,7 +444,7 @@ module Aws::AuditManager
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::AuditManager
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -472,7 +472,7 @@ module Aws::AuditManager
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -485,7 +485,7 @@ module Aws::AuditManager
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -498,7 +498,7 @@ module Aws::AuditManager
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-augmentedairuntime/CHANGELOG.md b/gems/aws-sdk-augmentedairuntime/CHANGELOG.md
index bcd1fd16e49..c4617795550 100644
--- a/gems/aws-sdk-augmentedairuntime/CHANGELOG.md
+++ b/gems/aws-sdk-augmentedairuntime/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.45.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.44.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-augmentedairuntime/VERSION b/gems/aws-sdk-augmentedairuntime/VERSION
index 372cf402c73..50aceaa7b71 100644
--- a/gems/aws-sdk-augmentedairuntime/VERSION
+++ b/gems/aws-sdk-augmentedairuntime/VERSION
@@ -1 +1 @@
-1.44.0
+1.45.0
diff --git a/gems/aws-sdk-augmentedairuntime/aws-sdk-augmentedairuntime.gemspec b/gems/aws-sdk-augmentedairuntime/aws-sdk-augmentedairuntime.gemspec
index a68f4a20064..6e5886d8300 100644
--- a/gems/aws-sdk-augmentedairuntime/aws-sdk-augmentedairuntime.gemspec
+++ b/gems/aws-sdk-augmentedairuntime/aws-sdk-augmentedairuntime.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-augmentedairuntime/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime.rb b/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime.rb
index efe9e0bfde2..97c7aaa3395 100644
--- a/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime.rb
+++ b/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AugmentedAIRuntime
- GEM_VERSION = '1.44.0'
+ GEM_VERSION = '1.45.0'
end
diff --git a/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/client.rb b/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/client.rb
index 7fe69c81b24..dd69e2fdb05 100644
--- a/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/client.rb
+++ b/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/client.rb
@@ -664,7 +664,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-augmentedairuntime'
- context[:gem_version] = '1.44.0'
+ context[:gem_version] = '1.45.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/endpoints.rb b/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/endpoints.rb
index 1b241869258..85d0b2df4a7 100644
--- a/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/endpoints.rb
+++ b/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/endpoints.rb
@@ -14,70 +14,55 @@ module Endpoints
class DeleteHumanLoop
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AugmentedAIRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHumanLoop
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AugmentedAIRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHumanLoops
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AugmentedAIRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartHumanLoop
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AugmentedAIRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopHumanLoop
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AugmentedAIRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/plugins/endpoints.rb b/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/plugins/endpoints.rb
index 66ecf14906d..47759049246 100644
--- a/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/plugins/endpoints.rb
+++ b/gems/aws-sdk-augmentedairuntime/lib/aws-sdk-augmentedairuntime/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-augmentedairuntime/spec/endpoint_provider_spec.rb b/gems/aws-sdk-augmentedairuntime/spec/endpoint_provider_spec.rb
index 444085d00f5..500f7f069c5 100644
--- a/gems/aws-sdk-augmentedairuntime/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-augmentedairuntime/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AugmentedAIRuntime
describe EndpointProvider do
subject { Aws::AugmentedAIRuntime::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://a2i-runtime.sagemaker.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::AugmentedAIRuntime
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-autoscaling/CHANGELOG.md b/gems/aws-sdk-autoscaling/CHANGELOG.md
index b232ad32438..398321aa687 100644
--- a/gems/aws-sdk-autoscaling/CHANGELOG.md
+++ b/gems/aws-sdk-autoscaling/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.118.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.117.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-autoscaling/VERSION b/gems/aws-sdk-autoscaling/VERSION
index 8de9ac240a8..5fce89726f0 100644
--- a/gems/aws-sdk-autoscaling/VERSION
+++ b/gems/aws-sdk-autoscaling/VERSION
@@ -1 +1 @@
-1.117.0
+1.118.0
diff --git a/gems/aws-sdk-autoscaling/aws-sdk-autoscaling.gemspec b/gems/aws-sdk-autoscaling/aws-sdk-autoscaling.gemspec
index 797e31f6c4d..58e0b05f8a1 100644
--- a/gems/aws-sdk-autoscaling/aws-sdk-autoscaling.gemspec
+++ b/gems/aws-sdk-autoscaling/aws-sdk-autoscaling.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-autoscaling/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling.rb b/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling.rb
index b2bcb67f401..4e5072ed3f9 100644
--- a/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling.rb
+++ b/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling.rb
@@ -63,6 +63,6 @@
# @!group service
module Aws::AutoScaling
- GEM_VERSION = '1.117.0'
+ GEM_VERSION = '1.118.0'
end
diff --git a/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/client.rb b/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/client.rb
index 37c687f136c..475c39eef86 100644
--- a/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/client.rb
+++ b/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/client.rb
@@ -7218,7 +7218,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-autoscaling'
- context[:gem_version] = '1.117.0'
+ context[:gem_version] = '1.118.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/endpoints.rb b/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/endpoints.rb
index 48b9770778b..8906a8ef2f9 100644
--- a/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/endpoints.rb
+++ b/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/endpoints.rb
@@ -14,910 +14,715 @@ module Endpoints
class AttachInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachLoadBalancerTargetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachLoadBalancers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachTrafficSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchPutScheduledUpdateGroupAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelInstanceRefresh
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CompleteLifecycleAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAutoScalingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLaunchConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOrUpdateTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAutoScalingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLaunchConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLifecycleHook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNotificationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWarmPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAdjustmentTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAutoScalingGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAutoScalingInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAutoScalingNotificationTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceRefreshes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLaunchConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLifecycleHookTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLifecycleHooks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoadBalancerTargetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoadBalancers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMetricCollectionTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNotificationConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScalingActivities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScalingProcessTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScheduledActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTerminationPolicyTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrafficSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWarmPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachLoadBalancerTargetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachLoadBalancers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachTrafficSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableMetricsCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableMetricsCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnterStandby
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecutePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExitStandby
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPredictiveScalingForecast
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLifecycleHook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutNotificationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutScalingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutScheduledUpdateGroupAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutWarmPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RecordLifecycleActionHeartbeat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeProcesses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RollbackInstanceRefresh
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetDesiredCapacity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetInstanceHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetInstanceProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInstanceRefresh
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SuspendProcesses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateInstanceInAutoScalingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAutoScalingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScaling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/plugins/endpoints.rb b/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/plugins/endpoints.rb
index f9e753eebba..30e8a1777b9 100644
--- a/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/plugins/endpoints.rb
+++ b/gems/aws-sdk-autoscaling/lib/aws-sdk-autoscaling/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-autoscaling/spec/endpoint_provider_spec.rb b/gems/aws-sdk-autoscaling/spec/endpoint_provider_spec.rb
index 39efff101b1..7e45cf2767f 100644
--- a/gems/aws-sdk-autoscaling/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-autoscaling/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AutoScaling
describe EndpointProvider do
subject { Aws::AutoScaling::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AutoScaling
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AutoScaling
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AutoScaling
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AutoScaling
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AutoScaling
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AutoScaling
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AutoScaling
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AutoScaling
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AutoScaling
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AutoScaling
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AutoScaling
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AutoScaling
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::AutoScaling
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::AutoScaling
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::AutoScaling
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::AutoScaling
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::AutoScaling
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-fips.us-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::AutoScaling
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::AutoScaling
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::AutoScaling
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::AutoScaling
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::AutoScaling
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-gov-west-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-fips.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-iso-east-1.c2s.ic.gov"}}
end
@@ -518,7 +518,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-iso-west-1.c2s.ic.gov"}}
end
@@ -532,7 +532,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -545,7 +545,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -559,7 +559,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -572,7 +572,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -586,7 +586,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -599,7 +599,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -613,7 +613,7 @@ module Aws::AutoScaling
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -626,7 +626,7 @@ module Aws::AutoScaling
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::AutoScaling
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::AutoScaling
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -667,7 +667,7 @@ module Aws::AutoScaling
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -680,7 +680,7 @@ module Aws::AutoScaling
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-autoscalingplans/CHANGELOG.md b/gems/aws-sdk-autoscalingplans/CHANGELOG.md
index 4a8680325a7..a4dd2175f3c 100644
--- a/gems/aws-sdk-autoscalingplans/CHANGELOG.md
+++ b/gems/aws-sdk-autoscalingplans/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.62.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.61.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-autoscalingplans/VERSION b/gems/aws-sdk-autoscalingplans/VERSION
index 91951fd8ad7..76d05362056 100644
--- a/gems/aws-sdk-autoscalingplans/VERSION
+++ b/gems/aws-sdk-autoscalingplans/VERSION
@@ -1 +1 @@
-1.61.0
+1.62.0
diff --git a/gems/aws-sdk-autoscalingplans/aws-sdk-autoscalingplans.gemspec b/gems/aws-sdk-autoscalingplans/aws-sdk-autoscalingplans.gemspec
index db32831d060..602063e9a2a 100644
--- a/gems/aws-sdk-autoscalingplans/aws-sdk-autoscalingplans.gemspec
+++ b/gems/aws-sdk-autoscalingplans/aws-sdk-autoscalingplans.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-autoscalingplans/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans.rb b/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans.rb
index 88b5413d4ab..c5f45d46869 100644
--- a/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans.rb
+++ b/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::AutoScalingPlans
- GEM_VERSION = '1.61.0'
+ GEM_VERSION = '1.62.0'
end
diff --git a/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/client.rb b/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/client.rb
index e39022b8311..90f5fcc4625 100644
--- a/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/client.rb
+++ b/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/client.rb
@@ -1002,7 +1002,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-autoscalingplans'
- context[:gem_version] = '1.61.0'
+ context[:gem_version] = '1.62.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/endpoints.rb b/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/endpoints.rb
index 7642e439258..fd70813dcc1 100644
--- a/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/endpoints.rb
+++ b/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/endpoints.rb
@@ -14,84 +14,66 @@ module Endpoints
class CreateScalingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScalingPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScalingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScalingPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScalingPlanResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScalingPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScalingPlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScalingPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetScalingPlanResourceForecastData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScalingPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateScalingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::AutoScalingPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/plugins/endpoints.rb b/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/plugins/endpoints.rb
index e9907b68f99..2b0bfeb35e3 100644
--- a/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/plugins/endpoints.rb
+++ b/gems/aws-sdk-autoscalingplans/lib/aws-sdk-autoscalingplans/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-autoscalingplans/spec/endpoint_provider_spec.rb b/gems/aws-sdk-autoscalingplans/spec/endpoint_provider_spec.rb
index 00dfcc7548e..e3ac419ef80 100644
--- a/gems/aws-sdk-autoscalingplans/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-autoscalingplans/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::AutoScalingPlans
describe EndpointProvider do
subject { Aws::AutoScalingPlans::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans-fips.us-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.us-gov-west-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans-fips.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -517,7 +517,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -531,7 +531,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -544,7 +544,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.us-iso-east-1.c2s.ic.gov"}}
end
@@ -558,7 +558,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -571,7 +571,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -585,7 +585,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -598,7 +598,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://autoscaling-plans.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -612,7 +612,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -653,7 +653,7 @@ module Aws::AutoScalingPlans
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -666,7 +666,7 @@ module Aws::AutoScalingPlans
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-b2bi/CHANGELOG.md b/gems/aws-sdk-b2bi/CHANGELOG.md
index 519cef5ca8a..9024cdbe521 100644
--- a/gems/aws-sdk-b2bi/CHANGELOG.md
+++ b/gems/aws-sdk-b2bi/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.17.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.16.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-b2bi/VERSION b/gems/aws-sdk-b2bi/VERSION
index 15b989e398f..092afa15df4 100644
--- a/gems/aws-sdk-b2bi/VERSION
+++ b/gems/aws-sdk-b2bi/VERSION
@@ -1 +1 @@
-1.16.0
+1.17.0
diff --git a/gems/aws-sdk-b2bi/aws-sdk-b2bi.gemspec b/gems/aws-sdk-b2bi/aws-sdk-b2bi.gemspec
index 9fe9edf2359..2cda94bca17 100644
--- a/gems/aws-sdk-b2bi/aws-sdk-b2bi.gemspec
+++ b/gems/aws-sdk-b2bi/aws-sdk-b2bi.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-b2bi/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi.rb b/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi.rb
index 0a2a42a0661..8c40590d9d3 100644
--- a/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi.rb
+++ b/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::B2bi
- GEM_VERSION = '1.16.0'
+ GEM_VERSION = '1.17.0'
end
diff --git a/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/client.rb b/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/client.rb
index 4c61ae145fd..a44190cad27 100644
--- a/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/client.rb
+++ b/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/client.rb
@@ -2611,7 +2611,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-b2bi'
- context[:gem_version] = '1.16.0'
+ context[:gem_version] = '1.17.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/endpoints.rb b/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/endpoints.rb
index ba75eb11d25..b6bb1ac834f 100644
--- a/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/endpoints.rb
+++ b/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/endpoints.rb
@@ -14,378 +14,297 @@ module Endpoints
class CreateCapability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePartnership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransformer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCapability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePartnership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransformer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCapability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPartnership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransformer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransformerJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCapabilities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPartnerships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTransformers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTransformerJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestParsing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCapability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePartnership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTransformer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::B2bi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/plugins/endpoints.rb b/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/plugins/endpoints.rb
index 18336c2ddc2..c13d7d5fb0e 100644
--- a/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/plugins/endpoints.rb
+++ b/gems/aws-sdk-b2bi/lib/aws-sdk-b2bi/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-b2bi/spec/endpoint_provider_spec.rb b/gems/aws-sdk-b2bi/spec/endpoint_provider_spec.rb
index abeabe9414c..1a29b02be31 100644
--- a/gems/aws-sdk-b2bi/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-b2bi/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::B2bi
describe EndpointProvider do
subject { Aws::B2bi::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::B2bi
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::B2bi
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::B2bi
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::B2bi
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::B2bi
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::B2bi
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::B2bi
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::B2bi
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::B2bi
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::B2bi
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::B2bi
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::B2bi
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::B2bi
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::B2bi
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::B2bi
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::B2bi
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::B2bi
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::B2bi
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::B2bi
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://b2bi.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::B2bi
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::B2bi
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::B2bi
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::B2bi
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::B2bi
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-backup/CHANGELOG.md b/gems/aws-sdk-backup/CHANGELOG.md
index 2ed52b82bba..7901d298d81 100644
--- a/gems/aws-sdk-backup/CHANGELOG.md
+++ b/gems/aws-sdk-backup/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.77.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.76.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-backup/VERSION b/gems/aws-sdk-backup/VERSION
index 32a6ce3c719..79e15fd4937 100644
--- a/gems/aws-sdk-backup/VERSION
+++ b/gems/aws-sdk-backup/VERSION
@@ -1 +1 @@
-1.76.0
+1.77.0
diff --git a/gems/aws-sdk-backup/aws-sdk-backup.gemspec b/gems/aws-sdk-backup/aws-sdk-backup.gemspec
index 6db0a60dfeb..5d723fe4320 100644
--- a/gems/aws-sdk-backup/aws-sdk-backup.gemspec
+++ b/gems/aws-sdk-backup/aws-sdk-backup.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-backup/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-backup/lib/aws-sdk-backup.rb b/gems/aws-sdk-backup/lib/aws-sdk-backup.rb
index 610799a343d..cc53f8a5738 100644
--- a/gems/aws-sdk-backup/lib/aws-sdk-backup.rb
+++ b/gems/aws-sdk-backup/lib/aws-sdk-backup.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Backup
- GEM_VERSION = '1.76.0'
+ GEM_VERSION = '1.77.0'
end
diff --git a/gems/aws-sdk-backup/lib/aws-sdk-backup/client.rb b/gems/aws-sdk-backup/lib/aws-sdk-backup/client.rb
index d832c5796d9..ca4b25a59a6 100644
--- a/gems/aws-sdk-backup/lib/aws-sdk-backup/client.rb
+++ b/gems/aws-sdk-backup/lib/aws-sdk-backup/client.rb
@@ -6066,7 +6066,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-backup'
- context[:gem_version] = '1.76.0'
+ context[:gem_version] = '1.77.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-backup/lib/aws-sdk-backup/endpoints.rb b/gems/aws-sdk-backup/lib/aws-sdk-backup/endpoints.rb
index 66c89e87774..63fa71dae39 100644
--- a/gems/aws-sdk-backup/lib/aws-sdk-backup/endpoints.rb
+++ b/gems/aws-sdk-backup/lib/aws-sdk-backup/endpoints.rb
@@ -14,1274 +14,1001 @@ module Endpoints
class CancelLegalHold
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackupPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackupSelection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackupVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFramework
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLegalHold
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLogicallyAirGappedBackupVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReportPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRestoreTestingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRestoreTestingSelection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackupPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackupSelection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackupVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackupVaultAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackupVaultLockConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackupVaultNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFramework
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRecoveryPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReportPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRestoreTestingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRestoreTestingSelection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBackupJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBackupVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCopyJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFramework
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGlobalSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProtectedResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRecoveryPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegionSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReportPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRestoreJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateRecoveryPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateRecoveryPointFromParent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportBackupPlanTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackupPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackupPlanFromJSON
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackupPlanFromTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackupSelection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackupVaultAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBackupVaultNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLegalHold
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecoveryPointRestoreMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRestoreJobMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRestoreTestingInferredMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRestoreTestingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRestoreTestingSelection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSupportedResourceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBackupJobSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBackupJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBackupPlanTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBackupPlanVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBackupPlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBackupSelections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBackupVaults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCopyJobSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCopyJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFrameworks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLegalHolds
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProtectedResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProtectedResourcesByBackupVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecoveryPointsByBackupVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecoveryPointsByLegalHold
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecoveryPointsByResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReportPlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRestoreJobSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRestoreJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRestoreJobsByProtectedResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRestoreTestingPlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRestoreTestingSelections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutBackupVaultAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutBackupVaultLockConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutBackupVaultNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRestoreValidationResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBackupJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCopyJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartRestoreJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopBackupJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBackupPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFramework
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGlobalSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRecoveryPointLifecycle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRegionSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReportPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRestoreTestingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRestoreTestingSelection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Backup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-backup/lib/aws-sdk-backup/plugins/endpoints.rb b/gems/aws-sdk-backup/lib/aws-sdk-backup/plugins/endpoints.rb
index 487cb42748b..a0db868abd5 100644
--- a/gems/aws-sdk-backup/lib/aws-sdk-backup/plugins/endpoints.rb
+++ b/gems/aws-sdk-backup/lib/aws-sdk-backup/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-backup/spec/endpoint_provider_spec.rb b/gems/aws-sdk-backup/spec/endpoint_provider_spec.rb
index 33e45097128..9d9a4b5d2a9 100644
--- a/gems/aws-sdk-backup/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-backup/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Backup
describe EndpointProvider do
subject { Aws::Backup::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Backup
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Backup
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Backup
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Backup
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Backup
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Backup
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Backup
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Backup
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Backup
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Backup
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Backup
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Backup
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Backup
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Backup
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Backup
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Backup
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Backup
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Backup
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Backup
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Backup
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Backup
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Backup
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::Backup
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-fips.us-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Backup
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::Backup
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::Backup
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::Backup
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::Backup
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Backup
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Backup
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::Backup
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.us-gov-west-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::Backup
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-fips.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::Backup
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Backup
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::Backup
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -517,7 +517,7 @@ module Aws::Backup
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -531,7 +531,7 @@ module Aws::Backup
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -544,7 +544,7 @@ module Aws::Backup
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.us-iso-east-1.c2s.ic.gov"}}
end
@@ -558,7 +558,7 @@ module Aws::Backup
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -571,7 +571,7 @@ module Aws::Backup
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -585,7 +585,7 @@ module Aws::Backup
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -598,7 +598,7 @@ module Aws::Backup
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -612,7 +612,7 @@ module Aws::Backup
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::Backup
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::Backup
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -653,7 +653,7 @@ module Aws::Backup
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -666,7 +666,7 @@ module Aws::Backup
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-backupgateway/CHANGELOG.md b/gems/aws-sdk-backupgateway/CHANGELOG.md
index b8d1ab817c4..93069c1ddb1 100644
--- a/gems/aws-sdk-backupgateway/CHANGELOG.md
+++ b/gems/aws-sdk-backupgateway/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.27.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.26.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-backupgateway/VERSION b/gems/aws-sdk-backupgateway/VERSION
index 5ff8c4f5d2a..5db08bf2dc5 100644
--- a/gems/aws-sdk-backupgateway/VERSION
+++ b/gems/aws-sdk-backupgateway/VERSION
@@ -1 +1 @@
-1.26.0
+1.27.0
diff --git a/gems/aws-sdk-backupgateway/aws-sdk-backupgateway.gemspec b/gems/aws-sdk-backupgateway/aws-sdk-backupgateway.gemspec
index 502ca83ee9e..4a50655ba82 100644
--- a/gems/aws-sdk-backupgateway/aws-sdk-backupgateway.gemspec
+++ b/gems/aws-sdk-backupgateway/aws-sdk-backupgateway.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-backupgateway/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway.rb b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway.rb
index bc88a64bb92..a57fed043a4 100644
--- a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway.rb
+++ b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::BackupGateway
- GEM_VERSION = '1.26.0'
+ GEM_VERSION = '1.27.0'
end
diff --git a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client.rb b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client.rb
index 309c6bcc96d..e67c2d88b94 100644
--- a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client.rb
+++ b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/client.rb
@@ -1469,7 +1469,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-backupgateway'
- context[:gem_version] = '1.26.0'
+ context[:gem_version] = '1.27.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/endpoints.rb b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/endpoints.rb
index 3c079789ea4..8ca44ef8d8e 100644
--- a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/endpoints.rb
+++ b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/endpoints.rb
@@ -14,350 +14,275 @@ module Endpoints
class AssociateGatewayToServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHypervisor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateGatewayFromServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBandwidthRateLimitSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHypervisor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHypervisorPropertyMappings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVirtualMachine
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportHypervisorConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHypervisors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVirtualMachines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutBandwidthRateLimitSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutHypervisorPropertyMappings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMaintenanceStartTime
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartVirtualMachinesMetadataSync
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestHypervisorConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGatewayInformation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGatewaySoftwareNow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateHypervisor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BackupGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/plugins/endpoints.rb b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/plugins/endpoints.rb
index 2e483bd76d2..73857258f78 100644
--- a/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/plugins/endpoints.rb
+++ b/gems/aws-sdk-backupgateway/lib/aws-sdk-backupgateway/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-backupgateway/spec/endpoint_provider_spec.rb b/gems/aws-sdk-backupgateway/spec/endpoint_provider_spec.rb
index 19bc87d98cb..d51420a5024 100644
--- a/gems/aws-sdk-backupgateway/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-backupgateway/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::BackupGateway
describe EndpointProvider do
subject { Aws::BackupGateway::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::BackupGateway
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::BackupGateway
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::BackupGateway
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::BackupGateway
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::BackupGateway
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::BackupGateway
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::BackupGateway
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::BackupGateway
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::BackupGateway
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::BackupGateway
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::BackupGateway
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::BackupGateway
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::BackupGateway
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::BackupGateway
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::BackupGateway
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::BackupGateway
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::BackupGateway
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::BackupGateway
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::BackupGateway
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::BackupGateway
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.us-gov-east-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.us-gov-west-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway-fips.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -489,7 +489,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -503,7 +503,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -516,7 +516,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.us-iso-east-1.c2s.ic.gov"}}
end
@@ -530,7 +530,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -543,7 +543,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -557,7 +557,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -570,7 +570,7 @@ module Aws::BackupGateway
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://backup-gateway.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -584,7 +584,7 @@ module Aws::BackupGateway
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::BackupGateway
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::BackupGateway
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -625,7 +625,7 @@ module Aws::BackupGateway
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -638,7 +638,7 @@ module Aws::BackupGateway
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-batch/CHANGELOG.md b/gems/aws-sdk-batch/CHANGELOG.md
index de1cc896436..0494ef516c5 100644
--- a/gems/aws-sdk-batch/CHANGELOG.md
+++ b/gems/aws-sdk-batch/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.98.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.97.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-batch/VERSION b/gems/aws-sdk-batch/VERSION
index acbb747ac54..783fda86436 100644
--- a/gems/aws-sdk-batch/VERSION
+++ b/gems/aws-sdk-batch/VERSION
@@ -1 +1 @@
-1.97.0
+1.98.0
diff --git a/gems/aws-sdk-batch/aws-sdk-batch.gemspec b/gems/aws-sdk-batch/aws-sdk-batch.gemspec
index 8168393946b..1549082b1fb 100644
--- a/gems/aws-sdk-batch/aws-sdk-batch.gemspec
+++ b/gems/aws-sdk-batch/aws-sdk-batch.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-batch/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-batch/lib/aws-sdk-batch.rb b/gems/aws-sdk-batch/lib/aws-sdk-batch.rb
index 129a1516e4d..1e23c05e8bc 100644
--- a/gems/aws-sdk-batch/lib/aws-sdk-batch.rb
+++ b/gems/aws-sdk-batch/lib/aws-sdk-batch.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Batch
- GEM_VERSION = '1.97.0'
+ GEM_VERSION = '1.98.0'
end
diff --git a/gems/aws-sdk-batch/lib/aws-sdk-batch/client.rb b/gems/aws-sdk-batch/lib/aws-sdk-batch/client.rb
index 08b30e71b16..954b56369f0 100644
--- a/gems/aws-sdk-batch/lib/aws-sdk-batch/client.rb
+++ b/gems/aws-sdk-batch/lib/aws-sdk-batch/client.rb
@@ -4898,7 +4898,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-batch'
- context[:gem_version] = '1.97.0'
+ context[:gem_version] = '1.98.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-batch/lib/aws-sdk-batch/endpoints.rb b/gems/aws-sdk-batch/lib/aws-sdk-batch/endpoints.rb
index ca47e3d26b4..af85c0f055e 100644
--- a/gems/aws-sdk-batch/lib/aws-sdk-batch/endpoints.rb
+++ b/gems/aws-sdk-batch/lib/aws-sdk-batch/endpoints.rb
@@ -14,350 +14,275 @@ module Endpoints
class CancelJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateComputeEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJobQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSchedulingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteComputeEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJobQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchedulingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeComputeEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSchedulingPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobQueueSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchedulingPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SubmitJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateComputeEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateJobQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSchedulingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Batch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-batch/lib/aws-sdk-batch/plugins/endpoints.rb b/gems/aws-sdk-batch/lib/aws-sdk-batch/plugins/endpoints.rb
index 3255a4b4de7..13963515a5a 100644
--- a/gems/aws-sdk-batch/lib/aws-sdk-batch/plugins/endpoints.rb
+++ b/gems/aws-sdk-batch/lib/aws-sdk-batch/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-batch/spec/endpoint_provider_spec.rb b/gems/aws-sdk-batch/spec/endpoint_provider_spec.rb
index 67735bd592d..3de4b6c22d6 100644
--- a/gems/aws-sdk-batch/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-batch/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Batch
describe EndpointProvider do
subject { Aws::Batch::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Batch
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Batch
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Batch
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Batch
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Batch
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Batch
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Batch
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Batch
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Batch
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Batch
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Batch
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Batch
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Batch
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Batch
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Batch
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Batch
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Batch
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Batch
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Batch
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.batch.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Batch
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Batch
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.batch.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Batch
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Batch
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.batch.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Batch
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Batch
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.batch.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Batch
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Batch
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Batch
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Batch
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Batch
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Batch
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::Batch
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::Batch
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Batch
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Batch
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Batch
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::Batch
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::Batch
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::Batch
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::Batch
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::Batch
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::Batch
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::Batch
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::Batch
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::Batch
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::Batch
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://batch.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::Batch
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::Batch
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::Batch
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::Batch
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::Batch
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-bcmdataexports/CHANGELOG.md b/gems/aws-sdk-bcmdataexports/CHANGELOG.md
index 3f47f04b3aa..d6119e6dfe1 100644
--- a/gems/aws-sdk-bcmdataexports/CHANGELOG.md
+++ b/gems/aws-sdk-bcmdataexports/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.11.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.10.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-bcmdataexports/VERSION b/gems/aws-sdk-bcmdataexports/VERSION
index 81c871de46b..1cac385c6cb 100644
--- a/gems/aws-sdk-bcmdataexports/VERSION
+++ b/gems/aws-sdk-bcmdataexports/VERSION
@@ -1 +1 @@
-1.10.0
+1.11.0
diff --git a/gems/aws-sdk-bcmdataexports/aws-sdk-bcmdataexports.gemspec b/gems/aws-sdk-bcmdataexports/aws-sdk-bcmdataexports.gemspec
index 6570b065a1e..1778cfa975d 100644
--- a/gems/aws-sdk-bcmdataexports/aws-sdk-bcmdataexports.gemspec
+++ b/gems/aws-sdk-bcmdataexports/aws-sdk-bcmdataexports.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-bcmdataexports/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports.rb b/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports.rb
index fc4566bfebe..97dda41b5c3 100644
--- a/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports.rb
+++ b/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::BCMDataExports
- GEM_VERSION = '1.10.0'
+ GEM_VERSION = '1.11.0'
end
diff --git a/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb b/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb
index efbd474577d..9d451c8886a 100644
--- a/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb
+++ b/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/client.rb
@@ -1035,7 +1035,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-bcmdataexports'
- context[:gem_version] = '1.10.0'
+ context[:gem_version] = '1.11.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/endpoints.rb b/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/endpoints.rb
index c00c641b340..18d4f6e0f46 100644
--- a/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/endpoints.rb
+++ b/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/endpoints.rb
@@ -14,156 +14,120 @@ module Endpoints
class CreateExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BCMDataExports::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/plugins/endpoints.rb b/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/plugins/endpoints.rb
index ae41ebf8573..cfaa3f70546 100644
--- a/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/plugins/endpoints.rb
+++ b/gems/aws-sdk-bcmdataexports/lib/aws-sdk-bcmdataexports/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-bcmdataexports/spec/endpoint_provider_spec.rb b/gems/aws-sdk-bcmdataexports/spec/endpoint_provider_spec.rb
index b16846b7fb4..e2aa63772ac 100644
--- a/gems/aws-sdk-bcmdataexports/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-bcmdataexports/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::BCMDataExports
describe EndpointProvider do
subject { Aws::BCMDataExports::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack enabled' do
+ context "For region aws-global with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"bcm-data-exports", "signingRegion"=>"us-east-1"}]}, "url"=>"https://bcm-data-exports.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::BCMDataExports
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bcm-data-exports-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::BCMDataExports
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"bcm-data-exports", "signingRegion"=>"us-east-1"}]}, "url"=>"https://bcm-data-exports.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::BCMDataExports
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bcm-data-exports-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -70,7 +70,7 @@ module Aws::BCMDataExports
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bcm-data-exports.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::BCMDataExports
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bcm-data-exports-fips.us-gov-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::BCMDataExports
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bcm-data-exports.us-gov-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::BCMDataExports
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -126,7 +126,7 @@ module Aws::BCMDataExports
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -140,7 +140,7 @@ module Aws::BCMDataExports
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -153,7 +153,7 @@ module Aws::BCMDataExports
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-bedrock/CHANGELOG.md b/gems/aws-sdk-bedrock/CHANGELOG.md
index 75f0d149990..7c367e4bcd8 100644
--- a/gems/aws-sdk-bedrock/CHANGELOG.md
+++ b/gems/aws-sdk-bedrock/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.21.0 (2024-09-16)
+------------------
+
+* Feature - This feature adds cross account s3 bucket and VPC support to ModelInvocation jobs. To use a cross account bucket, pass in the accountId of the bucket to s3BucketOwner in the ModelInvocationJobInputDataConfig or ModelInvocationJobOutputDataConfig.
+
+1.20.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.19.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-bedrock/VERSION b/gems/aws-sdk-bedrock/VERSION
index 815d5ca06d5..3500250a4b0 100644
--- a/gems/aws-sdk-bedrock/VERSION
+++ b/gems/aws-sdk-bedrock/VERSION
@@ -1 +1 @@
-1.19.0
+1.21.0
diff --git a/gems/aws-sdk-bedrock/aws-sdk-bedrock.gemspec b/gems/aws-sdk-bedrock/aws-sdk-bedrock.gemspec
index 82aa9490263..d5b4e626318 100644
--- a/gems/aws-sdk-bedrock/aws-sdk-bedrock.gemspec
+++ b/gems/aws-sdk-bedrock/aws-sdk-bedrock.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-bedrock/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock.rb b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock.rb
index bb0663b1d6e..d0cdd1184ef 100644
--- a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock.rb
+++ b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Bedrock
- GEM_VERSION = '1.19.0'
+ GEM_VERSION = '1.21.0'
end
diff --git a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client.rb b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client.rb
index 9bd08511488..4f979a2367e 100644
--- a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client.rb
+++ b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client.rb
@@ -1014,9 +1014,13 @@ def create_model_copy_job(params = {}, options = {})
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html
#
# @option params [Types::VpcConfig] :vpc_config
- # VPC configuration (optional). Configuration parameters for the private
- # Virtual Private Cloud (VPC) that contains the resources you are using
- # for this job.
+ # The configuration of the Virtual Private Cloud (VPC) that contains the
+ # resources that you're using for this job. For more information, see
+ # [Protect your model customization jobs using a VPC][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-model-customization.html
#
# @return [Types::CreateModelCustomizationJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
@@ -1219,6 +1223,15 @@ def create_model_import_job(params = {}, options = {})
# @option params [required, Types::ModelInvocationJobOutputDataConfig] :output_data_config
# Details about the location of the output of the batch inference job.
#
+ # @option params [Types::VpcConfig] :vpc_config
+ # The configuration of the Virtual Private Cloud (VPC) for the data in
+ # the batch inference job. For more information, see [Protect batch
+ # inference jobs using a VPC][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc
+ #
# @option params [Integer] :timeout_duration_in_hours
# The number of hours after which to force the batch inference job to
# time out.
@@ -1246,14 +1259,20 @@ def create_model_import_job(params = {}, options = {})
# s3_input_data_config: {
# s3_input_format: "JSONL", # accepts JSONL
# s3_uri: "S3Uri", # required
+ # s3_bucket_owner: "AccountId",
# },
# },
# output_data_config: { # required
# s3_output_data_config: {
# s3_uri: "S3Uri", # required
# s3_encryption_key_id: "KmsKeyId",
+ # s3_bucket_owner: "AccountId",
# },
# },
+ # vpc_config: {
+ # subnet_ids: ["SubnetId"], # required
+ # security_group_ids: ["SecurityGroupId"], # required
+ # },
# timeout_duration_in_hours: 1,
# tags: [
# {
@@ -2107,6 +2126,7 @@ def get_model_import_job(params = {}, options = {})
# * {Types::GetModelInvocationJobResponse#end_time #end_time} => Time
# * {Types::GetModelInvocationJobResponse#input_data_config #input_data_config} => Types::ModelInvocationJobInputDataConfig
# * {Types::GetModelInvocationJobResponse#output_data_config #output_data_config} => Types::ModelInvocationJobOutputDataConfig
+ # * {Types::GetModelInvocationJobResponse#vpc_config #vpc_config} => Types::VpcConfig
# * {Types::GetModelInvocationJobResponse#timeout_duration_in_hours #timeout_duration_in_hours} => Integer
# * {Types::GetModelInvocationJobResponse#job_expiration_time #job_expiration_time} => Time
#
@@ -2130,8 +2150,14 @@ def get_model_import_job(params = {}, options = {})
# resp.end_time #=> Time
# resp.input_data_config.s3_input_data_config.s3_input_format #=> String, one of "JSONL"
# resp.input_data_config.s3_input_data_config.s3_uri #=> String
+ # resp.input_data_config.s3_input_data_config.s3_bucket_owner #=> String
# resp.output_data_config.s3_output_data_config.s3_uri #=> String
# resp.output_data_config.s3_output_data_config.s3_encryption_key_id #=> String
+ # resp.output_data_config.s3_output_data_config.s3_bucket_owner #=> String
+ # resp.vpc_config.subnet_ids #=> Array
+ # resp.vpc_config.subnet_ids[0] #=> String
+ # resp.vpc_config.security_group_ids #=> Array
+ # resp.vpc_config.security_group_ids[0] #=> String
# resp.timeout_duration_in_hours #=> Integer
# resp.job_expiration_time #=> Time
#
@@ -2999,8 +3025,14 @@ def list_model_import_jobs(params = {}, options = {})
# resp.invocation_job_summaries[0].end_time #=> Time
# resp.invocation_job_summaries[0].input_data_config.s3_input_data_config.s3_input_format #=> String, one of "JSONL"
# resp.invocation_job_summaries[0].input_data_config.s3_input_data_config.s3_uri #=> String
+ # resp.invocation_job_summaries[0].input_data_config.s3_input_data_config.s3_bucket_owner #=> String
# resp.invocation_job_summaries[0].output_data_config.s3_output_data_config.s3_uri #=> String
# resp.invocation_job_summaries[0].output_data_config.s3_output_data_config.s3_encryption_key_id #=> String
+ # resp.invocation_job_summaries[0].output_data_config.s3_output_data_config.s3_bucket_owner #=> String
+ # resp.invocation_job_summaries[0].vpc_config.subnet_ids #=> Array
+ # resp.invocation_job_summaries[0].vpc_config.subnet_ids[0] #=> String
+ # resp.invocation_job_summaries[0].vpc_config.security_group_ids #=> Array
+ # resp.invocation_job_summaries[0].vpc_config.security_group_ids[0] #=> String
# resp.invocation_job_summaries[0].timeout_duration_in_hours #=> Integer
# resp.invocation_job_summaries[0].job_expiration_time #=> Time
#
@@ -3562,7 +3594,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-bedrock'
- context[:gem_version] = '1.19.0'
+ context[:gem_version] = '1.21.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client_api.rb b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client_api.rb
index 989df41ff86..072d2f3cdf5 100644
--- a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client_api.rb
+++ b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/client_api.rb
@@ -481,6 +481,7 @@ module ClientApi
CreateModelInvocationJobRequest.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
CreateModelInvocationJobRequest.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
CreateModelInvocationJobRequest.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
+ CreateModelInvocationJobRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
CreateModelInvocationJobRequest.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
CreateModelInvocationJobRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "tags"))
CreateModelInvocationJobRequest.struct_class = Types::CreateModelInvocationJobRequest
@@ -800,6 +801,7 @@ module ClientApi
GetModelInvocationJobResponse.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
GetModelInvocationJobResponse.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
GetModelInvocationJobResponse.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
+ GetModelInvocationJobResponse.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
GetModelInvocationJobResponse.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
GetModelInvocationJobResponse.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
GetModelInvocationJobResponse.struct_class = Types::GetModelInvocationJobResponse
@@ -1236,10 +1238,12 @@ module ClientApi
ModelInvocationJobS3InputDataConfig.add_member(:s3_input_format, Shapes::ShapeRef.new(shape: S3InputFormat, location_name: "s3InputFormat"))
ModelInvocationJobS3InputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
+ ModelInvocationJobS3InputDataConfig.add_member(:s3_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "s3BucketOwner"))
ModelInvocationJobS3InputDataConfig.struct_class = Types::ModelInvocationJobS3InputDataConfig
ModelInvocationJobS3OutputDataConfig.add_member(:s3_uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "s3Uri"))
ModelInvocationJobS3OutputDataConfig.add_member(:s3_encryption_key_id, Shapes::ShapeRef.new(shape: KmsKeyId, location_name: "s3EncryptionKeyId"))
+ ModelInvocationJobS3OutputDataConfig.add_member(:s3_bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "s3BucketOwner"))
ModelInvocationJobS3OutputDataConfig.struct_class = Types::ModelInvocationJobS3OutputDataConfig
ModelInvocationJobSummaries.member = Shapes::ShapeRef.new(shape: ModelInvocationJobSummary)
@@ -1256,6 +1260,7 @@ module ClientApi
ModelInvocationJobSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
ModelInvocationJobSummary.add_member(:input_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobInputDataConfig, required: true, location_name: "inputDataConfig"))
ModelInvocationJobSummary.add_member(:output_data_config, Shapes::ShapeRef.new(shape: ModelInvocationJobOutputDataConfig, required: true, location_name: "outputDataConfig"))
+ ModelInvocationJobSummary.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfig, location_name: "vpcConfig"))
ModelInvocationJobSummary.add_member(:timeout_duration_in_hours, Shapes::ShapeRef.new(shape: ModelInvocationJobTimeoutDurationInHours, location_name: "timeoutDurationInHours"))
ModelInvocationJobSummary.add_member(:job_expiration_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "jobExpirationTime"))
ModelInvocationJobSummary.struct_class = Types::ModelInvocationJobSummary
diff --git a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/endpoints.rb b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/endpoints.rb
index cc7373b4092..8cc3f7a5e67 100644
--- a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/endpoints.rb
+++ b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/endpoints.rb
@@ -14,644 +14,506 @@ module Endpoints
class BatchDeleteEvaluationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEvaluationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGuardrail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGuardrailVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelCopyJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelCustomizationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelInvocationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProvisionedModelThroughput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGuardrail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImportedModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModelInvocationLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProvisionedModelThroughput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCustomModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEvaluationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFoundationModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGuardrail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImportedModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInferenceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModelCopyJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModelCustomizationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModelImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModelInvocationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModelInvocationLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProvisionedModelThroughput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEvaluationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFoundationModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGuardrails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImportedModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInferenceProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelCopyJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelCustomizationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelInvocationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProvisionedModelThroughputs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutModelInvocationLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopEvaluationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopModelCustomizationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopModelInvocationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGuardrail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProvisionedModelThroughput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Bedrock::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/plugins/endpoints.rb b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/plugins/endpoints.rb
index 7ad027642a4..2074eced710 100644
--- a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/plugins/endpoints.rb
+++ b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
index 8663c699694..b6f805c92b4 100644
--- a/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
+++ b/gems/aws-sdk-bedrock/lib/aws-sdk-bedrock/types.rb
@@ -533,9 +533,13 @@ class CreateModelCopyJobResponse < Struct.new(
# @return [Hash]
#
# @!attribute [rw] vpc_config
- # VPC configuration (optional). Configuration parameters for the
- # private Virtual Private Cloud (VPC) that contains the resources you
- # are using for this job.
+ # The configuration of the Virtual Private Cloud (VPC) that contains
+ # the resources that you're using for this job. For more information,
+ # see [Protect your model customization jobs using a VPC][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-model-customization.html
# @return [Types::VpcConfig]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/CreateModelCustomizationJobRequest AWS API Documentation
@@ -685,6 +689,16 @@ class CreateModelImportJobResponse < Struct.new(
# Details about the location of the output of the batch inference job.
# @return [Types::ModelInvocationJobOutputDataConfig]
#
+ # @!attribute [rw] vpc_config
+ # The configuration of the Virtual Private Cloud (VPC) for the data in
+ # the batch inference job. For more information, see [Protect batch
+ # inference jobs using a VPC][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc
+ # @return [Types::VpcConfig]
+ #
# @!attribute [rw] timeout_duration_in_hours
# The number of hours after which to force the batch inference job to
# time out.
@@ -708,6 +722,7 @@ class CreateModelInvocationJobRequest < Struct.new(
:model_id,
:input_data_config,
:output_data_config,
+ :vpc_config,
:timeout_duration_in_hours,
:tags)
SENSITIVE = []
@@ -2172,6 +2187,16 @@ class GetModelInvocationJobRequest < Struct.new(
# Details about the location of the output of the batch inference job.
# @return [Types::ModelInvocationJobOutputDataConfig]
#
+ # @!attribute [rw] vpc_config
+ # The configuration of the Virtual Private Cloud (VPC) for the data in
+ # the batch inference job. For more information, see [Protect batch
+ # inference jobs using a VPC][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc
+ # @return [Types::VpcConfig]
+ #
# @!attribute [rw] timeout_duration_in_hours
# The number of hours after which batch inference job was set to time
# out.
@@ -2196,6 +2221,7 @@ class GetModelInvocationJobResponse < Struct.new(
:end_time,
:input_data_config,
:output_data_config,
+ :vpc_config,
:timeout_duration_in_hours,
:job_expiration_time)
SENSITIVE = [:message]
@@ -4482,7 +4508,7 @@ class S3OutputDataConfig < ModelInvocationJobOutputDataConfig; end
class Unknown < ModelInvocationJobOutputDataConfig; end
end
- # Contains the configuration of the S3 location of the output data.
+ # Contains the configuration of the S3 location of the input data.
#
# @!attribute [rw] s3_input_format
# The format of the input data.
@@ -4492,11 +4518,17 @@ class Unknown < ModelInvocationJobOutputDataConfig; end
# The S3 location of the input data.
# @return [String]
#
+ # @!attribute [rw] s3_bucket_owner
+ # The ID of the Amazon Web Services account that owns the S3 bucket
+ # containing the input data.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelInvocationJobS3InputDataConfig AWS API Documentation
#
class ModelInvocationJobS3InputDataConfig < Struct.new(
:s3_input_format,
- :s3_uri)
+ :s3_uri,
+ :s3_bucket_owner)
SENSITIVE = []
include Aws::Structure
end
@@ -4512,11 +4544,17 @@ class ModelInvocationJobS3InputDataConfig < Struct.new(
# the output data.
# @return [String]
#
+ # @!attribute [rw] s3_bucket_owner
+ # The ID of the Amazon Web Services account that owns the S3 bucket
+ # containing the output data.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/ModelInvocationJobS3OutputDataConfig AWS API Documentation
#
class ModelInvocationJobS3OutputDataConfig < Struct.new(
:s3_uri,
- :s3_encryption_key_id)
+ :s3_encryption_key_id,
+ :s3_bucket_owner)
SENSITIVE = []
include Aws::Structure
end
@@ -4587,6 +4625,16 @@ class ModelInvocationJobS3OutputDataConfig < Struct.new(
# Details about the location of the output of the batch inference job.
# @return [Types::ModelInvocationJobOutputDataConfig]
#
+ # @!attribute [rw] vpc_config
+ # The configuration of the Virtual Private Cloud (VPC) for the data in
+ # the batch inference job. For more information, see [Protect batch
+ # inference jobs using a VPC][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc
+ # @return [Types::VpcConfig]
+ #
# @!attribute [rw] timeout_duration_in_hours
# The number of hours after which the batch inference job was set to
# time out.
@@ -4611,6 +4659,7 @@ class ModelInvocationJobSummary < Struct.new(
:end_time,
:input_data_config,
:output_data_config,
+ :vpc_config,
:timeout_duration_in_hours,
:job_expiration_time)
SENSITIVE = [:message]
@@ -5149,14 +5198,20 @@ class ValidatorMetric < Struct.new(
include Aws::Structure
end
- # VPC configuration.
+ # The configuration of a virtual private cloud (VPC). For more
+ # information, see [Protect your data using Amazon Virtual Private Cloud
+ # and Amazon Web Services PrivateLink][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/usingVPC.html
#
# @!attribute [rw] subnet_ids
- # VPC configuration subnets.
+ # An array of IDs for each subnet in the VPC to use.
# @return [Array]
#
# @!attribute [rw] security_group_ids
- # VPC configuration security group Ids.
+ # An array of IDs for each security group in the VPC to use.
# @return [Array]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/VpcConfig AWS API Documentation
diff --git a/gems/aws-sdk-bedrock/sig/client.rbs b/gems/aws-sdk-bedrock/sig/client.rbs
index 255462c9ec9..b7ead344917 100644
--- a/gems/aws-sdk-bedrock/sig/client.rbs
+++ b/gems/aws-sdk-bedrock/sig/client.rbs
@@ -364,15 +364,21 @@ module Aws
input_data_config: {
s3_input_data_config: {
s3_input_format: ("JSONL")?,
- s3_uri: ::String
+ s3_uri: ::String,
+ s3_bucket_owner: ::String?
}?
},
output_data_config: {
s3_output_data_config: {
s3_uri: ::String,
- s3_encryption_key_id: ::String?
+ s3_encryption_key_id: ::String?,
+ s3_bucket_owner: ::String?
}?
},
+ ?vpc_config: {
+ subnet_ids: Array[::String],
+ security_group_ids: Array[::String]
+ },
?timeout_duration_in_hours: ::Integer,
?tags: Array[
{
@@ -652,6 +658,7 @@ module Aws
def end_time: () -> ::Time
def input_data_config: () -> Types::ModelInvocationJobInputDataConfig
def output_data_config: () -> Types::ModelInvocationJobOutputDataConfig
+ def vpc_config: () -> Types::VpcConfig
def timeout_duration_in_hours: () -> ::Integer
def job_expiration_time: () -> ::Time
end
diff --git a/gems/aws-sdk-bedrock/sig/types.rbs b/gems/aws-sdk-bedrock/sig/types.rbs
index d8758211bec..7fa6d88d602 100644
--- a/gems/aws-sdk-bedrock/sig/types.rbs
+++ b/gems/aws-sdk-bedrock/sig/types.rbs
@@ -171,6 +171,7 @@ module Aws::Bedrock
attr_accessor model_id: ::String
attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
+ attr_accessor vpc_config: Types::VpcConfig
attr_accessor timeout_duration_in_hours: ::Integer
attr_accessor tags: ::Array[Types::Tag]
SENSITIVE: []
@@ -569,6 +570,7 @@ module Aws::Bedrock
attr_accessor end_time: ::Time
attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
+ attr_accessor vpc_config: Types::VpcConfig
attr_accessor timeout_duration_in_hours: ::Integer
attr_accessor job_expiration_time: ::Time
SENSITIVE: [:message]
@@ -1092,12 +1094,14 @@ module Aws::Bedrock
class ModelInvocationJobS3InputDataConfig
attr_accessor s3_input_format: ("JSONL")
attr_accessor s3_uri: ::String
+ attr_accessor s3_bucket_owner: ::String
SENSITIVE: []
end
class ModelInvocationJobS3OutputDataConfig
attr_accessor s3_uri: ::String
attr_accessor s3_encryption_key_id: ::String
+ attr_accessor s3_bucket_owner: ::String
SENSITIVE: []
end
@@ -1114,6 +1118,7 @@ module Aws::Bedrock
attr_accessor end_time: ::Time
attr_accessor input_data_config: Types::ModelInvocationJobInputDataConfig
attr_accessor output_data_config: Types::ModelInvocationJobOutputDataConfig
+ attr_accessor vpc_config: Types::VpcConfig
attr_accessor timeout_duration_in_hours: ::Integer
attr_accessor job_expiration_time: ::Time
SENSITIVE: [:message]
diff --git a/gems/aws-sdk-bedrock/spec/endpoint_provider_spec.rb b/gems/aws-sdk-bedrock/spec/endpoint_provider_spec.rb
index 225a651eaee..b309e08b9a0 100644
--- a/gems/aws-sdk-bedrock/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-bedrock/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Bedrock
describe EndpointProvider do
subject { Aws::Bedrock::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Bedrock
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Bedrock
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Bedrock
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Bedrock
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Bedrock
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Bedrock
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Bedrock
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Bedrock
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Bedrock
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Bedrock
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Bedrock
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Bedrock
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Bedrock
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Bedrock
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Bedrock
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Bedrock
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Bedrock
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Bedrock
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Bedrock
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Bedrock
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Bedrock
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Bedrock
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Bedrock
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Bedrock
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-bedrockagent/CHANGELOG.md b/gems/aws-sdk-bedrockagent/CHANGELOG.md
index cd6af574dd1..55347e55c12 100644
--- a/gems/aws-sdk-bedrockagent/CHANGELOG.md
+++ b/gems/aws-sdk-bedrockagent/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.24.0 (2024-09-11)
+------------------
+
+* Feature - Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience.
+
1.23.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-bedrockagent/VERSION b/gems/aws-sdk-bedrockagent/VERSION
index a6c2798a482..53cc1a6f929 100644
--- a/gems/aws-sdk-bedrockagent/VERSION
+++ b/gems/aws-sdk-bedrockagent/VERSION
@@ -1 +1 @@
-1.23.0
+1.24.0
diff --git a/gems/aws-sdk-bedrockagent/aws-sdk-bedrockagent.gemspec b/gems/aws-sdk-bedrockagent/aws-sdk-bedrockagent.gemspec
index 36db23af608..34ccfa644ed 100644
--- a/gems/aws-sdk-bedrockagent/aws-sdk-bedrockagent.gemspec
+++ b/gems/aws-sdk-bedrockagent/aws-sdk-bedrockagent.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-bedrockagent/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent.rb b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent.rb
index 2ba76c5d65b..b700ddc9a0e 100644
--- a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent.rb
+++ b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::BedrockAgent
- GEM_VERSION = '1.23.0'
+ GEM_VERSION = '1.24.0'
end
diff --git a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client.rb b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client.rb
index 251c13c4bcd..2b8b14020ef 100644
--- a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client.rb
+++ b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/client.rb
@@ -5669,7 +5669,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-bedrockagent'
- context[:gem_version] = '1.23.0'
+ context[:gem_version] = '1.24.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/endpoints.rb b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/endpoints.rb
index 0f1b4ff6f3c..e88cdc28a85 100644
--- a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/endpoints.rb
+++ b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/endpoints.rb
@@ -14,854 +14,671 @@ module Endpoints
class AssociateAgentKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAgentActionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAgentAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFlowAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFlowVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePrompt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePromptVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAgentActionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAgentAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAgentVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFlowAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFlowVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePrompt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateAgentKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAgentActionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAgentAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAgentKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAgentVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFlowAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFlowVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIngestionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPrompt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAgentActionGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAgentAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAgentKnowledgeBases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAgentVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAgents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFlowAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFlowVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFlows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIngestionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKnowledgeBases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPrompts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PrepareAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PrepareFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartIngestionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAgentActionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAgentAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAgentKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFlowAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePrompt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgent::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/plugins/endpoints.rb b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/plugins/endpoints.rb
index 75cd14fba06..734f4c304dd 100644
--- a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/plugins/endpoints.rb
+++ b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb
index c0bdf34002b..01216aca1fe 100644
--- a/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb
+++ b/gems/aws-sdk-bedrockagent/lib/aws-sdk-bedrockagent/types.rb
@@ -966,11 +966,19 @@ class BedrockEmbeddingModelConfiguration < Struct.new(
include Aws::Structure
end
- # Settings for a foundation model used to parse documents for a data
- # source.
+ # Settings for a foundation model or [inference profile][1] used to
+ # parse documents for a data source.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
#
# @!attribute [rw] model_arn
- # The model's ARN.
+ # The ARN of the foundation model or [inference profile][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
# @return [String]
#
# @!attribute [rw] parsing_prompt
@@ -5535,23 +5543,24 @@ class ParameterDetail < Struct.new(
# into images and use a model to describe the contents of each page.
#
# To use a model to parse PDF documents, set the parsing strategy to
- # `BEDROCK_FOUNDATION_MODEL` and specify the model to use by ARN. You
- # can also override the default parsing prompt with instructions for how
- # to interpret images and tables in your documents. The following models
- # are supported.
+ # `BEDROCK_FOUNDATION_MODEL` and specify the model or [inference
+ # profile][1] to use by ARN. You can also override the default parsing
+ # prompt with instructions for how to interpret images and tables in
+ # your documents. The following models are supported.
#
# * Anthropic Claude 3 Sonnet -
# `anthropic.claude-3-sonnet-20240229-v1:0`
#
# * Anthropic Claude 3 Haiku - `anthropic.claude-3-haiku-20240307-v1:0`
#
- # You can get the ARN of a model with the [ListFoundationModels][1]
+ # You can get the ARN of a model with the [ListFoundationModels][2]
# action. Standard model usage charges apply for the foundation model
# parsing strategy.
#
#
#
- # [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
+ # [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_ListFoundationModels.html
#
# @!attribute [rw] bedrock_foundation_model_configuration
# Settings for a foundation model used to parse documents for a data
diff --git a/gems/aws-sdk-bedrockagent/spec/endpoint_provider_spec.rb b/gems/aws-sdk-bedrockagent/spec/endpoint_provider_spec.rb
index cca2c55bb67..6540604ffb8 100644
--- a/gems/aws-sdk-bedrockagent/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-bedrockagent/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::BedrockAgent
describe EndpointProvider do
subject { Aws::BedrockAgent::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::BedrockAgent
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::BedrockAgent
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::BedrockAgent
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::BedrockAgent
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::BedrockAgent
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::BedrockAgent
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::BedrockAgent
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::BedrockAgent
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::BedrockAgent
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::BedrockAgent
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-bedrockagentruntime/CHANGELOG.md b/gems/aws-sdk-bedrockagentruntime/CHANGELOG.md
index bf33039bc3e..ab948f8cbe9 100644
--- a/gems/aws-sdk-bedrockagentruntime/CHANGELOG.md
+++ b/gems/aws-sdk-bedrockagentruntime/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.23.0 (2024-09-11)
+------------------
+
+* Feature - Amazon Bedrock Knowledge Bases now supports using inference profiles to increase throughput and improve resilience.
+
1.22.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-bedrockagentruntime/VERSION b/gems/aws-sdk-bedrockagentruntime/VERSION
index 57807d6d0d0..a6c2798a482 100644
--- a/gems/aws-sdk-bedrockagentruntime/VERSION
+++ b/gems/aws-sdk-bedrockagentruntime/VERSION
@@ -1 +1 @@
-1.22.0
+1.23.0
diff --git a/gems/aws-sdk-bedrockagentruntime/aws-sdk-bedrockagentruntime.gemspec b/gems/aws-sdk-bedrockagentruntime/aws-sdk-bedrockagentruntime.gemspec
index a89aa1de11f..5d54cb2bdbe 100644
--- a/gems/aws-sdk-bedrockagentruntime/aws-sdk-bedrockagentruntime.gemspec
+++ b/gems/aws-sdk-bedrockagentruntime/aws-sdk-bedrockagentruntime.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-bedrockagentruntime/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime.rb b/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime.rb
index 9f40340b2f6..4233dbfa8e5 100644
--- a/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime.rb
+++ b/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::BedrockAgentRuntime
- GEM_VERSION = '1.22.0'
+ GEM_VERSION = '1.23.0'
end
diff --git a/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/client.rb b/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/client.rb
index aeb0f29b101..8775b0147ad 100644
--- a/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/client.rb
+++ b/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/client.rb
@@ -1657,8 +1657,13 @@ def retrieve(params = {}, options = {})
end
# Queries a knowledge base and generates responses based on the
- # retrieved results. The response only cites sources that are relevant
- # to the query.
+ # retrieved results and using the specified foundation model or
+ # [inference profile][1]. The response only cites sources that are
+ # relevant to the query.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
#
# @option params [required, Types::RetrieveAndGenerateInput] :input
# Contains the query to be made to the knowledge base.
@@ -1890,7 +1895,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-bedrockagentruntime'
- context[:gem_version] = '1.22.0'
+ context[:gem_version] = '1.23.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/endpoints.rb b/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/endpoints.rb
index f154044b339..b9d0ea0ab88 100644
--- a/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/endpoints.rb
+++ b/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/endpoints.rb
@@ -14,84 +14,66 @@ module Endpoints
class DeleteAgentMemory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgentRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAgentMemory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgentRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InvokeAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgentRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InvokeFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgentRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Retrieve
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgentRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetrieveAndGenerate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockAgentRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/plugins/endpoints.rb b/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/plugins/endpoints.rb
index e1c400830d0..08b56c43766 100644
--- a/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/plugins/endpoints.rb
+++ b/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb b/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
index dfb9552ea26..0bc30e5d642 100644
--- a/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
+++ b/gems/aws-sdk-bedrockagentruntime/lib/aws-sdk-bedrockagentruntime/types.rb
@@ -1985,12 +1985,16 @@ class KnowledgeBaseRetrievalResult < Struct.new(
# @return [Types::GenerationConfiguration]
#
# @!attribute [rw] knowledge_base_id
- # The unique identifier of the knowledge base that is queried and the
- # foundation model used for generation.
+ # The unique identifier of the knowledge base that is queried.
# @return [String]
#
# @!attribute [rw] model_arn
- # The ARN of the foundation model used to generate a response.
+ # The ARN of the foundation model or [inference profile][1] used to
+ # generate a response.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/cross-region-inference.html
# @return [String]
#
# @!attribute [rw] orchestration_configuration
diff --git a/gems/aws-sdk-bedrockagentruntime/spec/endpoint_provider_spec.rb b/gems/aws-sdk-bedrockagentruntime/spec/endpoint_provider_spec.rb
index 4641f839428..70bd46a534a 100644
--- a/gems/aws-sdk-bedrockagentruntime/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-bedrockagentruntime/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::BedrockAgentRuntime
describe EndpointProvider do
subject { Aws::BedrockAgentRuntime::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-agent-runtime.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::BedrockAgentRuntime
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-bedrockruntime/CHANGELOG.md b/gems/aws-sdk-bedrockruntime/CHANGELOG.md
index f1a28231d20..ddbd5761695 100644
--- a/gems/aws-sdk-bedrockruntime/CHANGELOG.md
+++ b/gems/aws-sdk-bedrockruntime/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.22.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.21.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-bedrockruntime/VERSION b/gems/aws-sdk-bedrockruntime/VERSION
index 3500250a4b0..57807d6d0d0 100644
--- a/gems/aws-sdk-bedrockruntime/VERSION
+++ b/gems/aws-sdk-bedrockruntime/VERSION
@@ -1 +1 @@
-1.21.0
+1.22.0
diff --git a/gems/aws-sdk-bedrockruntime/aws-sdk-bedrockruntime.gemspec b/gems/aws-sdk-bedrockruntime/aws-sdk-bedrockruntime.gemspec
index bc6afa9c145..5bbfae4b6a9 100644
--- a/gems/aws-sdk-bedrockruntime/aws-sdk-bedrockruntime.gemspec
+++ b/gems/aws-sdk-bedrockruntime/aws-sdk-bedrockruntime.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-bedrockruntime/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime.rb b/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime.rb
index b56eb7aab95..af6e8903e92 100644
--- a/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime.rb
+++ b/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime.rb
@@ -54,6 +54,6 @@
# @!group service
module Aws::BedrockRuntime
- GEM_VERSION = '1.21.0'
+ GEM_VERSION = '1.22.0'
end
diff --git a/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/client.rb b/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/client.rb
index 6da103a5cd0..87a22ced351 100644
--- a/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/client.rb
+++ b/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/client.rb
@@ -1872,7 +1872,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-bedrockruntime'
- context[:gem_version] = '1.21.0'
+ context[:gem_version] = '1.22.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/endpoints.rb b/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/endpoints.rb
index e06b5442293..0111171f858 100644
--- a/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/endpoints.rb
+++ b/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/endpoints.rb
@@ -14,70 +14,55 @@ module Endpoints
class ApplyGuardrail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Converse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConverseStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InvokeModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InvokeModelWithResponseStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BedrockRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/plugins/endpoints.rb b/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/plugins/endpoints.rb
index 39470840b73..58fda85d25e 100644
--- a/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/plugins/endpoints.rb
+++ b/gems/aws-sdk-bedrockruntime/lib/aws-sdk-bedrockruntime/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-bedrockruntime/spec/endpoint_provider_spec.rb b/gems/aws-sdk-bedrockruntime/spec/endpoint_provider_spec.rb
index 7ea471a3266..64381496cb3 100644
--- a/gems/aws-sdk-bedrockruntime/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-bedrockruntime/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::BedrockRuntime
describe EndpointProvider do
subject { Aws::BedrockRuntime::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::BedrockRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://bedrock-runtime.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::BedrockRuntime
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::BedrockRuntime
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::BedrockRuntime
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::BedrockRuntime
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::BedrockRuntime
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-billingconductor/CHANGELOG.md b/gems/aws-sdk-billingconductor/CHANGELOG.md
index 3d129392d8c..632d1cceee2 100644
--- a/gems/aws-sdk-billingconductor/CHANGELOG.md
+++ b/gems/aws-sdk-billingconductor/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.30.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.29.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-billingconductor/VERSION b/gems/aws-sdk-billingconductor/VERSION
index 5e57fb89558..034552a83ee 100644
--- a/gems/aws-sdk-billingconductor/VERSION
+++ b/gems/aws-sdk-billingconductor/VERSION
@@ -1 +1 @@
-1.29.0
+1.30.0
diff --git a/gems/aws-sdk-billingconductor/aws-sdk-billingconductor.gemspec b/gems/aws-sdk-billingconductor/aws-sdk-billingconductor.gemspec
index a8917e333f7..0a682eff1a5 100644
--- a/gems/aws-sdk-billingconductor/aws-sdk-billingconductor.gemspec
+++ b/gems/aws-sdk-billingconductor/aws-sdk-billingconductor.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-billingconductor/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor.rb b/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor.rb
index afe5d189e82..4452b6705ec 100644
--- a/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor.rb
+++ b/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::BillingConductor
- GEM_VERSION = '1.29.0'
+ GEM_VERSION = '1.30.0'
end
diff --git a/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/client.rb b/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/client.rb
index d864f6d60c6..1523f70557a 100644
--- a/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/client.rb
+++ b/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/client.rb
@@ -2174,7 +2174,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-billingconductor'
- context[:gem_version] = '1.29.0'
+ context[:gem_version] = '1.30.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/endpoints.rb b/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/endpoints.rb
index 99b91c3e1a0..3ba827783d8 100644
--- a/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/endpoints.rb
+++ b/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/endpoints.rb
@@ -14,448 +14,352 @@ module Endpoints
class AssociateAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociatePricingRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchAssociateResourcesToCustomLineItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisassociateResourcesFromCustomLineItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBillingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomLineItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePricingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePricingRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBillingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomLineItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePricingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePricingRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociatePricingRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBillingGroupCostReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBillingGroupCostReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBillingGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomLineItemVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomLineItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPricingPlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPricingPlansAssociatedWithPricingRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPricingRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPricingRulesAssociatedToPricingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourcesAssociatedToCustomLineItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBillingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCustomLineItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePricingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePricingRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::BillingConductor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/plugins/endpoints.rb b/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/plugins/endpoints.rb
index b61e66a33ed..881a9a7ea0f 100644
--- a/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/plugins/endpoints.rb
+++ b/gems/aws-sdk-billingconductor/lib/aws-sdk-billingconductor/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-billingconductor/spec/endpoint_provider_spec.rb b/gems/aws-sdk-billingconductor/spec/endpoint_provider_spec.rb
index e29344b4190..f798d16cfb7 100644
--- a/gems/aws-sdk-billingconductor/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-billingconductor/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::BillingConductor
describe EndpointProvider do
subject { Aws::BillingConductor::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"billingconductor", "signingRegion"=>"us-east-1"}]}, "url"=>"https://billingconductor.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"billingconductor", "signingRegion"=>"us-east-1"}]}, "url"=>"https://billingconductor.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::BillingConductor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::BillingConductor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::BillingConductor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::BillingConductor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::BillingConductor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://billingconductor.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::BillingConductor
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::BillingConductor
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::BillingConductor
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::BillingConductor
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::BillingConductor
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-braket/CHANGELOG.md b/gems/aws-sdk-braket/CHANGELOG.md
index 0a5590bcf98..2bb06f8360a 100644
--- a/gems/aws-sdk-braket/CHANGELOG.md
+++ b/gems/aws-sdk-braket/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.43.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.42.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-braket/VERSION b/gems/aws-sdk-braket/VERSION
index a50908ca3da..b978278f05f 100644
--- a/gems/aws-sdk-braket/VERSION
+++ b/gems/aws-sdk-braket/VERSION
@@ -1 +1 @@
-1.42.0
+1.43.0
diff --git a/gems/aws-sdk-braket/aws-sdk-braket.gemspec b/gems/aws-sdk-braket/aws-sdk-braket.gemspec
index a7fc3e3fbf3..dc843d5ad65 100644
--- a/gems/aws-sdk-braket/aws-sdk-braket.gemspec
+++ b/gems/aws-sdk-braket/aws-sdk-braket.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-braket/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-braket/lib/aws-sdk-braket.rb b/gems/aws-sdk-braket/lib/aws-sdk-braket.rb
index 3f86618136c..149a788db0e 100644
--- a/gems/aws-sdk-braket/lib/aws-sdk-braket.rb
+++ b/gems/aws-sdk-braket/lib/aws-sdk-braket.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Braket
- GEM_VERSION = '1.42.0'
+ GEM_VERSION = '1.43.0'
end
diff --git a/gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb b/gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb
index ae29a9ae894..035f2c821a5 100644
--- a/gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb
+++ b/gems/aws-sdk-braket/lib/aws-sdk-braket/client.rb
@@ -1210,7 +1210,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-braket'
- context[:gem_version] = '1.42.0'
+ context[:gem_version] = '1.43.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-braket/lib/aws-sdk-braket/endpoints.rb b/gems/aws-sdk-braket/lib/aws-sdk-braket/endpoints.rb
index 723b0d79256..d531a0f2126 100644
--- a/gems/aws-sdk-braket/lib/aws-sdk-braket/endpoints.rb
+++ b/gems/aws-sdk-braket/lib/aws-sdk-braket/endpoints.rb
@@ -14,182 +14,143 @@ module Endpoints
class CancelJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelQuantumTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQuantumTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQuantumTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchQuantumTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Braket::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-braket/lib/aws-sdk-braket/plugins/endpoints.rb b/gems/aws-sdk-braket/lib/aws-sdk-braket/plugins/endpoints.rb
index 8c93c2a9cae..4946a87d5d7 100644
--- a/gems/aws-sdk-braket/lib/aws-sdk-braket/plugins/endpoints.rb
+++ b/gems/aws-sdk-braket/lib/aws-sdk-braket/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-braket/spec/endpoint_provider_spec.rb b/gems/aws-sdk-braket/spec/endpoint_provider_spec.rb
index 57c166c1420..32fcc7485c3 100644
--- a/gems/aws-sdk-braket/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-braket/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Braket
describe EndpointProvider do
subject { Aws::Braket::EndpointProvider.new }
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket.eu-west-2.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Braket
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Braket
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket.us-west-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Braket
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket.us-west-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Braket
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket-fips.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::Braket
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket-fips.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Braket
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::Braket
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Braket
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Braket
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::Braket
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::Braket
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket-fips.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::Braket
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Braket
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::Braket
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Braket
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -237,7 +237,7 @@ module Aws::Braket
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -251,7 +251,7 @@ module Aws::Braket
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -264,7 +264,7 @@ module Aws::Braket
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket.us-iso-east-1.c2s.ic.gov"}}
end
@@ -278,7 +278,7 @@ module Aws::Braket
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -291,7 +291,7 @@ module Aws::Braket
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -305,7 +305,7 @@ module Aws::Braket
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -318,7 +318,7 @@ module Aws::Braket
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://braket.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -332,7 +332,7 @@ module Aws::Braket
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::Braket
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -360,7 +360,7 @@ module Aws::Braket
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -373,7 +373,7 @@ module Aws::Braket
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -386,7 +386,7 @@ module Aws::Braket
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-budgets/CHANGELOG.md b/gems/aws-sdk-budgets/CHANGELOG.md
index 74f6ac944ed..8126e30fd98 100644
--- a/gems/aws-sdk-budgets/CHANGELOG.md
+++ b/gems/aws-sdk-budgets/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.74.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.73.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-budgets/VERSION b/gems/aws-sdk-budgets/VERSION
index 5e3a4256626..dc87e8af82f 100644
--- a/gems/aws-sdk-budgets/VERSION
+++ b/gems/aws-sdk-budgets/VERSION
@@ -1 +1 @@
-1.73.0
+1.74.0
diff --git a/gems/aws-sdk-budgets/aws-sdk-budgets.gemspec b/gems/aws-sdk-budgets/aws-sdk-budgets.gemspec
index cabe42732de..ca47d236049 100644
--- a/gems/aws-sdk-budgets/aws-sdk-budgets.gemspec
+++ b/gems/aws-sdk-budgets/aws-sdk-budgets.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-budgets/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-budgets/lib/aws-sdk-budgets.rb b/gems/aws-sdk-budgets/lib/aws-sdk-budgets.rb
index 0c0a1b43b70..d7a58a1f0f4 100644
--- a/gems/aws-sdk-budgets/lib/aws-sdk-budgets.rb
+++ b/gems/aws-sdk-budgets/lib/aws-sdk-budgets.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Budgets
- GEM_VERSION = '1.73.0'
+ GEM_VERSION = '1.74.0'
end
diff --git a/gems/aws-sdk-budgets/lib/aws-sdk-budgets/client.rb b/gems/aws-sdk-budgets/lib/aws-sdk-budgets/client.rb
index 922abec600f..07ea4d7ebb2 100644
--- a/gems/aws-sdk-budgets/lib/aws-sdk-budgets/client.rb
+++ b/gems/aws-sdk-budgets/lib/aws-sdk-budgets/client.rb
@@ -2079,7 +2079,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-budgets'
- context[:gem_version] = '1.73.0'
+ context[:gem_version] = '1.74.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-budgets/lib/aws-sdk-budgets/endpoints.rb b/gems/aws-sdk-budgets/lib/aws-sdk-budgets/endpoints.rb
index 4e20ce97dd3..05ce39178c5 100644
--- a/gems/aws-sdk-budgets/lib/aws-sdk-budgets/endpoints.rb
+++ b/gems/aws-sdk-budgets/lib/aws-sdk-budgets/endpoints.rb
@@ -14,364 +14,286 @@ module Endpoints
class CreateBudget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBudgetAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubscriber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBudget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBudgetAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubscriber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBudget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBudgetAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBudgetActionHistories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBudgetActionsForAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBudgetActionsForBudget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBudgetNotificationsForAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBudgetPerformanceHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBudgets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNotificationsForBudget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSubscribersForNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteBudgetAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBudget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBudgetAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubscriber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Budgets::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-budgets/lib/aws-sdk-budgets/plugins/endpoints.rb b/gems/aws-sdk-budgets/lib/aws-sdk-budgets/plugins/endpoints.rb
index 9431d4106f2..9f6106e5ebe 100644
--- a/gems/aws-sdk-budgets/lib/aws-sdk-budgets/plugins/endpoints.rb
+++ b/gems/aws-sdk-budgets/lib/aws-sdk-budgets/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-budgets/spec/endpoint_provider_spec.rb b/gems/aws-sdk-budgets/spec/endpoint_provider_spec.rb
index 327c12c9b38..9dcd41d8a69 100644
--- a/gems/aws-sdk-budgets/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-budgets/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Budgets
describe EndpointProvider do
subject { Aws::Budgets::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"us-east-1"}]}, "url"=>"https://budgets.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Budgets
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::Budgets
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Budgets
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::Budgets
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"us-east-1"}]}, "url"=>"https://budgets.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Budgets
end
end
- context 'For region aws-cn-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-cn-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://budgets.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Budgets
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Budgets
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Budgets
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Budgets
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"budgets", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://budgets.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::Budgets
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Budgets
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Budgets
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::Budgets
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Budgets
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::Budgets
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::Budgets
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::Budgets
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::Budgets
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::Budgets
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::Budgets
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::Budgets
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://budgets.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::Budgets
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::Budgets
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::Budgets
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::Budgets
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::Budgets
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-chatbot/CHANGELOG.md b/gems/aws-sdk-chatbot/CHANGELOG.md
index ce3f216187e..c880748e7e7 100644
--- a/gems/aws-sdk-chatbot/CHANGELOG.md
+++ b/gems/aws-sdk-chatbot/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.13.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.12.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-chatbot/VERSION b/gems/aws-sdk-chatbot/VERSION
index 0eed1a29efd..feaae22bac7 100644
--- a/gems/aws-sdk-chatbot/VERSION
+++ b/gems/aws-sdk-chatbot/VERSION
@@ -1 +1 @@
-1.12.0
+1.13.0
diff --git a/gems/aws-sdk-chatbot/aws-sdk-chatbot.gemspec b/gems/aws-sdk-chatbot/aws-sdk-chatbot.gemspec
index b966bd5f733..faa552b630e 100644
--- a/gems/aws-sdk-chatbot/aws-sdk-chatbot.gemspec
+++ b/gems/aws-sdk-chatbot/aws-sdk-chatbot.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-chatbot/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot.rb b/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot.rb
index 118b285f7f9..e70e8d2c306 100644
--- a/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot.rb
+++ b/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Chatbot
- GEM_VERSION = '1.12.0'
+ GEM_VERSION = '1.13.0'
end
diff --git a/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb b/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb
index 6cd6130ab1c..6e7fe8bf75f 100644
--- a/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb
+++ b/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/client.rb
@@ -1781,7 +1781,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-chatbot'
- context[:gem_version] = '1.12.0'
+ context[:gem_version] = '1.13.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/endpoints.rb b/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/endpoints.rb
index 632ed38a453..6e15dc702ef 100644
--- a/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/endpoints.rb
+++ b/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/endpoints.rb
@@ -14,364 +14,286 @@ module Endpoints
class CreateChimeWebhookConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMicrosoftTeamsChannelConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSlackChannelConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChimeWebhookConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMicrosoftTeamsChannelConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMicrosoftTeamsConfiguredTeam
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMicrosoftTeamsUserIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSlackChannelConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSlackUserIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSlackWorkspaceAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChimeWebhookConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSlackChannelConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSlackUserIdentities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSlackWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMicrosoftTeamsChannelConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMicrosoftTeamsChannelConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMicrosoftTeamsConfiguredTeams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMicrosoftTeamsUserIdentities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChimeWebhookConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMicrosoftTeamsChannelConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSlackChannelConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chatbot::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/plugins/endpoints.rb b/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/plugins/endpoints.rb
index 1247d05901a..57f356b0fed 100644
--- a/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/plugins/endpoints.rb
+++ b/gems/aws-sdk-chatbot/lib/aws-sdk-chatbot/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-chatbot/spec/endpoint_provider_spec.rb b/gems/aws-sdk-chatbot/spec/endpoint_provider_spec.rb
index 8b63ae498cc..2616c80887b 100644
--- a/gems/aws-sdk-chatbot/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-chatbot/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Chatbot
describe EndpointProvider do
subject { Aws::Chatbot::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Chatbot
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Chatbot
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Chatbot
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Chatbot
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Chatbot
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Chatbot
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Chatbot
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Chatbot
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Chatbot
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Chatbot
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Chatbot
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Chatbot
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Chatbot
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Chatbot
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Chatbot
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Chatbot
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Chatbot
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Chatbot
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Chatbot
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chatbot.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Chatbot
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Chatbot
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Chatbot
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Chatbot
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Chatbot
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-chime/CHANGELOG.md b/gems/aws-sdk-chime/CHANGELOG.md
index affd63e7292..ad7a4d26cf3 100644
--- a/gems/aws-sdk-chime/CHANGELOG.md
+++ b/gems/aws-sdk-chime/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.92.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.91.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-chime/VERSION b/gems/aws-sdk-chime/VERSION
index 6979a6c0661..7f229af9647 100644
--- a/gems/aws-sdk-chime/VERSION
+++ b/gems/aws-sdk-chime/VERSION
@@ -1 +1 @@
-1.91.0
+1.92.0
diff --git a/gems/aws-sdk-chime/aws-sdk-chime.gemspec b/gems/aws-sdk-chime/aws-sdk-chime.gemspec
index fc4e63d28ca..9fe2a7f2fc8 100644
--- a/gems/aws-sdk-chime/aws-sdk-chime.gemspec
+++ b/gems/aws-sdk-chime/aws-sdk-chime.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-chime/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-chime/lib/aws-sdk-chime.rb b/gems/aws-sdk-chime/lib/aws-sdk-chime.rb
index 877cb421390..d66119465d2 100644
--- a/gems/aws-sdk-chime/lib/aws-sdk-chime.rb
+++ b/gems/aws-sdk-chime/lib/aws-sdk-chime.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Chime
- GEM_VERSION = '1.91.0'
+ GEM_VERSION = '1.92.0'
end
diff --git a/gems/aws-sdk-chime/lib/aws-sdk-chime/client.rb b/gems/aws-sdk-chime/lib/aws-sdk-chime/client.rb
index c6a895b38ef..0a52b0cde2e 100644
--- a/gems/aws-sdk-chime/lib/aws-sdk-chime/client.rb
+++ b/gems/aws-sdk-chime/lib/aws-sdk-chime/client.rb
@@ -10344,7 +10344,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-chime'
- context[:gem_version] = '1.91.0'
+ context[:gem_version] = '1.92.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-chime/lib/aws-sdk-chime/endpoints.rb b/gems/aws-sdk-chime/lib/aws-sdk-chime/endpoints.rb
index c10a73ab458..8eb0a781495 100644
--- a/gems/aws-sdk-chime/lib/aws-sdk-chime/endpoints.rb
+++ b/gems/aws-sdk-chime/lib/aws-sdk-chime/endpoints.rb
@@ -14,2674 +14,2101 @@ module Endpoints
class AssociatePhoneNumberWithUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociatePhoneNumbersWithVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociatePhoneNumbersWithVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateSigninDelegateGroupsWithAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchCreateAttendee
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchCreateChannelMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchCreateRoomMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeletePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchSuspendUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUnsuspendUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdatePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppInstanceAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAttendee
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannelBan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannelMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannelModerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMediaCapturePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMeeting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMeetingDialOut
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMeetingWithAttendees
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePhoneNumberOrder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProxySession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRoom
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRoomMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSipMediaApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSipMediaApplicationCall
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSipRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppInstanceAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppInstanceStreamingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAttendee
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelBan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelModerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMediaCapturePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMeeting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProxySession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoom
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoomMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSipMediaApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSipRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorEmergencyCallingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorOrigination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorProxy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorStreamingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorTermination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorTerminationCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppInstanceAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannelBan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannelMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannelMembershipForAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannelModeratedByAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannelModerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociatePhoneNumberFromUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociatePhoneNumbersFromVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociatePhoneNumbersFromVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateSigninDelegateGroupsFromAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppInstanceRetentionSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppInstanceStreamingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAttendee
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannelMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGlobalSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMediaCapturePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMeeting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMessagingSessionEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPhoneNumberOrder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPhoneNumberSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProxySession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRetentionSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRoom
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSipMediaApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSipMediaApplicationLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSipRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorEmergencyCallingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorOrigination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorProxy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorStreamingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorTermination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorTerminationHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InviteUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppInstanceAdmins
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppInstanceUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttendeeTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttendees
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelBans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelMemberships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelMembershipsForAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelMessages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelModerators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelsModeratedByAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMediaCapturePipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMeetingTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMeetings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPhoneNumberOrders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPhoneNumbers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProxySessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoomMemberships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRooms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSipMediaApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSipRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSupportedPhoneNumberCountries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVoiceConnectorGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVoiceConnectorTerminationCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVoiceConnectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class LogoutUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAppInstanceRetentionSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAppInstanceStreamingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEventsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRetentionSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSipMediaApplicationLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorEmergencyCallingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorOrigination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorProxy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorStreamingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorTermination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorTerminationCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RedactChannelMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RedactConversationMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RedactRoomMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegenerateSecurityToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetPersonalPIN
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestorePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchAvailablePhoneNumbers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendChannelMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMeetingTranscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopMeetingTranscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagAttendee
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagMeeting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagAttendee
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagMeeting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannelMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannelReadMarker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGlobalSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePhoneNumberSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProxySession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoom
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoomMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSipMediaApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSipMediaApplicationCall
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSipRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateE911Address
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Chime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-chime/lib/aws-sdk-chime/plugins/endpoints.rb b/gems/aws-sdk-chime/lib/aws-sdk-chime/plugins/endpoints.rb
index 124b581afe1..d5ccc8f161f 100644
--- a/gems/aws-sdk-chime/lib/aws-sdk-chime/plugins/endpoints.rb
+++ b/gems/aws-sdk-chime/lib/aws-sdk-chime/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-chime/spec/endpoint_provider_spec.rb b/gems/aws-sdk-chime/spec/endpoint_provider_spec.rb
index 33aa14173b6..0a79fc4950a 100644
--- a/gems/aws-sdk-chime/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-chime/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Chime
describe EndpointProvider do
subject { Aws::Chime::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"chime", "signingRegion"=>"us-east-1"}]}, "url"=>"https://chime.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Chime
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::Chime
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Chime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::Chime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"chime", "signingRegion"=>"us-east-1"}]}, "url"=>"https://chime.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Chime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Chime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Chime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Chime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Chime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::Chime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Chime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::Chime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Chime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::Chime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::Chime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::Chime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::Chime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::Chime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::Chime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::Chime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://chime.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::Chime
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Chime
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::Chime
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::Chime
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::Chime
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-chimesdkidentity/CHANGELOG.md b/gems/aws-sdk-chimesdkidentity/CHANGELOG.md
index 0ac89aad174..c943f12129c 100644
--- a/gems/aws-sdk-chimesdkidentity/CHANGELOG.md
+++ b/gems/aws-sdk-chimesdkidentity/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.33.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.32.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-chimesdkidentity/VERSION b/gems/aws-sdk-chimesdkidentity/VERSION
index 359c41089a4..7aa332e4163 100644
--- a/gems/aws-sdk-chimesdkidentity/VERSION
+++ b/gems/aws-sdk-chimesdkidentity/VERSION
@@ -1 +1 @@
-1.32.0
+1.33.0
diff --git a/gems/aws-sdk-chimesdkidentity/aws-sdk-chimesdkidentity.gemspec b/gems/aws-sdk-chimesdkidentity/aws-sdk-chimesdkidentity.gemspec
index c056c2e020a..e8f64b55b70 100644
--- a/gems/aws-sdk-chimesdkidentity/aws-sdk-chimesdkidentity.gemspec
+++ b/gems/aws-sdk-chimesdkidentity/aws-sdk-chimesdkidentity.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-chimesdkidentity/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity.rb b/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity.rb
index 369d71bfa42..b31b0a31924 100644
--- a/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity.rb
+++ b/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ChimeSDKIdentity
- GEM_VERSION = '1.32.0'
+ GEM_VERSION = '1.33.0'
end
diff --git a/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/client.rb b/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/client.rb
index 3d861bf4917..f20cb20357a 100644
--- a/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/client.rb
+++ b/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/client.rb
@@ -1673,7 +1673,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-chimesdkidentity'
- context[:gem_version] = '1.32.0'
+ context[:gem_version] = '1.33.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/endpoints.rb b/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/endpoints.rb
index 11fcc631047..1ba5ac13c34 100644
--- a/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/endpoints.rb
+++ b/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/endpoints.rb
@@ -14,420 +14,330 @@ module Endpoints
class CreateAppInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppInstanceAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppInstanceBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppInstanceAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppInstanceBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterAppInstanceUserEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppInstanceAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppInstanceBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppInstanceUserEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppInstanceRetentionSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppInstanceAdmins
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppInstanceBots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppInstanceUserEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppInstanceUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAppInstanceRetentionSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAppInstanceUserExpirationSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterAppInstanceUserEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppInstanceBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppInstanceUserEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/plugins/endpoints.rb b/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/plugins/endpoints.rb
index d6469727f41..80dafc62a06 100644
--- a/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/plugins/endpoints.rb
+++ b/gems/aws-sdk-chimesdkidentity/lib/aws-sdk-chimesdkidentity/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-chimesdkidentity/spec/endpoint_provider_spec.rb b/gems/aws-sdk-chimesdkidentity/spec/endpoint_provider_spec.rb
index 99df638d341..53d7a54ece4 100644
--- a/gems/aws-sdk-chimesdkidentity/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-chimesdkidentity/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ChimeSDKIdentity
describe EndpointProvider do
subject { Aws::ChimeSDKIdentity::EndpointProvider.new }
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime.eu-central-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime-fips.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identity-chime.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::ChimeSDKIdentity
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-chimesdkmediapipelines/CHANGELOG.md b/gems/aws-sdk-chimesdkmediapipelines/CHANGELOG.md
index 920ebf4b3b2..83e671fa88a 100644
--- a/gems/aws-sdk-chimesdkmediapipelines/CHANGELOG.md
+++ b/gems/aws-sdk-chimesdkmediapipelines/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.29.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.28.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-chimesdkmediapipelines/VERSION b/gems/aws-sdk-chimesdkmediapipelines/VERSION
index cfc730712d5..5e57fb89558 100644
--- a/gems/aws-sdk-chimesdkmediapipelines/VERSION
+++ b/gems/aws-sdk-chimesdkmediapipelines/VERSION
@@ -1 +1 @@
-1.28.0
+1.29.0
diff --git a/gems/aws-sdk-chimesdkmediapipelines/aws-sdk-chimesdkmediapipelines.gemspec b/gems/aws-sdk-chimesdkmediapipelines/aws-sdk-chimesdkmediapipelines.gemspec
index fff09e162d4..6446eb02f73 100644
--- a/gems/aws-sdk-chimesdkmediapipelines/aws-sdk-chimesdkmediapipelines.gemspec
+++ b/gems/aws-sdk-chimesdkmediapipelines/aws-sdk-chimesdkmediapipelines.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-chimesdkmediapipelines/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines.rb b/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines.rb
index a05047ac8bc..ee6365e0f2d 100644
--- a/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines.rb
+++ b/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ChimeSDKMediaPipelines
- GEM_VERSION = '1.28.0'
+ GEM_VERSION = '1.29.0'
end
diff --git a/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/client.rb b/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/client.rb
index 92f661de856..a2b12cc415e 100644
--- a/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/client.rb
+++ b/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/client.rb
@@ -2555,7 +2555,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-chimesdkmediapipelines'
- context[:gem_version] = '1.28.0'
+ context[:gem_version] = '1.29.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/endpoints.rb b/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/endpoints.rb
index bedb982ce63..474517670ae 100644
--- a/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/endpoints.rb
+++ b/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/endpoints.rb
@@ -14,434 +14,341 @@ module Endpoints
class CreateMediaCapturePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMediaConcatenationPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMediaInsightsPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMediaInsightsPipelineConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMediaLiveConnectorPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMediaPipelineKinesisVideoStreamPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMediaStreamPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMediaCapturePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMediaInsightsPipelineConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMediaPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMediaPipelineKinesisVideoStreamPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMediaCapturePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMediaInsightsPipelineConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMediaPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMediaPipelineKinesisVideoStreamPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSpeakerSearchTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceToneAnalysisTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMediaCapturePipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMediaInsightsPipelineConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMediaPipelineKinesisVideoStreamPools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMediaPipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSpeakerSearchTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartVoiceToneAnalysisTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopSpeakerSearchTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopVoiceToneAnalysisTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMediaInsightsPipelineConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMediaInsightsPipelineStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMediaPipelineKinesisVideoStreamPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMediaPipelines::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/plugins/endpoints.rb b/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/plugins/endpoints.rb
index e4e29538db2..5486a9558ad 100644
--- a/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/plugins/endpoints.rb
+++ b/gems/aws-sdk-chimesdkmediapipelines/lib/aws-sdk-chimesdkmediapipelines/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-chimesdkmediapipelines/spec/endpoint_provider_spec.rb b/gems/aws-sdk-chimesdkmediapipelines/spec/endpoint_provider_spec.rb
index 2f5f996aaef..78448ee8650 100644
--- a/gems/aws-sdk-chimesdkmediapipelines/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-chimesdkmediapipelines/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ChimeSDKMediaPipelines
describe EndpointProvider do
subject { Aws::ChimeSDKMediaPipelines::EndpointProvider.new }
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime.ap-southeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime.eu-central-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime-fips.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime.us-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime-fips.us-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime-fips.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime-fips.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -251,7 +251,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -265,7 +265,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -278,7 +278,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime.us-iso-east-1.c2s.ic.gov"}}
end
@@ -292,7 +292,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -305,7 +305,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -319,7 +319,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -332,7 +332,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://media-pipelines-chime.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -346,7 +346,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -360,7 +360,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -387,7 +387,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -400,7 +400,7 @@ module Aws::ChimeSDKMediaPipelines
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md b/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md
index 9f50c6369ba..83ad8686a33 100644
--- a/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md
+++ b/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-chimesdkmeetings/VERSION b/gems/aws-sdk-chimesdkmeetings/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-chimesdkmeetings/VERSION
+++ b/gems/aws-sdk-chimesdkmeetings/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-chimesdkmeetings/aws-sdk-chimesdkmeetings.gemspec b/gems/aws-sdk-chimesdkmeetings/aws-sdk-chimesdkmeetings.gemspec
index 5e6b376404f..ed198619575 100644
--- a/gems/aws-sdk-chimesdkmeetings/aws-sdk-chimesdkmeetings.gemspec
+++ b/gems/aws-sdk-chimesdkmeetings/aws-sdk-chimesdkmeetings.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-chimesdkmeetings/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb
index f97e57017f0..bc873521f7e 100644
--- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb
+++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ChimeSDKMeetings
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb
index 32d6b30bdcb..7b43ab49ab6 100644
--- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb
+++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/client.rb
@@ -1562,7 +1562,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-chimesdkmeetings'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/endpoints.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/endpoints.rb
index 06bb779b1b9..6425f0d0788 100644
--- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/endpoints.rb
+++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/endpoints.rb
@@ -14,224 +14,176 @@ module Endpoints
class BatchCreateAttendee
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateAttendeeCapabilitiesExcept
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAttendee
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMeeting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMeetingWithAttendees
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAttendee
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMeeting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAttendee
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMeeting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttendees
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMeetingTranscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopMeetingTranscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAttendeeCapabilities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMeetings::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/plugins/endpoints.rb b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/plugins/endpoints.rb
index 62c708e1f9f..de5ca53d1a9 100644
--- a/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/plugins/endpoints.rb
+++ b/gems/aws-sdk-chimesdkmeetings/lib/aws-sdk-chimesdkmeetings/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-chimesdkmeetings/spec/endpoint_provider_spec.rb b/gems/aws-sdk-chimesdkmeetings/spec/endpoint_provider_spec.rb
index cd5d9b71fbf..8b911d93cf4 100644
--- a/gems/aws-sdk-chimesdkmeetings/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-chimesdkmeetings/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ChimeSDKMeetings
describe EndpointProvider do
subject { Aws::ChimeSDKMeetings::EndpointProvider.new }
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.ap-southeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.eu-central-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime-fips.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.us-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime-fips.us-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime-fips.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.us-gov-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime-fips.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://meetings-chime.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::ChimeSDKMeetings
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-chimesdkmessaging/CHANGELOG.md b/gems/aws-sdk-chimesdkmessaging/CHANGELOG.md
index 8fb04c6f57a..ff3a930c9ff 100644
--- a/gems/aws-sdk-chimesdkmessaging/CHANGELOG.md
+++ b/gems/aws-sdk-chimesdkmessaging/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-chimesdkmessaging/VERSION b/gems/aws-sdk-chimesdkmessaging/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-chimesdkmessaging/VERSION
+++ b/gems/aws-sdk-chimesdkmessaging/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-chimesdkmessaging/aws-sdk-chimesdkmessaging.gemspec b/gems/aws-sdk-chimesdkmessaging/aws-sdk-chimesdkmessaging.gemspec
index d152ca95f43..12d8ab26f5a 100644
--- a/gems/aws-sdk-chimesdkmessaging/aws-sdk-chimesdkmessaging.gemspec
+++ b/gems/aws-sdk-chimesdkmessaging/aws-sdk-chimesdkmessaging.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-chimesdkmessaging/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging.rb b/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging.rb
index 9a3c50b265c..659a65501aa 100644
--- a/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging.rb
+++ b/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ChimeSDKMessaging
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/client.rb b/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/client.rb
index 6c58f39b3f1..984ee2692e3 100644
--- a/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/client.rb
+++ b/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/client.rb
@@ -3279,7 +3279,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-chimesdkmessaging'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/endpoints.rb b/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/endpoints.rb
index aab044b6805..c792f3c0064 100644
--- a/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/endpoints.rb
+++ b/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/endpoints.rb
@@ -14,714 +14,561 @@ module Endpoints
class AssociateChannelFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchCreateChannelMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ChannelFlowCallback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannelBan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannelFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannelMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannelModerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelBan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelModerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMessagingStreamingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannelBan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannelFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannelMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannelMembershipForAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannelModeratedByAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannelModerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateChannelFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannelMembershipPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannelMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannelMessageStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMessagingSessionEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMessagingStreamingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelBans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelFlows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelMemberships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelMembershipsForAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelMessages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelModerators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelsAssociatedWithChannelFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelsModeratedByAppInstanceUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutChannelExpirationSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutChannelMembershipPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMessagingStreamingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RedactChannelMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendChannelMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannelFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannelMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannelReadMarker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKMessaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/plugins/endpoints.rb b/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/plugins/endpoints.rb
index 0a03f04f061..6271e320a25 100644
--- a/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/plugins/endpoints.rb
+++ b/gems/aws-sdk-chimesdkmessaging/lib/aws-sdk-chimesdkmessaging/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-chimesdkmessaging/spec/endpoint_provider_spec.rb b/gems/aws-sdk-chimesdkmessaging/spec/endpoint_provider_spec.rb
index e3ac4345ee0..7f87f05aebb 100644
--- a/gems/aws-sdk-chimesdkmessaging/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-chimesdkmessaging/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ChimeSDKMessaging
describe EndpointProvider do
subject { Aws::ChimeSDKMessaging::EndpointProvider.new }
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime.eu-central-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime-fips.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://messaging-chime.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::ChimeSDKMessaging
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-chimesdkvoice/CHANGELOG.md b/gems/aws-sdk-chimesdkvoice/CHANGELOG.md
index 03378723cdc..a6235f07c89 100644
--- a/gems/aws-sdk-chimesdkvoice/CHANGELOG.md
+++ b/gems/aws-sdk-chimesdkvoice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.29.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.28.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-chimesdkvoice/VERSION b/gems/aws-sdk-chimesdkvoice/VERSION
index cfc730712d5..5e57fb89558 100644
--- a/gems/aws-sdk-chimesdkvoice/VERSION
+++ b/gems/aws-sdk-chimesdkvoice/VERSION
@@ -1 +1 @@
-1.28.0
+1.29.0
diff --git a/gems/aws-sdk-chimesdkvoice/aws-sdk-chimesdkvoice.gemspec b/gems/aws-sdk-chimesdkvoice/aws-sdk-chimesdkvoice.gemspec
index 56988cdfba3..0e3d5ffdcb3 100644
--- a/gems/aws-sdk-chimesdkvoice/aws-sdk-chimesdkvoice.gemspec
+++ b/gems/aws-sdk-chimesdkvoice/aws-sdk-chimesdkvoice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-chimesdkvoice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice.rb b/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice.rb
index 4ee2bcbf3a7..4c16d28abd3 100644
--- a/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice.rb
+++ b/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ChimeSDKVoice
- GEM_VERSION = '1.28.0'
+ GEM_VERSION = '1.29.0'
end
diff --git a/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/client.rb b/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/client.rb
index ce13f8138e5..1b08b1fae63 100644
--- a/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/client.rb
+++ b/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/client.rb
@@ -4275,7 +4275,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-chimesdkvoice'
- context[:gem_version] = '1.28.0'
+ context[:gem_version] = '1.29.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/endpoints.rb b/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/endpoints.rb
index 903eb2443cd..dda946cb169 100644
--- a/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/endpoints.rb
+++ b/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/endpoints.rb
@@ -14,1302 +14,1023 @@ module Endpoints
class AssociatePhoneNumbersWithVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociatePhoneNumbersWithVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeletePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdatePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePhoneNumberOrder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProxySession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSipMediaApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSipMediaApplicationCall
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSipRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVoiceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVoiceProfileDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProxySession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSipMediaApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSipRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorEmergencyCallingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorOrigination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorProxy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorStreamingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorTermination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceConnectorTerminationCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceProfileDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociatePhoneNumbersFromVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociatePhoneNumbersFromVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGlobalSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPhoneNumberOrder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPhoneNumberSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProxySession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSipMediaApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSipMediaApplicationAlexaSkillConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSipMediaApplicationLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSipRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSpeakerSearchTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorEmergencyCallingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorOrigination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorProxy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorStreamingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorTermination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceConnectorTerminationHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceProfileDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceToneAnalysisTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAvailableVoiceConnectorRegions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPhoneNumberOrders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPhoneNumbers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProxySessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSipMediaApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSipRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSupportedPhoneNumberCountries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVoiceConnectorGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVoiceConnectorTerminationCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVoiceConnectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVoiceProfileDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVoiceProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSipMediaApplicationAlexaSkillConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSipMediaApplicationLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorEmergencyCallingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorOrigination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorProxy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorStreamingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorTermination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVoiceConnectorTerminationCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestorePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchAvailablePhoneNumbers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSpeakerSearchTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartVoiceToneAnalysisTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopSpeakerSearchTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopVoiceToneAnalysisTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGlobalSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePhoneNumberSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProxySession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSipMediaApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSipMediaApplicationCall
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSipRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVoiceConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVoiceConnectorGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVoiceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVoiceProfileDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateE911Address
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ChimeSDKVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/plugins/endpoints.rb b/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/plugins/endpoints.rb
index 3c4a804c9a4..01ecca6a174 100644
--- a/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/plugins/endpoints.rb
+++ b/gems/aws-sdk-chimesdkvoice/lib/aws-sdk-chimesdkvoice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-chimesdkvoice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-chimesdkvoice/spec/endpoint_provider_spec.rb
index 32b9631ae86..6ee8033b455 100644
--- a/gems/aws-sdk-chimesdkvoice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-chimesdkvoice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ChimeSDKVoice
describe EndpointProvider do
subject { Aws::ChimeSDKVoice::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voice-chime.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::ChimeSDKVoice
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cleanrooms/CHANGELOG.md b/gems/aws-sdk-cleanrooms/CHANGELOG.md
index 22c12c2d3a5..139c6eca970 100644
--- a/gems/aws-sdk-cleanrooms/CHANGELOG.md
+++ b/gems/aws-sdk-cleanrooms/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.30.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.29.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cleanrooms/VERSION b/gems/aws-sdk-cleanrooms/VERSION
index 5e57fb89558..034552a83ee 100644
--- a/gems/aws-sdk-cleanrooms/VERSION
+++ b/gems/aws-sdk-cleanrooms/VERSION
@@ -1 +1 @@
-1.29.0
+1.30.0
diff --git a/gems/aws-sdk-cleanrooms/aws-sdk-cleanrooms.gemspec b/gems/aws-sdk-cleanrooms/aws-sdk-cleanrooms.gemspec
index b9e3293d261..4dccd337b08 100644
--- a/gems/aws-sdk-cleanrooms/aws-sdk-cleanrooms.gemspec
+++ b/gems/aws-sdk-cleanrooms/aws-sdk-cleanrooms.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cleanrooms/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms.rb b/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms.rb
index d0c259959bb..a871335384f 100644
--- a/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms.rb
+++ b/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::CleanRooms
- GEM_VERSION = '1.29.0'
+ GEM_VERSION = '1.30.0'
end
diff --git a/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/client.rb b/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/client.rb
index 2e1b7f23c13..7d0ba594568 100644
--- a/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/client.rb
+++ b/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/client.rb
@@ -4852,7 +4852,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cleanrooms'
- context[:gem_version] = '1.29.0'
+ context[:gem_version] = '1.30.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/endpoints.rb b/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/endpoints.rb
index b1bf3c557fd..af1b4159f40 100644
--- a/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/endpoints.rb
+++ b/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/endpoints.rb
@@ -14,1120 +14,880 @@ module Endpoints
class BatchGetCollaborationAnalysisTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetSchemaAnalysisRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAnalysisTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCollaboration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfiguredAudienceModelAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfiguredTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfiguredTableAnalysisRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfiguredTableAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfiguredTableAssociationAnalysisRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIdMappingTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIdNamespaceAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePrivacyBudgetTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAnalysisTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCollaboration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfiguredAudienceModelAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfiguredTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfiguredTableAnalysisRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfiguredTableAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfiguredTableAssociationAnalysisRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdMappingTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdNamespaceAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePrivacyBudgetTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAnalysisTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCollaboration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCollaborationAnalysisTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCollaborationConfiguredAudienceModelAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCollaborationIdNamespaceAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCollaborationPrivacyBudgetTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfiguredAudienceModelAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfiguredTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfiguredTableAnalysisRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfiguredTableAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfiguredTableAssociationAnalysisRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdMappingTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdNamespaceAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPrivacyBudgetTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProtectedQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSchemaAnalysisRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnalysisTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCollaborationAnalysisTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCollaborationConfiguredAudienceModelAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCollaborationIdNamespaceAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCollaborationPrivacyBudgetTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCollaborationPrivacyBudgets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCollaborations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfiguredAudienceModelAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfiguredTableAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfiguredTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdMappingTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdNamespaceAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMemberships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPrivacyBudgetTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPrivacyBudgets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProtectedQueries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchemas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PopulateIdMappingTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PreviewPrivacyImpact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartProtectedQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAnalysisTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCollaboration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfiguredAudienceModelAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfiguredTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfiguredTableAnalysisRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfiguredTableAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfiguredTableAssociationAnalysisRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIdMappingTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIdNamespaceAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePrivacyBudgetTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProtectedQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRooms::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/plugins/endpoints.rb b/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/plugins/endpoints.rb
index b03e0de7442..2f79d8ac71d 100644
--- a/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/plugins/endpoints.rb
+++ b/gems/aws-sdk-cleanrooms/lib/aws-sdk-cleanrooms/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cleanrooms/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cleanrooms/spec/endpoint_provider_spec.rb
index 11f84bdb385..58318441c59 100644
--- a/gems/aws-sdk-cleanrooms/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cleanrooms/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CleanRooms
describe EndpointProvider do
subject { Aws::CleanRooms::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CleanRooms
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::CleanRooms
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::CleanRooms
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CleanRooms
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::CleanRooms
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::CleanRooms
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::CleanRooms
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::CleanRooms
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::CleanRooms
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::CleanRooms
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cleanroomsml/CHANGELOG.md b/gems/aws-sdk-cleanroomsml/CHANGELOG.md
index 97cc51a4b85..de3271febb3 100644
--- a/gems/aws-sdk-cleanroomsml/CHANGELOG.md
+++ b/gems/aws-sdk-cleanroomsml/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.13.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.12.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cleanroomsml/VERSION b/gems/aws-sdk-cleanroomsml/VERSION
index 0eed1a29efd..feaae22bac7 100644
--- a/gems/aws-sdk-cleanroomsml/VERSION
+++ b/gems/aws-sdk-cleanroomsml/VERSION
@@ -1 +1 @@
-1.12.0
+1.13.0
diff --git a/gems/aws-sdk-cleanroomsml/aws-sdk-cleanroomsml.gemspec b/gems/aws-sdk-cleanroomsml/aws-sdk-cleanroomsml.gemspec
index c600352815f..dab902f7c1c 100644
--- a/gems/aws-sdk-cleanroomsml/aws-sdk-cleanroomsml.gemspec
+++ b/gems/aws-sdk-cleanroomsml/aws-sdk-cleanroomsml.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cleanroomsml/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml.rb b/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml.rb
index 09da717ac40..01f4a8bea51 100644
--- a/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml.rb
+++ b/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::CleanRoomsML
- GEM_VERSION = '1.12.0'
+ GEM_VERSION = '1.13.0'
end
diff --git a/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/client.rb b/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/client.rb
index a97a8a64c0d..92416617292 100644
--- a/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/client.rb
+++ b/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/client.rb
@@ -1778,7 +1778,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cleanroomsml'
- context[:gem_version] = '1.12.0'
+ context[:gem_version] = '1.13.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/endpoints.rb b/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/endpoints.rb
index 6ab1bf29ec0..8d3a00f1cf1 100644
--- a/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/endpoints.rb
+++ b/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/endpoints.rb
@@ -14,350 +14,275 @@ module Endpoints
class CreateAudienceModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfiguredAudienceModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrainingDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAudienceGenerationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAudienceModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfiguredAudienceModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfiguredAudienceModelPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrainingDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAudienceGenerationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAudienceModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfiguredAudienceModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfiguredAudienceModelPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrainingDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAudienceExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAudienceGenerationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAudienceModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfiguredAudienceModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrainingDatasets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfiguredAudienceModelPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAudienceExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAudienceGenerationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfiguredAudienceModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CleanRoomsML::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/plugins/endpoints.rb b/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/plugins/endpoints.rb
index e4876a611c2..74cf483d6e5 100644
--- a/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/plugins/endpoints.rb
+++ b/gems/aws-sdk-cleanroomsml/lib/aws-sdk-cleanroomsml/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cleanroomsml/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cleanroomsml/spec/endpoint_provider_spec.rb
index d75979071e5..9efe8aa1085 100644
--- a/gems/aws-sdk-cleanroomsml/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cleanroomsml/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CleanRoomsML
describe EndpointProvider do
subject { Aws::CleanRoomsML::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::CleanRoomsML
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cleanrooms-ml.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::CleanRoomsML
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::CleanRoomsML
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::CleanRoomsML
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::CleanRoomsML
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::CleanRoomsML
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloud9/CHANGELOG.md b/gems/aws-sdk-cloud9/CHANGELOG.md
index 3685c20afa5..af30bf42e6f 100644
--- a/gems/aws-sdk-cloud9/CHANGELOG.md
+++ b/gems/aws-sdk-cloud9/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.77.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.76.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloud9/VERSION b/gems/aws-sdk-cloud9/VERSION
index 32a6ce3c719..79e15fd4937 100644
--- a/gems/aws-sdk-cloud9/VERSION
+++ b/gems/aws-sdk-cloud9/VERSION
@@ -1 +1 @@
-1.76.0
+1.77.0
diff --git a/gems/aws-sdk-cloud9/aws-sdk-cloud9.gemspec b/gems/aws-sdk-cloud9/aws-sdk-cloud9.gemspec
index 731daeb9999..e00fbdca412 100644
--- a/gems/aws-sdk-cloud9/aws-sdk-cloud9.gemspec
+++ b/gems/aws-sdk-cloud9/aws-sdk-cloud9.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloud9/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9.rb b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9.rb
index 3186e79da9c..81da07ac060 100644
--- a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9.rb
+++ b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Cloud9
- GEM_VERSION = '1.76.0'
+ GEM_VERSION = '1.77.0'
end
diff --git a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb
index 4e05db9db0b..cf3019f52a6 100644
--- a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb
+++ b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/client.rb
@@ -1318,7 +1318,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloud9'
- context[:gem_version] = '1.76.0'
+ context[:gem_version] = '1.77.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/endpoints.rb b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/endpoints.rb
index 0a088d036cf..76837536684 100644
--- a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/endpoints.rb
+++ b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/endpoints.rb
@@ -14,182 +14,143 @@ module Endpoints
class CreateEnvironmentEC2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironmentMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironmentMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEnvironmentMemberships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEnvironmentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironmentMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Cloud9::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/plugins/endpoints.rb b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/plugins/endpoints.rb
index 7273dbbdb1d..fa342cb5523 100644
--- a/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloud9/lib/aws-sdk-cloud9/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloud9/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloud9/spec/endpoint_provider_spec.rb
index 6e16454be1c..c9c7d26878c 100644
--- a/gems/aws-sdk-cloud9/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloud9/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Cloud9
describe EndpointProvider do
subject { Aws::Cloud9::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Cloud9
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Cloud9
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Cloud9
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Cloud9
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Cloud9
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Cloud9
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Cloud9
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Cloud9
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Cloud9
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Cloud9
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Cloud9
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Cloud9
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Cloud9
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Cloud9
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Cloud9
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Cloud9
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Cloud9
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Cloud9
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Cloud9
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Cloud9
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Cloud9
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::Cloud9
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Cloud9
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::Cloud9
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::Cloud9
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::Cloud9
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::Cloud9
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::Cloud9
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9-fips.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::Cloud9
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::Cloud9
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::Cloud9
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::Cloud9
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -475,7 +475,7 @@ module Aws::Cloud9
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -489,7 +489,7 @@ module Aws::Cloud9
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -502,7 +502,7 @@ module Aws::Cloud9
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.us-iso-east-1.c2s.ic.gov"}}
end
@@ -516,7 +516,7 @@ module Aws::Cloud9
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -529,7 +529,7 @@ module Aws::Cloud9
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -543,7 +543,7 @@ module Aws::Cloud9
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -556,7 +556,7 @@ module Aws::Cloud9
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloud9.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -570,7 +570,7 @@ module Aws::Cloud9
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::Cloud9
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::Cloud9
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -611,7 +611,7 @@ module Aws::Cloud9
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -624,7 +624,7 @@ module Aws::Cloud9
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudcontrolapi/CHANGELOG.md b/gems/aws-sdk-cloudcontrolapi/CHANGELOG.md
index 40fa7f31f34..32e7658dc3c 100644
--- a/gems/aws-sdk-cloudcontrolapi/CHANGELOG.md
+++ b/gems/aws-sdk-cloudcontrolapi/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.29.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.28.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudcontrolapi/VERSION b/gems/aws-sdk-cloudcontrolapi/VERSION
index cfc730712d5..5e57fb89558 100644
--- a/gems/aws-sdk-cloudcontrolapi/VERSION
+++ b/gems/aws-sdk-cloudcontrolapi/VERSION
@@ -1 +1 @@
-1.28.0
+1.29.0
diff --git a/gems/aws-sdk-cloudcontrolapi/aws-sdk-cloudcontrolapi.gemspec b/gems/aws-sdk-cloudcontrolapi/aws-sdk-cloudcontrolapi.gemspec
index faf7587bff3..d749a4bb607 100644
--- a/gems/aws-sdk-cloudcontrolapi/aws-sdk-cloudcontrolapi.gemspec
+++ b/gems/aws-sdk-cloudcontrolapi/aws-sdk-cloudcontrolapi.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudcontrolapi/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi.rb b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi.rb
index e6e5fccb906..7fbc52625af 100644
--- a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi.rb
+++ b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::CloudControlApi
- GEM_VERSION = '1.28.0'
+ GEM_VERSION = '1.29.0'
end
diff --git a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client.rb b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client.rb
index a4d856b169a..a3ffc6d55a9 100644
--- a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client.rb
+++ b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/client.rb
@@ -1208,7 +1208,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudcontrolapi'
- context[:gem_version] = '1.28.0'
+ context[:gem_version] = '1.29.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/endpoints.rb b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/endpoints.rb
index 74ade59f710..443f21b7b4c 100644
--- a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/endpoints.rb
+++ b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/endpoints.rb
@@ -14,112 +14,88 @@ module Endpoints
class CancelResourceRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudControlApi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudControlApi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudControlApi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudControlApi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceRequestStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudControlApi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudControlApi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudControlApi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudControlApi::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/plugins/endpoints.rb b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/plugins/endpoints.rb
index d8e286ee22f..18cd8531e5d 100644
--- a/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudcontrolapi/lib/aws-sdk-cloudcontrolapi/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudcontrolapi/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudcontrolapi/spec/endpoint_provider_spec.rb
index 39ac23c1e14..e5b8207342c 100644
--- a/gems/aws-sdk-cloudcontrolapi/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudcontrolapi/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudControlApi
describe EndpointProvider do
subject { Aws::CloudControlApi::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudControlApi
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudControlApi
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudControlApi
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudControlApi
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudControlApi
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudControlApi
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudControlApi
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudControlApi
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudControlApi
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudControlApi
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudControlApi
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudControlApi
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudControlApi
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudControlApi
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudControlApi
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CloudControlApi
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CloudControlApi
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CloudControlApi
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::CloudControlApi
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::CloudControlApi
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::CloudControlApi
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::CloudControlApi
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::CloudControlApi
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -587,7 +587,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -601,7 +601,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -614,7 +614,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.us-iso-east-1.c2s.ic.gov"}}
end
@@ -628,7 +628,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -641,7 +641,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -655,7 +655,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -668,7 +668,7 @@ module Aws::CloudControlApi
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudcontrolapi.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -682,7 +682,7 @@ module Aws::CloudControlApi
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::CloudControlApi
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::CloudControlApi
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::CloudControlApi
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::CloudControlApi
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-clouddirectory/CHANGELOG.md b/gems/aws-sdk-clouddirectory/CHANGELOG.md
index d9dcfd7c63b..561ba58a904 100644
--- a/gems/aws-sdk-clouddirectory/CHANGELOG.md
+++ b/gems/aws-sdk-clouddirectory/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.64.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.63.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-clouddirectory/VERSION b/gems/aws-sdk-clouddirectory/VERSION
index af92bdd9f58..9405730420f 100644
--- a/gems/aws-sdk-clouddirectory/VERSION
+++ b/gems/aws-sdk-clouddirectory/VERSION
@@ -1 +1 @@
-1.63.0
+1.64.0
diff --git a/gems/aws-sdk-clouddirectory/aws-sdk-clouddirectory.gemspec b/gems/aws-sdk-clouddirectory/aws-sdk-clouddirectory.gemspec
index c83fc61b55f..6765a026aa1 100644
--- a/gems/aws-sdk-clouddirectory/aws-sdk-clouddirectory.gemspec
+++ b/gems/aws-sdk-clouddirectory/aws-sdk-clouddirectory.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-clouddirectory/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory.rb b/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory.rb
index 0c662f9d8b5..afc0b635d1c 100644
--- a/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory.rb
+++ b/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CloudDirectory
- GEM_VERSION = '1.63.0'
+ GEM_VERSION = '1.64.0'
end
diff --git a/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/client.rb b/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/client.rb
index 232e396a1bf..30263a72f26 100644
--- a/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/client.rb
+++ b/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/client.rb
@@ -4408,7 +4408,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-clouddirectory'
- context[:gem_version] = '1.63.0'
+ context[:gem_version] = '1.64.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/endpoints.rb b/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/endpoints.rb
index 6f831de41d4..2824677ae37 100644
--- a/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/endpoints.rb
+++ b/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/endpoints.rb
@@ -14,924 +14,726 @@ module Endpoints
class AddFacetToObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ApplySchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachToIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachTypedLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchRead
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchWrite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFacet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTypedLinkFacet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFacet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTypedLinkFacet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachFromIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachTypedLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppliedSchemaVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFacet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLinkAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetObjectAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetObjectInformation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSchemaAsJson
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTypedLinkFacetInformation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppliedSchemaArns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttachedIndices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevelopmentSchemaArns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDirectories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFacetAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFacetNames
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIncomingTypedLinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListManagedSchemaArns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListObjectAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListObjectChildren
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListObjectParentPaths
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListObjectParents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListObjectPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOutgoingTypedLinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicyAttachments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPublishedSchemaArns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTypedLinkFacetAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTypedLinkFacetNames
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class LookupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PublishSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSchemaFromJson
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveFacetFromObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFacet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLinkAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateObjectAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTypedLinkFacet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpgradeAppliedSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpgradePublishedSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudDirectory::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/plugins/endpoints.rb b/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/plugins/endpoints.rb
index f57c31a8ea0..37b173458f9 100644
--- a/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/plugins/endpoints.rb
+++ b/gems/aws-sdk-clouddirectory/lib/aws-sdk-clouddirectory/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-clouddirectory/spec/endpoint_provider_spec.rb b/gems/aws-sdk-clouddirectory/spec/endpoint_provider_spec.rb
index c82ae889cc7..0d93f287200 100644
--- a/gems/aws-sdk-clouddirectory/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-clouddirectory/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudDirectory
describe EndpointProvider do
subject { Aws::CloudDirectory::EndpointProvider.new }
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.ap-southeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudDirectory
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.ap-southeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudDirectory
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.ca-central-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudDirectory
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudDirectory
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.eu-west-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudDirectory
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.eu-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.us-east-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.us-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory-fips.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory-fips.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudDirectory
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudDirectory
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudDirectory
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudDirectory
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.us-gov-west-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.us-gov-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::CloudDirectory
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://clouddirectory.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::CloudDirectory
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::CloudDirectory
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::CloudDirectory
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::CloudDirectory
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::CloudDirectory
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudformation/CHANGELOG.md b/gems/aws-sdk-cloudformation/CHANGELOG.md
index b89c10b5f7d..581bee23de5 100644
--- a/gems/aws-sdk-cloudformation/CHANGELOG.md
+++ b/gems/aws-sdk-cloudformation/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.117.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.116.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudformation/VERSION b/gems/aws-sdk-cloudformation/VERSION
index 10c8812fe5e..8de9ac240a8 100644
--- a/gems/aws-sdk-cloudformation/VERSION
+++ b/gems/aws-sdk-cloudformation/VERSION
@@ -1 +1 @@
-1.116.0
+1.117.0
diff --git a/gems/aws-sdk-cloudformation/aws-sdk-cloudformation.gemspec b/gems/aws-sdk-cloudformation/aws-sdk-cloudformation.gemspec
index 027067d34cd..149724dfb6d 100644
--- a/gems/aws-sdk-cloudformation/aws-sdk-cloudformation.gemspec
+++ b/gems/aws-sdk-cloudformation/aws-sdk-cloudformation.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudformation/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation.rb b/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation.rb
index 30978377071..f07e3f417cd 100644
--- a/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation.rb
+++ b/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation.rb
@@ -57,6 +57,6 @@
# @!group service
module Aws::CloudFormation
- GEM_VERSION = '1.116.0'
+ GEM_VERSION = '1.117.0'
end
diff --git a/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/client.rb b/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/client.rb
index 46c83fbc4f8..298770614d1 100644
--- a/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/client.rb
+++ b/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/client.rb
@@ -8413,7 +8413,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudformation'
- context[:gem_version] = '1.116.0'
+ context[:gem_version] = '1.117.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/endpoints.rb b/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/endpoints.rb
index 9e0da14f105..8eef1bc76a0 100644
--- a/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/endpoints.rb
+++ b/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/endpoints.rb
@@ -14,1148 +14,902 @@ module Endpoints
class ActivateOrganizationsAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ActivateType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDescribeTypeConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelUpdateStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ContinueUpdateRollback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGeneratedTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStackInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStackSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeactivateOrganizationsAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeactivateType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGeneratedTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStackInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStackSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChangeSetHooks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGeneratedTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationsAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePublisher
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourceScan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStackDriftDetectionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStackEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStackInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStackResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStackResourceDrifts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStackResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStackSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStackSetOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStacks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTypeRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectStackDrift
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectStackResourceDrift
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectStackSetDrift
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EstimateTemplateCost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGeneratedTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStackPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemplateSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportStacksToStackSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChangeSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGeneratedTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceScanRelatedResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceScanResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceScans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStackInstanceResourceDrifts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStackInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStackResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStackSetAutoDeploymentTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStackSetOperationResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStackSetOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStackSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStacks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTypeRegistrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTypeVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PublishType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RecordHandlerProgress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterPublisher
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RollbackStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetStackPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetTypeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetTypeDefaultVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SignalResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartResourceScan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopStackSetOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGeneratedTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStackInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStackSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTerminationProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/plugins/endpoints.rb b/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/plugins/endpoints.rb
index f482e05d6ed..a7e9b23457f 100644
--- a/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudformation/lib/aws-sdk-cloudformation/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudformation/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudformation/spec/endpoint_provider_spec.rb
index c02ccbaa28d..4859b883906 100644
--- a/gems/aws-sdk-cloudformation/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudformation/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudFormation
describe EndpointProvider do
subject { Aws::CloudFormation::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudFormation
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudFormation
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudFormation
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudFormation
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudFormation
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudFormation
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudFormation
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudFormation
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudFormation
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudFormation
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudFormation
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudFormation
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudFormation
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudFormation
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudFormation
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CloudFormation
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CloudFormation
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::CloudFormation
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::CloudFormation
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::CloudFormation
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::CloudFormation
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::CloudFormation
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudformation-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::CloudFormation
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::CloudFormation
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::CloudFormation
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::CloudFormation
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::CloudFormation
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::CloudFormation
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudfront/CHANGELOG.md b/gems/aws-sdk-cloudfront/CHANGELOG.md
index 5b507711b83..cce62a158a0 100644
--- a/gems/aws-sdk-cloudfront/CHANGELOG.md
+++ b/gems/aws-sdk-cloudfront/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.99.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.98.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudfront/VERSION b/gems/aws-sdk-cloudfront/VERSION
index 783fda86436..9eb2e1ff9c2 100644
--- a/gems/aws-sdk-cloudfront/VERSION
+++ b/gems/aws-sdk-cloudfront/VERSION
@@ -1 +1 @@
-1.98.0
+1.99.0
diff --git a/gems/aws-sdk-cloudfront/aws-sdk-cloudfront.gemspec b/gems/aws-sdk-cloudfront/aws-sdk-cloudfront.gemspec
index 01c44e72ed4..2ce419417b4 100644
--- a/gems/aws-sdk-cloudfront/aws-sdk-cloudfront.gemspec
+++ b/gems/aws-sdk-cloudfront/aws-sdk-cloudfront.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudfront/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb
index 08f6db1a5c8..d49210b793f 100644
--- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb
+++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::CloudFront
- GEM_VERSION = '1.98.0'
+ GEM_VERSION = '1.99.0'
end
diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb
index 4130a71820f..cc28488ad36 100644
--- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb
+++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/client.rb
@@ -9480,7 +9480,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudfront'
- context[:gem_version] = '1.98.0'
+ context[:gem_version] = '1.99.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/endpoints.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/endpoints.rb
index 3a2267cf0b2..421b04f059b 100644
--- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/endpoints.rb
+++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/endpoints.rb
@@ -14,1554 +14,1221 @@ module Endpoints
class AssociateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCachePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCloudFrontOriginAccessIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContinuousDeploymentPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDistributionWithTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFieldLevelEncryptionConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFieldLevelEncryptionProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInvalidation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKeyGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKeyValueStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMonitoringSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOriginAccessControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOriginRequestPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRealtimeLogConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResponseHeadersPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStreamingDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStreamingDistributionWithTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCachePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCloudFrontOriginAccessIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContinuousDeploymentPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFieldLevelEncryptionConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFieldLevelEncryptionProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKeyGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKeyValueStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMonitoringSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOriginAccessControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOriginRequestPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRealtimeLogConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResponseHeadersPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStreamingDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeKeyValueStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCachePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCachePolicyConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCloudFrontOriginAccessIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCloudFrontOriginAccessIdentityConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContinuousDeploymentPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContinuousDeploymentPolicyConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDistributionConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFieldLevelEncryption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFieldLevelEncryptionConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFieldLevelEncryptionProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFieldLevelEncryptionProfileConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInvalidation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKeyGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKeyGroupConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMonitoringSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOriginAccessControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOriginAccessControlConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOriginRequestPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOriginRequestPolicyConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPublicKeyConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRealtimeLogConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResponseHeadersPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResponseHeadersPolicyConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStreamingDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStreamingDistributionConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCachePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCloudFrontOriginAccessIdentities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConflictingAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContinuousDeploymentPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDistributions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDistributionsByCachePolicyId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDistributionsByKeyGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDistributionsByOriginRequestPolicyId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDistributionsByRealtimeLogConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDistributionsByResponseHeadersPolicyId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDistributionsByWebACLId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFieldLevelEncryptionConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFieldLevelEncryptionProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFunctions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInvalidations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKeyGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKeyValueStores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOriginAccessControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOriginRequestPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPublicKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRealtimeLogConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResponseHeadersPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStreamingDistributions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PublishFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCachePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCloudFrontOriginAccessIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContinuousDeploymentPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDistributionWithStagingConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFieldLevelEncryptionConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFieldLevelEncryptionProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKeyGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKeyValueStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOriginAccessControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOriginRequestPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRealtimeLogConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResponseHeadersPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStreamingDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFront::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/plugins/endpoints.rb b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/plugins/endpoints.rb
index eae60dac59c..90cdd4e8999 100644
--- a/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudfront/lib/aws-sdk-cloudfront/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudfront/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudfront/spec/endpoint_provider_spec.rb
index 0d60de83bf3..dbb2a0dc6c6 100644
--- a/gems/aws-sdk-cloudfront/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudfront/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudFront
describe EndpointProvider do
subject { Aws::CloudFront::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"cloudfront", "signingRegion"=>"us-east-1"}]}, "url"=>"https://cloudfront.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudFront
end
end
- context 'For region aws-global with FIPS enabled and DualStack disabled' do
+ context "For region aws-global with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"cloudfront", "signingRegion"=>"us-east-1"}]}, "url"=>"https://cloudfront-fips.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudFront
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront-fips.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudFront
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"cloudfront", "signingRegion"=>"us-east-1"}]}, "url"=>"https://cloudfront-fips.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudFront
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudFront
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"cloudfront", "signingRegion"=>"us-east-1"}]}, "url"=>"https://cloudfront.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudFront
end
end
- context 'For region aws-cn-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-cn-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"cloudfront", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://cloudfront.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudFront
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudFront
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudFront
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudFront
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"cloudfront", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://cloudfront.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudFront
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront-fips.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudFront
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudFront
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudFront
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudFront
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -237,7 +237,7 @@ module Aws::CloudFront
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -251,7 +251,7 @@ module Aws::CloudFront
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -264,7 +264,7 @@ module Aws::CloudFront
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront.us-iso-east-1.c2s.ic.gov"}}
end
@@ -278,7 +278,7 @@ module Aws::CloudFront
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -291,7 +291,7 @@ module Aws::CloudFront
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -305,7 +305,7 @@ module Aws::CloudFront
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -318,7 +318,7 @@ module Aws::CloudFront
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudfront.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -332,7 +332,7 @@ module Aws::CloudFront
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::CloudFront
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -360,7 +360,7 @@ module Aws::CloudFront
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -373,7 +373,7 @@ module Aws::CloudFront
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -386,7 +386,7 @@ module Aws::CloudFront
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudfrontkeyvaluestore/CHANGELOG.md b/gems/aws-sdk-cloudfrontkeyvaluestore/CHANGELOG.md
index 91665f77554..4e8b2de09a2 100644
--- a/gems/aws-sdk-cloudfrontkeyvaluestore/CHANGELOG.md
+++ b/gems/aws-sdk-cloudfrontkeyvaluestore/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.13.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.12.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudfrontkeyvaluestore/VERSION b/gems/aws-sdk-cloudfrontkeyvaluestore/VERSION
index 0eed1a29efd..feaae22bac7 100644
--- a/gems/aws-sdk-cloudfrontkeyvaluestore/VERSION
+++ b/gems/aws-sdk-cloudfrontkeyvaluestore/VERSION
@@ -1 +1 @@
-1.12.0
+1.13.0
diff --git a/gems/aws-sdk-cloudfrontkeyvaluestore/aws-sdk-cloudfrontkeyvaluestore.gemspec b/gems/aws-sdk-cloudfrontkeyvaluestore/aws-sdk-cloudfrontkeyvaluestore.gemspec
index 829078bbc44..22a55c3a5d5 100644
--- a/gems/aws-sdk-cloudfrontkeyvaluestore/aws-sdk-cloudfrontkeyvaluestore.gemspec
+++ b/gems/aws-sdk-cloudfrontkeyvaluestore/aws-sdk-cloudfrontkeyvaluestore.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudfrontkeyvaluestore/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore.rb b/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore.rb
index ac28b143508..647e0a7a8c2 100644
--- a/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore.rb
+++ b/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CloudFrontKeyValueStore
- GEM_VERSION = '1.12.0'
+ GEM_VERSION = '1.13.0'
end
diff --git a/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb b/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb
index ac6f4423d18..660676d3747 100644
--- a/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb
+++ b/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/client.rb
@@ -727,7 +727,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudfrontkeyvaluestore'
- context[:gem_version] = '1.12.0'
+ context[:gem_version] = '1.13.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/endpoints.rb b/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/endpoints.rb
index eb44eea69c8..8d2aabc9134 100644
--- a/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/endpoints.rb
+++ b/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/endpoints.rb
@@ -14,84 +14,66 @@ module Endpoints
class DeleteKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFrontKeyValueStore::EndpointParameters.new(
kvs_arn: context.params[:kvs_arn],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeKeyValueStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFrontKeyValueStore::EndpointParameters.new(
kvs_arn: context.params[:kvs_arn],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFrontKeyValueStore::EndpointParameters.new(
kvs_arn: context.params[:kvs_arn],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFrontKeyValueStore::EndpointParameters.new(
kvs_arn: context.params[:kvs_arn],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFrontKeyValueStore::EndpointParameters.new(
kvs_arn: context.params[:kvs_arn],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudFrontKeyValueStore::EndpointParameters.new(
kvs_arn: context.params[:kvs_arn],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/plugins/endpoints.rb b/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/plugins/endpoints.rb
index b61e6e9a23d..4a7004a9b30 100644
--- a/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudfrontkeyvaluestore/lib/aws-sdk-cloudfrontkeyvaluestore/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudfrontkeyvaluestore/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudfrontkeyvaluestore/spec/endpoint_provider_spec.rb
index 75334d1da8b..b9cc03666b8 100644
--- a/gems/aws-sdk-cloudfrontkeyvaluestore/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudfrontkeyvaluestore/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudFrontKeyValueStore
describe EndpointProvider do
subject { Aws::CloudFrontKeyValueStore::EndpointProvider.new }
- context 'FIPS should error' do
+ context "FIPS should error" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS is not supported with CloudFront-KeyValueStore."}
end
@@ -27,7 +27,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'KVS ARN must be provided to use this service' do
+ context "KVS ARN must be provided to use this service" do
let(:expected) do
{"error"=>"KVS ARN must be provided to use this service"}
end
@@ -40,7 +40,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'KVS ARN must be a valid ARN' do
+ context "KVS ARN must be a valid ARN" do
let(:expected) do
{"error"=>"KVS ARN must be a valid ARN"}
end
@@ -53,7 +53,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'Provided ARN was not a valid CloudFront Service ARN. Found: `notcloudfront`' do
+ context "Provided ARN was not a valid CloudFront Service ARN. Found: `notcloudfront`" do
let(:expected) do
{"error"=>"Provided ARN is not a valid CloudFront Service ARN. Found: `notcloudfront`"}
end
@@ -66,7 +66,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'Provided ARN must be a global resource ARN. Found: `us-west-2`' do
+ context "Provided ARN must be a global resource ARN. Found: `us-west-2`" do
let(:expected) do
{"error"=>"Provided ARN must be a global resource ARN. Found: `us-west-2`"}
end
@@ -79,7 +79,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'ARN resource type is invalid. Expected `key-value-store`, found: `some-other-resource-type`' do
+ context "ARN resource type is invalid. Expected `key-value-store`, found: `some-other-resource-type`" do
let(:expected) do
{"error"=>"ARN resource type is invalid. Expected `key-value-store`, found: `some-other-resource-type`"}
end
@@ -92,7 +92,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'CloudFront-KeyValueStore is not supported in partition `aws-cn`' do
+ context "CloudFront-KeyValueStore is not supported in partition `aws-cn`" do
let(:expected) do
{"error"=>"CloudFront-KeyValueStore is not supported in partition `aws-cn`"}
end
@@ -105,7 +105,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'CloudFront-KeyValueStore is not supported in partition `aws-us-gov`' do
+ context "CloudFront-KeyValueStore is not supported in partition `aws-us-gov`" do
let(:expected) do
{"error"=>"CloudFront-KeyValueStore is not supported in partition `aws-us-gov`"}
end
@@ -118,7 +118,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'Valid account based endpoint' do
+ context "Valid account based endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingName"=>"cloudfront-keyvaluestore", "name"=>"sigv4a", "signingRegionSet"=>["*"]}]}, "url"=>"https://123456789012.cloudfront-kvs.global.api.aws"}}
end
@@ -132,7 +132,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'Valid account based endpoint, with SDK region' do
+ context "Valid account based endpoint, with SDK region" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingName"=>"cloudfront-keyvaluestore", "name"=>"sigv4a", "signingRegionSet"=>["*"]}]}, "url"=>"https://123456789012.cloudfront-kvs.global.api.aws"}}
end
@@ -146,7 +146,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'Valid ARN, different partition, should error' do
+ context "Valid ARN, different partition, should error" do
let(:expected) do
{"error"=>"Client was configured for partition `aws-cn` but Kvs ARN has `aws`"}
end
@@ -159,7 +159,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'Valid account based endpoint with FIPS, should error' do
+ context "Valid account based endpoint with FIPS, should error" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS is not supported with CloudFront-KeyValueStore."}
end
@@ -172,7 +172,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'Custom sdk endpoint override' do
+ context "Custom sdk endpoint override" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingName"=>"cloudfront-keyvaluestore", "name"=>"sigv4a", "signingRegionSet"=>["*"]}]}, "url"=>"https://123456789012.my-override.example.com"}}
end
@@ -186,7 +186,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'Custom sdk endpoint override with path and http' do
+ context "Custom sdk endpoint override with path and http" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingName"=>"cloudfront-keyvaluestore", "name"=>"sigv4a", "signingRegionSet"=>["*"]}]}, "url"=>"http://123456789012.my-override.example.com/custom-path"}}
end
@@ -200,7 +200,7 @@ module Aws::CloudFrontKeyValueStore
end
end
- context 'Custom override with different partition should error' do
+ context "Custom override with different partition should error" do
let(:expected) do
{"error"=>"Client was configured for partition `aws-us-gov` but Kvs ARN has `aws`"}
end
diff --git a/gems/aws-sdk-cloudhsm/CHANGELOG.md b/gems/aws-sdk-cloudhsm/CHANGELOG.md
index 2ecfc47c9c4..87321a66793 100644
--- a/gems/aws-sdk-cloudhsm/CHANGELOG.md
+++ b/gems/aws-sdk-cloudhsm/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.61.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.60.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudhsm/VERSION b/gems/aws-sdk-cloudhsm/VERSION
index 4d5fde5bd16..91951fd8ad7 100644
--- a/gems/aws-sdk-cloudhsm/VERSION
+++ b/gems/aws-sdk-cloudhsm/VERSION
@@ -1 +1 @@
-1.60.0
+1.61.0
diff --git a/gems/aws-sdk-cloudhsm/aws-sdk-cloudhsm.gemspec b/gems/aws-sdk-cloudhsm/aws-sdk-cloudhsm.gemspec
index 2037eba0537..cb1aebe9cbd 100644
--- a/gems/aws-sdk-cloudhsm/aws-sdk-cloudhsm.gemspec
+++ b/gems/aws-sdk-cloudhsm/aws-sdk-cloudhsm.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudhsm/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm.rb b/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm.rb
index 7c3e28ce18e..9fd87b0ddd4 100644
--- a/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm.rb
+++ b/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CloudHSM
- GEM_VERSION = '1.60.0'
+ GEM_VERSION = '1.61.0'
end
diff --git a/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/client.rb b/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/client.rb
index 3c2fc4f7124..6e33759cb16 100644
--- a/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/client.rb
+++ b/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/client.rb
@@ -1634,7 +1634,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudhsm'
- context[:gem_version] = '1.60.0'
+ context[:gem_version] = '1.61.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/endpoints.rb b/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/endpoints.rb
index c7e8e8ad82a..fba64dad349 100644
--- a/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/endpoints.rb
+++ b/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/endpoints.rb
@@ -14,280 +14,220 @@ module Endpoints
class AddTagsToResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHapg
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHsm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLunaClient
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHapg
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHsm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLunaClient
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHapg
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHsm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLunaClient
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAvailableZones
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHapgs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHsms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLunaClients
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyHapg
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyHsm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyLunaClient
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/plugins/endpoints.rb b/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/plugins/endpoints.rb
index 68aa3de540a..cf53647e9b3 100644
--- a/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudhsm/lib/aws-sdk-cloudhsm/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudhsm/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudhsm/spec/endpoint_provider_spec.rb
index b1df96a021a..7a670025223 100644
--- a/gems/aws-sdk-cloudhsm/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudhsm/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudHSM
describe EndpointProvider do
subject { Aws::CloudHSM::EndpointProvider.new }
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudHSM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudHSM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudHSM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudHSM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm.us-gov-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::CloudHSM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsm.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::CloudHSM
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::CloudHSM
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::CloudHSM
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::CloudHSM
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::CloudHSM
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudhsmv2/CHANGELOG.md b/gems/aws-sdk-cloudhsmv2/CHANGELOG.md
index 5de1e00334a..56bf3f99f48 100644
--- a/gems/aws-sdk-cloudhsmv2/CHANGELOG.md
+++ b/gems/aws-sdk-cloudhsmv2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.65.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.64.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudhsmv2/VERSION b/gems/aws-sdk-cloudhsmv2/VERSION
index 9405730420f..902c74186fb 100644
--- a/gems/aws-sdk-cloudhsmv2/VERSION
+++ b/gems/aws-sdk-cloudhsmv2/VERSION
@@ -1 +1 @@
-1.64.0
+1.65.0
diff --git a/gems/aws-sdk-cloudhsmv2/aws-sdk-cloudhsmv2.gemspec b/gems/aws-sdk-cloudhsmv2/aws-sdk-cloudhsmv2.gemspec
index 55f8476232d..cd5ef1be688 100644
--- a/gems/aws-sdk-cloudhsmv2/aws-sdk-cloudhsmv2.gemspec
+++ b/gems/aws-sdk-cloudhsmv2/aws-sdk-cloudhsmv2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudhsmv2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2.rb b/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2.rb
index a6fee7f4de2..5617f9089d9 100644
--- a/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2.rb
+++ b/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CloudHSMV2
- GEM_VERSION = '1.64.0'
+ GEM_VERSION = '1.65.0'
end
diff --git a/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/client.rb b/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/client.rb
index c8e6ef3677c..222c828932f 100644
--- a/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/client.rb
+++ b/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/client.rb
@@ -1538,7 +1538,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudhsmv2'
- context[:gem_version] = '1.64.0'
+ context[:gem_version] = '1.65.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/endpoints.rb b/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/endpoints.rb
index a8a3eb180ed..6d6d3a5e492 100644
--- a/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/endpoints.rb
+++ b/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/endpoints.rb
@@ -14,252 +14,198 @@ module Endpoints
class CopyBackupToRegion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHsm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHsm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBackups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InitializeCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyBackupAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudHSMV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/plugins/endpoints.rb b/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/plugins/endpoints.rb
index d6df122f8ed..b157b0a8c5c 100644
--- a/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudhsmv2/lib/aws-sdk-cloudhsmv2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudhsmv2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudhsmv2/spec/endpoint_provider_spec.rb
index d83deeed1e0..813fc3c214c 100644
--- a/gems/aws-sdk-cloudhsmv2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudhsmv2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudHSMV2
describe EndpointProvider do
subject { Aws::CloudHSMV2::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.us-gov-east-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.us-gov-west-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2-fips.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -489,7 +489,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -503,7 +503,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -516,7 +516,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.us-iso-east-1.c2s.ic.gov"}}
end
@@ -530,7 +530,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -543,7 +543,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -557,7 +557,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -570,7 +570,7 @@ module Aws::CloudHSMV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudhsmv2.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -584,7 +584,7 @@ module Aws::CloudHSMV2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::CloudHSMV2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::CloudHSMV2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -625,7 +625,7 @@ module Aws::CloudHSMV2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -638,7 +638,7 @@ module Aws::CloudHSMV2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudsearch/CHANGELOG.md b/gems/aws-sdk-cloudsearch/CHANGELOG.md
index a061a8ee583..698e3079708 100644
--- a/gems/aws-sdk-cloudsearch/CHANGELOG.md
+++ b/gems/aws-sdk-cloudsearch/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.63.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.62.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudsearch/VERSION b/gems/aws-sdk-cloudsearch/VERSION
index 76d05362056..af92bdd9f58 100644
--- a/gems/aws-sdk-cloudsearch/VERSION
+++ b/gems/aws-sdk-cloudsearch/VERSION
@@ -1 +1 @@
-1.62.0
+1.63.0
diff --git a/gems/aws-sdk-cloudsearch/aws-sdk-cloudsearch.gemspec b/gems/aws-sdk-cloudsearch/aws-sdk-cloudsearch.gemspec
index 3bc599eec49..847f67f5e89 100644
--- a/gems/aws-sdk-cloudsearch/aws-sdk-cloudsearch.gemspec
+++ b/gems/aws-sdk-cloudsearch/aws-sdk-cloudsearch.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudsearch/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch.rb b/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch.rb
index 2a70f2e83eb..068f8f118ae 100644
--- a/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch.rb
+++ b/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CloudSearch
- GEM_VERSION = '1.62.0'
+ GEM_VERSION = '1.63.0'
end
diff --git a/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/client.rb b/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/client.rb
index b0690b1eeaa..4260b940f26 100644
--- a/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/client.rb
+++ b/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/client.rb
@@ -1966,7 +1966,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudsearch'
- context[:gem_version] = '1.62.0'
+ context[:gem_version] = '1.63.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/endpoints.rb b/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/endpoints.rb
index 5826787a384..75e0f35a058 100644
--- a/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/endpoints.rb
+++ b/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/endpoints.rb
@@ -14,364 +14,286 @@ module Endpoints
class BuildSuggesters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DefineAnalysisScheme
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DefineExpression
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DefineIndexField
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DefineSuggester
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAnalysisScheme
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExpression
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIndexField
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSuggester
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAnalysisSchemes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAvailabilityOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomainEndpointOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExpressions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIndexFields
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScalingParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServiceAccessPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSuggesters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class IndexDocuments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainNames
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAvailabilityOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainEndpointOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateScalingParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceAccessPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudSearch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/plugins/endpoints.rb b/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/plugins/endpoints.rb
index e6043477078..17c7aa03118 100644
--- a/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudsearch/lib/aws-sdk-cloudsearch/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudsearch/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudsearch/spec/endpoint_provider_spec.rb
index 3e71a3eafd8..cea31b79502 100644
--- a/gems/aws-sdk-cloudsearch/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudsearch/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudSearch
describe EndpointProvider do
subject { Aws::CloudSearch::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudSearch
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudSearch
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudSearch
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudSearch
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.eu-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudSearch
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudSearch
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.sa-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.us-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudSearch
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudSearch
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudSearch
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::CloudSearch
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch-fips.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.us-gov-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -321,7 +321,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -335,7 +335,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -348,7 +348,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.us-iso-east-1.c2s.ic.gov"}}
end
@@ -362,7 +362,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -375,7 +375,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -389,7 +389,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -402,7 +402,7 @@ module Aws::CloudSearch
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudsearch.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -416,7 +416,7 @@ module Aws::CloudSearch
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::CloudSearch
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::CloudSearch
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -457,7 +457,7 @@ module Aws::CloudSearch
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -470,7 +470,7 @@ module Aws::CloudSearch
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudsearchdomain/CHANGELOG.md b/gems/aws-sdk-cloudsearchdomain/CHANGELOG.md
index e921f8fd086..77418208172 100644
--- a/gems/aws-sdk-cloudsearchdomain/CHANGELOG.md
+++ b/gems/aws-sdk-cloudsearchdomain/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.50.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.49.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudsearchdomain/VERSION b/gems/aws-sdk-cloudsearchdomain/VERSION
index 7f3a46a841e..5a5c7211dc6 100644
--- a/gems/aws-sdk-cloudsearchdomain/VERSION
+++ b/gems/aws-sdk-cloudsearchdomain/VERSION
@@ -1 +1 @@
-1.49.0
+1.50.0
diff --git a/gems/aws-sdk-cloudsearchdomain/aws-sdk-cloudsearchdomain.gemspec b/gems/aws-sdk-cloudsearchdomain/aws-sdk-cloudsearchdomain.gemspec
index 058bb48ab4f..a0802040533 100644
--- a/gems/aws-sdk-cloudsearchdomain/aws-sdk-cloudsearchdomain.gemspec
+++ b/gems/aws-sdk-cloudsearchdomain/aws-sdk-cloudsearchdomain.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudsearchdomain/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain.rb b/gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain.rb
index 8534f76f0ed..9e8cef5f331 100644
--- a/gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain.rb
+++ b/gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain.rb
@@ -48,6 +48,6 @@
# @!group service
module Aws::CloudSearchDomain
- GEM_VERSION = '1.49.0'
+ GEM_VERSION = '1.50.0'
end
diff --git a/gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/client.rb b/gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/client.rb
index cd3305cd06d..9a9c0ca6bfd 100644
--- a/gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/client.rb
+++ b/gems/aws-sdk-cloudsearchdomain/lib/aws-sdk-cloudsearchdomain/client.rb
@@ -988,7 +988,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudsearchdomain'
- context[:gem_version] = '1.49.0'
+ context[:gem_version] = '1.50.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudtrail/CHANGELOG.md b/gems/aws-sdk-cloudtrail/CHANGELOG.md
index 032e85b8bd6..e828b13ead7 100644
--- a/gems/aws-sdk-cloudtrail/CHANGELOG.md
+++ b/gems/aws-sdk-cloudtrail/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.88.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.87.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudtrail/VERSION b/gems/aws-sdk-cloudtrail/VERSION
index f6342716723..59be592144c 100644
--- a/gems/aws-sdk-cloudtrail/VERSION
+++ b/gems/aws-sdk-cloudtrail/VERSION
@@ -1 +1 @@
-1.87.0
+1.88.0
diff --git a/gems/aws-sdk-cloudtrail/aws-sdk-cloudtrail.gemspec b/gems/aws-sdk-cloudtrail/aws-sdk-cloudtrail.gemspec
index b7035dbfd0e..695eff12b26 100644
--- a/gems/aws-sdk-cloudtrail/aws-sdk-cloudtrail.gemspec
+++ b/gems/aws-sdk-cloudtrail/aws-sdk-cloudtrail.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudtrail/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail.rb b/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail.rb
index 79d7a6b9439..2003359c698 100644
--- a/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail.rb
+++ b/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CloudTrail
- GEM_VERSION = '1.87.0'
+ GEM_VERSION = '1.88.0'
end
diff --git a/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/client.rb b/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/client.rb
index b63fa553526..f80ece2c5d2 100644
--- a/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/client.rb
+++ b/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/client.rb
@@ -3914,7 +3914,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudtrail'
- context[:gem_version] = '1.87.0'
+ context[:gem_version] = '1.88.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/endpoints.rb b/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/endpoints.rb
index 4d13a2eae78..7bfbde44630 100644
--- a/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/endpoints.rb
+++ b/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/endpoints.rb
@@ -14,686 +14,539 @@ module Endpoints
class AddTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventDataStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventDataStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterOrganizationDelegatedAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableFederation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableFederation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventDataStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventSelectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInsightSelectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueryResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrailStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventDataStores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImportFailures
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInsightsMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPublicKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class LookupEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEventSelectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutInsightSelectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterOrganizationDelegatedAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreEventDataStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartEventDataStoreIngestion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartLogging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopEventDataStoreIngestion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopLogging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventDataStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/plugins/endpoints.rb b/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/plugins/endpoints.rb
index 3fe712c92c7..dca2ea37b59 100644
--- a/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudtrail/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudtrail/spec/endpoint_provider_spec.rb
index 756389901b5..1578284ace8 100644
--- a/gems/aws-sdk-cloudtrail/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudtrail/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudTrail
describe EndpointProvider do
subject { Aws::CloudTrail::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudTrail
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudTrail
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudTrail
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudTrail
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudTrail
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudTrail
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudTrail
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudTrail
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudTrail
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudTrail
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudTrail
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudTrail
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudTrail
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudTrail
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudTrail
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CloudTrail
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CloudTrail
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::CloudTrail
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::CloudTrail
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::CloudTrail
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::CloudTrail
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::CloudTrail
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::CloudTrail
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::CloudTrail
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::CloudTrail
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::CloudTrail
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::CloudTrail
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::CloudTrail
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudtraildata/CHANGELOG.md b/gems/aws-sdk-cloudtraildata/CHANGELOG.md
index c611f8a68c1..9a90dd1c546 100644
--- a/gems/aws-sdk-cloudtraildata/CHANGELOG.md
+++ b/gems/aws-sdk-cloudtraildata/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.19.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.18.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudtraildata/VERSION b/gems/aws-sdk-cloudtraildata/VERSION
index 84cc529467b..815d5ca06d5 100644
--- a/gems/aws-sdk-cloudtraildata/VERSION
+++ b/gems/aws-sdk-cloudtraildata/VERSION
@@ -1 +1 @@
-1.18.0
+1.19.0
diff --git a/gems/aws-sdk-cloudtraildata/aws-sdk-cloudtraildata.gemspec b/gems/aws-sdk-cloudtraildata/aws-sdk-cloudtraildata.gemspec
index 86c8eb49bd4..a1a9bb434c1 100644
--- a/gems/aws-sdk-cloudtraildata/aws-sdk-cloudtraildata.gemspec
+++ b/gems/aws-sdk-cloudtraildata/aws-sdk-cloudtraildata.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudtraildata/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata.rb b/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata.rb
index a469bf822b3..b662aaa6e53 100644
--- a/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata.rb
+++ b/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CloudTrailData
- GEM_VERSION = '1.18.0'
+ GEM_VERSION = '1.19.0'
end
diff --git a/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/client.rb b/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/client.rb
index 315d885226e..02eb01dddd1 100644
--- a/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/client.rb
+++ b/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/client.rb
@@ -517,7 +517,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudtraildata'
- context[:gem_version] = '1.18.0'
+ context[:gem_version] = '1.19.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/endpoints.rb b/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/endpoints.rb
index e50ee62b849..7341b487429 100644
--- a/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/endpoints.rb
+++ b/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class PutAuditEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudTrailData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/plugins/endpoints.rb b/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/plugins/endpoints.rb
index 185f4f5ea01..668c3b3ead0 100644
--- a/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudtraildata/lib/aws-sdk-cloudtraildata/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudtraildata/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudtraildata/spec/endpoint_provider_spec.rb
index d392b359c04..08c83ac9acd 100644
--- a/gems/aws-sdk-cloudtraildata/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudtraildata/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudTrailData
describe EndpointProvider do
subject { Aws::CloudTrailData::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudTrailData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudTrailData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudTrailData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudTrailData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::CloudTrailData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cloudtrail-data.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::CloudTrailData
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::CloudTrailData
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::CloudTrailData
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::CloudTrailData
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::CloudTrailData
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudwatch/CHANGELOG.md b/gems/aws-sdk-cloudwatch/CHANGELOG.md
index f951e9e9343..1a734d79bfc 100644
--- a/gems/aws-sdk-cloudwatch/CHANGELOG.md
+++ b/gems/aws-sdk-cloudwatch/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.100.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.99.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudwatch/VERSION b/gems/aws-sdk-cloudwatch/VERSION
index 9eb2e1ff9c2..7a9fecd3f0e 100644
--- a/gems/aws-sdk-cloudwatch/VERSION
+++ b/gems/aws-sdk-cloudwatch/VERSION
@@ -1 +1 @@
-1.99.0
+1.100.0
diff --git a/gems/aws-sdk-cloudwatch/aws-sdk-cloudwatch.gemspec b/gems/aws-sdk-cloudwatch/aws-sdk-cloudwatch.gemspec
index 61b6a82470b..c13fcdd0245 100644
--- a/gems/aws-sdk-cloudwatch/aws-sdk-cloudwatch.gemspec
+++ b/gems/aws-sdk-cloudwatch/aws-sdk-cloudwatch.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudwatch/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch.rb b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch.rb
index 24c742c5a76..2e11f9f4740 100644
--- a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch.rb
+++ b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch.rb
@@ -56,6 +56,6 @@
# @!group service
module Aws::CloudWatch
- GEM_VERSION = '1.99.0'
+ GEM_VERSION = '1.100.0'
end
diff --git a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/client.rb b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/client.rb
index f0250aab0a3..16ae64f4c7e 100644
--- a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/client.rb
+++ b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/client.rb
@@ -4174,7 +4174,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudwatch'
- context[:gem_version] = '1.99.0'
+ context[:gem_version] = '1.100.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/endpoints.rb b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/endpoints.rb
index 715a1a47f32..e4b2b0149db 100644
--- a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/endpoints.rb
+++ b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/endpoints.rb
@@ -14,532 +14,418 @@ module Endpoints
class DeleteAlarms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDashboards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInsightRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMetricStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAlarmHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAlarms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAlarmsForMetric
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAnomalyDetectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInsightRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableAlarmActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableInsightRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableAlarmActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableInsightRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDashboard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInsightRuleReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetricStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetricStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetricWidgetImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDashboards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListManagedInsightRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMetricStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutCompositeAlarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDashboard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutInsightRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutManagedInsightRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMetricAlarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMetricStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetAlarmState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMetricStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopMetricStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatch::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/plugins/endpoints.rb b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/plugins/endpoints.rb
index 43f091ac5ee..b2e1a634d37 100644
--- a/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudwatch/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudwatch/spec/endpoint_provider_spec.rb
index b8e310adc11..629a6e78e6c 100644
--- a/gems/aws-sdk-cloudwatch/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudwatch/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudWatch
describe EndpointProvider do
subject { Aws::CloudWatch::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudWatch
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudWatch
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudWatch
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudWatch
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudWatch
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudWatch
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudWatch
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudWatch
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudWatch
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudWatch
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudWatch
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudWatch
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudWatch
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudWatch
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudWatch
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CloudWatch
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CloudWatch
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::CloudWatch
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::CloudWatch
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::CloudWatch
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::CloudWatch
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::CloudWatch
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://monitoring-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::CloudWatch
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::CloudWatch
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::CloudWatch
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::CloudWatch
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::CloudWatch
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::CloudWatch
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudwatchevents/CHANGELOG.md b/gems/aws-sdk-cloudwatchevents/CHANGELOG.md
index 0191c9209c6..81241633c9e 100644
--- a/gems/aws-sdk-cloudwatchevents/CHANGELOG.md
+++ b/gems/aws-sdk-cloudwatchevents/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.80.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.79.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudwatchevents/VERSION b/gems/aws-sdk-cloudwatchevents/VERSION
index b3a8c61e6a8..aaceec04e04 100644
--- a/gems/aws-sdk-cloudwatchevents/VERSION
+++ b/gems/aws-sdk-cloudwatchevents/VERSION
@@ -1 +1 @@
-1.79.0
+1.80.0
diff --git a/gems/aws-sdk-cloudwatchevents/aws-sdk-cloudwatchevents.gemspec b/gems/aws-sdk-cloudwatchevents/aws-sdk-cloudwatchevents.gemspec
index e0032a4937d..e8fb94f9253 100644
--- a/gems/aws-sdk-cloudwatchevents/aws-sdk-cloudwatchevents.gemspec
+++ b/gems/aws-sdk-cloudwatchevents/aws-sdk-cloudwatchevents.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudwatchevents/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents.rb b/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents.rb
index 7b3de2d023d..c6d5d481432 100644
--- a/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents.rb
+++ b/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CloudWatchEvents
- GEM_VERSION = '1.79.0'
+ GEM_VERSION = '1.80.0'
end
diff --git a/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/client.rb b/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/client.rb
index 9ef7e219393..4ae98a31796 100644
--- a/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/client.rb
+++ b/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/client.rb
@@ -3431,7 +3431,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudwatchevents'
- context[:gem_version] = '1.79.0'
+ context[:gem_version] = '1.80.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/endpoints.rb b/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/endpoints.rb
index e63638ee34e..488a1afc420 100644
--- a/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/endpoints.rb
+++ b/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/endpoints.rb
@@ -14,714 +14,561 @@ module Endpoints
class ActivateEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelReplay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApiDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventBus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePartnerEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeactivateEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeauthorizeConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApiDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventBus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePartnerEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApiDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventBus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePartnerEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApiDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListArchives
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventBuses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPartnerEventSourceAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPartnerEventSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReplays
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuleNamesByTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTargetsByRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPartnerEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemovePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReplay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestEventPattern
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApiDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/plugins/endpoints.rb b/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/plugins/endpoints.rb
index 8a6c57c1443..d3fc2f27809 100644
--- a/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudwatchevents/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudwatchevents/spec/endpoint_provider_spec.rb
index 371aa5fd1e1..1eb15bd6a18 100644
--- a/gems/aws-sdk-cloudwatchevents/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudwatchevents/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudWatchEvents
describe EndpointProvider do
subject { Aws::CloudWatchEvents::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::CloudWatchEvents
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::CloudWatchEvents
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudwatchevidently/CHANGELOG.md b/gems/aws-sdk-cloudwatchevidently/CHANGELOG.md
index f7cd77602a6..00940dbe067 100644
--- a/gems/aws-sdk-cloudwatchevidently/CHANGELOG.md
+++ b/gems/aws-sdk-cloudwatchevidently/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.31.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.30.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudwatchevidently/VERSION b/gems/aws-sdk-cloudwatchevidently/VERSION
index 034552a83ee..34aae156b19 100644
--- a/gems/aws-sdk-cloudwatchevidently/VERSION
+++ b/gems/aws-sdk-cloudwatchevidently/VERSION
@@ -1 +1 @@
-1.30.0
+1.31.0
diff --git a/gems/aws-sdk-cloudwatchevidently/aws-sdk-cloudwatchevidently.gemspec b/gems/aws-sdk-cloudwatchevidently/aws-sdk-cloudwatchevidently.gemspec
index 212718fa86e..0a8dab74002 100644
--- a/gems/aws-sdk-cloudwatchevidently/aws-sdk-cloudwatchevidently.gemspec
+++ b/gems/aws-sdk-cloudwatchevidently/aws-sdk-cloudwatchevidently.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudwatchevidently/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently.rb b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently.rb
index 1069c32051b..86c1cbfdbca 100644
--- a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently.rb
+++ b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CloudWatchEvidently
- GEM_VERSION = '1.30.0'
+ GEM_VERSION = '1.31.0'
end
diff --git a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client.rb b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client.rb
index 0c6921fe2ed..882dcd5cac2 100644
--- a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client.rb
+++ b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/client.rb
@@ -3199,7 +3199,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudwatchevidently'
- context[:gem_version] = '1.30.0'
+ context[:gem_version] = '1.31.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/endpoints.rb b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/endpoints.rb
index 88b5284f838..62ec3c2cdf3 100644
--- a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/endpoints.rb
+++ b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/endpoints.rb
@@ -14,532 +14,418 @@ module Endpoints
class BatchEvaluateFeature
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFeature
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLaunch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSegment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFeature
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLaunch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSegment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EvaluateFeature
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExperimentResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFeature
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLaunch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSegment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExperiments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFeatures
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLaunches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSegmentReferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSegments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutProjectEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartLaunch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopLaunch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestSegmentPattern
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFeature
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLaunch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProjectDataDelivery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchEvidently::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/plugins/endpoints.rb b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/plugins/endpoints.rb
index 8f933a9cea3..5363d4d159f 100644
--- a/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudwatchevidently/lib/aws-sdk-cloudwatchevidently/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudwatchevidently/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudwatchevidently/spec/endpoint_provider_spec.rb
index 9efc7ec5bcd..1287b1a6687 100644
--- a/gems/aws-sdk-cloudwatchevidently/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudwatchevidently/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudWatchEvidently
describe EndpointProvider do
subject { Aws::CloudWatchEvidently::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.eu-north-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.us-east-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.us-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently-fips.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently-fips.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently-fips.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -307,7 +307,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -321,7 +321,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -334,7 +334,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.us-iso-east-1.c2s.ic.gov"}}
end
@@ -348,7 +348,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -361,7 +361,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -375,7 +375,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -388,7 +388,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://evidently.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -402,7 +402,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -416,7 +416,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -443,7 +443,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -456,7 +456,7 @@ module Aws::CloudWatchEvidently
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md b/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md
index cb26f7b3e2d..a96c498e874 100644
--- a/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md
+++ b/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.93.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.92.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudwatchlogs/VERSION b/gems/aws-sdk-cloudwatchlogs/VERSION
index 7f229af9647..95784efddbc 100644
--- a/gems/aws-sdk-cloudwatchlogs/VERSION
+++ b/gems/aws-sdk-cloudwatchlogs/VERSION
@@ -1 +1 @@
-1.92.0
+1.93.0
diff --git a/gems/aws-sdk-cloudwatchlogs/aws-sdk-cloudwatchlogs.gemspec b/gems/aws-sdk-cloudwatchlogs/aws-sdk-cloudwatchlogs.gemspec
index ec600f3492a..b2c3717dbd3 100644
--- a/gems/aws-sdk-cloudwatchlogs/aws-sdk-cloudwatchlogs.gemspec
+++ b/gems/aws-sdk-cloudwatchlogs/aws-sdk-cloudwatchlogs.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudwatchlogs/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs.rb b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs.rb
index 43f4d195104..e1114d2ad52 100644
--- a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs.rb
+++ b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::CloudWatchLogs
- GEM_VERSION = '1.92.0'
+ GEM_VERSION = '1.93.0'
end
diff --git a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/client.rb b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/client.rb
index 6d639c9ba97..ceb919ebc6a 100644
--- a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/client.rb
+++ b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/client.rb
@@ -5607,7 +5607,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudwatchlogs'
- context[:gem_version] = '1.92.0'
+ context[:gem_version] = '1.93.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/endpoints.rb b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/endpoints.rb
index e32dcbf1e7c..f62c0e64ee0 100644
--- a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/endpoints.rb
+++ b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/endpoints.rb
@@ -14,1064 +14,836 @@ module Endpoints
class AssociateKmsKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelExportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDelivery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLogAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLogGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLogStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccountPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataProtectionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDelivery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeliveryDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeliveryDestinationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeliverySource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLogAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLogGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLogStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMetricFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueryDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRetentionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubscriptionFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurationTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDeliveries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDeliveryDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDeliverySources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExportTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLogGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLogStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMetricFilters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeQueries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeQueryDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourcePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSubscriptionFilters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateKmsKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FilterLogEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataProtectionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDelivery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeliveryDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeliveryDestinationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeliverySource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLogAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLogEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLogGroupFields
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLogRecord
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueryResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnomalies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLogAnomalyDetectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsLogGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDataProtectionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDeliveryDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDeliveryDestinationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDeliverySource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDestinationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLogEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMetricFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutQueryDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRetentionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSubscriptionFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartLiveTail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagLogGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestMetricFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagLogGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAnomaly
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeliveryConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLogAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchLogs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/plugins/endpoints.rb b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/plugins/endpoints.rb
index b6455e27ead..c669077ae72 100644
--- a/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudwatchlogs/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudwatchlogs/spec/endpoint_provider_spec.rb
index b015858b9d0..529d9cbd347 100644
--- a/gems/aws-sdk-cloudwatchlogs/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudwatchlogs/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudWatchLogs
describe EndpointProvider do
subject { Aws::CloudWatchLogs::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://logs-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::CloudWatchLogs
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::CloudWatchLogs
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cloudwatchrum/CHANGELOG.md b/gems/aws-sdk-cloudwatchrum/CHANGELOG.md
index 9d61b1e163c..85b7bb5954f 100644
--- a/gems/aws-sdk-cloudwatchrum/CHANGELOG.md
+++ b/gems/aws-sdk-cloudwatchrum/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.29.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.28.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cloudwatchrum/VERSION b/gems/aws-sdk-cloudwatchrum/VERSION
index cfc730712d5..5e57fb89558 100644
--- a/gems/aws-sdk-cloudwatchrum/VERSION
+++ b/gems/aws-sdk-cloudwatchrum/VERSION
@@ -1 +1 @@
-1.28.0
+1.29.0
diff --git a/gems/aws-sdk-cloudwatchrum/aws-sdk-cloudwatchrum.gemspec b/gems/aws-sdk-cloudwatchrum/aws-sdk-cloudwatchrum.gemspec
index e3a69592cdc..2cf5b9c44ba 100644
--- a/gems/aws-sdk-cloudwatchrum/aws-sdk-cloudwatchrum.gemspec
+++ b/gems/aws-sdk-cloudwatchrum/aws-sdk-cloudwatchrum.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cloudwatchrum/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum.rb b/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum.rb
index 01c6396caac..151a6418698 100644
--- a/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum.rb
+++ b/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CloudWatchRUM
- GEM_VERSION = '1.28.0'
+ GEM_VERSION = '1.29.0'
end
diff --git a/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/client.rb b/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/client.rb
index ed1de6aff13..b4d2bde0f21 100644
--- a/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/client.rb
+++ b/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/client.rb
@@ -1524,7 +1524,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cloudwatchrum'
- context[:gem_version] = '1.28.0'
+ context[:gem_version] = '1.29.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/endpoints.rb b/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/endpoints.rb
index 48ecc38b9fc..05c3c2b5196 100644
--- a/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/endpoints.rb
+++ b/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/endpoints.rb
@@ -14,238 +14,187 @@ module Endpoints
class BatchCreateRumMetricDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteRumMetricDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetRumMetricDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRumMetricsDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppMonitorData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppMonitors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRumMetricsDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRumEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRumMetricsDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRumMetricDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CloudWatchRUM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/plugins/endpoints.rb b/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/plugins/endpoints.rb
index 6ea095916f4..17b37bc336a 100644
--- a/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/plugins/endpoints.rb
+++ b/gems/aws-sdk-cloudwatchrum/lib/aws-sdk-cloudwatchrum/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cloudwatchrum/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cloudwatchrum/spec/endpoint_provider_spec.rb
index 7155f9d629f..051f7fc7511 100644
--- a/gems/aws-sdk-cloudwatchrum/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cloudwatchrum/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CloudWatchRUM
describe EndpointProvider do
subject { Aws::CloudWatchRUM::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.eu-north-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.eu-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.us-east-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum-fips.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.us-gov-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -321,7 +321,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -335,7 +335,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -348,7 +348,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.us-iso-east-1.c2s.ic.gov"}}
end
@@ -362,7 +362,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -375,7 +375,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -389,7 +389,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -402,7 +402,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rum.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -416,7 +416,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -457,7 +457,7 @@ module Aws::CloudWatchRUM
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -470,7 +470,7 @@ module Aws::CloudWatchRUM
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-codeartifact/CHANGELOG.md b/gems/aws-sdk-codeartifact/CHANGELOG.md
index 3142f44df44..147a77d93ef 100644
--- a/gems/aws-sdk-codeartifact/CHANGELOG.md
+++ b/gems/aws-sdk-codeartifact/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.50.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.49.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codeartifact/VERSION b/gems/aws-sdk-codeartifact/VERSION
index 7f3a46a841e..5a5c7211dc6 100644
--- a/gems/aws-sdk-codeartifact/VERSION
+++ b/gems/aws-sdk-codeartifact/VERSION
@@ -1 +1 @@
-1.49.0
+1.50.0
diff --git a/gems/aws-sdk-codeartifact/aws-sdk-codeartifact.gemspec b/gems/aws-sdk-codeartifact/aws-sdk-codeartifact.gemspec
index 4b959e40a31..da2485daffb 100644
--- a/gems/aws-sdk-codeartifact/aws-sdk-codeartifact.gemspec
+++ b/gems/aws-sdk-codeartifact/aws-sdk-codeartifact.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codeartifact/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact.rb b/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact.rb
index 0395ac545bd..b8790fce4f8 100644
--- a/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact.rb
+++ b/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CodeArtifact
- GEM_VERSION = '1.49.0'
+ GEM_VERSION = '1.50.0'
end
diff --git a/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/client.rb b/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/client.rb
index e65bb3d6712..8052457724f 100644
--- a/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/client.rb
+++ b/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/client.rb
@@ -4013,7 +4013,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codeartifact'
- context[:gem_version] = '1.49.0'
+ context[:gem_version] = '1.50.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/endpoints.rb b/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/endpoints.rb
index 3af995cc9a3..de3eefe2858 100644
--- a/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/endpoints.rb
+++ b/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/endpoints.rb
@@ -14,672 +14,528 @@ module Endpoints
class AssociateExternalConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyPackageVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePackageGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomainPermissionsPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePackageGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePackageVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRepositoryPermissionsPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePackageGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePackageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateExternalConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisposePackageVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssociatedPackageGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAuthorizationToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainPermissionsPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPackageVersionAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPackageVersionReadme
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepositoryEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepositoryPermissionsPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAllowedRepositoriesForGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociatedPackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackageGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackageVersionAssets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackageVersionDependencies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackageVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRepositories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRepositoriesInDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubPackageGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PublishPackageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDomainPermissionsPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPackageOriginConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRepositoryPermissionsPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePackageGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePackageGroupOriginConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePackageVersionsStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeArtifact::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/plugins/endpoints.rb b/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/plugins/endpoints.rb
index da8773dd627..d9a3acb367a 100644
--- a/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/plugins/endpoints.rb
+++ b/gems/aws-sdk-codeartifact/lib/aws-sdk-codeartifact/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codeartifact/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codeartifact/spec/endpoint_provider_spec.rb
index 942e8f4d0e7..225262282ed 100644
--- a/gems/aws-sdk-codeartifact/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codeartifact/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodeArtifact
describe EndpointProvider do
subject { Aws::CodeArtifact::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CodeArtifact
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.ap-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CodeArtifact
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CodeArtifact
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CodeArtifact
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.eu-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CodeArtifact
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.eu-north-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CodeArtifact
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.eu-south-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CodeArtifact
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CodeArtifact
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CodeArtifact
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.eu-west-3.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.us-east-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.us-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact-fips.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact-fips.us-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::CodeArtifact
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::CodeArtifact
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::CodeArtifact
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::CodeArtifact
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact-fips.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.us-gov-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.us-gov-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -363,7 +363,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -377,7 +377,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -390,7 +390,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.us-iso-east-1.c2s.ic.gov"}}
end
@@ -404,7 +404,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -417,7 +417,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -431,7 +431,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -444,7 +444,7 @@ module Aws::CodeArtifact
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeartifact.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -458,7 +458,7 @@ module Aws::CodeArtifact
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -472,7 +472,7 @@ module Aws::CodeArtifact
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -486,7 +486,7 @@ module Aws::CodeArtifact
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -499,7 +499,7 @@ module Aws::CodeArtifact
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -512,7 +512,7 @@ module Aws::CodeArtifact
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-codebuild/CHANGELOG.md b/gems/aws-sdk-codebuild/CHANGELOG.md
index 083fab81393..ecee30ce966 100644
--- a/gems/aws-sdk-codebuild/CHANGELOG.md
+++ b/gems/aws-sdk-codebuild/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.129.0 (2024-09-17)
+------------------
+
+* Feature - GitLab Enhancements - Add support for Self-Hosted GitLab runners in CodeBuild. Add group webhooks
+
+1.128.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.127.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codebuild/VERSION b/gems/aws-sdk-codebuild/VERSION
index a7fd4875b44..365ef018e15 100644
--- a/gems/aws-sdk-codebuild/VERSION
+++ b/gems/aws-sdk-codebuild/VERSION
@@ -1 +1 @@
-1.127.0
+1.129.0
diff --git a/gems/aws-sdk-codebuild/aws-sdk-codebuild.gemspec b/gems/aws-sdk-codebuild/aws-sdk-codebuild.gemspec
index 7b43e4c3e45..719eea5d69d 100644
--- a/gems/aws-sdk-codebuild/aws-sdk-codebuild.gemspec
+++ b/gems/aws-sdk-codebuild/aws-sdk-codebuild.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codebuild/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild.rb b/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild.rb
index 2774ba53412..5882db661e0 100644
--- a/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild.rb
+++ b/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CodeBuild
- GEM_VERSION = '1.127.0'
+ GEM_VERSION = '1.129.0'
end
diff --git a/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/client.rb b/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/client.rb
index e709353dd14..af3ebfe8636 100644
--- a/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/client.rb
+++ b/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/client.rb
@@ -974,7 +974,7 @@ def batch_get_fleets(params = {}, options = {})
# resp.projects[0].webhook.last_modified_secret #=> Time
# resp.projects[0].webhook.scope_configuration.name #=> String
# resp.projects[0].webhook.scope_configuration.domain #=> String
- # resp.projects[0].webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
+ # resp.projects[0].webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL", "GITLAB_GROUP"
# resp.projects[0].vpc_config.vpc_id #=> String
# resp.projects[0].vpc_config.subnets #=> Array
# resp.projects[0].vpc_config.subnets[0] #=> String
@@ -1741,7 +1741,7 @@ def create_fleet(params = {}, options = {})
# resp.project.webhook.last_modified_secret #=> Time
# resp.project.webhook.scope_configuration.name #=> String
# resp.project.webhook.scope_configuration.domain #=> String
- # resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
+ # resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL", "GITLAB_GROUP"
# resp.project.vpc_config.vpc_id #=> String
# resp.project.vpc_config.subnets #=> Array
# resp.project.vpc_config.subnets[0] #=> String
@@ -1943,7 +1943,7 @@ def create_report_group(params = {}, options = {})
# scope_configuration: {
# name: "String", # required
# domain: "String",
- # scope: "GITHUB_ORGANIZATION", # required, accepts GITHUB_ORGANIZATION, GITHUB_GLOBAL
+ # scope: "GITHUB_ORGANIZATION", # required, accepts GITHUB_ORGANIZATION, GITHUB_GLOBAL, GITLAB_GROUP
# },
# })
#
@@ -1963,7 +1963,7 @@ def create_report_group(params = {}, options = {})
# resp.webhook.last_modified_secret #=> Time
# resp.webhook.scope_configuration.name #=> String
# resp.webhook.scope_configuration.domain #=> String
- # resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
+ # resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL", "GITLAB_GROUP"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/CreateWebhook AWS API Documentation
#
@@ -5565,7 +5565,7 @@ def update_fleet(params = {}, options = {})
# resp.project.webhook.last_modified_secret #=> Time
# resp.project.webhook.scope_configuration.name #=> String
# resp.project.webhook.scope_configuration.domain #=> String
- # resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
+ # resp.project.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL", "GITLAB_GROUP"
# resp.project.vpc_config.vpc_id #=> String
# resp.project.vpc_config.subnets #=> Array
# resp.project.vpc_config.subnets[0] #=> String
@@ -5837,7 +5837,7 @@ def update_report_group(params = {}, options = {})
# resp.webhook.last_modified_secret #=> Time
# resp.webhook.scope_configuration.name #=> String
# resp.webhook.scope_configuration.domain #=> String
- # resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL"
+ # resp.webhook.scope_configuration.scope #=> String, one of "GITHUB_ORGANIZATION", "GITHUB_GLOBAL", "GITLAB_GROUP"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/UpdateWebhook AWS API Documentation
#
@@ -5866,7 +5866,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codebuild'
- context[:gem_version] = '1.127.0'
+ context[:gem_version] = '1.129.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/endpoints.rb b/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/endpoints.rb
index 0381f0fd8bc..f3249646c49 100644
--- a/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/endpoints.rb
+++ b/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/endpoints.rb
@@ -14,700 +14,550 @@ module Endpoints
class BatchDeleteBuilds
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetBuildBatches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetBuilds
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetReportGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReportGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWebhook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBuildBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReportGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSourceCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWebhook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCodeCoverages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTestCases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReportGroupTrend
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportSourceCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InvalidateProjectCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBuildBatches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBuildBatchesForProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBuilds
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBuildsForProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCuratedEnvironmentImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReportGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReportsForReportGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSharedProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSharedReportGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSourceCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetryBuild
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetryBuildBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBuild
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBuildBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopBuild
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopBuildBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProjectVisibility
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReportGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWebhook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeBuild::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/plugins/endpoints.rb b/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/plugins/endpoints.rb
index 49930116acd..492808e73a5 100644
--- a/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/plugins/endpoints.rb
+++ b/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb b/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb
index 9d1007546e3..3f1efbaafd6 100644
--- a/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb
+++ b/gems/aws-sdk-codebuild/lib/aws-sdk-codebuild/types.rb
@@ -5486,19 +5486,19 @@ class ScalingConfigurationOutput < Struct.new(
# Contains configuration information about the scope for a webhook.
#
# @!attribute [rw] name
- # The name of either the enterprise or organization that will send
- # webhook events to CodeBuild, depending on if the webhook is a global
- # or organization webhook respectively.
+ # The name of either the group, enterprise, or organization that will
+ # send webhook events to CodeBuild, depending on the type of webhook.
# @return [String]
#
# @!attribute [rw] domain
- # The domain of the GitHub Enterprise organization. Note that this
- # parameter is only required if your project's source type is
- # GITHUB\_ENTERPRISE
+ # The domain of the GitHub Enterprise organization or the GitLab Self
+ # Managed group. Note that this parameter is only required if your
+ # project's source type is GITHUB\_ENTERPRISE or
+ # GITLAB\_SELF\_MANAGED.
# @return [String]
#
# @!attribute [rw] scope
- # The type of scope for a GitHub webhook.
+ # The type of scope for a GitHub or GitLab webhook.
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/codebuild-2016-10-06/ScopeConfiguration AWS API Documentation
diff --git a/gems/aws-sdk-codebuild/sig/client.rbs b/gems/aws-sdk-codebuild/sig/client.rbs
index 92115c46250..ab63dcb02c2 100644
--- a/gems/aws-sdk-codebuild/sig/client.rbs
+++ b/gems/aws-sdk-codebuild/sig/client.rbs
@@ -401,7 +401,7 @@ module Aws
?scope_configuration: {
name: ::String,
domain: ::String?,
- scope: ("GITHUB_ORGANIZATION" | "GITHUB_GLOBAL")
+ scope: ("GITHUB_ORGANIZATION" | "GITHUB_GLOBAL" | "GITLAB_GROUP")
}
) -> _CreateWebhookResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateWebhookResponseSuccess
diff --git a/gems/aws-sdk-codebuild/sig/types.rbs b/gems/aws-sdk-codebuild/sig/types.rbs
index 59eea03a451..acde93bf268 100644
--- a/gems/aws-sdk-codebuild/sig/types.rbs
+++ b/gems/aws-sdk-codebuild/sig/types.rbs
@@ -1014,7 +1014,7 @@ module Aws::CodeBuild
class ScopeConfiguration
attr_accessor name: ::String
attr_accessor domain: ::String
- attr_accessor scope: ("GITHUB_ORGANIZATION" | "GITHUB_GLOBAL")
+ attr_accessor scope: ("GITHUB_ORGANIZATION" | "GITHUB_GLOBAL" | "GITLAB_GROUP")
SENSITIVE: []
end
diff --git a/gems/aws-sdk-codebuild/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codebuild/spec/endpoint_provider_spec.rb
index 8620a8ab372..d73025f23b7 100644
--- a/gems/aws-sdk-codebuild/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codebuild/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodeBuild
describe EndpointProvider do
subject { Aws::CodeBuild::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CodeBuild
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CodeBuild
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CodeBuild
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CodeBuild
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CodeBuild
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CodeBuild
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CodeBuild
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CodeBuild
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CodeBuild
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CodeBuild
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CodeBuild
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CodeBuild
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CodeBuild
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CodeBuild
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CodeBuild
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CodeBuild
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CodeBuild
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::CodeBuild
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::CodeBuild
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::CodeBuild
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::CodeBuild
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::CodeBuild
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::CodeBuild
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codebuild.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::CodeBuild
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::CodeBuild
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::CodeBuild
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::CodeBuild
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::CodeBuild
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-codecatalyst/CHANGELOG.md b/gems/aws-sdk-codecatalyst/CHANGELOG.md
index 5fbfaaaaef4..465efa2e701 100644
--- a/gems/aws-sdk-codecatalyst/CHANGELOG.md
+++ b/gems/aws-sdk-codecatalyst/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.26.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.25.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codecatalyst/VERSION b/gems/aws-sdk-codecatalyst/VERSION
index ad2191947f7..5ff8c4f5d2a 100644
--- a/gems/aws-sdk-codecatalyst/VERSION
+++ b/gems/aws-sdk-codecatalyst/VERSION
@@ -1 +1 @@
-1.25.0
+1.26.0
diff --git a/gems/aws-sdk-codecatalyst/aws-sdk-codecatalyst.gemspec b/gems/aws-sdk-codecatalyst/aws-sdk-codecatalyst.gemspec
index a04068daa3f..770ef79b1c5 100644
--- a/gems/aws-sdk-codecatalyst/aws-sdk-codecatalyst.gemspec
+++ b/gems/aws-sdk-codecatalyst/aws-sdk-codecatalyst.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codecatalyst/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.required_ruby_version = '>= 2.5'
end
diff --git a/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst.rb b/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst.rb
index ffc5bab924a..e6e89dd8e12 100644
--- a/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst.rb
+++ b/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CodeCatalyst
- GEM_VERSION = '1.25.0'
+ GEM_VERSION = '1.26.0'
end
diff --git a/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/client.rb b/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/client.rb
index 2a2711f44ef..b77a3b09c37 100644
--- a/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/client.rb
+++ b/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/client.rb
@@ -2457,7 +2457,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codecatalyst'
- context[:gem_version] = '1.25.0'
+ context[:gem_version] = '1.26.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/endpoints.rb b/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/endpoints.rb
index 6481afcbb33..fe3e1c4fdef 100644
--- a/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/endpoints.rb
+++ b/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/endpoints.rb
@@ -14,494 +14,380 @@ module Endpoints
class CreateAccessToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDevEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSourceRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSourceRepositoryBranch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccessToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDevEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSourceRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSpace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSourceRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSourceRepositoryCloneUrls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSpace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflowRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessTokens
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevEnvironmentSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventLogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSourceRepositories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSourceRepositoryBranches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSpaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflowRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDevEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDevEnvironmentSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartWorkflowRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDevEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDevEnvironmentSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDevEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSpace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifySession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCatalyst::EndpointParameters.new(
use_fips: context.config.use_fips_endpoint,
region: context.config.region,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/plugins/endpoints.rb b/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/plugins/endpoints.rb
index 06132734768..57191b26e1d 100644
--- a/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/plugins/endpoints.rb
+++ b/gems/aws-sdk-codecatalyst/lib/aws-sdk-codecatalyst/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codecatalyst/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codecatalyst/spec/endpoint_provider_spec.rb
index aadd48abd78..425d9fd8371 100644
--- a/gems/aws-sdk-codecatalyst/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codecatalyst/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodeCatalyst
describe EndpointProvider do
subject { Aws::CodeCatalyst::EndpointProvider.new }
- context 'Override endpoint' do
+ context "Override endpoint" do
let(:expected) do
{"endpoint"=>{"url"=>"https://test.codecatalyst.global.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::CodeCatalyst
end
end
- context 'Default endpoint (region not set)' do
+ context "Default endpoint (region not set)" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecatalyst.global.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::CodeCatalyst
end
end
- context 'Default FIPS endpoint (region not set)' do
+ context "Default FIPS endpoint (region not set)" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecatalyst-fips.global.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::CodeCatalyst
end
end
- context 'Default endpoint (region: aws-global)' do
+ context "Default endpoint (region: aws-global)" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecatalyst.global.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::CodeCatalyst
end
end
- context 'Default FIPS endpoint (region: aws-global)' do
+ context "Default FIPS endpoint (region: aws-global)" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecatalyst-fips.global.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::CodeCatalyst
end
end
- context 'Default endpoint for a valid home region (region: us-west-2)' do
+ context "Default endpoint for a valid home region (region: us-west-2)" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecatalyst.global.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::CodeCatalyst
end
end
- context 'Default FIPS endpoint for a valid home region (region: us-west-2)' do
+ context "Default FIPS endpoint for a valid home region (region: us-west-2)" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecatalyst-fips.global.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::CodeCatalyst
end
end
- context 'Default endpoint for an unavailable home region (region: us-east-1)' do
+ context "Default endpoint for an unavailable home region (region: us-east-1)" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecatalyst.global.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::CodeCatalyst
end
end
- context 'Default FIPS endpoint for an unavailable home region (region: us-east-1)' do
+ context "Default FIPS endpoint for an unavailable home region (region: us-east-1)" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecatalyst-fips.global.api.aws"}}
end
diff --git a/gems/aws-sdk-codecommit/CHANGELOG.md b/gems/aws-sdk-codecommit/CHANGELOG.md
index c5142ddb291..74eb47b0106 100644
--- a/gems/aws-sdk-codecommit/CHANGELOG.md
+++ b/gems/aws-sdk-codecommit/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.75.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.74.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codecommit/VERSION b/gems/aws-sdk-codecommit/VERSION
index dc87e8af82f..7c7053aa238 100644
--- a/gems/aws-sdk-codecommit/VERSION
+++ b/gems/aws-sdk-codecommit/VERSION
@@ -1 +1 @@
-1.74.0
+1.75.0
diff --git a/gems/aws-sdk-codecommit/aws-sdk-codecommit.gemspec b/gems/aws-sdk-codecommit/aws-sdk-codecommit.gemspec
index 9a24fdaa607..00d8b71bd10 100644
--- a/gems/aws-sdk-codecommit/aws-sdk-codecommit.gemspec
+++ b/gems/aws-sdk-codecommit/aws-sdk-codecommit.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codecommit/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit.rb b/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit.rb
index 5a3dda06c83..35d8457a85b 100644
--- a/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit.rb
+++ b/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CodeCommit
- GEM_VERSION = '1.74.0'
+ GEM_VERSION = '1.75.0'
end
diff --git a/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/client.rb b/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/client.rb
index 5388d48b3cd..262f66302e6 100644
--- a/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/client.rb
+++ b/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/client.rb
@@ -5179,7 +5179,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codecommit'
- context[:gem_version] = '1.74.0'
+ context[:gem_version] = '1.75.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/endpoints.rb b/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/endpoints.rb
index a6d12533ccc..e60f9c5b2d3 100644
--- a/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/endpoints.rb
+++ b/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/endpoints.rb
@@ -14,1106 +14,869 @@ module Endpoints
class AssociateApprovalRuleTemplateWithRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchAssociateApprovalRuleTemplateWithRepositories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDescribeMergeConflicts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisassociateApprovalRuleTemplateFromRepositories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetCommits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetRepositories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApprovalRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBranch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCommit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePullRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePullRequestApprovalRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUnreferencedMergeCommit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApprovalRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBranch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCommentContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePullRequestApprovalRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMergeConflicts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePullRequestEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateApprovalRuleTemplateFromRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EvaluatePullRequestApprovalRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApprovalRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBlob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBranch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCommentReactions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCommentsForComparedCommit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCommentsForPullRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCommit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDifferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMergeCommit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMergeConflicts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMergeOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPullRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPullRequestApprovalStates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPullRequestOverrideState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepositoryTriggers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApprovalRuleTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociatedApprovalRuleTemplatesForRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBranches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFileCommitHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPullRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRepositories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRepositoriesForApprovalRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MergeBranchesByFastForward
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MergeBranchesBySquash
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MergeBranchesByThreeWay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MergePullRequestByFastForward
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MergePullRequestBySquash
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MergePullRequestByThreeWay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class OverridePullRequestApprovalRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PostCommentForComparedCommit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PostCommentForPullRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PostCommentReply
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutCommentReaction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRepositoryTriggers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestRepositoryTriggers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApprovalRuleTemplateContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApprovalRuleTemplateDescription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApprovalRuleTemplateName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateComment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDefaultBranch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePullRequestApprovalRuleContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePullRequestApprovalState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePullRequestDescription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePullRequestStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePullRequestTitle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRepositoryDescription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRepositoryEncryptionKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRepositoryName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeCommit::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/plugins/endpoints.rb b/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/plugins/endpoints.rb
index a6c6b527838..35b2b7ed216 100644
--- a/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/plugins/endpoints.rb
+++ b/gems/aws-sdk-codecommit/lib/aws-sdk-codecommit/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codecommit/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codecommit/spec/endpoint_provider_spec.rb
index a345557f7c1..91e19d995ba 100644
--- a/gems/aws-sdk-codecommit/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codecommit/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodeCommit
describe EndpointProvider do
subject { Aws::CodeCommit::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CodeCommit
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CodeCommit
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CodeCommit
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CodeCommit
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CodeCommit
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CodeCommit
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CodeCommit
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CodeCommit
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CodeCommit
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CodeCommit
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CodeCommit
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CodeCommit
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CodeCommit
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CodeCommit
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CodeCommit
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CodeCommit
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CodeCommit
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::CodeCommit
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::CodeCommit
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::CodeCommit
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::CodeCommit
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::CodeCommit
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::CodeCommit
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codecommit.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::CodeCommit
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::CodeCommit
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::CodeCommit
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::CodeCommit
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::CodeCommit
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-codeconnections/CHANGELOG.md b/gems/aws-sdk-codeconnections/CHANGELOG.md
index d91ef084209..6776f1220db 100644
--- a/gems/aws-sdk-codeconnections/CHANGELOG.md
+++ b/gems/aws-sdk-codeconnections/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.11.0 (2024-09-19)
+------------------
+
+* Feature - This release adds the PullRequestComment field to CreateSyncConfiguration API input, UpdateSyncConfiguration API input, GetSyncConfiguration API output and ListSyncConfiguration API output
+
+1.10.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.9.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codeconnections/VERSION b/gems/aws-sdk-codeconnections/VERSION
index f8e233b2733..1cac385c6cb 100644
--- a/gems/aws-sdk-codeconnections/VERSION
+++ b/gems/aws-sdk-codeconnections/VERSION
@@ -1 +1 @@
-1.9.0
+1.11.0
diff --git a/gems/aws-sdk-codeconnections/aws-sdk-codeconnections.gemspec b/gems/aws-sdk-codeconnections/aws-sdk-codeconnections.gemspec
index 5dd2736a991..a0a126c59a8 100644
--- a/gems/aws-sdk-codeconnections/aws-sdk-codeconnections.gemspec
+++ b/gems/aws-sdk-codeconnections/aws-sdk-codeconnections.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codeconnections/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections.rb b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections.rb
index 4b8600b447b..1195728a597 100644
--- a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections.rb
+++ b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CodeConnections
- GEM_VERSION = '1.9.0'
+ GEM_VERSION = '1.11.0'
end
diff --git a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/client.rb b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/client.rb
index 2cc231ae3ec..06d8b45ac9f 100644
--- a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/client.rb
+++ b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/client.rb
@@ -676,6 +676,10 @@ def create_repository_link(params = {}, options = {})
# @option params [String] :trigger_resource_update_on
# When to trigger Git sync to begin the stack update.
#
+ # @option params [String] :pull_request_comment
+ # A toggle that specifies whether to enable or disable pull request
+ # comments for the sync configuration to be created.
+ #
# @return [Types::CreateSyncConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateSyncConfigurationOutput#sync_configuration #sync_configuration} => Types::SyncConfiguration
@@ -691,6 +695,7 @@ def create_repository_link(params = {}, options = {})
# sync_type: "CFN_STACK_SYNC", # required, accepts CFN_STACK_SYNC
# publish_deployment_status: "ENABLED", # accepts ENABLED, DISABLED
# trigger_resource_update_on: "ANY_CHANGE", # accepts ANY_CHANGE, FILE_CHANGE
+ # pull_request_comment: "ENABLED", # accepts ENABLED, DISABLED
# })
#
# @example Response structure
@@ -706,6 +711,7 @@ def create_repository_link(params = {}, options = {})
# resp.sync_configuration.sync_type #=> String, one of "CFN_STACK_SYNC"
# resp.sync_configuration.publish_deployment_status #=> String, one of "ENABLED", "DISABLED"
# resp.sync_configuration.trigger_resource_update_on #=> String, one of "ANY_CHANGE", "FILE_CHANGE"
+ # resp.sync_configuration.pull_request_comment #=> String, one of "ENABLED", "DISABLED"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/CreateSyncConfiguration AWS API Documentation
#
@@ -1141,6 +1147,7 @@ def get_sync_blocker_summary(params = {}, options = {})
# resp.sync_configuration.sync_type #=> String, one of "CFN_STACK_SYNC"
# resp.sync_configuration.publish_deployment_status #=> String, one of "ENABLED", "DISABLED"
# resp.sync_configuration.trigger_resource_update_on #=> String, one of "ANY_CHANGE", "FILE_CHANGE"
+ # resp.sync_configuration.pull_request_comment #=> String, one of "ENABLED", "DISABLED"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/GetSyncConfiguration AWS API Documentation
#
@@ -1390,6 +1397,7 @@ def list_repository_sync_definitions(params = {}, options = {})
# resp.sync_configurations[0].sync_type #=> String, one of "CFN_STACK_SYNC"
# resp.sync_configurations[0].publish_deployment_status #=> String, one of "ENABLED", "DISABLED"
# resp.sync_configurations[0].trigger_resource_update_on #=> String, one of "ANY_CHANGE", "FILE_CHANGE"
+ # resp.sync_configurations[0].pull_request_comment #=> String, one of "ENABLED", "DISABLED"
# resp.next_token #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/ListSyncConfigurations AWS API Documentation
@@ -1661,6 +1669,10 @@ def update_sync_blocker(params = {}, options = {})
# @option params [String] :trigger_resource_update_on
# When to trigger Git sync to begin the stack update.
#
+ # @option params [String] :pull_request_comment
+ # TA toggle that specifies whether to enable or disable pull request
+ # comments for the sync configuration to be updated.
+ #
# @return [Types::UpdateSyncConfigurationOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateSyncConfigurationOutput#sync_configuration #sync_configuration} => Types::SyncConfiguration
@@ -1676,6 +1688,7 @@ def update_sync_blocker(params = {}, options = {})
# sync_type: "CFN_STACK_SYNC", # required, accepts CFN_STACK_SYNC
# publish_deployment_status: "ENABLED", # accepts ENABLED, DISABLED
# trigger_resource_update_on: "ANY_CHANGE", # accepts ANY_CHANGE, FILE_CHANGE
+ # pull_request_comment: "ENABLED", # accepts ENABLED, DISABLED
# })
#
# @example Response structure
@@ -1691,6 +1704,7 @@ def update_sync_blocker(params = {}, options = {})
# resp.sync_configuration.sync_type #=> String, one of "CFN_STACK_SYNC"
# resp.sync_configuration.publish_deployment_status #=> String, one of "ENABLED", "DISABLED"
# resp.sync_configuration.trigger_resource_update_on #=> String, one of "ANY_CHANGE", "FILE_CHANGE"
+ # resp.sync_configuration.pull_request_comment #=> String, one of "ENABLED", "DISABLED"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UpdateSyncConfiguration AWS API Documentation
#
@@ -1719,7 +1733,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codeconnections'
- context[:gem_version] = '1.9.0'
+ context[:gem_version] = '1.11.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/client_api.rb b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/client_api.rb
index cd56bc654dc..82a942cce92 100644
--- a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/client_api.rb
+++ b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/client_api.rb
@@ -94,6 +94,7 @@ module ClientApi
Parent = Shapes::StringShape.new(name: 'Parent')
ProviderType = Shapes::StringShape.new(name: 'ProviderType')
PublishDeploymentStatus = Shapes::StringShape.new(name: 'PublishDeploymentStatus')
+ PullRequestComment = Shapes::StringShape.new(name: 'PullRequestComment')
RepositoryLinkArn = Shapes::StringShape.new(name: 'RepositoryLinkArn')
RepositoryLinkId = Shapes::StringShape.new(name: 'RepositoryLinkId')
RepositoryLinkInfo = Shapes::StructureShape.new(name: 'RepositoryLinkInfo')
@@ -224,6 +225,7 @@ module ClientApi
CreateSyncConfigurationInput.add_member(:sync_type, Shapes::ShapeRef.new(shape: SyncConfigurationType, required: true, location_name: "SyncType"))
CreateSyncConfigurationInput.add_member(:publish_deployment_status, Shapes::ShapeRef.new(shape: PublishDeploymentStatus, location_name: "PublishDeploymentStatus"))
CreateSyncConfigurationInput.add_member(:trigger_resource_update_on, Shapes::ShapeRef.new(shape: TriggerResourceUpdateOn, location_name: "TriggerResourceUpdateOn"))
+ CreateSyncConfigurationInput.add_member(:pull_request_comment, Shapes::ShapeRef.new(shape: PullRequestComment, location_name: "PullRequestComment"))
CreateSyncConfigurationInput.struct_class = Types::CreateSyncConfigurationInput
CreateSyncConfigurationOutput.add_member(:sync_configuration, Shapes::ShapeRef.new(shape: SyncConfiguration, required: true, location_name: "SyncConfiguration"))
@@ -482,6 +484,7 @@ module ClientApi
SyncConfiguration.add_member(:sync_type, Shapes::ShapeRef.new(shape: SyncConfigurationType, required: true, location_name: "SyncType"))
SyncConfiguration.add_member(:publish_deployment_status, Shapes::ShapeRef.new(shape: PublishDeploymentStatus, location_name: "PublishDeploymentStatus"))
SyncConfiguration.add_member(:trigger_resource_update_on, Shapes::ShapeRef.new(shape: TriggerResourceUpdateOn, location_name: "TriggerResourceUpdateOn"))
+ SyncConfiguration.add_member(:pull_request_comment, Shapes::ShapeRef.new(shape: PullRequestComment, location_name: "PullRequestComment"))
SyncConfiguration.struct_class = Types::SyncConfiguration
SyncConfigurationList.member = Shapes::ShapeRef.new(shape: SyncConfiguration)
@@ -555,6 +558,7 @@ module ClientApi
UpdateSyncConfigurationInput.add_member(:sync_type, Shapes::ShapeRef.new(shape: SyncConfigurationType, required: true, location_name: "SyncType"))
UpdateSyncConfigurationInput.add_member(:publish_deployment_status, Shapes::ShapeRef.new(shape: PublishDeploymentStatus, location_name: "PublishDeploymentStatus"))
UpdateSyncConfigurationInput.add_member(:trigger_resource_update_on, Shapes::ShapeRef.new(shape: TriggerResourceUpdateOn, location_name: "TriggerResourceUpdateOn"))
+ UpdateSyncConfigurationInput.add_member(:pull_request_comment, Shapes::ShapeRef.new(shape: PullRequestComment, location_name: "PullRequestComment"))
UpdateSyncConfigurationInput.struct_class = Types::UpdateSyncConfigurationInput
UpdateSyncConfigurationOutput.add_member(:sync_configuration, Shapes::ShapeRef.new(shape: SyncConfiguration, required: true, location_name: "SyncConfiguration"))
diff --git a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/endpoints.rb b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/endpoints.rb
index 5b6a6f0afe1..6efc748d436 100644
--- a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/endpoints.rb
+++ b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/endpoints.rb
@@ -14,378 +14,297 @@ module Endpoints
class CreateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRepositoryLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSyncConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRepositoryLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSyncConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepositoryLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepositorySyncStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceSyncStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSyncBlockerSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSyncConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHosts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRepositoryLinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRepositorySyncDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSyncConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateHost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRepositoryLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSyncBlocker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSyncConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeConnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/plugins/endpoints.rb b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/plugins/endpoints.rb
index 9a249a5e2c3..f7da805ae15 100644
--- a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/plugins/endpoints.rb
+++ b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb
index 63e37d58129..cd066450d07 100644
--- a/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb
+++ b/gems/aws-sdk-codeconnections/lib/aws-sdk-codeconnections/types.rb
@@ -79,7 +79,7 @@ class ConflictException < Struct.new(
# @!attribute [rw] connection_arn
# The Amazon Resource Name (ARN) of the connection. The ARN is used as
# the connection reference when the connection is shared between
- # Amazon Web Services.
+ # Amazon Web Servicesservices.
#
# The ARN is never reused if the connection is deleted.
#
@@ -316,6 +316,11 @@ class CreateRepositoryLinkOutput < Struct.new(
# When to trigger Git sync to begin the stack update.
# @return [String]
#
+ # @!attribute [rw] pull_request_comment
+ # A toggle that specifies whether to enable or disable pull request
+ # comments for the sync configuration to be created.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/CreateSyncConfigurationInput AWS API Documentation
#
class CreateSyncConfigurationInput < Struct.new(
@@ -326,7 +331,8 @@ class CreateSyncConfigurationInput < Struct.new(
:role_arn,
:sync_type,
:publish_deployment_status,
- :trigger_resource_update_on)
+ :trigger_resource_update_on,
+ :pull_request_comment)
SENSITIVE = []
include Aws::Structure
end
@@ -1490,6 +1496,11 @@ class SyncBlockerSummary < Struct.new(
# When to trigger Git sync to begin the stack update.
# @return [String]
#
+ # @!attribute [rw] pull_request_comment
+ # A toggle that specifies whether to enable or disable pull request
+ # comments for the sync configuration to be created.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/SyncConfiguration AWS API Documentation
#
class SyncConfiguration < Struct.new(
@@ -1503,7 +1514,8 @@ class SyncConfiguration < Struct.new(
:role_arn,
:sync_type,
:publish_deployment_status,
- :trigger_resource_update_on)
+ :trigger_resource_update_on,
+ :pull_request_comment)
SENSITIVE = []
include Aws::Structure
end
@@ -1789,6 +1801,11 @@ class UpdateSyncBlockerOutput < Struct.new(
# When to trigger Git sync to begin the stack update.
# @return [String]
#
+ # @!attribute [rw] pull_request_comment
+ # TA toggle that specifies whether to enable or disable pull request
+ # comments for the sync configuration to be updated.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/codeconnections-2023-12-01/UpdateSyncConfigurationInput AWS API Documentation
#
class UpdateSyncConfigurationInput < Struct.new(
@@ -1799,7 +1816,8 @@ class UpdateSyncConfigurationInput < Struct.new(
:role_arn,
:sync_type,
:publish_deployment_status,
- :trigger_resource_update_on)
+ :trigger_resource_update_on,
+ :pull_request_comment)
SENSITIVE = []
include Aws::Structure
end
diff --git a/gems/aws-sdk-codeconnections/sig/client.rbs b/gems/aws-sdk-codeconnections/sig/client.rbs
index e4d5e9e46f9..0e1df709fce 100644
--- a/gems/aws-sdk-codeconnections/sig/client.rbs
+++ b/gems/aws-sdk-codeconnections/sig/client.rbs
@@ -151,7 +151,8 @@ module Aws
role_arn: ::String,
sync_type: ("CFN_STACK_SYNC"),
?publish_deployment_status: ("ENABLED" | "DISABLED"),
- ?trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
+ ?trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE"),
+ ?pull_request_comment: ("ENABLED" | "DISABLED")
) -> _CreateSyncConfigurationResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSyncConfigurationResponseSuccess
@@ -428,7 +429,8 @@ module Aws
?role_arn: ::String,
sync_type: ("CFN_STACK_SYNC"),
?publish_deployment_status: ("ENABLED" | "DISABLED"),
- ?trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
+ ?trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE"),
+ ?pull_request_comment: ("ENABLED" | "DISABLED")
) -> _UpdateSyncConfigurationResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateSyncConfigurationResponseSuccess
end
diff --git a/gems/aws-sdk-codeconnections/sig/types.rbs b/gems/aws-sdk-codeconnections/sig/types.rbs
index 8a393689534..b1dc6ded8ca 100644
--- a/gems/aws-sdk-codeconnections/sig/types.rbs
+++ b/gems/aws-sdk-codeconnections/sig/types.rbs
@@ -90,6 +90,7 @@ module Aws::CodeConnections
attr_accessor sync_type: ("CFN_STACK_SYNC")
attr_accessor publish_deployment_status: ("ENABLED" | "DISABLED")
attr_accessor trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
+ attr_accessor pull_request_comment: ("ENABLED" | "DISABLED")
SENSITIVE: []
end
@@ -436,6 +437,7 @@ module Aws::CodeConnections
attr_accessor sync_type: ("CFN_STACK_SYNC")
attr_accessor publish_deployment_status: ("ENABLED" | "DISABLED")
attr_accessor trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
+ attr_accessor pull_request_comment: ("ENABLED" | "DISABLED")
SENSITIVE: []
end
@@ -534,6 +536,7 @@ module Aws::CodeConnections
attr_accessor sync_type: ("CFN_STACK_SYNC")
attr_accessor publish_deployment_status: ("ENABLED" | "DISABLED")
attr_accessor trigger_resource_update_on: ("ANY_CHANGE" | "FILE_CHANGE")
+ attr_accessor pull_request_comment: ("ENABLED" | "DISABLED")
SENSITIVE: []
end
diff --git a/gems/aws-sdk-codeconnections/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codeconnections/spec/endpoint_provider_spec.rb
index 8f5a2599c38..6275e6dd339 100644
--- a/gems/aws-sdk-codeconnections/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codeconnections/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodeConnections
describe EndpointProvider do
subject { Aws::CodeConnections::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CodeConnections
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::CodeConnections
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::CodeConnections
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CodeConnections
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::CodeConnections
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeconnections.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::CodeConnections
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::CodeConnections
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::CodeConnections
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::CodeConnections
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::CodeConnections
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-codedeploy/CHANGELOG.md b/gems/aws-sdk-codedeploy/CHANGELOG.md
index 80be30d15f3..b4bbd333ba5 100644
--- a/gems/aws-sdk-codedeploy/CHANGELOG.md
+++ b/gems/aws-sdk-codedeploy/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.75.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.74.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codedeploy/VERSION b/gems/aws-sdk-codedeploy/VERSION
index dc87e8af82f..7c7053aa238 100644
--- a/gems/aws-sdk-codedeploy/VERSION
+++ b/gems/aws-sdk-codedeploy/VERSION
@@ -1 +1 @@
-1.74.0
+1.75.0
diff --git a/gems/aws-sdk-codedeploy/aws-sdk-codedeploy.gemspec b/gems/aws-sdk-codedeploy/aws-sdk-codedeploy.gemspec
index 47441836ccb..037370efbca 100644
--- a/gems/aws-sdk-codedeploy/aws-sdk-codedeploy.gemspec
+++ b/gems/aws-sdk-codedeploy/aws-sdk-codedeploy.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codedeploy/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy.rb b/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy.rb
index a509b22f9ea..1219c94d7b7 100644
--- a/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy.rb
+++ b/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::CodeDeploy
- GEM_VERSION = '1.74.0'
+ GEM_VERSION = '1.75.0'
end
diff --git a/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/client.rb b/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/client.rb
index 50966aeec68..90b9a45a051 100644
--- a/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/client.rb
+++ b/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/client.rb
@@ -3631,7 +3631,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codedeploy'
- context[:gem_version] = '1.74.0'
+ context[:gem_version] = '1.75.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/endpoints.rb b/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/endpoints.rb
index ef896b8c942..61993277d88 100644
--- a/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/endpoints.rb
+++ b/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/endpoints.rb
@@ -14,658 +14,517 @@ module Endpoints
class AddTagsToOnPremisesInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetApplicationRevisions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetDeploymentGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetDeploymentInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetDeploymentTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetOnPremisesInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ContinueDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeploymentConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeploymentGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeploymentConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeploymentGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGitHubAccountToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcesByExternalId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterOnPremisesInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplicationRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeploymentConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeploymentGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeploymentInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeploymentTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOnPremisesInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationRevisions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeploymentConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeploymentGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeploymentInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeploymentTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGitHubAccountTokenNames
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOnPremisesInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLifecycleEventHookExecutionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterApplicationRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterOnPremisesInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromOnPremisesInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SkipWaitTimeForInstanceTermination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeploymentGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeDeploy::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/plugins/endpoints.rb b/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/plugins/endpoints.rb
index 1e552854764..42fbea7d6df 100644
--- a/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/plugins/endpoints.rb
+++ b/gems/aws-sdk-codedeploy/lib/aws-sdk-codedeploy/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codedeploy/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codedeploy/spec/endpoint_provider_spec.rb
index 7eff84042d9..f23f7b8c3e4 100644
--- a/gems/aws-sdk-codedeploy/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codedeploy/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodeDeploy
describe EndpointProvider do
subject { Aws::CodeDeploy::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CodeDeploy
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CodeDeploy
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CodeDeploy
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CodeDeploy
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CodeDeploy
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CodeDeploy
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CodeDeploy
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CodeDeploy
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CodeDeploy
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CodeDeploy
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CodeDeploy
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CodeDeploy
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CodeDeploy
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CodeDeploy
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CodeDeploy
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CodeDeploy
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CodeDeploy
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::CodeDeploy
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::CodeDeploy
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::CodeDeploy
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::CodeDeploy
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::CodeDeploy
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codedeploy-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::CodeDeploy
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::CodeDeploy
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::CodeDeploy
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::CodeDeploy
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::CodeDeploy
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::CodeDeploy
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-codeguruprofiler/CHANGELOG.md b/gems/aws-sdk-codeguruprofiler/CHANGELOG.md
index b25700df0e7..10cb8ce851e 100644
--- a/gems/aws-sdk-codeguruprofiler/CHANGELOG.md
+++ b/gems/aws-sdk-codeguruprofiler/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.45.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.44.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codeguruprofiler/VERSION b/gems/aws-sdk-codeguruprofiler/VERSION
index 372cf402c73..50aceaa7b71 100644
--- a/gems/aws-sdk-codeguruprofiler/VERSION
+++ b/gems/aws-sdk-codeguruprofiler/VERSION
@@ -1 +1 @@
-1.44.0
+1.45.0
diff --git a/gems/aws-sdk-codeguruprofiler/aws-sdk-codeguruprofiler.gemspec b/gems/aws-sdk-codeguruprofiler/aws-sdk-codeguruprofiler.gemspec
index 246f63b94f8..71df15d985e 100644
--- a/gems/aws-sdk-codeguruprofiler/aws-sdk-codeguruprofiler.gemspec
+++ b/gems/aws-sdk-codeguruprofiler/aws-sdk-codeguruprofiler.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codeguruprofiler/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler.rb b/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler.rb
index cbf95ec2fe1..b0096401d8b 100644
--- a/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler.rb
+++ b/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CodeGuruProfiler
- GEM_VERSION = '1.44.0'
+ GEM_VERSION = '1.45.0'
end
diff --git a/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/client.rb b/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/client.rb
index f1f4a7876c6..c8e462fc8d1 100644
--- a/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/client.rb
+++ b/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/client.rb
@@ -1754,7 +1754,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codeguruprofiler'
- context[:gem_version] = '1.44.0'
+ context[:gem_version] = '1.45.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/endpoints.rb b/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/endpoints.rb
index feb94a7102a..ffa27888630 100644
--- a/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/endpoints.rb
+++ b/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/endpoints.rb
@@ -14,322 +14,253 @@ module Endpoints
class AddNotificationChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetFrameMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfigureAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProfilingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProfilingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProfilingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindingsReportAccountSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNotificationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFindingsReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfileTimes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfilingGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PostAgentProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveNotificationChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemovePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SubmitFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProfilingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruProfiler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/plugins/endpoints.rb b/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/plugins/endpoints.rb
index f52df34eb9d..1ffcea53b65 100644
--- a/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/plugins/endpoints.rb
+++ b/gems/aws-sdk-codeguruprofiler/lib/aws-sdk-codeguruprofiler/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codeguruprofiler/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codeguruprofiler/spec/endpoint_provider_spec.rb
index df023064730..9d62040fad6 100644
--- a/gems/aws-sdk-codeguruprofiler/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codeguruprofiler/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodeGuruProfiler
describe EndpointProvider do
subject { Aws::CodeGuruProfiler::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-profiler.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::CodeGuruProfiler
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-codegurureviewer/CHANGELOG.md b/gems/aws-sdk-codegurureviewer/CHANGELOG.md
index 06f4253f949..a875bf87acb 100644
--- a/gems/aws-sdk-codegurureviewer/CHANGELOG.md
+++ b/gems/aws-sdk-codegurureviewer/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.55.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.54.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codegurureviewer/VERSION b/gems/aws-sdk-codegurureviewer/VERSION
index b7921ae87bc..094d6ad00ce 100644
--- a/gems/aws-sdk-codegurureviewer/VERSION
+++ b/gems/aws-sdk-codegurureviewer/VERSION
@@ -1 +1 @@
-1.54.0
+1.55.0
diff --git a/gems/aws-sdk-codegurureviewer/aws-sdk-codegurureviewer.gemspec b/gems/aws-sdk-codegurureviewer/aws-sdk-codegurureviewer.gemspec
index a65c1a951e7..964c8c694da 100644
--- a/gems/aws-sdk-codegurureviewer/aws-sdk-codegurureviewer.gemspec
+++ b/gems/aws-sdk-codegurureviewer/aws-sdk-codegurureviewer.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codegurureviewer/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer.rb b/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer.rb
index d5290cdb74b..1a6e528d584 100644
--- a/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer.rb
+++ b/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::CodeGuruReviewer
- GEM_VERSION = '1.54.0'
+ GEM_VERSION = '1.55.0'
end
diff --git a/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/client.rb b/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/client.rb
index fad005fbf5f..bc585570054 100644
--- a/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/client.rb
+++ b/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/client.rb
@@ -1492,7 +1492,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codegurureviewer'
- context[:gem_version] = '1.54.0'
+ context[:gem_version] = '1.55.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/endpoints.rb b/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/endpoints.rb
index b8880d2da42..08b78ad5603 100644
--- a/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/endpoints.rb
+++ b/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/endpoints.rb
@@ -14,196 +14,154 @@ module Endpoints
class AssociateRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCodeReview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCodeReview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRecommendationFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRepositoryAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCodeReviews
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommendationFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRepositoryAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRecommendationFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruReviewer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/plugins/endpoints.rb b/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/plugins/endpoints.rb
index b990532a4be..8e7944f6d1c 100644
--- a/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/plugins/endpoints.rb
+++ b/gems/aws-sdk-codegurureviewer/lib/aws-sdk-codegurureviewer/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codegurureviewer/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codegurureviewer/spec/endpoint_provider_spec.rb
index 20169c73cab..b6d2cc8c056 100644
--- a/gems/aws-sdk-codegurureviewer/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codegurureviewer/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodeGuruReviewer
describe EndpointProvider do
subject { Aws::CodeGuruReviewer::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.eu-north-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.eu-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.us-east-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer-fips.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.us-gov-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -321,7 +321,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -335,7 +335,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -348,7 +348,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.us-iso-east-1.c2s.ic.gov"}}
end
@@ -362,7 +362,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -375,7 +375,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -389,7 +389,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -402,7 +402,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-reviewer.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -416,7 +416,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -457,7 +457,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -470,7 +470,7 @@ module Aws::CodeGuruReviewer
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-codegurusecurity/CHANGELOG.md b/gems/aws-sdk-codegurusecurity/CHANGELOG.md
index fcd356cbd05..bc0935e2e4d 100644
--- a/gems/aws-sdk-codegurusecurity/CHANGELOG.md
+++ b/gems/aws-sdk-codegurusecurity/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.20.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.19.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codegurusecurity/VERSION b/gems/aws-sdk-codegurusecurity/VERSION
index 815d5ca06d5..39893559155 100644
--- a/gems/aws-sdk-codegurusecurity/VERSION
+++ b/gems/aws-sdk-codegurusecurity/VERSION
@@ -1 +1 @@
-1.19.0
+1.20.0
diff --git a/gems/aws-sdk-codegurusecurity/aws-sdk-codegurusecurity.gemspec b/gems/aws-sdk-codegurusecurity/aws-sdk-codegurusecurity.gemspec
index 24ea77425e5..3e95714c6d3 100644
--- a/gems/aws-sdk-codegurusecurity/aws-sdk-codegurusecurity.gemspec
+++ b/gems/aws-sdk-codegurusecurity/aws-sdk-codegurusecurity.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codegurusecurity/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity.rb b/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity.rb
index e66d4ecae91..7e9ef68c220 100644
--- a/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity.rb
+++ b/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CodeGuruSecurity
- GEM_VERSION = '1.19.0'
+ GEM_VERSION = '1.20.0'
end
diff --git a/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/client.rb b/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/client.rb
index ff2b3f19972..902f57f7069 100644
--- a/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/client.rb
+++ b/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/client.rb
@@ -1115,7 +1115,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codegurusecurity'
- context[:gem_version] = '1.19.0'
+ context[:gem_version] = '1.20.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/endpoints.rb b/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/endpoints.rb
index a9a37166e51..9bec045b179 100644
--- a/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/endpoints.rb
+++ b/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/endpoints.rb
@@ -14,182 +14,143 @@ module Endpoints
class BatchGetFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateScan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUploadUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetricsSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetScan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFindingsMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListScans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeGuruSecurity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/plugins/endpoints.rb b/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/plugins/endpoints.rb
index d98d9ac2810..7f3718dd19c 100644
--- a/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/plugins/endpoints.rb
+++ b/gems/aws-sdk-codegurusecurity/lib/aws-sdk-codegurusecurity/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codegurusecurity/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codegurusecurity/spec/endpoint_provider_spec.rb
index 46ccf4a05b9..4ded3197f50 100644
--- a/gems/aws-sdk-codegurusecurity/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codegurusecurity/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodeGuruSecurity
describe EndpointProvider do
subject { Aws::CodeGuruSecurity::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codeguru-security.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::CodeGuruSecurity
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-codepipeline/CHANGELOG.md b/gems/aws-sdk-codepipeline/CHANGELOG.md
index da6c1d1819e..bfda5088613 100644
--- a/gems/aws-sdk-codepipeline/CHANGELOG.md
+++ b/gems/aws-sdk-codepipeline/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.82.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.81.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codepipeline/VERSION b/gems/aws-sdk-codepipeline/VERSION
index dbd41264aa9..71fae54fb27 100644
--- a/gems/aws-sdk-codepipeline/VERSION
+++ b/gems/aws-sdk-codepipeline/VERSION
@@ -1 +1 @@
-1.81.0
+1.82.0
diff --git a/gems/aws-sdk-codepipeline/aws-sdk-codepipeline.gemspec b/gems/aws-sdk-codepipeline/aws-sdk-codepipeline.gemspec
index f4057f90345..9afe716536a 100644
--- a/gems/aws-sdk-codepipeline/aws-sdk-codepipeline.gemspec
+++ b/gems/aws-sdk-codepipeline/aws-sdk-codepipeline.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codepipeline/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline.rb b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline.rb
index 96d470ef415..ff1dd58b3e8 100644
--- a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline.rb
+++ b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CodePipeline
- GEM_VERSION = '1.81.0'
+ GEM_VERSION = '1.82.0'
end
diff --git a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb
index b09eb9cfd8d..e6cdeb19982 100644
--- a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb
+++ b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/client.rb
@@ -3560,7 +3560,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codepipeline'
- context[:gem_version] = '1.81.0'
+ context[:gem_version] = '1.82.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/endpoints.rb b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/endpoints.rb
index 89749ead6e2..81abd39334a 100644
--- a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/endpoints.rb
+++ b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/endpoints.rb
@@ -14,602 +14,473 @@ module Endpoints
class AcknowledgeJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AcknowledgeThirdPartyJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomActionType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomActionType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWebhook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterWebhookWithThirdParty
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableStageTransition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableStageTransition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetActionType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPipelineExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPipelineState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetThirdPartyJobDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListActionExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListActionTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipelineExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuleExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuleTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWebhooks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class OverrideStageCondition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PollForJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PollForThirdPartyJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutActionRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutApprovalResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutJobFailureResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutJobSuccessResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutThirdPartyJobFailureResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutThirdPartyJobSuccessResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutWebhook
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterWebhookWithThirdParty
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetryStageExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RollbackStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartPipelineExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopPipelineExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateActionType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodePipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/plugins/endpoints.rb b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/plugins/endpoints.rb
index c9dafb88cef..993d2b7a754 100644
--- a/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/plugins/endpoints.rb
+++ b/gems/aws-sdk-codepipeline/lib/aws-sdk-codepipeline/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codepipeline/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codepipeline/spec/endpoint_provider_spec.rb
index 3ea47ab547c..5607684827e 100644
--- a/gems/aws-sdk-codepipeline/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codepipeline/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodePipeline
describe EndpointProvider do
subject { Aws::CodePipeline::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CodePipeline
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CodePipeline
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CodePipeline
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CodePipeline
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CodePipeline
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CodePipeline
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CodePipeline
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CodePipeline
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CodePipeline
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CodePipeline
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CodePipeline
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CodePipeline
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CodePipeline
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CodePipeline
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.sa-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.us-east-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.us-west-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::CodePipeline
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::CodePipeline
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::CodePipeline
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::CodePipeline
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::CodePipeline
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.us-gov-west-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -531,7 +531,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -545,7 +545,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -558,7 +558,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.us-iso-east-1.c2s.ic.gov"}}
end
@@ -572,7 +572,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -585,7 +585,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -599,7 +599,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -612,7 +612,7 @@ module Aws::CodePipeline
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codepipeline.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -626,7 +626,7 @@ module Aws::CodePipeline
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::CodePipeline
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::CodePipeline
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -667,7 +667,7 @@ module Aws::CodePipeline
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -680,7 +680,7 @@ module Aws::CodePipeline
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-codestarconnections/CHANGELOG.md b/gems/aws-sdk-codestarconnections/CHANGELOG.md
index 13f12d4db1b..fb76f9bec91 100644
--- a/gems/aws-sdk-codestarconnections/CHANGELOG.md
+++ b/gems/aws-sdk-codestarconnections/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.51.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.50.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codestarconnections/VERSION b/gems/aws-sdk-codestarconnections/VERSION
index 5a5c7211dc6..ba0a719118c 100644
--- a/gems/aws-sdk-codestarconnections/VERSION
+++ b/gems/aws-sdk-codestarconnections/VERSION
@@ -1 +1 @@
-1.50.0
+1.51.0
diff --git a/gems/aws-sdk-codestarconnections/aws-sdk-codestarconnections.gemspec b/gems/aws-sdk-codestarconnections/aws-sdk-codestarconnections.gemspec
index 9928992662f..7d181de472f 100644
--- a/gems/aws-sdk-codestarconnections/aws-sdk-codestarconnections.gemspec
+++ b/gems/aws-sdk-codestarconnections/aws-sdk-codestarconnections.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codestarconnections/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections.rb b/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections.rb
index b3b4fea3074..cd5d92241c0 100644
--- a/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections.rb
+++ b/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CodeStarconnections
- GEM_VERSION = '1.50.0'
+ GEM_VERSION = '1.51.0'
end
diff --git a/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/client.rb b/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/client.rb
index 1947ee09865..d9a4149a9b7 100644
--- a/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/client.rb
+++ b/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/client.rb
@@ -1719,7 +1719,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codestarconnections'
- context[:gem_version] = '1.50.0'
+ context[:gem_version] = '1.51.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/endpoints.rb b/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/endpoints.rb
index 8ad2aaf7399..5840ed8d9ad 100644
--- a/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/endpoints.rb
+++ b/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/endpoints.rb
@@ -14,378 +14,297 @@ module Endpoints
class CreateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRepositoryLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSyncConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRepositoryLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSyncConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepositoryLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepositorySyncStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceSyncStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSyncBlockerSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSyncConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHosts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRepositoryLinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRepositorySyncDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSyncConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateHost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRepositoryLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSyncBlocker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSyncConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarconnections::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/plugins/endpoints.rb b/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/plugins/endpoints.rb
index bd5b5ad01fe..d80191c6bb0 100644
--- a/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/plugins/endpoints.rb
+++ b/gems/aws-sdk-codestarconnections/lib/aws-sdk-codestarconnections/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codestarconnections/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codestarconnections/spec/endpoint_provider_spec.rb
index a47fcbb4772..29c7ddb5de6 100644
--- a/gems/aws-sdk-codestarconnections/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codestarconnections/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodeStarconnections
describe EndpointProvider do
subject { Aws::CodeStarconnections::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.sa-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.us-east-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.us-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections-fips.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::CodeStarconnections
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-connections.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::CodeStarconnections
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::CodeStarconnections
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::CodeStarconnections
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::CodeStarconnections
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::CodeStarconnections
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-codestarnotifications/CHANGELOG.md b/gems/aws-sdk-codestarnotifications/CHANGELOG.md
index 6b6f17e1350..c48db28d04d 100644
--- a/gems/aws-sdk-codestarnotifications/CHANGELOG.md
+++ b/gems/aws-sdk-codestarnotifications/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.42.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.41.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-codestarnotifications/VERSION b/gems/aws-sdk-codestarnotifications/VERSION
index 7d47e599800..a50908ca3da 100644
--- a/gems/aws-sdk-codestarnotifications/VERSION
+++ b/gems/aws-sdk-codestarnotifications/VERSION
@@ -1 +1 @@
-1.41.0
+1.42.0
diff --git a/gems/aws-sdk-codestarnotifications/aws-sdk-codestarnotifications.gemspec b/gems/aws-sdk-codestarnotifications/aws-sdk-codestarnotifications.gemspec
index 66906015bf7..0a003e94692 100644
--- a/gems/aws-sdk-codestarnotifications/aws-sdk-codestarnotifications.gemspec
+++ b/gems/aws-sdk-codestarnotifications/aws-sdk-codestarnotifications.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-codestarnotifications/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications.rb b/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications.rb
index 504a4569ae8..ed0fd3074b1 100644
--- a/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications.rb
+++ b/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CodeStarNotifications
- GEM_VERSION = '1.41.0'
+ GEM_VERSION = '1.42.0'
end
diff --git a/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/client.rb b/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/client.rb
index d0f271dd14f..7e4a162d191 100644
--- a/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/client.rb
+++ b/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/client.rb
@@ -1075,7 +1075,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-codestarnotifications'
- context[:gem_version] = '1.41.0'
+ context[:gem_version] = '1.42.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/endpoints.rb b/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/endpoints.rb
index d2a2c09f4ef..4b8628d11d0 100644
--- a/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/endpoints.rb
+++ b/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/endpoints.rb
@@ -14,182 +14,143 @@ module Endpoints
class CreateNotificationRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNotificationRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNotificationRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNotificationRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Subscribe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Unsubscribe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNotificationRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CodeStarNotifications::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/plugins/endpoints.rb b/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/plugins/endpoints.rb
index dcf3bc97c9b..8ca9def1fa9 100644
--- a/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/plugins/endpoints.rb
+++ b/gems/aws-sdk-codestarnotifications/lib/aws-sdk-codestarnotifications/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-codestarnotifications/spec/endpoint_provider_spec.rb b/gems/aws-sdk-codestarnotifications/spec/endpoint_provider_spec.rb
index a53f71a193a..b0e452c59ec 100644
--- a/gems/aws-sdk-codestarnotifications/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-codestarnotifications/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CodeStarNotifications
describe EndpointProvider do
subject { Aws::CodeStarNotifications::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://codestar-notifications.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::CodeStarNotifications
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::CodeStarNotifications
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cognitoidentity/CHANGELOG.md b/gems/aws-sdk-cognitoidentity/CHANGELOG.md
index 79e5542519f..a0efa668140 100644
--- a/gems/aws-sdk-cognitoidentity/CHANGELOG.md
+++ b/gems/aws-sdk-cognitoidentity/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.63.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.62.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cognitoidentity/VERSION b/gems/aws-sdk-cognitoidentity/VERSION
index 76d05362056..af92bdd9f58 100644
--- a/gems/aws-sdk-cognitoidentity/VERSION
+++ b/gems/aws-sdk-cognitoidentity/VERSION
@@ -1 +1 @@
-1.62.0
+1.63.0
diff --git a/gems/aws-sdk-cognitoidentity/aws-sdk-cognitoidentity.gemspec b/gems/aws-sdk-cognitoidentity/aws-sdk-cognitoidentity.gemspec
index ffc13399452..285fb9ac5ce 100644
--- a/gems/aws-sdk-cognitoidentity/aws-sdk-cognitoidentity.gemspec
+++ b/gems/aws-sdk-cognitoidentity/aws-sdk-cognitoidentity.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cognitoidentity/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity.rb b/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity.rb
index c4c018bfc2e..b4d0f5c2a08 100644
--- a/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity.rb
+++ b/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CognitoIdentity
- GEM_VERSION = '1.62.0'
+ GEM_VERSION = '1.63.0'
end
diff --git a/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/client.rb b/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/client.rb
index 87928574cc0..f56e2c259a7 100644
--- a/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/client.rb
+++ b/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/client.rb
@@ -1725,7 +1725,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cognitoidentity'
- context[:gem_version] = '1.62.0'
+ context[:gem_version] = '1.63.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/endpoints.rb b/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/endpoints.rb
index a43079371bb..d4b2d84fdd6 100644
--- a/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/endpoints.rb
+++ b/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/endpoints.rb
@@ -14,322 +14,253 @@ module Endpoints
class CreateIdentityPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdentities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdentityPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIdentityPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCredentialsForIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdentityPoolRoles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOpenIdToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOpenIdTokenForDeveloperIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPrincipalTagAttributeMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentityPools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class LookupDeveloperIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MergeDeveloperIdentities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetIdentityPoolRoles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetPrincipalTagAttributeMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnlinkDeveloperIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnlinkIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIdentityPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentity::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/plugins/endpoints.rb b/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/plugins/endpoints.rb
index 3b79b8db81d..c4d6d63597a 100644
--- a/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/plugins/endpoints.rb
+++ b/gems/aws-sdk-cognitoidentity/lib/aws-sdk-cognitoidentity/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cognitoidentity/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cognitoidentity/spec/endpoint_provider_spec.rb
index 47a7f2b3f69..dfa92f0fd88 100644
--- a/gems/aws-sdk-cognitoidentity/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cognitoidentity/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CognitoIdentity
describe EndpointProvider do
subject { Aws::CognitoIdentity::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.me-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity-fips.us-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.us-east-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity-fips.us-east-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.us-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.us-west-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity-fips.us-west-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity-fips.us-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.us-gov-west-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity-fips.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -475,7 +475,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -489,7 +489,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -502,7 +502,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.us-iso-east-1.c2s.ic.gov"}}
end
@@ -516,7 +516,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -529,7 +529,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -543,7 +543,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -556,7 +556,7 @@ module Aws::CognitoIdentity
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-identity.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -570,7 +570,7 @@ module Aws::CognitoIdentity
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::CognitoIdentity
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::CognitoIdentity
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -611,7 +611,7 @@ module Aws::CognitoIdentity
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -624,7 +624,7 @@ module Aws::CognitoIdentity
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cognitoidentityprovider/CHANGELOG.md b/gems/aws-sdk-cognitoidentityprovider/CHANGELOG.md
index 4376f07fc3b..ab32c10235d 100644
--- a/gems/aws-sdk-cognitoidentityprovider/CHANGELOG.md
+++ b/gems/aws-sdk-cognitoidentityprovider/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.104.0 (2024-09-12)
+------------------
+
+* Feature - Added email MFA option to user pools with advanced security features.
+
+1.103.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.102.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cognitoidentityprovider/VERSION b/gems/aws-sdk-cognitoidentityprovider/VERSION
index 1c55b869e98..9f0b4661158 100644
--- a/gems/aws-sdk-cognitoidentityprovider/VERSION
+++ b/gems/aws-sdk-cognitoidentityprovider/VERSION
@@ -1 +1 @@
-1.102.0
+1.104.0
diff --git a/gems/aws-sdk-cognitoidentityprovider/aws-sdk-cognitoidentityprovider.gemspec b/gems/aws-sdk-cognitoidentityprovider/aws-sdk-cognitoidentityprovider.gemspec
index 844465bb99a..c13bea9c44b 100644
--- a/gems/aws-sdk-cognitoidentityprovider/aws-sdk-cognitoidentityprovider.gemspec
+++ b/gems/aws-sdk-cognitoidentityprovider/aws-sdk-cognitoidentityprovider.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cognitoidentityprovider/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider.rb b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider.rb
index d4faad1d11d..2cfe5e61e04 100644
--- a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider.rb
+++ b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CognitoIdentityProvider
- GEM_VERSION = '1.102.0'
+ GEM_VERSION = '1.104.0'
end
diff --git a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/client.rb b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/client.rb
index acf8836152c..0e70c0076ea 100644
--- a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/client.rb
+++ b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/client.rb
@@ -676,7 +676,7 @@ def admin_confirm_sign_up(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -1474,7 +1474,7 @@ def admin_get_user(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -1685,7 +1685,7 @@ def admin_get_user(params = {}, options = {})
#
# @example Response structure
#
- # resp.challenge_name #=> String, one of "SMS_MFA", "SOFTWARE_TOKEN_MFA", "SELECT_MFA_TYPE", "MFA_SETUP", "PASSWORD_VERIFIER", "CUSTOM_CHALLENGE", "DEVICE_SRP_AUTH", "DEVICE_PASSWORD_VERIFIER", "ADMIN_NO_SRP_AUTH", "NEW_PASSWORD_REQUIRED"
+ # resp.challenge_name #=> String, one of "SMS_MFA", "EMAIL_OTP", "SOFTWARE_TOKEN_MFA", "SELECT_MFA_TYPE", "MFA_SETUP", "PASSWORD_VERIFIER", "CUSTOM_CHALLENGE", "DEVICE_SRP_AUTH", "DEVICE_PASSWORD_VERIFIER", "ADMIN_NO_SRP_AUTH", "NEW_PASSWORD_REQUIRED"
# resp.session #=> String
# resp.challenge_parameters #=> Hash
# resp.challenge_parameters["StringType"] #=> String
@@ -2135,7 +2135,7 @@ def admin_remove_user_from_group(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -2266,7 +2266,7 @@ def admin_reset_user_password(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -2323,11 +2323,21 @@ def admin_reset_user_password(params = {}, options = {})
# SMS\_MFA
#
# : `"ChallengeName": "SMS_MFA", "ChallengeResponses": \{"SMS_MFA_CODE":
- # "[SMS_code]", "USERNAME": "[username]"\}`
+ # "[code]", "USERNAME": "[username]"\}`
+ #
+ # EMAIL\_OTP
+ #
+ # : `"ChallengeName": "EMAIL_OTP", "ChallengeResponses":
+ # \{"EMAIL_OTP_CODE": "[code]", "USERNAME": "[username]"\}`
#
# PASSWORD\_VERIFIER
#
- # : `"ChallengeName": "PASSWORD_VERIFIER", "ChallengeResponses":
+ # : This challenge response is part of the SRP flow. Amazon Cognito
+ # requires that your application respond to this challenge within a
+ # few seconds. When the response time exceeds this period, your user
+ # pool returns a `NotAuthorizedException` error.
+ #
+ # `"ChallengeName": "PASSWORD_VERIFIER", "ChallengeResponses":
# \{"PASSWORD_CLAIM_SIGNATURE": "[claim_signature]",
# "PASSWORD_CLAIM_SECRET_BLOCK": "[secret_block]", "TIMESTAMP":
# [timestamp], "USERNAME": "[username]"\}`
@@ -2486,7 +2496,7 @@ def admin_reset_user_password(params = {}, options = {})
# resp = client.admin_respond_to_auth_challenge({
# user_pool_id: "UserPoolIdType", # required
# client_id: "ClientIdType", # required
- # challenge_name: "SMS_MFA", # required, accepts SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE, MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
+ # challenge_name: "SMS_MFA", # required, accepts SMS_MFA, EMAIL_OTP, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE, MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
# challenge_responses: {
# "StringType" => "StringType",
# },
@@ -2513,7 +2523,7 @@ def admin_reset_user_password(params = {}, options = {})
#
# @example Response structure
#
- # resp.challenge_name #=> String, one of "SMS_MFA", "SOFTWARE_TOKEN_MFA", "SELECT_MFA_TYPE", "MFA_SETUP", "PASSWORD_VERIFIER", "CUSTOM_CHALLENGE", "DEVICE_SRP_AUTH", "DEVICE_PASSWORD_VERIFIER", "ADMIN_NO_SRP_AUTH", "NEW_PASSWORD_REQUIRED"
+ # resp.challenge_name #=> String, one of "SMS_MFA", "EMAIL_OTP", "SOFTWARE_TOKEN_MFA", "SELECT_MFA_TYPE", "MFA_SETUP", "PASSWORD_VERIFIER", "CUSTOM_CHALLENGE", "DEVICE_SRP_AUTH", "DEVICE_PASSWORD_VERIFIER", "ADMIN_NO_SRP_AUTH", "NEW_PASSWORD_REQUIRED"
# resp.session #=> String
# resp.challenge_parameters #=> Hash
# resp.challenge_parameters["StringType"] #=> String
@@ -2534,12 +2544,12 @@ def admin_respond_to_auth_challenge(params = {}, options = {})
req.send_request(options)
end
- # The user's multi-factor authentication (MFA) preference, including
- # which MFA options are activated, and if any are preferred. Only one
- # factor can be set as preferred. The preferred MFA factor will be used
- # to authenticate a user if multiple factors are activated. If multiple
- # options are activated and no preference is set, a challenge to choose
- # an MFA option will be returned during sign-in.
+ # Sets the user's multi-factor authentication (MFA) preference,
+ # including which MFA options are activated, and if any are preferred.
+ # Only one factor can be set as preferred. The preferred MFA factor will
+ # be used to authenticate a user if multiple factors are activated. If
+ # multiple options are activated and no preference is set, a challenge
+ # to choose an MFA option will be returned during sign-in.
#
# Amazon Cognito evaluates Identity and Access Management (IAM) policies
# in requests for this API operation. For this operation, you must use
@@ -2560,10 +2570,24 @@ def admin_respond_to_auth_challenge(params = {}, options = {})
# [2]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
#
# @option params [Types::SMSMfaSettingsType] :sms_mfa_settings
- # The SMS text message MFA settings.
+ # User preferences for SMS message MFA. Activates or deactivates SMS MFA
+ # and sets it as the preferred MFA method when multiple methods are
+ # available.
#
# @option params [Types::SoftwareTokenMfaSettingsType] :software_token_mfa_settings
- # The time-based one-time password software token MFA settings.
+ # User preferences for time-based one-time password (TOTP) MFA.
+ # Activates or deactivates TOTP MFA and sets it as the preferred MFA
+ # method when multiple methods are available.
+ #
+ # @option params [Types::EmailMfaSettingsType] :email_mfa_settings
+ # User preferences for email message MFA. Activates or deactivates email
+ # MFA and sets it as the preferred MFA method when multiple methods are
+ # available. To activate this setting, [ advanced security features][1]
+ # must be active in your user pool.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
#
# @option params [required, String] :username
# The username of the user that you want to query or modify. The value
@@ -2573,7 +2597,8 @@ def admin_respond_to_auth_challenge(params = {}, options = {})
# username of a user from a third-party IdP.
#
# @option params [required, String] :user_pool_id
- # The user pool ID.
+ # The ID of the user pool where you want to set a user's MFA
+ # preferences.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
@@ -2588,6 +2613,10 @@ def admin_respond_to_auth_challenge(params = {}, options = {})
# enabled: false,
# preferred_mfa: false,
# },
+ # email_mfa_settings: {
+ # enabled: false,
+ # preferred_mfa: false,
+ # },
# username: "UsernameType", # required
# user_pool_id: "UserPoolIdType", # required
# })
@@ -2876,7 +2905,7 @@ def admin_update_device_status(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -3970,7 +3999,7 @@ def create_user_import_job(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -4960,9 +4989,9 @@ def create_user_pool(params = {}, options = {})
# are hours.
#
# @option params [Array] :read_attributes
- # The list of user attributes that you want your app client to have
- # read-only access to. After your user authenticates in your app, their
- # access token authorizes them to read their own attribute value for any
+ # The list of user attributes that you want your app client to have read
+ # access to. After your user authenticates in your app, their access
+ # token authorizes them to read their own attribute value for any
# attribute in this list. An example of this kind of activity is when
# your user selects a link to view their profile information. Your app
# makes a [GetUser][1] API request to retrieve and display your user's
@@ -4970,11 +4999,11 @@ def create_user_pool(params = {}, options = {})
#
# When you don't specify the `ReadAttributes` for your app client, your
# app can read the values of `email_verified`, `phone_number_verified`,
- # and the Standard attributes of your user pool. When your user pool has
- # read access to these default attributes, `ReadAttributes` doesn't
- # return any information. Amazon Cognito only populates `ReadAttributes`
- # in the API response if you have specified your own custom set of read
- # attributes.
+ # and the Standard attributes of your user pool. When your user pool app
+ # client has read access to these default attributes, `ReadAttributes`
+ # doesn't return any information. Amazon Cognito only populates
+ # `ReadAttributes` in the API response if you have specified your own
+ # custom set of read attributes.
#
#
#
@@ -6282,7 +6311,7 @@ def forget_device(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -6770,7 +6799,7 @@ def get_user(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -6870,6 +6899,7 @@ def get_user_attribute_verification_code(params = {}, options = {})
#
# * {Types::GetUserPoolMfaConfigResponse#sms_mfa_configuration #sms_mfa_configuration} => Types::SmsMfaConfigType
# * {Types::GetUserPoolMfaConfigResponse#software_token_mfa_configuration #software_token_mfa_configuration} => Types::SoftwareTokenMfaConfigType
+ # * {Types::GetUserPoolMfaConfigResponse#email_mfa_configuration #email_mfa_configuration} => Types::EmailMfaConfigType
# * {Types::GetUserPoolMfaConfigResponse#mfa_configuration #mfa_configuration} => String
#
# @example Request syntax with placeholder values
@@ -6885,6 +6915,8 @@ def get_user_attribute_verification_code(params = {}, options = {})
# resp.sms_mfa_configuration.sms_configuration.external_id #=> String
# resp.sms_mfa_configuration.sms_configuration.sns_region #=> String
# resp.software_token_mfa_configuration.enabled #=> Boolean
+ # resp.email_mfa_configuration.message #=> String
+ # resp.email_mfa_configuration.subject #=> String
# resp.mfa_configuration #=> String, one of "OFF", "ON", "OPTIONAL"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserPoolMfaConfig AWS API Documentation
@@ -6983,7 +7015,7 @@ def global_sign_out(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -7202,7 +7234,7 @@ def global_sign_out(params = {}, options = {})
#
# @example Response structure
#
- # resp.challenge_name #=> String, one of "SMS_MFA", "SOFTWARE_TOKEN_MFA", "SELECT_MFA_TYPE", "MFA_SETUP", "PASSWORD_VERIFIER", "CUSTOM_CHALLENGE", "DEVICE_SRP_AUTH", "DEVICE_PASSWORD_VERIFIER", "ADMIN_NO_SRP_AUTH", "NEW_PASSWORD_REQUIRED"
+ # resp.challenge_name #=> String, one of "SMS_MFA", "EMAIL_OTP", "SOFTWARE_TOKEN_MFA", "SELECT_MFA_TYPE", "MFA_SETUP", "PASSWORD_VERIFIER", "CUSTOM_CHALLENGE", "DEVICE_SRP_AUTH", "DEVICE_PASSWORD_VERIFIER", "ADMIN_NO_SRP_AUTH", "NEW_PASSWORD_REQUIRED"
# resp.session #=> String
# resp.challenge_parameters #=> Hash
# resp.challenge_parameters["StringType"] #=> String
@@ -8073,7 +8105,7 @@ def list_users_in_group(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -8219,7 +8251,7 @@ def resend_confirmation_code(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -8268,11 +8300,21 @@ def resend_confirmation_code(params = {}, options = {})
# SMS\_MFA
#
# : `"ChallengeName": "SMS_MFA", "ChallengeResponses": \{"SMS_MFA_CODE":
- # "[SMS_code]", "USERNAME": "[username]"\}`
+ # "[code]", "USERNAME": "[username]"\}`
+ #
+ # EMAIL\_OTP
+ #
+ # : `"ChallengeName": "EMAIL_OTP", "ChallengeResponses":
+ # \{"EMAIL_OTP_CODE": "[code]", "USERNAME": "[username]"\}`
#
# PASSWORD\_VERIFIER
#
- # : `"ChallengeName": "PASSWORD_VERIFIER", "ChallengeResponses":
+ # : This challenge response is part of the SRP flow. Amazon Cognito
+ # requires that your application respond to this challenge within a
+ # few seconds. When the response time exceeds this period, your user
+ # pool returns a `NotAuthorizedException` error.
+ #
+ # `"ChallengeName": "PASSWORD_VERIFIER", "ChallengeResponses":
# \{"PASSWORD_CLAIM_SIGNATURE": "[claim_signature]",
# "PASSWORD_CLAIM_SECRET_BLOCK": "[secret_block]", "TIMESTAMP":
# [timestamp], "USERNAME": "[username]"\}`
@@ -8407,7 +8449,7 @@ def resend_confirmation_code(params = {}, options = {})
#
# resp = client.respond_to_auth_challenge({
# client_id: "ClientIdType", # required
- # challenge_name: "SMS_MFA", # required, accepts SMS_MFA, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE, MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
+ # challenge_name: "SMS_MFA", # required, accepts SMS_MFA, EMAIL_OTP, SOFTWARE_TOKEN_MFA, SELECT_MFA_TYPE, MFA_SETUP, PASSWORD_VERIFIER, CUSTOM_CHALLENGE, DEVICE_SRP_AUTH, DEVICE_PASSWORD_VERIFIER, ADMIN_NO_SRP_AUTH, NEW_PASSWORD_REQUIRED
# session: "SessionType",
# challenge_responses: {
# "StringType" => "StringType",
@@ -8426,7 +8468,7 @@ def resend_confirmation_code(params = {}, options = {})
#
# @example Response structure
#
- # resp.challenge_name #=> String, one of "SMS_MFA", "SOFTWARE_TOKEN_MFA", "SELECT_MFA_TYPE", "MFA_SETUP", "PASSWORD_VERIFIER", "CUSTOM_CHALLENGE", "DEVICE_SRP_AUTH", "DEVICE_PASSWORD_VERIFIER", "ADMIN_NO_SRP_AUTH", "NEW_PASSWORD_REQUIRED"
+ # resp.challenge_name #=> String, one of "SMS_MFA", "EMAIL_OTP", "SOFTWARE_TOKEN_MFA", "SELECT_MFA_TYPE", "MFA_SETUP", "PASSWORD_VERIFIER", "CUSTOM_CHALLENGE", "DEVICE_SRP_AUTH", "DEVICE_PASSWORD_VERIFIER", "ADMIN_NO_SRP_AUTH", "NEW_PASSWORD_REQUIRED"
# resp.session #=> String
# resp.challenge_parameters #=> Hash
# resp.challenge_parameters["StringType"] #=> String
@@ -8762,10 +8804,24 @@ def set_ui_customization(params = {}, options = {})
# [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/user-pools-API-operations.html
#
# @option params [Types::SMSMfaSettingsType] :sms_mfa_settings
- # The SMS text message multi-factor authentication (MFA) settings.
+ # User preferences for SMS message MFA. Activates or deactivates SMS MFA
+ # and sets it as the preferred MFA method when multiple methods are
+ # available.
#
# @option params [Types::SoftwareTokenMfaSettingsType] :software_token_mfa_settings
- # The time-based one-time password (TOTP) software token MFA settings.
+ # User preferences for time-based one-time password (TOTP) MFA.
+ # Activates or deactivates TOTP MFA and sets it as the preferred MFA
+ # method when multiple methods are available.
+ #
+ # @option params [Types::EmailMfaSettingsType] :email_mfa_settings
+ # User preferences for email message MFA. Activates or deactivates email
+ # MFA and sets it as the preferred MFA method when multiple methods are
+ # available. To activate this setting, [ advanced security features][1]
+ # must be active in your user pool.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
#
# @option params [required, String] :access_token
# A valid access token that Amazon Cognito issued to the user whose MFA
@@ -8784,6 +8840,10 @@ def set_ui_customization(params = {}, options = {})
# enabled: false,
# preferred_mfa: false,
# },
+ # email_mfa_settings: {
+ # enabled: false,
+ # preferred_mfa: false,
+ # },
# access_token: "TokenModelType", # required
# })
#
@@ -8808,7 +8868,7 @@ def set_user_mfa_preference(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -8828,10 +8888,22 @@ def set_user_mfa_preference(params = {}, options = {})
# The user pool ID.
#
# @option params [Types::SmsMfaConfigType] :sms_mfa_configuration
- # The SMS text message MFA configuration.
+ # Configures user pool SMS messages for MFA. Sets the message template
+ # and the SMS message sending configuration for Amazon SNS.
#
# @option params [Types::SoftwareTokenMfaConfigType] :software_token_mfa_configuration
- # The software token MFA configuration.
+ # Configures a user pool for time-based one-time password (TOTP) MFA.
+ # Enables or disables TOTP.
+ #
+ # @option params [Types::EmailMfaConfigType] :email_mfa_configuration
+ # Configures user pool email messages for MFA. Sets the subject and body
+ # of the email message template for MFA messages. To activate this
+ # setting, [ advanced security features][1] must be active in your user
+ # pool.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
#
# @option params [String] :mfa_configuration
# The MFA configuration. If you set the MfaConfiguration value to ‘ON’,
@@ -8854,6 +8926,7 @@ def set_user_mfa_preference(params = {}, options = {})
#
# * {Types::SetUserPoolMfaConfigResponse#sms_mfa_configuration #sms_mfa_configuration} => Types::SmsMfaConfigType
# * {Types::SetUserPoolMfaConfigResponse#software_token_mfa_configuration #software_token_mfa_configuration} => Types::SoftwareTokenMfaConfigType
+ # * {Types::SetUserPoolMfaConfigResponse#email_mfa_configuration #email_mfa_configuration} => Types::EmailMfaConfigType
# * {Types::SetUserPoolMfaConfigResponse#mfa_configuration #mfa_configuration} => String
#
# @example Request syntax with placeholder values
@@ -8871,6 +8944,10 @@ def set_user_mfa_preference(params = {}, options = {})
# software_token_mfa_configuration: {
# enabled: false,
# },
+ # email_mfa_configuration: {
+ # message: "EmailMfaMessageType",
+ # subject: "EmailMfaSubjectType",
+ # },
# mfa_configuration: "OFF", # accepts OFF, ON, OPTIONAL
# })
#
@@ -8881,6 +8958,8 @@ def set_user_mfa_preference(params = {}, options = {})
# resp.sms_mfa_configuration.sms_configuration.external_id #=> String
# resp.sms_mfa_configuration.sms_configuration.sns_region #=> String
# resp.software_token_mfa_configuration.enabled #=> Boolean
+ # resp.email_mfa_configuration.message #=> String
+ # resp.email_mfa_configuration.subject #=> String
# resp.mfa_configuration #=> String, one of "OFF", "ON", "OPTIONAL"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/SetUserPoolMfaConfig AWS API Documentation
@@ -8967,7 +9046,7 @@ def set_user_settings(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -9778,7 +9857,7 @@ def update_resource_server(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -9893,7 +9972,7 @@ def update_user_attributes(params = {}, options = {})
# sign in.
#
# If you have never used SMS text messages with Amazon Cognito or any
- # other Amazon Web Services service, Amazon Simple Notification Service
+ # other Amazon Web Servicesservice, Amazon Simple Notification Service
# might place your account in the SMS sandbox. In sandbox
# mode , you can send messages only to verified phone numbers.
@@ -10282,9 +10361,9 @@ def update_user_pool(params = {}, options = {})
# default for ID and access tokens is hours.
#
# @option params [Array] :read_attributes
- # The list of user attributes that you want your app client to have
- # read-only access to. After your user authenticates in your app, their
- # access token authorizes them to read their own attribute value for any
+ # The list of user attributes that you want your app client to have read
+ # access to. After your user authenticates in your app, their access
+ # token authorizes them to read their own attribute value for any
# attribute in this list. An example of this kind of activity is when
# your user selects a link to view their profile information. Your app
# makes a [GetUser][1] API request to retrieve and display your user's
@@ -10292,11 +10371,11 @@ def update_user_pool(params = {}, options = {})
#
# When you don't specify the `ReadAttributes` for your app client, your
# app can read the values of `email_verified`, `phone_number_verified`,
- # and the Standard attributes of your user pool. When your user pool has
- # read access to these default attributes, `ReadAttributes` doesn't
- # return any information. Amazon Cognito only populates `ReadAttributes`
- # in the API response if you have specified your own custom set of read
- # attributes.
+ # and the Standard attributes of your user pool. When your user pool app
+ # client has read access to these default attributes, `ReadAttributes`
+ # doesn't return any information. Amazon Cognito only populates
+ # `ReadAttributes` in the API response if you have specified your own
+ # custom set of read attributes.
#
#
#
@@ -10854,7 +10933,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cognitoidentityprovider'
- context[:gem_version] = '1.102.0'
+ context[:gem_version] = '1.104.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/client_api.rb b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/client_api.rb
index a309357884c..182d1062ffb 100644
--- a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/client_api.rb
+++ b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/client_api.rb
@@ -202,6 +202,10 @@ module ClientApi
DuplicateProviderException = Shapes::StructureShape.new(name: 'DuplicateProviderException')
EmailAddressType = Shapes::StringShape.new(name: 'EmailAddressType')
EmailConfigurationType = Shapes::StructureShape.new(name: 'EmailConfigurationType')
+ EmailMfaConfigType = Shapes::StructureShape.new(name: 'EmailMfaConfigType')
+ EmailMfaMessageType = Shapes::StringShape.new(name: 'EmailMfaMessageType')
+ EmailMfaSettingsType = Shapes::StructureShape.new(name: 'EmailMfaSettingsType')
+ EmailMfaSubjectType = Shapes::StringShape.new(name: 'EmailMfaSubjectType')
EmailNotificationBodyType = Shapes::StringShape.new(name: 'EmailNotificationBodyType')
EmailNotificationSubjectType = Shapes::StringShape.new(name: 'EmailNotificationSubjectType')
EmailSendingAccountType = Shapes::StringShape.new(name: 'EmailSendingAccountType')
@@ -691,6 +695,7 @@ module ClientApi
AdminSetUserMFAPreferenceRequest.add_member(:sms_mfa_settings, Shapes::ShapeRef.new(shape: SMSMfaSettingsType, location_name: "SMSMfaSettings"))
AdminSetUserMFAPreferenceRequest.add_member(:software_token_mfa_settings, Shapes::ShapeRef.new(shape: SoftwareTokenMfaSettingsType, location_name: "SoftwareTokenMfaSettings"))
+ AdminSetUserMFAPreferenceRequest.add_member(:email_mfa_settings, Shapes::ShapeRef.new(shape: EmailMfaSettingsType, location_name: "EmailMfaSettings"))
AdminSetUserMFAPreferenceRequest.add_member(:username, Shapes::ShapeRef.new(shape: UsernameType, required: true, location_name: "Username"))
AdminSetUserMFAPreferenceRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
AdminSetUserMFAPreferenceRequest.struct_class = Types::AdminSetUserMFAPreferenceRequest
@@ -1132,6 +1137,14 @@ module ClientApi
EmailConfigurationType.add_member(:configuration_set, Shapes::ShapeRef.new(shape: SESConfigurationSet, location_name: "ConfigurationSet"))
EmailConfigurationType.struct_class = Types::EmailConfigurationType
+ EmailMfaConfigType.add_member(:message, Shapes::ShapeRef.new(shape: EmailMfaMessageType, location_name: "Message"))
+ EmailMfaConfigType.add_member(:subject, Shapes::ShapeRef.new(shape: EmailMfaSubjectType, location_name: "Subject"))
+ EmailMfaConfigType.struct_class = Types::EmailMfaConfigType
+
+ EmailMfaSettingsType.add_member(:enabled, Shapes::ShapeRef.new(shape: BooleanType, location_name: "Enabled"))
+ EmailMfaSettingsType.add_member(:preferred_mfa, Shapes::ShapeRef.new(shape: BooleanType, location_name: "PreferredMfa"))
+ EmailMfaSettingsType.struct_class = Types::EmailMfaSettingsType
+
EnableSoftwareTokenMFAException.add_member(:message, Shapes::ShapeRef.new(shape: MessageType, location_name: "message"))
EnableSoftwareTokenMFAException.struct_class = Types::EnableSoftwareTokenMFAException
@@ -1240,6 +1253,7 @@ module ClientApi
GetUserPoolMfaConfigResponse.add_member(:sms_mfa_configuration, Shapes::ShapeRef.new(shape: SmsMfaConfigType, location_name: "SmsMfaConfiguration"))
GetUserPoolMfaConfigResponse.add_member(:software_token_mfa_configuration, Shapes::ShapeRef.new(shape: SoftwareTokenMfaConfigType, location_name: "SoftwareTokenMfaConfiguration"))
+ GetUserPoolMfaConfigResponse.add_member(:email_mfa_configuration, Shapes::ShapeRef.new(shape: EmailMfaConfigType, location_name: "EmailMfaConfiguration"))
GetUserPoolMfaConfigResponse.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
GetUserPoolMfaConfigResponse.struct_class = Types::GetUserPoolMfaConfigResponse
@@ -1655,6 +1669,7 @@ module ClientApi
SetUserMFAPreferenceRequest.add_member(:sms_mfa_settings, Shapes::ShapeRef.new(shape: SMSMfaSettingsType, location_name: "SMSMfaSettings"))
SetUserMFAPreferenceRequest.add_member(:software_token_mfa_settings, Shapes::ShapeRef.new(shape: SoftwareTokenMfaSettingsType, location_name: "SoftwareTokenMfaSettings"))
+ SetUserMFAPreferenceRequest.add_member(:email_mfa_settings, Shapes::ShapeRef.new(shape: EmailMfaSettingsType, location_name: "EmailMfaSettings"))
SetUserMFAPreferenceRequest.add_member(:access_token, Shapes::ShapeRef.new(shape: TokenModelType, required: true, location_name: "AccessToken"))
SetUserMFAPreferenceRequest.struct_class = Types::SetUserMFAPreferenceRequest
@@ -1663,11 +1678,13 @@ module ClientApi
SetUserPoolMfaConfigRequest.add_member(:user_pool_id, Shapes::ShapeRef.new(shape: UserPoolIdType, required: true, location_name: "UserPoolId"))
SetUserPoolMfaConfigRequest.add_member(:sms_mfa_configuration, Shapes::ShapeRef.new(shape: SmsMfaConfigType, location_name: "SmsMfaConfiguration"))
SetUserPoolMfaConfigRequest.add_member(:software_token_mfa_configuration, Shapes::ShapeRef.new(shape: SoftwareTokenMfaConfigType, location_name: "SoftwareTokenMfaConfiguration"))
+ SetUserPoolMfaConfigRequest.add_member(:email_mfa_configuration, Shapes::ShapeRef.new(shape: EmailMfaConfigType, location_name: "EmailMfaConfiguration"))
SetUserPoolMfaConfigRequest.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
SetUserPoolMfaConfigRequest.struct_class = Types::SetUserPoolMfaConfigRequest
SetUserPoolMfaConfigResponse.add_member(:sms_mfa_configuration, Shapes::ShapeRef.new(shape: SmsMfaConfigType, location_name: "SmsMfaConfiguration"))
SetUserPoolMfaConfigResponse.add_member(:software_token_mfa_configuration, Shapes::ShapeRef.new(shape: SoftwareTokenMfaConfigType, location_name: "SoftwareTokenMfaConfiguration"))
+ SetUserPoolMfaConfigResponse.add_member(:email_mfa_configuration, Shapes::ShapeRef.new(shape: EmailMfaConfigType, location_name: "EmailMfaConfiguration"))
SetUserPoolMfaConfigResponse.add_member(:mfa_configuration, Shapes::ShapeRef.new(shape: UserPoolMfaType, location_name: "MfaConfiguration"))
SetUserPoolMfaConfigResponse.struct_class = Types::SetUserPoolMfaConfigResponse
@@ -2298,6 +2315,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: InvalidLambdaResponseException)
o.errors << Shapes::ShapeRef.new(shape: MFAMethodNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleAccessPolicyException)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
o.errors << Shapes::ShapeRef.new(shape: PasswordResetRequiredException)
o.errors << Shapes::ShapeRef.new(shape: UserNotFoundException)
@@ -2430,6 +2448,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: InvalidUserPoolConfigurationException)
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
o.errors << Shapes::ShapeRef.new(shape: MFAMethodNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleAccessPolicyException)
o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
o.errors << Shapes::ShapeRef.new(shape: AliasExistsException)
@@ -3217,6 +3236,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleAccessPolicyException)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
end)
@@ -3450,6 +3470,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: UserNotConfirmedException)
o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleAccessPolicyException)
o.errors << Shapes::ShapeRef.new(shape: InvalidSmsRoleTrustRelationshipException)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidEmailRoleAccessPolicyException)
o.errors << Shapes::ShapeRef.new(shape: AliasExistsException)
o.errors << Shapes::ShapeRef.new(shape: InternalErrorException)
o.errors << Shapes::ShapeRef.new(shape: SoftwareTokenMFANotFoundException)
diff --git a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/endpoints.rb b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/endpoints.rb
index 5295f3fc004..348ad8c5765 100644
--- a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/endpoints.rb
+++ b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/endpoints.rb
@@ -14,1442 +14,1133 @@ module Endpoints
class AddCustomAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminAddUserToGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminConfirmSignUp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminCreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminDeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminDeleteUserAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminDisableProviderForUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminDisableUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminEnableUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminForgetDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminGetDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminGetUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminInitiateAuth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminLinkProviderForUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminListDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminListGroupsForUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminListUserAuthEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminRemoveUserFromGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminResetUserPassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminRespondToAuthChallenge
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminSetUserMFAPreference
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminSetUserPassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminSetUserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminUpdateAuthEventFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminUpdateDeviceStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminUpdateUserAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdminUserGlobalSignOut
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateSoftwareToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ChangePassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfirmDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfirmForgotPassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfirmSignUp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIdentityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResourceServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserPoolClient
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserPoolDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdentityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourceServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserPoolClient
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserPoolDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIdentityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourceServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRiskConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUserImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUserPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUserPoolClient
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUserPoolDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ForgetDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ForgotPassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCSVHeader
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdentityProviderByIdentifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLogDeliveryConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSigningCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUICustomization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserAttributeVerificationCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserPoolMfaConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GlobalSignOut
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InitiateAuth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentityProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserPoolClients
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserPools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsersInGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResendConfirmationCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RespondToAuthChallenge
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetLogDeliveryConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetRiskConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetUICustomization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetUserMFAPreference
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetUserPoolMfaConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetUserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SignUp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartUserImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopUserImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAuthEventFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeviceStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIdentityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResourceServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserPoolClient
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserPoolDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifySoftwareToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyUserAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoIdentityProvider::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/plugins/endpoints.rb b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/plugins/endpoints.rb
index d07d5460b4d..5c3ffe6af2f 100644
--- a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/plugins/endpoints.rb
+++ b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb
index c0002b53131..190fe8da543 100644
--- a/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb
+++ b/gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb
@@ -762,7 +762,7 @@ class AdminGetUserRequest < Struct.new(
#
# @!attribute [rw] user_mfa_setting_list
# The MFA options that are activated for the user. The possible values
- # in this list are `SMS_MFA` and `SOFTWARE_TOKEN_MFA`.
+ # in this list are `SMS_MFA`, `EMAIL_OTP`, and `SOFTWARE_TOKEN_MFA`.
# @return [Array]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminGetUserResponse AWS API Documentation
@@ -960,11 +960,15 @@ class AdminInitiateAuthRequest < Struct.new(
# to authenticate.
#
# * `SELECT_MFA_TYPE`: Selects the MFA type. Valid MFA options are
- # `SMS_MFA` for text SMS MFA, and `SOFTWARE_TOKEN_MFA` for
- # time-based one-time password (TOTP) software token MFA.
+ # `SMS_MFA` for SMS message MFA, `EMAIL_OTP` for email message MFA,
+ # and `SOFTWARE_TOKEN_MFA` for time-based one-time password (TOTP)
+ # software token MFA.
#
- # * `SMS_MFA`: Next challenge is to supply an `SMS_MFA_CODE`,
- # delivered via SMS.
+ # * `SMS_MFA`: Next challenge is to supply an `SMS_MFA_CODE`that your
+ # user pool delivered in an SMS message.
+ #
+ # * `EMAIL_OTP`: Next challenge is to supply an `EMAIL_OTP_CODE` that
+ # your user pool delivered in an email message.
#
# * `PASSWORD_VERIFIER`: Next challenge is to supply
# `PASSWORD_CLAIM_SIGNATURE`, `PASSWORD_CLAIM_SECRET_BLOCK`, and
@@ -1430,11 +1434,21 @@ class AdminResetUserPasswordResponse < Aws::EmptyStructure; end
# SMS\_MFA
#
# : `"ChallengeName": "SMS_MFA", "ChallengeResponses":
- # \{"SMS_MFA_CODE": "[SMS_code]", "USERNAME": "[username]"\}`
+ # \{"SMS_MFA_CODE": "[code]", "USERNAME": "[username]"\}`
+ #
+ # EMAIL\_OTP
+ #
+ # : `"ChallengeName": "EMAIL_OTP", "ChallengeResponses":
+ # \{"EMAIL_OTP_CODE": "[code]", "USERNAME": "[username]"\}`
#
# PASSWORD\_VERIFIER
#
- # : `"ChallengeName": "PASSWORD_VERIFIER", "ChallengeResponses":
+ # : This challenge response is part of the SRP flow. Amazon Cognito
+ # requires that your application respond to this challenge within a
+ # few seconds. When the response time exceeds this period, your user
+ # pool returns a `NotAuthorizedException` error.
+ #
+ # `"ChallengeName": "PASSWORD_VERIFIER", "ChallengeResponses":
# \{"PASSWORD_CLAIM_SIGNATURE": "[claim_signature]",
# "PASSWORD_CLAIM_SECRET_BLOCK": "[secret_block]", "TIMESTAMP":
# [timestamp], "USERNAME": "[username]"\}`
@@ -1648,13 +1662,28 @@ class AdminRespondToAuthChallengeResponse < Struct.new(
end
# @!attribute [rw] sms_mfa_settings
- # The SMS text message MFA settings.
+ # User preferences for SMS message MFA. Activates or deactivates SMS
+ # MFA and sets it as the preferred MFA method when multiple methods
+ # are available.
# @return [Types::SMSMfaSettingsType]
#
# @!attribute [rw] software_token_mfa_settings
- # The time-based one-time password software token MFA settings.
+ # User preferences for time-based one-time password (TOTP) MFA.
+ # Activates or deactivates TOTP MFA and sets it as the preferred MFA
+ # method when multiple methods are available.
# @return [Types::SoftwareTokenMfaSettingsType]
#
+ # @!attribute [rw] email_mfa_settings
+ # User preferences for email message MFA. Activates or deactivates
+ # email MFA and sets it as the preferred MFA method when multiple
+ # methods are available. To activate this setting, [ advanced security
+ # features][1] must be active in your user pool.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
+ # @return [Types::EmailMfaSettingsType]
+ #
# @!attribute [rw] username
# The username of the user that you want to query or modify. The value
# of this parameter is typically your user's username, but it can be
@@ -1664,7 +1693,8 @@ class AdminRespondToAuthChallengeResponse < Struct.new(
# @return [String]
#
# @!attribute [rw] user_pool_id
- # The user pool ID.
+ # The ID of the user pool where you want to set a user's MFA
+ # preferences.
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/AdminSetUserMFAPreferenceRequest AWS API Documentation
@@ -1672,6 +1702,7 @@ class AdminRespondToAuthChallengeResponse < Struct.new(
class AdminSetUserMFAPreferenceRequest < Struct.new(
:sms_mfa_settings,
:software_token_mfa_settings,
+ :email_mfa_settings,
:username,
:user_pool_id)
SENSITIVE = [:username]
@@ -3115,20 +3146,21 @@ class CreateUserImportJobResponse < Struct.new(
#
# @!attribute [rw] read_attributes
# The list of user attributes that you want your app client to have
- # read-only access to. After your user authenticates in your app,
- # their access token authorizes them to read their own attribute value
- # for any attribute in this list. An example of this kind of activity
- # is when your user selects a link to view their profile information.
+ # read access to. After your user authenticates in your app, their
+ # access token authorizes them to read their own attribute value for
+ # any attribute in this list. An example of this kind of activity is
+ # when your user selects a link to view their profile information.
# Your app makes a [GetUser][1] API request to retrieve and display
# your user's profile data.
#
# When you don't specify the `ReadAttributes` for your app client,
# your app can read the values of `email_verified`,
# `phone_number_verified`, and the Standard attributes of your user
- # pool. When your user pool has read access to these default
- # attributes, `ReadAttributes` doesn't return any information. Amazon
- # Cognito only populates `ReadAttributes` in the API response if you
- # have specified your own custom set of read attributes.
+ # pool. When your user pool app client has read access to these
+ # default attributes, `ReadAttributes` doesn't return any
+ # information. Amazon Cognito only populates `ReadAttributes` in the
+ # API response if you have specified your own custom set of read
+ # attributes.
#
#
#
@@ -4503,6 +4535,66 @@ class EmailConfigurationType < Struct.new(
include Aws::Structure
end
+ # Sets or shows user pool email message configuration for MFA. Includes
+ # the subject and body of the email message template for MFA messages.
+ # To activate this setting, [ advanced security features][1] must be
+ # active in your user pool.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
+ #
+ # @!attribute [rw] message
+ # The template for the email message that your user pool sends to
+ # users with an MFA code. The message must contain the `\{####\}`
+ # placeholder. In the message, Amazon Cognito replaces this
+ # placeholder with the code. If you don't provide this parameter,
+ # Amazon Cognito sends messages in the default format.
+ # @return [String]
+ #
+ # @!attribute [rw] subject
+ # The subject of the email message that your user pool sends to users
+ # with an MFA code.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EmailMfaConfigType AWS API Documentation
+ #
+ class EmailMfaConfigType < Struct.new(
+ :message,
+ :subject)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # User preferences for multi-factor authentication with email messages.
+ # Activates or deactivates email MFA and sets it as the preferred MFA
+ # method when multiple methods are available. To activate this setting,
+ # [ advanced security features][1] must be active in your user pool.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
+ #
+ # @!attribute [rw] enabled
+ # Specifies whether email message MFA is active for a user. When the
+ # value of this parameter is `Enabled`, the user will be prompted for
+ # MFA during all sign-in attempts, unless device tracking is turned on
+ # and the device has been trusted.
+ # @return [Boolean]
+ #
+ # @!attribute [rw] preferred_mfa
+ # Specifies whether email message MFA is the user's preferred method.
+ # @return [Boolean]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/EmailMfaSettingsType AWS API Documentation
+ #
+ class EmailMfaSettingsType < Struct.new(
+ :enabled,
+ :preferred_mfa)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# This exception is thrown when there is a code mismatch and the service
# fails to configure the software token TOTP multi-factor authentication
# (MFA).
@@ -5074,14 +5166,27 @@ class GetUserPoolMfaConfigRequest < Struct.new(
end
# @!attribute [rw] sms_mfa_configuration
- # The SMS text message multi-factor authentication (MFA)
- # configuration.
+ # Shows user pool SMS message configuration for MFA. Includes the
+ # message template and the SMS message sending configuration for
+ # Amazon SNS.
# @return [Types::SmsMfaConfigType]
#
# @!attribute [rw] software_token_mfa_configuration
- # The software token multi-factor authentication (MFA) configuration.
+ # Shows user pool configuration for time-based one-time password
+ # (TOTP) MFA. Includes TOTP enabled or disabled state.
# @return [Types::SoftwareTokenMfaConfigType]
#
+ # @!attribute [rw] email_mfa_configuration
+ # Shows user pool email message configuration for MFA. Includes the
+ # subject and body of the email message template for MFA messages. To
+ # activate this setting, [ advanced security features][1] must be
+ # active in your user pool.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
+ # @return [Types::EmailMfaConfigType]
+ #
# @!attribute [rw] mfa_configuration
# The multi-factor authentication (MFA) configuration. Valid values
# include:
@@ -5099,6 +5204,7 @@ class GetUserPoolMfaConfigRequest < Struct.new(
class GetUserPoolMfaConfigResponse < Struct.new(
:sms_mfa_configuration,
:software_token_mfa_configuration,
+ :email_mfa_configuration,
:mfa_configuration)
SENSITIVE = []
include Aws::Structure
@@ -5147,7 +5253,7 @@ class GetUserRequest < Struct.new(
#
# @!attribute [rw] user_mfa_setting_list
# The MFA options that are activated for the user. The possible values
- # in this list are `SMS_MFA` and `SOFTWARE_TOKEN_MFA`.
+ # in this list are `SMS_MFA`, `EMAIL_OTP`, and `SOFTWARE_TOKEN_MFA`.
# @return [Array]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/cognito-idp-2016-04-18/GetUserResponse AWS API Documentation
@@ -5629,8 +5735,11 @@ class InitiateAuthRequest < Struct.new(
#
#
#
- # * `SMS_MFA`: Next challenge is to supply an `SMS_MFA_CODE`,
- # delivered via SMS.
+ # * `SMS_MFA`: Next challenge is to supply an `SMS_MFA_CODE`that your
+ # user pool delivered in an SMS message.
+ #
+ # * `EMAIL_OTP`: Next challenge is to supply an `EMAIL_OTP_CODE` that
+ # your user pool delivered in an email message.
#
# * `PASSWORD_VERIFIER`: Next challenge is to supply
# `PASSWORD_CLAIM_SIGNATURE`, `PASSWORD_CLAIM_SECRET_BLOCK`, and
@@ -7231,11 +7340,21 @@ class ResourceServerType < Struct.new(
# SMS\_MFA
#
# : `"ChallengeName": "SMS_MFA", "ChallengeResponses":
- # \{"SMS_MFA_CODE": "[SMS_code]", "USERNAME": "[username]"\}`
+ # \{"SMS_MFA_CODE": "[code]", "USERNAME": "[username]"\}`
+ #
+ # EMAIL\_OTP
+ #
+ # : `"ChallengeName": "EMAIL_OTP", "ChallengeResponses":
+ # \{"EMAIL_OTP_CODE": "[code]", "USERNAME": "[username]"\}`
#
# PASSWORD\_VERIFIER
#
- # : `"ChallengeName": "PASSWORD_VERIFIER", "ChallengeResponses":
+ # : This challenge response is part of the SRP flow. Amazon Cognito
+ # requires that your application respond to this challenge within a
+ # few seconds. When the response time exceeds this period, your user
+ # pool returns a `NotAuthorizedException` error.
+ #
+ # `"ChallengeName": "PASSWORD_VERIFIER", "ChallengeResponses":
# \{"PASSWORD_CLAIM_SIGNATURE": "[claim_signature]",
# "PASSWORD_CLAIM_SECRET_BLOCK": "[secret_block]", "TIMESTAMP":
# [timestamp], "USERNAME": "[username]"\}`
@@ -7541,10 +7660,10 @@ class S3ConfigurationType < Struct.new(
# for the user pool.
#
# @!attribute [rw] enabled
- # Specifies whether SMS text message MFA is activated. If an MFA type
- # is activated for a user, the user will be prompted for MFA during
- # all sign-in attempts, unless device tracking is turned on and the
- # device has been trusted.
+ # Specifies whether SMS message MFA is activated. If an MFA type is
+ # activated for a user, the user will be prompted for MFA during all
+ # sign-in attempts, unless device tracking is turned on and the device
+ # has been trusted.
# @return [Boolean]
#
# @!attribute [rw] preferred_mfa
@@ -7791,13 +7910,28 @@ class SetUICustomizationResponse < Struct.new(
end
# @!attribute [rw] sms_mfa_settings
- # The SMS text message multi-factor authentication (MFA) settings.
+ # User preferences for SMS message MFA. Activates or deactivates SMS
+ # MFA and sets it as the preferred MFA method when multiple methods
+ # are available.
# @return [Types::SMSMfaSettingsType]
#
# @!attribute [rw] software_token_mfa_settings
- # The time-based one-time password (TOTP) software token MFA settings.
+ # User preferences for time-based one-time password (TOTP) MFA.
+ # Activates or deactivates TOTP MFA and sets it as the preferred MFA
+ # method when multiple methods are available.
# @return [Types::SoftwareTokenMfaSettingsType]
#
+ # @!attribute [rw] email_mfa_settings
+ # User preferences for email message MFA. Activates or deactivates
+ # email MFA and sets it as the preferred MFA method when multiple
+ # methods are available. To activate this setting, [ advanced security
+ # features][1] must be active in your user pool.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
+ # @return [Types::EmailMfaSettingsType]
+ #
# @!attribute [rw] access_token
# A valid access token that Amazon Cognito issued to the user whose
# MFA preference you want to set.
@@ -7808,6 +7942,7 @@ class SetUICustomizationResponse < Struct.new(
class SetUserMFAPreferenceRequest < Struct.new(
:sms_mfa_settings,
:software_token_mfa_settings,
+ :email_mfa_settings,
:access_token)
SENSITIVE = [:access_token]
include Aws::Structure
@@ -7822,13 +7957,26 @@ class SetUserMFAPreferenceResponse < Aws::EmptyStructure; end
# @return [String]
#
# @!attribute [rw] sms_mfa_configuration
- # The SMS text message MFA configuration.
+ # Configures user pool SMS messages for MFA. Sets the message template
+ # and the SMS message sending configuration for Amazon SNS.
# @return [Types::SmsMfaConfigType]
#
# @!attribute [rw] software_token_mfa_configuration
- # The software token MFA configuration.
+ # Configures a user pool for time-based one-time password (TOTP) MFA.
+ # Enables or disables TOTP.
# @return [Types::SoftwareTokenMfaConfigType]
#
+ # @!attribute [rw] email_mfa_configuration
+ # Configures user pool email messages for MFA. Sets the subject and
+ # body of the email message template for MFA messages. To activate
+ # this setting, [ advanced security features][1] must be active in
+ # your user pool.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
+ # @return [Types::EmailMfaConfigType]
+ #
# @!attribute [rw] mfa_configuration
# The MFA configuration. If you set the MfaConfiguration value to
# ‘ON’, only users who have set up an MFA factor can sign in. To learn
@@ -7853,19 +8001,34 @@ class SetUserPoolMfaConfigRequest < Struct.new(
:user_pool_id,
:sms_mfa_configuration,
:software_token_mfa_configuration,
+ :email_mfa_configuration,
:mfa_configuration)
SENSITIVE = []
include Aws::Structure
end
# @!attribute [rw] sms_mfa_configuration
- # The SMS text message MFA configuration.
+ # Shows user pool SMS message configuration for MFA. Includes the
+ # message template and the SMS message sending configuration for
+ # Amazon SNS.
# @return [Types::SmsMfaConfigType]
#
# @!attribute [rw] software_token_mfa_configuration
- # The software token MFA configuration.
+ # Shows user pool configuration for time-based one-time password
+ # (TOTP) MFA. Includes TOTP enabled or disabled state.
# @return [Types::SoftwareTokenMfaConfigType]
#
+ # @!attribute [rw] email_mfa_configuration
+ # Shows user pool email message configuration for MFA. Includes the
+ # subject and body of the email message template for MFA messages. To
+ # activate this setting, [ advanced security features][1] must be
+ # active in your user pool.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pool-settings-advanced-security.html
+ # @return [Types::EmailMfaConfigType]
+ #
# @!attribute [rw] mfa_configuration
# The MFA configuration. Valid values include:
#
@@ -7882,6 +8045,7 @@ class SetUserPoolMfaConfigRequest < Struct.new(
class SetUserPoolMfaConfigResponse < Struct.new(
:sms_mfa_configuration,
:software_token_mfa_configuration,
+ :email_mfa_configuration,
:mfa_configuration)
SENSITIVE = []
include Aws::Structure
@@ -8122,14 +8286,16 @@ class SmsConfigurationType < Struct.new(
include Aws::Structure
end
- # The SMS text message multi-factor authentication (MFA) configuration
- # type.
+ # Configures user pool SMS messages for multi-factor authentication
+ # (MFA). Sets the message template and the SMS message sending
+ # configuration for Amazon SNS.
#
# @!attribute [rw] sms_authentication_message
- # The SMS authentication message that will be sent to users with the
- # code they must sign in. The message must contain the ‘\\\{####\\}’
- # placeholder, which is replaced with the code. If the message isn't
- # included, and default message will be used.
+ # The SMS message that your user pool sends to users with an MFA code.
+ # The message must contain the `\{####\}` placeholder. In the message,
+ # Amazon Cognito replaces this placeholder with the code. If you
+ # don't provide this parameter, Amazon Cognito sends messages in the
+ # default format.
# @return [String]
#
# @!attribute [rw] sms_configuration
@@ -8165,7 +8331,8 @@ class SoftwareTokenMFANotFoundException < Struct.new(
include Aws::Structure
end
- # The type used for enabling software token MFA at the user pool level.
+ # Configures a user pool for time-based one-time password (TOTP)
+ # multi-factor authentication (MFA). Enables or disables TOTP.
#
# @!attribute [rw] enabled
# Specifies whether software token MFA is activated.
@@ -9046,20 +9213,21 @@ class UpdateUserAttributesResponse < Struct.new(
#
# @!attribute [rw] read_attributes
# The list of user attributes that you want your app client to have
- # read-only access to. After your user authenticates in your app,
- # their access token authorizes them to read their own attribute value
- # for any attribute in this list. An example of this kind of activity
- # is when your user selects a link to view their profile information.
+ # read access to. After your user authenticates in your app, their
+ # access token authorizes them to read their own attribute value for
+ # any attribute in this list. An example of this kind of activity is
+ # when your user selects a link to view their profile information.
# Your app makes a [GetUser][1] API request to retrieve and display
# your user's profile data.
#
# When you don't specify the `ReadAttributes` for your app client,
# your app can read the values of `email_verified`,
# `phone_number_verified`, and the Standard attributes of your user
- # pool. When your user pool has read access to these default
- # attributes, `ReadAttributes` doesn't return any information. Amazon
- # Cognito only populates `ReadAttributes` in the API response if you
- # have specified your own custom set of read attributes.
+ # pool. When your user pool app client has read access to these
+ # default attributes, `ReadAttributes` doesn't return any
+ # information. Amazon Cognito only populates `ReadAttributes` in the
+ # API response if you have specified your own custom set of read
+ # attributes.
#
#
#
@@ -9996,20 +10164,21 @@ class UserPoolClientDescription < Struct.new(
#
# @!attribute [rw] read_attributes
# The list of user attributes that you want your app client to have
- # read-only access to. After your user authenticates in your app,
- # their access token authorizes them to read their own attribute value
- # for any attribute in this list. An example of this kind of activity
- # is when your user selects a link to view their profile information.
+ # read access to. After your user authenticates in your app, their
+ # access token authorizes them to read their own attribute value for
+ # any attribute in this list. An example of this kind of activity is
+ # when your user selects a link to view their profile information.
# Your app makes a [GetUser][1] API request to retrieve and display
# your user's profile data.
#
# When you don't specify the `ReadAttributes` for your app client,
# your app can read the values of `email_verified`,
# `phone_number_verified`, and the Standard attributes of your user
- # pool. When your user pool has read access to these default
- # attributes, `ReadAttributes` doesn't return any information. Amazon
- # Cognito only populates `ReadAttributes` in the API response if you
- # have specified your own custom set of read attributes.
+ # pool. When your user pool app client has read access to these
+ # default attributes, `ReadAttributes` doesn't return any
+ # information. Amazon Cognito only populates `ReadAttributes` in the
+ # API response if you have specified your own custom set of read
+ # attributes.
#
#
#
diff --git a/gems/aws-sdk-cognitoidentityprovider/sig/client.rbs b/gems/aws-sdk-cognitoidentityprovider/sig/client.rbs
index e48787e6d47..c6173e704d6 100644
--- a/gems/aws-sdk-cognitoidentityprovider/sig/client.rbs
+++ b/gems/aws-sdk-cognitoidentityprovider/sig/client.rbs
@@ -241,7 +241,7 @@ module Aws
interface _AdminInitiateAuthResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::AdminInitiateAuthResponse]
- def challenge_name: () -> ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
+ def challenge_name: () -> ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
def session: () -> ::String
def challenge_parameters: () -> ::Hash[::String, ::String]
def authentication_result: () -> Types::AuthenticationResultType
@@ -353,7 +353,7 @@ module Aws
interface _AdminRespondToAuthChallengeResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::AdminRespondToAuthChallengeResponse]
- def challenge_name: () -> ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
+ def challenge_name: () -> ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
def session: () -> ::String
def challenge_parameters: () -> ::Hash[::String, ::String]
def authentication_result: () -> Types::AuthenticationResultType
@@ -362,7 +362,7 @@ module Aws
def admin_respond_to_auth_challenge: (
user_pool_id: ::String,
client_id: ::String,
- challenge_name: ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED"),
+ challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED"),
?challenge_responses: Hash[::String, ::String],
?session: ::String,
?analytics_metadata: {
@@ -397,6 +397,10 @@ module Aws
enabled: bool?,
preferred_mfa: bool?
},
+ ?email_mfa_settings: {
+ enabled: bool?,
+ preferred_mfa: bool?
+ },
username: ::String,
user_pool_id: ::String
) -> _AdminSetUserMFAPreferenceResponseSuccess
@@ -1069,6 +1073,7 @@ module Aws
include ::Seahorse::Client::_ResponseSuccess[Types::GetUserPoolMfaConfigResponse]
def sms_mfa_configuration: () -> Types::SmsMfaConfigType
def software_token_mfa_configuration: () -> Types::SoftwareTokenMfaConfigType
+ def email_mfa_configuration: () -> Types::EmailMfaConfigType
def mfa_configuration: () -> ("OFF" | "ON" | "OPTIONAL")
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#get_user_pool_mfa_config-instance_method
@@ -1088,7 +1093,7 @@ module Aws
interface _InitiateAuthResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::InitiateAuthResponse]
- def challenge_name: () -> ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
+ def challenge_name: () -> ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
def session: () -> ::String
def challenge_parameters: () -> ::Hash[::String, ::String]
def authentication_result: () -> Types::AuthenticationResultType
@@ -1260,7 +1265,7 @@ module Aws
interface _RespondToAuthChallengeResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::RespondToAuthChallengeResponse]
- def challenge_name: () -> ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
+ def challenge_name: () -> ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
def session: () -> ::String
def challenge_parameters: () -> ::Hash[::String, ::String]
def authentication_result: () -> Types::AuthenticationResultType
@@ -1268,7 +1273,7 @@ module Aws
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#respond_to_auth_challenge-instance_method
def respond_to_auth_challenge: (
client_id: ::String,
- challenge_name: ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED"),
+ challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED"),
?session: ::String,
?challenge_responses: Hash[::String, ::String],
?analytics_metadata: {
@@ -1401,6 +1406,10 @@ module Aws
enabled: bool?,
preferred_mfa: bool?
},
+ ?email_mfa_settings: {
+ enabled: bool?,
+ preferred_mfa: bool?
+ },
access_token: ::String
) -> _SetUserMFAPreferenceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetUserMFAPreferenceResponseSuccess
@@ -1409,6 +1418,7 @@ module Aws
include ::Seahorse::Client::_ResponseSuccess[Types::SetUserPoolMfaConfigResponse]
def sms_mfa_configuration: () -> Types::SmsMfaConfigType
def software_token_mfa_configuration: () -> Types::SoftwareTokenMfaConfigType
+ def email_mfa_configuration: () -> Types::EmailMfaConfigType
def mfa_configuration: () -> ("OFF" | "ON" | "OPTIONAL")
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CognitoIdentityProvider/Client.html#set_user_pool_mfa_config-instance_method
@@ -1425,6 +1435,10 @@ module Aws
?software_token_mfa_configuration: {
enabled: bool?
},
+ ?email_mfa_configuration: {
+ message: ::String?,
+ subject: ::String?
+ },
?mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
) -> _SetUserPoolMfaConfigResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SetUserPoolMfaConfigResponseSuccess
diff --git a/gems/aws-sdk-cognitoidentityprovider/sig/types.rbs b/gems/aws-sdk-cognitoidentityprovider/sig/types.rbs
index fa6afaf768f..72f0370ad1b 100644
--- a/gems/aws-sdk-cognitoidentityprovider/sig/types.rbs
+++ b/gems/aws-sdk-cognitoidentityprovider/sig/types.rbs
@@ -176,7 +176,7 @@ module Aws::CognitoIdentityProvider
end
class AdminInitiateAuthResponse
- attr_accessor challenge_name: ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
attr_accessor session: ::String
attr_accessor challenge_parameters: ::Hash[::String, ::String]
attr_accessor authentication_result: Types::AuthenticationResultType
@@ -255,7 +255,7 @@ module Aws::CognitoIdentityProvider
class AdminRespondToAuthChallengeRequest
attr_accessor user_pool_id: ::String
attr_accessor client_id: ::String
- attr_accessor challenge_name: ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
attr_accessor challenge_responses: ::Hash[::String, ::String]
attr_accessor session: ::String
attr_accessor analytics_metadata: Types::AnalyticsMetadataType
@@ -265,7 +265,7 @@ module Aws::CognitoIdentityProvider
end
class AdminRespondToAuthChallengeResponse
- attr_accessor challenge_name: ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
attr_accessor session: ::String
attr_accessor challenge_parameters: ::Hash[::String, ::String]
attr_accessor authentication_result: Types::AuthenticationResultType
@@ -275,6 +275,7 @@ module Aws::CognitoIdentityProvider
class AdminSetUserMFAPreferenceRequest
attr_accessor sms_mfa_settings: Types::SMSMfaSettingsType
attr_accessor software_token_mfa_settings: Types::SoftwareTokenMfaSettingsType
+ attr_accessor email_mfa_settings: Types::EmailMfaSettingsType
attr_accessor username: ::String
attr_accessor user_pool_id: ::String
SENSITIVE: [:username]
@@ -836,6 +837,18 @@ module Aws::CognitoIdentityProvider
SENSITIVE: []
end
+ class EmailMfaConfigType
+ attr_accessor message: ::String
+ attr_accessor subject: ::String
+ SENSITIVE: []
+ end
+
+ class EmailMfaSettingsType
+ attr_accessor enabled: bool
+ attr_accessor preferred_mfa: bool
+ SENSITIVE: []
+ end
+
class EnableSoftwareTokenMFAException
attr_accessor message: ::String
SENSITIVE: []
@@ -995,6 +1008,7 @@ module Aws::CognitoIdentityProvider
class GetUserPoolMfaConfigResponse
attr_accessor sms_mfa_configuration: Types::SmsMfaConfigType
attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
+ attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
SENSITIVE: []
end
@@ -1066,7 +1080,7 @@ module Aws::CognitoIdentityProvider
end
class InitiateAuthResponse
- attr_accessor challenge_name: ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
attr_accessor session: ::String
attr_accessor challenge_parameters: ::Hash[::String, ::String]
attr_accessor authentication_result: Types::AuthenticationResultType
@@ -1426,7 +1440,7 @@ module Aws::CognitoIdentityProvider
class RespondToAuthChallengeRequest
attr_accessor client_id: ::String
- attr_accessor challenge_name: ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
attr_accessor session: ::String
attr_accessor challenge_responses: ::Hash[::String, ::String]
attr_accessor analytics_metadata: Types::AnalyticsMetadataType
@@ -1436,7 +1450,7 @@ module Aws::CognitoIdentityProvider
end
class RespondToAuthChallengeResponse
- attr_accessor challenge_name: ("SMS_MFA" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
+ attr_accessor challenge_name: ("SMS_MFA" | "EMAIL_OTP" | "SOFTWARE_TOKEN_MFA" | "SELECT_MFA_TYPE" | "MFA_SETUP" | "PASSWORD_VERIFIER" | "CUSTOM_CHALLENGE" | "DEVICE_SRP_AUTH" | "DEVICE_PASSWORD_VERIFIER" | "ADMIN_NO_SRP_AUTH" | "NEW_PASSWORD_REQUIRED")
attr_accessor session: ::String
attr_accessor challenge_parameters: ::Hash[::String, ::String]
attr_accessor authentication_result: Types::AuthenticationResultType
@@ -1537,6 +1551,7 @@ module Aws::CognitoIdentityProvider
class SetUserMFAPreferenceRequest
attr_accessor sms_mfa_settings: Types::SMSMfaSettingsType
attr_accessor software_token_mfa_settings: Types::SoftwareTokenMfaSettingsType
+ attr_accessor email_mfa_settings: Types::EmailMfaSettingsType
attr_accessor access_token: ::String
SENSITIVE: [:access_token]
end
@@ -1548,6 +1563,7 @@ module Aws::CognitoIdentityProvider
attr_accessor user_pool_id: ::String
attr_accessor sms_mfa_configuration: Types::SmsMfaConfigType
attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
+ attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
SENSITIVE: []
end
@@ -1555,6 +1571,7 @@ module Aws::CognitoIdentityProvider
class SetUserPoolMfaConfigResponse
attr_accessor sms_mfa_configuration: Types::SmsMfaConfigType
attr_accessor software_token_mfa_configuration: Types::SoftwareTokenMfaConfigType
+ attr_accessor email_mfa_configuration: Types::EmailMfaConfigType
attr_accessor mfa_configuration: ("OFF" | "ON" | "OPTIONAL")
SENSITIVE: []
end
diff --git a/gems/aws-sdk-cognitoidentityprovider/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cognitoidentityprovider/spec/endpoint_provider_spec.rb
index 0834890217d..d1ba0ff9ca7 100644
--- a/gems/aws-sdk-cognitoidentityprovider/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cognitoidentityprovider/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CognitoIdentityProvider
describe EndpointProvider do
subject { Aws::CognitoIdentityProvider::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.me-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.us-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.us-east-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.us-east-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.us-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.us-west-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.us-west-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.cn-north-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.us-gov-west-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.us-gov-east-1.api.aws"}}
end
@@ -434,7 +434,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -489,7 +489,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -503,7 +503,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -516,7 +516,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.us-iso-east-1.c2s.ic.gov"}}
end
@@ -530,7 +530,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -543,7 +543,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -557,7 +557,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -570,7 +570,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-idp.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -584,7 +584,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -625,7 +625,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -638,7 +638,7 @@ module Aws::CognitoIdentityProvider
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-cognitosync/CHANGELOG.md b/gems/aws-sdk-cognitosync/CHANGELOG.md
index d845dfaf510..ed614e3ad28 100644
--- a/gems/aws-sdk-cognitosync/CHANGELOG.md
+++ b/gems/aws-sdk-cognitosync/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.58.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.57.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-cognitosync/VERSION b/gems/aws-sdk-cognitosync/VERSION
index 373aea97570..79f82f6b8e0 100644
--- a/gems/aws-sdk-cognitosync/VERSION
+++ b/gems/aws-sdk-cognitosync/VERSION
@@ -1 +1 @@
-1.57.0
+1.58.0
diff --git a/gems/aws-sdk-cognitosync/aws-sdk-cognitosync.gemspec b/gems/aws-sdk-cognitosync/aws-sdk-cognitosync.gemspec
index 0271c1de2f0..2fbd0e60c6b 100644
--- a/gems/aws-sdk-cognitosync/aws-sdk-cognitosync.gemspec
+++ b/gems/aws-sdk-cognitosync/aws-sdk-cognitosync.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-cognitosync/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync.rb b/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync.rb
index dacbea10c1c..0ab508a4321 100644
--- a/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync.rb
+++ b/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CognitoSync
- GEM_VERSION = '1.57.0'
+ GEM_VERSION = '1.58.0'
end
diff --git a/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/client.rb b/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/client.rb
index 229728d4ea6..addee72d55b 100644
--- a/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/client.rb
+++ b/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/client.rb
@@ -1309,7 +1309,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-cognitosync'
- context[:gem_version] = '1.57.0'
+ context[:gem_version] = '1.58.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/endpoints.rb b/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/endpoints.rb
index 8a81155b99c..d1ca5bcf7d8 100644
--- a/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/endpoints.rb
+++ b/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/endpoints.rb
@@ -14,238 +14,187 @@ module Endpoints
class BulkPublish
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIdentityPoolUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIdentityUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBulkPublishDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCognitoEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdentityPoolConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentityPoolUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetCognitoEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetIdentityPoolConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SubscribeToDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnsubscribeFromDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CognitoSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/plugins/endpoints.rb b/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/plugins/endpoints.rb
index 44179156582..5f2abfb2da6 100644
--- a/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/plugins/endpoints.rb
+++ b/gems/aws-sdk-cognitosync/lib/aws-sdk-cognitosync/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-cognitosync/spec/endpoint_provider_spec.rb b/gems/aws-sdk-cognitosync/spec/endpoint_provider_spec.rb
index 184b90349f4..7d5c50a4a97 100644
--- a/gems/aws-sdk-cognitosync/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-cognitosync/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CognitoSync
describe EndpointProvider do
subject { Aws::CognitoSync::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CognitoSync
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CognitoSync
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CognitoSync
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CognitoSync
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CognitoSync
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.eu-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CognitoSync
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.eu-west-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CognitoSync
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.eu-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.us-east-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.us-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync-fips.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync-fips.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::CognitoSync
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::CognitoSync
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::CognitoSync
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::CognitoSync
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::CognitoSync
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cognito-sync.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::CognitoSync
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::CognitoSync
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::CognitoSync
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::CognitoSync
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::CognitoSync
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-comprehend/CHANGELOG.md b/gems/aws-sdk-comprehend/CHANGELOG.md
index 11b2058d138..96d6444728c 100644
--- a/gems/aws-sdk-comprehend/CHANGELOG.md
+++ b/gems/aws-sdk-comprehend/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.90.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.89.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-comprehend/VERSION b/gems/aws-sdk-comprehend/VERSION
index 636ea711ad9..82e24bf241e 100644
--- a/gems/aws-sdk-comprehend/VERSION
+++ b/gems/aws-sdk-comprehend/VERSION
@@ -1 +1 @@
-1.89.0
+1.90.0
diff --git a/gems/aws-sdk-comprehend/aws-sdk-comprehend.gemspec b/gems/aws-sdk-comprehend/aws-sdk-comprehend.gemspec
index bf9c5058928..d2d28265a7a 100644
--- a/gems/aws-sdk-comprehend/aws-sdk-comprehend.gemspec
+++ b/gems/aws-sdk-comprehend/aws-sdk-comprehend.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-comprehend/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend.rb b/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend.rb
index cfb95a00094..dde1d44b8c0 100644
--- a/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend.rb
+++ b/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Comprehend
- GEM_VERSION = '1.89.0'
+ GEM_VERSION = '1.90.0'
end
diff --git a/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/client.rb b/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/client.rb
index fb3fc8b101f..58295e3c4da 100644
--- a/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/client.rb
+++ b/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/client.rb
@@ -5969,7 +5969,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-comprehend'
- context[:gem_version] = '1.89.0'
+ context[:gem_version] = '1.90.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/endpoints.rb b/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/endpoints.rb
index 20a84ce1ca1..4315c101621 100644
--- a/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/endpoints.rb
+++ b/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/endpoints.rb
@@ -14,1190 +14,935 @@ module Endpoints
class BatchDetectDominantLanguage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDetectEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDetectKeyPhrases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDetectSentiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDetectSyntax
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDetectTargetedSentiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ClassifyDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ContainsPiiEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDocumentClassifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEntityRecognizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFlywheel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDocumentClassifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEntityRecognizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFlywheel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDocumentClassificationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDocumentClassifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDominantLanguageDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEntitiesDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEntityRecognizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventsDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFlywheel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFlywheelIteration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeKeyPhrasesDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePiiEntitiesDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSentimentDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTargetedSentimentDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTopicsDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectDominantLanguage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectKeyPhrases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectPiiEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectSentiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectSyntax
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectTargetedSentiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectToxicContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDocumentClassificationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDocumentClassifierSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDocumentClassifiers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDominantLanguageDetectionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEntitiesDetectionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEntityRecognizerSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEntityRecognizers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventsDetectionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFlywheelIterationHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFlywheels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKeyPhrasesDetectionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPiiEntitiesDetectionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSentimentDetectionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTargetedSentimentDetectionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTopicsDetectionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDocumentClassificationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDominantLanguageDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartEntitiesDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartEventsDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFlywheelIteration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartKeyPhrasesDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartPiiEntitiesDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSentimentDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTargetedSentimentDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTopicsDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDominantLanguageDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopEntitiesDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopEventsDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopKeyPhrasesDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopPiiEntitiesDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopSentimentDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopTargetedSentimentDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopTrainingDocumentClassifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopTrainingEntityRecognizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFlywheel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Comprehend::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/plugins/endpoints.rb b/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/plugins/endpoints.rb
index b46149a1926..b322251e133 100644
--- a/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/plugins/endpoints.rb
+++ b/gems/aws-sdk-comprehend/lib/aws-sdk-comprehend/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-comprehend/spec/endpoint_provider_spec.rb b/gems/aws-sdk-comprehend/spec/endpoint_provider_spec.rb
index fa590a2c2ad..f923bee3c30 100644
--- a/gems/aws-sdk-comprehend/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-comprehend/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Comprehend
describe EndpointProvider do
subject { Aws::Comprehend::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Comprehend
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Comprehend
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Comprehend
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Comprehend
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Comprehend
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Comprehend
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Comprehend
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Comprehend
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Comprehend
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Comprehend
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend-fips.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Comprehend
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.us-east-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Comprehend
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend-fips.us-east-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Comprehend
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.us-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Comprehend
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend-fips.us-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Comprehend
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend-fips.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::Comprehend
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::Comprehend
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::Comprehend
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::Comprehend
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::Comprehend
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::Comprehend
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.us-gov-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Comprehend
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Comprehend
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::Comprehend
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Comprehend
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::Comprehend
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::Comprehend
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.us-iso-east-1.c2s.ic.gov"}}
end
@@ -406,7 +406,7 @@ module Aws::Comprehend
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -419,7 +419,7 @@ module Aws::Comprehend
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -433,7 +433,7 @@ module Aws::Comprehend
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -446,7 +446,7 @@ module Aws::Comprehend
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::Comprehend
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::Comprehend
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::Comprehend
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehend.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::Comprehend
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::Comprehend
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::Comprehend
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::Comprehend
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::Comprehend
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-comprehendmedical/CHANGELOG.md b/gems/aws-sdk-comprehendmedical/CHANGELOG.md
index a7b668a4a4f..bff3ac3ec6e 100644
--- a/gems/aws-sdk-comprehendmedical/CHANGELOG.md
+++ b/gems/aws-sdk-comprehendmedical/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.60.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.59.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-comprehendmedical/VERSION b/gems/aws-sdk-comprehendmedical/VERSION
index bb120e876c6..4d5fde5bd16 100644
--- a/gems/aws-sdk-comprehendmedical/VERSION
+++ b/gems/aws-sdk-comprehendmedical/VERSION
@@ -1 +1 @@
-1.59.0
+1.60.0
diff --git a/gems/aws-sdk-comprehendmedical/aws-sdk-comprehendmedical.gemspec b/gems/aws-sdk-comprehendmedical/aws-sdk-comprehendmedical.gemspec
index 11ca0f6f9ff..38972a5badb 100644
--- a/gems/aws-sdk-comprehendmedical/aws-sdk-comprehendmedical.gemspec
+++ b/gems/aws-sdk-comprehendmedical/aws-sdk-comprehendmedical.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-comprehendmedical/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical.rb b/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical.rb
index 631dda4a5bf..1c707a444ed 100644
--- a/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical.rb
+++ b/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ComprehendMedical
- GEM_VERSION = '1.59.0'
+ GEM_VERSION = '1.60.0'
end
diff --git a/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/client.rb b/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/client.rb
index f50c071abe2..a88c0a9d1da 100644
--- a/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/client.rb
+++ b/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/client.rb
@@ -1923,7 +1923,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-comprehendmedical'
- context[:gem_version] = '1.59.0'
+ context[:gem_version] = '1.60.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/endpoints.rb b/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/endpoints.rb
index 1753e861d89..7952b80f5ce 100644
--- a/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/endpoints.rb
+++ b/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/endpoints.rb
@@ -14,364 +14,286 @@ module Endpoints
class DescribeEntitiesDetectionV2Job
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeICD10CMInferenceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePHIDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRxNormInferenceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSNOMEDCTInferenceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectEntitiesV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectPHI
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InferICD10CM
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InferRxNorm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InferSNOMEDCT
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEntitiesDetectionV2Jobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListICD10CMInferenceJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPHIDetectionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRxNormInferenceJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSNOMEDCTInferenceJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartEntitiesDetectionV2Job
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartICD10CMInferenceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartPHIDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartRxNormInferenceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSNOMEDCTInferenceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopEntitiesDetectionV2Job
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopICD10CMInferenceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopPHIDetectionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopRxNormInferenceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopSNOMEDCTInferenceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComprehendMedical::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/plugins/endpoints.rb b/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/plugins/endpoints.rb
index 46f65fe4b9b..a4fbfb75faf 100644
--- a/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/plugins/endpoints.rb
+++ b/gems/aws-sdk-comprehendmedical/lib/aws-sdk-comprehendmedical/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-comprehendmedical/spec/endpoint_provider_spec.rb b/gems/aws-sdk-comprehendmedical/spec/endpoint_provider_spec.rb
index 78354b74f02..dd63e473501 100644
--- a/gems/aws-sdk-comprehendmedical/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-comprehendmedical/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ComprehendMedical
describe EndpointProvider do
subject { Aws::ComprehendMedical::EndpointProvider.new }
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.ap-southeast-2.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.ca-central-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.eu-west-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.eu-west-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical-fips.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.us-east-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical-fips.us-east-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.us-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical-fips.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.us-gov-west-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::ComprehendMedical
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://comprehendmedical.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::ComprehendMedical
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::ComprehendMedical
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::ComprehendMedical
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::ComprehendMedical
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::ComprehendMedical
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-computeoptimizer/CHANGELOG.md b/gems/aws-sdk-computeoptimizer/CHANGELOG.md
index 5af8da33da2..957ea82313f 100644
--- a/gems/aws-sdk-computeoptimizer/CHANGELOG.md
+++ b/gems/aws-sdk-computeoptimizer/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.65.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.64.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-computeoptimizer/VERSION b/gems/aws-sdk-computeoptimizer/VERSION
index 9405730420f..902c74186fb 100644
--- a/gems/aws-sdk-computeoptimizer/VERSION
+++ b/gems/aws-sdk-computeoptimizer/VERSION
@@ -1 +1 @@
-1.64.0
+1.65.0
diff --git a/gems/aws-sdk-computeoptimizer/aws-sdk-computeoptimizer.gemspec b/gems/aws-sdk-computeoptimizer/aws-sdk-computeoptimizer.gemspec
index 190c44eab15..675eae9fea2 100644
--- a/gems/aws-sdk-computeoptimizer/aws-sdk-computeoptimizer.gemspec
+++ b/gems/aws-sdk-computeoptimizer/aws-sdk-computeoptimizer.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-computeoptimizer/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer.rb b/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer.rb
index d0e24be7270..5d00d2d3bd6 100644
--- a/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer.rb
+++ b/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ComputeOptimizer
- GEM_VERSION = '1.64.0'
+ GEM_VERSION = '1.65.0'
end
diff --git a/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/client.rb b/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/client.rb
index 44fb1fda977..abc66d928dc 100644
--- a/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/client.rb
+++ b/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/client.rb
@@ -3269,7 +3269,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-computeoptimizer'
- context[:gem_version] = '1.64.0'
+ context[:gem_version] = '1.65.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/endpoints.rb b/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/endpoints.rb
index b1ffe8e6b63..7ee1516d046 100644
--- a/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/endpoints.rb
+++ b/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/endpoints.rb
@@ -14,364 +14,286 @@ module Endpoints
class DeleteRecommendationPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRecommendationExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportAutoScalingGroupRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportEBSVolumeRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportEC2InstanceRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportECSServiceRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportLambdaFunctionRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportLicenseRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportRDSDatabaseRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAutoScalingGroupRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEBSVolumeRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEC2InstanceRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEC2RecommendationProjectedMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetECSServiceRecommendationProjectedMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetECSServiceRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEffectiveRecommendationPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnrollmentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnrollmentStatusesForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLambdaFunctionRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLicenseRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRDSDatabaseRecommendationProjectedMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRDSDatabaseRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecommendationPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecommendationSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRecommendationPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnrollmentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ComputeOptimizer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/plugins/endpoints.rb b/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/plugins/endpoints.rb
index 89115a39a5a..4c689381003 100644
--- a/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/plugins/endpoints.rb
+++ b/gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-computeoptimizer/spec/endpoint_provider_spec.rb b/gems/aws-sdk-computeoptimizer/spec/endpoint_provider_spec.rb
index e154fdef168..16dbf454d20 100644
--- a/gems/aws-sdk-computeoptimizer/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-computeoptimizer/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ComputeOptimizer
describe EndpointProvider do
subject { Aws::ComputeOptimizer::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.sa-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.us-east-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.us-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer-fips.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer-fips.us-gov-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.us-gov-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.us-gov-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -419,7 +419,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -433,7 +433,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -446,7 +446,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.us-iso-east-1.c2s.ic.gov"}}
end
@@ -460,7 +460,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -473,7 +473,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -487,7 +487,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -500,7 +500,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://compute-optimizer.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -514,7 +514,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -542,7 +542,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -555,7 +555,7 @@ module Aws::ComputeOptimizer
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -568,7 +568,7 @@ module Aws::ComputeOptimizer
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-configservice/CHANGELOG.md b/gems/aws-sdk-configservice/CHANGELOG.md
index d5d5c9412a3..aa419e9a66e 100644
--- a/gems/aws-sdk-configservice/CHANGELOG.md
+++ b/gems/aws-sdk-configservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.117.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.116.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-configservice/VERSION b/gems/aws-sdk-configservice/VERSION
index 10c8812fe5e..8de9ac240a8 100644
--- a/gems/aws-sdk-configservice/VERSION
+++ b/gems/aws-sdk-configservice/VERSION
@@ -1 +1 @@
-1.116.0
+1.117.0
diff --git a/gems/aws-sdk-configservice/aws-sdk-configservice.gemspec b/gems/aws-sdk-configservice/aws-sdk-configservice.gemspec
index 7638b1e5ee2..47d65a0ff45 100644
--- a/gems/aws-sdk-configservice/aws-sdk-configservice.gemspec
+++ b/gems/aws-sdk-configservice/aws-sdk-configservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-configservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-configservice/lib/aws-sdk-configservice.rb b/gems/aws-sdk-configservice/lib/aws-sdk-configservice.rb
index 6a71710f66b..bdaf820a1e2 100644
--- a/gems/aws-sdk-configservice/lib/aws-sdk-configservice.rb
+++ b/gems/aws-sdk-configservice/lib/aws-sdk-configservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ConfigService
- GEM_VERSION = '1.116.0'
+ GEM_VERSION = '1.117.0'
end
diff --git a/gems/aws-sdk-configservice/lib/aws-sdk-configservice/client.rb b/gems/aws-sdk-configservice/lib/aws-sdk-configservice/client.rb
index 9e3903c8f3b..66814784fe8 100644
--- a/gems/aws-sdk-configservice/lib/aws-sdk-configservice/client.rb
+++ b/gems/aws-sdk-configservice/lib/aws-sdk-configservice/client.rb
@@ -5930,7 +5930,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-configservice'
- context[:gem_version] = '1.116.0'
+ context[:gem_version] = '1.117.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-configservice/lib/aws-sdk-configservice/endpoints.rb b/gems/aws-sdk-configservice/lib/aws-sdk-configservice/endpoints.rb
index 8fd5f31912e..70f607c1326 100644
--- a/gems/aws-sdk-configservice/lib/aws-sdk-configservice/endpoints.rb
+++ b/gems/aws-sdk-configservice/lib/aws-sdk-configservice/endpoints.rb
@@ -14,1288 +14,1012 @@ module Endpoints
class BatchGetAggregateResourceConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetResourceConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAggregationAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationAggregator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationRecorder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConformancePack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeliveryChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEvaluationResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOrganizationConfigRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOrganizationConformancePack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePendingAggregationRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRemediationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRemediationExceptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourceConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRetentionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStoredQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeliverConfigSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAggregateComplianceByConfigRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAggregateComplianceByConformancePacks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAggregationAuthorizations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeComplianceByConfigRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeComplianceByResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigRuleEvaluationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurationAggregatorSourcesStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurationAggregators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurationRecorderStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurationRecorders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConformancePackCompliance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConformancePackStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConformancePacks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDeliveryChannelStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDeliveryChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationConfigRuleStatuses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationConfigRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationConformancePackStatuses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationConformancePacks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePendingAggregationRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRemediationConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRemediationExceptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRemediationExecutionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRetentionConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAggregateComplianceDetailsByConfigRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAggregateConfigRuleComplianceSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAggregateConformancePackComplianceSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAggregateDiscoveredResourceCounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAggregateResourceConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComplianceDetailsByConfigRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComplianceDetailsByResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComplianceSummaryByConfigRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComplianceSummaryByResourceType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConformancePackComplianceDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConformancePackComplianceSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCustomRulePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDiscoveredResourceCounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOrganizationConfigRuleDetailedStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOrganizationConformancePackDetailedStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOrganizationCustomRulePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceConfigHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceEvaluationSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStoredQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAggregateDiscoveredResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConformancePackComplianceScores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDiscoveredResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceEvaluations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStoredQueries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAggregationAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationAggregator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationRecorder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConformancePack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDeliveryChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEvaluations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutExternalEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutOrganizationConfigRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutOrganizationConformancePack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRemediationConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRemediationExceptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourceConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRetentionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutStoredQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SelectAggregateResourceConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SelectResourceConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartConfigRulesEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartConfigurationRecorder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartRemediationExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartResourceEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopConfigurationRecorder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConfigService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-configservice/lib/aws-sdk-configservice/plugins/endpoints.rb b/gems/aws-sdk-configservice/lib/aws-sdk-configservice/plugins/endpoints.rb
index 46d4cd59e4e..51759367c8e 100644
--- a/gems/aws-sdk-configservice/lib/aws-sdk-configservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-configservice/lib/aws-sdk-configservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-configservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-configservice/spec/endpoint_provider_spec.rb
index a55e66a4204..036aeb55bd6 100644
--- a/gems/aws-sdk-configservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-configservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ConfigService
describe EndpointProvider do
subject { Aws::ConfigService::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ConfigService
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ConfigService
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ConfigService
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ConfigService
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ConfigService
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ConfigService
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ConfigService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ConfigService
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ConfigService
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ConfigService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ConfigService
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ConfigService
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ConfigService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ConfigService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ConfigService
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ConfigService
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ConfigService
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ConfigService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ConfigService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ConfigService
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ConfigService
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ConfigService
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ConfigService
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ConfigService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ConfigService
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ConfigService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::ConfigService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ConfigService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ConfigService
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ConfigService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ConfigService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ConfigService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ConfigService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ConfigService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ConfigService
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ConfigService
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::ConfigService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::ConfigService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ConfigService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::ConfigService
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::ConfigService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::ConfigService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::ConfigService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::ConfigService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::ConfigService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::ConfigService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://config-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::ConfigService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::ConfigService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ConfigService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::ConfigService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::ConfigService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::ConfigService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-connect/CHANGELOG.md b/gems/aws-sdk-connect/CHANGELOG.md
index 36edc684f0b..59064f66d86 100644
--- a/gems/aws-sdk-connect/CHANGELOG.md
+++ b/gems/aws-sdk-connect/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.175.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.174.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-connect/VERSION b/gems/aws-sdk-connect/VERSION
index 5fb8146c5b5..05d6f5d6ffb 100644
--- a/gems/aws-sdk-connect/VERSION
+++ b/gems/aws-sdk-connect/VERSION
@@ -1 +1 @@
-1.174.0
+1.175.0
diff --git a/gems/aws-sdk-connect/aws-sdk-connect.gemspec b/gems/aws-sdk-connect/aws-sdk-connect.gemspec
index 5220e8a3b09..40337af9fd6 100644
--- a/gems/aws-sdk-connect/aws-sdk-connect.gemspec
+++ b/gems/aws-sdk-connect/aws-sdk-connect.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-connect/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-connect/lib/aws-sdk-connect.rb b/gems/aws-sdk-connect/lib/aws-sdk-connect.rb
index 9542b244dee..6c4deddb15b 100644
--- a/gems/aws-sdk-connect/lib/aws-sdk-connect.rb
+++ b/gems/aws-sdk-connect/lib/aws-sdk-connect.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Connect
- GEM_VERSION = '1.174.0'
+ GEM_VERSION = '1.175.0'
end
diff --git a/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb b/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb
index 7cc897c6270..57f3933bbc6 100644
--- a/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb
+++ b/gems/aws-sdk-connect/lib/aws-sdk-connect/client.rb
@@ -18315,7 +18315,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-connect'
- context[:gem_version] = '1.174.0'
+ context[:gem_version] = '1.175.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-connect/lib/aws-sdk-connect/endpoints.rb b/gems/aws-sdk-connect/lib/aws-sdk-connect/endpoints.rb
index 142776cb239..c3bcd697aff 100644
--- a/gems/aws-sdk-connect/lib/aws-sdk-connect/endpoints.rb
+++ b/gems/aws-sdk-connect/lib/aws-sdk-connect/endpoints.rb
@@ -14,3570 +14,2805 @@ module Endpoints
class ActivateEvaluationForm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateAnalyticsDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateApprovedOrigin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateDefaultVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateInstanceStorageConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateLambdaFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateLexBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociatePhoneNumberContactFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateQueueQuickConnects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateRoutingProfileQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateSecurityKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateTrafficDistributionGroupUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateUserProficiencies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchAssociateAnalyticsDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisassociateAnalyticsDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetAttachedFileMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetFlowAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchPutContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ClaimPhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CompleteAttachedFileUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAgentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContactFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContactFlowModule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEvaluationForm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHoursOfOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIntegrationAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateParticipant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePersistentContactAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePredefinedAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePrompt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQuickConnect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRoutingProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSecurityProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTaskTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrafficDistributionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUseCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserHierarchyGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateViewVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeactivateEvaluationForm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAttachedFile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContactEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContactFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContactFlowModule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEvaluationForm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHoursOfOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIntegrationAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePredefinedAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePrompt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQuickConnect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoutingProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSecurityProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTaskTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrafficDistributionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUseCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserHierarchyGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteViewVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAgentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAuthenticationProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContactEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContactFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContactFlowModule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvaluationForm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHoursOfOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceStorageConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePredefinedAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePrompt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeQuickConnect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRoutingProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSecurityProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrafficDistributionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUserHierarchyGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUserHierarchyStructure
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateAnalyticsDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateApprovedOrigin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateInstanceStorageConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateLambdaFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateLexBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociatePhoneNumberContactFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateQueueQuickConnects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateRoutingProfileQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateSecurityKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateTrafficDistributionGroupUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateUserProficiencies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DismissUserContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAttachedFile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContactAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCurrentMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCurrentUserData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFederationToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFlowAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetricDataV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPromptFile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTaskTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrafficDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportPhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAgentStatuses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnalyticsDataAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApprovedOrigins
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAuthenticationProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContactEvaluations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContactFlowModules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContactFlows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContactReferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDefaultVocabularies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEvaluationFormVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEvaluationForms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFlowAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHoursOfOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstanceAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstanceStorageConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIntegrationAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLambdaFunctions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLexBots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPhoneNumbers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPhoneNumbersV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPredefinedAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPrompts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueueQuickConnects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQuickConnects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRealtimeContactAnalysisSegmentsV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoutingProfileQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoutingProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityProfileApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityProfilePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTaskTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrafficDistributionGroupUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrafficDistributionGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUseCases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserHierarchyGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserProficiencies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListViewVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListViews
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MonitorContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PauseContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutUserStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReleasePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplicateInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeContactRecording
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchAgentStatuses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchAvailablePhoneNumbers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchContactFlowModules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchContactFlows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchContacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchHoursOfOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchPredefinedAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchPrompts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchQuickConnects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchResourceTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchRoutingProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchSecurityProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchUserHierarchyGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchVocabularies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendChatIntegrationEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAttachedFileUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartChatContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartContactEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartContactRecording
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartContactStreaming
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartOutboundVoiceContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTaskContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartWebRTCContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopContactRecording
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopContactStreaming
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SubmitContactEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SuspendContactRecording
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TransferContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAgentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAuthenticationProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContactAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContactEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContactFlowContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContactFlowMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContactFlowModuleContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContactFlowModuleMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContactFlowName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContactRoutingData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContactSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEvaluationForm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateHoursOfOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInstanceAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInstanceStorageConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateParticipantRoleConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePhoneNumberMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePredefinedAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePrompt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQueueHoursOfOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQueueMaxContacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQueueName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQueueOutboundCallerConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQueueStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQuickConnectConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQuickConnectName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoutingProfileAgentAvailabilityTimer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoutingProfileConcurrency
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoutingProfileDefaultOutboundQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoutingProfileName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoutingProfileQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSecurityProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTaskTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrafficDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserHierarchy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserHierarchyGroupName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserHierarchyStructure
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserIdentityInfo
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserPhoneConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserProficiencies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserRoutingProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserSecurityProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateViewContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateViewMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Connect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-connect/lib/aws-sdk-connect/plugins/endpoints.rb b/gems/aws-sdk-connect/lib/aws-sdk-connect/plugins/endpoints.rb
index 5ddb7af4ead..4984aecfd8e 100644
--- a/gems/aws-sdk-connect/lib/aws-sdk-connect/plugins/endpoints.rb
+++ b/gems/aws-sdk-connect/lib/aws-sdk-connect/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-connect/spec/endpoint_provider_spec.rb b/gems/aws-sdk-connect/spec/endpoint_provider_spec.rb
index 495a1e70f1b..bc92bbddb49 100644
--- a/gems/aws-sdk-connect/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-connect/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Connect
describe EndpointProvider do
subject { Aws::Connect::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Connect
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Connect
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Connect
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Connect
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Connect
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Connect
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Connect
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.eu-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Connect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Connect
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Connect
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Connect
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Connect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::Connect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::Connect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::Connect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::Connect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::Connect
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.us-gov-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Connect
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.us-gov-west-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Connect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-fips.us-gov-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::Connect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Connect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.us-gov-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::Connect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Connect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -349,7 +349,7 @@ module Aws::Connect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -363,7 +363,7 @@ module Aws::Connect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -376,7 +376,7 @@ module Aws::Connect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.us-iso-east-1.c2s.ic.gov"}}
end
@@ -390,7 +390,7 @@ module Aws::Connect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -403,7 +403,7 @@ module Aws::Connect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -417,7 +417,7 @@ module Aws::Connect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -430,7 +430,7 @@ module Aws::Connect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -444,7 +444,7 @@ module Aws::Connect
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::Connect
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -472,7 +472,7 @@ module Aws::Connect
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -485,7 +485,7 @@ module Aws::Connect
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -498,7 +498,7 @@ module Aws::Connect
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-connectcampaignservice/CHANGELOG.md b/gems/aws-sdk-connectcampaignservice/CHANGELOG.md
index 969f8691fd1..c77b73e1e45 100644
--- a/gems/aws-sdk-connectcampaignservice/CHANGELOG.md
+++ b/gems/aws-sdk-connectcampaignservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.24.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.23.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-connectcampaignservice/VERSION b/gems/aws-sdk-connectcampaignservice/VERSION
index a6c2798a482..53cc1a6f929 100644
--- a/gems/aws-sdk-connectcampaignservice/VERSION
+++ b/gems/aws-sdk-connectcampaignservice/VERSION
@@ -1 +1 @@
-1.23.0
+1.24.0
diff --git a/gems/aws-sdk-connectcampaignservice/aws-sdk-connectcampaignservice.gemspec b/gems/aws-sdk-connectcampaignservice/aws-sdk-connectcampaignservice.gemspec
index 7dfb67c2c56..eca8a97aa71 100644
--- a/gems/aws-sdk-connectcampaignservice/aws-sdk-connectcampaignservice.gemspec
+++ b/gems/aws-sdk-connectcampaignservice/aws-sdk-connectcampaignservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-connectcampaignservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice.rb b/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice.rb
index e03fe8a012b..b9cf1ac4ea9 100644
--- a/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice.rb
+++ b/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ConnectCampaignService
- GEM_VERSION = '1.23.0'
+ GEM_VERSION = '1.24.0'
end
diff --git a/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb b/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb
index a5ea075c73b..6e03607706d 100644
--- a/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb
+++ b/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/client.rb
@@ -1182,7 +1182,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-connectcampaignservice'
- context[:gem_version] = '1.23.0'
+ context[:gem_version] = '1.24.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/endpoints.rb b/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/endpoints.rb
index 9a64c6f05db..6f165239371 100644
--- a/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/endpoints.rb
+++ b/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/endpoints.rb
@@ -14,308 +14,242 @@ module Endpoints
class CreateCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnectInstanceConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstanceOnboardingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCampaignState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCampaignStateBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnectInstanceConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceOnboardingJobStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCampaigns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PauseCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDialRequestBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInstanceOnboardingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCampaignDialerConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCampaignName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCampaignOutboundCallConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCampaignService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/plugins/endpoints.rb b/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/plugins/endpoints.rb
index fb45b0c14bd..e94e6f3f24a 100644
--- a/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-connectcampaignservice/lib/aws-sdk-connectcampaignservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-connectcampaignservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-connectcampaignservice/spec/endpoint_provider_spec.rb
index b91f17cfe21..742f3f9d599 100644
--- a/gems/aws-sdk-connectcampaignservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-connectcampaignservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ConnectCampaignService
describe EndpointProvider do
subject { Aws::ConnectCampaignService::EndpointProvider.new }
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns.ap-southeast-2.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns.eu-west-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns.us-west-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns-fips.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns-fips.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns-fips.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -237,7 +237,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -251,7 +251,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -264,7 +264,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns.us-iso-east-1.c2s.ic.gov"}}
end
@@ -278,7 +278,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -291,7 +291,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -305,7 +305,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -318,7 +318,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://connect-campaigns.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -332,7 +332,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -360,7 +360,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -373,7 +373,7 @@ module Aws::ConnectCampaignService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -386,7 +386,7 @@ module Aws::ConnectCampaignService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-connectcases/CHANGELOG.md b/gems/aws-sdk-connectcases/CHANGELOG.md
index d1f95682bb7..6cf9fbd0ab8 100644
--- a/gems/aws-sdk-connectcases/CHANGELOG.md
+++ b/gems/aws-sdk-connectcases/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.31.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.30.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-connectcases/VERSION b/gems/aws-sdk-connectcases/VERSION
index 034552a83ee..34aae156b19 100644
--- a/gems/aws-sdk-connectcases/VERSION
+++ b/gems/aws-sdk-connectcases/VERSION
@@ -1 +1 @@
-1.30.0
+1.31.0
diff --git a/gems/aws-sdk-connectcases/aws-sdk-connectcases.gemspec b/gems/aws-sdk-connectcases/aws-sdk-connectcases.gemspec
index 9222d98c8ff..e956c6bf6c1 100644
--- a/gems/aws-sdk-connectcases/aws-sdk-connectcases.gemspec
+++ b/gems/aws-sdk-connectcases/aws-sdk-connectcases.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-connectcases/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases.rb b/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases.rb
index 722afc8268d..1859e1ce75c 100644
--- a/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases.rb
+++ b/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ConnectCases
- GEM_VERSION = '1.30.0'
+ GEM_VERSION = '1.31.0'
end
diff --git a/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/client.rb b/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/client.rb
index eef8a58bcc9..d658193a3c8 100644
--- a/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/client.rb
+++ b/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/client.rb
@@ -2303,7 +2303,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-connectcases'
- context[:gem_version] = '1.30.0'
+ context[:gem_version] = '1.31.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/endpoints.rb b/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/endpoints.rb
index a4cd88c020f..896ecfa9b65 100644
--- a/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/endpoints.rb
+++ b/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/endpoints.rb
@@ -14,476 +14,374 @@ module Endpoints
class BatchGetField
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchPutFieldOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateField
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLayout
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRelatedItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteField
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLayout
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCaseAuditEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCaseEventConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLayout
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCasesForContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFieldOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFields
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLayouts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutCaseEventConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchCases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchRelatedItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateField
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLayout
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectCases::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/plugins/endpoints.rb b/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/plugins/endpoints.rb
index baad6607d5e..5ef78a2dce4 100644
--- a/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/plugins/endpoints.rb
+++ b/gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-connectcases/spec/endpoint_provider_spec.rb b/gems/aws-sdk-connectcases/spec/endpoint_provider_spec.rb
index 975154809b8..3d38ae50e37 100644
--- a/gems/aws-sdk-connectcases/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-connectcases/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ConnectCases
describe EndpointProvider do
subject { Aws::ConnectCases::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ConnectCases
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::ConnectCases
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ConnectCases
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ConnectCases
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::ConnectCases
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cases.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::ConnectCases
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::ConnectCases
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::ConnectCases
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::ConnectCases
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::ConnectCases
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-connectcontactlens/CHANGELOG.md b/gems/aws-sdk-connectcontactlens/CHANGELOG.md
index 7ed750adda9..3427e378da0 100644
--- a/gems/aws-sdk-connectcontactlens/CHANGELOG.md
+++ b/gems/aws-sdk-connectcontactlens/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.34.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.33.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-connectcontactlens/VERSION b/gems/aws-sdk-connectcontactlens/VERSION
index 7aa332e4163..2b17ffd5042 100644
--- a/gems/aws-sdk-connectcontactlens/VERSION
+++ b/gems/aws-sdk-connectcontactlens/VERSION
@@ -1 +1 @@
-1.33.0
+1.34.0
diff --git a/gems/aws-sdk-connectcontactlens/aws-sdk-connectcontactlens.gemspec b/gems/aws-sdk-connectcontactlens/aws-sdk-connectcontactlens.gemspec
index 3cb7eda4600..02a53acc207 100644
--- a/gems/aws-sdk-connectcontactlens/aws-sdk-connectcontactlens.gemspec
+++ b/gems/aws-sdk-connectcontactlens/aws-sdk-connectcontactlens.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-connectcontactlens/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens.rb b/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens.rb
index 5fd10ebb4c8..e731ccb009c 100644
--- a/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens.rb
+++ b/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ConnectContactLens
- GEM_VERSION = '1.33.0'
+ GEM_VERSION = '1.34.0'
end
diff --git a/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/client.rb b/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/client.rb
index 57e0bcda862..d959eff2779 100644
--- a/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/client.rb
+++ b/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/client.rb
@@ -526,7 +526,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-connectcontactlens'
- context[:gem_version] = '1.33.0'
+ context[:gem_version] = '1.34.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/endpoints.rb b/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/endpoints.rb
index 7fd89896d95..4b54788d0b7 100644
--- a/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/endpoints.rb
+++ b/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class ListRealtimeContactAnalysisSegments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectContactLens::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/plugins/endpoints.rb b/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/plugins/endpoints.rb
index 25de3ea1982..a3ebec67070 100644
--- a/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/plugins/endpoints.rb
+++ b/gems/aws-sdk-connectcontactlens/lib/aws-sdk-connectcontactlens/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-connectcontactlens/spec/endpoint_provider_spec.rb b/gems/aws-sdk-connectcontactlens/spec/endpoint_provider_spec.rb
index 7413b0aeba3..14753a37934 100644
--- a/gems/aws-sdk-connectcontactlens/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-connectcontactlens/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ConnectContactLens
describe EndpointProvider do
subject { Aws::ConnectContactLens::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.ca-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.eu-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.eu-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.us-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens-fips.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens-fips.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens-fips.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.us-gov-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -293,7 +293,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -307,7 +307,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -320,7 +320,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.us-iso-east-1.c2s.ic.gov"}}
end
@@ -334,7 +334,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -347,7 +347,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -361,7 +361,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -374,7 +374,7 @@ module Aws::ConnectContactLens
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://contact-lens.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -388,7 +388,7 @@ module Aws::ConnectContactLens
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::ConnectContactLens
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -416,7 +416,7 @@ module Aws::ConnectContactLens
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -429,7 +429,7 @@ module Aws::ConnectContactLens
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -442,7 +442,7 @@ module Aws::ConnectContactLens
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-connectparticipant/CHANGELOG.md b/gems/aws-sdk-connectparticipant/CHANGELOG.md
index 59214cdb760..28061028202 100644
--- a/gems/aws-sdk-connectparticipant/CHANGELOG.md
+++ b/gems/aws-sdk-connectparticipant/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.52.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.51.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-connectparticipant/VERSION b/gems/aws-sdk-connectparticipant/VERSION
index ba0a719118c..a63cb35e6f0 100644
--- a/gems/aws-sdk-connectparticipant/VERSION
+++ b/gems/aws-sdk-connectparticipant/VERSION
@@ -1 +1 @@
-1.51.0
+1.52.0
diff --git a/gems/aws-sdk-connectparticipant/aws-sdk-connectparticipant.gemspec b/gems/aws-sdk-connectparticipant/aws-sdk-connectparticipant.gemspec
index d7ab9fa7574..fd6c22cdb5b 100644
--- a/gems/aws-sdk-connectparticipant/aws-sdk-connectparticipant.gemspec
+++ b/gems/aws-sdk-connectparticipant/aws-sdk-connectparticipant.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-connectparticipant/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant.rb b/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant.rb
index 28ace1f1f9f..4541ea04f81 100644
--- a/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant.rb
+++ b/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ConnectParticipant
- GEM_VERSION = '1.51.0'
+ GEM_VERSION = '1.52.0'
end
diff --git a/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/client.rb b/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/client.rb
index 16b184baa1e..dc100972cd9 100644
--- a/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/client.rb
+++ b/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/client.rb
@@ -1110,7 +1110,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-connectparticipant'
- context[:gem_version] = '1.51.0'
+ context[:gem_version] = '1.52.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/endpoints.rb b/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/endpoints.rb
index ccc3dd73810..e5c5aa4a8cf 100644
--- a/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/endpoints.rb
+++ b/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/endpoints.rb
@@ -14,126 +14,99 @@ module Endpoints
class CompleteAttachmentUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectParticipant::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateParticipantConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectParticipant::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectParticipant::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisconnectParticipant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectParticipant::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectParticipant::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTranscript
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectParticipant::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectParticipant::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectParticipant::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAttachmentUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectParticipant::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/plugins/endpoints.rb b/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/plugins/endpoints.rb
index fcb4a114f51..5eb3004f8ec 100644
--- a/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/plugins/endpoints.rb
+++ b/gems/aws-sdk-connectparticipant/lib/aws-sdk-connectparticipant/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-connectparticipant/spec/endpoint_provider_spec.rb b/gems/aws-sdk-connectparticipant/spec/endpoint_provider_spec.rb
index 9b24a6fd2d8..fb8a967d74d 100644
--- a/gems/aws-sdk-connectparticipant/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-connectparticipant/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ConnectParticipant
describe EndpointProvider do
subject { Aws::ConnectParticipant::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect.us-gov-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect.us-gov-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::ConnectParticipant
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://participant.connect.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::ConnectParticipant
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::ConnectParticipant
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::ConnectParticipant
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::ConnectParticipant
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::ConnectParticipant
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-connectwisdomservice/CHANGELOG.md b/gems/aws-sdk-connectwisdomservice/CHANGELOG.md
index f11f94787c8..1a772b1d0d7 100644
--- a/gems/aws-sdk-connectwisdomservice/CHANGELOG.md
+++ b/gems/aws-sdk-connectwisdomservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.37.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.36.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-connectwisdomservice/VERSION b/gems/aws-sdk-connectwisdomservice/VERSION
index 39fc130ef85..bf50e910e62 100644
--- a/gems/aws-sdk-connectwisdomservice/VERSION
+++ b/gems/aws-sdk-connectwisdomservice/VERSION
@@ -1 +1 @@
-1.36.0
+1.37.0
diff --git a/gems/aws-sdk-connectwisdomservice/aws-sdk-connectwisdomservice.gemspec b/gems/aws-sdk-connectwisdomservice/aws-sdk-connectwisdomservice.gemspec
index cc761649ff9..692635cc923 100644
--- a/gems/aws-sdk-connectwisdomservice/aws-sdk-connectwisdomservice.gemspec
+++ b/gems/aws-sdk-connectwisdomservice/aws-sdk-connectwisdomservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-connectwisdomservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice.rb b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice.rb
index 4b58d8bb3d7..d6d375fcda9 100644
--- a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice.rb
+++ b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ConnectWisdomService
- GEM_VERSION = '1.36.0'
+ GEM_VERSION = '1.37.0'
end
diff --git a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/client.rb b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/client.rb
index 59d2f3bbc40..fa3c526447e 100644
--- a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/client.rb
+++ b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/client.rb
@@ -2887,7 +2887,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-connectwisdomservice'
- context[:gem_version] = '1.36.0'
+ context[:gem_version] = '1.37.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/endpoints.rb b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/endpoints.rb
index ce1eed3e785..10ddef690c3 100644
--- a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/endpoints.rb
+++ b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/endpoints.rb
@@ -14,574 +14,451 @@ module Endpoints
class CreateAssistant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssistantAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQuickResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssistant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssistantAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQuickResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssistant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssistantAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContentSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQuickResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssistantAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssistants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKnowledgeBases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQuickResponses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class NotifyRecommendationsReceived
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class QueryAssistant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveKnowledgeBaseTemplateUri
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchQuickResponses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartContentUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKnowledgeBaseTemplateUri
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQuickResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ConnectWisdomService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/plugins/endpoints.rb b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/plugins/endpoints.rb
index df72c26bec2..ac78f0e5f24 100644
--- a/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-connectwisdomservice/lib/aws-sdk-connectwisdomservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-connectwisdomservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-connectwisdomservice/spec/endpoint_provider_spec.rb
index 2b8d2210b67..e755eff3659 100644
--- a/gems/aws-sdk-connectwisdomservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-connectwisdomservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ConnectWisdomService
describe EndpointProvider do
subject { Aws::ConnectWisdomService::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.ap-southeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.eu-central-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.eu-west-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.cn-north-1.amazonaws.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -265,7 +265,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -279,7 +279,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -292,7 +292,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-iso-east-1.c2s.ic.gov"}}
end
@@ -306,7 +306,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -319,7 +319,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -333,7 +333,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -346,7 +346,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -360,7 +360,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -401,7 +401,7 @@ module Aws::ConnectWisdomService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -414,7 +414,7 @@ module Aws::ConnectWisdomService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-controlcatalog/CHANGELOG.md b/gems/aws-sdk-controlcatalog/CHANGELOG.md
index e24e8525d8d..21f4c8e0b3b 100644
--- a/gems/aws-sdk-controlcatalog/CHANGELOG.md
+++ b/gems/aws-sdk-controlcatalog/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.10.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.9.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-controlcatalog/VERSION b/gems/aws-sdk-controlcatalog/VERSION
index f8e233b2733..81c871de46b 100644
--- a/gems/aws-sdk-controlcatalog/VERSION
+++ b/gems/aws-sdk-controlcatalog/VERSION
@@ -1 +1 @@
-1.9.0
+1.10.0
diff --git a/gems/aws-sdk-controlcatalog/aws-sdk-controlcatalog.gemspec b/gems/aws-sdk-controlcatalog/aws-sdk-controlcatalog.gemspec
index b73c7dc46d3..0444abe3227 100644
--- a/gems/aws-sdk-controlcatalog/aws-sdk-controlcatalog.gemspec
+++ b/gems/aws-sdk-controlcatalog/aws-sdk-controlcatalog.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-controlcatalog/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog.rb b/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog.rb
index cb4dd43b068..4a8ad032e4c 100644
--- a/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog.rb
+++ b/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::ControlCatalog
- GEM_VERSION = '1.9.0'
+ GEM_VERSION = '1.10.0'
end
diff --git a/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/client.rb b/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/client.rb
index 40e93660f9e..19b556f62a6 100644
--- a/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/client.rb
+++ b/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/client.rb
@@ -732,7 +732,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-controlcatalog'
- context[:gem_version] = '1.9.0'
+ context[:gem_version] = '1.10.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/endpoints.rb b/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/endpoints.rb
index 96846fceaa6..3051a5959c3 100644
--- a/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/endpoints.rb
+++ b/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/endpoints.rb
@@ -14,70 +14,55 @@ module Endpoints
class GetControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCommonControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListObjectives
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/plugins/endpoints.rb b/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/plugins/endpoints.rb
index 270707187f7..96f6ce20be7 100644
--- a/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/plugins/endpoints.rb
+++ b/gems/aws-sdk-controlcatalog/lib/aws-sdk-controlcatalog/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-controlcatalog/spec/endpoint_provider_spec.rb b/gems/aws-sdk-controlcatalog/spec/endpoint_provider_spec.rb
index bc9d2398aef..4fe1a3c31d2 100644
--- a/gems/aws-sdk-controlcatalog/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-controlcatalog/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ControlCatalog
describe EndpointProvider do
subject { Aws::ControlCatalog::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ControlCatalog
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::ControlCatalog
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ControlCatalog
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ControlCatalog
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::ControlCatalog
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlcatalog.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::ControlCatalog
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::ControlCatalog
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::ControlCatalog
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::ControlCatalog
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::ControlCatalog
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-controltower/CHANGELOG.md b/gems/aws-sdk-controltower/CHANGELOG.md
index 07a65fe23eb..05af38bb811 100644
--- a/gems/aws-sdk-controltower/CHANGELOG.md
+++ b/gems/aws-sdk-controltower/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.30.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.29.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-controltower/VERSION b/gems/aws-sdk-controltower/VERSION
index 5e57fb89558..034552a83ee 100644
--- a/gems/aws-sdk-controltower/VERSION
+++ b/gems/aws-sdk-controltower/VERSION
@@ -1 +1 @@
-1.29.0
+1.30.0
diff --git a/gems/aws-sdk-controltower/aws-sdk-controltower.gemspec b/gems/aws-sdk-controltower/aws-sdk-controltower.gemspec
index b3f5f431bf7..6569d3d85a1 100644
--- a/gems/aws-sdk-controltower/aws-sdk-controltower.gemspec
+++ b/gems/aws-sdk-controltower/aws-sdk-controltower.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-controltower/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-controltower/lib/aws-sdk-controltower.rb b/gems/aws-sdk-controltower/lib/aws-sdk-controltower.rb
index bc591cf02fb..ffa34589b4c 100644
--- a/gems/aws-sdk-controltower/lib/aws-sdk-controltower.rb
+++ b/gems/aws-sdk-controltower/lib/aws-sdk-controltower.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ControlTower
- GEM_VERSION = '1.29.0'
+ GEM_VERSION = '1.30.0'
end
diff --git a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client.rb b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client.rb
index cd8f7c9b65a..cd8c5c766d3 100644
--- a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client.rb
+++ b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/client.rb
@@ -1687,7 +1687,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-controltower'
- context[:gem_version] = '1.29.0'
+ context[:gem_version] = '1.30.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/endpoints.rb b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/endpoints.rb
index 5f4b67ed463..8fceb395962 100644
--- a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/endpoints.rb
+++ b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/endpoints.rb
@@ -14,378 +14,297 @@ module Endpoints
class CreateLandingZone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLandingZone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBaselineOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetControlOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnabledBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnabledControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLandingZone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLandingZoneOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBaselines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListControlOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnabledBaselines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnabledControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLandingZoneOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLandingZones
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetEnabledBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetLandingZone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnabledBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnabledControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLandingZone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ControlTower::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/plugins/endpoints.rb b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/plugins/endpoints.rb
index 4adf00f950a..f3b39338056 100644
--- a/gems/aws-sdk-controltower/lib/aws-sdk-controltower/plugins/endpoints.rb
+++ b/gems/aws-sdk-controltower/lib/aws-sdk-controltower/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-controltower/spec/endpoint_provider_spec.rb b/gems/aws-sdk-controltower/spec/endpoint_provider_spec.rb
index fce79c79d63..c963e0fc4f2 100644
--- a/gems/aws-sdk-controltower/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-controltower/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ControlTower
describe EndpointProvider do
subject { Aws::ControlTower::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ControlTower
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ControlTower
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ControlTower
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ControlTower
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ControlTower
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ControlTower
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower-fips.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ControlTower
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ControlTower
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ControlTower
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ControlTower
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ControlTower
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ControlTower
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ControlTower
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ControlTower
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower-fips.us-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ControlTower
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.us-east-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ControlTower
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower-fips.us-east-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ControlTower
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.us-west-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ControlTower
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower-fips.us-west-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ControlTower
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower-fips.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::ControlTower
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.us-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::ControlTower
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::ControlTower
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::ControlTower
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::ControlTower
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::ControlTower
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower-fips.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::ControlTower
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::ControlTower
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.us-gov-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ControlTower
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.us-gov-east-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::ControlTower
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -433,7 +433,7 @@ module Aws::ControlTower
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -447,7 +447,7 @@ module Aws::ControlTower
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -460,7 +460,7 @@ module Aws::ControlTower
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.us-iso-east-1.c2s.ic.gov"}}
end
@@ -474,7 +474,7 @@ module Aws::ControlTower
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -487,7 +487,7 @@ module Aws::ControlTower
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -501,7 +501,7 @@ module Aws::ControlTower
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -514,7 +514,7 @@ module Aws::ControlTower
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controltower.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -528,7 +528,7 @@ module Aws::ControlTower
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -542,7 +542,7 @@ module Aws::ControlTower
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -556,7 +556,7 @@ module Aws::ControlTower
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -569,7 +569,7 @@ module Aws::ControlTower
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -582,7 +582,7 @@ module Aws::ControlTower
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-core/CHANGELOG.md b/gems/aws-sdk-core/CHANGELOG.md
index 80b114be8ec..4c484f23dab 100644
--- a/gems/aws-sdk-core/CHANGELOG.md
+++ b/gems/aws-sdk-core/CHANGELOG.md
@@ -5,6 +5,22 @@ Unreleased Changes
* Feature - Always validate response checksums for operations that support or require it. Supported config options are `WHEN_SUPPORTED` and `WHEN_REQUIRED`. The default value is `WHEN_SUPPORTED`. This option is configured in code with `:response_checksum_calculation`, in the shared config file as `response_checksum_calculation`, and in the ENV as `ENV['AWS_RESPONSE_CHECKSUM_CALCULATION']`.
+3.206.0 (2024-09-17)
+------------------
+
+* Feature - Support `sigv4a` endpoint auth without CRT.
+
+3.205.0 (2024-09-11)
+------------------
+
+* Feature - Updated Aws::STS::Client with the latest API changes.
+
+* Feature - Updated Aws::SSOOIDC::Client with the latest API changes.
+
+* Feature - Updated Aws::SSO::Client with the latest API changes.
+
+* Issue - Additional metrics collection in the User-Agent plugin.
+
3.204.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-core/VERSION b/gems/aws-sdk-core/VERSION
index f83c8a3abce..46ab2e02764 100644
--- a/gems/aws-sdk-core/VERSION
+++ b/gems/aws-sdk-core/VERSION
@@ -1 +1 @@
-3.204.0
+3.206.0
diff --git a/gems/aws-sdk-core/lib/aws-sdk-core/endpoints.rb b/gems/aws-sdk-core/lib/aws-sdk-core/endpoints.rb
index a20e9374e42..60d93cb7d5b 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-core/endpoints.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-core/endpoints.rb
@@ -19,9 +19,12 @@
module Aws
# @api private
module Endpoints
- supported_auth_traits = %w[aws.auth#sigv4 smithy.api#httpBearerAuth smithy.api#noAuth]
- supported_auth_traits += ['aws.auth#sigv4a'] if Aws::Sigv4::Signer.use_crt?
- SUPPORTED_AUTH_TRAITS = supported_auth_traits.freeze
+ SUPPORTED_AUTH_TRAITS = %w[
+ aws.auth#sigv4
+ aws.auth#sigv4a
+ smithy.api#httpBearerAuth
+ smithy.api#noAuth
+ ].freeze
class << self
def resolve_auth_scheme(context, endpoint)
diff --git a/gems/aws-sdk-core/lib/aws-sdk-core/plugins/regional_endpoint.rb b/gems/aws-sdk-core/lib/aws-sdk-core/plugins/regional_endpoint.rb
index dd82bf90421..ede2b2d8b6c 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-core/plugins/regional_endpoint.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-core/plugins/regional_endpoint.rb
@@ -205,6 +205,7 @@ def handle_legacy_pseudo_regions(cfg)
cfg.override_config(:region, new_region)
end
end
+
# set a default endpoint in config using legacy (endpoints.json) resolver
def resolve_legacy_endpoint(cfg)
endpoint_prefix = cfg.api.metadata['endpointPrefix']
diff --git a/gems/aws-sdk-core/lib/aws-sdk-core/plugins/user_agent.rb b/gems/aws-sdk-core/lib/aws-sdk-core/plugins/user_agent.rb
index 81db50643fa..2d1e6e8ee5a 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-core/plugins/user_agent.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-core/plugins/user_agent.rb
@@ -62,15 +62,13 @@ def self.feature(_feature, &block)
block.call
end
- def self.metric(metric, &block)
+ def self.metric(*metrics, &block)
Thread.current[:aws_sdk_core_user_agent_metric] ||= []
- Thread.current[:aws_sdk_core_user_agent_metric] << METRICS[metric]
+ metrics = metrics.map { |metric| METRICS[metric] }.compact
+ Thread.current[:aws_sdk_core_user_agent_metric].concat(metrics)
block.call
ensure
- Thread.current[:aws_sdk_core_user_agent_metric].pop
- if Thread.current[:aws_sdk_core_user_agent_metric].empty?
- Thread.current[:aws_sdk_core_user_agent_metric] = nil
- end
+ Thread.current[:aws_sdk_core_user_agent_metric].pop(metrics.size)
end
# @api private
@@ -183,7 +181,10 @@ def framework_metadata
end
def metric_metadata
- return unless Thread.current[:aws_sdk_core_user_agent_metric]
+ if Thread.current[:aws_sdk_core_user_agent_metric].nil? ||
+ Thread.current[:aws_sdk_core_user_agent_metric].empty?
+ return
+ end
metrics = Thread.current[:aws_sdk_core_user_agent_metric].join(',')
# Metric metadata is limited to 1024 bytes
diff --git a/gems/aws-sdk-core/lib/aws-sdk-core/rpc_v2/handler.rb b/gems/aws-sdk-core/lib/aws-sdk-core/rpc_v2/handler.rb
index 278daee7f57..0e0d4049184 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-core/rpc_v2/handler.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-core/rpc_v2/handler.rb
@@ -7,7 +7,7 @@ class Handler < Seahorse::Client::Handler
# @return [Seahorse::Client::Response]
def call(context)
build_request(context)
- response = @handler.call(context)
+ response = with_metric { @handler.call(context) }
response.on(200..299) { |resp| resp.data = parse_body(context) }
response.on(200..599) { |_resp| apply_request_id(context) }
response
@@ -15,6 +15,10 @@ def call(context)
private
+ def with_metric(&block)
+ Aws::Plugins::UserAgent.metric('PROTOCOL_RPC_V2_CBOR', &block)
+ end
+
def build_request(context)
context.http_request.headers['smithy-protocol'] = 'rpc-v2-cbor'
context.http_request.http_method = 'POST'
diff --git a/gems/aws-sdk-core/lib/aws-sdk-sso.rb b/gems/aws-sdk-core/lib/aws-sdk-sso.rb
index 93bfc1d0dd6..d4b8c65b6ef 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-sso.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-sso.rb
@@ -54,6 +54,6 @@
# @!group service
module Aws::SSO
- GEM_VERSION = '3.204.0'
+ GEM_VERSION = '3.206.0'
end
diff --git a/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb b/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb
index e9c99200e6e..0a03de0dc3b 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-sso/client.rb
@@ -665,7 +665,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-core'
- context[:gem_version] = '3.204.0'
+ context[:gem_version] = '3.206.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-core/lib/aws-sdk-sso/endpoints.rb b/gems/aws-sdk-core/lib/aws-sdk-sso/endpoints.rb
index 8b8e04546f7..4926c02b136 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-sso/endpoints.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-sso/endpoints.rb
@@ -14,56 +14,44 @@ module Endpoints
class GetRoleCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSO::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountRoles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSO::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSO::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Logout
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSO::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-core/lib/aws-sdk-sso/plugins/endpoints.rb b/gems/aws-sdk-core/lib/aws-sdk-sso/plugins/endpoints.rb
index 9fb96174ce3..3e2c994d719 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-sso/plugins/endpoints.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-sso/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-core/lib/aws-sdk-ssooidc.rb b/gems/aws-sdk-core/lib/aws-sdk-ssooidc.rb
index 040d1635c85..f2b6e153b19 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-ssooidc.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-ssooidc.rb
@@ -54,6 +54,6 @@
# @!group service
module Aws::SSOOIDC
- GEM_VERSION = '3.204.0'
+ GEM_VERSION = '3.206.0'
end
diff --git a/gems/aws-sdk-core/lib/aws-sdk-ssooidc/client.rb b/gems/aws-sdk-core/lib/aws-sdk-ssooidc/client.rb
index 80638a23896..8ff606262da 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-ssooidc/client.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-ssooidc/client.rb
@@ -1018,7 +1018,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-core'
- context[:gem_version] = '3.204.0'
+ context[:gem_version] = '3.206.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-core/lib/aws-sdk-ssooidc/endpoints.rb b/gems/aws-sdk-core/lib/aws-sdk-ssooidc/endpoints.rb
index 2895a2da9c2..763a0aa85f2 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-ssooidc/endpoints.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-ssooidc/endpoints.rb
@@ -14,56 +14,44 @@ module Endpoints
class CreateToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOOIDC::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTokenWithIAM
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOOIDC::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterClient
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOOIDC::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDeviceAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOOIDC::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-core/lib/aws-sdk-ssooidc/plugins/endpoints.rb b/gems/aws-sdk-core/lib/aws-sdk-ssooidc/plugins/endpoints.rb
index 1e625047256..26a1f19148f 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-ssooidc/plugins/endpoints.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-ssooidc/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-core/lib/aws-sdk-sts.rb b/gems/aws-sdk-core/lib/aws-sdk-sts.rb
index 2ad01cbdcff..d5711f3300a 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-sts.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-sts.rb
@@ -54,6 +54,6 @@
# @!group service
module Aws::STS
- GEM_VERSION = '3.204.0'
+ GEM_VERSION = '3.206.0'
end
diff --git a/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb b/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb
index ace1f49904c..8c9d7d77912 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-sts/client.rb
@@ -2412,7 +2412,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-core'
- context[:gem_version] = '3.204.0'
+ context[:gem_version] = '3.206.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-core/lib/aws-sdk-sts/endpoints.rb b/gems/aws-sdk-core/lib/aws-sdk-sts/endpoints.rb
index b055a4d745a..b1ca2347539 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-sts/endpoints.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-sts/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class AssumeRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::STS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
use_global_endpoint: context.config.sts_regional_endpoints == 'legacy',
)
end
@@ -29,14 +26,11 @@ def self.build(context)
class AssumeRoleWithSAML
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::STS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
use_global_endpoint: context.config.sts_regional_endpoints == 'legacy',
)
end
@@ -44,14 +38,11 @@ def self.build(context)
class AssumeRoleWithWebIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::STS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
use_global_endpoint: context.config.sts_regional_endpoints == 'legacy',
)
end
@@ -59,14 +50,11 @@ def self.build(context)
class DecodeAuthorizationMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::STS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
use_global_endpoint: context.config.sts_regional_endpoints == 'legacy',
)
end
@@ -74,14 +62,11 @@ def self.build(context)
class GetAccessKeyInfo
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::STS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
use_global_endpoint: context.config.sts_regional_endpoints == 'legacy',
)
end
@@ -89,14 +74,11 @@ def self.build(context)
class GetCallerIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::STS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
use_global_endpoint: context.config.sts_regional_endpoints == 'legacy',
)
end
@@ -104,14 +86,11 @@ def self.build(context)
class GetFederationToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::STS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
use_global_endpoint: context.config.sts_regional_endpoints == 'legacy',
)
end
@@ -119,14 +98,11 @@ def self.build(context)
class GetSessionToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::STS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
use_global_endpoint: context.config.sts_regional_endpoints == 'legacy',
)
end
diff --git a/gems/aws-sdk-core/lib/aws-sdk-sts/plugins/endpoints.rb b/gems/aws-sdk-core/lib/aws-sdk-sts/plugins/endpoints.rb
index ca1683c46a7..f2a6767b386 100644
--- a/gems/aws-sdk-core/lib/aws-sdk-sts/plugins/endpoints.rb
+++ b/gems/aws-sdk-core/lib/aws-sdk-sts/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-core/spec/aws/sso/endpoint_provider_spec.rb b/gems/aws-sdk-core/spec/aws/sso/endpoint_provider_spec.rb
index 19151c51d4e..b57ec192efe 100644
--- a/gems/aws-sdk-core/spec/aws/sso/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-core/spec/aws/sso/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SSO
describe EndpointProvider do
subject { Aws::SSO::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SSO
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SSO
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SSO
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.ap-northeast-3.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SSO
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SSO
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SSO
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SSO
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SSO
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SSO
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SSO
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SSO
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SSO
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SSO
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SSO
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.me-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SSO
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.sa-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SSO
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SSO
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.us-east-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SSO
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.us-west-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SSO
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso-fips.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::SSO
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SSO
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::SSO
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::SSO
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::SSO
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::SSO
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::SSO
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::SSO
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.us-gov-west-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::SSO
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso-fips.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::SSO
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::SSO
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::SSO
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -461,7 +461,7 @@ module Aws::SSO
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -475,7 +475,7 @@ module Aws::SSO
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -488,7 +488,7 @@ module Aws::SSO
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.us-iso-east-1.c2s.ic.gov"}}
end
@@ -502,7 +502,7 @@ module Aws::SSO
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -515,7 +515,7 @@ module Aws::SSO
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -529,7 +529,7 @@ module Aws::SSO
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -542,7 +542,7 @@ module Aws::SSO
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://portal.sso.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -556,7 +556,7 @@ module Aws::SSO
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -570,7 +570,7 @@ module Aws::SSO
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::SSO
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -597,7 +597,7 @@ module Aws::SSO
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -610,7 +610,7 @@ module Aws::SSO
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-core/spec/aws/ssooidc/endpoint_provider_spec.rb b/gems/aws-sdk-core/spec/aws/ssooidc/endpoint_provider_spec.rb
index 710b1aa9d5d..63dce8a16d2 100644
--- a/gems/aws-sdk-core/spec/aws/ssooidc/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-core/spec/aws/ssooidc/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SSOOIDC
describe EndpointProvider do
subject { Aws::SSOOIDC::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SSOOIDC
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SSOOIDC
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SSOOIDC
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.ap-northeast-3.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SSOOIDC
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SSOOIDC
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SSOOIDC
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SSOOIDC
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SSOOIDC
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SSOOIDC
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SSOOIDC
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SSOOIDC
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SSOOIDC
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SSOOIDC
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SSOOIDC
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.me-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SSOOIDC
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.sa-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.us-east-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.us-west-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc-fips.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::SSOOIDC
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::SSOOIDC
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::SSOOIDC
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::SSOOIDC
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.us-gov-west-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc-fips.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -461,7 +461,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -475,7 +475,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -488,7 +488,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.us-iso-east-1.c2s.ic.gov"}}
end
@@ -502,7 +502,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -515,7 +515,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -529,7 +529,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -542,7 +542,7 @@ module Aws::SSOOIDC
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oidc.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -556,7 +556,7 @@ module Aws::SSOOIDC
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -570,7 +570,7 @@ module Aws::SSOOIDC
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::SSOOIDC
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -597,7 +597,7 @@ module Aws::SSOOIDC
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -610,7 +610,7 @@ module Aws::SSOOIDC
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-core/spec/aws/sts/endpoint_provider_spec.rb b/gems/aws-sdk-core/spec/aws/sts/endpoint_provider_spec.rb
index 2c93f01cec9..09b88d63cee 100644
--- a/gems/aws-sdk-core/spec/aws/sts/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-core/spec/aws/sts/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::STS
describe EndpointProvider do
subject { Aws::STS::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::STS
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::STS
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::STS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::STS
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::STS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::STS
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::STS
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::STS
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::STS
end
end
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::STS
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::STS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::STS
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::STS
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::STS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::STS
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::STS
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::STS
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::STS
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::STS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::STS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::STS
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::STS
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::STS
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::STS
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::STS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::STS
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::STS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::STS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::STS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::STS
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::STS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::STS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::STS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::STS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::STS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::STS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::STS
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::STS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::STS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::STS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-iso-east-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::STS
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-iso-west-1.c2s.ic.gov"}}
end
@@ -602,7 +602,7 @@ module Aws::STS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -615,7 +615,7 @@ module Aws::STS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -629,7 +629,7 @@ module Aws::STS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -642,7 +642,7 @@ module Aws::STS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -656,7 +656,7 @@ module Aws::STS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -669,7 +669,7 @@ module Aws::STS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sts-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -683,7 +683,7 @@ module Aws::STS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -696,7 +696,7 @@ module Aws::STS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::STS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -724,7 +724,7 @@ module Aws::STS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -737,7 +737,7 @@ module Aws::STS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -750,7 +750,7 @@ module Aws::STS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
@@ -763,7 +763,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `ap-northeast-1`' do
+ context "UseGlobalEndpoint with legacy region `ap-northeast-1`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -792,7 +792,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `ap-south-1`' do
+ context "UseGlobalEndpoint with legacy region `ap-south-1`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -821,7 +821,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `ap-southeast-1`' do
+ context "UseGlobalEndpoint with legacy region `ap-southeast-1`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -850,7 +850,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `ap-southeast-2`' do
+ context "UseGlobalEndpoint with legacy region `ap-southeast-2`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -879,7 +879,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `aws-global`' do
+ context "UseGlobalEndpoint with legacy region `aws-global`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -908,7 +908,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `ca-central-1`' do
+ context "UseGlobalEndpoint with legacy region `ca-central-1`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -937,7 +937,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `eu-central-1`' do
+ context "UseGlobalEndpoint with legacy region `eu-central-1`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -966,7 +966,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `eu-north-1`' do
+ context "UseGlobalEndpoint with legacy region `eu-north-1`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -995,7 +995,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `eu-west-1`' do
+ context "UseGlobalEndpoint with legacy region `eu-west-1`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -1024,7 +1024,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `eu-west-2`' do
+ context "UseGlobalEndpoint with legacy region `eu-west-2`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -1053,7 +1053,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `eu-west-3`' do
+ context "UseGlobalEndpoint with legacy region `eu-west-3`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -1082,7 +1082,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `sa-east-1`' do
+ context "UseGlobalEndpoint with legacy region `sa-east-1`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -1111,7 +1111,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `us-east-1`' do
+ context "UseGlobalEndpoint with legacy region `us-east-1`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -1140,7 +1140,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `us-east-2`' do
+ context "UseGlobalEndpoint with legacy region `us-east-2`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -1169,7 +1169,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `us-west-1`' do
+ context "UseGlobalEndpoint with legacy region `us-west-1`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -1198,7 +1198,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region `us-west-2`' do
+ context "UseGlobalEndpoint with legacy region `us-west-2`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-1"}]}, "url"=>"https://sts.amazonaws.com"}}
end
@@ -1227,7 +1227,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with Non-legacy region `us-east-3`' do
+ context "UseGlobalEndpoint with Non-legacy region `us-east-3`" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"sts", "signingRegion"=>"us-east-3"}]}, "url"=>"https://sts.us-east-3.amazonaws.com"}}
end
@@ -1256,7 +1256,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with legacy region and custom endpoint' do
+ context "UseGlobalEndpoint with legacy region and custom endpoint" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -1285,7 +1285,7 @@ module Aws::STS
end
end
- context 'UseGlobalEndpoint with unset region and custom endpoint' do
+ context "UseGlobalEndpoint with unset region and custom endpoint" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
diff --git a/gems/aws-sdk-costandusagereportservice/CHANGELOG.md b/gems/aws-sdk-costandusagereportservice/CHANGELOG.md
index 3e5cae8d9ce..70ca4f7cc1d 100644
--- a/gems/aws-sdk-costandusagereportservice/CHANGELOG.md
+++ b/gems/aws-sdk-costandusagereportservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.64.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.63.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-costandusagereportservice/VERSION b/gems/aws-sdk-costandusagereportservice/VERSION
index af92bdd9f58..9405730420f 100644
--- a/gems/aws-sdk-costandusagereportservice/VERSION
+++ b/gems/aws-sdk-costandusagereportservice/VERSION
@@ -1 +1 @@
-1.63.0
+1.64.0
diff --git a/gems/aws-sdk-costandusagereportservice/aws-sdk-costandusagereportservice.gemspec b/gems/aws-sdk-costandusagereportservice/aws-sdk-costandusagereportservice.gemspec
index bf214d2ea54..4b9c3c5e9c5 100644
--- a/gems/aws-sdk-costandusagereportservice/aws-sdk-costandusagereportservice.gemspec
+++ b/gems/aws-sdk-costandusagereportservice/aws-sdk-costandusagereportservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-costandusagereportservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice.rb b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice.rb
index 9c387b6a117..c7c07cac74f 100644
--- a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice.rb
+++ b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CostandUsageReportService
- GEM_VERSION = '1.63.0'
+ GEM_VERSION = '1.64.0'
end
diff --git a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client.rb b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client.rb
index dec0e0a6d9a..cda138f6156 100644
--- a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client.rb
+++ b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/client.rb
@@ -816,7 +816,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-costandusagereportservice'
- context[:gem_version] = '1.63.0'
+ context[:gem_version] = '1.64.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/endpoints.rb b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/endpoints.rb
index 895779754fb..fed5143af94 100644
--- a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/endpoints.rb
+++ b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/endpoints.rb
@@ -14,98 +14,77 @@ module Endpoints
class DeleteReportDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostandUsageReportService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReportDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostandUsageReportService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostandUsageReportService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyReportDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostandUsageReportService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutReportDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostandUsageReportService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostandUsageReportService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostandUsageReportService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/plugins/endpoints.rb b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/plugins/endpoints.rb
index 5172b88275b..ebdd2530cfe 100644
--- a/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-costandusagereportservice/lib/aws-sdk-costandusagereportservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-costandusagereportservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-costandusagereportservice/spec/endpoint_provider_spec.rb
index ece325c2231..1b6eab11b59 100644
--- a/gems/aws-sdk-costandusagereportservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-costandusagereportservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CostandUsageReportService
describe EndpointProvider do
subject { Aws::CostandUsageReportService::EndpointProvider.new }
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cur.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::CostandUsageReportService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::CostandUsageReportService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-costexplorer/CHANGELOG.md b/gems/aws-sdk-costexplorer/CHANGELOG.md
index 1e1bf335a0f..996c0b0dcc8 100644
--- a/gems/aws-sdk-costexplorer/CHANGELOG.md
+++ b/gems/aws-sdk-costexplorer/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.109.0 (2024-09-18)
+------------------
+
+* Feature - This release extends the GetReservationPurchaseRecommendation API to support recommendations for Amazon DynamoDB reservations.
+
+1.108.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.107.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-costexplorer/VERSION b/gems/aws-sdk-costexplorer/VERSION
index 585f0182df4..938d55c5464 100644
--- a/gems/aws-sdk-costexplorer/VERSION
+++ b/gems/aws-sdk-costexplorer/VERSION
@@ -1 +1 @@
-1.107.0
+1.109.0
diff --git a/gems/aws-sdk-costexplorer/aws-sdk-costexplorer.gemspec b/gems/aws-sdk-costexplorer/aws-sdk-costexplorer.gemspec
index 3b2ec760f9e..1273380f35e 100644
--- a/gems/aws-sdk-costexplorer/aws-sdk-costexplorer.gemspec
+++ b/gems/aws-sdk-costexplorer/aws-sdk-costexplorer.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-costexplorer/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer.rb b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer.rb
index ceab8cd66e5..212e8d17cf6 100644
--- a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer.rb
+++ b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CostExplorer
- GEM_VERSION = '1.107.0'
+ GEM_VERSION = '1.109.0'
end
diff --git a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client.rb b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client.rb
index cfc5808a7f1..783f305d40a 100644
--- a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client.rb
+++ b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client.rb
@@ -2045,10 +2045,11 @@ def get_cost_forecast(params = {}, options = {})
# is with. Possible values are the following:
#
# \- Amazon Web Services(Amazon Web Services): The entity that sells
- # Amazon Web Services.
+ # Amazon Web Servicesservices.
#
# \- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian
- # entity that's an acting reseller for Amazon Web Services in India.
+ # entity that's an acting reseller for Amazon Web Servicesservices in
+ # India.
#
# \- Amazon Web Services Marketplace: The entity that supports the sale
# of solutions that are built on Amazon Web Services by third-party
@@ -2930,6 +2931,12 @@ def get_reservation_coverage(params = {}, options = {})
# resp.recommendations[0].recommendation_details[0].estimated_reservation_cost_for_lookback_period #=> String
# resp.recommendations[0].recommendation_details[0].upfront_cost #=> String
# resp.recommendations[0].recommendation_details[0].recurring_standard_monthly_cost #=> String
+ # resp.recommendations[0].recommendation_details[0].reserved_capacity_details.dynamo_db_capacity_details.capacity_units #=> String
+ # resp.recommendations[0].recommendation_details[0].reserved_capacity_details.dynamo_db_capacity_details.region #=> String
+ # resp.recommendations[0].recommendation_details[0].recommended_number_of_capacity_units_to_purchase #=> String
+ # resp.recommendations[0].recommendation_details[0].minimum_number_of_capacity_units_used_per_hour #=> String
+ # resp.recommendations[0].recommendation_details[0].maximum_number_of_capacity_units_used_per_hour #=> String
+ # resp.recommendations[0].recommendation_details[0].average_number_of_capacity_units_used_per_hour #=> String
# resp.recommendations[0].recommendation_summary.total_estimated_monthly_savings_amount #=> String
# resp.recommendations[0].recommendation_summary.total_estimated_monthly_savings_percentage #=> String
# resp.recommendations[0].recommendation_summary.currency_code #=> String
@@ -5347,7 +5354,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-costexplorer'
- context[:gem_version] = '1.107.0'
+ context[:gem_version] = '1.109.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client_api.rb b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client_api.rb
index 061dc9929ce..8d7a3a30cdd 100644
--- a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client_api.rb
+++ b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/client_api.rb
@@ -103,6 +103,7 @@ module ClientApi
DimensionValuesWithAttributes = Shapes::StructureShape.new(name: 'DimensionValuesWithAttributes')
DimensionValuesWithAttributesList = Shapes::ListShape.new(name: 'DimensionValuesWithAttributesList')
DiskResourceUtilization = Shapes::StructureShape.new(name: 'DiskResourceUtilization')
+ DynamoDBCapacityDetails = Shapes::StructureShape.new(name: 'DynamoDBCapacityDetails')
EBSResourceUtilization = Shapes::StructureShape.new(name: 'EBSResourceUtilization')
EC2InstanceDetails = Shapes::StructureShape.new(name: 'EC2InstanceDetails')
EC2ResourceDetails = Shapes::StructureShape.new(name: 'EC2ResourceDetails')
@@ -251,6 +252,7 @@ module ClientApi
ReservationPurchaseRecommendations = Shapes::ListShape.new(name: 'ReservationPurchaseRecommendations')
ReservationUtilizationGroup = Shapes::StructureShape.new(name: 'ReservationUtilizationGroup')
ReservationUtilizationGroups = Shapes::ListShape.new(name: 'ReservationUtilizationGroups')
+ ReservedCapacityDetails = Shapes::StructureShape.new(name: 'ReservedCapacityDetails')
ReservedHours = Shapes::StringShape.new(name: 'ReservedHours')
ReservedNormalizedUnits = Shapes::StringShape.new(name: 'ReservedNormalizedUnits')
ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
@@ -621,6 +623,10 @@ module ClientApi
DiskResourceUtilization.add_member(:disk_write_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "DiskWriteBytesPerSecond"))
DiskResourceUtilization.struct_class = Types::DiskResourceUtilization
+ DynamoDBCapacityDetails.add_member(:capacity_units, Shapes::ShapeRef.new(shape: GenericString, location_name: "CapacityUnits"))
+ DynamoDBCapacityDetails.add_member(:region, Shapes::ShapeRef.new(shape: GenericString, location_name: "Region"))
+ DynamoDBCapacityDetails.struct_class = Types::DynamoDBCapacityDetails
+
EBSResourceUtilization.add_member(:ebs_read_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadOpsPerSecond"))
EBSResourceUtilization.add_member(:ebs_write_ops_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsWriteOpsPerSecond"))
EBSResourceUtilization.add_member(:ebs_read_bytes_per_second, Shapes::ShapeRef.new(shape: GenericString, location_name: "EbsReadBytesPerSecond"))
@@ -1197,6 +1203,11 @@ module ClientApi
ReservationPurchaseRecommendationDetail.add_member(:estimated_reservation_cost_for_lookback_period, Shapes::ShapeRef.new(shape: GenericString, location_name: "EstimatedReservationCostForLookbackPeriod"))
ReservationPurchaseRecommendationDetail.add_member(:upfront_cost, Shapes::ShapeRef.new(shape: GenericString, location_name: "UpfrontCost"))
ReservationPurchaseRecommendationDetail.add_member(:recurring_standard_monthly_cost, Shapes::ShapeRef.new(shape: GenericString, location_name: "RecurringStandardMonthlyCost"))
+ ReservationPurchaseRecommendationDetail.add_member(:reserved_capacity_details, Shapes::ShapeRef.new(shape: ReservedCapacityDetails, location_name: "ReservedCapacityDetails"))
+ ReservationPurchaseRecommendationDetail.add_member(:recommended_number_of_capacity_units_to_purchase, Shapes::ShapeRef.new(shape: GenericString, location_name: "RecommendedNumberOfCapacityUnitsToPurchase"))
+ ReservationPurchaseRecommendationDetail.add_member(:minimum_number_of_capacity_units_used_per_hour, Shapes::ShapeRef.new(shape: GenericString, location_name: "MinimumNumberOfCapacityUnitsUsedPerHour"))
+ ReservationPurchaseRecommendationDetail.add_member(:maximum_number_of_capacity_units_used_per_hour, Shapes::ShapeRef.new(shape: GenericString, location_name: "MaximumNumberOfCapacityUnitsUsedPerHour"))
+ ReservationPurchaseRecommendationDetail.add_member(:average_number_of_capacity_units_used_per_hour, Shapes::ShapeRef.new(shape: GenericString, location_name: "AverageNumberOfCapacityUnitsUsedPerHour"))
ReservationPurchaseRecommendationDetail.struct_class = Types::ReservationPurchaseRecommendationDetail
ReservationPurchaseRecommendationDetails.member = Shapes::ShapeRef.new(shape: ReservationPurchaseRecommendationDetail)
@@ -1221,6 +1232,9 @@ module ClientApi
ReservationUtilizationGroups.member = Shapes::ShapeRef.new(shape: ReservationUtilizationGroup)
+ ReservedCapacityDetails.add_member(:dynamo_db_capacity_details, Shapes::ShapeRef.new(shape: DynamoDBCapacityDetails, location_name: "DynamoDBCapacityDetails"))
+ ReservedCapacityDetails.struct_class = Types::ReservedCapacityDetails
+
ResourceDetails.add_member(:ec2_resource_details, Shapes::ShapeRef.new(shape: EC2ResourceDetails, location_name: "EC2ResourceDetails"))
ResourceDetails.struct_class = Types::ResourceDetails
diff --git a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/endpoints.rb b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/endpoints.rb
index 628b78ffbf5..6f4ba6c01a1 100644
--- a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/endpoints.rb
+++ b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/endpoints.rb
@@ -14,574 +14,451 @@ module Endpoints
class CreateAnomalyMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAnomalySubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCostCategoryDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAnomalyMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAnomalySubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCostCategoryDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCostCategoryDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAnomalies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAnomalyMonitors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAnomalySubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApproximateUsageRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCostAndUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCostAndUsageWithResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCostCategories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCostForecast
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDimensionValues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReservationCoverage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReservationPurchaseRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReservationUtilization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRightsizingRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSavingsPlanPurchaseRecommendationDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSavingsPlansCoverage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSavingsPlansPurchaseRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSavingsPlansUtilization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSavingsPlansUtilizationDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUsageForecast
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCostAllocationTagBackfillHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCostAllocationTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCostCategoryDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSavingsPlansPurchaseRecommendationGeneration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ProvideAnomalyFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCostAllocationTagBackfill
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSavingsPlansPurchaseRecommendationGeneration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAnomalyMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAnomalySubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCostAllocationTagsStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCostCategoryDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostExplorer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/plugins/endpoints.rb b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/plugins/endpoints.rb
index ceaf7853df7..fc407dbc9aa 100644
--- a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/plugins/endpoints.rb
+++ b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb
index 39574b9957e..d1cca244863 100644
--- a/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb
+++ b/gems/aws-sdk-costexplorer/lib/aws-sdk-costexplorer/types.rb
@@ -26,8 +26,8 @@ module Types
# @return [String]
#
# @!attribute [rw] dimension_value
- # The dimension for the anomaly (for example, an Amazon Web Service in
- # a service monitor).
+ # The dimension for the anomaly (for example, an Amazon Web
+ # Servicesservice in a service monitor).
# @return [String]
#
# @!attribute [rw] root_causes
@@ -1486,6 +1486,26 @@ class DiskResourceUtilization < Struct.new(
include Aws::Structure
end
+ # The DynamoDB reservations that Amazon Web Services recommends that you
+ # purchase.
+ #
+ # @!attribute [rw] capacity_units
+ # The capacity unit of the recommended reservation.
+ # @return [String]
+ #
+ # @!attribute [rw] region
+ # The Amazon Web Services Region of the recommended reservation.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/DynamoDBCapacityDetails AWS API Documentation
+ #
+ class DynamoDBCapacityDetails < Struct.new(
+ :capacity_units,
+ :region)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# The EBS field that contains a list of EBS metrics that are associated
# with the current instance.
#
@@ -2805,11 +2825,11 @@ class GetCostForecastResponse < Struct.new(
# is with. Possible values are the following:
#
# \- Amazon Web Services(Amazon Web Services): The entity that sells
- # Amazon Web Services.
+ # Amazon Web Servicesservices.
#
# \- AISPL (Amazon Internet Services Pvt. Ltd.): The local Indian
- # entity that's an acting reseller for Amazon Web Services in
- # India.
+ # entity that's an acting reseller for Amazon Web Servicesservices
+ # in India.
#
# \- Amazon Web Services Marketplace: The entity that supports the
# sale of solutions that are built on Amazon Web Services by
@@ -5733,18 +5753,18 @@ class ReservationPurchaseRecommendation < Struct.new(
# @return [String]
#
# @!attribute [rw] average_utilization
- # The average utilization of your instances. Amazon Web Services uses
- # this to calculate your recommended reservation purchases.
+ # The average utilization of your recommendations. Amazon Web Services
+ # uses this to calculate your recommended reservation purchases.
# @return [String]
#
# @!attribute [rw] estimated_break_even_in_months
# How long Amazon Web Services estimates that it takes for this
- # instance to start saving you money, in months.
+ # recommendation to start saving you money, in months.
# @return [String]
#
# @!attribute [rw] currency_code
# The currency code that Amazon Web Services used to calculate the
- # costs for this instance.
+ # costs for this recommendation.
# @return [String]
#
# @!attribute [rw] estimated_monthly_savings_amount
@@ -5770,11 +5790,40 @@ class ReservationPurchaseRecommendation < Struct.new(
# @return [String]
#
# @!attribute [rw] upfront_cost
- # How much purchasing this instance costs you upfront.
+ # How much purchasing this recommendation costs you upfront.
# @return [String]
#
# @!attribute [rw] recurring_standard_monthly_cost
- # How much purchasing this instance costs you on a monthly basis.
+ # How much purchasing this recommendation costs you on a monthly
+ # basis.
+ # @return [String]
+ #
+ # @!attribute [rw] reserved_capacity_details
+ # Details about the reservations that Amazon Web Services recommends
+ # that you purchase.
+ # @return [Types::ReservedCapacityDetails]
+ #
+ # @!attribute [rw] recommended_number_of_capacity_units_to_purchase
+ # The number of reserved capacity units that Amazon Web Services
+ # recommends that you purchase.
+ # @return [String]
+ #
+ # @!attribute [rw] minimum_number_of_capacity_units_used_per_hour
+ # The minimum number of provisioned capacity units that you used in an
+ # hour during the historical period. Amazon Web Services uses this to
+ # calculate your recommended reservation purchases.
+ # @return [String]
+ #
+ # @!attribute [rw] maximum_number_of_capacity_units_used_per_hour
+ # The maximum number of provisioned capacity units that you used in an
+ # hour during the historical period. Amazon Web Services uses this to
+ # calculate your recommended reservation purchases.
+ # @return [String]
+ #
+ # @!attribute [rw] average_number_of_capacity_units_used_per_hour
+ # The average number of provisioned capacity units that you used in an
+ # hour during the historical period. Amazon Web Services uses this to
+ # calculate your recommended reservation purchases.
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ReservationPurchaseRecommendationDetail AWS API Documentation
@@ -5798,7 +5847,12 @@ class ReservationPurchaseRecommendationDetail < Struct.new(
:estimated_monthly_on_demand_cost,
:estimated_reservation_cost_for_lookback_period,
:upfront_cost,
- :recurring_standard_monthly_cost)
+ :recurring_standard_monthly_cost,
+ :reserved_capacity_details,
+ :recommended_number_of_capacity_units_to_purchase,
+ :minimum_number_of_capacity_units_used_per_hour,
+ :maximum_number_of_capacity_units_used_per_hour,
+ :average_number_of_capacity_units_used_per_hour)
SENSITIVE = []
include Aws::Structure
end
@@ -5886,6 +5940,22 @@ class ReservationUtilizationGroup < Struct.new(
include Aws::Structure
end
+ # Details about the reservations that Amazon Web Services recommends
+ # that you purchase.
+ #
+ # @!attribute [rw] dynamo_db_capacity_details
+ # The DynamoDB reservations that Amazon Web Services recommends that
+ # you purchase.
+ # @return [Types::DynamoDBCapacityDetails]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ce-2017-10-25/ReservedCapacityDetails AWS API Documentation
+ #
+ class ReservedCapacityDetails < Struct.new(
+ :dynamo_db_capacity_details)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# Details for the resource.
#
# @!attribute [rw] ec2_resource_details
@@ -6123,13 +6193,13 @@ class RightsizingRecommendationSummary < Struct.new(
include Aws::Structure
end
- # The combination of Amazon Web Service, linked account, linked account
- # name, Region, and usage type where a cost anomaly is observed. The
- # linked account name will only be available when the account name can
- # be identified.
+ # The combination of Amazon Web Servicesservice, linked account, linked
+ # account name, Region, and usage type where a cost anomaly is observed.
+ # The linked account name will only be available when the account name
+ # can be identified.
#
# @!attribute [rw] service
- # The Amazon Web Service name that's associated with the cost
+ # The Amazon Web Servicesservice name that's associated with the cost
# anomaly.
# @return [String]
#
diff --git a/gems/aws-sdk-costexplorer/sig/types.rbs b/gems/aws-sdk-costexplorer/sig/types.rbs
index 9faeb81841f..27e29d8d429 100644
--- a/gems/aws-sdk-costexplorer/sig/types.rbs
+++ b/gems/aws-sdk-costexplorer/sig/types.rbs
@@ -317,6 +317,12 @@ module Aws::CostExplorer
SENSITIVE: []
end
+ class DynamoDBCapacityDetails
+ attr_accessor capacity_units: ::String
+ attr_accessor region: ::String
+ SENSITIVE: []
+ end
+
class EBSResourceUtilization
attr_accessor ebs_read_ops_per_second: ::String
attr_accessor ebs_write_ops_per_second: ::String
@@ -1025,6 +1031,11 @@ module Aws::CostExplorer
attr_accessor estimated_reservation_cost_for_lookback_period: ::String
attr_accessor upfront_cost: ::String
attr_accessor recurring_standard_monthly_cost: ::String
+ attr_accessor reserved_capacity_details: Types::ReservedCapacityDetails
+ attr_accessor recommended_number_of_capacity_units_to_purchase: ::String
+ attr_accessor minimum_number_of_capacity_units_used_per_hour: ::String
+ attr_accessor maximum_number_of_capacity_units_used_per_hour: ::String
+ attr_accessor average_number_of_capacity_units_used_per_hour: ::String
SENSITIVE: []
end
@@ -1050,6 +1061,11 @@ module Aws::CostExplorer
SENSITIVE: []
end
+ class ReservedCapacityDetails
+ attr_accessor dynamo_db_capacity_details: Types::DynamoDBCapacityDetails
+ SENSITIVE: []
+ end
+
class ResourceDetails
attr_accessor ec2_resource_details: Types::EC2ResourceDetails
SENSITIVE: []
diff --git a/gems/aws-sdk-costexplorer/spec/endpoint_provider_spec.rb b/gems/aws-sdk-costexplorer/spec/endpoint_provider_spec.rb
index 33d99746e49..5c25a8681e4 100644
--- a/gems/aws-sdk-costexplorer/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-costexplorer/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CostExplorer
describe EndpointProvider do
subject { Aws::CostExplorer::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"ce", "signingRegion"=>"us-east-1"}]}, "url"=>"https://ce.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"ce", "signingRegion"=>"us-east-1"}]}, "url"=>"https://ce.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CostExplorer
end
end
- context 'For region aws-cn-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-cn-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"ce", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://ce.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::CostExplorer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CostExplorer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CostExplorer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::CostExplorer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"ce", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://ce.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::CostExplorer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ce.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::CostExplorer
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::CostExplorer
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::CostExplorer
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::CostExplorer
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::CostExplorer
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-costoptimizationhub/CHANGELOG.md b/gems/aws-sdk-costoptimizationhub/CHANGELOG.md
index cb90c57b5c8..c09ca1a6ffb 100644
--- a/gems/aws-sdk-costoptimizationhub/CHANGELOG.md
+++ b/gems/aws-sdk-costoptimizationhub/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.14.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.13.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-costoptimizationhub/VERSION b/gems/aws-sdk-costoptimizationhub/VERSION
index feaae22bac7..850e742404b 100644
--- a/gems/aws-sdk-costoptimizationhub/VERSION
+++ b/gems/aws-sdk-costoptimizationhub/VERSION
@@ -1 +1 @@
-1.13.0
+1.14.0
diff --git a/gems/aws-sdk-costoptimizationhub/aws-sdk-costoptimizationhub.gemspec b/gems/aws-sdk-costoptimizationhub/aws-sdk-costoptimizationhub.gemspec
index 118c9d6d922..d0a4243d2a1 100644
--- a/gems/aws-sdk-costoptimizationhub/aws-sdk-costoptimizationhub.gemspec
+++ b/gems/aws-sdk-costoptimizationhub/aws-sdk-costoptimizationhub.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-costoptimizationhub/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub.rb b/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub.rb
index 83cb985ad5f..d1b831a3513 100644
--- a/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub.rb
+++ b/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::CostOptimizationHub
- GEM_VERSION = '1.13.0'
+ GEM_VERSION = '1.14.0'
end
diff --git a/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/client.rb b/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/client.rb
index 22195a1a118..309e967472b 100644
--- a/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/client.rb
+++ b/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/client.rb
@@ -1321,7 +1321,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-costoptimizationhub'
- context[:gem_version] = '1.13.0'
+ context[:gem_version] = '1.14.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/endpoints.rb b/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/endpoints.rb
index 464b35fbe36..cb339f55d1c 100644
--- a/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/endpoints.rb
+++ b/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/endpoints.rb
@@ -14,98 +14,77 @@ module Endpoints
class GetPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostOptimizationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostOptimizationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnrollmentStatuses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostOptimizationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommendationSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostOptimizationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostOptimizationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnrollmentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostOptimizationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CostOptimizationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/plugins/endpoints.rb b/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/plugins/endpoints.rb
index a00a1aab9c8..cb2d0077d76 100644
--- a/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/plugins/endpoints.rb
+++ b/gems/aws-sdk-costoptimizationhub/lib/aws-sdk-costoptimizationhub/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-costoptimizationhub/spec/endpoint_provider_spec.rb b/gems/aws-sdk-costoptimizationhub/spec/endpoint_provider_spec.rb
index 1d2e3341be4..eec33b26802 100644
--- a/gems/aws-sdk-costoptimizationhub/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-costoptimizationhub/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CostOptimizationHub
describe EndpointProvider do
subject { Aws::CostOptimizationHub::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cost-optimization-hub.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::CostOptimizationHub
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::CostOptimizationHub
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-customerprofiles/CHANGELOG.md b/gems/aws-sdk-customerprofiles/CHANGELOG.md
index 86baf05a24d..8323c53fa8b 100644
--- a/gems/aws-sdk-customerprofiles/CHANGELOG.md
+++ b/gems/aws-sdk-customerprofiles/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.50.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.49.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-customerprofiles/VERSION b/gems/aws-sdk-customerprofiles/VERSION
index 7f3a46a841e..5a5c7211dc6 100644
--- a/gems/aws-sdk-customerprofiles/VERSION
+++ b/gems/aws-sdk-customerprofiles/VERSION
@@ -1 +1 @@
-1.49.0
+1.50.0
diff --git a/gems/aws-sdk-customerprofiles/aws-sdk-customerprofiles.gemspec b/gems/aws-sdk-customerprofiles/aws-sdk-customerprofiles.gemspec
index 3d2a21634bc..217963bf4e3 100644
--- a/gems/aws-sdk-customerprofiles/aws-sdk-customerprofiles.gemspec
+++ b/gems/aws-sdk-customerprofiles/aws-sdk-customerprofiles.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-customerprofiles/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles.rb b/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles.rb
index b284354b147..ffbb42eb6c1 100644
--- a/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles.rb
+++ b/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::CustomerProfiles
- GEM_VERSION = '1.49.0'
+ GEM_VERSION = '1.50.0'
end
diff --git a/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/client.rb b/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/client.rb
index a86eef3ea6e..579b0bf151c 100644
--- a/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/client.rb
+++ b/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/client.rb
@@ -4074,7 +4074,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-customerprofiles'
- context[:gem_version] = '1.49.0'
+ context[:gem_version] = '1.50.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/endpoints.rb b/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/endpoints.rb
index 469f3ab6d61..7cac7f90964 100644
--- a/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/endpoints.rb
+++ b/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/endpoints.rb
@@ -14,728 +14,572 @@ module Endpoints
class AddProfileKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCalculatedAttributeDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIntegrationWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCalculatedAttributeDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProfileKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProfileObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProfileObjectType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectProfileObjectType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAutoMergingPreview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCalculatedAttributeDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCalculatedAttributeForProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdentityResolutionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMatches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProfileObjectType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProfileObjectTypeTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSimilarProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflowSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountIntegrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCalculatedAttributeDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCalculatedAttributesForProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentityResolutionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIntegrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfileObjectTypeTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfileObjectTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfileObjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuleBasedMatches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MergeProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutProfileObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutProfileObjectType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCalculatedAttributeDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::CustomerProfiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/plugins/endpoints.rb b/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/plugins/endpoints.rb
index 9b7706c03e5..5393f621681 100644
--- a/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/plugins/endpoints.rb
+++ b/gems/aws-sdk-customerprofiles/lib/aws-sdk-customerprofiles/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-customerprofiles/spec/endpoint_provider_spec.rb b/gems/aws-sdk-customerprofiles/spec/endpoint_provider_spec.rb
index e37ce90899d..116f8ba9707 100644
--- a/gems/aws-sdk-customerprofiles/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-customerprofiles/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::CustomerProfiles
describe EndpointProvider do
subject { Aws::CustomerProfiles::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.eu-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile-fips.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.us-gov-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -321,7 +321,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -335,7 +335,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -348,7 +348,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.us-iso-east-1.c2s.ic.gov"}}
end
@@ -362,7 +362,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -375,7 +375,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -389,7 +389,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -402,7 +402,7 @@ module Aws::CustomerProfiles
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://profile.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -416,7 +416,7 @@ module Aws::CustomerProfiles
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::CustomerProfiles
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::CustomerProfiles
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -457,7 +457,7 @@ module Aws::CustomerProfiles
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -470,7 +470,7 @@ module Aws::CustomerProfiles
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-databasemigrationservice/CHANGELOG.md b/gems/aws-sdk-databasemigrationservice/CHANGELOG.md
index b61b16ca825..d877d0fe269 100644
--- a/gems/aws-sdk-databasemigrationservice/CHANGELOG.md
+++ b/gems/aws-sdk-databasemigrationservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.103.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.102.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-databasemigrationservice/VERSION b/gems/aws-sdk-databasemigrationservice/VERSION
index 1c55b869e98..e402df2ddc9 100644
--- a/gems/aws-sdk-databasemigrationservice/VERSION
+++ b/gems/aws-sdk-databasemigrationservice/VERSION
@@ -1 +1 @@
-1.102.0
+1.103.0
diff --git a/gems/aws-sdk-databasemigrationservice/aws-sdk-databasemigrationservice.gemspec b/gems/aws-sdk-databasemigrationservice/aws-sdk-databasemigrationservice.gemspec
index 09bb93ae55d..2e846003edb 100644
--- a/gems/aws-sdk-databasemigrationservice/aws-sdk-databasemigrationservice.gemspec
+++ b/gems/aws-sdk-databasemigrationservice/aws-sdk-databasemigrationservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-databasemigrationservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice.rb b/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice.rb
index 2089ab6e7c6..55bb6c06fbe 100644
--- a/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice.rb
+++ b/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::DatabaseMigrationService
- GEM_VERSION = '1.102.0'
+ GEM_VERSION = '1.103.0'
end
diff --git a/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/client.rb b/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/client.rb
index e2d93856310..cc2ab340e69 100644
--- a/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/client.rb
+++ b/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/client.rb
@@ -11913,7 +11913,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-databasemigrationservice'
- context[:gem_version] = '1.102.0'
+ context[:gem_version] = '1.103.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/endpoints.rb b/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/endpoints.rb
index 8eac5b9d543..09a6cfdf4e4 100644
--- a/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/endpoints.rb
+++ b/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/endpoints.rb
@@ -14,1484 +14,1166 @@ module Endpoints
class AddTagsToResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ApplyPendingMaintenanceAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchStartRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelReplicationTaskAssessmentRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFleetAdvisorCollector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMigrationProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplicationConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplicationInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplicationSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplicationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFleetAdvisorCollector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFleetAdvisorDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMigrationProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicationConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicationInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicationSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicationTaskAssessmentRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicableIndividualAssessments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConversionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpointSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpointTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEngineVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventCategories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExtensionPackAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetAdvisorCollectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetAdvisorDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetAdvisorLsaAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetAdvisorSchemaObjectSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetAdvisorSchemas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMetadataModelAssessments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMetadataModelConversions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMetadataModelExportsAsScript
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMetadataModelExportsToTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMetadataModelImports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMigrationProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrderableReplicationInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePendingMaintenanceActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRecommendationLimitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRefreshSchemasStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationInstanceTaskLogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationSubnetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationTableStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationTaskAssessmentResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationTaskAssessmentRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationTaskIndividualAssessments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSchemas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTableStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportMetadataModelAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyConversionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDataProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyMigrationProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyReplicationConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyReplicationInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyReplicationSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyReplicationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MoveReplicationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootReplicationInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RefreshSchemas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReloadReplicationTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReloadTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RunFleetAdvisorLsaAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartExtensionPackAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMetadataModelAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMetadataModelConversion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMetadataModelExportAsScript
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMetadataModelExportToTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMetadataModelImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReplicationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReplicationTaskAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReplicationTaskAssessmentRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopReplicationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubscriptionsToEventBridge
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DatabaseMigrationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/plugins/endpoints.rb b/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/plugins/endpoints.rb
index f66b85ebb87..0f916c92f8b 100644
--- a/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-databasemigrationservice/lib/aws-sdk-databasemigrationservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-databasemigrationservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-databasemigrationservice/spec/endpoint_provider_spec.rb
index 8678b934d0f..9975dd8128e 100644
--- a/gems/aws-sdk-databasemigrationservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-databasemigrationservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DatabaseMigrationService
describe EndpointProvider do
subject { Aws::DatabaseMigrationService::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-iso-east-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-iso-west-1.c2s.ic.gov"}}
end
@@ -602,7 +602,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-iso-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-iso-west-1.c2s.ic.gov"}}
end
@@ -616,7 +616,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -629,7 +629,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -642,7 +642,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -656,7 +656,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dms.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -670,7 +670,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -683,7 +683,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -696,7 +696,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -724,7 +724,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -737,7 +737,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -750,7 +750,7 @@ module Aws::DatabaseMigrationService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-dataexchange/CHANGELOG.md b/gems/aws-sdk-dataexchange/CHANGELOG.md
index a24bb5a294a..6f6ec275752 100644
--- a/gems/aws-sdk-dataexchange/CHANGELOG.md
+++ b/gems/aws-sdk-dataexchange/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.55.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.54.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-dataexchange/VERSION b/gems/aws-sdk-dataexchange/VERSION
index b7921ae87bc..094d6ad00ce 100644
--- a/gems/aws-sdk-dataexchange/VERSION
+++ b/gems/aws-sdk-dataexchange/VERSION
@@ -1 +1 @@
-1.54.0
+1.55.0
diff --git a/gems/aws-sdk-dataexchange/aws-sdk-dataexchange.gemspec b/gems/aws-sdk-dataexchange/aws-sdk-dataexchange.gemspec
index 99eec02e0eb..5ae581e6fa3 100644
--- a/gems/aws-sdk-dataexchange/aws-sdk-dataexchange.gemspec
+++ b/gems/aws-sdk-dataexchange/aws-sdk-dataexchange.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-dataexchange/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange.rb b/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange.rb
index 4d554a6bcf7..6bb398e3775 100644
--- a/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange.rb
+++ b/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::DataExchange
- GEM_VERSION = '1.54.0'
+ GEM_VERSION = '1.55.0'
end
diff --git a/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/client.rb b/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/client.rb
index c07a438e08d..aa7e08af33e 100644
--- a/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/client.rb
+++ b/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/client.rb
@@ -2345,7 +2345,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-dataexchange'
- context[:gem_version] = '1.54.0'
+ context[:gem_version] = '1.55.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/endpoints.rb b/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/endpoints.rb
index 02c7775811a..12cb123c53c 100644
--- a/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/endpoints.rb
+++ b/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/endpoints.rb
@@ -14,420 +14,330 @@ module Endpoints
class CancelJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSetRevisions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRevisionAssets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendApiAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendDataSetNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataExchange::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/plugins/endpoints.rb b/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/plugins/endpoints.rb
index bb4603cb183..6b1a4651c41 100644
--- a/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/plugins/endpoints.rb
+++ b/gems/aws-sdk-dataexchange/lib/aws-sdk-dataexchange/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-dataexchange/spec/endpoint_provider_spec.rb b/gems/aws-sdk-dataexchange/spec/endpoint_provider_spec.rb
index 9238f9f3a41..feaef0953f6 100644
--- a/gems/aws-sdk-dataexchange/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-dataexchange/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DataExchange
describe EndpointProvider do
subject { Aws::DataExchange::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DataExchange
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DataExchange
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DataExchange
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DataExchange
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.eu-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DataExchange
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::DataExchange
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.eu-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DataExchange
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DataExchange
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.us-east-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::DataExchange
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.us-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DataExchange
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.us-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DataExchange
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange-fips.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::DataExchange
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange-fips.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::DataExchange
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::DataExchange
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::DataExchange
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::DataExchange
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::DataExchange
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::DataExchange
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::DataExchange
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::DataExchange
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::DataExchange
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::DataExchange
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::DataExchange
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::DataExchange
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::DataExchange
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::DataExchange
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::DataExchange
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::DataExchange
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::DataExchange
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataexchange.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::DataExchange
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::DataExchange
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::DataExchange
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::DataExchange
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::DataExchange
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-datapipeline/CHANGELOG.md b/gems/aws-sdk-datapipeline/CHANGELOG.md
index ac8405541bb..66426178d7a 100644
--- a/gems/aws-sdk-datapipeline/CHANGELOG.md
+++ b/gems/aws-sdk-datapipeline/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.58.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.57.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-datapipeline/VERSION b/gems/aws-sdk-datapipeline/VERSION
index 373aea97570..79f82f6b8e0 100644
--- a/gems/aws-sdk-datapipeline/VERSION
+++ b/gems/aws-sdk-datapipeline/VERSION
@@ -1 +1 @@
-1.57.0
+1.58.0
diff --git a/gems/aws-sdk-datapipeline/aws-sdk-datapipeline.gemspec b/gems/aws-sdk-datapipeline/aws-sdk-datapipeline.gemspec
index 1f7850dad88..6e8954fb867 100644
--- a/gems/aws-sdk-datapipeline/aws-sdk-datapipeline.gemspec
+++ b/gems/aws-sdk-datapipeline/aws-sdk-datapipeline.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-datapipeline/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline.rb b/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline.rb
index eb854309cc4..775a0995871 100644
--- a/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline.rb
+++ b/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::DataPipeline
- GEM_VERSION = '1.57.0'
+ GEM_VERSION = '1.58.0'
end
diff --git a/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/client.rb b/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/client.rb
index 6c9642eb954..a1701cde8cb 100644
--- a/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/client.rb
+++ b/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/client.rb
@@ -1447,7 +1447,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-datapipeline'
- context[:gem_version] = '1.57.0'
+ context[:gem_version] = '1.58.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/endpoints.rb b/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/endpoints.rb
index 6e2e3dbc00d..49daeebc854 100644
--- a/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/endpoints.rb
+++ b/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/endpoints.rb
@@ -14,266 +14,209 @@ module Endpoints
class ActivatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeactivatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeObjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EvaluateExpression
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPipelineDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PollForTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPipelineDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class QueryObjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReportTaskProgress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReportTaskRunnerHeartbeat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetTaskStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidatePipelineDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataPipeline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/plugins/endpoints.rb b/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/plugins/endpoints.rb
index 7c1390d2596..b31640205ed 100644
--- a/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/plugins/endpoints.rb
+++ b/gems/aws-sdk-datapipeline/lib/aws-sdk-datapipeline/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-datapipeline/spec/endpoint_provider_spec.rb b/gems/aws-sdk-datapipeline/spec/endpoint_provider_spec.rb
index 741dd75263f..4fc2489ed00 100644
--- a/gems/aws-sdk-datapipeline/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-datapipeline/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DataPipeline
describe EndpointProvider do
subject { Aws::DataPipeline::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DataPipeline
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.ap-southeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DataPipeline
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.eu-west-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.us-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline-fips.us-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline-fips.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::DataPipeline
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::DataPipeline
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::DataPipeline
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::DataPipeline
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline-fips.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.us-iso-east-1.c2s.ic.gov"}}
end
@@ -252,7 +252,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -265,7 +265,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -279,7 +279,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -292,7 +292,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -305,7 +305,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -319,7 +319,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -332,7 +332,7 @@ module Aws::DataPipeline
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datapipeline.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -346,7 +346,7 @@ module Aws::DataPipeline
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -360,7 +360,7 @@ module Aws::DataPipeline
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::DataPipeline
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -387,7 +387,7 @@ module Aws::DataPipeline
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -400,7 +400,7 @@ module Aws::DataPipeline
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-datasync/CHANGELOG.md b/gems/aws-sdk-datasync/CHANGELOG.md
index ce98bdc686d..c0f287e84fd 100644
--- a/gems/aws-sdk-datasync/CHANGELOG.md
+++ b/gems/aws-sdk-datasync/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.86.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.85.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-datasync/VERSION b/gems/aws-sdk-datasync/VERSION
index f288d11142d..b7844a6ffdc 100644
--- a/gems/aws-sdk-datasync/VERSION
+++ b/gems/aws-sdk-datasync/VERSION
@@ -1 +1 @@
-1.85.0
+1.86.0
diff --git a/gems/aws-sdk-datasync/aws-sdk-datasync.gemspec b/gems/aws-sdk-datasync/aws-sdk-datasync.gemspec
index b0efff382ae..9caa92af122 100644
--- a/gems/aws-sdk-datasync/aws-sdk-datasync.gemspec
+++ b/gems/aws-sdk-datasync/aws-sdk-datasync.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-datasync/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-datasync/lib/aws-sdk-datasync.rb b/gems/aws-sdk-datasync/lib/aws-sdk-datasync.rb
index b296181eb47..473b15b696a 100644
--- a/gems/aws-sdk-datasync/lib/aws-sdk-datasync.rb
+++ b/gems/aws-sdk-datasync/lib/aws-sdk-datasync.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::DataSync
- GEM_VERSION = '1.85.0'
+ GEM_VERSION = '1.86.0'
end
diff --git a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb
index 057f2236802..c464ffbfa57 100644
--- a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb
+++ b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/client.rb
@@ -4685,7 +4685,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-datasync'
- context[:gem_version] = '1.85.0'
+ context[:gem_version] = '1.86.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/endpoints.rb b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/endpoints.rb
index a9d0183f013..4561afd687d 100644
--- a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/endpoints.rb
+++ b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/endpoints.rb
@@ -14,840 +14,660 @@ module Endpoints
class AddStorageSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelTaskExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocationAzureBlob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocationEfs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocationFsxLustre
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocationFsxOntap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocationFsxOpenZfs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocationFsxWindows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocationHdfs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocationNfs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocationObjectStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocationS3
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocationSmb
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDiscoveryJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocationAzureBlob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocationEfs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocationFsxLustre
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocationFsxOntap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocationFsxOpenZfs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocationFsxWindows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocationHdfs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocationNfs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocationObjectStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocationS3
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocationSmb
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStorageSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStorageSystemResourceMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStorageSystemResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTaskExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAgents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDiscoveryJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStorageSystems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTaskExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveStorageSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDiscoveryJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTaskExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDiscoveryJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDiscoveryJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLocationAzureBlob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLocationHdfs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLocationNfs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLocationObjectStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLocationSmb
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStorageSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTaskExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataSync::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/plugins/endpoints.rb b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/plugins/endpoints.rb
index 858ae5486b8..18da0470848 100644
--- a/gems/aws-sdk-datasync/lib/aws-sdk-datasync/plugins/endpoints.rb
+++ b/gems/aws-sdk-datasync/lib/aws-sdk-datasync/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-datasync/spec/endpoint_provider_spec.rb b/gems/aws-sdk-datasync/spec/endpoint_provider_spec.rb
index 54b2b496094..e55c3ba5189 100644
--- a/gems/aws-sdk-datasync/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-datasync/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DataSync
describe EndpointProvider do
subject { Aws::DataSync::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DataSync
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DataSync
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DataSync
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DataSync
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DataSync
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::DataSync
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DataSync
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DataSync
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::DataSync
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DataSync
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DataSync
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::DataSync
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::DataSync
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::DataSync
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::DataSync
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::DataSync
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::DataSync
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::DataSync
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::DataSync
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::DataSync
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::DataSync
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::DataSync
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::DataSync
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::DataSync
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::DataSync
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::DataSync
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::DataSync
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::DataSync
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::DataSync
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::DataSync
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::DataSync
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::DataSync
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::DataSync
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::DataSync
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::DataSync
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::DataSync
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::DataSync
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::DataSync
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::DataSync
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::DataSync
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::DataSync
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::DataSync
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::DataSync
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::DataSync
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::DataSync
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::DataSync
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datasync.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::DataSync
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::DataSync
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::DataSync
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::DataSync
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::DataSync
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-datazone/CHANGELOG.md b/gems/aws-sdk-datazone/CHANGELOG.md
index 83354609f1e..7143551eecd 100644
--- a/gems/aws-sdk-datazone/CHANGELOG.md
+++ b/gems/aws-sdk-datazone/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.23.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.22.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-datazone/VERSION b/gems/aws-sdk-datazone/VERSION
index 57807d6d0d0..a6c2798a482 100644
--- a/gems/aws-sdk-datazone/VERSION
+++ b/gems/aws-sdk-datazone/VERSION
@@ -1 +1 @@
-1.22.0
+1.23.0
diff --git a/gems/aws-sdk-datazone/aws-sdk-datazone.gemspec b/gems/aws-sdk-datazone/aws-sdk-datazone.gemspec
index bb5ef5e01ab..16bc7cde911 100644
--- a/gems/aws-sdk-datazone/aws-sdk-datazone.gemspec
+++ b/gems/aws-sdk-datazone/aws-sdk-datazone.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-datazone/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-datazone/lib/aws-sdk-datazone.rb b/gems/aws-sdk-datazone/lib/aws-sdk-datazone.rb
index 5c9dfe41656..7cdd478d13d 100644
--- a/gems/aws-sdk-datazone/lib/aws-sdk-datazone.rb
+++ b/gems/aws-sdk-datazone/lib/aws-sdk-datazone.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::DataZone
- GEM_VERSION = '1.22.0'
+ GEM_VERSION = '1.23.0'
end
diff --git a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client.rb b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client.rb
index 785bdd681f4..38d9af2dca8 100644
--- a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client.rb
+++ b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/client.rb
@@ -10391,7 +10391,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-datazone'
- context[:gem_version] = '1.22.0'
+ context[:gem_version] = '1.23.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/endpoints.rb b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/endpoints.rb
index db512d887ab..62496edd493 100644
--- a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/endpoints.rb
+++ b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/endpoints.rb
@@ -14,1807 +14,1390 @@ module Endpoints
class AcceptPredictions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AcceptSubscriptionRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddEntityOwner
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddPolicyGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateEnvironmentRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelMetadataGenerationRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssetFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssetRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssetType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataProductRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomainUnit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironmentAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironmentProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFormType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGlossary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGlossaryTerm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroupProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateListingChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProjectMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubscriptionGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubscriptionRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubscriptionTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssetFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssetType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomainUnit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironmentAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironmentBlueprintConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironmentProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFormType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGlossary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGlossaryTerm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteListing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProjectMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubscriptionGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubscriptionRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubscriptionTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTimeSeriesDataPoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateEnvironmentRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssetFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssetType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataSourceRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainUnit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironmentAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironmentBlueprint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironmentBlueprintConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironmentCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironmentProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFormType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGlossary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGlossaryTerm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroupProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIamPortalLoginUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLineageNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetListing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetadataGenerationRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubscriptionGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubscriptionRequestDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubscriptionTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTimeSeriesDataPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssetFilters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssetRevisions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataProductRevisions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSourceRunActivities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSourceRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainUnitsForParent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEntityOwners
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironmentActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironmentBlueprintConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironmentBlueprints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironmentProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLineageNodeHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMetadataGenerationRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicyGrants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjectMemberships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscriptionGrants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscriptionRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscriptionTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTimeSeriesDataPoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PostLineageEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PostTimeSeriesDataPoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEnvironmentBlueprintConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectPredictions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectSubscriptionRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveEntityOwner
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemovePolicyGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Search
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchGroupProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchListings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchUserProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDataSourceRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMetadataGenerationRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssetFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainUnit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironmentAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironmentProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGlossary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGlossaryTerm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGroupProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubscriptionGrantStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubscriptionRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubscriptionTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DataZone::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/plugins/endpoints.rb b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/plugins/endpoints.rb
index 2764366016b..8c0d062f6af 100644
--- a/gems/aws-sdk-datazone/lib/aws-sdk-datazone/plugins/endpoints.rb
+++ b/gems/aws-sdk-datazone/lib/aws-sdk-datazone/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-datazone/spec/endpoint_provider_spec.rb b/gems/aws-sdk-datazone/spec/endpoint_provider_spec.rb
index feb5ab10b73..3ab6f4cfbf8 100644
--- a/gems/aws-sdk-datazone/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-datazone/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DataZone
describe EndpointProvider do
subject { Aws::DataZone::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datazone-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::DataZone
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datazone.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::DataZone
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datazone-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -56,7 +56,7 @@ module Aws::DataZone
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datazone.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -70,7 +70,7 @@ module Aws::DataZone
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datazone-fips.us-gov-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::DataZone
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://datazone.us-gov-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::DataZone
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DataZone
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DataZone
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -139,7 +139,7 @@ module Aws::DataZone
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-dax/CHANGELOG.md b/gems/aws-sdk-dax/CHANGELOG.md
index a5aa175b51c..566aedea424 100644
--- a/gems/aws-sdk-dax/CHANGELOG.md
+++ b/gems/aws-sdk-dax/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.61.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.60.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-dax/VERSION b/gems/aws-sdk-dax/VERSION
index 4d5fde5bd16..91951fd8ad7 100644
--- a/gems/aws-sdk-dax/VERSION
+++ b/gems/aws-sdk-dax/VERSION
@@ -1 +1 @@
-1.60.0
+1.61.0
diff --git a/gems/aws-sdk-dax/aws-sdk-dax.gemspec b/gems/aws-sdk-dax/aws-sdk-dax.gemspec
index c94fc981e12..ba3785be5f9 100644
--- a/gems/aws-sdk-dax/aws-sdk-dax.gemspec
+++ b/gems/aws-sdk-dax/aws-sdk-dax.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-dax/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-dax/lib/aws-sdk-dax.rb b/gems/aws-sdk-dax/lib/aws-sdk-dax.rb
index a40772b50dd..d5d007943f2 100644
--- a/gems/aws-sdk-dax/lib/aws-sdk-dax.rb
+++ b/gems/aws-sdk-dax/lib/aws-sdk-dax.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::DAX
- GEM_VERSION = '1.60.0'
+ GEM_VERSION = '1.61.0'
end
diff --git a/gems/aws-sdk-dax/lib/aws-sdk-dax/client.rb b/gems/aws-sdk-dax/lib/aws-sdk-dax/client.rb
index 195f43c4dcf..17582837849 100644
--- a/gems/aws-sdk-dax/lib/aws-sdk-dax/client.rb
+++ b/gems/aws-sdk-dax/lib/aws-sdk-dax/client.rb
@@ -1783,7 +1783,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-dax'
- context[:gem_version] = '1.60.0'
+ context[:gem_version] = '1.61.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-dax/lib/aws-sdk-dax/endpoints.rb b/gems/aws-sdk-dax/lib/aws-sdk-dax/endpoints.rb
index ac88f32901f..4b51af8b0bd 100644
--- a/gems/aws-sdk-dax/lib/aws-sdk-dax/endpoints.rb
+++ b/gems/aws-sdk-dax/lib/aws-sdk-dax/endpoints.rb
@@ -14,294 +14,231 @@ module Endpoints
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DecreaseReplicationFactor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDefaultParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeParameterGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSubnetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class IncreaseReplicationFactor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DAX::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-dax/lib/aws-sdk-dax/plugins/endpoints.rb b/gems/aws-sdk-dax/lib/aws-sdk-dax/plugins/endpoints.rb
index 2900e3c8419..8fa204ca0fb 100644
--- a/gems/aws-sdk-dax/lib/aws-sdk-dax/plugins/endpoints.rb
+++ b/gems/aws-sdk-dax/lib/aws-sdk-dax/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-dax/spec/endpoint_provider_spec.rb b/gems/aws-sdk-dax/spec/endpoint_provider_spec.rb
index 2add518d760..d69792e6243 100644
--- a/gems/aws-sdk-dax/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-dax/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DAX
describe EndpointProvider do
subject { Aws::DAX::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DAX
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.ap-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DAX
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DAX
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DAX
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.eu-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DAX
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::DAX
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.eu-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DAX
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.eu-west-3.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DAX
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.sa-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::DAX
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DAX
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.us-east-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DAX
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.us-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::DAX
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.us-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::DAX
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax-fips.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::DAX
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax-fips.us-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::DAX
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::DAX
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::DAX
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::DAX
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::DAX
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::DAX
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::DAX
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax-fips.us-gov-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::DAX
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::DAX
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::DAX
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::DAX
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -377,7 +377,7 @@ module Aws::DAX
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -391,7 +391,7 @@ module Aws::DAX
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -404,7 +404,7 @@ module Aws::DAX
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.us-iso-east-1.c2s.ic.gov"}}
end
@@ -418,7 +418,7 @@ module Aws::DAX
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -431,7 +431,7 @@ module Aws::DAX
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -445,7 +445,7 @@ module Aws::DAX
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -458,7 +458,7 @@ module Aws::DAX
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dax.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -472,7 +472,7 @@ module Aws::DAX
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -486,7 +486,7 @@ module Aws::DAX
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -500,7 +500,7 @@ module Aws::DAX
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -513,7 +513,7 @@ module Aws::DAX
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -526,7 +526,7 @@ module Aws::DAX
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-deadline/CHANGELOG.md b/gems/aws-sdk-deadline/CHANGELOG.md
index 0d3f289a239..1f6316d377e 100644
--- a/gems/aws-sdk-deadline/CHANGELOG.md
+++ b/gems/aws-sdk-deadline/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.11.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.10.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-deadline/VERSION b/gems/aws-sdk-deadline/VERSION
index 81c871de46b..1cac385c6cb 100644
--- a/gems/aws-sdk-deadline/VERSION
+++ b/gems/aws-sdk-deadline/VERSION
@@ -1 +1 @@
-1.10.0
+1.11.0
diff --git a/gems/aws-sdk-deadline/aws-sdk-deadline.gemspec b/gems/aws-sdk-deadline/aws-sdk-deadline.gemspec
index 729d9e525cc..a451bed9df3 100644
--- a/gems/aws-sdk-deadline/aws-sdk-deadline.gemspec
+++ b/gems/aws-sdk-deadline/aws-sdk-deadline.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-deadline/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-deadline/lib/aws-sdk-deadline.rb b/gems/aws-sdk-deadline/lib/aws-sdk-deadline.rb
index 32a1721d6d2..f4d4ffcfbdb 100644
--- a/gems/aws-sdk-deadline/lib/aws-sdk-deadline.rb
+++ b/gems/aws-sdk-deadline/lib/aws-sdk-deadline.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Deadline
- GEM_VERSION = '1.10.0'
+ GEM_VERSION = '1.11.0'
end
diff --git a/gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb b/gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb
index 6e552c58ff4..5eae584b922 100644
--- a/gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb
+++ b/gems/aws-sdk-deadline/lib/aws-sdk-deadline/client.rb
@@ -6350,7 +6350,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-deadline'
- context[:gem_version] = '1.10.0'
+ context[:gem_version] = '1.11.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-deadline/lib/aws-sdk-deadline/endpoints.rb b/gems/aws-sdk-deadline/lib/aws-sdk-deadline/endpoints.rb
index 666de4487d2..fe13080fc6d 100644
--- a/gems/aws-sdk-deadline/lib/aws-sdk-deadline/endpoints.rb
+++ b/gems/aws-sdk-deadline/lib/aws-sdk-deadline/endpoints.rb
@@ -14,1428 +14,1122 @@ module Endpoints
class AssociateMemberToFarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateMemberToFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateMemberToJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateMemberToQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssumeFleetRoleForRead
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssumeFleetRoleForWorker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssumeQueueRoleForRead
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssumeQueueRoleForUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssumeQueueRoleForWorker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetJobEntity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBudget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLicenseEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQueueEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQueueFleetAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStorageProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBudget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLicenseEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMeteredProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueueEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueueFleetAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStorageProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMemberFromFarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMemberFromFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMemberFromJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMemberFromQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBudget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLicenseEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueueEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueueFleetAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSessionAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSessionsStatisticsAggregation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStep
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStorageProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStorageProfileForQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAvailableMeteredProducts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBudgets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFarmMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFarms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFleetMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLicenseEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMeteredProducts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMonitors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueueEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueueFleetAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueueMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSessionActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSessionsForWorker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStepConsumers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStepDependencies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStorageProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStorageProfilesForQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMeteredProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchWorkers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSessionsStatisticsAggregation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBudget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQueueEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQueueFleetAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStep
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStorageProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkerSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Deadline::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-deadline/lib/aws-sdk-deadline/plugins/endpoints.rb b/gems/aws-sdk-deadline/lib/aws-sdk-deadline/plugins/endpoints.rb
index 0bda278ce47..2b258d6f225 100644
--- a/gems/aws-sdk-deadline/lib/aws-sdk-deadline/plugins/endpoints.rb
+++ b/gems/aws-sdk-deadline/lib/aws-sdk-deadline/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-deadline/spec/endpoint_provider_spec.rb b/gems/aws-sdk-deadline/spec/endpoint_provider_spec.rb
index e44fa79d24d..169a35ceb32 100644
--- a/gems/aws-sdk-deadline/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-deadline/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Deadline
describe EndpointProvider do
subject { Aws::Deadline::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Deadline
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Deadline
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Deadline
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Deadline
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Deadline
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Deadline
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Deadline
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Deadline
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Deadline
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Deadline
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Deadline
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Deadline
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Deadline
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Deadline
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Deadline
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Deadline
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Deadline
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Deadline
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Deadline
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deadline.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Deadline
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Deadline
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Deadline
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Deadline
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Deadline
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-detective/CHANGELOG.md b/gems/aws-sdk-detective/CHANGELOG.md
index c0fc515b151..f090c81ac7b 100644
--- a/gems/aws-sdk-detective/CHANGELOG.md
+++ b/gems/aws-sdk-detective/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.56.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.55.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-detective/VERSION b/gems/aws-sdk-detective/VERSION
index 094d6ad00ce..3ebf789f5a8 100644
--- a/gems/aws-sdk-detective/VERSION
+++ b/gems/aws-sdk-detective/VERSION
@@ -1 +1 @@
-1.55.0
+1.56.0
diff --git a/gems/aws-sdk-detective/aws-sdk-detective.gemspec b/gems/aws-sdk-detective/aws-sdk-detective.gemspec
index 601df3c53d2..63fe6bea57c 100644
--- a/gems/aws-sdk-detective/aws-sdk-detective.gemspec
+++ b/gems/aws-sdk-detective/aws-sdk-detective.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-detective/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-detective/lib/aws-sdk-detective.rb b/gems/aws-sdk-detective/lib/aws-sdk-detective.rb
index 48dbebb0e44..023a8d4e18b 100644
--- a/gems/aws-sdk-detective/lib/aws-sdk-detective.rb
+++ b/gems/aws-sdk-detective/lib/aws-sdk-detective.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Detective
- GEM_VERSION = '1.55.0'
+ GEM_VERSION = '1.56.0'
end
diff --git a/gems/aws-sdk-detective/lib/aws-sdk-detective/client.rb b/gems/aws-sdk-detective/lib/aws-sdk-detective/client.rb
index 172e153c873..9aa5d10f7ca 100644
--- a/gems/aws-sdk-detective/lib/aws-sdk-detective/client.rb
+++ b/gems/aws-sdk-detective/lib/aws-sdk-detective/client.rb
@@ -1798,7 +1798,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-detective'
- context[:gem_version] = '1.55.0'
+ context[:gem_version] = '1.56.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-detective/lib/aws-sdk-detective/endpoints.rb b/gems/aws-sdk-detective/lib/aws-sdk-detective/endpoints.rb
index 92f2bfc114e..07dcc63ba37 100644
--- a/gems/aws-sdk-detective/lib/aws-sdk-detective/endpoints.rb
+++ b/gems/aws-sdk-detective/lib/aws-sdk-detective/endpoints.rb
@@ -14,406 +14,319 @@ module Endpoints
class AcceptInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetGraphMemberDatasources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetMembershipDatasources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGraph
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGraph
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInvestigation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasourcePackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGraphs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIndicators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInvestigations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizationAdminAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInvestigation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMonitoringMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDatasourcePackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInvestigationState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Detective::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-detective/lib/aws-sdk-detective/plugins/endpoints.rb b/gems/aws-sdk-detective/lib/aws-sdk-detective/plugins/endpoints.rb
index 6033bd6bfff..2ec9febaf9c 100644
--- a/gems/aws-sdk-detective/lib/aws-sdk-detective/plugins/endpoints.rb
+++ b/gems/aws-sdk-detective/lib/aws-sdk-detective/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-detective/spec/endpoint_provider_spec.rb b/gems/aws-sdk-detective/spec/endpoint_provider_spec.rb
index ae163748a24..a778b5980b9 100644
--- a/gems/aws-sdk-detective/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-detective/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Detective
describe EndpointProvider do
subject { Aws::Detective::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Detective
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Detective
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Detective
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Detective
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Detective
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Detective
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Detective
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Detective
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Detective
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Detective
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Detective
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Detective
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Detective
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Detective
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.me-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Detective
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.sa-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Detective
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Detective
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Detective
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Detective
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Detective
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Detective
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.us-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Detective
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.us-west-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Detective
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.us-west-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Detective
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::Detective
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.us-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::Detective
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::Detective
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::Detective
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Detective
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Detective
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::Detective
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::Detective
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::Detective
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Detective
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::Detective
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::Detective
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -531,7 +531,7 @@ module Aws::Detective
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -545,7 +545,7 @@ module Aws::Detective
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -558,7 +558,7 @@ module Aws::Detective
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.us-iso-east-1.c2s.ic.gov"}}
end
@@ -572,7 +572,7 @@ module Aws::Detective
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -585,7 +585,7 @@ module Aws::Detective
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -599,7 +599,7 @@ module Aws::Detective
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -612,7 +612,7 @@ module Aws::Detective
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.detective.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -626,7 +626,7 @@ module Aws::Detective
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::Detective
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::Detective
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -667,7 +667,7 @@ module Aws::Detective
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -680,7 +680,7 @@ module Aws::Detective
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-devicefarm/CHANGELOG.md b/gems/aws-sdk-devicefarm/CHANGELOG.md
index 6fa9aadf99c..3272cdd4264 100644
--- a/gems/aws-sdk-devicefarm/CHANGELOG.md
+++ b/gems/aws-sdk-devicefarm/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.76.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.75.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-devicefarm/VERSION b/gems/aws-sdk-devicefarm/VERSION
index 7c7053aa238..32a6ce3c719 100644
--- a/gems/aws-sdk-devicefarm/VERSION
+++ b/gems/aws-sdk-devicefarm/VERSION
@@ -1 +1 @@
-1.75.0
+1.76.0
diff --git a/gems/aws-sdk-devicefarm/aws-sdk-devicefarm.gemspec b/gems/aws-sdk-devicefarm/aws-sdk-devicefarm.gemspec
index 6ffcd5a600b..e1a74993011 100644
--- a/gems/aws-sdk-devicefarm/aws-sdk-devicefarm.gemspec
+++ b/gems/aws-sdk-devicefarm/aws-sdk-devicefarm.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-devicefarm/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm.rb b/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm.rb
index 03eb537ce8c..cb40564a512 100644
--- a/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm.rb
+++ b/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::DeviceFarm
- GEM_VERSION = '1.75.0'
+ GEM_VERSION = '1.76.0'
end
diff --git a/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb b/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb
index ebe19ab22d2..8ec93fd0123 100644
--- a/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb
+++ b/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/client.rb
@@ -6152,7 +6152,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-devicefarm'
- context[:gem_version] = '1.75.0'
+ context[:gem_version] = '1.76.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/endpoints.rb b/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/endpoints.rb
index c863f4e246d..f558adb12b5 100644
--- a/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/endpoints.rb
+++ b/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/endpoints.rb
@@ -14,1078 +14,847 @@ module Endpoints
class CreateDevicePool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetworkProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRemoteAccessSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTestGridProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTestGridUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVPCEConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDevicePool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRemoteAccessSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTestGridProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVPCEConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeviceInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevicePool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevicePoolCompatibility
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOfferingStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRemoteAccessSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSuite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTestGridProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTestGridSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVPCEConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InstallToRemoteAccessSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListArtifacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeviceInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevicePools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstanceProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNetworkProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOfferingPromotions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOfferingTransactions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRemoteAccessSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSamples
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSuites
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestGridProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestGridSessionActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestGridSessionArtifacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestGridSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUniqueProblems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUploads
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVPCEConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RenewOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ScheduleRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopRemoteAccessSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeviceInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDevicePool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNetworkProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTestGridProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVPCEConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DeviceFarm::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/plugins/endpoints.rb b/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/plugins/endpoints.rb
index 1d06b5f231f..30343446d51 100644
--- a/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/plugins/endpoints.rb
+++ b/gems/aws-sdk-devicefarm/lib/aws-sdk-devicefarm/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-devicefarm/spec/endpoint_provider_spec.rb b/gems/aws-sdk-devicefarm/spec/endpoint_provider_spec.rb
index 0ce114118bc..3def60ae816 100644
--- a/gems/aws-sdk-devicefarm/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-devicefarm/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DeviceFarm
describe EndpointProvider do
subject { Aws::DeviceFarm::EndpointProvider.new }
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm.us-west-2.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DeviceFarm
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::DeviceFarm
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::DeviceFarm
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::DeviceFarm
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::DeviceFarm
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devicefarm.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::DeviceFarm
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::DeviceFarm
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::DeviceFarm
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::DeviceFarm
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::DeviceFarm
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-devopsguru/CHANGELOG.md b/gems/aws-sdk-devopsguru/CHANGELOG.md
index af4e7b3afcc..43fd27dd44d 100644
--- a/gems/aws-sdk-devopsguru/CHANGELOG.md
+++ b/gems/aws-sdk-devopsguru/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.50.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.49.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-devopsguru/VERSION b/gems/aws-sdk-devopsguru/VERSION
index 7f3a46a841e..5a5c7211dc6 100644
--- a/gems/aws-sdk-devopsguru/VERSION
+++ b/gems/aws-sdk-devopsguru/VERSION
@@ -1 +1 @@
-1.49.0
+1.50.0
diff --git a/gems/aws-sdk-devopsguru/aws-sdk-devopsguru.gemspec b/gems/aws-sdk-devopsguru/aws-sdk-devopsguru.gemspec
index 2fc60e4905d..714876c5362 100644
--- a/gems/aws-sdk-devopsguru/aws-sdk-devopsguru.gemspec
+++ b/gems/aws-sdk-devopsguru/aws-sdk-devopsguru.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-devopsguru/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru.rb b/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru.rb
index 8b53ce3bded..7f8bf992090 100644
--- a/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru.rb
+++ b/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::DevOpsGuru
- GEM_VERSION = '1.49.0'
+ GEM_VERSION = '1.50.0'
end
diff --git a/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/client.rb b/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/client.rb
index 6eedd194641..ee8b6727241 100644
--- a/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/client.rb
+++ b/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/client.rb
@@ -2416,7 +2416,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-devopsguru'
- context[:gem_version] = '1.49.0'
+ context[:gem_version] = '1.50.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/endpoints.rb b/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/endpoints.rb
index 7365bee1cb4..acd9dd7319a 100644
--- a/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/endpoints.rb
+++ b/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/endpoints.rb
@@ -14,434 +14,341 @@ module Endpoints
class AddNotificationChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInsight
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountOverview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAnomaly
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventSourcesConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInsight
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationOverview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationResourceCollectionHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourceCollectionHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServiceIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCostEstimation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnomaliesForInsight
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnomalousLogGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMonitoredResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNotificationChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizationInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveNotificationChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchOrganizationInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCostEstimation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventSourcesConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResourceCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DevOpsGuru::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/plugins/endpoints.rb b/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/plugins/endpoints.rb
index 6d2d9e80f95..e7ef5975dbf 100644
--- a/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/plugins/endpoints.rb
+++ b/gems/aws-sdk-devopsguru/lib/aws-sdk-devopsguru/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-devopsguru/spec/endpoint_provider_spec.rb b/gems/aws-sdk-devopsguru/spec/endpoint_provider_spec.rb
index 46cfe49a4ea..198185fd7d6 100644
--- a/gems/aws-sdk-devopsguru/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-devopsguru/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DevOpsGuru
describe EndpointProvider do
subject { Aws::DevOpsGuru::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.eu-north-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru-fips.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.us-east-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru-fips.us-east-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.us-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru-fips.us-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru-fips.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::DevOpsGuru
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devops-guru.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::DevOpsGuru
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::DevOpsGuru
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::DevOpsGuru
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::DevOpsGuru
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::DevOpsGuru
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-directconnect/CHANGELOG.md b/gems/aws-sdk-directconnect/CHANGELOG.md
index 05034f33edd..a73bd32abc2 100644
--- a/gems/aws-sdk-directconnect/CHANGELOG.md
+++ b/gems/aws-sdk-directconnect/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.80.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.79.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-directconnect/VERSION b/gems/aws-sdk-directconnect/VERSION
index b3a8c61e6a8..aaceec04e04 100644
--- a/gems/aws-sdk-directconnect/VERSION
+++ b/gems/aws-sdk-directconnect/VERSION
@@ -1 +1 @@
-1.79.0
+1.80.0
diff --git a/gems/aws-sdk-directconnect/aws-sdk-directconnect.gemspec b/gems/aws-sdk-directconnect/aws-sdk-directconnect.gemspec
index 122e6b21cea..22b1d47c8f4 100644
--- a/gems/aws-sdk-directconnect/aws-sdk-directconnect.gemspec
+++ b/gems/aws-sdk-directconnect/aws-sdk-directconnect.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-directconnect/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect.rb b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect.rb
index cbba2142005..8d7f75e540a 100644
--- a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect.rb
+++ b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::DirectConnect
- GEM_VERSION = '1.79.0'
+ GEM_VERSION = '1.80.0'
end
diff --git a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client.rb b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client.rb
index ee2795f5481..3e2f4386a92 100644
--- a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client.rb
+++ b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/client.rb
@@ -5005,7 +5005,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-directconnect'
- context[:gem_version] = '1.79.0'
+ context[:gem_version] = '1.80.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/endpoints.rb b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/endpoints.rb
index bef46e9dd5a..dd0eed0521f 100644
--- a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/endpoints.rb
+++ b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/endpoints.rb
@@ -14,882 +14,693 @@ module Endpoints
class AcceptDirectConnectGatewayAssociationProposal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AllocateConnectionOnInterconnect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AllocateHostedConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AllocatePrivateVirtualInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AllocatePublicVirtualInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AllocateTransitVirtualInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateConnectionWithLag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateHostedConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateMacSecKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateVirtualInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfirmConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfirmCustomerAgreement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfirmPrivateVirtualInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfirmPublicVirtualInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfirmTransitVirtualInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBGPPeer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDirectConnectGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDirectConnectGatewayAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDirectConnectGatewayAssociationProposal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInterconnect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePrivateVirtualInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePublicVirtualInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitVirtualInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBGPPeer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDirectConnectGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDirectConnectGatewayAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDirectConnectGatewayAssociationProposal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInterconnect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVirtualInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnectionLoa
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnectionsOnInterconnect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomerMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDirectConnectGatewayAssociationProposals
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDirectConnectGatewayAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDirectConnectGatewayAttachments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDirectConnectGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHostedConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInterconnectLoa
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInterconnects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoa
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRouterConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVirtualGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVirtualInterfaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateConnectionFromLag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMacSecKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVirtualInterfaceTestHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBgpFailoverTest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopBgpFailoverTest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDirectConnectGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDirectConnectGatewayAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVirtualInterfaceAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/plugins/endpoints.rb b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/plugins/endpoints.rb
index 447a8f68ea6..2d562b76194 100644
--- a/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/plugins/endpoints.rb
+++ b/gems/aws-sdk-directconnect/lib/aws-sdk-directconnect/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-directconnect/spec/endpoint_provider_spec.rb b/gems/aws-sdk-directconnect/spec/endpoint_provider_spec.rb
index bef237886d4..b6a6e9eb154 100644
--- a/gems/aws-sdk-directconnect/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-directconnect/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DirectConnect
describe EndpointProvider do
subject { Aws::DirectConnect::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DirectConnect
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DirectConnect
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DirectConnect
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DirectConnect
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DirectConnect
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::DirectConnect
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DirectConnect
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DirectConnect
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::DirectConnect
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DirectConnect
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DirectConnect
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::DirectConnect
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::DirectConnect
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::DirectConnect
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::DirectConnect
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::DirectConnect
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::DirectConnect
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::DirectConnect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::DirectConnect
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::DirectConnect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::DirectConnect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::DirectConnect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect-fips.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.us-iso-east-1.c2s.ic.gov"}}
end
@@ -560,7 +560,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.us-iso-west-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -587,7 +587,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -601,7 +601,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -614,7 +614,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -628,7 +628,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -641,7 +641,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://directconnect-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -655,7 +655,7 @@ module Aws::DirectConnect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -668,7 +668,7 @@ module Aws::DirectConnect
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::DirectConnect
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::DirectConnect
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::DirectConnect
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::DirectConnect
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-directoryservice/CHANGELOG.md b/gems/aws-sdk-directoryservice/CHANGELOG.md
index 70a2d6d43f0..67f50360108 100644
--- a/gems/aws-sdk-directoryservice/CHANGELOG.md
+++ b/gems/aws-sdk-directoryservice/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.74.0 (2024-09-18)
+------------------
+
+* Feature - Added new APIs for enabling, disabling, and describing access to the AWS Directory Service Data API
+
+1.73.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.72.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-directoryservice/VERSION b/gems/aws-sdk-directoryservice/VERSION
index 0834888f558..dc87e8af82f 100644
--- a/gems/aws-sdk-directoryservice/VERSION
+++ b/gems/aws-sdk-directoryservice/VERSION
@@ -1 +1 @@
-1.72.0
+1.74.0
diff --git a/gems/aws-sdk-directoryservice/aws-sdk-directoryservice.gemspec b/gems/aws-sdk-directoryservice/aws-sdk-directoryservice.gemspec
index 27e5ca71dc9..1983c8e56b4 100644
--- a/gems/aws-sdk-directoryservice/aws-sdk-directoryservice.gemspec
+++ b/gems/aws-sdk-directoryservice/aws-sdk-directoryservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-directoryservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice.rb b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice.rb
index 5a34597fdb4..8d962862370 100644
--- a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice.rb
+++ b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::DirectoryService
- GEM_VERSION = '1.72.0'
+ GEM_VERSION = '1.74.0'
end
diff --git a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/client.rb b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/client.rb
index b1502b1ab5e..117fa3b6de3 100644
--- a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/client.rb
+++ b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/client.rb
@@ -521,41 +521,56 @@ def accept_shared_directory(params = {}, options = {})
#
# Inbound:
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
+ # * Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: 0.0.0.0/0
+ # * Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: 0.0.0.0/0
+ # * Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: 0.0.0.0/0
+ # * Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: 0.0.0.0/0
+ # * Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
# * Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source:
- # 0.0.0.0/0
+ # Managed Microsoft AD VPC IPv4 CIDR
#
# * Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source:
- # 0.0.0.0/0
+ # Managed Microsoft AD VPC IPv4 CIDR
#
- # * Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
+ # * Type: DNS (UDP), Protocol: UDP, Range: 53, Source: Managed Microsoft
+ # AD VPC IPv4 CIDR
#
- # * Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
+ # * Type: DNS (TCP), Protocol: TCP, Range: 53, Source: Managed Microsoft
+ # AD VPC IPv4 CIDR
#
- # * Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
+ # * Type: LDAP, Protocol: TCP, Range: 389, Source: Managed Microsoft AD
+ # VPC IPv4 CIDR
#
- # * Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0
+ # * Type: All ICMP, Protocol: All, Range: N/A, Source: Managed Microsoft
+ # AD VPC IPv4 CIDR
#
#
#
@@ -1187,8 +1202,8 @@ def create_snapshot(params = {}, options = {})
# which to create the trust relationship.
#
# @option params [required, String] :trust_password
- # The trust password. The must be the same password that was used when
- # creating the trust relationship on the external domain.
+ # The trust password. The trust password must be the same password that
+ # was used when creating the trust relationship on the external domain.
#
# @option params [required, String] :trust_direction
# The direction of the trust relationship.
@@ -1636,7 +1651,7 @@ def describe_conditional_forwarders(params = {}, options = {})
# resp.directory_descriptions[0].description #=> String
# resp.directory_descriptions[0].dns_ip_addrs #=> Array
# resp.directory_descriptions[0].dns_ip_addrs[0] #=> String
- # resp.directory_descriptions[0].stage #=> String, one of "Requested", "Creating", "Created", "Active", "Inoperable", "Impaired", "Restoring", "RestoreFailed", "Deleting", "Deleted", "Failed"
+ # resp.directory_descriptions[0].stage #=> String, one of "Requested", "Creating", "Created", "Active", "Inoperable", "Impaired", "Restoring", "RestoreFailed", "Deleting", "Deleted", "Failed", "Updating"
# resp.directory_descriptions[0].share_status #=> String, one of "Shared", "PendingAcceptance", "Rejected", "Rejecting", "RejectFailed", "Sharing", "ShareFailed", "Deleted", "Deleting"
# resp.directory_descriptions[0].share_method #=> String, one of "ORGANIZATIONS", "HANDSHAKE"
# resp.directory_descriptions[0].share_notes #=> String
@@ -1706,6 +1721,35 @@ def describe_directories(params = {}, options = {})
req.send_request(options)
end
+ # Obtains status of directory data access enablement through the
+ # Directory Service Data API for the specified directory.
+ #
+ # @option params [required, String] :directory_id
+ # The directory identifier.
+ #
+ # @return [Types::DescribeDirectoryDataAccessResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DescribeDirectoryDataAccessResult#data_access_status #data_access_status} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.describe_directory_data_access({
+ # directory_id: "DirectoryId", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.data_access_status #=> String, one of "Disabled", "Disabling", "Enabled", "Enabling", "Failed"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectoryDataAccess AWS API Documentation
+ #
+ # @overload describe_directory_data_access(params = {})
+ # @param [Hash] params ({})
+ def describe_directory_data_access(params = {}, options = {})
+ req = build_request(:describe_directory_data_access, params)
+ req.send_request(options)
+ end
+
# Provides information about any domain controllers in your directory.
#
# @option params [required, String] :directory_id
@@ -1748,7 +1792,7 @@ def describe_directories(params = {}, options = {})
# resp.domain_controllers[0].vpc_id #=> String
# resp.domain_controllers[0].subnet_id #=> String
# resp.domain_controllers[0].availability_zone #=> String
- # resp.domain_controllers[0].status #=> String, one of "Creating", "Active", "Impaired", "Restoring", "Deleting", "Deleted", "Failed"
+ # resp.domain_controllers[0].status #=> String, one of "Creating", "Active", "Impaired", "Restoring", "Deleting", "Deleted", "Failed", "Updating"
# resp.domain_controllers[0].status_reason #=> String
# resp.domain_controllers[0].launch_time #=> Time
# resp.domain_controllers[0].status_last_updated_date_time #=> Time
@@ -1892,7 +1936,7 @@ def describe_ldaps_settings(params = {}, options = {})
# resp.regions_description[0].directory_id #=> String
# resp.regions_description[0].region_name #=> String
# resp.regions_description[0].region_type #=> String, one of "Primary", "Additional"
- # resp.regions_description[0].status #=> String, one of "Requested", "Creating", "Created", "Active", "Inoperable", "Impaired", "Restoring", "RestoreFailed", "Deleting", "Deleted", "Failed"
+ # resp.regions_description[0].status #=> String, one of "Requested", "Creating", "Created", "Active", "Inoperable", "Impaired", "Restoring", "RestoreFailed", "Deleting", "Deleted", "Failed", "Updating"
# resp.regions_description[0].vpc_settings.vpc_id #=> String
# resp.regions_description[0].vpc_settings.subnet_ids #=> Array
# resp.regions_description[0].vpc_settings.subnet_ids[0] #=> String
@@ -2210,8 +2254,8 @@ def describe_update_directory(params = {}, options = {})
# The identifier of the directory
#
# @option params [required, String] :type
- # The type of client authentication to disable. Currently, only the
- # parameter, `SmartCard` is supported.
+ # The type of client authentication to disable. Currently the only
+ # parameter `"SmartCard"` is supported.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
@@ -2231,6 +2275,29 @@ def disable_client_authentication(params = {}, options = {})
req.send_request(options)
end
+ # Deactivates access to directory data via the Directory Service Data
+ # API for the specified directory.
+ #
+ # @option params [required, String] :directory_id
+ # The directory identifier.
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.disable_directory_data_access({
+ # directory_id: "DirectoryId", # required
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableDirectoryDataAccess AWS API Documentation
+ #
+ # @overload disable_directory_data_access(params = {})
+ # @param [Hash] params ({})
+ def disable_directory_data_access(params = {}, options = {})
+ req = build_request(:disable_directory_data_access, params)
+ req.send_request(options)
+ end
+
# Deactivates LDAP secure calls for the specified directory.
#
# @option params [required, String] :directory_id
@@ -2352,6 +2419,29 @@ def enable_client_authentication(params = {}, options = {})
req.send_request(options)
end
+ # Enables access to directory data via the Directory Service Data API
+ # for the specified directory.
+ #
+ # @option params [required, String] :directory_id
+ # The directory identifier.
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.enable_directory_data_access({
+ # directory_id: "DirectoryId", # required
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableDirectoryDataAccess AWS API Documentation
+ #
+ # @overload enable_directory_data_access(params = {})
+ # @param [Hash] params ({})
+ def enable_directory_data_access(params = {}, options = {})
+ req = build_request(:enable_directory_data_access, params)
+ req.send_request(options)
+ end
+
# Activates the switch for the specific directory to always use LDAP
# secure calls.
#
@@ -2944,7 +3034,8 @@ def remove_tags_from_resource(params = {}, options = {})
end
# Resets the password for any user in your Managed Microsoft AD or
- # Simple AD directory.
+ # Simple AD directory. Disabled users will become enabled and can be
+ # authenticated following the API call.
#
# You can reset the password for any user in your directory with the
# following exceptions:
@@ -3444,7 +3535,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-directoryservice'
- context[:gem_version] = '1.72.0'
+ context[:gem_version] = '1.74.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/client_api.rb b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/client_api.rb
index 0d785bb85d7..bbd1f067d42 100644
--- a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/client_api.rb
+++ b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/client_api.rb
@@ -89,6 +89,7 @@ module ClientApi
CreatedDateTime = Shapes::TimestampShape.new(name: 'CreatedDateTime')
CustomerId = Shapes::StringShape.new(name: 'CustomerId')
CustomerUserName = Shapes::StringShape.new(name: 'CustomerUserName')
+ DataAccessStatus = Shapes::StringShape.new(name: 'DataAccessStatus')
DeleteAssociatedConditionalForwarder = Shapes::BooleanShape.new(name: 'DeleteAssociatedConditionalForwarder')
DeleteConditionalForwarderRequest = Shapes::StructureShape.new(name: 'DeleteConditionalForwarderRequest')
DeleteConditionalForwarderResult = Shapes::StructureShape.new(name: 'DeleteConditionalForwarderResult')
@@ -112,6 +113,8 @@ module ClientApi
DescribeConditionalForwardersResult = Shapes::StructureShape.new(name: 'DescribeConditionalForwardersResult')
DescribeDirectoriesRequest = Shapes::StructureShape.new(name: 'DescribeDirectoriesRequest')
DescribeDirectoriesResult = Shapes::StructureShape.new(name: 'DescribeDirectoriesResult')
+ DescribeDirectoryDataAccessRequest = Shapes::StructureShape.new(name: 'DescribeDirectoryDataAccessRequest')
+ DescribeDirectoryDataAccessResult = Shapes::StructureShape.new(name: 'DescribeDirectoryDataAccessResult')
DescribeDomainControllersRequest = Shapes::StructureShape.new(name: 'DescribeDomainControllersRequest')
DescribeDomainControllersResult = Shapes::StructureShape.new(name: 'DescribeDomainControllersResult')
DescribeEventTopicsRequest = Shapes::StructureShape.new(name: 'DescribeEventTopicsRequest')
@@ -166,6 +169,8 @@ module ClientApi
DirectoryVpcSettingsDescription = Shapes::StructureShape.new(name: 'DirectoryVpcSettingsDescription')
DisableClientAuthenticationRequest = Shapes::StructureShape.new(name: 'DisableClientAuthenticationRequest')
DisableClientAuthenticationResult = Shapes::StructureShape.new(name: 'DisableClientAuthenticationResult')
+ DisableDirectoryDataAccessRequest = Shapes::StructureShape.new(name: 'DisableDirectoryDataAccessRequest')
+ DisableDirectoryDataAccessResult = Shapes::StructureShape.new(name: 'DisableDirectoryDataAccessResult')
DisableLDAPSRequest = Shapes::StructureShape.new(name: 'DisableLDAPSRequest')
DisableLDAPSResult = Shapes::StructureShape.new(name: 'DisableLDAPSResult')
DisableRadiusRequest = Shapes::StructureShape.new(name: 'DisableRadiusRequest')
@@ -182,6 +187,8 @@ module ClientApi
DomainControllers = Shapes::ListShape.new(name: 'DomainControllers')
EnableClientAuthenticationRequest = Shapes::StructureShape.new(name: 'EnableClientAuthenticationRequest')
EnableClientAuthenticationResult = Shapes::StructureShape.new(name: 'EnableClientAuthenticationResult')
+ EnableDirectoryDataAccessRequest = Shapes::StructureShape.new(name: 'EnableDirectoryDataAccessRequest')
+ EnableDirectoryDataAccessResult = Shapes::StructureShape.new(name: 'EnableDirectoryDataAccessResult')
EnableLDAPSRequest = Shapes::StructureShape.new(name: 'EnableLDAPSRequest')
EnableLDAPSResult = Shapes::StructureShape.new(name: 'EnableLDAPSResult')
EnableRadiusRequest = Shapes::StructureShape.new(name: 'EnableRadiusRequest')
@@ -655,6 +662,12 @@ module ClientApi
DescribeDirectoriesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
DescribeDirectoriesResult.struct_class = Types::DescribeDirectoriesResult
+ DescribeDirectoryDataAccessRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
+ DescribeDirectoryDataAccessRequest.struct_class = Types::DescribeDirectoryDataAccessRequest
+
+ DescribeDirectoryDataAccessResult.add_member(:data_access_status, Shapes::ShapeRef.new(shape: DataAccessStatus, location_name: "DataAccessStatus"))
+ DescribeDirectoryDataAccessResult.struct_class = Types::DescribeDirectoryDataAccessResult
+
DescribeDomainControllersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
DescribeDomainControllersRequest.add_member(:domain_controller_ids, Shapes::ShapeRef.new(shape: DomainControllerIds, location_name: "DomainControllerIds"))
DescribeDomainControllersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
@@ -845,6 +858,11 @@ module ClientApi
DisableClientAuthenticationResult.struct_class = Types::DisableClientAuthenticationResult
+ DisableDirectoryDataAccessRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
+ DisableDirectoryDataAccessRequest.struct_class = Types::DisableDirectoryDataAccessRequest
+
+ DisableDirectoryDataAccessResult.struct_class = Types::DisableDirectoryDataAccessResult
+
DisableLDAPSRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
DisableLDAPSRequest.add_member(:type, Shapes::ShapeRef.new(shape: LDAPSType, required: true, location_name: "Type"))
DisableLDAPSRequest.struct_class = Types::DisableLDAPSRequest
@@ -891,6 +909,11 @@ module ClientApi
EnableClientAuthenticationResult.struct_class = Types::EnableClientAuthenticationResult
+ EnableDirectoryDataAccessRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
+ EnableDirectoryDataAccessRequest.struct_class = Types::EnableDirectoryDataAccessRequest
+
+ EnableDirectoryDataAccessResult.struct_class = Types::EnableDirectoryDataAccessResult
+
EnableLDAPSRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location_name: "DirectoryId"))
EnableLDAPSRequest.add_member(:type, Shapes::ShapeRef.new(shape: LDAPSType, required: true, location_name: "Type"))
EnableLDAPSRequest.struct_class = Types::EnableLDAPSRequest
@@ -1744,6 +1767,19 @@ module ClientApi
)
end)
+ api.add_operation(:describe_directory_data_access, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DescribeDirectoryDataAccess"
+ o.http_method = "POST"
+ o.http_request_uri = "/"
+ o.input = Shapes::ShapeRef.new(shape: DescribeDirectoryDataAccessRequest)
+ o.output = Shapes::ShapeRef.new(shape: DescribeDirectoryDataAccessResult)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
+ end)
+
api.add_operation(:describe_domain_controllers, Seahorse::Model::Operation.new.tap do |o|
o.name = "DescribeDomainControllers"
o.http_method = "POST"
@@ -1922,6 +1958,21 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
end)
+ api.add_operation(:disable_directory_data_access, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DisableDirectoryDataAccess"
+ o.http_method = "POST"
+ o.http_request_uri = "/"
+ o.input = Shapes::ShapeRef.new(shape: DisableDirectoryDataAccessRequest)
+ o.output = Shapes::ShapeRef.new(shape: DisableDirectoryDataAccessResult)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryInDesiredStateException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
+ end)
+
api.add_operation(:disable_ldaps, Seahorse::Model::Operation.new.tap do |o|
o.name = "DisableLDAPS"
o.http_method = "POST"
@@ -1976,6 +2027,21 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
end)
+ api.add_operation(:enable_directory_data_access, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "EnableDirectoryDataAccess"
+ o.http_method = "POST"
+ o.http_request_uri = "/"
+ o.input = Shapes::ShapeRef.new(shape: EnableDirectoryDataAccessRequest)
+ o.output = Shapes::ShapeRef.new(shape: EnableDirectoryDataAccessResult)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryDoesNotExistException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryInDesiredStateException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: ClientException)
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
+ end)
+
api.add_operation(:enable_ldaps, Seahorse::Model::Operation.new.tap do |o|
o.name = "EnableLDAPS"
o.http_method = "POST"
diff --git a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/endpoints.rb b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/endpoints.rb
index c796f81a90e..631a9b1a4d5 100644
--- a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/endpoints.rb
+++ b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/endpoints.rb
@@ -14,938 +14,770 @@ module Endpoints
class AcceptSharedDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddIpRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddRegion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTagsToResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelSchemaExtension
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConnectDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateComputer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConditionalForwarder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLogSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMicrosoftAD
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrust
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConditionalForwarder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLogSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrust
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterEventTopic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClientAuthenticationSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConditionalForwarders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDirectories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DescribeDirectoryDataAccess
+ def self.build(context)
+ Aws::DirectoryService::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomainControllers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventTopics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLDAPSSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSharedDirectories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrusts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUpdateDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableClientAuthentication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DisableDirectoryDataAccess
+ def self.build(context)
+ Aws::DirectoryService::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableLDAPS
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableRadius
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableSso
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableClientAuthentication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class EnableDirectoryDataAccess
+ def self.build(context)
+ Aws::DirectoryService::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableLDAPS
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableRadius
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableSso
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDirectoryLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSnapshotLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIpRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLogSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchemaExtensions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterEventTopic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectSharedDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveIpRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveRegion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetUserPassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ShareDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSchemaExtension
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnshareDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConditionalForwarder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDirectorySetup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNumberOfDomainControllers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRadius
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrust
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyTrust
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DirectoryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/plugins/endpoints.rb b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/plugins/endpoints.rb
index fcde606adbb..7649c77db47 100644
--- a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
@@ -108,6 +117,8 @@ def parameters_for_operation(context)
Aws::DirectoryService::Endpoints::DescribeConditionalForwarders.build(context)
when :describe_directories
Aws::DirectoryService::Endpoints::DescribeDirectories.build(context)
+ when :describe_directory_data_access
+ Aws::DirectoryService::Endpoints::DescribeDirectoryDataAccess.build(context)
when :describe_domain_controllers
Aws::DirectoryService::Endpoints::DescribeDomainControllers.build(context)
when :describe_event_topics
@@ -128,6 +139,8 @@ def parameters_for_operation(context)
Aws::DirectoryService::Endpoints::DescribeUpdateDirectory.build(context)
when :disable_client_authentication
Aws::DirectoryService::Endpoints::DisableClientAuthentication.build(context)
+ when :disable_directory_data_access
+ Aws::DirectoryService::Endpoints::DisableDirectoryDataAccess.build(context)
when :disable_ldaps
Aws::DirectoryService::Endpoints::DisableLDAPS.build(context)
when :disable_radius
@@ -136,6 +149,8 @@ def parameters_for_operation(context)
Aws::DirectoryService::Endpoints::DisableSso.build(context)
when :enable_client_authentication
Aws::DirectoryService::Endpoints::EnableClientAuthentication.build(context)
+ when :enable_directory_data_access
+ Aws::DirectoryService::Endpoints::EnableDirectoryDataAccess.build(context)
when :enable_ldaps
Aws::DirectoryService::Endpoints::EnableLDAPS.build(context)
when :enable_radius
diff --git a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb
index 9d7e408e348..d557ad99c75 100644
--- a/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb
+++ b/gems/aws-sdk-directoryservice/lib/aws-sdk-directoryservice/types.rb
@@ -36,7 +36,7 @@ class AcceptSharedDirectoryResult < Struct.new(
include Aws::Structure
end
- # Client authentication is not available in this region at this time.
+ # You do not have sufficient access to perform this action.
#
# @!attribute [rw] message
# The descriptive message for the exception.
@@ -73,50 +73,56 @@ class AccessDeniedException < Struct.new(
#
# Inbound:
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 88, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source:
- # 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 123, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source:
- # 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 138, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source:
- # 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 389, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source:
- # 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 464, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source:
- # 0.0.0.0/0
+ # * Type: Custom UDP Rule, Protocol: UDP, Range: 445, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: 0.0.0.0/0
+ # * Type: Custom TCP Rule, Protocol: TCP, Range: 88, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source:
- # 0.0.0.0/0
+ # * Type: Custom TCP Rule, Protocol: TCP, Range: 135, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source:
- # 0.0.0.0/0
+ # * Type: Custom TCP Rule, Protocol: TCP, Range: 445, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source:
- # 0.0.0.0/0
+ # * Type: Custom TCP Rule, Protocol: TCP, Range: 464, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source:
- # 0.0.0.0/0
+ # * Type: Custom TCP Rule, Protocol: TCP, Range: 636, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
# * Type: Custom TCP Rule, Protocol: TCP, Range: 1024-65535, Source:
- # 0.0.0.0/0
+ # Managed Microsoft AD VPC IPv4 CIDR
#
# * Type: Custom TCP Rule, Protocol: TCP, Range: 3268-33269, Source:
- # 0.0.0.0/0
+ # Managed Microsoft AD VPC IPv4 CIDR
#
- # * Type: DNS (UDP), Protocol: UDP, Range: 53, Source: 0.0.0.0/0
+ # * Type: DNS (UDP), Protocol: UDP, Range: 53, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: DNS (TCP), Protocol: TCP, Range: 53, Source: 0.0.0.0/0
+ # * Type: DNS (TCP), Protocol: TCP, Range: 53, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
- # * Type: LDAP, Protocol: TCP, Range: 389, Source: 0.0.0.0/0
+ # * Type: LDAP, Protocol: TCP, Range: 389, Source: Managed Microsoft
+ # AD VPC IPv4 CIDR
#
- # * Type: All ICMP, Protocol: All, Range: N/A, Source: 0.0.0.0/0
+ # * Type: All ICMP, Protocol: All, Range: N/A, Source: Managed
+ # Microsoft AD VPC IPv4 CIDR
#
#
#
@@ -978,8 +984,9 @@ class CreateSnapshotResult < Struct.new(
# @return [String]
#
# @!attribute [rw] trust_password
- # The trust password. The must be the same password that was used when
- # creating the trust relationship on the external domain.
+ # The trust password. The trust password must be the same password
+ # that was used when creating the trust relationship on the external
+ # domain.
# @return [String]
#
# @!attribute [rw] trust_direction
@@ -1391,6 +1398,31 @@ class DescribeDirectoriesResult < Struct.new(
include Aws::Structure
end
+ # @!attribute [rw] directory_id
+ # The directory identifier.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectoryDataAccessRequest AWS API Documentation
+ #
+ class DescribeDirectoryDataAccessRequest < Struct.new(
+ :directory_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] data_access_status
+ # The current status of data access through the Directory Service Data
+ # API.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DescribeDirectoryDataAccessResult AWS API Documentation
+ #
+ class DescribeDirectoryDataAccessResult < Struct.new(
+ :data_access_status)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# @!attribute [rw] directory_id
# Identifier of the directory for which to retrieve the domain
# controller information.
@@ -2044,7 +2076,7 @@ class DirectoryConnectSettingsDescription < Struct.new(
# @return [Time]
#
# @!attribute [rw] type
- # The directory size.
+ # The directory type.
# @return [String]
#
# @!attribute [rw] vpc_settings
@@ -2264,7 +2296,7 @@ class DirectoryNotSharedException < Struct.new(
include Aws::Structure
end
- # The specified directory is unavailable or could not be found.
+ # The specified directory is unavailable.
#
# @!attribute [rw] message
# The descriptive message for the exception.
@@ -2340,8 +2372,8 @@ class DirectoryVpcSettingsDescription < Struct.new(
# @return [String]
#
# @!attribute [rw] type
- # The type of client authentication to disable. Currently, only the
- # parameter, `SmartCard` is supported.
+ # The type of client authentication to disable. Currently the only
+ # parameter `"SmartCard"` is supported.
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableClientAuthenticationRequest AWS API Documentation
@@ -2357,6 +2389,22 @@ class DisableClientAuthenticationRequest < Struct.new(
#
class DisableClientAuthenticationResult < Aws::EmptyStructure; end
+ # @!attribute [rw] directory_id
+ # The directory identifier.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableDirectoryDataAccessRequest AWS API Documentation
+ #
+ class DisableDirectoryDataAccessRequest < Struct.new(
+ :directory_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/DisableDirectoryDataAccessResult AWS API Documentation
+ #
+ class DisableDirectoryDataAccessResult < Aws::EmptyStructure; end
+
# @!attribute [rw] directory_id
# The identifier of the directory.
# @return [String]
@@ -2545,6 +2593,22 @@ class EnableClientAuthenticationRequest < Struct.new(
#
class EnableClientAuthenticationResult < Aws::EmptyStructure; end
+ # @!attribute [rw] directory_id
+ # The directory identifier.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableDirectoryDataAccessRequest AWS API Documentation
+ #
+ class EnableDirectoryDataAccessRequest < Struct.new(
+ :directory_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @see http://docs.aws.amazon.com/goto/WebAPI/ds-2015-04-16/EnableDirectoryDataAccessResult AWS API Documentation
+ #
+ class EnableDirectoryDataAccessResult < Aws::EmptyStructure; end
+
# @!attribute [rw] directory_id
# The identifier of the directory.
# @return [String]
@@ -3402,7 +3466,7 @@ class OwnerDirectoryDescription < Struct.new(
#
# @!attribute [rw] radius_retries
# The maximum number of times that communication with the RADIUS
- # server is attempted.
+ # server is retried after the initial attempt.
# @return [Integer]
#
# @!attribute [rw] shared_secret
@@ -4196,15 +4260,15 @@ class StartSchemaExtensionResult < Struct.new(
# Required name of the tag. The string value can be Unicode characters
# and cannot be prefixed with "aws:". The string can contain only
# the set of Unicode letters, digits, white-space, '\_', '.',
- # '/', '=', '+', '-' (Java regex:
+ # '/', '=', '+', '-', ':', '@'(Java regex:
# "^(\[\\\\p\\\{L\\}\\\\p\\\{Z\\}\\\\p\\\{N\\}\_.:/=+\\\\-\]*)$").
# @return [String]
#
# @!attribute [rw] value
# The optional value of the tag. The string value can be Unicode
# characters. The string can contain only the set of Unicode letters,
- # digits, white-space, '\_', '.', '/', '=', '+', '-' (Java
- # regex:
+ # digits, white-space, '\_', '.', '/', '=', '+', '-',
+ # ':', '@' (Java regex:
# "^(\[\\\\p\\\{L\\}\\\\p\\\{Z\\}\\\\p\\\{N\\}\_.:/=+\\\\-\]*)$").
# @return [String]
#
diff --git a/gems/aws-sdk-directoryservice/sig/client.rbs b/gems/aws-sdk-directoryservice/sig/client.rbs
index d8c363a8b95..a42354ac0db 100644
--- a/gems/aws-sdk-directoryservice/sig/client.rbs
+++ b/gems/aws-sdk-directoryservice/sig/client.rbs
@@ -412,6 +412,16 @@ module Aws
) -> _DescribeDirectoriesResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDirectoriesResponseSuccess
+ interface _DescribeDirectoryDataAccessResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDirectoryDataAccessResult]
+ def data_access_status: () -> ("Disabled" | "Disabling" | "Enabled" | "Enabling" | "Failed")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#describe_directory_data_access-instance_method
+ def describe_directory_data_access: (
+ directory_id: ::String
+ ) -> _DescribeDirectoryDataAccessResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDirectoryDataAccessResponseSuccess
+
interface _DescribeDomainControllersResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDomainControllersResult]
def domain_controllers: () -> ::Array[Types::DomainController]
@@ -544,6 +554,15 @@ module Aws
) -> _DisableClientAuthenticationResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableClientAuthenticationResponseSuccess
+ interface _DisableDirectoryDataAccessResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisableDirectoryDataAccessResult]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#disable_directory_data_access-instance_method
+ def disable_directory_data_access: (
+ directory_id: ::String
+ ) -> _DisableDirectoryDataAccessResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableDirectoryDataAccessResponseSuccess
+
interface _DisableLDAPSResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::DisableLDAPSResult]
end
@@ -584,6 +603,15 @@ module Aws
) -> _EnableClientAuthenticationResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableClientAuthenticationResponseSuccess
+ interface _EnableDirectoryDataAccessResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::EnableDirectoryDataAccessResult]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryService/Client.html#enable_directory_data_access-instance_method
+ def enable_directory_data_access: (
+ directory_id: ::String
+ ) -> _EnableDirectoryDataAccessResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _EnableDirectoryDataAccessResponseSuccess
+
interface _EnableLDAPSResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::EnableLDAPSResult]
end
diff --git a/gems/aws-sdk-directoryservice/sig/types.rbs b/gems/aws-sdk-directoryservice/sig/types.rbs
index 6389d46115d..70074913124 100644
--- a/gems/aws-sdk-directoryservice/sig/types.rbs
+++ b/gems/aws-sdk-directoryservice/sig/types.rbs
@@ -386,6 +386,16 @@ module Aws::DirectoryService
SENSITIVE: []
end
+ class DescribeDirectoryDataAccessRequest
+ attr_accessor directory_id: ::String
+ SENSITIVE: []
+ end
+
+ class DescribeDirectoryDataAccessResult
+ attr_accessor data_access_status: ("Disabled" | "Disabling" | "Enabled" | "Enabling" | "Failed")
+ SENSITIVE: []
+ end
+
class DescribeDomainControllersRequest
attr_accessor directory_id: ::String
attr_accessor domain_controller_ids: ::Array[::String]
@@ -548,7 +558,7 @@ module Aws::DirectoryService
attr_accessor access_url: ::String
attr_accessor description: ::String
attr_accessor dns_ip_addrs: ::Array[::String]
- attr_accessor stage: ("Requested" | "Creating" | "Created" | "Active" | "Inoperable" | "Impaired" | "Restoring" | "RestoreFailed" | "Deleting" | "Deleted" | "Failed")
+ attr_accessor stage: ("Requested" | "Creating" | "Created" | "Active" | "Inoperable" | "Impaired" | "Restoring" | "RestoreFailed" | "Deleting" | "Deleted" | "Failed" | "Updating")
attr_accessor share_status: ("Shared" | "PendingAcceptance" | "Rejected" | "Rejecting" | "RejectFailed" | "Sharing" | "ShareFailed" | "Deleted" | "Deleting")
attr_accessor share_method: ("ORGANIZATIONS" | "HANDSHAKE")
attr_accessor share_notes: ::String
@@ -634,6 +644,14 @@ module Aws::DirectoryService
class DisableClientAuthenticationResult < Aws::EmptyStructure
end
+ class DisableDirectoryDataAccessRequest
+ attr_accessor directory_id: ::String
+ SENSITIVE: []
+ end
+
+ class DisableDirectoryDataAccessResult < Aws::EmptyStructure
+ end
+
class DisableLDAPSRequest
attr_accessor directory_id: ::String
attr_accessor type: ("Client")
@@ -668,7 +686,7 @@ module Aws::DirectoryService
attr_accessor vpc_id: ::String
attr_accessor subnet_id: ::String
attr_accessor availability_zone: ::String
- attr_accessor status: ("Creating" | "Active" | "Impaired" | "Restoring" | "Deleting" | "Deleted" | "Failed")
+ attr_accessor status: ("Creating" | "Active" | "Impaired" | "Restoring" | "Deleting" | "Deleted" | "Failed" | "Updating")
attr_accessor status_reason: ::String
attr_accessor launch_time: ::Time
attr_accessor status_last_updated_date_time: ::Time
@@ -690,6 +708,14 @@ module Aws::DirectoryService
class EnableClientAuthenticationResult < Aws::EmptyStructure
end
+ class EnableDirectoryDataAccessRequest
+ attr_accessor directory_id: ::String
+ SENSITIVE: []
+ end
+
+ class EnableDirectoryDataAccessResult < Aws::EmptyStructure
+ end
+
class EnableLDAPSRequest
attr_accessor directory_id: ::String
attr_accessor type: ("Client")
@@ -955,7 +981,7 @@ module Aws::DirectoryService
attr_accessor directory_id: ::String
attr_accessor region_name: ::String
attr_accessor region_type: ("Primary" | "Additional")
- attr_accessor status: ("Requested" | "Creating" | "Created" | "Active" | "Inoperable" | "Impaired" | "Restoring" | "RestoreFailed" | "Deleting" | "Deleted" | "Failed")
+ attr_accessor status: ("Requested" | "Creating" | "Created" | "Active" | "Inoperable" | "Impaired" | "Restoring" | "RestoreFailed" | "Deleting" | "Deleted" | "Failed" | "Updating")
attr_accessor vpc_settings: Types::DirectoryVpcSettings
attr_accessor desired_number_of_domain_controllers: ::Integer
attr_accessor launch_time: ::Time
diff --git a/gems/aws-sdk-directoryservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-directoryservice/spec/endpoint_provider_spec.rb
index bfef874444f..0020e9f5676 100644
--- a/gems/aws-sdk-directoryservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-directoryservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DirectoryService
describe EndpointProvider do
subject { Aws::DirectoryService::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DirectoryService
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DirectoryService
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DirectoryService
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DirectoryService
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DirectoryService
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::DirectoryService
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DirectoryService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DirectoryService
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::DirectoryService
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DirectoryService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DirectoryService
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::DirectoryService
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::DirectoryService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::DirectoryService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::DirectoryService
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::DirectoryService
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::DirectoryService
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::DirectoryService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::DirectoryService
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::DirectoryService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::DirectoryService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::DirectoryService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -587,7 +587,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -601,7 +601,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -614,7 +614,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -628,7 +628,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -641,7 +641,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ds-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -655,7 +655,7 @@ module Aws::DirectoryService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -668,7 +668,7 @@ module Aws::DirectoryService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::DirectoryService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::DirectoryService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::DirectoryService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::DirectoryService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-directoryservicedata/CHANGELOG.md b/gems/aws-sdk-directoryservicedata/CHANGELOG.md
new file mode 100644
index 00000000000..3d60bb968fd
--- /dev/null
+++ b/gems/aws-sdk-directoryservicedata/CHANGELOG.md
@@ -0,0 +1,8 @@
+Unreleased Changes
+------------------
+
+1.0.0 (2024-09-18)
+------------------
+
+* Feature - Initial release of `aws-sdk-directoryservicedata`.
+
diff --git a/gems/aws-sdk-worklink/LICENSE.txt b/gems/aws-sdk-directoryservicedata/LICENSE.txt
similarity index 100%
rename from gems/aws-sdk-worklink/LICENSE.txt
rename to gems/aws-sdk-directoryservicedata/LICENSE.txt
diff --git a/gems/aws-sdk-directoryservicedata/VERSION b/gems/aws-sdk-directoryservicedata/VERSION
new file mode 100644
index 00000000000..3eefcb9dd5b
--- /dev/null
+++ b/gems/aws-sdk-directoryservicedata/VERSION
@@ -0,0 +1 @@
+1.0.0
diff --git a/gems/aws-sdk-worklink/aws-sdk-worklink.gemspec b/gems/aws-sdk-directoryservicedata/aws-sdk-directoryservicedata.gemspec
similarity index 65%
rename from gems/aws-sdk-worklink/aws-sdk-worklink.gemspec
rename to gems/aws-sdk-directoryservicedata/aws-sdk-directoryservicedata.gemspec
index e61a84431a9..9ec4922158d 100644
--- a/gems/aws-sdk-worklink/aws-sdk-worklink.gemspec
+++ b/gems/aws-sdk-directoryservicedata/aws-sdk-directoryservicedata.gemspec
@@ -9,10 +9,10 @@
Gem::Specification.new do |spec|
- spec.name = 'aws-sdk-worklink'
+ spec.name = 'aws-sdk-directoryservicedata'
spec.version = File.read(File.expand_path('../VERSION', __FILE__)).strip
- spec.summary = 'AWS SDK for Ruby - WorkLink'
- spec.description = 'Official AWS Ruby gem for Amazon WorkLink (WorkLink). This gem is part of the AWS SDK for Ruby.'
+ spec.summary = 'AWS SDK for Ruby - AWS Directory Service Data'
+ spec.description = 'Official AWS Ruby gem for AWS Directory Service Data. This gem is part of the AWS SDK for Ruby.'
spec.author = 'Amazon Web Services'
spec.homepage = 'https://github.com/aws/aws-sdk-ruby'
spec.license = 'Apache-2.0'
@@ -21,12 +21,12 @@ Gem::Specification.new do |spec|
spec.files = Dir["LICENSE.txt", "CHANGELOG.md", "VERSION", "lib/**/*.rb", "sig/**/*.rbs"]
spec.metadata = {
- 'source_code_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-worklink',
- 'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-worklink/CHANGELOG.md'
+ 'source_code_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-directoryservicedata',
+ 'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-directoryservicedata/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
- spec.add_dependency('aws-sigv4', '~> 1.5')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
+ spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
end
diff --git a/gems/aws-sdk-worklink/features/env.rb b/gems/aws-sdk-directoryservicedata/features/env.rb
similarity index 84%
rename from gems/aws-sdk-worklink/features/env.rb
rename to gems/aws-sdk-directoryservicedata/features/env.rb
index 72d4e723524..48d6914c9e4 100644
--- a/gems/aws-sdk-worklink/features/env.rb
+++ b/gems/aws-sdk-directoryservicedata/features/env.rb
@@ -13,6 +13,6 @@
$:.unshift(File.expand_path('../../../aws-sigv4/lib', __FILE__))
require 'features_helper'
-require 'aws-sdk-worklink'
+require 'aws-sdk-directoryservicedata'
-Aws::WorkLink::Client.add_plugin(ApiCallTracker)
+Aws::DirectoryServiceData::Client.add_plugin(ApiCallTracker)
diff --git a/gems/aws-sdk-directoryservicedata/features/step_definitions.rb b/gems/aws-sdk-directoryservicedata/features/step_definitions.rb
new file mode 100644
index 00000000000..98ca8e2c003
--- /dev/null
+++ b/gems/aws-sdk-directoryservicedata/features/step_definitions.rb
@@ -0,0 +1,8 @@
+Before("@directoryservicedata") do
+ @service = Aws::DirectoryServiceData::Resource.new
+ @client = @service.client
+end
+
+After("@directoryservicedata") do
+ # shared cleanup logic
+end
diff --git a/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata.rb b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata.rb
new file mode 100644
index 00000000000..1efa7976518
--- /dev/null
+++ b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata.rb
@@ -0,0 +1,57 @@
+# frozen_string_literal: true
+
+# WARNING ABOUT GENERATED CODE
+#
+# This file is generated. See the contributing guide for more information:
+# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
+#
+# WARNING ABOUT GENERATED CODE
+
+
+require 'aws-sdk-core'
+require 'aws-sigv4'
+
+require_relative 'aws-sdk-directoryservicedata/types'
+require_relative 'aws-sdk-directoryservicedata/client_api'
+require_relative 'aws-sdk-directoryservicedata/plugins/endpoints.rb'
+require_relative 'aws-sdk-directoryservicedata/client'
+require_relative 'aws-sdk-directoryservicedata/errors'
+require_relative 'aws-sdk-directoryservicedata/resource'
+require_relative 'aws-sdk-directoryservicedata/endpoint_parameters'
+require_relative 'aws-sdk-directoryservicedata/endpoint_provider'
+require_relative 'aws-sdk-directoryservicedata/endpoints'
+require_relative 'aws-sdk-directoryservicedata/customizations'
+
+# This module provides support for AWS Directory Service Data. This module is available in the
+# `aws-sdk-directoryservicedata` gem.
+#
+# # Client
+#
+# The {Client} class provides one method for each API operation. Operation
+# methods each accept a hash of request parameters and return a response
+# structure.
+#
+# directory_service_data = Aws::DirectoryServiceData::Client.new
+# resp = directory_service_data.add_group_member(params)
+#
+# See {Client} for more information.
+#
+# # Errors
+#
+# Errors returned from AWS Directory Service Data are defined in the
+# {Errors} module and all extend {Errors::ServiceError}.
+#
+# begin
+# # do stuff
+# rescue Aws::DirectoryServiceData::Errors::ServiceError
+# # rescues all AWS Directory Service Data API errors
+# end
+#
+# See {Errors} for more information.
+#
+# @!group service
+module Aws::DirectoryServiceData
+
+ GEM_VERSION = '1.0.0'
+
+end
diff --git a/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/client.rb b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/client.rb
new file mode 100644
index 00000000000..cad81853797
--- /dev/null
+++ b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/client.rb
@@ -0,0 +1,1756 @@
+# frozen_string_literal: true
+
+# WARNING ABOUT GENERATED CODE
+#
+# This file is generated. See the contributing guide for more information:
+# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
+#
+# WARNING ABOUT GENERATED CODE
+
+require 'seahorse/client/plugins/content_length.rb'
+require 'aws-sdk-core/plugins/credentials_configuration.rb'
+require 'aws-sdk-core/plugins/logging.rb'
+require 'aws-sdk-core/plugins/param_converter.rb'
+require 'aws-sdk-core/plugins/param_validator.rb'
+require 'aws-sdk-core/plugins/user_agent.rb'
+require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
+require 'aws-sdk-core/plugins/retry_errors.rb'
+require 'aws-sdk-core/plugins/global_configuration.rb'
+require 'aws-sdk-core/plugins/regional_endpoint.rb'
+require 'aws-sdk-core/plugins/endpoint_discovery.rb'
+require 'aws-sdk-core/plugins/endpoint_pattern.rb'
+require 'aws-sdk-core/plugins/response_paging.rb'
+require 'aws-sdk-core/plugins/stub_responses.rb'
+require 'aws-sdk-core/plugins/idempotency_token.rb'
+require 'aws-sdk-core/plugins/invocation_id.rb'
+require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
+require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
+require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
+require 'aws-sdk-core/plugins/transfer_encoding.rb'
+require 'aws-sdk-core/plugins/http_checksum.rb'
+require 'aws-sdk-core/plugins/checksum_algorithm.rb'
+require 'aws-sdk-core/plugins/request_compression.rb'
+require 'aws-sdk-core/plugins/defaults_mode.rb'
+require 'aws-sdk-core/plugins/recursion_detection.rb'
+require 'aws-sdk-core/plugins/telemetry.rb'
+require 'aws-sdk-core/plugins/sign.rb'
+require 'aws-sdk-core/plugins/protocols/rest_json.rb'
+
+Aws::Plugins::GlobalConfiguration.add_identifier(:directoryservicedata)
+
+module Aws::DirectoryServiceData
+ # An API client for DirectoryServiceData. To construct a client, you need to configure a `:region` and `:credentials`.
+ #
+ # client = Aws::DirectoryServiceData::Client.new(
+ # region: region_name,
+ # credentials: credentials,
+ # # ...
+ # )
+ #
+ # For details on configuring region and credentials see
+ # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
+ #
+ # See {#initialize} for a full list of supported configuration options.
+ class Client < Seahorse::Client::Base
+
+ include Aws::ClientStubs
+
+ @identifier = :directoryservicedata
+
+ set_api(ClientApi::API)
+
+ add_plugin(Seahorse::Client::Plugins::ContentLength)
+ add_plugin(Aws::Plugins::CredentialsConfiguration)
+ add_plugin(Aws::Plugins::Logging)
+ add_plugin(Aws::Plugins::ParamConverter)
+ add_plugin(Aws::Plugins::ParamValidator)
+ add_plugin(Aws::Plugins::UserAgent)
+ add_plugin(Aws::Plugins::HelpfulSocketErrors)
+ add_plugin(Aws::Plugins::RetryErrors)
+ add_plugin(Aws::Plugins::GlobalConfiguration)
+ add_plugin(Aws::Plugins::RegionalEndpoint)
+ add_plugin(Aws::Plugins::EndpointDiscovery)
+ add_plugin(Aws::Plugins::EndpointPattern)
+ add_plugin(Aws::Plugins::ResponsePaging)
+ add_plugin(Aws::Plugins::StubResponses)
+ add_plugin(Aws::Plugins::IdempotencyToken)
+ add_plugin(Aws::Plugins::InvocationId)
+ add_plugin(Aws::Plugins::JsonvalueConverter)
+ add_plugin(Aws::Plugins::ClientMetricsPlugin)
+ add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
+ add_plugin(Aws::Plugins::TransferEncoding)
+ add_plugin(Aws::Plugins::HttpChecksum)
+ add_plugin(Aws::Plugins::ChecksumAlgorithm)
+ add_plugin(Aws::Plugins::RequestCompression)
+ add_plugin(Aws::Plugins::DefaultsMode)
+ add_plugin(Aws::Plugins::RecursionDetection)
+ add_plugin(Aws::Plugins::Telemetry)
+ add_plugin(Aws::Plugins::Sign)
+ add_plugin(Aws::Plugins::Protocols::RestJson)
+ add_plugin(Aws::DirectoryServiceData::Plugins::Endpoints)
+
+ # @overload initialize(options)
+ # @param [Hash] options
+ #
+ # @option options [Array] :plugins ([]])
+ # A list of plugins to apply to the client. Each plugin is either a
+ # class name or an instance of a plugin class.
+ #
+ # @option options [required, Aws::CredentialProvider] :credentials
+ # Your AWS credentials. This can be an instance of any one of the
+ # following classes:
+ #
+ # * `Aws::Credentials` - Used for configuring static, non-refreshing
+ # credentials.
+ #
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
+ # shared file, such as `~/.aws/config`.
+ #
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
+ #
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
+ # assume a role after providing credentials via the web.
+ #
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
+ # access token generated from `aws login`.
+ #
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
+ # process that outputs to stdout.
+ #
+ # * `Aws::InstanceProfileCredentials` - Used for loading credentials
+ # from an EC2 IMDS on an EC2 instance.
+ #
+ # * `Aws::ECSCredentials` - Used for loading credentials from
+ # instances running in ECS.
+ #
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
+ # from the Cognito Identity service.
+ #
+ # When `:credentials` are not configured directly, the following
+ # locations will be searched for credentials:
+ #
+ # * `Aws.config[:credentials]`
+ # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
+ # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
+ # * `~/.aws/credentials`
+ # * `~/.aws/config`
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
+ # are very aggressive. Construct and pass an instance of
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
+ # enable retries and extended timeouts. Instance profile credential
+ # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
+ # to true.
+ #
+ # @option options [required, String] :region
+ # The AWS region to connect to. The configured `:region` is
+ # used to determine the service `:endpoint`. When not passed,
+ # a default `:region` is searched for in the following locations:
+ #
+ # * `Aws.config[:region]`
+ # * `ENV['AWS_REGION']`
+ # * `ENV['AMAZON_REGION']`
+ # * `ENV['AWS_DEFAULT_REGION']`
+ # * `~/.aws/credentials`
+ # * `~/.aws/config`
+ #
+ # @option options [String] :access_key_id
+ #
+ # @option options [Boolean] :active_endpoint_cache (false)
+ # When set to `true`, a thread polling for endpoints will be running in
+ # the background every 60 secs (default). Defaults to `false`.
+ #
+ # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
+ # Used only in `adaptive` retry mode. When true, the request will sleep
+ # until there is sufficent client side capacity to retry the request.
+ # When false, the request will raise a `RetryCapacityNotAvailableError` and will
+ # not retry instead of sleeping.
+ #
+ # @option options [Boolean] :client_side_monitoring (false)
+ # When `true`, client-side metrics will be collected for all API requests from
+ # this client.
+ #
+ # @option options [String] :client_side_monitoring_client_id ("")
+ # Allows you to provide an identifier for this client which will be attached to
+ # all generated client side metrics. Defaults to an empty string.
+ #
+ # @option options [String] :client_side_monitoring_host ("127.0.0.1")
+ # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
+ # side monitoring agent is running on, where client metrics will be published via UDP.
+ #
+ # @option options [Integer] :client_side_monitoring_port (31000)
+ # Required for publishing client metrics. The port that the client side monitoring
+ # agent is running on, where client metrics will be published via UDP.
+ #
+ # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
+ # Allows you to provide a custom client-side monitoring publisher class. By default,
+ # will use the Client Side Monitoring Agent Publisher.
+ #
+ # @option options [Boolean] :convert_params (true)
+ # When `true`, an attempt is made to coerce request parameters into
+ # the required types.
+ #
+ # @option options [Boolean] :correct_clock_skew (true)
+ # Used only in `standard` and adaptive retry modes. Specifies whether to apply
+ # a clock skew correction and retry requests with skewed client clocks.
+ #
+ # @option options [String] :defaults_mode ("legacy")
+ # See {Aws::DefaultsModeConfiguration} for a list of the
+ # accepted modes and the configuration defaults that are included.
+ #
+ # @option options [Boolean] :disable_host_prefix_injection (false)
+ # Set to true to disable SDK automatically adding host prefix
+ # to default service endpoint when available.
+ #
+ # @option options [Boolean] :disable_request_compression (false)
+ # When set to 'true' the request body will not be compressed
+ # for supported operations.
+ #
+ # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
+ # Normally you should not configure the `:endpoint` option
+ # directly. This is normally constructed from the `:region`
+ # option. Configuring `:endpoint` is normally reserved for
+ # connecting to test or custom endpoints. The endpoint should
+ # be a URI formatted like:
+ #
+ # 'http://example.com'
+ # 'https://example.com'
+ # 'http://example.com:123'
+ #
+ # @option options [Integer] :endpoint_cache_max_entries (1000)
+ # Used for the maximum size limit of the LRU cache storing endpoints data
+ # for endpoint discovery enabled operations. Defaults to 1000.
+ #
+ # @option options [Integer] :endpoint_cache_max_threads (10)
+ # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
+ #
+ # @option options [Integer] :endpoint_cache_poll_interval (60)
+ # When :endpoint_discovery and :active_endpoint_cache is enabled,
+ # Use this option to config the time interval in seconds for making
+ # requests fetching endpoints information. Defaults to 60 sec.
+ #
+ # @option options [Boolean] :endpoint_discovery (false)
+ # When set to `true`, endpoint discovery will be enabled for operations when available.
+ #
+ # @option options [Boolean] :ignore_configured_endpoint_urls
+ # Setting to true disables use of endpoint URLs provided via environment
+ # variables and the shared configuration file.
+ #
+ # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
+ # The log formatter.
+ #
+ # @option options [Symbol] :log_level (:info)
+ # The log level to send messages to the `:logger` at.
+ #
+ # @option options [Logger] :logger
+ # The Logger instance to send log messages to. If this option
+ # is not set, logging will be disabled.
+ #
+ # @option options [Integer] :max_attempts (3)
+ # An integer representing the maximum number attempts that will be made for
+ # a single request, including the initial attempt. For example,
+ # setting this value to 5 will result in a request being retried up to
+ # 4 times. Used in `standard` and `adaptive` retry modes.
+ #
+ # @option options [String] :profile ("default")
+ # Used when loading credentials from the shared credentials file
+ # at HOME/.aws/credentials. When not specified, 'default' is used.
+ #
+ # @option options [Integer] :request_min_compression_size_bytes (10240)
+ # The minimum size in bytes that triggers compression for request
+ # bodies. The value must be non-negative integer value between 0
+ # and 10485780 bytes inclusive.
+ #
+ # @option options [Proc] :retry_backoff
+ # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
+ # This option is only used in the `legacy` retry mode.
+ #
+ # @option options [Float] :retry_base_delay (0.3)
+ # The base delay in seconds used by the default backoff function. This option
+ # is only used in the `legacy` retry mode.
+ #
+ # @option options [Symbol] :retry_jitter (:none)
+ # A delay randomiser function used by the default backoff function.
+ # Some predefined functions can be referenced by name - :none, :equal, :full,
+ # otherwise a Proc that takes and returns a number. This option is only used
+ # in the `legacy` retry mode.
+ #
+ # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
+ #
+ # @option options [Integer] :retry_limit (3)
+ # The maximum number of times to retry failed requests. Only
+ # ~ 500 level server errors and certain ~ 400 level client errors
+ # are retried. Generally, these are throttling errors, data
+ # checksum errors, networking errors, timeout errors, auth errors,
+ # endpoint discovery, and errors from expired credentials.
+ # This option is only used in the `legacy` retry mode.
+ #
+ # @option options [Integer] :retry_max_delay (0)
+ # The maximum number of seconds to delay between retries (0 for no limit)
+ # used by the default backoff function. This option is only used in the
+ # `legacy` retry mode.
+ #
+ # @option options [String] :retry_mode ("legacy")
+ # Specifies which retry algorithm to use. Values are:
+ #
+ # * `legacy` - The pre-existing retry behavior. This is default value if
+ # no retry mode is provided.
+ #
+ # * `standard` - A standardized set of retry rules across the AWS SDKs.
+ # This includes support for retry quotas, which limit the number of
+ # unsuccessful retries a client can make.
+ #
+ # * `adaptive` - An experimental retry mode that includes all the
+ # functionality of `standard` mode along with automatic client side
+ # throttling. This is a provisional mode that may change behavior
+ # in the future.
+ #
+ # @option options [String] :sdk_ua_app_id
+ # A unique and opaque application ID that is appended to the
+ # User-Agent header as app/sdk_ua_app_id. It should have a
+ # maximum length of 50. This variable is sourced from environment
+ # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
+ #
+ # @option options [String] :secret_access_key
+ #
+ # @option options [String] :session_token
+ #
+ # @option options [Array] :sigv4a_signing_region_set
+ # A list of regions that should be signed with SigV4a signing. When
+ # not passed, a default `:sigv4a_signing_region_set` is searched for
+ # in the following locations:
+ #
+ # * `Aws.config[:sigv4a_signing_region_set]`
+ # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
+ # * `~/.aws/config`
+ #
+ # @option options [Boolean] :stub_responses (false)
+ # Causes the client to return stubbed responses. By default
+ # fake responses are generated and returned. You can specify
+ # the response data to return or errors to raise by calling
+ # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
+ #
+ # ** Please note ** When response stubbing is enabled, no HTTP
+ # requests are made, and retries are disabled.
+ #
+ # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
+ # Allows you to provide a telemetry provider, which is used to
+ # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
+ # will not record or emit any telemetry data. The SDK supports the
+ # following telemetry providers:
+ #
+ # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
+ # `opentelemetry-sdk` gem and then, pass in an instance of a
+ # `Aws::Telemetry::OTelProvider` for telemetry provider.
+ #
+ # @option options [Aws::TokenProvider] :token_provider
+ # A Bearer Token Provider. This can be an instance of any one of the
+ # following classes:
+ #
+ # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
+ # tokens.
+ #
+ # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
+ # access token generated from `aws login`.
+ #
+ # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
+ # will be used to search for tokens configured for your profile in shared configuration files.
+ #
+ # @option options [Boolean] :use_dualstack_endpoint
+ # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
+ # will be used if available.
+ #
+ # @option options [Boolean] :use_fips_endpoint
+ # When set to `true`, fips compatible endpoints will be used if available.
+ # When a `fips` region is used, the region is normalized and this config
+ # is set to `true`.
+ #
+ # @option options [Boolean] :validate_params (true)
+ # When `true`, request parameters are validated before
+ # sending the request.
+ #
+ # @option options [Aws::DirectoryServiceData::EndpointProvider] :endpoint_provider
+ # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::DirectoryServiceData::EndpointParameters`
+ #
+ # @option options [Float] :http_continue_timeout (1)
+ # The number of seconds to wait for a 100-continue response before sending the
+ # request body. This option has no effect unless the request has "Expect"
+ # header set to "100-continue". Defaults to `nil` which disables this
+ # behaviour. This value can safely be set per request on the session.
+ #
+ # @option options [Float] :http_idle_timeout (5)
+ # The number of seconds a connection is allowed to sit idle before it
+ # is considered stale. Stale connections are closed and removed from the
+ # pool before making a request.
+ #
+ # @option options [Float] :http_open_timeout (15)
+ # The default number of seconds to wait for response data.
+ # This value can safely be set per-request on the session.
+ #
+ # @option options [URI::HTTP,String] :http_proxy
+ # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
+ #
+ # @option options [Float] :http_read_timeout (60)
+ # The default number of seconds to wait for response data.
+ # This value can safely be set per-request on the session.
+ #
+ # @option options [Boolean] :http_wire_trace (false)
+ # When `true`, HTTP debug output will be sent to the `:logger`.
+ #
+ # @option options [Proc] :on_chunk_received
+ # When a Proc object is provided, it will be used as callback when each chunk
+ # of the response body is received. It provides three arguments: the chunk,
+ # the number of bytes received, and the total number of
+ # bytes in the response (or nil if the server did not send a `content-length`).
+ #
+ # @option options [Proc] :on_chunk_sent
+ # When a Proc object is provided, it will be used as callback when each chunk
+ # of the request body is sent. It provides three arguments: the chunk,
+ # the number of bytes read from the body, and the total number of
+ # bytes in the body.
+ #
+ # @option options [Boolean] :raise_response_errors (true)
+ # When `true`, response errors are raised.
+ #
+ # @option options [String] :ssl_ca_bundle
+ # Full path to the SSL certificate authority bundle file that should be used when
+ # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
+ # `:ssl_ca_directory` the the system default will be used if available.
+ #
+ # @option options [String] :ssl_ca_directory
+ # Full path of the directory that contains the unbundled SSL certificate
+ # authority files for verifying peer certificates. If you do
+ # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
+ # default will be used if available.
+ #
+ # @option options [String] :ssl_ca_store
+ # Sets the X509::Store to verify peer certificate.
+ #
+ # @option options [OpenSSL::X509::Certificate] :ssl_cert
+ # Sets a client certificate when creating http connections.
+ #
+ # @option options [OpenSSL::PKey] :ssl_key
+ # Sets a client key when creating http connections.
+ #
+ # @option options [Float] :ssl_timeout
+ # Sets the SSL timeout in seconds
+ #
+ # @option options [Boolean] :ssl_verify_peer (true)
+ # When `true`, SSL peer certificates are verified when establishing a connection.
+ #
+ def initialize(*args)
+ super
+ end
+
+ # @!group API Operations
+
+ # Adds an existing user, group, or computer as a group member.
+ #
+ # @option params [String] :client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that uses
+ # it completes. After 8 hours, any request with the same client token is
+ # treated as a new request. If the request succeeds, any future uses of
+ # that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ #
+ # @option params [required, String] :group_name
+ # The name of the group.
+ #
+ # @option params [required, String] :member_name
+ # The `SAMAccountName` of the user, group, or computer to add as a group
+ # member.
+ #
+ # @option params [String] :member_realm
+ # The domain name that's associated with the group member. This
+ # parameter is required only when adding a member outside of your
+ # Managed Microsoft AD domain to a group inside of your Managed
+ # Microsoft AD domain. This parameter defaults to the Managed Microsoft
+ # AD domain.
+ #
+ # This parameter is case insensitive.
+ #
+ #
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.add_group_member({
+ # client_token: "ClientToken",
+ # directory_id: "DirectoryId", # required
+ # group_name: "GroupName", # required
+ # member_name: "MemberName", # required
+ # member_realm: "Realm",
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/AddGroupMember AWS API Documentation
+ #
+ # @overload add_group_member(params = {})
+ # @param [Hash] params ({})
+ def add_group_member(params = {}, options = {})
+ req = build_request(:add_group_member, params)
+ req.send_request(options)
+ end
+
+ # Creates a new group.
+ #
+ # @option params [String] :client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that uses
+ # it completes. After 8 hours, any request with the same client token is
+ # treated as a new request. If the request succeeds, any future uses of
+ # that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ #
+ # @option params [String] :group_scope
+ # The scope of the AD group. For details, see [Active Directory security
+ # group scope][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#group-scope
+ #
+ # @option params [String] :group_type
+ # The AD group type. For details, see [Active Directory security group
+ # type][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#how-active-directory-security-groups-work
+ #
+ # @option params [Hash] :other_attributes
+ # An expression that defines one or more attributes with the data type
+ # and value of each attribute.
+ #
+ # @option params [required, String] :sam_account_name
+ # The name of the group.
+ #
+ # @return [Types::CreateGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::CreateGroupResult#directory_id #directory_id} => String
+ # * {Types::CreateGroupResult#sam_account_name #sam_account_name} => String
+ # * {Types::CreateGroupResult#sid #sid} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.create_group({
+ # client_token: "ClientToken",
+ # directory_id: "DirectoryId", # required
+ # group_scope: "DomainLocal", # accepts DomainLocal, Global, Universal, BuiltinLocal
+ # group_type: "Distribution", # accepts Distribution, Security
+ # other_attributes: {
+ # "LdapDisplayName" => "value", # value
+ # },
+ # sam_account_name: "GroupName", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.directory_id #=> String
+ # resp.sam_account_name #=> String
+ # resp.sid #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/CreateGroup AWS API Documentation
+ #
+ # @overload create_group(params = {})
+ # @param [Hash] params ({})
+ def create_group(params = {}, options = {})
+ req = build_request(:create_group, params)
+ req.send_request(options)
+ end
+
+ # Creates a new user.
+ #
+ # @option params [String] :client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that uses
+ # it completes. After 8 hours, any request with the same client token is
+ # treated as a new request. If the request succeeds, any future uses of
+ # that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that’s associated with the user.
+ #
+ # @option params [String] :email_address
+ # The email address of the user.
+ #
+ # @option params [String] :given_name
+ # The first name of the user.
+ #
+ # @option params [Hash] :other_attributes
+ # An expression that defines one or more attribute names with the data
+ # type and value of each attribute. A key is an attribute name, and the
+ # value is a list of maps. For a list of supported attributes, see
+ # [Directory Service Data Attributes][1].
+ #
+ # Attribute names are case insensitive.
+ #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ #
+ # @option params [required, String] :sam_account_name
+ # The name of the user.
+ #
+ # @option params [String] :surname
+ # The last name of the user.
+ #
+ # @return [Types::CreateUserResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::CreateUserResult#directory_id #directory_id} => String
+ # * {Types::CreateUserResult#sam_account_name #sam_account_name} => String
+ # * {Types::CreateUserResult#sid #sid} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.create_user({
+ # client_token: "ClientToken",
+ # directory_id: "DirectoryId", # required
+ # email_address: "EmailAddress",
+ # given_name: "GivenName",
+ # other_attributes: {
+ # "LdapDisplayName" => "value", # value
+ # },
+ # sam_account_name: "UserName", # required
+ # surname: "Surname",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.directory_id #=> String
+ # resp.sam_account_name #=> String
+ # resp.sid #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/CreateUser AWS API Documentation
+ #
+ # @overload create_user(params = {})
+ # @param [Hash] params ({})
+ def create_user(params = {}, options = {})
+ req = build_request(:create_user, params)
+ req.send_request(options)
+ end
+
+ # Deletes a group.
+ #
+ # @option params [String] :client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that uses
+ # it completes. After 8 hours, any request with the same client token is
+ # treated as a new request. If the request succeeds, any future uses of
+ # that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ #
+ # @option params [required, String] :sam_account_name
+ # The name of the group.
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.delete_group({
+ # client_token: "ClientToken",
+ # directory_id: "DirectoryId", # required
+ # sam_account_name: "GroupName", # required
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DeleteGroup AWS API Documentation
+ #
+ # @overload delete_group(params = {})
+ # @param [Hash] params ({})
+ def delete_group(params = {}, options = {})
+ req = build_request(:delete_group, params)
+ req.send_request(options)
+ end
+
+ # Deletes a user.
+ #
+ # @option params [String] :client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that uses
+ # it completes. After 8 hours, any request with the same client token is
+ # treated as a new request. If the request succeeds, any future uses of
+ # that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the user.
+ #
+ # @option params [required, String] :sam_account_name
+ # The name of the user.
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.delete_user({
+ # client_token: "ClientToken",
+ # directory_id: "DirectoryId", # required
+ # sam_account_name: "UserName", # required
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DeleteUser AWS API Documentation
+ #
+ # @overload delete_user(params = {})
+ # @param [Hash] params ({})
+ def delete_user(params = {}, options = {})
+ req = build_request(:delete_user, params)
+ req.send_request(options)
+ end
+
+ # Returns information about a specific group.
+ #
+ # @option params [required, String] :directory_id
+ # The Identifier (ID) of the directory associated with the group.
+ #
+ # @option params [Array] :other_attributes
+ # One or more attributes to be returned for the group. For a list of
+ # supported attributes, see [Directory Service Data Attributes][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data-attributes.html
+ #
+ # @option params [String] :realm
+ # The domain name that's associated with the group.
+ #
+ # This parameter is optional, so you can return groups outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD groups are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ #
+ # @option params [required, String] :sam_account_name
+ # The name of the group.
+ #
+ # @return [Types::DescribeGroupResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DescribeGroupResult#directory_id #directory_id} => String
+ # * {Types::DescribeGroupResult#distinguished_name #distinguished_name} => String
+ # * {Types::DescribeGroupResult#group_scope #group_scope} => String
+ # * {Types::DescribeGroupResult#group_type #group_type} => String
+ # * {Types::DescribeGroupResult#other_attributes #other_attributes} => Hash<String,Types::AttributeValue>
+ # * {Types::DescribeGroupResult#realm #realm} => String
+ # * {Types::DescribeGroupResult#sam_account_name #sam_account_name} => String
+ # * {Types::DescribeGroupResult#sid #sid} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.describe_group({
+ # directory_id: "DirectoryId", # required
+ # other_attributes: ["LdapDisplayName"],
+ # realm: "Realm",
+ # sam_account_name: "GroupName", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.directory_id #=> String
+ # resp.distinguished_name #=> String
+ # resp.group_scope #=> String, one of "DomainLocal", "Global", "Universal", "BuiltinLocal"
+ # resp.group_type #=> String, one of "Distribution", "Security"
+ # resp.other_attributes #=> Hash
+ # resp.other_attributes["LdapDisplayName"] #=>
+ # resp.realm #=> String
+ # resp.sam_account_name #=> String
+ # resp.sid #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DescribeGroup AWS API Documentation
+ #
+ # @overload describe_group(params = {})
+ # @param [Hash] params ({})
+ def describe_group(params = {}, options = {})
+ req = build_request(:describe_group, params)
+ req.send_request(options)
+ end
+
+ # Returns information about a specific user.
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the user.
+ #
+ # @option params [Array] :other_attributes
+ # One or more attribute names to be returned for the user. A key is an
+ # attribute name, and the value is a list of maps. For a list of
+ # supported attributes, see [Directory Service Data Attributes][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ #
+ # @option params [String] :realm
+ # The domain name that's associated with the user.
+ #
+ # This parameter is optional, so you can return users outside your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD users are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ #
+ # @option params [required, String] :sam_account_name
+ # The name of the user.
+ #
+ # @return [Types::DescribeUserResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DescribeUserResult#directory_id #directory_id} => String
+ # * {Types::DescribeUserResult#distinguished_name #distinguished_name} => String
+ # * {Types::DescribeUserResult#email_address #email_address} => String
+ # * {Types::DescribeUserResult#enabled #enabled} => Boolean
+ # * {Types::DescribeUserResult#given_name #given_name} => String
+ # * {Types::DescribeUserResult#other_attributes #other_attributes} => Hash<String,Types::AttributeValue>
+ # * {Types::DescribeUserResult#realm #realm} => String
+ # * {Types::DescribeUserResult#sam_account_name #sam_account_name} => String
+ # * {Types::DescribeUserResult#sid #sid} => String
+ # * {Types::DescribeUserResult#surname #surname} => String
+ # * {Types::DescribeUserResult#user_principal_name #user_principal_name} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.describe_user({
+ # directory_id: "DirectoryId", # required
+ # other_attributes: ["LdapDisplayName"],
+ # realm: "Realm",
+ # sam_account_name: "UserName", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.directory_id #=> String
+ # resp.distinguished_name #=> String
+ # resp.email_address #=> String
+ # resp.enabled #=> Boolean
+ # resp.given_name #=> String
+ # resp.other_attributes #=> Hash
+ # resp.other_attributes["LdapDisplayName"] #=>
+ # resp.realm #=> String
+ # resp.sam_account_name #=> String
+ # resp.sid #=> String
+ # resp.surname #=> String
+ # resp.user_principal_name #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DescribeUser AWS API Documentation
+ #
+ # @overload describe_user(params = {})
+ # @param [Hash] params ({})
+ def describe_user(params = {}, options = {})
+ req = build_request(:describe_user, params)
+ req.send_request(options)
+ end
+
+ # Deactivates an active user account. For information about how to
+ # enable an inactive user account, see [ResetUserPassword][1] in the
+ # *Directory Service API Reference*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/devguide/API_ResetUserPassword.html
+ #
+ # @option params [String] :client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that uses
+ # it completes. After 8 hours, any request with the same client token is
+ # treated as a new request. If the request succeeds, any future uses of
+ # that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the user.
+ #
+ # @option params [required, String] :sam_account_name
+ # The name of the user.
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.disable_user({
+ # client_token: "ClientToken",
+ # directory_id: "DirectoryId", # required
+ # sam_account_name: "UserName", # required
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DisableUser AWS API Documentation
+ #
+ # @overload disable_user(params = {})
+ # @param [Hash] params ({})
+ def disable_user(params = {}, options = {})
+ req = build_request(:disable_user, params)
+ req.send_request(options)
+ end
+
+ # Returns member information for the specified group.
+ #
+ # This operation supports pagination with the use of the `NextToken`
+ # request and response parameters. If more results are available, the
+ # `ListGroupMembers.NextToken` member contains a token that you pass in
+ # the next call to `ListGroupMembers`. This retrieves the next set of
+ # items.
+ #
+ # You can also specify a maximum number of return results with the
+ # `MaxResults` parameter.
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ #
+ # @option params [Integer] :max_results
+ # The maximum number of results to be returned per request.
+ #
+ # @option params [String] :member_realm
+ # The domain name that's associated with the group member. This
+ # parameter defaults to the Managed Microsoft AD domain.
+ #
+ # This parameter is optional and case insensitive.
+ #
+ #
+ #
+ # @option params [String] :next_token
+ # An encoded paging token for paginated calls that can be passed back to
+ # retrieve the next page.
+ #
+ # @option params [String] :realm
+ # The domain name that's associated with the group.
+ #
+ # This parameter is optional, so you can return members from a group
+ # outside of your Managed Microsoft AD domain. When no value is defined,
+ # only members of your Managed Microsoft AD groups are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ #
+ # @option params [required, String] :sam_account_name
+ # The name of the group.
+ #
+ # @return [Types::ListGroupMembersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListGroupMembersResult#directory_id #directory_id} => String
+ # * {Types::ListGroupMembersResult#member_realm #member_realm} => String
+ # * {Types::ListGroupMembersResult#members #members} => Array<Types::Member>
+ # * {Types::ListGroupMembersResult#next_token #next_token} => String
+ # * {Types::ListGroupMembersResult#realm #realm} => String
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_group_members({
+ # directory_id: "DirectoryId", # required
+ # max_results: 1,
+ # member_realm: "Realm",
+ # next_token: "NextToken",
+ # realm: "Realm",
+ # sam_account_name: "GroupName", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.directory_id #=> String
+ # resp.member_realm #=> String
+ # resp.members #=> Array
+ # resp.members[0].member_type #=> String, one of "USER", "GROUP", "COMPUTER"
+ # resp.members[0].sam_account_name #=> String
+ # resp.members[0].sid #=> String
+ # resp.next_token #=> String
+ # resp.realm #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListGroupMembers AWS API Documentation
+ #
+ # @overload list_group_members(params = {})
+ # @param [Hash] params ({})
+ def list_group_members(params = {}, options = {})
+ req = build_request(:list_group_members, params)
+ req.send_request(options)
+ end
+
+ # Returns group information for the specified directory.
+ #
+ # This operation supports pagination with the use of the `NextToken`
+ # request and response parameters. If more results are available, the
+ # `ListGroups.NextToken` member contains a token that you pass in the
+ # next call to `ListGroups`. This retrieves the next set of items.
+ #
+ # You can also specify a maximum number of return results with the
+ # `MaxResults` parameter.
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ #
+ # @option params [Integer] :max_results
+ # The maximum number of results to be returned per request.
+ #
+ # @option params [String] :next_token
+ # An encoded paging token for paginated calls that can be passed back to
+ # retrieve the next page.
+ #
+ # @option params [String] :realm
+ # The domain name associated with the directory.
+ #
+ # This parameter is optional, so you can return groups outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD groups are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ #
+ # @return [Types::ListGroupsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListGroupsResult#directory_id #directory_id} => String
+ # * {Types::ListGroupsResult#groups #groups} => Array<Types::GroupSummary>
+ # * {Types::ListGroupsResult#next_token #next_token} => String
+ # * {Types::ListGroupsResult#realm #realm} => String
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_groups({
+ # directory_id: "DirectoryId", # required
+ # max_results: 1,
+ # next_token: "NextToken",
+ # realm: "Realm",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.directory_id #=> String
+ # resp.groups #=> Array
+ # resp.groups[0].group_scope #=> String, one of "DomainLocal", "Global", "Universal", "BuiltinLocal"
+ # resp.groups[0].group_type #=> String, one of "Distribution", "Security"
+ # resp.groups[0].sam_account_name #=> String
+ # resp.groups[0].sid #=> String
+ # resp.next_token #=> String
+ # resp.realm #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListGroups AWS API Documentation
+ #
+ # @overload list_groups(params = {})
+ # @param [Hash] params ({})
+ def list_groups(params = {}, options = {})
+ req = build_request(:list_groups, params)
+ req.send_request(options)
+ end
+
+ # Returns group information for the specified member.
+ #
+ # This operation supports pagination with the use of the `NextToken`
+ # request and response parameters. If more results are available, the
+ # `ListGroupsForMember.NextToken` member contains a token that you pass
+ # in the next call to `ListGroupsForMember`. This retrieves the next set
+ # of items.
+ #
+ # You can also specify a maximum number of return results with the
+ # `MaxResults` parameter.
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # member.
+ #
+ # @option params [Integer] :max_results
+ # The maximum number of results to be returned per request.
+ #
+ # @option params [String] :member_realm
+ # The domain name that's associated with the group member.
+ #
+ # This parameter is optional, so you can limit your results to the group
+ # members in a specific domain.
+ #
+ # This parameter is case insensitive and defaults to `Realm`
+ #
+ #
+ #
+ # @option params [String] :next_token
+ # An encoded paging token for paginated calls that can be passed back to
+ # retrieve the next page.
+ #
+ # @option params [String] :realm
+ # The domain name that's associated with the group.
+ #
+ # This parameter is optional, so you can return groups outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD groups are returned.
+ #
+ # This value is case insensitive and defaults to your Managed Microsoft
+ # AD domain.
+ #
+ #
+ #
+ # @option params [required, String] :sam_account_name
+ # The `SAMAccountName` of the user, group, or computer that's a member
+ # of the group.
+ #
+ # @return [Types::ListGroupsForMemberResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListGroupsForMemberResult#directory_id #directory_id} => String
+ # * {Types::ListGroupsForMemberResult#groups #groups} => Array<Types::GroupSummary>
+ # * {Types::ListGroupsForMemberResult#member_realm #member_realm} => String
+ # * {Types::ListGroupsForMemberResult#next_token #next_token} => String
+ # * {Types::ListGroupsForMemberResult#realm #realm} => String
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_groups_for_member({
+ # directory_id: "DirectoryId", # required
+ # max_results: 1,
+ # member_realm: "Realm",
+ # next_token: "NextToken",
+ # realm: "Realm",
+ # sam_account_name: "MemberName", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.directory_id #=> String
+ # resp.groups #=> Array
+ # resp.groups[0].group_scope #=> String, one of "DomainLocal", "Global", "Universal", "BuiltinLocal"
+ # resp.groups[0].group_type #=> String, one of "Distribution", "Security"
+ # resp.groups[0].sam_account_name #=> String
+ # resp.groups[0].sid #=> String
+ # resp.member_realm #=> String
+ # resp.next_token #=> String
+ # resp.realm #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListGroupsForMember AWS API Documentation
+ #
+ # @overload list_groups_for_member(params = {})
+ # @param [Hash] params ({})
+ def list_groups_for_member(params = {}, options = {})
+ req = build_request(:list_groups_for_member, params)
+ req.send_request(options)
+ end
+
+ # Returns user information for the specified directory.
+ #
+ # This operation supports pagination with the use of the `NextToken`
+ # request and response parameters. If more results are available, the
+ # `ListUsers.NextToken` member contains a token that you pass in the
+ # next call to `ListUsers`. This retrieves the next set of items.
+ #
+ # You can also specify a maximum number of return results with the
+ # `MaxResults` parameter.
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the user.
+ #
+ # @option params [Integer] :max_results
+ # The maximum number of results to be returned per request.
+ #
+ # @option params [String] :next_token
+ # An encoded paging token for paginated calls that can be passed back to
+ # retrieve the next page.
+ #
+ # @option params [String] :realm
+ # The domain name that's associated with the user.
+ #
+ # This parameter is optional, so you can return users outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD users are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ #
+ # @return [Types::ListUsersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListUsersResult#directory_id #directory_id} => String
+ # * {Types::ListUsersResult#next_token #next_token} => String
+ # * {Types::ListUsersResult#realm #realm} => String
+ # * {Types::ListUsersResult#users #users} => Array<Types::UserSummary>
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_users({
+ # directory_id: "DirectoryId", # required
+ # max_results: 1,
+ # next_token: "NextToken",
+ # realm: "Realm",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.directory_id #=> String
+ # resp.next_token #=> String
+ # resp.realm #=> String
+ # resp.users #=> Array
+ # resp.users[0].enabled #=> Boolean
+ # resp.users[0].given_name #=> String
+ # resp.users[0].sam_account_name #=> String
+ # resp.users[0].sid #=> String
+ # resp.users[0].surname #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListUsers AWS API Documentation
+ #
+ # @overload list_users(params = {})
+ # @param [Hash] params ({})
+ def list_users(params = {}, options = {})
+ req = build_request(:list_users, params)
+ req.send_request(options)
+ end
+
+ # Removes a member from a group.
+ #
+ # @option params [String] :client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that uses
+ # it completes. After 8 hours, any request with the same client token is
+ # treated as a new request. If the request succeeds, any future uses of
+ # that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # member.
+ #
+ # @option params [required, String] :group_name
+ # The name of the group.
+ #
+ # @option params [required, String] :member_name
+ # The `SAMAccountName` of the user, group, or computer to remove from
+ # the group.
+ #
+ # @option params [String] :member_realm
+ # The domain name that's associated with the group member. This
+ # parameter defaults to the Managed Microsoft AD domain.
+ #
+ # This parameter is optional and case insensitive.
+ #
+ #
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.remove_group_member({
+ # client_token: "ClientToken",
+ # directory_id: "DirectoryId", # required
+ # group_name: "GroupName", # required
+ # member_name: "MemberName", # required
+ # member_realm: "Realm",
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/RemoveGroupMember AWS API Documentation
+ #
+ # @overload remove_group_member(params = {})
+ # @param [Hash] params ({})
+ def remove_group_member(params = {}, options = {})
+ req = build_request(:remove_group_member, params)
+ req.send_request(options)
+ end
+
+ # Searches the specified directory for a group. You can find groups that
+ # match the `SearchString` parameter with the value of their attributes
+ # included in the `SearchString` parameter.
+ #
+ # This operation supports pagination with the use of the `NextToken`
+ # request and response parameters. If more results are available, the
+ # `SearchGroups.NextToken` member contains a token that you pass in the
+ # next call to `SearchGroups`. This retrieves the next set of items.
+ #
+ # You can also specify a maximum number of return results with the
+ # `MaxResults` parameter.
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ #
+ # @option params [Integer] :max_results
+ # The maximum number of results to be returned per request.
+ #
+ # @option params [String] :next_token
+ # An encoded paging token for paginated calls that can be passed back to
+ # retrieve the next page.
+ #
+ # @option params [String] :realm
+ # The domain name that's associated with the group.
+ #
+ # This parameter is optional, so you can return groups outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD groups are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ #
+ # @option params [required, Array] :search_attributes
+ # One or more data attributes that are used to search for a group. For a
+ # list of supported attributes, see [Directory Service Data
+ # Attributes][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ #
+ # @option params [required, String] :search_string
+ # The attribute value that you want to search for.
+ #
+ # Wildcard `(*)` searches aren't supported. For a list of supported
+ # attributes, see [Directory Service Data Attributes][1].
+ #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ #
+ # @return [Types::SearchGroupsResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::SearchGroupsResult#directory_id #directory_id} => String
+ # * {Types::SearchGroupsResult#groups #groups} => Array<Types::Group>
+ # * {Types::SearchGroupsResult#next_token #next_token} => String
+ # * {Types::SearchGroupsResult#realm #realm} => String
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.search_groups({
+ # directory_id: "DirectoryId", # required
+ # max_results: 1,
+ # next_token: "NextToken",
+ # realm: "Realm",
+ # search_attributes: ["LdapDisplayName"], # required
+ # search_string: "SearchString", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.directory_id #=> String
+ # resp.groups #=> Array
+ # resp.groups[0].distinguished_name #=> String
+ # resp.groups[0].group_scope #=> String, one of "DomainLocal", "Global", "Universal", "BuiltinLocal"
+ # resp.groups[0].group_type #=> String, one of "Distribution", "Security"
+ # resp.groups[0].other_attributes #=> Hash
+ # resp.groups[0].other_attributes["LdapDisplayName"] #=>
+ # resp.groups[0].sam_account_name #=> String
+ # resp.groups[0].sid #=> String
+ # resp.next_token #=> String
+ # resp.realm #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/SearchGroups AWS API Documentation
+ #
+ # @overload search_groups(params = {})
+ # @param [Hash] params ({})
+ def search_groups(params = {}, options = {})
+ req = build_request(:search_groups, params)
+ req.send_request(options)
+ end
+
+ # Searches the specified directory for a user. You can find users that
+ # match the `SearchString` parameter with the value of their attributes
+ # included in the `SearchString` parameter.
+ #
+ # This operation supports pagination with the use of the `NextToken`
+ # request and response parameters. If more results are available, the
+ # `SearchUsers.NextToken` member contains a token that you pass in the
+ # next call to `SearchUsers`. This retrieves the next set of items.
+ #
+ # You can also specify a maximum number of return results with the
+ # `MaxResults` parameter.
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the user.
+ #
+ # @option params [Integer] :max_results
+ # The maximum number of results to be returned per request.
+ #
+ # @option params [String] :next_token
+ # An encoded paging token for paginated calls that can be passed back to
+ # retrieve the next page.
+ #
+ # @option params [String] :realm
+ # The domain name that's associated with the user.
+ #
+ # This parameter is optional, so you can return users outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD users are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ #
+ # @option params [required, Array] :search_attributes
+ # One or more data attributes that are used to search for a user. For a
+ # list of supported attributes, see [Directory Service Data
+ # Attributes][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ #
+ # @option params [required, String] :search_string
+ # The attribute value that you want to search for.
+ #
+ # Wildcard `(*)` searches aren't supported. For a list of supported
+ # attributes, see [Directory Service Data Attributes][1].
+ #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ #
+ # @return [Types::SearchUsersResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::SearchUsersResult#directory_id #directory_id} => String
+ # * {Types::SearchUsersResult#next_token #next_token} => String
+ # * {Types::SearchUsersResult#realm #realm} => String
+ # * {Types::SearchUsersResult#users #users} => Array<Types::User>
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.search_users({
+ # directory_id: "DirectoryId", # required
+ # max_results: 1,
+ # next_token: "NextToken",
+ # realm: "Realm",
+ # search_attributes: ["LdapDisplayName"], # required
+ # search_string: "SearchString", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.directory_id #=> String
+ # resp.next_token #=> String
+ # resp.realm #=> String
+ # resp.users #=> Array
+ # resp.users[0].distinguished_name #=> String
+ # resp.users[0].email_address #=> String
+ # resp.users[0].enabled #=> Boolean
+ # resp.users[0].given_name #=> String
+ # resp.users[0].other_attributes #=> Hash
+ # resp.users[0].other_attributes["LdapDisplayName"] #=>
+ # resp.users[0].sam_account_name #=> String
+ # resp.users[0].sid #=> String
+ # resp.users[0].surname #=> String
+ # resp.users[0].user_principal_name #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/SearchUsers AWS API Documentation
+ #
+ # @overload search_users(params = {})
+ # @param [Hash] params ({})
+ def search_users(params = {}, options = {})
+ req = build_request(:search_users, params)
+ req.send_request(options)
+ end
+
+ # Updates group information.
+ #
+ # @option params [String] :client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that uses
+ # it completes. After 8 hours, any request with the same client token is
+ # treated as a new request. If the request succeeds, any future uses of
+ # that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ #
+ # @option params [String] :group_scope
+ # The scope of the AD group. For details, see [Active Directory security
+ # groups][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#group-scope
+ #
+ # @option params [String] :group_type
+ # The AD group type. For details, see [Active Directory security group
+ # type][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#how-active-directory-security-groups-work
+ #
+ # @option params [Hash] :other_attributes
+ # An expression that defines one or more attributes with the data type
+ # and the value of each attribute.
+ #
+ # @option params [required, String] :sam_account_name
+ # The name of the group.
+ #
+ # @option params [String] :update_type
+ # The type of update to be performed. If no value exists for the
+ # attribute, use `ADD`. Otherwise, use `REPLACE` to change an attribute
+ # value or `REMOVE` to clear the attribute value.
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.update_group({
+ # client_token: "ClientToken",
+ # directory_id: "DirectoryId", # required
+ # group_scope: "DomainLocal", # accepts DomainLocal, Global, Universal, BuiltinLocal
+ # group_type: "Distribution", # accepts Distribution, Security
+ # other_attributes: {
+ # "LdapDisplayName" => "value", # value
+ # },
+ # sam_account_name: "GroupName", # required
+ # update_type: "ADD", # accepts ADD, REPLACE, REMOVE
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/UpdateGroup AWS API Documentation
+ #
+ # @overload update_group(params = {})
+ # @param [Hash] params ({})
+ def update_group(params = {}, options = {})
+ req = build_request(:update_group, params)
+ req.send_request(options)
+ end
+
+ # Updates user information.
+ #
+ # @option params [String] :client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that uses
+ # it completes. After 8 hours, any request with the same client token is
+ # treated as a new request. If the request succeeds, any future uses of
+ # that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [required, String] :directory_id
+ # The identifier (ID) of the directory that's associated with the user.
+ #
+ # @option params [String] :email_address
+ # The email address of the user.
+ #
+ # @option params [String] :given_name
+ # The first name of the user.
+ #
+ # @option params [Hash] :other_attributes
+ # An expression that defines one or more attribute names with the data
+ # type and value of each attribute. A key is an attribute name, and the
+ # value is a list of maps. For a list of supported attributes, see
+ # [Directory Service Data Attributes][1].
+ #
+ # Attribute names are case insensitive.
+ #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data-attributes.html
+ #
+ # @option params [required, String] :sam_account_name
+ # The name of the user.
+ #
+ # @option params [String] :surname
+ # The last name of the user.
+ #
+ # @option params [String] :update_type
+ # The type of update to be performed. If no value exists for the
+ # attribute, use `ADD`. Otherwise, use `REPLACE` to change an attribute
+ # value or `REMOVE` to clear the attribute value.
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.update_user({
+ # client_token: "ClientToken",
+ # directory_id: "DirectoryId", # required
+ # email_address: "EmailAddress",
+ # given_name: "GivenName",
+ # other_attributes: {
+ # "LdapDisplayName" => "value", # value
+ # },
+ # sam_account_name: "UserName", # required
+ # surname: "Surname",
+ # update_type: "ADD", # accepts ADD, REPLACE, REMOVE
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/UpdateUser AWS API Documentation
+ #
+ # @overload update_user(params = {})
+ # @param [Hash] params ({})
+ def update_user(params = {}, options = {})
+ req = build_request(:update_user, params)
+ req.send_request(options)
+ end
+
+ # @!endgroup
+
+ # @param params ({})
+ # @api private
+ def build_request(operation_name, params = {})
+ handlers = @handlers.for(operation_name)
+ tracer = config.telemetry_provider.tracer_provider.tracer(
+ Aws::Telemetry.module_to_tracer_name('Aws::DirectoryServiceData')
+ )
+ context = Seahorse::Client::RequestContext.new(
+ operation_name: operation_name,
+ operation: config.api.operation(operation_name),
+ client: self,
+ params: params,
+ config: config,
+ tracer: tracer
+ )
+ context[:gem_name] = 'aws-sdk-directoryservicedata'
+ context[:gem_version] = '1.0.0'
+ Seahorse::Client::Request.new(handlers, context)
+ end
+
+ # @api private
+ # @deprecated
+ def waiter_names
+ []
+ end
+
+ class << self
+
+ # @api private
+ attr_reader :identifier
+
+ # @api private
+ def errors_module
+ Errors
+ end
+
+ end
+ end
+end
diff --git a/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/client_api.rb b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/client_api.rb
new file mode 100644
index 00000000000..2d40e31f5b7
--- /dev/null
+++ b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/client_api.rb
@@ -0,0 +1,696 @@
+# frozen_string_literal: true
+
+# WARNING ABOUT GENERATED CODE
+#
+# This file is generated. See the contributing guide for more information:
+# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
+#
+# WARNING ABOUT GENERATED CODE
+
+module Aws::DirectoryServiceData
+ # @api private
+ module ClientApi
+
+ include Seahorse::Model
+
+ AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
+ AccessDeniedReason = Shapes::StringShape.new(name: 'AccessDeniedReason')
+ AddGroupMemberRequest = Shapes::StructureShape.new(name: 'AddGroupMemberRequest')
+ AddGroupMemberResult = Shapes::StructureShape.new(name: 'AddGroupMemberResult')
+ AttributeValue = Shapes::UnionShape.new(name: 'AttributeValue')
+ Attributes = Shapes::MapShape.new(name: 'Attributes')
+ Boolean = Shapes::BooleanShape.new(name: 'Boolean')
+ BooleanAttributeValue = Shapes::BooleanShape.new(name: 'BooleanAttributeValue')
+ ClientToken = Shapes::StringShape.new(name: 'ClientToken')
+ ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
+ CreateGroupRequest = Shapes::StructureShape.new(name: 'CreateGroupRequest')
+ CreateGroupResult = Shapes::StructureShape.new(name: 'CreateGroupResult')
+ CreateUserRequest = Shapes::StructureShape.new(name: 'CreateUserRequest')
+ CreateUserResult = Shapes::StructureShape.new(name: 'CreateUserResult')
+ DeleteGroupRequest = Shapes::StructureShape.new(name: 'DeleteGroupRequest')
+ DeleteGroupResult = Shapes::StructureShape.new(name: 'DeleteGroupResult')
+ DeleteUserRequest = Shapes::StructureShape.new(name: 'DeleteUserRequest')
+ DeleteUserResult = Shapes::StructureShape.new(name: 'DeleteUserResult')
+ DescribeGroupRequest = Shapes::StructureShape.new(name: 'DescribeGroupRequest')
+ DescribeGroupResult = Shapes::StructureShape.new(name: 'DescribeGroupResult')
+ DescribeUserRequest = Shapes::StructureShape.new(name: 'DescribeUserRequest')
+ DescribeUserResult = Shapes::StructureShape.new(name: 'DescribeUserResult')
+ DirectoryId = Shapes::StringShape.new(name: 'DirectoryId')
+ DirectoryUnavailableException = Shapes::StructureShape.new(name: 'DirectoryUnavailableException')
+ DirectoryUnavailableReason = Shapes::StringShape.new(name: 'DirectoryUnavailableReason')
+ DisableUserRequest = Shapes::StructureShape.new(name: 'DisableUserRequest')
+ DisableUserResult = Shapes::StructureShape.new(name: 'DisableUserResult')
+ DistinguishedName = Shapes::StringShape.new(name: 'DistinguishedName')
+ EmailAddress = Shapes::StringShape.new(name: 'EmailAddress')
+ ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
+ GivenName = Shapes::StringShape.new(name: 'GivenName')
+ Group = Shapes::StructureShape.new(name: 'Group')
+ GroupList = Shapes::ListShape.new(name: 'GroupList')
+ GroupName = Shapes::StringShape.new(name: 'GroupName')
+ GroupScope = Shapes::StringShape.new(name: 'GroupScope')
+ GroupSummary = Shapes::StructureShape.new(name: 'GroupSummary')
+ GroupSummaryList = Shapes::ListShape.new(name: 'GroupSummaryList')
+ GroupType = Shapes::StringShape.new(name: 'GroupType')
+ Integer = Shapes::IntegerShape.new(name: 'Integer')
+ InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
+ LdapDisplayName = Shapes::StringShape.new(name: 'LdapDisplayName')
+ LdapDisplayNameList = Shapes::ListShape.new(name: 'LdapDisplayNameList')
+ ListGroupMembersRequest = Shapes::StructureShape.new(name: 'ListGroupMembersRequest')
+ ListGroupMembersResult = Shapes::StructureShape.new(name: 'ListGroupMembersResult')
+ ListGroupsForMemberRequest = Shapes::StructureShape.new(name: 'ListGroupsForMemberRequest')
+ ListGroupsForMemberResult = Shapes::StructureShape.new(name: 'ListGroupsForMemberResult')
+ ListGroupsRequest = Shapes::StructureShape.new(name: 'ListGroupsRequest')
+ ListGroupsResult = Shapes::StructureShape.new(name: 'ListGroupsResult')
+ ListUsersRequest = Shapes::StructureShape.new(name: 'ListUsersRequest')
+ ListUsersResult = Shapes::StructureShape.new(name: 'ListUsersResult')
+ MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
+ Member = Shapes::StructureShape.new(name: 'Member')
+ MemberList = Shapes::ListShape.new(name: 'MemberList')
+ MemberName = Shapes::StringShape.new(name: 'MemberName')
+ MemberType = Shapes::StringShape.new(name: 'MemberType')
+ NextToken = Shapes::StringShape.new(name: 'NextToken')
+ NumberAttributeValue = Shapes::IntegerShape.new(name: 'NumberAttributeValue')
+ Realm = Shapes::StringShape.new(name: 'Realm')
+ RemoveGroupMemberRequest = Shapes::StructureShape.new(name: 'RemoveGroupMemberRequest')
+ RemoveGroupMemberResult = Shapes::StructureShape.new(name: 'RemoveGroupMemberResult')
+ ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
+ SID = Shapes::StringShape.new(name: 'SID')
+ SearchGroupsRequest = Shapes::StructureShape.new(name: 'SearchGroupsRequest')
+ SearchGroupsResult = Shapes::StructureShape.new(name: 'SearchGroupsResult')
+ SearchString = Shapes::StringShape.new(name: 'SearchString')
+ SearchUsersRequest = Shapes::StructureShape.new(name: 'SearchUsersRequest')
+ SearchUsersResult = Shapes::StructureShape.new(name: 'SearchUsersResult')
+ StringAttributeValue = Shapes::StringShape.new(name: 'StringAttributeValue')
+ StringSetAttributeValue = Shapes::ListShape.new(name: 'StringSetAttributeValue')
+ Surname = Shapes::StringShape.new(name: 'Surname')
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
+ UpdateGroupRequest = Shapes::StructureShape.new(name: 'UpdateGroupRequest')
+ UpdateGroupResult = Shapes::StructureShape.new(name: 'UpdateGroupResult')
+ UpdateType = Shapes::StringShape.new(name: 'UpdateType')
+ UpdateUserRequest = Shapes::StructureShape.new(name: 'UpdateUserRequest')
+ UpdateUserResult = Shapes::StructureShape.new(name: 'UpdateUserResult')
+ User = Shapes::StructureShape.new(name: 'User')
+ UserList = Shapes::ListShape.new(name: 'UserList')
+ UserName = Shapes::StringShape.new(name: 'UserName')
+ UserPrincipalName = Shapes::StringShape.new(name: 'UserPrincipalName')
+ UserSummary = Shapes::StructureShape.new(name: 'UserSummary')
+ UserSummaryList = Shapes::ListShape.new(name: 'UserSummaryList')
+ ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
+ ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
+
+ AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
+ AccessDeniedException.add_member(:reason, Shapes::ShapeRef.new(shape: AccessDeniedReason, location_name: "Reason"))
+ AccessDeniedException.struct_class = Types::AccessDeniedException
+
+ AddGroupMemberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
+ AddGroupMemberRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ AddGroupMemberRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
+ AddGroupMemberRequest.add_member(:member_name, Shapes::ShapeRef.new(shape: MemberName, required: true, location_name: "MemberName"))
+ AddGroupMemberRequest.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
+ AddGroupMemberRequest.struct_class = Types::AddGroupMemberRequest
+
+ AddGroupMemberResult.struct_class = Types::AddGroupMemberResult
+
+ AttributeValue.add_member(:bool, Shapes::ShapeRef.new(shape: BooleanAttributeValue, location_name: "BOOL"))
+ AttributeValue.add_member(:n, Shapes::ShapeRef.new(shape: NumberAttributeValue, location_name: "N"))
+ AttributeValue.add_member(:s, Shapes::ShapeRef.new(shape: StringAttributeValue, location_name: "S"))
+ AttributeValue.add_member(:ss, Shapes::ShapeRef.new(shape: StringSetAttributeValue, location_name: "SS"))
+ AttributeValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
+ AttributeValue.add_member_subclass(:bool, Types::AttributeValue::Bool)
+ AttributeValue.add_member_subclass(:n, Types::AttributeValue::N)
+ AttributeValue.add_member_subclass(:s, Types::AttributeValue::S)
+ AttributeValue.add_member_subclass(:ss, Types::AttributeValue::Ss)
+ AttributeValue.add_member_subclass(:unknown, Types::AttributeValue::Unknown)
+ AttributeValue.struct_class = Types::AttributeValue
+
+ Attributes.key = Shapes::ShapeRef.new(shape: LdapDisplayName)
+ Attributes.value = Shapes::ShapeRef.new(shape: AttributeValue)
+
+ ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
+ ConflictException.struct_class = Types::ConflictException
+
+ CreateGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
+ CreateGroupRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ CreateGroupRequest.add_member(:group_scope, Shapes::ShapeRef.new(shape: GroupScope, location_name: "GroupScope"))
+ CreateGroupRequest.add_member(:group_type, Shapes::ShapeRef.new(shape: GroupType, location_name: "GroupType"))
+ CreateGroupRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
+ CreateGroupRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
+ CreateGroupRequest.struct_class = Types::CreateGroupRequest
+
+ CreateGroupResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
+ CreateGroupResult.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "SAMAccountName"))
+ CreateGroupResult.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
+ CreateGroupResult.struct_class = Types::CreateGroupResult
+
+ CreateUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
+ CreateUserRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ CreateUserRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
+ CreateUserRequest.add_member(:given_name, Shapes::ShapeRef.new(shape: GivenName, location_name: "GivenName"))
+ CreateUserRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
+ CreateUserRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
+ CreateUserRequest.add_member(:surname, Shapes::ShapeRef.new(shape: Surname, location_name: "Surname"))
+ CreateUserRequest.struct_class = Types::CreateUserRequest
+
+ CreateUserResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
+ CreateUserResult.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, location_name: "SAMAccountName"))
+ CreateUserResult.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
+ CreateUserResult.struct_class = Types::CreateUserResult
+
+ DeleteGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
+ DeleteGroupRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ DeleteGroupRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
+ DeleteGroupRequest.struct_class = Types::DeleteGroupRequest
+
+ DeleteGroupResult.struct_class = Types::DeleteGroupResult
+
+ DeleteUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
+ DeleteUserRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ DeleteUserRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
+ DeleteUserRequest.struct_class = Types::DeleteUserRequest
+
+ DeleteUserResult.struct_class = Types::DeleteUserResult
+
+ DescribeGroupRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ DescribeGroupRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: LdapDisplayNameList, location_name: "OtherAttributes"))
+ DescribeGroupRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ DescribeGroupRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
+ DescribeGroupRequest.struct_class = Types::DescribeGroupRequest
+
+ DescribeGroupResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
+ DescribeGroupResult.add_member(:distinguished_name, Shapes::ShapeRef.new(shape: DistinguishedName, location_name: "DistinguishedName"))
+ DescribeGroupResult.add_member(:group_scope, Shapes::ShapeRef.new(shape: GroupScope, location_name: "GroupScope"))
+ DescribeGroupResult.add_member(:group_type, Shapes::ShapeRef.new(shape: GroupType, location_name: "GroupType"))
+ DescribeGroupResult.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
+ DescribeGroupResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ DescribeGroupResult.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, location_name: "SAMAccountName"))
+ DescribeGroupResult.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
+ DescribeGroupResult.struct_class = Types::DescribeGroupResult
+
+ DescribeUserRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ DescribeUserRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: LdapDisplayNameList, location_name: "OtherAttributes"))
+ DescribeUserRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ DescribeUserRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
+ DescribeUserRequest.struct_class = Types::DescribeUserRequest
+
+ DescribeUserResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
+ DescribeUserResult.add_member(:distinguished_name, Shapes::ShapeRef.new(shape: DistinguishedName, location_name: "DistinguishedName"))
+ DescribeUserResult.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
+ DescribeUserResult.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
+ DescribeUserResult.add_member(:given_name, Shapes::ShapeRef.new(shape: GivenName, location_name: "GivenName"))
+ DescribeUserResult.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
+ DescribeUserResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ DescribeUserResult.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, location_name: "SAMAccountName"))
+ DescribeUserResult.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
+ DescribeUserResult.add_member(:surname, Shapes::ShapeRef.new(shape: Surname, location_name: "Surname"))
+ DescribeUserResult.add_member(:user_principal_name, Shapes::ShapeRef.new(shape: UserPrincipalName, location_name: "UserPrincipalName"))
+ DescribeUserResult.struct_class = Types::DescribeUserResult
+
+ DirectoryUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
+ DirectoryUnavailableException.add_member(:reason, Shapes::ShapeRef.new(shape: DirectoryUnavailableReason, location_name: "Reason"))
+ DirectoryUnavailableException.struct_class = Types::DirectoryUnavailableException
+
+ DisableUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
+ DisableUserRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ DisableUserRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
+ DisableUserRequest.struct_class = Types::DisableUserRequest
+
+ DisableUserResult.struct_class = Types::DisableUserResult
+
+ Group.add_member(:distinguished_name, Shapes::ShapeRef.new(shape: DistinguishedName, location_name: "DistinguishedName"))
+ Group.add_member(:group_scope, Shapes::ShapeRef.new(shape: GroupScope, location_name: "GroupScope"))
+ Group.add_member(:group_type, Shapes::ShapeRef.new(shape: GroupType, location_name: "GroupType"))
+ Group.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
+ Group.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
+ Group.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
+ Group.struct_class = Types::Group
+
+ GroupList.member = Shapes::ShapeRef.new(shape: Group)
+
+ GroupSummary.add_member(:group_scope, Shapes::ShapeRef.new(shape: GroupScope, required: true, location_name: "GroupScope"))
+ GroupSummary.add_member(:group_type, Shapes::ShapeRef.new(shape: GroupType, required: true, location_name: "GroupType"))
+ GroupSummary.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
+ GroupSummary.add_member(:sid, Shapes::ShapeRef.new(shape: SID, required: true, location_name: "SID"))
+ GroupSummary.struct_class = Types::GroupSummary
+
+ GroupSummaryList.member = Shapes::ShapeRef.new(shape: GroupSummary)
+
+ InternalServerException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
+ InternalServerException.struct_class = Types::InternalServerException
+
+ LdapDisplayNameList.member = Shapes::ShapeRef.new(shape: LdapDisplayName)
+
+ ListGroupMembersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ ListGroupMembersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
+ ListGroupMembersRequest.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
+ ListGroupMembersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ ListGroupMembersRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ ListGroupMembersRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
+ ListGroupMembersRequest.struct_class = Types::ListGroupMembersRequest
+
+ ListGroupMembersResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
+ ListGroupMembersResult.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
+ ListGroupMembersResult.add_member(:members, Shapes::ShapeRef.new(shape: MemberList, location_name: "Members"))
+ ListGroupMembersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ ListGroupMembersResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ ListGroupMembersResult.struct_class = Types::ListGroupMembersResult
+
+ ListGroupsForMemberRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ ListGroupsForMemberRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
+ ListGroupsForMemberRequest.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
+ ListGroupsForMemberRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ ListGroupsForMemberRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ ListGroupsForMemberRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: MemberName, required: true, location_name: "SAMAccountName"))
+ ListGroupsForMemberRequest.struct_class = Types::ListGroupsForMemberRequest
+
+ ListGroupsForMemberResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
+ ListGroupsForMemberResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupSummaryList, location_name: "Groups"))
+ ListGroupsForMemberResult.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
+ ListGroupsForMemberResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ ListGroupsForMemberResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ ListGroupsForMemberResult.struct_class = Types::ListGroupsForMemberResult
+
+ ListGroupsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ ListGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
+ ListGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ ListGroupsRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ ListGroupsRequest.struct_class = Types::ListGroupsRequest
+
+ ListGroupsResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
+ ListGroupsResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupSummaryList, location_name: "Groups"))
+ ListGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ ListGroupsResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ ListGroupsResult.struct_class = Types::ListGroupsResult
+
+ ListUsersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ ListUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
+ ListUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ ListUsersRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ ListUsersRequest.struct_class = Types::ListUsersRequest
+
+ ListUsersResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
+ ListUsersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ ListUsersResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ ListUsersResult.add_member(:users, Shapes::ShapeRef.new(shape: UserSummaryList, location_name: "Users"))
+ ListUsersResult.struct_class = Types::ListUsersResult
+
+ Member.add_member(:member_type, Shapes::ShapeRef.new(shape: MemberType, required: true, location_name: "MemberType"))
+ Member.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: MemberName, required: true, location_name: "SAMAccountName"))
+ Member.add_member(:sid, Shapes::ShapeRef.new(shape: SID, required: true, location_name: "SID"))
+ Member.struct_class = Types::Member
+
+ MemberList.member = Shapes::ShapeRef.new(shape: Member)
+
+ RemoveGroupMemberRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
+ RemoveGroupMemberRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ RemoveGroupMemberRequest.add_member(:group_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "GroupName"))
+ RemoveGroupMemberRequest.add_member(:member_name, Shapes::ShapeRef.new(shape: MemberName, required: true, location_name: "MemberName"))
+ RemoveGroupMemberRequest.add_member(:member_realm, Shapes::ShapeRef.new(shape: Realm, location_name: "MemberRealm"))
+ RemoveGroupMemberRequest.struct_class = Types::RemoveGroupMemberRequest
+
+ RemoveGroupMemberResult.struct_class = Types::RemoveGroupMemberResult
+
+ ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
+ ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
+
+ SearchGroupsRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ SearchGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
+ SearchGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ SearchGroupsRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ SearchGroupsRequest.add_member(:search_attributes, Shapes::ShapeRef.new(shape: LdapDisplayNameList, required: true, location_name: "SearchAttributes"))
+ SearchGroupsRequest.add_member(:search_string, Shapes::ShapeRef.new(shape: SearchString, required: true, location_name: "SearchString"))
+ SearchGroupsRequest.struct_class = Types::SearchGroupsRequest
+
+ SearchGroupsResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
+ SearchGroupsResult.add_member(:groups, Shapes::ShapeRef.new(shape: GroupList, location_name: "Groups"))
+ SearchGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ SearchGroupsResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ SearchGroupsResult.struct_class = Types::SearchGroupsResult
+
+ SearchUsersRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ SearchUsersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
+ SearchUsersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ SearchUsersRequest.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ SearchUsersRequest.add_member(:search_attributes, Shapes::ShapeRef.new(shape: LdapDisplayNameList, required: true, location_name: "SearchAttributes"))
+ SearchUsersRequest.add_member(:search_string, Shapes::ShapeRef.new(shape: SearchString, required: true, location_name: "SearchString"))
+ SearchUsersRequest.struct_class = Types::SearchUsersRequest
+
+ SearchUsersResult.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, location_name: "DirectoryId"))
+ SearchUsersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
+ SearchUsersResult.add_member(:realm, Shapes::ShapeRef.new(shape: Realm, location_name: "Realm"))
+ SearchUsersResult.add_member(:users, Shapes::ShapeRef.new(shape: UserList, location_name: "Users"))
+ SearchUsersResult.struct_class = Types::SearchUsersResult
+
+ StringSetAttributeValue.member = Shapes::ShapeRef.new(shape: StringAttributeValue)
+
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, required: true, location_name: "Message"))
+ ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: Integer, location: "header", location_name: "Retry-After"))
+ ThrottlingException.struct_class = Types::ThrottlingException
+
+ UpdateGroupRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
+ UpdateGroupRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ UpdateGroupRequest.add_member(:group_scope, Shapes::ShapeRef.new(shape: GroupScope, location_name: "GroupScope"))
+ UpdateGroupRequest.add_member(:group_type, Shapes::ShapeRef.new(shape: GroupType, location_name: "GroupType"))
+ UpdateGroupRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
+ UpdateGroupRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: GroupName, required: true, location_name: "SAMAccountName"))
+ UpdateGroupRequest.add_member(:update_type, Shapes::ShapeRef.new(shape: UpdateType, location_name: "UpdateType"))
+ UpdateGroupRequest.struct_class = Types::UpdateGroupRequest
+
+ UpdateGroupResult.struct_class = Types::UpdateGroupResult
+
+ UpdateUserRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "ClientToken", metadata: {"idempotencyToken"=>true}))
+ UpdateUserRequest.add_member(:directory_id, Shapes::ShapeRef.new(shape: DirectoryId, required: true, location: "querystring", location_name: "DirectoryId"))
+ UpdateUserRequest.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
+ UpdateUserRequest.add_member(:given_name, Shapes::ShapeRef.new(shape: GivenName, location_name: "GivenName"))
+ UpdateUserRequest.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
+ UpdateUserRequest.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
+ UpdateUserRequest.add_member(:surname, Shapes::ShapeRef.new(shape: Surname, location_name: "Surname"))
+ UpdateUserRequest.add_member(:update_type, Shapes::ShapeRef.new(shape: UpdateType, location_name: "UpdateType"))
+ UpdateUserRequest.struct_class = Types::UpdateUserRequest
+
+ UpdateUserResult.struct_class = Types::UpdateUserResult
+
+ User.add_member(:distinguished_name, Shapes::ShapeRef.new(shape: DistinguishedName, location_name: "DistinguishedName"))
+ User.add_member(:email_address, Shapes::ShapeRef.new(shape: EmailAddress, location_name: "EmailAddress"))
+ User.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, location_name: "Enabled"))
+ User.add_member(:given_name, Shapes::ShapeRef.new(shape: GivenName, location_name: "GivenName"))
+ User.add_member(:other_attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "OtherAttributes"))
+ User.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
+ User.add_member(:sid, Shapes::ShapeRef.new(shape: SID, location_name: "SID"))
+ User.add_member(:surname, Shapes::ShapeRef.new(shape: Surname, location_name: "Surname"))
+ User.add_member(:user_principal_name, Shapes::ShapeRef.new(shape: UserPrincipalName, location_name: "UserPrincipalName"))
+ User.struct_class = Types::User
+
+ UserList.member = Shapes::ShapeRef.new(shape: User)
+
+ UserSummary.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "Enabled"))
+ UserSummary.add_member(:given_name, Shapes::ShapeRef.new(shape: GivenName, location_name: "GivenName"))
+ UserSummary.add_member(:sam_account_name, Shapes::ShapeRef.new(shape: UserName, required: true, location_name: "SAMAccountName"))
+ UserSummary.add_member(:sid, Shapes::ShapeRef.new(shape: SID, required: true, location_name: "SID"))
+ UserSummary.add_member(:surname, Shapes::ShapeRef.new(shape: Surname, location_name: "Surname"))
+ UserSummary.struct_class = Types::UserSummary
+
+ UserSummaryList.member = Shapes::ShapeRef.new(shape: UserSummary)
+
+ ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
+ ValidationException.add_member(:reason, Shapes::ShapeRef.new(shape: ValidationExceptionReason, location_name: "Reason"))
+ ValidationException.struct_class = Types::ValidationException
+
+
+ # @api private
+ API = Seahorse::Model::Api.new.tap do |api|
+
+ api.version = "2023-05-31"
+
+ api.metadata = {
+ "apiVersion" => "2023-05-31",
+ "endpointPrefix" => "ds-data",
+ "jsonVersion" => "1.1",
+ "protocol" => "rest-json",
+ "protocols" => ["rest-json"],
+ "serviceFullName" => "AWS Directory Service Data",
+ "serviceId" => "Directory Service Data",
+ "signatureVersion" => "v4",
+ "signingName" => "ds-data",
+ "uid" => "directory-service-data-2023-05-31",
+ }
+
+ api.add_operation(:add_group_member, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "AddGroupMember"
+ o.http_method = "POST"
+ o.http_request_uri = "/GroupMemberships/AddGroupMember"
+ o.input = Shapes::ShapeRef.new(shape: AddGroupMemberRequest)
+ o.output = Shapes::ShapeRef.new(shape: AddGroupMemberResult)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ end)
+
+ api.add_operation(:create_group, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "CreateGroup"
+ o.http_method = "POST"
+ o.http_request_uri = "/Groups/CreateGroup"
+ o.input = Shapes::ShapeRef.new(shape: CreateGroupRequest)
+ o.output = Shapes::ShapeRef.new(shape: CreateGroupResult)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ end)
+
+ api.add_operation(:create_user, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "CreateUser"
+ o.http_method = "POST"
+ o.http_request_uri = "/Users/CreateUser"
+ o.input = Shapes::ShapeRef.new(shape: CreateUserRequest)
+ o.output = Shapes::ShapeRef.new(shape: CreateUserResult)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ end)
+
+ api.add_operation(:delete_group, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DeleteGroup"
+ o.http_method = "POST"
+ o.http_request_uri = "/Groups/DeleteGroup"
+ o.input = Shapes::ShapeRef.new(shape: DeleteGroupRequest)
+ o.output = Shapes::ShapeRef.new(shape: DeleteGroupResult)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ end)
+
+ api.add_operation(:delete_user, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DeleteUser"
+ o.http_method = "POST"
+ o.http_request_uri = "/Users/DeleteUser"
+ o.input = Shapes::ShapeRef.new(shape: DeleteUserRequest)
+ o.output = Shapes::ShapeRef.new(shape: DeleteUserResult)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ end)
+
+ api.add_operation(:describe_group, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DescribeGroup"
+ o.http_method = "POST"
+ o.http_request_uri = "/Groups/DescribeGroup"
+ o.input = Shapes::ShapeRef.new(shape: DescribeGroupRequest)
+ o.output = Shapes::ShapeRef.new(shape: DescribeGroupResult)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ end)
+
+ api.add_operation(:describe_user, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DescribeUser"
+ o.http_method = "POST"
+ o.http_request_uri = "/Users/DescribeUser"
+ o.input = Shapes::ShapeRef.new(shape: DescribeUserRequest)
+ o.output = Shapes::ShapeRef.new(shape: DescribeUserResult)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ end)
+
+ api.add_operation(:disable_user, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DisableUser"
+ o.http_method = "POST"
+ o.http_request_uri = "/Users/DisableUser"
+ o.input = Shapes::ShapeRef.new(shape: DisableUserRequest)
+ o.output = Shapes::ShapeRef.new(shape: DisableUserResult)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ end)
+
+ api.add_operation(:list_group_members, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListGroupMembers"
+ o.http_method = "POST"
+ o.http_request_uri = "/GroupMemberships/ListGroupMembers"
+ o.input = Shapes::ShapeRef.new(shape: ListGroupMembersRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListGroupMembersResult)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
+ api.add_operation(:list_groups, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListGroups"
+ o.http_method = "POST"
+ o.http_request_uri = "/Groups/ListGroups"
+ o.input = Shapes::ShapeRef.new(shape: ListGroupsRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListGroupsResult)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
+ api.add_operation(:list_groups_for_member, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListGroupsForMember"
+ o.http_method = "POST"
+ o.http_request_uri = "/GroupMemberships/ListGroupsForMember"
+ o.input = Shapes::ShapeRef.new(shape: ListGroupsForMemberRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListGroupsForMemberResult)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
+ api.add_operation(:list_users, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListUsers"
+ o.http_method = "POST"
+ o.http_request_uri = "/Users/ListUsers"
+ o.input = Shapes::ShapeRef.new(shape: ListUsersRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListUsersResult)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
+ api.add_operation(:remove_group_member, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "RemoveGroupMember"
+ o.http_method = "POST"
+ o.http_request_uri = "/GroupMemberships/RemoveGroupMember"
+ o.input = Shapes::ShapeRef.new(shape: RemoveGroupMemberRequest)
+ o.output = Shapes::ShapeRef.new(shape: RemoveGroupMemberResult)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ end)
+
+ api.add_operation(:search_groups, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "SearchGroups"
+ o.http_method = "POST"
+ o.http_request_uri = "/Groups/SearchGroups"
+ o.input = Shapes::ShapeRef.new(shape: SearchGroupsRequest)
+ o.output = Shapes::ShapeRef.new(shape: SearchGroupsResult)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
+ api.add_operation(:search_users, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "SearchUsers"
+ o.http_method = "POST"
+ o.http_request_uri = "/Users/SearchUsers"
+ o.input = Shapes::ShapeRef.new(shape: SearchUsersRequest)
+ o.output = Shapes::ShapeRef.new(shape: SearchUsersResult)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
+ api.add_operation(:update_group, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "UpdateGroup"
+ o.http_method = "POST"
+ o.http_request_uri = "/Groups/UpdateGroup"
+ o.input = Shapes::ShapeRef.new(shape: UpdateGroupRequest)
+ o.output = Shapes::ShapeRef.new(shape: UpdateGroupResult)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ end)
+
+ api.add_operation(:update_user, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "UpdateUser"
+ o.http_method = "POST"
+ o.http_request_uri = "/Users/UpdateUser"
+ o.input = Shapes::ShapeRef.new(shape: UpdateUserRequest)
+ o.output = Shapes::ShapeRef.new(shape: UpdateUserResult)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: DirectoryUnavailableException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ end)
+ end
+
+ end
+end
diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/customizations.rb b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/customizations.rb
similarity index 100%
rename from gems/aws-sdk-worklink/lib/aws-sdk-worklink/customizations.rb
rename to gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/customizations.rb
diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_parameters.rb b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/endpoint_parameters.rb
similarity index 98%
rename from gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_parameters.rb
rename to gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/endpoint_parameters.rb
index ca1680e2989..ec030d31b10 100644
--- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_parameters.rb
+++ b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/endpoint_parameters.rb
@@ -7,7 +7,7 @@
#
# WARNING ABOUT GENERATED CODE
-module Aws::WorkLink
+module Aws::DirectoryServiceData
# Endpoint parameters used to influence endpoints per request.
#
# @!attribute region
diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_provider.rb b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/endpoint_provider.rb
similarity index 81%
rename from gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_provider.rb
rename to gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/endpoint_provider.rb
index 8ff7f59df33..8fbf8d72d1e 100644
--- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoint_provider.rb
+++ b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/endpoint_provider.rb
@@ -7,7 +7,7 @@
#
# WARNING ABOUT GENERATED CODE
-module Aws::WorkLink
+module Aws::DirectoryServiceData
class EndpointProvider
def resolve_endpoint(parameters)
region = parameters.region
@@ -27,23 +27,23 @@ def resolve_endpoint(parameters)
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
- return Aws::Endpoints::Endpoint.new(url: "https://worklink-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
+ return Aws::Endpoints::Endpoint.new(url: "https://ds-data-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
end
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
end
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
- return Aws::Endpoints::Endpoint.new(url: "https://worklink-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
+ return Aws::Endpoints::Endpoint.new(url: "https://ds-data-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
end
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
end
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
- return Aws::Endpoints::Endpoint.new(url: "https://worklink.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
+ return Aws::Endpoints::Endpoint.new(url: "https://ds-data.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
end
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
end
- return Aws::Endpoints::Endpoint.new(url: "https://worklink.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
+ return Aws::Endpoints::Endpoint.new(url: "https://ds-data.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
end
end
raise ArgumentError, "Invalid Configuration: Missing Region"
diff --git a/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/endpoints.rb b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/endpoints.rb
new file mode 100644
index 00000000000..9e4b6842c53
--- /dev/null
+++ b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/endpoints.rb
@@ -0,0 +1,203 @@
+# frozen_string_literal: true
+
+# WARNING ABOUT GENERATED CODE
+#
+# This file is generated. See the contributing guide for more information:
+# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
+#
+# WARNING ABOUT GENERATED CODE
+
+
+module Aws::DirectoryServiceData
+ # @api private
+ module Endpoints
+
+ class AddGroupMember
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class CreateGroup
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class CreateUser
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DeleteGroup
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DeleteUser
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DescribeGroup
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DescribeUser
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DisableUser
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListGroupMembers
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListGroups
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListGroupsForMember
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListUsers
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class RemoveGroupMember
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class SearchGroups
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class SearchUsers
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class UpdateGroup
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class UpdateUser
+ def self.build(context)
+ Aws::DirectoryServiceData::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ end
+end
diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/errors.rb b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/errors.rb
similarity index 54%
rename from gems/aws-sdk-worklink/lib/aws-sdk-worklink/errors.rb
rename to gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/errors.rb
index 97ea91500a7..865defc96ba 100644
--- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/errors.rb
+++ b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/errors.rb
@@ -7,17 +7,17 @@
#
# WARNING ABOUT GENERATED CODE
-module Aws::WorkLink
+module Aws::DirectoryServiceData
- # When WorkLink returns an error response, the Ruby SDK constructs and raises an error.
- # These errors all extend Aws::WorkLink::Errors::ServiceError < {Aws::Errors::ServiceError}
+ # When DirectoryServiceData returns an error response, the Ruby SDK constructs and raises an error.
+ # These errors all extend Aws::DirectoryServiceData::Errors::ServiceError < {Aws::Errors::ServiceError}
#
- # You can rescue all WorkLink errors using ServiceError:
+ # You can rescue all DirectoryServiceData errors using ServiceError:
#
# begin
# # do stuff
- # rescue Aws::WorkLink::Errors::ServiceError
- # # rescues all WorkLink API errors
+ # rescue Aws::DirectoryServiceData::Errors::ServiceError
+ # # rescues all DirectoryServiceData API errors
# end
#
#
@@ -27,12 +27,13 @@ module Aws::WorkLink
# See {Seahorse::Client::RequestContext} for more information.
#
# ## Error Classes
- # * {InternalServerErrorException}
- # * {InvalidRequestException}
- # * {ResourceAlreadyExistsException}
+ # * {AccessDeniedException}
+ # * {ConflictException}
+ # * {DirectoryUnavailableException}
+ # * {InternalServerException}
# * {ResourceNotFoundException}
- # * {TooManyRequestsException}
- # * {UnauthorizedException}
+ # * {ThrottlingException}
+ # * {ValidationException}
#
# Additionally, error classes are dynamically generated for service errors based on the error code
# if they are not defined above.
@@ -40,11 +41,11 @@ module Errors
extend Aws::Errors::DynamicErrors
- class InternalServerErrorException < ServiceError
+ class AccessDeniedException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
- # @param [Aws::WorkLink::Types::InternalServerErrorException] data
+ # @param [Aws::DirectoryServiceData::Types::AccessDeniedException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
@@ -53,13 +54,18 @@ def initialize(context, message, data = Aws::EmptyStructure.new)
def message
@message || @data[:message]
end
+
+ # @return [String]
+ def reason
+ @data[:reason]
+ end
end
- class InvalidRequestException < ServiceError
+ class ConflictException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
- # @param [Aws::WorkLink::Types::InvalidRequestException] data
+ # @param [Aws::DirectoryServiceData::Types::ConflictException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
@@ -70,11 +76,11 @@ def message
end
end
- class ResourceAlreadyExistsException < ServiceError
+ class DirectoryUnavailableException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
- # @param [Aws::WorkLink::Types::ResourceAlreadyExistsException] data
+ # @param [Aws::DirectoryServiceData::Types::DirectoryUnavailableException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
@@ -83,13 +89,41 @@ def initialize(context, message, data = Aws::EmptyStructure.new)
def message
@message || @data[:message]
end
+
+ # @return [String]
+ def reason
+ @data[:reason]
+ end
+
+ def retryable?
+ true
+ end
+ end
+
+ class InternalServerException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::DirectoryServiceData::Types::InternalServerException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+
+ def retryable?
+ true
+ end
end
class ResourceNotFoundException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
- # @param [Aws::WorkLink::Types::ResourceNotFoundException] data
+ # @param [Aws::DirectoryServiceData::Types::ResourceNotFoundException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
@@ -100,11 +134,11 @@ def message
end
end
- class TooManyRequestsException < ServiceError
+ class ThrottlingException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
- # @param [Aws::WorkLink::Types::TooManyRequestsException] data
+ # @param [Aws::DirectoryServiceData::Types::ThrottlingException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
@@ -113,13 +147,26 @@ def initialize(context, message, data = Aws::EmptyStructure.new)
def message
@message || @data[:message]
end
+
+ # @return [String]
+ def retry_after_seconds
+ @data[:retry_after_seconds]
+ end
+
+ def retryable?
+ true
+ end
+
+ def throttling?
+ true
+ end
end
- class UnauthorizedException < ServiceError
+ class ValidationException < ServiceError
# @param [Seahorse::Client::RequestContext] context
# @param [String] message
- # @param [Aws::WorkLink::Types::UnauthorizedException] data
+ # @param [Aws::DirectoryServiceData::Types::ValidationException] data
def initialize(context, message, data = Aws::EmptyStructure.new)
super(context, message, data)
end
@@ -128,6 +175,11 @@ def initialize(context, message, data = Aws::EmptyStructure.new)
def message
@message || @data[:message]
end
+
+ # @return [String]
+ def reason
+ @data[:reason]
+ end
end
end
diff --git a/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/plugins/endpoints.rb b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/plugins/endpoints.rb
new file mode 100644
index 00000000000..414e453a902
--- /dev/null
+++ b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/plugins/endpoints.rb
@@ -0,0 +1,113 @@
+# frozen_string_literal: true
+
+# WARNING ABOUT GENERATED CODE
+#
+# This file is generated. See the contributing guide for more information:
+# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
+#
+# WARNING ABOUT GENERATED CODE
+
+
+module Aws::DirectoryServiceData
+ module Plugins
+ class Endpoints < Seahorse::Client::Plugin
+ option(
+ :endpoint_provider,
+ doc_type: 'Aws::DirectoryServiceData::EndpointProvider',
+ rbs_type: 'untyped',
+ docstring: 'The endpoint provider used to resolve endpoints. Any '\
+ 'object that responds to `#resolve_endpoint(parameters)` '\
+ 'where `parameters` is a Struct similar to '\
+ '`Aws::DirectoryServiceData::EndpointParameters`'
+ ) do |cfg|
+ Aws::DirectoryServiceData::EndpointProvider.new
+ end
+
+ # @api private
+ class Handler < Seahorse::Client::Handler
+ def call(context)
+ unless context[:discovered_endpoint]
+ params = parameters_for_operation(context)
+ endpoint = context.config.endpoint_provider.resolve_endpoint(params)
+
+ context.http_request.endpoint = endpoint.url
+ apply_endpoint_headers(context, endpoint.headers)
+
+ context[:endpoint_params] = params
+ context[:endpoint_properties] = endpoint.properties
+ end
+
+ context[:auth_scheme] =
+ Aws::Endpoints.resolve_auth_scheme(context, endpoint)
+
+ with_metrics(context) { @handler.call(context) }
+ end
+
+ private
+
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
+ def apply_endpoint_headers(context, headers)
+ headers.each do |key, values|
+ value = values
+ .compact
+ .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
+ .join(',')
+
+ context.http_request.headers[key] = value
+ end
+ end
+
+ def parameters_for_operation(context)
+ case context.operation_name
+ when :add_group_member
+ Aws::DirectoryServiceData::Endpoints::AddGroupMember.build(context)
+ when :create_group
+ Aws::DirectoryServiceData::Endpoints::CreateGroup.build(context)
+ when :create_user
+ Aws::DirectoryServiceData::Endpoints::CreateUser.build(context)
+ when :delete_group
+ Aws::DirectoryServiceData::Endpoints::DeleteGroup.build(context)
+ when :delete_user
+ Aws::DirectoryServiceData::Endpoints::DeleteUser.build(context)
+ when :describe_group
+ Aws::DirectoryServiceData::Endpoints::DescribeGroup.build(context)
+ when :describe_user
+ Aws::DirectoryServiceData::Endpoints::DescribeUser.build(context)
+ when :disable_user
+ Aws::DirectoryServiceData::Endpoints::DisableUser.build(context)
+ when :list_group_members
+ Aws::DirectoryServiceData::Endpoints::ListGroupMembers.build(context)
+ when :list_groups
+ Aws::DirectoryServiceData::Endpoints::ListGroups.build(context)
+ when :list_groups_for_member
+ Aws::DirectoryServiceData::Endpoints::ListGroupsForMember.build(context)
+ when :list_users
+ Aws::DirectoryServiceData::Endpoints::ListUsers.build(context)
+ when :remove_group_member
+ Aws::DirectoryServiceData::Endpoints::RemoveGroupMember.build(context)
+ when :search_groups
+ Aws::DirectoryServiceData::Endpoints::SearchGroups.build(context)
+ when :search_users
+ Aws::DirectoryServiceData::Endpoints::SearchUsers.build(context)
+ when :update_group
+ Aws::DirectoryServiceData::Endpoints::UpdateGroup.build(context)
+ when :update_user
+ Aws::DirectoryServiceData::Endpoints::UpdateUser.build(context)
+ end
+ end
+ end
+
+ def add_handlers(handlers, _config)
+ handlers.add(Handler, step: :build, priority: 75)
+ end
+ end
+ end
+end
diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/resource.rb b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/resource.rb
similarity index 93%
rename from gems/aws-sdk-worklink/lib/aws-sdk-worklink/resource.rb
rename to gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/resource.rb
index 6fac8737af6..62ab4c9907b 100644
--- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/resource.rb
+++ b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/resource.rb
@@ -7,7 +7,7 @@
#
# WARNING ABOUT GENERATED CODE
-module Aws::WorkLink
+module Aws::DirectoryServiceData
class Resource
diff --git a/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/types.rb b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/types.rb
new file mode 100644
index 00000000000..5f19c54d73f
--- /dev/null
+++ b/gems/aws-sdk-directoryservicedata/lib/aws-sdk-directoryservicedata/types.rb
@@ -0,0 +1,1743 @@
+# frozen_string_literal: true
+
+# WARNING ABOUT GENERATED CODE
+#
+# This file is generated. See the contributing guide for more information:
+# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
+#
+# WARNING ABOUT GENERATED CODE
+
+module Aws::DirectoryServiceData
+ module Types
+
+ # You don't have permission to perform the request or access the
+ # directory. It can also occur when the `DirectoryId` doesn't exist or
+ # the user, member, or group might be outside of your organizational
+ # unit (OU).
+ #
+ # Make sure that you have the authentication and authorization to
+ # perform the action. Review the directory information in the request,
+ # and make sure that the object isn't outside of your OU.
+ #
+ # @!attribute [rw] message
+ # @return [String]
+ #
+ # @!attribute [rw] reason
+ # Reason the request was unauthorized.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/AccessDeniedException AWS API Documentation
+ #
+ class AccessDeniedException < Struct.new(
+ :message,
+ :reason)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that
+ # uses it completes. After 8 hours, any request with the same client
+ # token is treated as a new request. If the request succeeds, any
+ # future uses of that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ # @return [String]
+ #
+ # @!attribute [rw] group_name
+ # The name of the group.
+ # @return [String]
+ #
+ # @!attribute [rw] member_name
+ # The `SAMAccountName` of the user, group, or computer to add as a
+ # group member.
+ # @return [String]
+ #
+ # @!attribute [rw] member_realm
+ # The domain name that's associated with the group member. This
+ # parameter is required only when adding a member outside of your
+ # Managed Microsoft AD domain to a group inside of your Managed
+ # Microsoft AD domain. This parameter defaults to the Managed
+ # Microsoft AD domain.
+ #
+ # This parameter is case insensitive.
+ #
+ #
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/AddGroupMemberRequest AWS API Documentation
+ #
+ class AddGroupMemberRequest < Struct.new(
+ :client_token,
+ :directory_id,
+ :group_name,
+ :member_name,
+ :member_realm)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/AddGroupMemberResult AWS API Documentation
+ #
+ class AddGroupMemberResult < Aws::EmptyStructure; end
+
+ # The data type for an attribute. Each attribute value is described as a
+ # name-value pair. The name is the AD schema name, and the value is the
+ # data itself. For a list of supported attributes, see [Directory
+ # Service Data Attributes][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ #
+ # @note AttributeValue is a union - when making an API calls you must set exactly one of the members.
+ #
+ # @note AttributeValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AttributeValue corresponding to the set member.
+ #
+ # @!attribute [rw] bool
+ # Indicates that the attribute type value is a boolean. For example:
+ #
+ # `"BOOL": true`
+ # @return [Boolean]
+ #
+ # @!attribute [rw] n
+ # Indicates that the attribute type value is a number. For example:
+ #
+ # `"N": "16"`
+ # @return [Integer]
+ #
+ # @!attribute [rw] s
+ # Indicates that the attribute type value is a string. For example:
+ #
+ # `"S": "S Group"`
+ # @return [String]
+ #
+ # @!attribute [rw] ss
+ # Indicates that the attribute type value is a string set. For
+ # example:
+ #
+ # `"SS":
+ # ["sample_service_class/host.sample.com:1234/sample_service_name_1",
+ # "sample_service_class/host.sample.com:1234/sample_service_name_2"]`
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/AttributeValue AWS API Documentation
+ #
+ class AttributeValue < Struct.new(
+ :bool,
+ :n,
+ :s,
+ :ss,
+ :unknown)
+ SENSITIVE = [:bool, :n, :s, :ss]
+ include Aws::Structure
+ include Aws::Structure::Union
+
+ class Bool < AttributeValue; end
+ class N < AttributeValue; end
+ class S < AttributeValue; end
+ class Ss < AttributeValue; end
+ class Unknown < AttributeValue; end
+ end
+
+ # This error will occur when you try to create a resource that conflicts
+ # with an existing object. It can also occur when adding a member to a
+ # group that the member is already in.
+ #
+ # This error can be caused by a request sent within the 8-hour
+ # idempotency window with the same client token but different input
+ # parameters. Client tokens should not be re-used across different
+ # requests. After 8 hours, any request with the same client token is
+ # treated as a new request.
+ #
+ # @!attribute [rw] message
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ConflictException AWS API Documentation
+ #
+ class ConflictException < Struct.new(
+ :message)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that
+ # uses it completes. After 8 hours, any request with the same client
+ # token is treated as a new request. If the request succeeds, any
+ # future uses of that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ # @return [String]
+ #
+ # @!attribute [rw] group_scope
+ # The scope of the AD group. For details, see [Active Directory
+ # security group scope][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#group-scope
+ # @return [String]
+ #
+ # @!attribute [rw] group_type
+ # The AD group type. For details, see [Active Directory security group
+ # type][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#how-active-directory-security-groups-work
+ # @return [String]
+ #
+ # @!attribute [rw] other_attributes
+ # An expression that defines one or more attributes with the data type
+ # and value of each attribute.
+ # @return [Hash]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/CreateGroupRequest AWS API Documentation
+ #
+ class CreateGroupRequest < Struct.new(
+ :client_token,
+ :directory_id,
+ :group_scope,
+ :group_type,
+ :other_attributes,
+ :sam_account_name)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the group.
+ # @return [String]
+ #
+ # @!attribute [rw] sid
+ # The unique security identifier (SID) of the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/CreateGroupResult AWS API Documentation
+ #
+ class CreateGroupResult < Struct.new(
+ :directory_id,
+ :sam_account_name,
+ :sid)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that
+ # uses it completes. After 8 hours, any request with the same client
+ # token is treated as a new request. If the request succeeds, any
+ # future uses of that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that’s associated with the
+ # user.
+ # @return [String]
+ #
+ # @!attribute [rw] email_address
+ # The email address of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] given_name
+ # The first name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] other_attributes
+ # An expression that defines one or more attribute names with the data
+ # type and value of each attribute. A key is an attribute name, and
+ # the value is a list of maps. For a list of supported attributes, see
+ # [Directory Service Data Attributes][1].
+ #
+ # Attribute names are case insensitive.
+ #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ # @return [Hash]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] surname
+ # The last name of the user.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/CreateUserRequest AWS API Documentation
+ #
+ class CreateUserRequest < Struct.new(
+ :client_token,
+ :directory_id,
+ :email_address,
+ :given_name,
+ :other_attributes,
+ :sam_account_name,
+ :surname)
+ SENSITIVE = [:email_address, :given_name, :surname]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory where the address block is
+ # added.
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] sid
+ # The unique security identifier (SID) of the user.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/CreateUserResult AWS API Documentation
+ #
+ class CreateUserResult < Struct.new(
+ :directory_id,
+ :sam_account_name,
+ :sid)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that
+ # uses it completes. After 8 hours, any request with the same client
+ # token is treated as a new request. If the request succeeds, any
+ # future uses of that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DeleteGroupRequest AWS API Documentation
+ #
+ class DeleteGroupRequest < Struct.new(
+ :client_token,
+ :directory_id,
+ :sam_account_name)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DeleteGroupResult AWS API Documentation
+ #
+ class DeleteGroupResult < Aws::EmptyStructure; end
+
+ # @!attribute [rw] client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that
+ # uses it completes. After 8 hours, any request with the same client
+ # token is treated as a new request. If the request succeeds, any
+ # future uses of that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # user.
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the user.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DeleteUserRequest AWS API Documentation
+ #
+ class DeleteUserRequest < Struct.new(
+ :client_token,
+ :directory_id,
+ :sam_account_name)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DeleteUserResult AWS API Documentation
+ #
+ class DeleteUserResult < Aws::EmptyStructure; end
+
+ # @!attribute [rw] directory_id
+ # The Identifier (ID) of the directory associated with the group.
+ # @return [String]
+ #
+ # @!attribute [rw] other_attributes
+ # One or more attributes to be returned for the group. For a list of
+ # supported attributes, see [Directory Service Data Attributes][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data-attributes.html
+ # @return [Array]
+ #
+ # @!attribute [rw] realm
+ # The domain name that's associated with the group.
+ #
+ # This parameter is optional, so you can return groups outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD groups are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DescribeGroupRequest AWS API Documentation
+ #
+ class DescribeGroupRequest < Struct.new(
+ :directory_id,
+ :other_attributes,
+ :realm,
+ :sam_account_name)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ # @return [String]
+ #
+ # @!attribute [rw] distinguished_name
+ # The [distinguished name][1] of the object.
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows/win32/ad/object-names-and-identities#distinguished-name
+ # @return [String]
+ #
+ # @!attribute [rw] group_scope
+ # The scope of the AD group. For details, see [Active Directory
+ # security groups][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#group-scope
+ # @return [String]
+ #
+ # @!attribute [rw] group_type
+ # The AD group type. For details, see [Active Directory security group
+ # type][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#how-active-directory-security-groups-work
+ # @return [String]
+ #
+ # @!attribute [rw] other_attributes
+ # The attribute values that are returned for the attribute names that
+ # are included in the request.
+ # @return [Hash]
+ #
+ # @!attribute [rw] realm
+ # The domain name that's associated with the group.
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the group.
+ # @return [String]
+ #
+ # @!attribute [rw] sid
+ # The unique security identifier (SID) of the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DescribeGroupResult AWS API Documentation
+ #
+ class DescribeGroupResult < Struct.new(
+ :directory_id,
+ :distinguished_name,
+ :group_scope,
+ :group_type,
+ :other_attributes,
+ :realm,
+ :sam_account_name,
+ :sid)
+ SENSITIVE = [:distinguished_name]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # user.
+ # @return [String]
+ #
+ # @!attribute [rw] other_attributes
+ # One or more attribute names to be returned for the user. A key is an
+ # attribute name, and the value is a list of maps. For a list of
+ # supported attributes, see [Directory Service Data Attributes][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ # @return [Array]
+ #
+ # @!attribute [rw] realm
+ # The domain name that's associated with the user.
+ #
+ # This parameter is optional, so you can return users outside your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD users are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the user.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DescribeUserRequest AWS API Documentation
+ #
+ class DescribeUserRequest < Struct.new(
+ :directory_id,
+ :other_attributes,
+ :realm,
+ :sam_account_name)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # user.
+ # @return [String]
+ #
+ # @!attribute [rw] distinguished_name
+ # The [distinguished name][1] of the object.
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows/win32/ad/object-names-and-identities#distinguished-name
+ # @return [String]
+ #
+ # @!attribute [rw] email_address
+ # The email address of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] enabled
+ # Indicates whether the user account is active.
+ # @return [Boolean]
+ #
+ # @!attribute [rw] given_name
+ # The first name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] other_attributes
+ # The attribute values that are returned for the attribute names that
+ # are included in the request.
+ #
+ # Attribute names are case insensitive.
+ #
+ #
+ # @return [Hash]
+ #
+ # @!attribute [rw] realm
+ # The domain name that's associated with the user.
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] sid
+ # The unique security identifier (SID) of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] surname
+ # The last name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] user_principal_name
+ # The UPN that is an Internet-style login name for a user and is based
+ # on the Internet standard [RFC 822][1]. The UPN is shorter than the
+ # distinguished name and easier to remember.
+ #
+ #
+ #
+ # [1]: https://www.ietf.org/rfc/rfc0822.txt
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DescribeUserResult AWS API Documentation
+ #
+ class DescribeUserResult < Struct.new(
+ :directory_id,
+ :distinguished_name,
+ :email_address,
+ :enabled,
+ :given_name,
+ :other_attributes,
+ :realm,
+ :sam_account_name,
+ :sid,
+ :surname,
+ :user_principal_name)
+ SENSITIVE = [:distinguished_name, :email_address, :given_name, :surname, :user_principal_name]
+ include Aws::Structure
+ end
+
+ # The request could not be completed due to a problem in the
+ # configuration or current state of the specified directory.
+ #
+ # @!attribute [rw] message
+ # @return [String]
+ #
+ # @!attribute [rw] reason
+ # Reason the request failed for the specified directory.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DirectoryUnavailableException AWS API Documentation
+ #
+ class DirectoryUnavailableException < Struct.new(
+ :message,
+ :reason)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that
+ # uses it completes. After 8 hours, any request with the same client
+ # token is treated as a new request. If the request succeeds, any
+ # future uses of that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # user.
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the user.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DisableUserRequest AWS API Documentation
+ #
+ class DisableUserRequest < Struct.new(
+ :client_token,
+ :directory_id,
+ :sam_account_name)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/DisableUserResult AWS API Documentation
+ #
+ class DisableUserResult < Aws::EmptyStructure; end
+
+ # A group object that contains identifying information and attributes
+ # for a specified group.
+ #
+ # @!attribute [rw] distinguished_name
+ # The [distinguished name][1] of the object.
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows/win32/ad/object-names-and-identities#distinguished-name
+ # @return [String]
+ #
+ # @!attribute [rw] group_scope
+ # The scope of the AD group. For details, see [Active Directory
+ # security groups][1]
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#group-scope
+ # @return [String]
+ #
+ # @!attribute [rw] group_type
+ # The AD group type. For details, see [Active Directory security group
+ # type][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#how-active-directory-security-groups-work
+ # @return [String]
+ #
+ # @!attribute [rw] other_attributes
+ # An expression of one or more attributes, data types, and the values
+ # of a group.
+ # @return [Hash]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the group.
+ # @return [String]
+ #
+ # @!attribute [rw] sid
+ # The unique security identifier (SID) of the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/Group AWS API Documentation
+ #
+ class Group < Struct.new(
+ :distinguished_name,
+ :group_scope,
+ :group_type,
+ :other_attributes,
+ :sam_account_name,
+ :sid)
+ SENSITIVE = [:distinguished_name]
+ include Aws::Structure
+ end
+
+ # A structure containing a subset of fields of a group object from a
+ # directory.
+ #
+ # @!attribute [rw] group_scope
+ # The scope of the AD group. For details, see [Active Directory
+ # security groups][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#group-scope
+ # @return [String]
+ #
+ # @!attribute [rw] group_type
+ # The AD group type. For details, see [Active Directory security group
+ # type][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#how-active-directory-security-groups-work
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the group.
+ # @return [String]
+ #
+ # @!attribute [rw] sid
+ # The unique security identifier (SID) of the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/GroupSummary AWS API Documentation
+ #
+ class GroupSummary < Struct.new(
+ :group_scope,
+ :group_type,
+ :sam_account_name,
+ :sid)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # The operation didn't succeed because an internal error occurred. Try
+ # again later.
+ #
+ # @!attribute [rw] message
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/InternalServerException AWS API Documentation
+ #
+ class InternalServerException < Struct.new(
+ :message)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ # @return [String]
+ #
+ # @!attribute [rw] max_results
+ # The maximum number of results to be returned per request.
+ # @return [Integer]
+ #
+ # @!attribute [rw] member_realm
+ # The domain name that's associated with the group member. This
+ # parameter defaults to the Managed Microsoft AD domain.
+ #
+ # This parameter is optional and case insensitive.
+ #
+ #
+ # @return [String]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain name that's associated with the group.
+ #
+ # This parameter is optional, so you can return members from a group
+ # outside of your Managed Microsoft AD domain. When no value is
+ # defined, only members of your Managed Microsoft AD groups are
+ # returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListGroupMembersRequest AWS API Documentation
+ #
+ class ListGroupMembersRequest < Struct.new(
+ :directory_id,
+ :max_results,
+ :member_realm,
+ :next_token,
+ :realm,
+ :sam_account_name)
+ SENSITIVE = [:next_token]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # Identifier (ID) of the directory associated with the group.
+ # @return [String]
+ #
+ # @!attribute [rw] member_realm
+ # The domain name that's associated with the member.
+ # @return [String]
+ #
+ # @!attribute [rw] members
+ # The member information that the request returns.
+ # @return [Array]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain name that's associated with the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListGroupMembersResult AWS API Documentation
+ #
+ class ListGroupMembersResult < Struct.new(
+ :directory_id,
+ :member_realm,
+ :members,
+ :next_token,
+ :realm)
+ SENSITIVE = [:next_token]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # member.
+ # @return [String]
+ #
+ # @!attribute [rw] max_results
+ # The maximum number of results to be returned per request.
+ # @return [Integer]
+ #
+ # @!attribute [rw] member_realm
+ # The domain name that's associated with the group member.
+ #
+ # This parameter is optional, so you can limit your results to the
+ # group members in a specific domain.
+ #
+ # This parameter is case insensitive and defaults to `Realm`
+ #
+ #
+ # @return [String]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain name that's associated with the group.
+ #
+ # This parameter is optional, so you can return groups outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD groups are returned.
+ #
+ # This value is case insensitive and defaults to your Managed
+ # Microsoft AD domain.
+ #
+ #
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The `SAMAccountName` of the user, group, or computer that's a
+ # member of the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListGroupsForMemberRequest AWS API Documentation
+ #
+ class ListGroupsForMemberRequest < Struct.new(
+ :directory_id,
+ :max_results,
+ :member_realm,
+ :next_token,
+ :realm,
+ :sam_account_name)
+ SENSITIVE = [:next_token]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # member.
+ # @return [String]
+ #
+ # @!attribute [rw] groups
+ # The group information that the request returns.
+ # @return [Array]
+ #
+ # @!attribute [rw] member_realm
+ # The domain that's associated with the member.
+ # @return [String]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain that's associated with the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListGroupsForMemberResult AWS API Documentation
+ #
+ class ListGroupsForMemberResult < Struct.new(
+ :directory_id,
+ :groups,
+ :member_realm,
+ :next_token,
+ :realm)
+ SENSITIVE = [:next_token]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ # @return [String]
+ #
+ # @!attribute [rw] max_results
+ # The maximum number of results to be returned per request.
+ # @return [Integer]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain name associated with the directory.
+ #
+ # This parameter is optional, so you can return groups outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD groups are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListGroupsRequest AWS API Documentation
+ #
+ class ListGroupsRequest < Struct.new(
+ :directory_id,
+ :max_results,
+ :next_token,
+ :realm)
+ SENSITIVE = [:next_token]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ # @return [String]
+ #
+ # @!attribute [rw] groups
+ # The group information that the request returns.
+ # @return [Array]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain name associated with the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListGroupsResult AWS API Documentation
+ #
+ class ListGroupsResult < Struct.new(
+ :directory_id,
+ :groups,
+ :next_token,
+ :realm)
+ SENSITIVE = [:next_token]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # user.
+ # @return [String]
+ #
+ # @!attribute [rw] max_results
+ # The maximum number of results to be returned per request.
+ # @return [Integer]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain name that's associated with the user.
+ #
+ # This parameter is optional, so you can return users outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD users are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListUsersRequest AWS API Documentation
+ #
+ class ListUsersRequest < Struct.new(
+ :directory_id,
+ :max_results,
+ :next_token,
+ :realm)
+ SENSITIVE = [:next_token]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # user.
+ # @return [String]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain that's associated with the user.
+ # @return [String]
+ #
+ # @!attribute [rw] users
+ # The user information that the request returns.
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ListUsersResult AWS API Documentation
+ #
+ class ListUsersResult < Struct.new(
+ :directory_id,
+ :next_token,
+ :realm,
+ :users)
+ SENSITIVE = [:next_token]
+ include Aws::Structure
+ end
+
+ # A member object that contains identifying information for a specified
+ # member.
+ #
+ # @!attribute [rw] member_type
+ # The AD type of the member object.
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the group member.
+ # @return [String]
+ #
+ # @!attribute [rw] sid
+ # The unique security identifier (SID) of the group member.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/Member AWS API Documentation
+ #
+ class Member < Struct.new(
+ :member_type,
+ :sam_account_name,
+ :sid)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that
+ # uses it completes. After 8 hours, any request with the same client
+ # token is treated as a new request. If the request succeeds, any
+ # future uses of that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # member.
+ # @return [String]
+ #
+ # @!attribute [rw] group_name
+ # The name of the group.
+ # @return [String]
+ #
+ # @!attribute [rw] member_name
+ # The `SAMAccountName` of the user, group, or computer to remove from
+ # the group.
+ # @return [String]
+ #
+ # @!attribute [rw] member_realm
+ # The domain name that's associated with the group member. This
+ # parameter defaults to the Managed Microsoft AD domain.
+ #
+ # This parameter is optional and case insensitive.
+ #
+ #
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/RemoveGroupMemberRequest AWS API Documentation
+ #
+ class RemoveGroupMemberRequest < Struct.new(
+ :client_token,
+ :directory_id,
+ :group_name,
+ :member_name,
+ :member_realm)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/RemoveGroupMemberResult AWS API Documentation
+ #
+ class RemoveGroupMemberResult < Aws::EmptyStructure; end
+
+ # The resource couldn't be found.
+ #
+ # @!attribute [rw] message
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ResourceNotFoundException AWS API Documentation
+ #
+ class ResourceNotFoundException < Struct.new(
+ :message)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ # @return [String]
+ #
+ # @!attribute [rw] max_results
+ # The maximum number of results to be returned per request.
+ # @return [Integer]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain name that's associated with the group.
+ #
+ # This parameter is optional, so you can return groups outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD groups are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ # @return [String]
+ #
+ # @!attribute [rw] search_attributes
+ # One or more data attributes that are used to search for a group. For
+ # a list of supported attributes, see [Directory Service Data
+ # Attributes][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ # @return [Array]
+ #
+ # @!attribute [rw] search_string
+ # The attribute value that you want to search for.
+ #
+ # Wildcard `(*)` searches aren't supported. For a list of supported
+ # attributes, see [Directory Service Data Attributes][1].
+ #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/SearchGroupsRequest AWS API Documentation
+ #
+ class SearchGroupsRequest < Struct.new(
+ :directory_id,
+ :max_results,
+ :next_token,
+ :realm,
+ :search_attributes,
+ :search_string)
+ SENSITIVE = [:next_token, :search_string]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ # @return [String]
+ #
+ # @!attribute [rw] groups
+ # The group information that the request returns.
+ # @return [Array]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain that's associated with the group.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/SearchGroupsResult AWS API Documentation
+ #
+ class SearchGroupsResult < Struct.new(
+ :directory_id,
+ :groups,
+ :next_token,
+ :realm)
+ SENSITIVE = [:next_token]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # user.
+ # @return [String]
+ #
+ # @!attribute [rw] max_results
+ # The maximum number of results to be returned per request.
+ # @return [Integer]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain name that's associated with the user.
+ #
+ # This parameter is optional, so you can return users outside of your
+ # Managed Microsoft AD domain. When no value is defined, only your
+ # Managed Microsoft AD users are returned.
+ #
+ # This value is case insensitive.
+ #
+ #
+ # @return [String]
+ #
+ # @!attribute [rw] search_attributes
+ # One or more data attributes that are used to search for a user. For
+ # a list of supported attributes, see [Directory Service Data
+ # Attributes][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ # @return [Array]
+ #
+ # @!attribute [rw] search_string
+ # The attribute value that you want to search for.
+ #
+ # Wildcard `(*)` searches aren't supported. For a list of supported
+ # attributes, see [Directory Service Data Attributes][1].
+ #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data_attributes.html
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/SearchUsersRequest AWS API Documentation
+ #
+ class SearchUsersRequest < Struct.new(
+ :directory_id,
+ :max_results,
+ :next_token,
+ :realm,
+ :search_attributes,
+ :search_string)
+ SENSITIVE = [:next_token, :search_string]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory where the address block is
+ # added.
+ # @return [String]
+ #
+ # @!attribute [rw] next_token
+ # An encoded paging token for paginated calls that can be passed back
+ # to retrieve the next page.
+ # @return [String]
+ #
+ # @!attribute [rw] realm
+ # The domain that's associated with the user.
+ # @return [String]
+ #
+ # @!attribute [rw] users
+ # The user information that the request returns.
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/SearchUsersResult AWS API Documentation
+ #
+ class SearchUsersResult < Struct.new(
+ :directory_id,
+ :next_token,
+ :realm,
+ :users)
+ SENSITIVE = [:next_token]
+ include Aws::Structure
+ end
+
+ # The limit on the number of requests per second has been exceeded.
+ #
+ # @!attribute [rw] message
+ # @return [String]
+ #
+ # @!attribute [rw] retry_after_seconds
+ # The recommended amount of seconds to retry after a throttling
+ # exception.
+ # @return [Integer]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ThrottlingException AWS API Documentation
+ #
+ class ThrottlingException < Struct.new(
+ :message,
+ :retry_after_seconds)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that
+ # uses it completes. After 8 hours, any request with the same client
+ # token is treated as a new request. If the request succeeds, any
+ # future uses of that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # group.
+ # @return [String]
+ #
+ # @!attribute [rw] group_scope
+ # The scope of the AD group. For details, see [Active Directory
+ # security groups][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#group-scope
+ # @return [String]
+ #
+ # @!attribute [rw] group_type
+ # The AD group type. For details, see [Active Directory security group
+ # type][1].
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows-server/identity/ad-ds/manage/understand-security-groups#how-active-directory-security-groups-work
+ # @return [String]
+ #
+ # @!attribute [rw] other_attributes
+ # An expression that defines one or more attributes with the data type
+ # and the value of each attribute.
+ # @return [Hash]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the group.
+ # @return [String]
+ #
+ # @!attribute [rw] update_type
+ # The type of update to be performed. If no value exists for the
+ # attribute, use `ADD`. Otherwise, use `REPLACE` to change an
+ # attribute value or `REMOVE` to clear the attribute value.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/UpdateGroupRequest AWS API Documentation
+ #
+ class UpdateGroupRequest < Struct.new(
+ :client_token,
+ :directory_id,
+ :group_scope,
+ :group_type,
+ :other_attributes,
+ :sam_account_name,
+ :update_type)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/UpdateGroupResult AWS API Documentation
+ #
+ class UpdateGroupResult < Aws::EmptyStructure; end
+
+ # @!attribute [rw] client_token
+ # A unique and case-sensitive identifier that you provide to make sure
+ # the idempotency of the request, so multiple identical calls have the
+ # same effect as one single call.
+ #
+ # A client token is valid for 8 hours after the first request that
+ # uses it completes. After 8 hours, any request with the same client
+ # token is treated as a new request. If the request succeeds, any
+ # future uses of that token will be idempotent for another 8 hours.
+ #
+ # If you submit a request with the same client token but change one of
+ # the other parameters within the 8-hour idempotency window, Directory
+ # Service Data returns an `ConflictException`.
+ #
+ # This parameter is optional when using the CLI or SDK.
+ #
+ #
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] directory_id
+ # The identifier (ID) of the directory that's associated with the
+ # user.
+ # @return [String]
+ #
+ # @!attribute [rw] email_address
+ # The email address of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] given_name
+ # The first name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] other_attributes
+ # An expression that defines one or more attribute names with the data
+ # type and value of each attribute. A key is an attribute name, and
+ # the value is a list of maps. For a list of supported attributes, see
+ # [Directory Service Data Attributes][1].
+ #
+ # Attribute names are case insensitive.
+ #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/directoryservice/latest/admin-guide/ad_data-attributes.html
+ # @return [Hash]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] surname
+ # The last name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] update_type
+ # The type of update to be performed. If no value exists for the
+ # attribute, use `ADD`. Otherwise, use `REPLACE` to change an
+ # attribute value or `REMOVE` to clear the attribute value.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/UpdateUserRequest AWS API Documentation
+ #
+ class UpdateUserRequest < Struct.new(
+ :client_token,
+ :directory_id,
+ :email_address,
+ :given_name,
+ :other_attributes,
+ :sam_account_name,
+ :surname,
+ :update_type)
+ SENSITIVE = [:email_address, :given_name, :surname]
+ include Aws::Structure
+ end
+
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/UpdateUserResult AWS API Documentation
+ #
+ class UpdateUserResult < Aws::EmptyStructure; end
+
+ # A user object that contains identifying information and attributes for
+ # a specified user.
+ #
+ # @!attribute [rw] distinguished_name
+ # The [distinguished name][1] of the object.
+ #
+ #
+ #
+ # [1]: https://learn.microsoft.com/en-us/windows/win32/ad/object-names-and-identities#distinguished-name
+ # @return [String]
+ #
+ # @!attribute [rw] email_address
+ # The email address of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] enabled
+ # Indicates whether the user account is active.
+ # @return [Boolean]
+ #
+ # @!attribute [rw] given_name
+ # The first name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] other_attributes
+ # An expression that includes one or more attributes, data types, and
+ # values of a user.
+ # @return [Hash]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] sid
+ # The unique security identifier (SID) of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] surname
+ # The last name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] user_principal_name
+ # The UPN that is an internet-style login name for a user and based on
+ # the internet standard [RFC 822][1]. The UPN is shorter than the
+ # distinguished name and easier to remember.
+ #
+ #
+ #
+ # [1]: https://www.ietf.org/rfc/rfc0822.txt
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/User AWS API Documentation
+ #
+ class User < Struct.new(
+ :distinguished_name,
+ :email_address,
+ :enabled,
+ :given_name,
+ :other_attributes,
+ :sam_account_name,
+ :sid,
+ :surname,
+ :user_principal_name)
+ SENSITIVE = [:distinguished_name, :email_address, :given_name, :surname, :user_principal_name]
+ include Aws::Structure
+ end
+
+ # A structure containing a subset of the fields of a user object from a
+ # directory.
+ #
+ # @!attribute [rw] enabled
+ # Indicates whether the user account is active.
+ # @return [Boolean]
+ #
+ # @!attribute [rw] given_name
+ # The first name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] sam_account_name
+ # The name of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] sid
+ # The unique security identifier (SID) of the user.
+ # @return [String]
+ #
+ # @!attribute [rw] surname
+ # The last name of the user.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/UserSummary AWS API Documentation
+ #
+ class UserSummary < Struct.new(
+ :enabled,
+ :given_name,
+ :sam_account_name,
+ :sid,
+ :surname)
+ SENSITIVE = [:given_name, :surname]
+ include Aws::Structure
+ end
+
+ # The request isn't valid. Review the details in the error message to
+ # update the invalid parameters or values in your request.
+ #
+ # @!attribute [rw] message
+ # @return [String]
+ #
+ # @!attribute [rw] reason
+ # Reason the request failed validation.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directory-service-data-2023-05-31/ValidationException AWS API Documentation
+ #
+ class ValidationException < Struct.new(
+ :message,
+ :reason)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ end
+end
diff --git a/gems/aws-sdk-directoryservicedata/sig/client.rbs b/gems/aws-sdk-directoryservicedata/sig/client.rbs
new file mode 100644
index 00000000000..6f09fa09dac
--- /dev/null
+++ b/gems/aws-sdk-directoryservicedata/sig/client.rbs
@@ -0,0 +1,353 @@
+# WARNING ABOUT GENERATED CODE
+#
+# This file is generated. See the contributing guide for more information:
+# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
+#
+# WARNING ABOUT GENERATED CODE
+
+module Aws
+ module DirectoryServiceData
+ class Client < ::Seahorse::Client::Base
+ include ::Aws::ClientStubs
+
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#initialize-instance_method
+ def self.new: (
+ ?credentials: untyped,
+ ?region: String,
+ ?access_key_id: String,
+ ?active_endpoint_cache: bool,
+ ?adaptive_retry_wait_to_fill: bool,
+ ?client_side_monitoring: bool,
+ ?client_side_monitoring_client_id: String,
+ ?client_side_monitoring_host: String,
+ ?client_side_monitoring_port: Integer,
+ ?client_side_monitoring_publisher: untyped,
+ ?convert_params: bool,
+ ?correct_clock_skew: bool,
+ ?defaults_mode: String,
+ ?disable_host_prefix_injection: bool,
+ ?disable_request_compression: bool,
+ ?endpoint: String,
+ ?endpoint_cache_max_entries: Integer,
+ ?endpoint_cache_max_threads: Integer,
+ ?endpoint_cache_poll_interval: Integer,
+ ?endpoint_discovery: bool,
+ ?ignore_configured_endpoint_urls: bool,
+ ?log_formatter: untyped,
+ ?log_level: Symbol,
+ ?logger: untyped,
+ ?max_attempts: Integer,
+ ?profile: String,
+ ?request_min_compression_size_bytes: Integer,
+ ?retry_backoff: Proc,
+ ?retry_base_delay: Float,
+ ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
+ ?retry_limit: Integer,
+ ?retry_max_delay: Integer,
+ ?retry_mode: ("legacy" | "standard" | "adaptive"),
+ ?sdk_ua_app_id: String,
+ ?secret_access_key: String,
+ ?session_token: String,
+ ?sigv4a_signing_region_set: Array[String],
+ ?stub_responses: untyped,
+ ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
+ ?token_provider: untyped,
+ ?use_dualstack_endpoint: bool,
+ ?use_fips_endpoint: bool,
+ ?validate_params: bool,
+ ?endpoint_provider: untyped,
+ ?http_proxy: String,
+ ?http_open_timeout: (Float | Integer),
+ ?http_read_timeout: (Float | Integer),
+ ?http_idle_timeout: (Float | Integer),
+ ?http_continue_timeout: (Float | Integer),
+ ?ssl_timeout: (Float | Integer | nil),
+ ?http_wire_trace: bool,
+ ?ssl_verify_peer: bool,
+ ?ssl_ca_bundle: String,
+ ?ssl_ca_directory: String,
+ ?ssl_ca_store: String,
+ ?on_chunk_received: Proc,
+ ?on_chunk_sent: Proc,
+ ?raise_response_errors: bool
+ ) -> instance
+ | (?Hash[Symbol, untyped]) -> instance
+
+
+ interface _AddGroupMemberResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::AddGroupMemberResult]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#add_group_member-instance_method
+ def add_group_member: (
+ ?client_token: ::String,
+ directory_id: ::String,
+ group_name: ::String,
+ member_name: ::String,
+ ?member_realm: ::String
+ ) -> _AddGroupMemberResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddGroupMemberResponseSuccess
+
+ interface _CreateGroupResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateGroupResult]
+ def directory_id: () -> ::String
+ def sam_account_name: () -> ::String
+ def sid: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#create_group-instance_method
+ def create_group: (
+ ?client_token: ::String,
+ directory_id: ::String,
+ ?group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal"),
+ ?group_type: ("Distribution" | "Security"),
+ ?other_attributes: Hash[::String, untyped],
+ sam_account_name: ::String
+ ) -> _CreateGroupResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGroupResponseSuccess
+
+ interface _CreateUserResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateUserResult]
+ def directory_id: () -> ::String
+ def sam_account_name: () -> ::String
+ def sid: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#create_user-instance_method
+ def create_user: (
+ ?client_token: ::String,
+ directory_id: ::String,
+ ?email_address: ::String,
+ ?given_name: ::String,
+ ?other_attributes: Hash[::String, untyped],
+ sam_account_name: ::String,
+ ?surname: ::String
+ ) -> _CreateUserResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUserResponseSuccess
+
+ interface _DeleteGroupResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteGroupResult]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#delete_group-instance_method
+ def delete_group: (
+ ?client_token: ::String,
+ directory_id: ::String,
+ sam_account_name: ::String
+ ) -> _DeleteGroupResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteGroupResponseSuccess
+
+ interface _DeleteUserResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteUserResult]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#delete_user-instance_method
+ def delete_user: (
+ ?client_token: ::String,
+ directory_id: ::String,
+ sam_account_name: ::String
+ ) -> _DeleteUserResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteUserResponseSuccess
+
+ interface _DescribeGroupResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeGroupResult]
+ def directory_id: () -> ::String
+ def distinguished_name: () -> ::String
+ def group_scope: () -> ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
+ def group_type: () -> ("Distribution" | "Security")
+ def other_attributes: () -> ::Hash[::String, Types::AttributeValue]
+ def realm: () -> ::String
+ def sam_account_name: () -> ::String
+ def sid: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#describe_group-instance_method
+ def describe_group: (
+ directory_id: ::String,
+ ?other_attributes: Array[::String],
+ ?realm: ::String,
+ sam_account_name: ::String
+ ) -> _DescribeGroupResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeGroupResponseSuccess
+
+ interface _DescribeUserResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeUserResult]
+ def directory_id: () -> ::String
+ def distinguished_name: () -> ::String
+ def email_address: () -> ::String
+ def enabled: () -> bool
+ def given_name: () -> ::String
+ def other_attributes: () -> ::Hash[::String, Types::AttributeValue]
+ def realm: () -> ::String
+ def sam_account_name: () -> ::String
+ def sid: () -> ::String
+ def surname: () -> ::String
+ def user_principal_name: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#describe_user-instance_method
+ def describe_user: (
+ directory_id: ::String,
+ ?other_attributes: Array[::String],
+ ?realm: ::String,
+ sam_account_name: ::String
+ ) -> _DescribeUserResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeUserResponseSuccess
+
+ interface _DisableUserResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisableUserResult]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#disable_user-instance_method
+ def disable_user: (
+ ?client_token: ::String,
+ directory_id: ::String,
+ sam_account_name: ::String
+ ) -> _DisableUserResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisableUserResponseSuccess
+
+ interface _ListGroupMembersResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupMembersResult]
+ def directory_id: () -> ::String
+ def member_realm: () -> ::String
+ def members: () -> ::Array[Types::Member]
+ def next_token: () -> ::String
+ def realm: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#list_group_members-instance_method
+ def list_group_members: (
+ directory_id: ::String,
+ ?max_results: ::Integer,
+ ?member_realm: ::String,
+ ?next_token: ::String,
+ ?realm: ::String,
+ sam_account_name: ::String
+ ) -> _ListGroupMembersResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupMembersResponseSuccess
+
+ interface _ListGroupsResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupsResult]
+ def directory_id: () -> ::String
+ def groups: () -> ::Array[Types::GroupSummary]
+ def next_token: () -> ::String
+ def realm: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#list_groups-instance_method
+ def list_groups: (
+ directory_id: ::String,
+ ?max_results: ::Integer,
+ ?next_token: ::String,
+ ?realm: ::String
+ ) -> _ListGroupsResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupsResponseSuccess
+
+ interface _ListGroupsForMemberResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupsForMemberResult]
+ def directory_id: () -> ::String
+ def groups: () -> ::Array[Types::GroupSummary]
+ def member_realm: () -> ::String
+ def next_token: () -> ::String
+ def realm: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#list_groups_for_member-instance_method
+ def list_groups_for_member: (
+ directory_id: ::String,
+ ?max_results: ::Integer,
+ ?member_realm: ::String,
+ ?next_token: ::String,
+ ?realm: ::String,
+ sam_account_name: ::String
+ ) -> _ListGroupsForMemberResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListGroupsForMemberResponseSuccess
+
+ interface _ListUsersResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListUsersResult]
+ def directory_id: () -> ::String
+ def next_token: () -> ::String
+ def realm: () -> ::String
+ def users: () -> ::Array[Types::UserSummary]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#list_users-instance_method
+ def list_users: (
+ directory_id: ::String,
+ ?max_results: ::Integer,
+ ?next_token: ::String,
+ ?realm: ::String
+ ) -> _ListUsersResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUsersResponseSuccess
+
+ interface _RemoveGroupMemberResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::RemoveGroupMemberResult]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#remove_group_member-instance_method
+ def remove_group_member: (
+ ?client_token: ::String,
+ directory_id: ::String,
+ group_name: ::String,
+ member_name: ::String,
+ ?member_realm: ::String
+ ) -> _RemoveGroupMemberResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RemoveGroupMemberResponseSuccess
+
+ interface _SearchGroupsResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchGroupsResult]
+ def directory_id: () -> ::String
+ def groups: () -> ::Array[Types::Group]
+ def next_token: () -> ::String
+ def realm: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#search_groups-instance_method
+ def search_groups: (
+ directory_id: ::String,
+ ?max_results: ::Integer,
+ ?next_token: ::String,
+ ?realm: ::String,
+ search_attributes: Array[::String],
+ search_string: ::String
+ ) -> _SearchGroupsResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchGroupsResponseSuccess
+
+ interface _SearchUsersResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchUsersResult]
+ def directory_id: () -> ::String
+ def next_token: () -> ::String
+ def realm: () -> ::String
+ def users: () -> ::Array[Types::User]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#search_users-instance_method
+ def search_users: (
+ directory_id: ::String,
+ ?max_results: ::Integer,
+ ?next_token: ::String,
+ ?realm: ::String,
+ search_attributes: Array[::String],
+ search_string: ::String
+ ) -> _SearchUsersResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchUsersResponseSuccess
+
+ interface _UpdateGroupResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateGroupResult]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#update_group-instance_method
+ def update_group: (
+ ?client_token: ::String,
+ directory_id: ::String,
+ ?group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal"),
+ ?group_type: ("Distribution" | "Security"),
+ ?other_attributes: Hash[::String, untyped],
+ sam_account_name: ::String,
+ ?update_type: ("ADD" | "REPLACE" | "REMOVE")
+ ) -> _UpdateGroupResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateGroupResponseSuccess
+
+ interface _UpdateUserResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateUserResult]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Client.html#update_user-instance_method
+ def update_user: (
+ ?client_token: ::String,
+ directory_id: ::String,
+ ?email_address: ::String,
+ ?given_name: ::String,
+ ?other_attributes: Hash[::String, untyped],
+ sam_account_name: ::String,
+ ?surname: ::String,
+ ?update_type: ("ADD" | "REPLACE" | "REMOVE")
+ ) -> _UpdateUserResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateUserResponseSuccess
+ end
+ end
+end
+
diff --git a/gems/aws-sdk-worklink/sig/errors.rbs b/gems/aws-sdk-directoryservicedata/sig/errors.rbs
similarity index 52%
rename from gems/aws-sdk-worklink/sig/errors.rbs
rename to gems/aws-sdk-directoryservicedata/sig/errors.rbs
index 724e95fa36b..cfe1d9b8b6a 100644
--- a/gems/aws-sdk-worklink/sig/errors.rbs
+++ b/gems/aws-sdk-directoryservicedata/sig/errors.rbs
@@ -6,28 +6,35 @@
# WARNING ABOUT GENERATED CODE
module Aws
- module WorkLink
+ module DirectoryServiceData
module Errors
class ServiceError < ::Aws::Errors::ServiceError
end
- class InternalServerErrorException < ::Aws::Errors::ServiceError
+ class AccessDeniedException < ::Aws::Errors::ServiceError
def message: () -> ::String
+ def reason: () -> ::String
end
- class InvalidRequestException < ::Aws::Errors::ServiceError
+ class ConflictException < ::Aws::Errors::ServiceError
def message: () -> ::String
end
- class ResourceAlreadyExistsException < ::Aws::Errors::ServiceError
+ class DirectoryUnavailableException < ::Aws::Errors::ServiceError
+ def message: () -> ::String
+ def reason: () -> ::String
+ end
+ class InternalServerException < ::Aws::Errors::ServiceError
def message: () -> ::String
end
class ResourceNotFoundException < ::Aws::Errors::ServiceError
def message: () -> ::String
end
- class TooManyRequestsException < ::Aws::Errors::ServiceError
+ class ThrottlingException < ::Aws::Errors::ServiceError
def message: () -> ::String
+ def retry_after_seconds: () -> ::String
end
- class UnauthorizedException < ::Aws::Errors::ServiceError
+ class ValidationException < ::Aws::Errors::ServiceError
def message: () -> ::String
+ def reason: () -> ::String
end
end
end
diff --git a/gems/aws-sdk-worklink/sig/resource.rbs b/gems/aws-sdk-directoryservicedata/sig/resource.rbs
similarity index 93%
rename from gems/aws-sdk-worklink/sig/resource.rbs
rename to gems/aws-sdk-directoryservicedata/sig/resource.rbs
index 4ab6caf2acf..0054a0f4f97 100644
--- a/gems/aws-sdk-worklink/sig/resource.rbs
+++ b/gems/aws-sdk-directoryservicedata/sig/resource.rbs
@@ -6,10 +6,10 @@
# WARNING ABOUT GENERATED CODE
module Aws
- module WorkLink
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Resource.html
+ module DirectoryServiceData
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Resource.html
class Resource
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Resource.html#initialize-instance_method
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/DirectoryServiceData/Resource.html#initialize-instance_method
def initialize: (
?client: Client,
?credentials: untyped,
diff --git a/gems/aws-sdk-directoryservicedata/sig/types.rbs b/gems/aws-sdk-directoryservicedata/sig/types.rbs
new file mode 100644
index 00000000000..c65c2b39626
--- /dev/null
+++ b/gems/aws-sdk-directoryservicedata/sig/types.rbs
@@ -0,0 +1,384 @@
+# WARNING ABOUT GENERATED CODE
+#
+# This file is generated. See the contributing guide for more information:
+# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
+#
+# WARNING ABOUT GENERATED CODE
+
+module Aws::DirectoryServiceData
+ module Types
+
+ class AccessDeniedException
+ attr_accessor message: ::String
+ attr_accessor reason: ("IAM_AUTH" | "DIRECTORY_AUTH" | "DATA_DISABLED")
+ SENSITIVE: []
+ end
+
+ class AddGroupMemberRequest
+ attr_accessor client_token: ::String
+ attr_accessor directory_id: ::String
+ attr_accessor group_name: ::String
+ attr_accessor member_name: ::String
+ attr_accessor member_realm: ::String
+ SENSITIVE: []
+ end
+
+ class AddGroupMemberResult < Aws::EmptyStructure
+ end
+
+ class AttributeValue
+ attr_accessor bool: bool
+ attr_accessor n: ::Integer
+ attr_accessor s: ::String
+ attr_accessor ss: ::Array[::String]
+ attr_accessor unknown: untyped
+ SENSITIVE: [:bool, :n, :s, :ss]
+
+ class Bool < AttributeValue
+ end
+ class N < AttributeValue
+ end
+ class S < AttributeValue
+ end
+ class Ss < AttributeValue
+ end
+ class Unknown < AttributeValue
+ end
+ end
+
+ class ConflictException
+ attr_accessor message: ::String
+ SENSITIVE: []
+ end
+
+ class CreateGroupRequest
+ attr_accessor client_token: ::String
+ attr_accessor directory_id: ::String
+ attr_accessor group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
+ attr_accessor group_type: ("Distribution" | "Security")
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
+ attr_accessor sam_account_name: ::String
+ SENSITIVE: []
+ end
+
+ class CreateGroupResult
+ attr_accessor directory_id: ::String
+ attr_accessor sam_account_name: ::String
+ attr_accessor sid: ::String
+ SENSITIVE: []
+ end
+
+ class CreateUserRequest
+ attr_accessor client_token: ::String
+ attr_accessor directory_id: ::String
+ attr_accessor email_address: ::String
+ attr_accessor given_name: ::String
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
+ attr_accessor sam_account_name: ::String
+ attr_accessor surname: ::String
+ SENSITIVE: [:email_address, :given_name, :surname]
+ end
+
+ class CreateUserResult
+ attr_accessor directory_id: ::String
+ attr_accessor sam_account_name: ::String
+ attr_accessor sid: ::String
+ SENSITIVE: []
+ end
+
+ class DeleteGroupRequest
+ attr_accessor client_token: ::String
+ attr_accessor directory_id: ::String
+ attr_accessor sam_account_name: ::String
+ SENSITIVE: []
+ end
+
+ class DeleteGroupResult < Aws::EmptyStructure
+ end
+
+ class DeleteUserRequest
+ attr_accessor client_token: ::String
+ attr_accessor directory_id: ::String
+ attr_accessor sam_account_name: ::String
+ SENSITIVE: []
+ end
+
+ class DeleteUserResult < Aws::EmptyStructure
+ end
+
+ class DescribeGroupRequest
+ attr_accessor directory_id: ::String
+ attr_accessor other_attributes: ::Array[::String]
+ attr_accessor realm: ::String
+ attr_accessor sam_account_name: ::String
+ SENSITIVE: []
+ end
+
+ class DescribeGroupResult
+ attr_accessor directory_id: ::String
+ attr_accessor distinguished_name: ::String
+ attr_accessor group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
+ attr_accessor group_type: ("Distribution" | "Security")
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
+ attr_accessor realm: ::String
+ attr_accessor sam_account_name: ::String
+ attr_accessor sid: ::String
+ SENSITIVE: [:distinguished_name]
+ end
+
+ class DescribeUserRequest
+ attr_accessor directory_id: ::String
+ attr_accessor other_attributes: ::Array[::String]
+ attr_accessor realm: ::String
+ attr_accessor sam_account_name: ::String
+ SENSITIVE: []
+ end
+
+ class DescribeUserResult
+ attr_accessor directory_id: ::String
+ attr_accessor distinguished_name: ::String
+ attr_accessor email_address: ::String
+ attr_accessor enabled: bool
+ attr_accessor given_name: ::String
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
+ attr_accessor realm: ::String
+ attr_accessor sam_account_name: ::String
+ attr_accessor sid: ::String
+ attr_accessor surname: ::String
+ attr_accessor user_principal_name: ::String
+ SENSITIVE: [:distinguished_name, :email_address, :given_name, :surname, :user_principal_name]
+ end
+
+ class DirectoryUnavailableException
+ attr_accessor message: ::String
+ attr_accessor reason: ("INVALID_DIRECTORY_STATE" | "DIRECTORY_TIMEOUT" | "DIRECTORY_RESOURCES_EXCEEDED" | "NO_DISK_SPACE" | "TRUST_AUTH_FAILURE")
+ SENSITIVE: []
+ end
+
+ class DisableUserRequest
+ attr_accessor client_token: ::String
+ attr_accessor directory_id: ::String
+ attr_accessor sam_account_name: ::String
+ SENSITIVE: []
+ end
+
+ class DisableUserResult < Aws::EmptyStructure
+ end
+
+ class Group
+ attr_accessor distinguished_name: ::String
+ attr_accessor group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
+ attr_accessor group_type: ("Distribution" | "Security")
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
+ attr_accessor sam_account_name: ::String
+ attr_accessor sid: ::String
+ SENSITIVE: [:distinguished_name]
+ end
+
+ class GroupSummary
+ attr_accessor group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
+ attr_accessor group_type: ("Distribution" | "Security")
+ attr_accessor sam_account_name: ::String
+ attr_accessor sid: ::String
+ SENSITIVE: []
+ end
+
+ class InternalServerException
+ attr_accessor message: ::String
+ SENSITIVE: []
+ end
+
+ class ListGroupMembersRequest
+ attr_accessor directory_id: ::String
+ attr_accessor max_results: ::Integer
+ attr_accessor member_realm: ::String
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ attr_accessor sam_account_name: ::String
+ SENSITIVE: [:next_token]
+ end
+
+ class ListGroupMembersResult
+ attr_accessor directory_id: ::String
+ attr_accessor member_realm: ::String
+ attr_accessor members: ::Array[Types::Member]
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ SENSITIVE: [:next_token]
+ end
+
+ class ListGroupsForMemberRequest
+ attr_accessor directory_id: ::String
+ attr_accessor max_results: ::Integer
+ attr_accessor member_realm: ::String
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ attr_accessor sam_account_name: ::String
+ SENSITIVE: [:next_token]
+ end
+
+ class ListGroupsForMemberResult
+ attr_accessor directory_id: ::String
+ attr_accessor groups: ::Array[Types::GroupSummary]
+ attr_accessor member_realm: ::String
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ SENSITIVE: [:next_token]
+ end
+
+ class ListGroupsRequest
+ attr_accessor directory_id: ::String
+ attr_accessor max_results: ::Integer
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ SENSITIVE: [:next_token]
+ end
+
+ class ListGroupsResult
+ attr_accessor directory_id: ::String
+ attr_accessor groups: ::Array[Types::GroupSummary]
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ SENSITIVE: [:next_token]
+ end
+
+ class ListUsersRequest
+ attr_accessor directory_id: ::String
+ attr_accessor max_results: ::Integer
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ SENSITIVE: [:next_token]
+ end
+
+ class ListUsersResult
+ attr_accessor directory_id: ::String
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ attr_accessor users: ::Array[Types::UserSummary]
+ SENSITIVE: [:next_token]
+ end
+
+ class Member
+ attr_accessor member_type: ("USER" | "GROUP" | "COMPUTER")
+ attr_accessor sam_account_name: ::String
+ attr_accessor sid: ::String
+ SENSITIVE: []
+ end
+
+ class RemoveGroupMemberRequest
+ attr_accessor client_token: ::String
+ attr_accessor directory_id: ::String
+ attr_accessor group_name: ::String
+ attr_accessor member_name: ::String
+ attr_accessor member_realm: ::String
+ SENSITIVE: []
+ end
+
+ class RemoveGroupMemberResult < Aws::EmptyStructure
+ end
+
+ class ResourceNotFoundException
+ attr_accessor message: ::String
+ SENSITIVE: []
+ end
+
+ class SearchGroupsRequest
+ attr_accessor directory_id: ::String
+ attr_accessor max_results: ::Integer
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ attr_accessor search_attributes: ::Array[::String]
+ attr_accessor search_string: ::String
+ SENSITIVE: [:next_token, :search_string]
+ end
+
+ class SearchGroupsResult
+ attr_accessor directory_id: ::String
+ attr_accessor groups: ::Array[Types::Group]
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ SENSITIVE: [:next_token]
+ end
+
+ class SearchUsersRequest
+ attr_accessor directory_id: ::String
+ attr_accessor max_results: ::Integer
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ attr_accessor search_attributes: ::Array[::String]
+ attr_accessor search_string: ::String
+ SENSITIVE: [:next_token, :search_string]
+ end
+
+ class SearchUsersResult
+ attr_accessor directory_id: ::String
+ attr_accessor next_token: ::String
+ attr_accessor realm: ::String
+ attr_accessor users: ::Array[Types::User]
+ SENSITIVE: [:next_token]
+ end
+
+ class ThrottlingException
+ attr_accessor message: ::String
+ attr_accessor retry_after_seconds: ::Integer
+ SENSITIVE: []
+ end
+
+ class UpdateGroupRequest
+ attr_accessor client_token: ::String
+ attr_accessor directory_id: ::String
+ attr_accessor group_scope: ("DomainLocal" | "Global" | "Universal" | "BuiltinLocal")
+ attr_accessor group_type: ("Distribution" | "Security")
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
+ attr_accessor sam_account_name: ::String
+ attr_accessor update_type: ("ADD" | "REPLACE" | "REMOVE")
+ SENSITIVE: []
+ end
+
+ class UpdateGroupResult < Aws::EmptyStructure
+ end
+
+ class UpdateUserRequest
+ attr_accessor client_token: ::String
+ attr_accessor directory_id: ::String
+ attr_accessor email_address: ::String
+ attr_accessor given_name: ::String
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
+ attr_accessor sam_account_name: ::String
+ attr_accessor surname: ::String
+ attr_accessor update_type: ("ADD" | "REPLACE" | "REMOVE")
+ SENSITIVE: [:email_address, :given_name, :surname]
+ end
+
+ class UpdateUserResult < Aws::EmptyStructure
+ end
+
+ class User
+ attr_accessor distinguished_name: ::String
+ attr_accessor email_address: ::String
+ attr_accessor enabled: bool
+ attr_accessor given_name: ::String
+ attr_accessor other_attributes: ::Hash[::String, Types::AttributeValue]
+ attr_accessor sam_account_name: ::String
+ attr_accessor sid: ::String
+ attr_accessor surname: ::String
+ attr_accessor user_principal_name: ::String
+ SENSITIVE: [:distinguished_name, :email_address, :given_name, :surname, :user_principal_name]
+ end
+
+ class UserSummary
+ attr_accessor enabled: bool
+ attr_accessor given_name: ::String
+ attr_accessor sam_account_name: ::String
+ attr_accessor sid: ::String
+ attr_accessor surname: ::String
+ SENSITIVE: [:given_name, :surname]
+ end
+
+ class ValidationException
+ attr_accessor message: ::String
+ attr_accessor reason: ("INVALID_REALM" | "INVALID_DIRECTORY_TYPE" | "INVALID_SECONDARY_REGION" | "INVALID_NEXT_TOKEN" | "INVALID_ATTRIBUTE_VALUE" | "INVALID_ATTRIBUTE_NAME" | "INVALID_ATTRIBUTE_FOR_USER" | "INVALID_ATTRIBUTE_FOR_GROUP" | "INVALID_ATTRIBUTE_FOR_SEARCH" | "INVALID_ATTRIBUTE_FOR_MODIFY" | "DUPLICATE_ATTRIBUTE" | "MISSING_ATTRIBUTE" | "ATTRIBUTE_EXISTS" | "LDAP_SIZE_LIMIT_EXCEEDED" | "LDAP_UNSUPPORTED_OPERATION")
+ SENSITIVE: []
+ end
+ end
+end
diff --git a/gems/aws-sdk-worklink/sig/waiters.rbs b/gems/aws-sdk-directoryservicedata/sig/waiters.rbs
similarity index 89%
rename from gems/aws-sdk-worklink/sig/waiters.rbs
rename to gems/aws-sdk-directoryservicedata/sig/waiters.rbs
index 0b30c9e1041..e9722dcc84d 100644
--- a/gems/aws-sdk-worklink/sig/waiters.rbs
+++ b/gems/aws-sdk-directoryservicedata/sig/waiters.rbs
@@ -6,7 +6,7 @@
# WARNING ABOUT GENERATED CODE
module Aws
- module WorkLink
+ module DirectoryServiceData
module Waiters
end
end
diff --git a/gems/aws-sdk-worklink/spec/endpoint_provider_spec.rb b/gems/aws-sdk-directoryservicedata/spec/endpoint_provider_spec.rb
similarity index 79%
rename from gems/aws-sdk-worklink/spec/endpoint_provider_spec.rb
rename to gems/aws-sdk-directoryservicedata/spec/endpoint_provider_spec.rb
index ae574b28b2e..ae4d6a60d87 100644
--- a/gems/aws-sdk-worklink/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-directoryservicedata/spec/endpoint_provider_spec.rb
@@ -10,13 +10,13 @@
require_relative 'spec_helper'
-module Aws::WorkLink
+module Aws::DirectoryServiceData
describe EndpointProvider do
- subject { Aws::WorkLink::EndpointProvider.new }
+ subject { Aws::DirectoryServiceData::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink-fips.us-east-1.api.aws"}}
+ {"endpoint"=>{"url"=>"https://ds-data-fips.us-east-1.api.aws"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -28,9 +28,9 @@ module Aws::WorkLink
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink-fips.us-east-1.amazonaws.com"}}
+ {"endpoint"=>{"url"=>"https://ds-data-fips.us-east-1.amazonaws.com"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -42,9 +42,9 @@ module Aws::WorkLink
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink.us-east-1.api.aws"}}
+ {"endpoint"=>{"url"=>"https://ds-data.us-east-1.api.aws"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -56,9 +56,9 @@ module Aws::WorkLink
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink.us-east-1.amazonaws.com"}}
+ {"endpoint"=>{"url"=>"https://ds-data.us-east-1.amazonaws.com"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -70,9 +70,9 @@ module Aws::WorkLink
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink-fips.cn-north-1.api.amazonwebservices.com.cn"}}
+ {"endpoint"=>{"url"=>"https://ds-data-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -84,9 +84,9 @@ module Aws::WorkLink
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink-fips.cn-north-1.amazonaws.com.cn"}}
+ {"endpoint"=>{"url"=>"https://ds-data-fips.cn-north-1.amazonaws.com.cn"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -98,9 +98,9 @@ module Aws::WorkLink
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink.cn-north-1.api.amazonwebservices.com.cn"}}
+ {"endpoint"=>{"url"=>"https://ds-data.cn-north-1.api.amazonwebservices.com.cn"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -112,9 +112,9 @@ module Aws::WorkLink
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink.cn-north-1.amazonaws.com.cn"}}
+ {"endpoint"=>{"url"=>"https://ds-data.cn-north-1.amazonaws.com.cn"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -126,9 +126,9 @@ module Aws::WorkLink
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink-fips.us-gov-east-1.api.aws"}}
+ {"endpoint"=>{"url"=>"https://ds-data-fips.us-gov-east-1.api.aws"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -140,9 +140,9 @@ module Aws::WorkLink
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink-fips.us-gov-east-1.amazonaws.com"}}
+ {"endpoint"=>{"url"=>"https://ds-data-fips.us-gov-east-1.amazonaws.com"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -154,9 +154,9 @@ module Aws::WorkLink
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink.us-gov-east-1.api.aws"}}
+ {"endpoint"=>{"url"=>"https://ds-data.us-gov-east-1.api.aws"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -168,9 +168,9 @@ module Aws::WorkLink
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink.us-gov-east-1.amazonaws.com"}}
+ {"endpoint"=>{"url"=>"https://ds-data.us-gov-east-1.amazonaws.com"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -182,7 +182,7 @@ module Aws::WorkLink
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,9 +195,9 @@ module Aws::WorkLink
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink-fips.us-iso-east-1.c2s.ic.gov"}}
+ {"endpoint"=>{"url"=>"https://ds-data-fips.us-iso-east-1.c2s.ic.gov"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -209,7 +209,7 @@ module Aws::WorkLink
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,9 +222,9 @@ module Aws::WorkLink
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink.us-iso-east-1.c2s.ic.gov"}}
+ {"endpoint"=>{"url"=>"https://ds-data.us-iso-east-1.c2s.ic.gov"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -236,7 +236,7 @@ module Aws::WorkLink
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,9 +249,9 @@ module Aws::WorkLink
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink-fips.us-isob-east-1.sc2s.sgov.gov"}}
+ {"endpoint"=>{"url"=>"https://ds-data-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -263,7 +263,7 @@ module Aws::WorkLink
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,9 +276,9 @@ module Aws::WorkLink
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
- {"endpoint"=>{"url"=>"https://worklink.us-isob-east-1.sc2s.sgov.gov"}}
+ {"endpoint"=>{"url"=>"https://ds-data.us-isob-east-1.sc2s.sgov.gov"}}
end
it 'produces the expected output from the EndpointProvider' do
@@ -290,7 +290,7 @@ module Aws::WorkLink
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::WorkLink
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::WorkLink
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::WorkLink
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::WorkLink
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-worklink/spec/spec_helper.rb b/gems/aws-sdk-directoryservicedata/spec/spec_helper.rb
similarity index 93%
rename from gems/aws-sdk-worklink/spec/spec_helper.rb
rename to gems/aws-sdk-directoryservicedata/spec/spec_helper.rb
index f1caabf460f..710eb7c2584 100644
--- a/gems/aws-sdk-worklink/spec/spec_helper.rb
+++ b/gems/aws-sdk-directoryservicedata/spec/spec_helper.rb
@@ -15,4 +15,4 @@
require 'rspec'
require 'webmock/rspec'
-require 'aws-sdk-worklink'
+require 'aws-sdk-directoryservicedata'
diff --git a/gems/aws-sdk-dlm/CHANGELOG.md b/gems/aws-sdk-dlm/CHANGELOG.md
index 8e8d8503881..9b3ce550143 100644
--- a/gems/aws-sdk-dlm/CHANGELOG.md
+++ b/gems/aws-sdk-dlm/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.78.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.77.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-dlm/VERSION b/gems/aws-sdk-dlm/VERSION
index 79e15fd4937..54227249d1f 100644
--- a/gems/aws-sdk-dlm/VERSION
+++ b/gems/aws-sdk-dlm/VERSION
@@ -1 +1 @@
-1.77.0
+1.78.0
diff --git a/gems/aws-sdk-dlm/aws-sdk-dlm.gemspec b/gems/aws-sdk-dlm/aws-sdk-dlm.gemspec
index a2e9b17fa7b..deef4921848 100644
--- a/gems/aws-sdk-dlm/aws-sdk-dlm.gemspec
+++ b/gems/aws-sdk-dlm/aws-sdk-dlm.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-dlm/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-dlm/lib/aws-sdk-dlm.rb b/gems/aws-sdk-dlm/lib/aws-sdk-dlm.rb
index 44b03cbbc62..cb47d1637a0 100644
--- a/gems/aws-sdk-dlm/lib/aws-sdk-dlm.rb
+++ b/gems/aws-sdk-dlm/lib/aws-sdk-dlm.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::DLM
- GEM_VERSION = '1.77.0'
+ GEM_VERSION = '1.78.0'
end
diff --git a/gems/aws-sdk-dlm/lib/aws-sdk-dlm/client.rb b/gems/aws-sdk-dlm/lib/aws-sdk-dlm/client.rb
index 09f0121455a..024202095a3 100644
--- a/gems/aws-sdk-dlm/lib/aws-sdk-dlm/client.rb
+++ b/gems/aws-sdk-dlm/lib/aws-sdk-dlm/client.rb
@@ -1365,7 +1365,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-dlm'
- context[:gem_version] = '1.77.0'
+ context[:gem_version] = '1.78.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-dlm/lib/aws-sdk-dlm/endpoints.rb b/gems/aws-sdk-dlm/lib/aws-sdk-dlm/endpoints.rb
index 50c06dd4093..0f311a3a495 100644
--- a/gems/aws-sdk-dlm/lib/aws-sdk-dlm/endpoints.rb
+++ b/gems/aws-sdk-dlm/lib/aws-sdk-dlm/endpoints.rb
@@ -14,112 +14,88 @@ module Endpoints
class CreateLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DLM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DLM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLifecyclePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DLM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DLM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DLM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DLM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DLM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DLM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-dlm/lib/aws-sdk-dlm/plugins/endpoints.rb b/gems/aws-sdk-dlm/lib/aws-sdk-dlm/plugins/endpoints.rb
index ae0b1e7b5ea..d29fbfe24b6 100644
--- a/gems/aws-sdk-dlm/lib/aws-sdk-dlm/plugins/endpoints.rb
+++ b/gems/aws-sdk-dlm/lib/aws-sdk-dlm/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-dlm/spec/endpoint_provider_spec.rb b/gems/aws-sdk-dlm/spec/endpoint_provider_spec.rb
index 0943dd93e5d..4548c0bc30f 100644
--- a/gems/aws-sdk-dlm/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-dlm/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DLM
describe EndpointProvider do
subject { Aws::DLM::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DLM
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DLM
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DLM
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DLM
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DLM
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::DLM
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DLM
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DLM
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::DLM
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DLM
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DLM
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::DLM
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::DLM
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::DLM
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::DLM
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::DLM
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::DLM
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::DLM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::DLM
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::DLM
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::DLM
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::DLM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::DLM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm-fips.us-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::DLM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::DLM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::DLM
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::DLM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::DLM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::DLM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::DLM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::DLM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::DLM
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::DLM
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::DLM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm-fips.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::DLM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::DLM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -531,7 +531,7 @@ module Aws::DLM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -545,7 +545,7 @@ module Aws::DLM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -558,7 +558,7 @@ module Aws::DLM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-iso-east-1.c2s.ic.gov"}}
end
@@ -572,7 +572,7 @@ module Aws::DLM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -585,7 +585,7 @@ module Aws::DLM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -599,7 +599,7 @@ module Aws::DLM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -612,7 +612,7 @@ module Aws::DLM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dlm.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -626,7 +626,7 @@ module Aws::DLM
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::DLM
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::DLM
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -667,7 +667,7 @@ module Aws::DLM
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -680,7 +680,7 @@ module Aws::DLM
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-docdb/CHANGELOG.md b/gems/aws-sdk-docdb/CHANGELOG.md
index 9a1a39190e8..b4f821b7286 100644
--- a/gems/aws-sdk-docdb/CHANGELOG.md
+++ b/gems/aws-sdk-docdb/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.74.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.73.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-docdb/VERSION b/gems/aws-sdk-docdb/VERSION
index 5e3a4256626..dc87e8af82f 100644
--- a/gems/aws-sdk-docdb/VERSION
+++ b/gems/aws-sdk-docdb/VERSION
@@ -1 +1 @@
-1.73.0
+1.74.0
diff --git a/gems/aws-sdk-docdb/aws-sdk-docdb.gemspec b/gems/aws-sdk-docdb/aws-sdk-docdb.gemspec
index f91beeede42..b59ec6efa3d 100644
--- a/gems/aws-sdk-docdb/aws-sdk-docdb.gemspec
+++ b/gems/aws-sdk-docdb/aws-sdk-docdb.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-docdb/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-docdb/lib/aws-sdk-docdb.rb b/gems/aws-sdk-docdb/lib/aws-sdk-docdb.rb
index 137e24bb066..5f410499135 100644
--- a/gems/aws-sdk-docdb/lib/aws-sdk-docdb.rb
+++ b/gems/aws-sdk-docdb/lib/aws-sdk-docdb.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::DocDB
- GEM_VERSION = '1.73.0'
+ GEM_VERSION = '1.74.0'
end
diff --git a/gems/aws-sdk-docdb/lib/aws-sdk-docdb/client.rb b/gems/aws-sdk-docdb/lib/aws-sdk-docdb/client.rb
index bd7a06b4419..5b64e425399 100644
--- a/gems/aws-sdk-docdb/lib/aws-sdk-docdb/client.rb
+++ b/gems/aws-sdk-docdb/lib/aws-sdk-docdb/client.rb
@@ -5601,7 +5601,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-docdb'
- context[:gem_version] = '1.73.0'
+ context[:gem_version] = '1.74.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-docdb/lib/aws-sdk-docdb/endpoints.rb b/gems/aws-sdk-docdb/lib/aws-sdk-docdb/endpoints.rb
index 9025fbeae09..34c5f6d8065 100644
--- a/gems/aws-sdk-docdb/lib/aws-sdk-docdb/endpoints.rb
+++ b/gems/aws-sdk-docdb/lib/aws-sdk-docdb/endpoints.rb
@@ -14,770 +14,605 @@ module Endpoints
class AddSourceIdentifierToSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTagsToResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ApplyPendingMaintenanceAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyDBClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterParameterGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterSnapshotAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBEngineVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBSubnetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEngineDefaultClusterParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventCategories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGlobalClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrderableDBInstanceOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePendingMaintenanceActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FailoverDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FailoverGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBClusterSnapshotAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveFromGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveSourceIdentifierFromSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreDBClusterFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreDBClusterToPointInTime
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SwitchoverGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-docdb/lib/aws-sdk-docdb/plugins/endpoints.rb b/gems/aws-sdk-docdb/lib/aws-sdk-docdb/plugins/endpoints.rb
index 4f53296f941..16dd8473fe8 100644
--- a/gems/aws-sdk-docdb/lib/aws-sdk-docdb/plugins/endpoints.rb
+++ b/gems/aws-sdk-docdb/lib/aws-sdk-docdb/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-docdb/spec/endpoint_provider_spec.rb b/gems/aws-sdk-docdb/spec/endpoint_provider_spec.rb
index eeab837a5be..40b6d06d889 100644
--- a/gems/aws-sdk-docdb/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-docdb/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DocDB
describe EndpointProvider do
subject { Aws::DocDB::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DocDB
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DocDB
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DocDB
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DocDB
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DocDB
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::DocDB
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DocDB
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DocDB
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::DocDB
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DocDB
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DocDB
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::DocDB
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::DocDB
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::DocDB
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::DocDB
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::DocDB
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::DocDB
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::DocDB
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::DocDB
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::DocDB
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::DocDB
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::DocDB
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::DocDB
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::DocDB
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::DocDB
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::DocDB
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::DocDB
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::DocDB
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::DocDB
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::DocDB
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::DocDB
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::DocDB
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::DocDB
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::DocDB
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::DocDB
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::DocDB
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::DocDB
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::DocDB
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::DocDB
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::DocDB
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-iso-east-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::DocDB
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-iso-west-1.c2s.ic.gov"}}
end
@@ -602,7 +602,7 @@ module Aws::DocDB
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -615,7 +615,7 @@ module Aws::DocDB
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -629,7 +629,7 @@ module Aws::DocDB
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -642,7 +642,7 @@ module Aws::DocDB
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -656,7 +656,7 @@ module Aws::DocDB
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -669,7 +669,7 @@ module Aws::DocDB
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -683,7 +683,7 @@ module Aws::DocDB
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -696,7 +696,7 @@ module Aws::DocDB
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::DocDB
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -724,7 +724,7 @@ module Aws::DocDB
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -737,7 +737,7 @@ module Aws::DocDB
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -750,7 +750,7 @@ module Aws::DocDB
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-docdbelastic/CHANGELOG.md b/gems/aws-sdk-docdbelastic/CHANGELOG.md
index 5b1d82d39f8..2cf8ff69536 100644
--- a/gems/aws-sdk-docdbelastic/CHANGELOG.md
+++ b/gems/aws-sdk-docdbelastic/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.21.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.20.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-docdbelastic/VERSION b/gems/aws-sdk-docdbelastic/VERSION
index 39893559155..3500250a4b0 100644
--- a/gems/aws-sdk-docdbelastic/VERSION
+++ b/gems/aws-sdk-docdbelastic/VERSION
@@ -1 +1 @@
-1.20.0
+1.21.0
diff --git a/gems/aws-sdk-docdbelastic/aws-sdk-docdbelastic.gemspec b/gems/aws-sdk-docdbelastic/aws-sdk-docdbelastic.gemspec
index be03229dc58..fa24723359d 100644
--- a/gems/aws-sdk-docdbelastic/aws-sdk-docdbelastic.gemspec
+++ b/gems/aws-sdk-docdbelastic/aws-sdk-docdbelastic.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-docdbelastic/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic.rb b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic.rb
index e237c34ae58..6c0baa66895 100644
--- a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic.rb
+++ b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::DocDBElastic
- GEM_VERSION = '1.20.0'
+ GEM_VERSION = '1.21.0'
end
diff --git a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client.rb b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client.rb
index e5622f97103..52149434367 100644
--- a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client.rb
+++ b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/client.rb
@@ -1458,7 +1458,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-docdbelastic'
- context[:gem_version] = '1.20.0'
+ context[:gem_version] = '1.21.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/endpoints.rb b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/endpoints.rb
index 05f3c8b35fa..0457fe2bc45 100644
--- a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/endpoints.rb
+++ b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/endpoints.rb
@@ -14,224 +14,176 @@ module Endpoints
class CopyClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusterSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreClusterFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DocDBElastic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/plugins/endpoints.rb b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/plugins/endpoints.rb
index d6d2e102f75..9f691294063 100644
--- a/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/plugins/endpoints.rb
+++ b/gems/aws-sdk-docdbelastic/lib/aws-sdk-docdbelastic/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-docdbelastic/spec/endpoint_provider_spec.rb b/gems/aws-sdk-docdbelastic/spec/endpoint_provider_spec.rb
index 7a4fe4cb6f7..b1d36a60b5c 100644
--- a/gems/aws-sdk-docdbelastic/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-docdbelastic/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DocDBElastic
describe EndpointProvider do
subject { Aws::DocDBElastic::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DocDBElastic
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::DocDBElastic
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::DocDBElastic
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::DocDBElastic
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::DocDBElastic
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://docdb-elastic.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::DocDBElastic
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::DocDBElastic
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::DocDBElastic
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::DocDBElastic
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::DocDBElastic
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-drs/CHANGELOG.md b/gems/aws-sdk-drs/CHANGELOG.md
index 2503a71d74a..514149d93e0 100644
--- a/gems/aws-sdk-drs/CHANGELOG.md
+++ b/gems/aws-sdk-drs/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-drs/VERSION b/gems/aws-sdk-drs/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-drs/VERSION
+++ b/gems/aws-sdk-drs/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-drs/aws-sdk-drs.gemspec b/gems/aws-sdk-drs/aws-sdk-drs.gemspec
index f2745e9621a..3ae93fe54c7 100644
--- a/gems/aws-sdk-drs/aws-sdk-drs.gemspec
+++ b/gems/aws-sdk-drs/aws-sdk-drs.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-drs/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-drs/lib/aws-sdk-drs.rb b/gems/aws-sdk-drs/lib/aws-sdk-drs.rb
index ce77ab8ad86..160c10b92b7 100644
--- a/gems/aws-sdk-drs/lib/aws-sdk-drs.rb
+++ b/gems/aws-sdk-drs/lib/aws-sdk-drs.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Drs
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb b/gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb
index ed7145c273f..4f3f5b47d90 100644
--- a/gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb
+++ b/gems/aws-sdk-drs/lib/aws-sdk-drs/client.rb
@@ -3565,7 +3565,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-drs'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-drs/lib/aws-sdk-drs/endpoints.rb b/gems/aws-sdk-drs/lib/aws-sdk-drs/endpoints.rb
index e157ca6d6ff..ff43f053ca8 100644
--- a/gems/aws-sdk-drs/lib/aws-sdk-drs/endpoints.rb
+++ b/gems/aws-sdk-drs/lib/aws-sdk-drs/endpoints.rb
@@ -14,700 +14,550 @@ module Endpoints
class AssociateSourceNetworkStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExtendedSourceServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLaunchConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplicationConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSourceNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLaunchAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLaunchConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRecoveryInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicationConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSourceNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSourceServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobLogItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLaunchConfigurationTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRecoveryInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRecoverySnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationConfigurationTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSourceNetworks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSourceServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisconnectRecoveryInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisconnectSourceServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportSourceNetworkCfnTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFailbackReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLaunchConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InitializeService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExtensibleSourceServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLaunchActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStagingAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLaunchAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetryDataReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReverseReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFailbackLaunch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartRecovery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSourceNetworkRecovery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSourceNetworkReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopFailback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopSourceNetworkReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateRecoveryInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFailbackReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLaunchConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLaunchConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReplicationConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Drs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-drs/lib/aws-sdk-drs/plugins/endpoints.rb b/gems/aws-sdk-drs/lib/aws-sdk-drs/plugins/endpoints.rb
index d1cb8a2bc09..6495c17ae6a 100644
--- a/gems/aws-sdk-drs/lib/aws-sdk-drs/plugins/endpoints.rb
+++ b/gems/aws-sdk-drs/lib/aws-sdk-drs/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-drs/spec/endpoint_provider_spec.rb b/gems/aws-sdk-drs/spec/endpoint_provider_spec.rb
index c6e0e62cc9d..05ddcd4d4a7 100644
--- a/gems/aws-sdk-drs/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-drs/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Drs
describe EndpointProvider do
subject { Aws::Drs::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Drs
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Drs
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Drs
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Drs
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Drs
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Drs
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Drs
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Drs
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Drs
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Drs
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Drs
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Drs
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Drs
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Drs
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Drs
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Drs
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Drs
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Drs
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Drs
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Drs
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Drs
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::Drs
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Drs
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::Drs
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::Drs
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::Drs
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::Drs
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::Drs
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs-fips.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::Drs
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::Drs
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::Drs
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::Drs
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -475,7 +475,7 @@ module Aws::Drs
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -489,7 +489,7 @@ module Aws::Drs
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -502,7 +502,7 @@ module Aws::Drs
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.us-iso-east-1.c2s.ic.gov"}}
end
@@ -516,7 +516,7 @@ module Aws::Drs
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -529,7 +529,7 @@ module Aws::Drs
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -543,7 +543,7 @@ module Aws::Drs
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -556,7 +556,7 @@ module Aws::Drs
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://drs.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -570,7 +570,7 @@ module Aws::Drs
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::Drs
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::Drs
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -611,7 +611,7 @@ module Aws::Drs
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -624,7 +624,7 @@ module Aws::Drs
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-dynamodb/CHANGELOG.md b/gems/aws-sdk-dynamodb/CHANGELOG.md
index 43c69549ac4..bc82eec0c3b 100644
--- a/gems/aws-sdk-dynamodb/CHANGELOG.md
+++ b/gems/aws-sdk-dynamodb/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.122.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.121.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-dynamodb/VERSION b/gems/aws-sdk-dynamodb/VERSION
index 83bd3452721..2265fa2d9b7 100644
--- a/gems/aws-sdk-dynamodb/VERSION
+++ b/gems/aws-sdk-dynamodb/VERSION
@@ -1 +1 @@
-1.121.0
+1.122.0
diff --git a/gems/aws-sdk-dynamodb/aws-sdk-dynamodb.gemspec b/gems/aws-sdk-dynamodb/aws-sdk-dynamodb.gemspec
index c3ef3435f9e..5d4ca8f67da 100644
--- a/gems/aws-sdk-dynamodb/aws-sdk-dynamodb.gemspec
+++ b/gems/aws-sdk-dynamodb/aws-sdk-dynamodb.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-dynamodb/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb
index e0e73264e5b..6eb5a4ddf99 100644
--- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb
+++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb.rb
@@ -54,6 +54,6 @@
# @!group service
module Aws::DynamoDB
- GEM_VERSION = '1.121.0'
+ GEM_VERSION = '1.122.0'
end
diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb
index a410b100b4b..7c5fa2ec952 100644
--- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb
+++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/client.rb
@@ -8423,7 +8423,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-dynamodb'
- context[:gem_version] = '1.121.0'
+ context[:gem_version] = '1.122.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/endpoints.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/endpoints.rb
index 3398404eaff..58a9fbeafe1 100644
--- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/endpoints.rb
+++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/endpoints.rb
@@ -14,798 +14,627 @@ module Endpoints
class BatchExecuteStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchWriteItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGlobalTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContinuousBackups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContributorInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGlobalTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGlobalTableSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeKinesisStreamingDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTableReplicaAutoScaling
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTimeToLive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableKinesisStreamingDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableKinesisStreamingDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteTransaction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportTableToPointInTime
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBackups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContributorInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGlobalTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsOfResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Query
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreTableFromBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreTableToPointInTime
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Scan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TransactGetItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TransactWriteItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContinuousBackups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContributorInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGlobalTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGlobalTableSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKinesisStreamingDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTableReplicaAutoScaling
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTimeToLive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/plugins/endpoints.rb b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/plugins/endpoints.rb
index 1ebea19e197..32628d14dba 100644
--- a/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/plugins/endpoints.rb
+++ b/gems/aws-sdk-dynamodb/lib/aws-sdk-dynamodb/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-dynamodb/spec/endpoint_provider_spec.rb b/gems/aws-sdk-dynamodb/spec/endpoint_provider_spec.rb
index 8fca5f983bb..ab1aae48a15 100644
--- a/gems/aws-sdk-dynamodb/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-dynamodb/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DynamoDB
describe EndpointProvider do
subject { Aws::DynamoDB::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DynamoDB
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DynamoDB
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DynamoDB
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DynamoDB
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DynamoDB
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::DynamoDB
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DynamoDB
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DynamoDB
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::DynamoDB
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DynamoDB
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DynamoDB
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::DynamoDB
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::DynamoDB
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::DynamoDB
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::DynamoDB
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::DynamoDB
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::DynamoDB
end
end
- context 'For region local with FIPS disabled and DualStack disabled' do
+ context "For region local with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"dynamodb", "signingRegion"=>"us-east-1"}]}, "url"=>"http://localhost:8000"}}
end
@@ -266,7 +266,7 @@ module Aws::DynamoDB
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.me-south-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::DynamoDB
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.sa-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb-fips.us-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb-fips.us-east-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb-fips.us-west-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb-fips.us-west-2.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb-fips.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-east-1.api.aws"}}
end
@@ -434,7 +434,7 @@ module Aws::DynamoDB
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.cn-north-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::DynamoDB
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::DynamoDB
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::DynamoDB
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::DynamoDB
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -504,7 +504,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-gov-east-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-gov-west-1.amazonaws.com"}}
end
@@ -560,7 +560,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb-fips.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-gov-east-1.api.aws"}}
end
@@ -588,7 +588,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-iso-east-1.c2s.ic.gov"}}
end
@@ -602,7 +602,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-iso-west-1.c2s.ic.gov"}}
end
@@ -616,7 +616,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -629,7 +629,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -643,7 +643,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -656,7 +656,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -670,7 +670,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -683,7 +683,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dynamodb-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -697,7 +697,7 @@ module Aws::DynamoDB
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -710,7 +710,7 @@ module Aws::DynamoDB
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -724,7 +724,7 @@ module Aws::DynamoDB
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -738,7 +738,7 @@ module Aws::DynamoDB
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -751,7 +751,7 @@ module Aws::DynamoDB
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -764,7 +764,7 @@ module Aws::DynamoDB
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-dynamodbstreams/CHANGELOG.md b/gems/aws-sdk-dynamodbstreams/CHANGELOG.md
index 9e3c7912bbd..c3d96417db2 100644
--- a/gems/aws-sdk-dynamodbstreams/CHANGELOG.md
+++ b/gems/aws-sdk-dynamodbstreams/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.65.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.64.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-dynamodbstreams/VERSION b/gems/aws-sdk-dynamodbstreams/VERSION
index 9405730420f..902c74186fb 100644
--- a/gems/aws-sdk-dynamodbstreams/VERSION
+++ b/gems/aws-sdk-dynamodbstreams/VERSION
@@ -1 +1 @@
-1.64.0
+1.65.0
diff --git a/gems/aws-sdk-dynamodbstreams/aws-sdk-dynamodbstreams.gemspec b/gems/aws-sdk-dynamodbstreams/aws-sdk-dynamodbstreams.gemspec
index 356a8037e5b..53b82f27bdd 100644
--- a/gems/aws-sdk-dynamodbstreams/aws-sdk-dynamodbstreams.gemspec
+++ b/gems/aws-sdk-dynamodbstreams/aws-sdk-dynamodbstreams.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-dynamodbstreams/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams.rb b/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams.rb
index 44aee130481..ce7613a91fe 100644
--- a/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams.rb
+++ b/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::DynamoDBStreams
- GEM_VERSION = '1.64.0'
+ GEM_VERSION = '1.65.0'
end
diff --git a/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/client.rb b/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/client.rb
index 1e47cb8e798..a910772070b 100644
--- a/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/client.rb
+++ b/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/client.rb
@@ -911,7 +911,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-dynamodbstreams'
- context[:gem_version] = '1.64.0'
+ context[:gem_version] = '1.65.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/endpoints.rb b/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/endpoints.rb
index e7a67e9f313..14eb651080f 100644
--- a/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/endpoints.rb
+++ b/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/endpoints.rb
@@ -14,56 +14,44 @@ module Endpoints
class DescribeStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDBStreams::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDBStreams::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetShardIterator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDBStreams::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::DynamoDBStreams::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/plugins/endpoints.rb b/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/plugins/endpoints.rb
index 1b53850bce5..736d9184d0d 100644
--- a/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/plugins/endpoints.rb
+++ b/gems/aws-sdk-dynamodbstreams/lib/aws-sdk-dynamodbstreams/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-dynamodbstreams/spec/endpoint_provider_spec.rb b/gems/aws-sdk-dynamodbstreams/spec/endpoint_provider_spec.rb
index 59e64447497..1161ae7d642 100644
--- a/gems/aws-sdk-dynamodbstreams/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-dynamodbstreams/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::DynamoDBStreams
describe EndpointProvider do
subject { Aws::DynamoDBStreams::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region local with FIPS disabled and DualStack disabled' do
+ context "For region local with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"dynamodb", "signingRegion"=>"us-east-1"}]}, "url"=>"http://localhost:8000"}}
end
@@ -252,7 +252,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-west-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb-fips.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb-fips.us-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.cn-north-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb-fips.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-iso-east-1.c2s.ic.gov"}}
end
@@ -546,7 +546,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -559,7 +559,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -573,7 +573,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -586,7 +586,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -600,7 +600,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://streams.dynamodb-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -681,7 +681,7 @@ module Aws::DynamoDBStreams
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -694,7 +694,7 @@ module Aws::DynamoDBStreams
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ebs/CHANGELOG.md b/gems/aws-sdk-ebs/CHANGELOG.md
index 0d9699ae56e..a0f82cc9aff 100644
--- a/gems/aws-sdk-ebs/CHANGELOG.md
+++ b/gems/aws-sdk-ebs/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.49.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.48.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ebs/VERSION b/gems/aws-sdk-ebs/VERSION
index 9db5ea12f52..7f3a46a841e 100644
--- a/gems/aws-sdk-ebs/VERSION
+++ b/gems/aws-sdk-ebs/VERSION
@@ -1 +1 @@
-1.48.0
+1.49.0
diff --git a/gems/aws-sdk-ebs/aws-sdk-ebs.gemspec b/gems/aws-sdk-ebs/aws-sdk-ebs.gemspec
index 5d3e53e1984..463439f92a8 100644
--- a/gems/aws-sdk-ebs/aws-sdk-ebs.gemspec
+++ b/gems/aws-sdk-ebs/aws-sdk-ebs.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ebs/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ebs/lib/aws-sdk-ebs.rb b/gems/aws-sdk-ebs/lib/aws-sdk-ebs.rb
index 32aaf9ac0e0..2d95bd02f6f 100644
--- a/gems/aws-sdk-ebs/lib/aws-sdk-ebs.rb
+++ b/gems/aws-sdk-ebs/lib/aws-sdk-ebs.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::EBS
- GEM_VERSION = '1.48.0'
+ GEM_VERSION = '1.49.0'
end
diff --git a/gems/aws-sdk-ebs/lib/aws-sdk-ebs/client.rb b/gems/aws-sdk-ebs/lib/aws-sdk-ebs/client.rb
index ba8145c0d60..f9ac1e1f327 100644
--- a/gems/aws-sdk-ebs/lib/aws-sdk-ebs/client.rb
+++ b/gems/aws-sdk-ebs/lib/aws-sdk-ebs/client.rb
@@ -1054,7 +1054,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ebs'
- context[:gem_version] = '1.48.0'
+ context[:gem_version] = '1.49.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ebs/lib/aws-sdk-ebs/endpoints.rb b/gems/aws-sdk-ebs/lib/aws-sdk-ebs/endpoints.rb
index 4b9a41a101e..d56b2b3e071 100644
--- a/gems/aws-sdk-ebs/lib/aws-sdk-ebs/endpoints.rb
+++ b/gems/aws-sdk-ebs/lib/aws-sdk-ebs/endpoints.rb
@@ -14,84 +14,66 @@ module Endpoints
class CompleteSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EBS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSnapshotBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EBS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChangedBlocks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EBS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSnapshotBlocks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EBS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSnapshotBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EBS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EBS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ebs/lib/aws-sdk-ebs/plugins/endpoints.rb b/gems/aws-sdk-ebs/lib/aws-sdk-ebs/plugins/endpoints.rb
index 6b4a5070c3e..6545e74b696 100644
--- a/gems/aws-sdk-ebs/lib/aws-sdk-ebs/plugins/endpoints.rb
+++ b/gems/aws-sdk-ebs/lib/aws-sdk-ebs/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ebs/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ebs/spec/endpoint_provider_spec.rb
index d44cfec997a..656aa390c83 100644
--- a/gems/aws-sdk-ebs/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ebs/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::EBS
describe EndpointProvider do
subject { Aws::EBS::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::EBS
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::EBS
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::EBS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::EBS
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::EBS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::EBS
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::EBS
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::EBS
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::EBS
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::EBS
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::EBS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::EBS
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::EBS
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::EBS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::EBS
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::EBS
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::EBS
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::EBS
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::EBS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::EBS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::EBS
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::EBS
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::EBS
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::EBS
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::EBS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::EBS
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::EBS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::EBS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::EBS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::EBS
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::EBS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::EBS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::EBS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::EBS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::EBS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::EBS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::EBS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::EBS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::EBS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::EBS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -587,7 +587,7 @@ module Aws::EBS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -601,7 +601,7 @@ module Aws::EBS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -614,7 +614,7 @@ module Aws::EBS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -628,7 +628,7 @@ module Aws::EBS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -641,7 +641,7 @@ module Aws::EBS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ebs-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -655,7 +655,7 @@ module Aws::EBS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -668,7 +668,7 @@ module Aws::EBS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::EBS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::EBS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::EBS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::EBS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ec2/CHANGELOG.md b/gems/aws-sdk-ec2/CHANGELOG.md
index 4d5737596d4..a29f445ea00 100644
--- a/gems/aws-sdk-ec2/CHANGELOG.md
+++ b/gems/aws-sdk-ec2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.474.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.473.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ec2/VERSION b/gems/aws-sdk-ec2/VERSION
index 32f610c8f47..8afde245064 100644
--- a/gems/aws-sdk-ec2/VERSION
+++ b/gems/aws-sdk-ec2/VERSION
@@ -1 +1 @@
-1.473.0
+1.474.0
diff --git a/gems/aws-sdk-ec2/aws-sdk-ec2.gemspec b/gems/aws-sdk-ec2/aws-sdk-ec2.gemspec
index 52f3805ad96..b642b374973 100644
--- a/gems/aws-sdk-ec2/aws-sdk-ec2.gemspec
+++ b/gems/aws-sdk-ec2/aws-sdk-ec2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ec2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb
index 4713194baf7..51dca391cad 100644
--- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb
+++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb
@@ -76,6 +76,6 @@
# @!group service
module Aws::EC2
- GEM_VERSION = '1.473.0'
+ GEM_VERSION = '1.474.0'
end
diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb
index c689b4b8fb3..fdb4447aec4 100644
--- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb
+++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb
@@ -60132,7 +60132,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ec2'
- context[:gem_version] = '1.473.0'
+ context[:gem_version] = '1.474.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/endpoints.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/endpoints.rb
index ba80efb3eed..69faf960ed5 100644
--- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/endpoints.rb
+++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/endpoints.rb
@@ -14,8778 +14,6897 @@ module Endpoints
class AcceptAddressTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AcceptReservedInstancesExchangeQuote
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AcceptTransitGatewayMulticastDomainAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AcceptTransitGatewayPeeringAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AcceptTransitGatewayVpcAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AcceptVpcEndpointConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AcceptVpcPeeringConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdvertiseByoipCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AllocateAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AllocateHosts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AllocateIpamPoolCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ApplySecurityGroupsToClientVpnTargetNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssignIpv6Addresses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssignPrivateIpAddresses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssignPrivateNatGatewayAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateClientVpnTargetNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateDhcpOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateEnclaveCertificateIamRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateIamInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateInstanceEventWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateIpamByoasn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateIpamResourceDiscovery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateNatGatewayAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateRouteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateSubnetCidrBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateTransitGatewayMulticastDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateTransitGatewayPolicyTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateTransitGatewayRouteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateTrunkInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateVpcCidrBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachClassicLinkVpc
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachInternetGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachNetworkInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachVerifiedAccessTrustProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachVpnGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeClientVpnIngress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeSecurityGroupEgress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeSecurityGroupIngress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BundleInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelBundleTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelCapacityReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelCapacityReservationFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelConversionTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelExportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelImageLaunchPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelReservedInstancesListing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelSpotFleetRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelSpotInstanceRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfirmProductInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyFpgaImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopySnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCapacityReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCapacityReservationBySplitting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCapacityReservationFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCarrierGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateClientVpnEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateClientVpnRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCoipCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCoipPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomerGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDefaultSubnet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDefaultVpc
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDhcpOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEgressOnlyInternetGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFlowLogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFpgaImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstanceConnectEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstanceEventWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstanceExportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInternetGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIpam
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIpamExternalResourceVerificationToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIpamPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIpamResourceDiscovery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIpamScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLaunchTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLaunchTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocalGatewayRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocalGatewayRouteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocalGatewayRouteTableVpcAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateManagedPrefixList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNatGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetworkAcl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetworkAclEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetworkInsightsAccessScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetworkInsightsPath
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetworkInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetworkInterfacePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePlacementGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePublicIpv4Pool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplaceRootVolumeTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReservedInstancesListing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRestoreImageTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRouteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSpotDatafeedSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStoreImageTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubnet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubnetCidrReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrafficMirrorFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrafficMirrorFilterRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrafficMirrorSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrafficMirrorTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayConnect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayConnectPeer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayMulticastDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayPeeringAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayPolicyTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayPrefixListReference
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayRouteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayRouteTableAnnouncement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayVpcAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVerifiedAccessEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVerifiedAccessGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVerifiedAccessInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVerifiedAccessTrustProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpc
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcEndpointConnectionNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcEndpointServiceConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcPeeringConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpnConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpnConnectionRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpnGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCarrierGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteClientVpnEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteClientVpnRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCoipCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCoipPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomerGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDhcpOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEgressOnlyInternetGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFlowLogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFpgaImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstanceConnectEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstanceEventWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInternetGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIpam
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIpamExternalResourceVerificationToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIpamPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIpamResourceDiscovery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIpamScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLaunchTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLaunchTemplateVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLocalGatewayRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLocalGatewayRouteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLocalGatewayRouteTableVirtualInterfaceGroupAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLocalGatewayRouteTableVpcAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteManagedPrefixList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNatGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkAcl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkAclEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkInsightsAccessScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkInsightsAccessScopeAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkInsightsAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkInsightsPath
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkInterfacePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePlacementGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePublicIpv4Pool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueuedReservedInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRouteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSpotDatafeedSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubnet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubnetCidrReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrafficMirrorFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrafficMirrorFilterRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrafficMirrorSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrafficMirrorTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransitGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransitGatewayConnect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransitGatewayConnectPeer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransitGatewayMulticastDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransitGatewayPeeringAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransitGatewayPolicyTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransitGatewayPrefixListReference
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransitGatewayRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransitGatewayRouteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransitGatewayRouteTableAnnouncement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTransitGatewayVpcAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVerifiedAccessEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVerifiedAccessGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVerifiedAccessInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVerifiedAccessTrustProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpc
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcEndpointConnectionNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcEndpointServiceConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcPeeringConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpnConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpnConnectionRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpnGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeprovisionByoipCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeprovisionIpamByoasn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeprovisionIpamPoolCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeprovisionPublicIpv4PoolCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterInstanceEventNotificationAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterTransitGatewayMulticastGroupMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterTransitGatewayMulticastGroupSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAddressTransfers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAddresses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAddressesAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAggregateIdFormat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAvailabilityZones
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAwsNetworkPerformanceMetricSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBundleTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeByoipCidrs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCapacityBlockOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCapacityReservationFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCapacityReservations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCarrierGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClassicLinkInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClientVpnAuthorizationRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClientVpnConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClientVpnEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClientVpnRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClientVpnTargetNetworks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCoipPools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConversionTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomerGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDhcpOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEgressOnlyInternetGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeElasticGpus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExportImageTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExportTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFastLaunchImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFastSnapshotRestores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFlowLogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFpgaImageAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFpgaImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHostReservationOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHostReservations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHosts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIamInstanceProfileAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIdFormat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIdentityIdFormat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImageAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImportImageTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImportSnapshotTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceConnectEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceCreditSpecifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceEventNotificationAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceEventWindows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceTopology
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceTypeOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInternetGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIpamByoasn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIpamExternalResourceVerificationTokens
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIpamPools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIpamResourceDiscoveries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIpamResourceDiscoveryAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIpamScopes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIpams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIpv6Pools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeKeyPairs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLaunchTemplateVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLaunchTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocalGatewayRouteTableVpcAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocalGatewayRouteTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocalGatewayVirtualInterfaceGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocalGatewayVirtualInterfaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLocalGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLockedSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMacHosts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeManagedPrefixLists
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMovingAddresses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNatGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNetworkAcls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNetworkInsightsAccessScopeAnalyses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNetworkInsightsAccessScopes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNetworkInsightsAnalyses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNetworkInsightsPaths
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNetworkInterfaceAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNetworkInterfacePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNetworkInterfaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePlacementGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePrefixLists
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePrincipalIdFormat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePublicIpv4Pools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplaceRootVolumeTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedInstancesListings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedInstancesModifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedInstancesOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRouteTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScheduledInstanceAvailability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScheduledInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSecurityGroupReferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSecurityGroupRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSecurityGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSnapshotAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSnapshotTierStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSpotDatafeedSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSpotFleetInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSpotFleetRequestHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSpotFleetRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSpotInstanceRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSpotPriceHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStaleSecurityGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStoreImageTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSubnets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrafficMirrorFilterRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrafficMirrorFilters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrafficMirrorSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrafficMirrorTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransitGatewayAttachments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransitGatewayConnectPeers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransitGatewayConnects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransitGatewayMulticastDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransitGatewayPeeringAttachments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransitGatewayPolicyTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransitGatewayRouteTableAnnouncements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransitGatewayRouteTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransitGatewayVpcAttachments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransitGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrunkInterfaceAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVerifiedAccessEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVerifiedAccessGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVerifiedAccessInstanceLoggingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVerifiedAccessInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVerifiedAccessTrustProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVolumeAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVolumeStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVolumes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVolumesModifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcClassicLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcClassicLinkDnsSupport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcEndpointConnectionNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcEndpointConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcEndpointServiceConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcEndpointServicePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcEndpointServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcPeeringConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpnConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpnGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachClassicLinkVpc
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachInternetGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachNetworkInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachVerifiedAccessTrustProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachVpnGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableAddressTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableAwsNetworkPerformanceMetricSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableEbsEncryptionByDefault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableFastLaunch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableFastSnapshotRestores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableImageBlockPublicAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableImageDeprecation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableImageDeregistrationProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableIpamOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableSerialConsoleAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableSnapshotBlockPublicAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableTransitGatewayRouteTablePropagation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableVgwRoutePropagation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableVpcClassicLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableVpcClassicLinkDnsSupport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateClientVpnTargetNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateEnclaveCertificateIamRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateIamInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateInstanceEventWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateIpamByoasn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateIpamResourceDiscovery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateNatGatewayAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateRouteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateSubnetCidrBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateTransitGatewayMulticastDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateTransitGatewayPolicyTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateTransitGatewayRouteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateTrunkInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateVpcCidrBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableAddressTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableAwsNetworkPerformanceMetricSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableEbsEncryptionByDefault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableFastLaunch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableFastSnapshotRestores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableImageBlockPublicAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableImageDeprecation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableImageDeregistrationProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableIpamOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableReachabilityAnalyzerOrganizationSharing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableSerialConsoleAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableSnapshotBlockPublicAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableTransitGatewayRouteTablePropagation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableVgwRoutePropagation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableVolumeIO
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableVpcClassicLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableVpcClassicLinkDnsSupport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportClientVpnClientCertificateRevocationList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportClientVpnClientConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportTransitGatewayRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssociatedEnclaveCertificateIamRoles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssociatedIpv6PoolCidrs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAwsNetworkPerformanceData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCapacityReservationUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCoipPoolUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConsoleOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConsoleScreenshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDefaultCreditSpecification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEbsDefaultKmsKeyId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEbsEncryptionByDefault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFlowLogsIntegrationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroupsForCapacityReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHostReservationPurchasePreview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImageBlockPublicAccessState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceMetadataDefaults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceTpmEkPub
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceTypesFromInstanceRequirements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceUefiData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIpamAddressHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIpamDiscoveredAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIpamDiscoveredPublicAddresses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIpamDiscoveredResourceCidrs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIpamPoolAllocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIpamPoolCidrs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIpamResourceCidrs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLaunchTemplateData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetManagedPrefixListAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetManagedPrefixListEntries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkInsightsAccessScopeAnalysisFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkInsightsAccessScopeContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPasswordData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReservedInstancesExchangeQuote
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSecurityGroupsForVpc
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSerialConsoleAccessStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSnapshotBlockPublicAccessState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSpotPlacementScores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubnetCidrReservations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransitGatewayAttachmentPropagations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransitGatewayMulticastDomainAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransitGatewayPolicyTableAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransitGatewayPolicyTableEntries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransitGatewayPrefixListReferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransitGatewayRouteTableAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransitGatewayRouteTablePropagations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVerifiedAccessEndpointPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVerifiedAccessGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVpnConnectionDeviceSampleConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVpnConnectionDeviceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVpnTunnelReplacementStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportClientVpnClientCertificateRevocationList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImagesInRecycleBin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSnapshotsInRecycleBin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class LockSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyAddressAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyAvailabilityZoneGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCapacityReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCapacityReservationFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyClientVpnEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDefaultCreditSpecification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyEbsDefaultKmsKeyId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyFpgaImageAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyHosts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyIdFormat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyIdentityIdFormat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyImageAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstanceAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstanceCapacityReservationAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstanceCreditSpecification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstanceEventStartTime
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstanceEventWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstanceMaintenanceOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstanceMetadataDefaults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstanceMetadataOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstancePlacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyIpam
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyIpamPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyIpamResourceCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyIpamResourceDiscovery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyIpamScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyLaunchTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyLocalGatewayRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyManagedPrefixList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyNetworkInterfaceAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyPrivateDnsNameOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyReservedInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifySecurityGroupRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifySnapshotAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifySnapshotTier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifySpotFleetRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifySubnetAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyTrafficMirrorFilterNetworkServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyTrafficMirrorFilterRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyTrafficMirrorSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyTransitGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyTransitGatewayPrefixListReference
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyTransitGatewayVpcAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVerifiedAccessEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVerifiedAccessEndpointPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVerifiedAccessGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVerifiedAccessGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVerifiedAccessInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVerifiedAccessInstanceLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVerifiedAccessTrustProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVolumeAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpcAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpcEndpointConnectionNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpcEndpointServiceConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpcEndpointServicePayerResponsibility
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpcEndpointServicePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpcPeeringConnectionOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpcTenancy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpnConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpnConnectionOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpnTunnelCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyVpnTunnelOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MonitorInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MoveAddressToVpc
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MoveByoipCidrToIpam
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MoveCapacityReservationInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ProvisionByoipCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ProvisionIpamByoasn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ProvisionIpamPoolCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ProvisionPublicIpv4PoolCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseCapacityBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseHostReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseReservedInstancesOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseScheduledInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterInstanceEventNotificationAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterTransitGatewayMulticastGroupMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterTransitGatewayMulticastGroupSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectTransitGatewayMulticastDomainAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectTransitGatewayPeeringAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectTransitGatewayVpcAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectVpcEndpointConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectVpcPeeringConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReleaseAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReleaseHosts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReleaseIpamPoolAllocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplaceIamInstanceProfileAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplaceNetworkAclAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplaceNetworkAclEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplaceRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplaceRouteTableAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplaceTransitGatewayRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplaceVpnTunnel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReportInstanceStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RequestSpotFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RequestSpotInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetAddressAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetEbsDefaultKmsKeyId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetFpgaImageAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetImageAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetInstanceAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetNetworkInterfaceAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetSnapshotAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreAddressToClassic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreImageFromRecycleBin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreManagedPrefixListVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreSnapshotFromRecycleBin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreSnapshotTier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeClientVpnIngress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeSecurityGroupEgress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeSecurityGroupIngress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RunInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RunScheduledInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchLocalGatewayRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchTransitGatewayMulticastGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchTransitGatewayRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendDiagnosticInterrupt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartNetworkInsightsAccessScopeAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartNetworkInsightsAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartVpcEndpointServicePrivateDnsVerification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateClientVpnConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnassignIpv6Addresses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnassignPrivateIpAddresses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnassignPrivateNatGatewayAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnlockSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnmonitorInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSecurityGroupRuleDescriptionsEgress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSecurityGroupRuleDescriptionsIngress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class WithdrawByoipCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/plugins/endpoints.rb b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/plugins/endpoints.rb
index d2c0864f9f0..bf26979cb8e 100644
--- a/gems/aws-sdk-ec2/lib/aws-sdk-ec2/plugins/endpoints.rb
+++ b/gems/aws-sdk-ec2/lib/aws-sdk-ec2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ec2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ec2/spec/endpoint_provider_spec.rb
index 6a0d1c6eb8d..f9ed721f063 100644
--- a/gems/aws-sdk-ec2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ec2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::EC2
describe EndpointProvider do
subject { Aws::EC2::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::EC2
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::EC2
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::EC2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::EC2
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::EC2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::EC2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack enabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.ap-south-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::EC2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.ap-southeast-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::EC2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.ap-southeast-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::EC2
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.ap-southeast-3.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::EC2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::EC2
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-fips.ca-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::EC2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.eu-central-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::EC2
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.eu-north-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::EC2
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.eu-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::EC2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.eu-west-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::EC2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack enabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.eu-west-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::EC2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.eu-west-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::EC2
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.eu-west-3.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::EC2
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.me-south-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::EC2
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.sa-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::EC2
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.sa-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::EC2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::EC2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-fips.us-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::EC2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::EC2
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-east-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::EC2
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-fips.us-east-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::EC2
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-east-2.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::EC2
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-west-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::EC2
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-fips.us-west-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::EC2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-west-2.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::EC2
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-fips.us-west-2.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::EC2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack enabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-west-2.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::EC2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-fips.us-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::EC2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.cn-north-1.amazonaws.com.cn"}}
end
@@ -504,7 +504,7 @@ module Aws::EC2
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -518,7 +518,7 @@ module Aws::EC2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -532,7 +532,7 @@ module Aws::EC2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -546,7 +546,7 @@ module Aws::EC2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -560,7 +560,7 @@ module Aws::EC2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-gov-east-1.amazonaws.com"}}
end
@@ -574,7 +574,7 @@ module Aws::EC2
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-gov-west-1.amazonaws.com"}}
end
@@ -588,7 +588,7 @@ module Aws::EC2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-fips.us-gov-east-1.api.aws"}}
end
@@ -602,7 +602,7 @@ module Aws::EC2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-gov-east-1.amazonaws.com"}}
end
@@ -616,7 +616,7 @@ module Aws::EC2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-gov-east-1.api.aws"}}
end
@@ -630,7 +630,7 @@ module Aws::EC2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-iso-east-1.c2s.ic.gov"}}
end
@@ -644,7 +644,7 @@ module Aws::EC2
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-iso-west-1.c2s.ic.gov"}}
end
@@ -658,7 +658,7 @@ module Aws::EC2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -671,7 +671,7 @@ module Aws::EC2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -685,7 +685,7 @@ module Aws::EC2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -698,7 +698,7 @@ module Aws::EC2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -712,7 +712,7 @@ module Aws::EC2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -725,7 +725,7 @@ module Aws::EC2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -739,7 +739,7 @@ module Aws::EC2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -752,7 +752,7 @@ module Aws::EC2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -766,7 +766,7 @@ module Aws::EC2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -780,7 +780,7 @@ module Aws::EC2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -793,7 +793,7 @@ module Aws::EC2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -806,7 +806,7 @@ module Aws::EC2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ec2instanceconnect/CHANGELOG.md b/gems/aws-sdk-ec2instanceconnect/CHANGELOG.md
index d4b393478ab..da2fbdc461c 100644
--- a/gems/aws-sdk-ec2instanceconnect/CHANGELOG.md
+++ b/gems/aws-sdk-ec2instanceconnect/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.48.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.47.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ec2instanceconnect/VERSION b/gems/aws-sdk-ec2instanceconnect/VERSION
index 21998d3c2d9..9db5ea12f52 100644
--- a/gems/aws-sdk-ec2instanceconnect/VERSION
+++ b/gems/aws-sdk-ec2instanceconnect/VERSION
@@ -1 +1 @@
-1.47.0
+1.48.0
diff --git a/gems/aws-sdk-ec2instanceconnect/aws-sdk-ec2instanceconnect.gemspec b/gems/aws-sdk-ec2instanceconnect/aws-sdk-ec2instanceconnect.gemspec
index 6be7d1f1f54..774523dd071 100644
--- a/gems/aws-sdk-ec2instanceconnect/aws-sdk-ec2instanceconnect.gemspec
+++ b/gems/aws-sdk-ec2instanceconnect/aws-sdk-ec2instanceconnect.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ec2instanceconnect/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect.rb b/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect.rb
index 33212fe8d6b..d3afa14679b 100644
--- a/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect.rb
+++ b/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::EC2InstanceConnect
- GEM_VERSION = '1.47.0'
+ GEM_VERSION = '1.48.0'
end
diff --git a/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/client.rb b/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/client.rb
index 118edfa2cc3..aa72a9fa73f 100644
--- a/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/client.rb
+++ b/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/client.rb
@@ -594,7 +594,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ec2instanceconnect'
- context[:gem_version] = '1.47.0'
+ context[:gem_version] = '1.48.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/endpoints.rb b/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/endpoints.rb
index 6f2fd71e79c..7ccfb536128 100644
--- a/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/endpoints.rb
+++ b/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/endpoints.rb
@@ -14,28 +14,22 @@ module Endpoints
class SendSSHPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2InstanceConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendSerialConsoleSSHPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EC2InstanceConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/plugins/endpoints.rb b/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/plugins/endpoints.rb
index 624512e506a..ac22ba7bb6e 100644
--- a/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/plugins/endpoints.rb
+++ b/gems/aws-sdk-ec2instanceconnect/lib/aws-sdk-ec2instanceconnect/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ec2instanceconnect/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ec2instanceconnect/spec/endpoint_provider_spec.rb
index f6ad85fc05a..94009a32012 100644
--- a/gems/aws-sdk-ec2instanceconnect/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ec2instanceconnect/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::EC2InstanceConnect
describe EndpointProvider do
subject { Aws::EC2InstanceConnect::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ec2-instance-connect.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::EC2InstanceConnect
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ecr/CHANGELOG.md b/gems/aws-sdk-ecr/CHANGELOG.md
index 1a28aaa6bc1..4c7f76a6560 100644
--- a/gems/aws-sdk-ecr/CHANGELOG.md
+++ b/gems/aws-sdk-ecr/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.84.0 (2024-09-17)
+------------------
+
+* Feature - The `DescribeImageScanning` API now includes `fixAvailable`, `exploitAvailable`, and `fixedInVersion` fields to provide more detailed information about the availability of fixes, exploits, and fixed versions for identified image vulnerabilities.
+
+1.83.0 (2024-09-11)
+------------------
+
+* Feature - Added KMS_DSSE to EncryptionType
+
1.82.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ecr/VERSION b/gems/aws-sdk-ecr/VERSION
index 71fae54fb27..bd0f9e6c28f 100644
--- a/gems/aws-sdk-ecr/VERSION
+++ b/gems/aws-sdk-ecr/VERSION
@@ -1 +1 @@
-1.82.0
+1.84.0
diff --git a/gems/aws-sdk-ecr/aws-sdk-ecr.gemspec b/gems/aws-sdk-ecr/aws-sdk-ecr.gemspec
index dd0424ffaa2..ea02bd28308 100644
--- a/gems/aws-sdk-ecr/aws-sdk-ecr.gemspec
+++ b/gems/aws-sdk-ecr/aws-sdk-ecr.gemspec
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
spec.name = 'aws-sdk-ecr'
spec.version = File.read(File.expand_path('../VERSION', __FILE__)).strip
spec.summary = 'AWS SDK for Ruby - Amazon ECR'
- spec.description = 'Official AWS Ruby gem for Amazon EC2 Container Registry (Amazon ECR). This gem is part of the AWS SDK for Ruby.'
+ spec.description = 'Official AWS Ruby gem for Amazon Elastic Container Registry (Amazon ECR). This gem is part of the AWS SDK for Ruby.'
spec.author = 'Amazon Web Services'
spec.homepage = 'https://github.com/aws/aws-sdk-ruby'
spec.license = 'Apache-2.0'
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ecr/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ecr/features/smoke.feature b/gems/aws-sdk-ecr/features/smoke.feature
new file mode 100644
index 00000000000..ee165bc6b6a
--- /dev/null
+++ b/gems/aws-sdk-ecr/features/smoke.feature
@@ -0,0 +1,32 @@
+# WARNING ABOUT GENERATED CODE
+#
+# This file is generated. See the contributing guide for more information:
+# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
+#
+# WARNING ABOUT GENERATED CODE
+
+Feature: Smoke tests for ECR
+
+ @ecr @smoke
+ Scenario: DescribeRepositoriesSuccess
+ Given I create a 'Aws::ECR' client with config:
+ """
+{"region":"us-west-2"}
+ """
+ When I call the operation 'describe_repositories' with params:
+ """
+{}
+ """
+ Then I expect an error was not raised
+
+ @ecr @smoke
+ Scenario: ListImagesFailure
+ Given I create a 'Aws::ECR' client with config:
+ """
+{"region":"us-west-2"}
+ """
+ When I call the operation 'list_images' with params:
+ """
+{"repository_name":"not-a-real-repository"}
+ """
+ Then I expect an error was raised
diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr.rb
index 5dfbb12f25a..38c9593e219 100644
--- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr.rb
+++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr.rb
@@ -23,7 +23,7 @@
require_relative 'aws-sdk-ecr/endpoints'
require_relative 'aws-sdk-ecr/customizations'
-# This module provides support for Amazon EC2 Container Registry. This module is available in the
+# This module provides support for Amazon Elastic Container Registry. This module is available in the
# `aws-sdk-ecr` gem.
#
# # Client
@@ -39,13 +39,13 @@
#
# # Errors
#
-# Errors returned from Amazon EC2 Container Registry are defined in the
+# Errors returned from Amazon Elastic Container Registry are defined in the
# {Errors} module and all extend {Errors::ServiceError}.
#
# begin
# # do stuff
# rescue Aws::ECR::Errors::ServiceError
-# # rescues all Amazon EC2 Container Registry API errors
+# # rescues all Amazon Elastic Container Registry API errors
# end
#
# See {Errors} for more information.
@@ -53,6 +53,6 @@
# @!group service
module Aws::ECR
- GEM_VERSION = '1.82.0'
+ GEM_VERSION = '1.84.0'
end
diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client.rb
index ed32b4a20de..b6c75bc878d 100644
--- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client.rb
+++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client.rb
@@ -963,7 +963,7 @@ def create_pull_through_cache_rule(params = {}, options = {})
# scan_on_push: false,
# },
# encryption_configuration: {
- # encryption_type: "AES256", # required, accepts AES256, KMS
+ # encryption_type: "AES256", # required, accepts AES256, KMS, KMS_DSSE
# kms_key: "KmsKey",
# },
# })
@@ -977,7 +977,7 @@ def create_pull_through_cache_rule(params = {}, options = {})
# resp.repository.created_at #=> Time
# resp.repository.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE"
# resp.repository.image_scanning_configuration.scan_on_push #=> Boolean
- # resp.repository.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS"
+ # resp.repository.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS", "KMS_DSSE"
# resp.repository.encryption_configuration.kms_key #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/CreateRepository AWS API Documentation
@@ -1123,7 +1123,7 @@ def create_repository(params = {}, options = {})
# prefix: "Prefix", # required
# description: "RepositoryTemplateDescription",
# encryption_configuration: {
- # encryption_type: "AES256", # required, accepts AES256, KMS
+ # encryption_type: "AES256", # required, accepts AES256, KMS, KMS_DSSE
# kms_key: "KmsKeyForRepositoryCreationTemplate",
# },
# resource_tags: [
@@ -1144,7 +1144,7 @@ def create_repository(params = {}, options = {})
# resp.registry_id #=> String
# resp.repository_creation_template.prefix #=> String
# resp.repository_creation_template.description #=> String
- # resp.repository_creation_template.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS"
+ # resp.repository_creation_template.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS", "KMS_DSSE"
# resp.repository_creation_template.encryption_configuration.kms_key #=> String
# resp.repository_creation_template.resource_tags #=> Array
# resp.repository_creation_template.resource_tags[0].key #=> String
@@ -1330,7 +1330,7 @@ def delete_registry_policy(params = {}, options = {})
# resp.repository.created_at #=> Time
# resp.repository.image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE"
# resp.repository.image_scanning_configuration.scan_on_push #=> Boolean
- # resp.repository.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS"
+ # resp.repository.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS", "KMS_DSSE"
# resp.repository.encryption_configuration.kms_key #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/DeleteRepository AWS API Documentation
@@ -1387,7 +1387,7 @@ def delete_repository(params = {}, options = {})
# resp.registry_id #=> String
# resp.repository_creation_template.prefix #=> String
# resp.repository_creation_template.description #=> String
- # resp.repository_creation_template.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS"
+ # resp.repository_creation_template.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS", "KMS_DSSE"
# resp.repository_creation_template.encryption_configuration.kms_key #=> String
# resp.repository_creation_template.resource_tags #=> Array
# resp.repository_creation_template.resource_tags[0].key #=> String
@@ -1623,6 +1623,7 @@ def describe_image_replication_status(params = {}, options = {})
# resp.image_scan_findings.enhanced_findings[0].package_vulnerability_details.vulnerable_packages[0].release #=> String
# resp.image_scan_findings.enhanced_findings[0].package_vulnerability_details.vulnerable_packages[0].source_layer_hash #=> String
# resp.image_scan_findings.enhanced_findings[0].package_vulnerability_details.vulnerable_packages[0].version #=> String
+ # resp.image_scan_findings.enhanced_findings[0].package_vulnerability_details.vulnerable_packages[0].fixed_in_version #=> String
# resp.image_scan_findings.enhanced_findings[0].remediation.recommendation.url #=> String
# resp.image_scan_findings.enhanced_findings[0].remediation.recommendation.text #=> String
# resp.image_scan_findings.enhanced_findings[0].resources #=> Array
@@ -1652,6 +1653,8 @@ def describe_image_replication_status(params = {}, options = {})
# resp.image_scan_findings.enhanced_findings[0].title #=> String
# resp.image_scan_findings.enhanced_findings[0].type #=> String
# resp.image_scan_findings.enhanced_findings[0].updated_at #=> Time
+ # resp.image_scan_findings.enhanced_findings[0].fix_available #=> String
+ # resp.image_scan_findings.enhanced_findings[0].exploit_available #=> String
# resp.next_token #=> String
#
#
@@ -1954,7 +1957,7 @@ def describe_registry(params = {}, options = {})
# resp.repositories[0].created_at #=> Time
# resp.repositories[0].image_tag_mutability #=> String, one of "MUTABLE", "IMMUTABLE"
# resp.repositories[0].image_scanning_configuration.scan_on_push #=> Boolean
- # resp.repositories[0].encryption_configuration.encryption_type #=> String, one of "AES256", "KMS"
+ # resp.repositories[0].encryption_configuration.encryption_type #=> String, one of "AES256", "KMS", "KMS_DSSE"
# resp.repositories[0].encryption_configuration.kms_key #=> String
# resp.next_token #=> String
#
@@ -2071,7 +2074,7 @@ def describe_repositories(params = {}, options = {})
# resp.repository_creation_templates #=> Array
# resp.repository_creation_templates[0].prefix #=> String
# resp.repository_creation_templates[0].description #=> String
- # resp.repository_creation_templates[0].encryption_configuration.encryption_type #=> String, one of "AES256", "KMS"
+ # resp.repository_creation_templates[0].encryption_configuration.encryption_type #=> String, one of "AES256", "KMS", "KMS_DSSE"
# resp.repository_creation_templates[0].encryption_configuration.kms_key #=> String
# resp.repository_creation_templates[0].resource_tags #=> Array
# resp.repository_creation_templates[0].resource_tags[0].key #=> String
@@ -3486,7 +3489,7 @@ def update_pull_through_cache_rule(params = {}, options = {})
# prefix: "Prefix", # required
# description: "RepositoryTemplateDescription",
# encryption_configuration: {
- # encryption_type: "AES256", # required, accepts AES256, KMS
+ # encryption_type: "AES256", # required, accepts AES256, KMS, KMS_DSSE
# kms_key: "KmsKeyForRepositoryCreationTemplate",
# },
# resource_tags: [
@@ -3507,7 +3510,7 @@ def update_pull_through_cache_rule(params = {}, options = {})
# resp.registry_id #=> String
# resp.repository_creation_template.prefix #=> String
# resp.repository_creation_template.description #=> String
- # resp.repository_creation_template.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS"
+ # resp.repository_creation_template.encryption_configuration.encryption_type #=> String, one of "AES256", "KMS", "KMS_DSSE"
# resp.repository_creation_template.encryption_configuration.kms_key #=> String
# resp.repository_creation_template.resource_tags #=> Array
# resp.repository_creation_template.resource_tags[0].key #=> String
@@ -3666,7 +3669,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ecr'
- context[:gem_version] = '1.82.0'
+ context[:gem_version] = '1.84.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client_api.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client_api.rb
index abb4773831e..38886c36aee 100644
--- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client_api.rb
+++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/client_api.rb
@@ -91,12 +91,15 @@ module ClientApi
EvaluationTimestamp = Shapes::TimestampShape.new(name: 'EvaluationTimestamp')
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
ExpirationTimestamp = Shapes::TimestampShape.new(name: 'ExpirationTimestamp')
+ ExploitAvailable = Shapes::StringShape.new(name: 'ExploitAvailable')
FilePath = Shapes::StringShape.new(name: 'FilePath')
FindingArn = Shapes::StringShape.new(name: 'FindingArn')
FindingDescription = Shapes::StringShape.new(name: 'FindingDescription')
FindingName = Shapes::StringShape.new(name: 'FindingName')
FindingSeverity = Shapes::StringShape.new(name: 'FindingSeverity')
FindingSeverityCounts = Shapes::MapShape.new(name: 'FindingSeverityCounts')
+ FixAvailable = Shapes::StringShape.new(name: 'FixAvailable')
+ FixedInVersion = Shapes::StringShape.new(name: 'FixedInVersion')
ForceFlag = Shapes::BooleanShape.new(name: 'ForceFlag')
GetAccountSettingRequest = Shapes::StructureShape.new(name: 'GetAccountSettingRequest')
GetAccountSettingResponse = Shapes::StructureShape.new(name: 'GetAccountSettingResponse')
@@ -637,6 +640,8 @@ module ClientApi
EnhancedImageScanFinding.add_member(:title, Shapes::ShapeRef.new(shape: Title, location_name: "title"))
EnhancedImageScanFinding.add_member(:type, Shapes::ShapeRef.new(shape: Type, location_name: "type"))
EnhancedImageScanFinding.add_member(:updated_at, Shapes::ShapeRef.new(shape: Date, location_name: "updatedAt"))
+ EnhancedImageScanFinding.add_member(:fix_available, Shapes::ShapeRef.new(shape: FixAvailable, location_name: "fixAvailable"))
+ EnhancedImageScanFinding.add_member(:exploit_available, Shapes::ShapeRef.new(shape: ExploitAvailable, location_name: "exploitAvailable"))
EnhancedImageScanFinding.struct_class = Types::EnhancedImageScanFinding
EnhancedImageScanFindingList.member = Shapes::ShapeRef.new(shape: EnhancedImageScanFinding)
@@ -1303,6 +1308,7 @@ module ClientApi
VulnerablePackage.add_member(:release, Shapes::ShapeRef.new(shape: Release, location_name: "release"))
VulnerablePackage.add_member(:source_layer_hash, Shapes::ShapeRef.new(shape: SourceLayerHash, location_name: "sourceLayerHash"))
VulnerablePackage.add_member(:version, Shapes::ShapeRef.new(shape: Version, location_name: "version"))
+ VulnerablePackage.add_member(:fixed_in_version, Shapes::ShapeRef.new(shape: FixedInVersion, location_name: "fixedInVersion"))
VulnerablePackage.struct_class = Types::VulnerablePackage
VulnerablePackagesList.member = Shapes::ShapeRef.new(shape: VulnerablePackage)
@@ -1321,7 +1327,7 @@ module ClientApi
"protocol" => "json",
"protocols" => ["json"],
"serviceAbbreviation" => "Amazon ECR",
- "serviceFullName" => "Amazon EC2 Container Registry",
+ "serviceFullName" => "Amazon Elastic Container Registry",
"serviceId" => "ECR",
"signatureVersion" => "v4",
"signingName" => "ecr",
diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/endpoints.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/endpoints.rb
index 8ba5aa21ef4..e56b5cc71c7 100644
--- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/endpoints.rb
+++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/endpoints.rb
@@ -14,686 +14,539 @@ module Endpoints
class BatchCheckLayerAvailability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetRepositoryScanningConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CompleteLayerUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePullThroughCacheRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRepositoryCreationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePullThroughCacheRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegistryPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRepositoryCreationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRepositoryPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImageReplicationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImageScanFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePullThroughCacheRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegistry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRepositories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRepositoryCreationTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountSetting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAuthorizationToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDownloadUrlForLayer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLifecyclePolicyPreview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegistryPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegistryScanningConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepositoryPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InitiateLayerUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountSetting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutImageScanningConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutImageTagMutability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRegistryPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRegistryScanningConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetRepositoryPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImageScan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartLifecyclePolicyPreview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePullThroughCacheRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRepositoryCreationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UploadLayerPart
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidatePullThroughCacheRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/plugins/endpoints.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/plugins/endpoints.rb
index 132cbeb20d3..60b2d895fe2 100644
--- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/plugins/endpoints.rb
+++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb
index 0a9071b76e4..779ed01ac6f 100644
--- a/gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb
+++ b/gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb
@@ -1427,22 +1427,25 @@ class EmptyUploadException < Struct.new(
# Service key stored in KMS. When you use KMS to encrypt your data,
# you can either use the default Amazon Web Services managed KMS key
# for Amazon ECR, or specify your own KMS key, which you already
- # created. For more information, see [Protecting data using
- # server-side encryption with an KMS key stored in Key Management
- # Service (SSE-KMS)][1] in the *Amazon Simple Storage Service Console
- # Developer Guide*.
+ # created.
+ #
+ # If you use the `KMS_DSSE` encryption type, the contents of the
+ # repository will be encrypted with two layers of encryption using
+ # server-side encryption with the KMS Management Service key stored in
+ # KMS. Similar to the `KMS` encryption type, you can either use the
+ # default Amazon Web Services managed KMS key for Amazon ECR, or
+ # specify your own KMS key, which you've already created.
#
# If you use the `AES256` encryption type, Amazon ECR uses server-side
# encryption with Amazon S3-managed encryption keys which encrypts the
- # images in the repository using an AES256 encryption algorithm. For
- # more information, see [Protecting data using server-side encryption
- # with Amazon S3-managed encryption keys (SSE-S3)][2] in the *Amazon
- # Simple Storage Service Console Developer Guide*.
+ # images in the repository using an AES256 encryption algorithm.
#
+ # For more information, see [Amazon ECR encryption at rest][1] in the
+ # *Amazon Elastic Container Registry User Guide*.
#
#
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonECR/latest/userguide/encryption-at-rest.html
# @return [String]
#
# @!attribute [rw] kms_key
@@ -1573,6 +1576,18 @@ class EncryptionConfigurationForRepositoryCreationTemplate < Struct.new(
# The date and time the finding was last updated at.
# @return [Time]
#
+ # @!attribute [rw] fix_available
+ # Details on whether a fix is available through a version update. This
+ # value can be `YES`, `NO`, or `PARTIAL`. A `PARTIAL` fix means that
+ # some, but not all, of the packages identified in the finding have
+ # fixes available through updated versions.
+ # @return [String]
+ #
+ # @!attribute [rw] exploit_available
+ # If a finding discovered in your environment has an exploit
+ # available.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/EnhancedImageScanFinding AWS API Documentation
#
class EnhancedImageScanFinding < Struct.new(
@@ -1590,7 +1605,9 @@ class EnhancedImageScanFinding < Struct.new(
:status,
:title,
:type,
- :updated_at)
+ :updated_at,
+ :fix_available,
+ :exploit_available)
SENSITIVE = []
include Aws::Structure
end
@@ -4602,6 +4619,10 @@ class ValidationException < Struct.new(
# The version of the vulnerable package.
# @return [String]
#
+ # @!attribute [rw] fixed_in_version
+ # The version of the package that contains the vulnerability fix.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/ecr-2015-09-21/VulnerablePackage AWS API Documentation
#
class VulnerablePackage < Struct.new(
@@ -4612,7 +4633,8 @@ class VulnerablePackage < Struct.new(
:package_manager,
:release,
:source_layer_hash,
- :version)
+ :version,
+ :fixed_in_version)
SENSITIVE = []
include Aws::Structure
end
diff --git a/gems/aws-sdk-ecr/sig/client.rbs b/gems/aws-sdk-ecr/sig/client.rbs
index fc7f59ab4c9..cff6046107f 100644
--- a/gems/aws-sdk-ecr/sig/client.rbs
+++ b/gems/aws-sdk-ecr/sig/client.rbs
@@ -190,7 +190,7 @@ module Aws
scan_on_push: bool?
},
?encryption_configuration: {
- encryption_type: ("AES256" | "KMS"),
+ encryption_type: ("AES256" | "KMS" | "KMS_DSSE"),
kms_key: ::String?
}
) -> _CreateRepositoryResponseSuccess
@@ -206,7 +206,7 @@ module Aws
prefix: ::String,
?description: ::String,
?encryption_configuration: {
- encryption_type: ("AES256" | "KMS"),
+ encryption_type: ("AES256" | "KMS" | "KMS_DSSE"),
kms_key: ::String?
},
?resource_tags: Array[
@@ -788,7 +788,7 @@ module Aws
prefix: ::String,
?description: ::String,
?encryption_configuration: {
- encryption_type: ("AES256" | "KMS"),
+ encryption_type: ("AES256" | "KMS" | "KMS_DSSE"),
kms_key: ::String?
},
?resource_tags: Array[
diff --git a/gems/aws-sdk-ecr/sig/types.rbs b/gems/aws-sdk-ecr/sig/types.rbs
index e70ebfd7ee0..8b0a34b23e0 100644
--- a/gems/aws-sdk-ecr/sig/types.rbs
+++ b/gems/aws-sdk-ecr/sig/types.rbs
@@ -361,13 +361,13 @@ module Aws::ECR
end
class EncryptionConfiguration
- attr_accessor encryption_type: ("AES256" | "KMS")
+ attr_accessor encryption_type: ("AES256" | "KMS" | "KMS_DSSE")
attr_accessor kms_key: ::String
SENSITIVE: []
end
class EncryptionConfigurationForRepositoryCreationTemplate
- attr_accessor encryption_type: ("AES256" | "KMS")
+ attr_accessor encryption_type: ("AES256" | "KMS" | "KMS_DSSE")
attr_accessor kms_key: ::String
SENSITIVE: []
end
@@ -388,6 +388,8 @@ module Aws::ECR
attr_accessor title: ::String
attr_accessor type: ::String
attr_accessor updated_at: ::Time
+ attr_accessor fix_available: ::String
+ attr_accessor exploit_available: ::String
SENSITIVE: []
end
@@ -1238,6 +1240,7 @@ module Aws::ECR
attr_accessor release: ::String
attr_accessor source_layer_hash: ::String
attr_accessor version: ::String
+ attr_accessor fixed_in_version: ::String
SENSITIVE: []
end
end
diff --git a/gems/aws-sdk-ecr/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ecr/spec/endpoint_provider_spec.rb
index f1ab3be5c5f..dff78608161 100644
--- a/gems/aws-sdk-ecr/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ecr/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ECR
describe EndpointProvider do
subject { Aws::ECR::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ECR
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ECR
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ECR
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ECR
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ECR
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ECR
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ECR
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ECR
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ECR
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ECR
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ECR
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ECR
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ECR
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ECR
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ECR
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ECR
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ECR
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ECR
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ECR
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecr-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ECR
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ECR
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecr-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ECR
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ECR
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecr-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ECR
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ECR
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecr-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ECR
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::ECR
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ECR
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ECR
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ECR
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ECR
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ECR
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ECR
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ECR
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecr-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ECR
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ECR
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecr-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::ECR
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::ECR
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ECR
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::ECR
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::ECR
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::ECR
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::ECR
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::ECR
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::ECR
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::ECR
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::ECR
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::ECR
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ECR
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::ECR
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::ECR
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::ECR
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ecrpublic/CHANGELOG.md b/gems/aws-sdk-ecrpublic/CHANGELOG.md
index 0ac1c3c62ae..2ef1de7bb33 100644
--- a/gems/aws-sdk-ecrpublic/CHANGELOG.md
+++ b/gems/aws-sdk-ecrpublic/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.36.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.35.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ecrpublic/VERSION b/gems/aws-sdk-ecrpublic/VERSION
index 2aeaa11ee27..39fc130ef85 100644
--- a/gems/aws-sdk-ecrpublic/VERSION
+++ b/gems/aws-sdk-ecrpublic/VERSION
@@ -1 +1 @@
-1.35.0
+1.36.0
diff --git a/gems/aws-sdk-ecrpublic/aws-sdk-ecrpublic.gemspec b/gems/aws-sdk-ecrpublic/aws-sdk-ecrpublic.gemspec
index b5050194a74..f9a2e2e6f8b 100644
--- a/gems/aws-sdk-ecrpublic/aws-sdk-ecrpublic.gemspec
+++ b/gems/aws-sdk-ecrpublic/aws-sdk-ecrpublic.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ecrpublic/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic.rb b/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic.rb
index 4822077595a..5bd579c2353 100644
--- a/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic.rb
+++ b/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ECRPublic
- GEM_VERSION = '1.35.0'
+ GEM_VERSION = '1.36.0'
end
diff --git a/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/client.rb b/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/client.rb
index d8aff103dfd..4dc76100211 100644
--- a/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/client.rb
+++ b/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/client.rb
@@ -1663,7 +1663,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ecrpublic'
- context[:gem_version] = '1.35.0'
+ context[:gem_version] = '1.36.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/endpoints.rb b/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/endpoints.rb
index 92fe8ccb96b..7a85041c33a 100644
--- a/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/endpoints.rb
+++ b/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/endpoints.rb
@@ -14,322 +14,253 @@ module Endpoints
class BatchCheckLayerAvailability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CompleteLayerUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRepositoryPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImageTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegistries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRepositories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAuthorizationToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegistryCatalogData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepositoryCatalogData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepositoryPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InitiateLayerUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRegistryCatalogData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRepositoryCatalogData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetRepositoryPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UploadLayerPart
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECRPublic::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/plugins/endpoints.rb b/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/plugins/endpoints.rb
index 4c5e0a10cc9..0dff0e1053e 100644
--- a/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/plugins/endpoints.rb
+++ b/gems/aws-sdk-ecrpublic/lib/aws-sdk-ecrpublic/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ecrpublic/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ecrpublic/spec/endpoint_provider_spec.rb
index d94642a6e04..9ed18227753 100644
--- a/gems/aws-sdk-ecrpublic/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ecrpublic/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ECRPublic
describe EndpointProvider do
subject { Aws::ECRPublic::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ECRPublic
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::ECRPublic
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ECRPublic
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ECRPublic
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::ECRPublic
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.ecr-public.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::ECRPublic
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::ECRPublic
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::ECRPublic
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::ECRPublic
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::ECRPublic
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ecs/CHANGELOG.md b/gems/aws-sdk-ecs/CHANGELOG.md
index a972e83b32e..c091b7a445f 100644
--- a/gems/aws-sdk-ecs/CHANGELOG.md
+++ b/gems/aws-sdk-ecs/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.158.0 (2024-09-17)
+------------------
+
+* Feature - This is a documentation only release to address various tickets.
+
+1.157.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.156.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ecs/VERSION b/gems/aws-sdk-ecs/VERSION
index e855ab6cce4..fc8113ce413 100644
--- a/gems/aws-sdk-ecs/VERSION
+++ b/gems/aws-sdk-ecs/VERSION
@@ -1 +1 @@
-1.156.0
+1.158.0
diff --git a/gems/aws-sdk-ecs/aws-sdk-ecs.gemspec b/gems/aws-sdk-ecs/aws-sdk-ecs.gemspec
index be6d9ab9c45..f2b5240fc6f 100644
--- a/gems/aws-sdk-ecs/aws-sdk-ecs.gemspec
+++ b/gems/aws-sdk-ecs/aws-sdk-ecs.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ecs/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ecs/lib/aws-sdk-ecs.rb b/gems/aws-sdk-ecs/lib/aws-sdk-ecs.rb
index 749a8e9c575..59f88e2ecc0 100644
--- a/gems/aws-sdk-ecs/lib/aws-sdk-ecs.rb
+++ b/gems/aws-sdk-ecs/lib/aws-sdk-ecs.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::ECS
- GEM_VERSION = '1.156.0'
+ GEM_VERSION = '1.158.0'
end
diff --git a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client.rb b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client.rb
index c31513f5730..1a9fc206792 100644
--- a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client.rb
+++ b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/client.rb
@@ -5785,9 +5785,6 @@ def list_tasks(params = {}, options = {})
# mode][3]. For more information on using IPv6 with tasks launched on
# Fargate, see [Using a VPC in dual-stack mode][4].
#
- # * `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS
- # 140 compliance is affected.
- #
# * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
# determines that a security or infrastructure update is needed for an
# Amazon ECS task hosted on Fargate, the tasks need to be stopped and
@@ -10445,7 +10442,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ecs'
- context[:gem_version] = '1.156.0'
+ context[:gem_version] = '1.158.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/endpoints.rb b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/endpoints.rb
index 595e16266c3..ea338a2cf65 100644
--- a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/endpoints.rb
+++ b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/endpoints.rb
@@ -14,784 +14,616 @@ module Endpoints
class CreateCapacityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTaskSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccountSetting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCapacityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTaskDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTaskSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterContainerInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterTaskDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCapacityProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContainerInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTaskDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTaskSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DiscoverPollEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteCommand
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTaskProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContainerInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServicesByNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTaskDefinitionFamilies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTaskDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountSetting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountSettingDefault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutClusterCapacityProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterContainerInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterTaskDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RunTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SubmitAttachmentStateChanges
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SubmitContainerStateChange
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SubmitTaskStateChange
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCapacityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateClusterSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContainerAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContainerInstancesState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServicePrimaryTaskSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTaskProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTaskSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ECS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/plugins/endpoints.rb b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/plugins/endpoints.rb
index d89d2481f09..dc9f38b7a92 100644
--- a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/plugins/endpoints.rb
+++ b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
index e164bcbbd68..ab2d2c531e4 100644
--- a/gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
+++ b/gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
@@ -1035,7 +1035,7 @@ class Container < Struct.new(
# entered in the `links` of another container to connect the
# containers. Up to 255 letters (uppercase and lowercase), numbers,
# underscores, and hyphens are allowed. This parameter maps to `name`
- # in tthe docker conainer create command and the `--name` option to
+ # in the docker container create command and the `--name` option to
# docker run.
# @return [String]
#
@@ -1046,7 +1046,7 @@ class Container < Struct.new(
# repository-url/image:tag ` or ` repository-url/image@digest `. Up to
# 255 letters (uppercase and lowercase), numbers, hyphens,
# underscores, colons, periods, forward slashes, and number signs are
- # allowed. This parameter maps to `Image` in the docker conainer
+ # allowed. This parameter maps to `Image` in the docker container
# create command and the `IMAGE` parameter of docker run.
#
# * When a new task starts, the Amazon ECS container agent pulls the
@@ -1077,7 +1077,7 @@ class Container < Struct.new(
#
# @!attribute [rw] cpu
# The number of `cpu` units reserved for the container. This parameter
- # maps to `CpuShares` in the docker conainer create commandand the
+ # maps to `CpuShares` in the docker container create commandand the
# `--cpu-shares` option to docker run.
#
# This field is optional for tasks using the Fargate launch type, and
@@ -1142,9 +1142,8 @@ class Container < Struct.new(
# container attempts to exceed the memory specified here, the
# container is killed. The total amount of memory reserved for all
# containers within a task must be lower than the task `memory` value,
- # if one is specified. This parameter maps to `Memory` in thethe
- # docker conainer create command and the `--memory` option to docker
- # run.
+ # if one is specified. This parameter maps to `Memory` in the docker
+ # container create command and the `--memory` option to docker run.
#
# If using the Fargate launch type, this parameter is optional.
#
@@ -1172,9 +1171,8 @@ class Container < Struct.new(
# consume more memory when it needs to, up to either the hard limit
# specified with the `memory` parameter (if applicable), or all of the
# available memory on the container instance, whichever comes first.
- # This parameter maps to `MemoryReservation` in the the docker
- # conainer create command and the `--memory-reservation` option to
- # docker run.
+ # This parameter maps to `MemoryReservation` in the docker container
+ # create command and the `--memory-reservation` option to docker run.
#
# If a task-level memory value is not specified, you must specify a
# non-zero integer for one or both of `memory` or `memoryReservation`
@@ -1208,7 +1206,7 @@ class Container < Struct.new(
# `name:internalName` construct is analogous to `name:alias` in Docker
# links. Up to 255 letters (uppercase and lowercase), numbers,
# underscores, and hyphens are allowed.. This parameter maps to
- # `Links` in the docker conainer create command and the `--link`
+ # `Links` in the docker container create command and the `--link`
# option to docker run.
#
# This parameter is not supported for Windows containers.
@@ -1235,7 +1233,7 @@ class Container < Struct.new(
# so you can't access a container's mapped port from the host
# itself.
#
- # This parameter maps to `PortBindings` in the the docker conainer
+ # This parameter maps to `PortBindings` in the the docker container
# create command and the `--publish` option to docker run. If the
# network mode of a task definition is set to `none`, then you can't
# specify port mappings. If the network mode of a task definition is
@@ -1294,20 +1292,20 @@ class Container < Struct.new(
# arguments as `command` array items instead.
#
# The entry point that's passed to the container. This parameter maps
- # to `Entrypoint` in tthe docker conainer create command and the
+ # to `Entrypoint` in the docker container create command and the
# `--entrypoint` option to docker run.
# @return [Array]
#
# @!attribute [rw] command
# The command that's passed to the container. This parameter maps to
- # `Cmd` in the docker conainer create command and the `COMMAND`
+ # `Cmd` in the docker container create command and the `COMMAND`
# parameter to docker run. If there are multiple arguments, each
# argument is a separated string in the array.
# @return [Array]
#
# @!attribute [rw] environment
# The environment variables to pass to a container. This parameter
- # maps to `Env` in the docker conainer create command and the `--env`
+ # maps to `Env` in the docker container create command and the `--env`
# option to docker run.
#
# We don't recommend that you use plaintext environment variables for
@@ -1341,7 +1339,7 @@ class Container < Struct.new(
# @!attribute [rw] mount_points
# The mount points for data volumes in your container.
#
- # This parameter maps to `Volumes` in the the docker conainer create
+ # This parameter maps to `Volumes` in the docker container create
# command and the `--volume` option to docker run.
#
# Windows containers can mount whole directories on the same drive as
@@ -1351,7 +1349,7 @@ class Container < Struct.new(
#
# @!attribute [rw] volumes_from
# Data volumes to mount from another container. This parameter maps to
- # `VolumesFrom` in tthe docker conainer create command and the
+ # `VolumesFrom` in the docker container create command and the
# `--volumes-from` option to docker run.
# @return [Array]
#
@@ -1468,8 +1466,9 @@ class Container < Struct.new(
#
# * Windows platform version `1.0.0` or later.
#
- # The max stop timeout value is 120 seconds and if the parameter is
- # not specified, the default value of 30 seconds is used.
+ # For tasks that use the Fargate launch type, the max stop timeout
+ # value is 120 seconds and if the parameter is not specified, the
+ # default value of 30 seconds is used.
#
# For tasks that use the EC2 launch type, if the `stopTimeout`
# parameter isn't specified, the value set for the Amazon ECS
@@ -1491,7 +1490,7 @@ class Container < Struct.new(
# ECS-optimized Linux AMI][2] in the *Amazon Elastic Container Service
# Developer Guide*.
#
- # The valid values are 2-120 seconds.
+ # The valid values for Fargate are 2-120 seconds.
#
#
#
@@ -1501,7 +1500,7 @@ class Container < Struct.new(
#
# @!attribute [rw] hostname
# The hostname to use for your container. This parameter maps to
- # `Hostname` in thethe docker conainer create command and the
+ # `Hostname` in the docker container create command and the
# `--hostname` option to docker run.
#
# The `hostname` parameter is not supported if you're using the
@@ -1512,7 +1511,7 @@ class Container < Struct.new(
#
# @!attribute [rw] user
# The user to use inside the container. This parameter maps to `User`
- # in the docker conainer create command and the `--user` option to
+ # in the docker container create command and the `--user` option to
# docker run.
#
# When running tasks using the `host` network mode, don't run
@@ -1541,13 +1540,13 @@ class Container < Struct.new(
#
# @!attribute [rw] working_directory
# The working directory to run commands inside the container in. This
- # parameter maps to `WorkingDir` in the docker conainer create command
- # and the `--workdir` option to docker run.
+ # parameter maps to `WorkingDir` in the docker container create
+ # command and the `--workdir` option to docker run.
# @return [String]
#
# @!attribute [rw] disable_networking
# When this parameter is true, networking is off within the container.
- # This parameter maps to `NetworkDisabled` in the docker conainer
+ # This parameter maps to `NetworkDisabled` in the docker container
# create command.
#
# This parameter is not supported for Windows containers.
@@ -1558,8 +1557,8 @@ class Container < Struct.new(
# @!attribute [rw] privileged
# When this parameter is true, the container is given elevated
# privileges on the host container instance (similar to the `root`
- # user). This parameter maps to `Privileged` in the the docker
- # conainer create command and the `--privileged` option to docker run
+ # user). This parameter maps to `Privileged` in the docker container
+ # create command and the `--privileged` option to docker run
#
# This parameter is not supported for Windows containers or tasks run
# on Fargate.
@@ -1570,7 +1569,7 @@ class Container < Struct.new(
# @!attribute [rw] readonly_root_filesystem
# When this parameter is true, the container is given read-only access
# to its root file system. This parameter maps to `ReadonlyRootfs` in
- # the docker conainer create command and the `--read-only` option to
+ # the docker container create command and the `--read-only` option to
# docker run.
#
# This parameter is not supported for Windows containers.
@@ -1580,8 +1579,8 @@ class Container < Struct.new(
#
# @!attribute [rw] dns_servers
# A list of DNS servers that are presented to the container. This
- # parameter maps to `Dns` in the the docker conainer create command
- # and the `--dns` option to docker run.
+ # parameter maps to `Dns` in the docker container create command and
+ # the `--dns` option to docker run.
#
# This parameter is not supported for Windows containers.
#
@@ -1590,7 +1589,7 @@ class Container < Struct.new(
#
# @!attribute [rw] dns_search_domains
# A list of DNS search domains that are presented to the container.
- # This parameter maps to `DnsSearch` in the docker conainer create
+ # This parameter maps to `DnsSearch` in the docker container create
# command and the `--dns-search` option to docker run.
#
# This parameter is not supported for Windows containers.
@@ -1601,7 +1600,7 @@ class Container < Struct.new(
# @!attribute [rw] extra_hosts
# A list of hostnames and IP address mappings to append to the
# `/etc/hosts` file on the container. This parameter maps to
- # `ExtraHosts` in the docker conainer create command and the
+ # `ExtraHosts` in the docker container create command and the
# `--add-host` option to docker run.
#
# This parameter isn't supported for Windows containers or tasks that
@@ -1624,7 +1623,7 @@ class Container < Struct.new(
# Windows Containers][1] and [Using gMSAs for Linux Containers][2] in
# the *Amazon Elastic Container Service Developer Guide*.
#
- # This parameter maps to `SecurityOpt` in the docker conainer create
+ # This parameter maps to `SecurityOpt` in the docker container create
# command and the `--security-opt` option to docker run.
#
# The Amazon ECS container agent running on a container instance must
@@ -1649,19 +1648,19 @@ class Container < Struct.new(
# @!attribute [rw] interactive
# When this parameter is `true`, you can deploy containerized
# applications that require `stdin` or a `tty` to be allocated. This
- # parameter maps to `OpenStdin` in the docker conainer create command
+ # parameter maps to `OpenStdin` in the docker container create command
# and the `--interactive` option to docker run.
# @return [Boolean]
#
# @!attribute [rw] pseudo_terminal
# When this parameter is `true`, a TTY is allocated. This parameter
- # maps to `Tty` in tthe docker conainer create command and the `--tty`
+ # maps to `Tty` in the docker container create command and the `--tty`
# option to docker run.
# @return [Boolean]
#
# @!attribute [rw] docker_labels
# A key/value map of labels to add to the container. This parameter
- # maps to `Labels` in the docker conainer create command and the
+ # maps to `Labels` in the docker container create command and the
# `--label` option to docker run. This parameter requires version 1.18
# of the Docker Remote API or greater on your container instance. To
# check the Docker Remote API version on your container instance, log
@@ -1672,7 +1671,7 @@ class Container < Struct.new(
# @!attribute [rw] ulimits
# A list of `ulimits` to set in the container. If a `ulimit` value is
# specified in a task definition, it overrides the default values set
- # by Docker. This parameter maps to `Ulimits` in tthe docker conainer
+ # by Docker. This parameter maps to `Ulimits` in the docker container
# create command and the `--ulimit` option to docker run. Valid naming
# values are displayed in the [Ulimit][1] data type.
#
@@ -1701,7 +1700,7 @@ class Container < Struct.new(
# @!attribute [rw] log_configuration
# The log configuration specification for the container.
#
- # This parameter maps to `LogConfig` in the docker conainer create
+ # This parameter maps to `LogConfig` in the docker container create
# command and the `--log-driver` option to docker run. By default,
# containers use the same logging driver that the Docker daemon uses.
# However the container can use a different logging driver than the
@@ -1743,13 +1742,13 @@ class Container < Struct.new(
# @!attribute [rw] health_check
# The container health check command and associated configuration
# parameters for the container. This parameter maps to `HealthCheck`
- # in the docker conainer create command and the `HEALTHCHECK`
+ # in the docker container create command and the `HEALTHCHECK`
# parameter of docker run.
# @return [Types::HealthCheck]
#
# @!attribute [rw] system_controls
# A list of namespaced kernel parameters to set in the container. This
- # parameter maps to `Sysctls` in tthe docker conainer create command
+ # parameter maps to `Sysctls` in the docker container create command
# and the `--sysctl` option to docker run. For example, you can
# configure `net.ipv4.tcp_keepalive_time` setting to maintain longer
# lived connections.
@@ -3733,13 +3732,22 @@ class DeploymentCircuitBreaker < Struct.new(
# using the `REPLICA` service scheduler is 200%.
#
# If a service is using either the blue/green (`CODE_DEPLOY`) or
- # `EXTERNAL` deployment types and tasks that use the EC2 launch type,
- # the **maximum percent** value is set to the default value and is
- # used to define the upper limit on the number of the tasks in the
- # service that remain in the `RUNNING` state while the container
- # instances are in the `DRAINING` state. If the tasks in the service
- # use the Fargate launch type, the maximum percent value is not used,
- # although it is returned when describing your service.
+ # `EXTERNAL` deployment types, and tasks in the service use the EC2
+ # launch type, the **maximum percent** value is set to the default
+ # value. The **maximum percent** value is used to define the upper
+ # limit on the number of the tasks in the service that remain in the
+ # `RUNNING` state while the container instances are in the `DRAINING`
+ # state.
+ #
+ # You can't specify a custom `maximumPercent` value for a service
+ # that uses either the blue/green (`CODE_DEPLOY`) or `EXTERNAL`
+ # deployment types and has tasks that use the EC2 launch type.
+ #
+ #
+ #
+ # If the tasks in the service use the Fargate launch type, the maximum
+ # percent value is not used, although it is returned when describing
+ # your service.
# @return [Integer]
#
# @!attribute [rw] minimum_healthy_percent
@@ -3800,13 +3808,22 @@ class DeploymentCircuitBreaker < Struct.new(
# If a service is using either the blue/green (`CODE_DEPLOY`) or
# `EXTERNAL` deployment types and is running tasks that use the EC2
# launch type, the **minimum healthy percent** value is set to the
- # default value and is used to define the lower limit on the number of
- # the tasks in the service that remain in the `RUNNING` state while
- # the container instances are in the `DRAINING` state. If a service is
- # using either the blue/green (`CODE_DEPLOY`) or `EXTERNAL` deployment
- # types and is running tasks that use the Fargate launch type, the
- # minimum healthy percent value is not used, although it is returned
- # when describing your service.
+ # default value. The **minimum healthy percent** value is used to
+ # define the lower limit on the number of the tasks in the service
+ # that remain in the `RUNNING` state while the container instances are
+ # in the `DRAINING` state.
+ #
+ # You can't specify a custom `minimumHealthyPercent` value for a
+ # service that uses either the blue/green (`CODE_DEPLOY`) or
+ # `EXTERNAL` deployment types and has tasks that use the EC2 launch
+ # type.
+ #
+ #
+ #
+ # If a service is using either the blue/green (`CODE_DEPLOY`) or
+ # `EXTERNAL` deployment types and is running tasks that use the
+ # Fargate launch type, the minimum healthy percent value is not used,
+ # although it is returned when describing your service.
# @return [Integer]
#
# @!attribute [rw] alarms
@@ -4461,7 +4478,7 @@ class DiscoverPollEndpointResponse < Struct.new(
# use `docker plugin ls` to retrieve the driver name from your
# container instance. If the driver was installed using another
# method, use Docker plugin discovery to retrieve the driver name.
- # This parameter maps to `Driver` in the docker conainer create
+ # This parameter maps to `Driver` in the docker container create
# command and the `xxdriver` option to docker volume create.
# @return [String]
#
@@ -4473,7 +4490,7 @@ class DiscoverPollEndpointResponse < Struct.new(
#
# @!attribute [rw] labels
# Custom metadata to add to your Docker volume. This parameter maps to
- # `Labels` in the docker conainer create command and the `xxlabel`
+ # `Labels` in the docker container create command and the `xxlabel`
# option to docker volume create.
# @return [Hash]
#
@@ -5202,8 +5219,8 @@ class GetTaskProtectionResponse < Struct.new(
# ` CMD-SHELL, curl -f http://localhost/ || exit 1`
#
# An exit code of 0 indicates success, and non-zero exit code
- # indicates failure. For more information, see `HealthCheck` in tthe
- # docker conainer create command
+ # indicates failure. For more information, see `HealthCheck` in the
+ # docker container create command
# @return [Array]
#
# @!attribute [rw] interval
@@ -5410,7 +5427,7 @@ class InvalidParameterException < Aws::EmptyStructure; end
# @!attribute [rw] add
# The Linux capabilities for the container that have been added to the
# default configuration provided by Docker. This parameter maps to
- # `CapAdd` in the docker conainer create command and the `--cap-add`
+ # `CapAdd` in the docker container create command and the `--cap-add`
# option to docker run.
#
# Tasks launched on Fargate only support adding the `SYS_PTRACE`
@@ -5432,8 +5449,8 @@ class InvalidParameterException < Aws::EmptyStructure; end
# @!attribute [rw] drop
# The Linux capabilities for the container that have been removed from
# the default configuration provided by Docker. This parameter maps to
- # `CapDrop` in the docker conainer create command and the `--cap-drop`
- # option to docker run.
+ # `CapDrop` in the docker container create command and the
+ # `--cap-drop` option to docker run.
#
# Valid values: `"ALL" | "AUDIT_CONTROL" | "AUDIT_WRITE" |
# "BLOCK_SUSPEND" | "CHOWN" | "DAC_OVERRIDE" | "DAC_READ_SEARCH" |
@@ -5502,7 +5519,7 @@ class LimitExceededException < Aws::EmptyStructure; end
#
# @!attribute [rw] devices
# Any host devices to expose to the container. This parameter maps to
- # `Devices` in tthe docker conainer create command and the `--device`
+ # `Devices` in the docker container create command and the `--device`
# option to docker run.
#
# If you're using tasks that use the Fargate launch type, the
@@ -6433,7 +6450,7 @@ class LoadBalancer < Struct.new(
end
# The log configuration for the container. This parameter maps to
- # `LogConfig` in the docker conainer create command and the
+ # `LogConfig` in the docker container create command and the
# `--log-driver` option to docker run.
#
# By default, containers use the same logging driver that the Docker
@@ -7022,7 +7039,7 @@ class PlatformUnknownException < Aws::EmptyStructure; end
# can be left blank or it must be the same value as the `containerPort`.
#
# Most fields of this parameter (`containerPort`, `hostPort`,
- # `protocol`) maps to `PortBindings` in the docker conainer create
+ # `protocol`) maps to `PortBindings` in the docker container create
# command and the `--publish` option to `docker run`. If the network
# mode of a task definition is set to `host`, host ports must either be
# undefined or match the container port in the port mapping.
@@ -7521,9 +7538,6 @@ class PutAccountSettingDefaultResponse < Struct.new(
# mode][3]. For more information on using IPv6 with tasks launched
# on Fargate, see [Using a VPC in dual-stack mode][4].
#
- # * `fargateFIPSMode` - If you specify `fargateFIPSMode`, Fargate FIPS
- # 140 compliance is affected.
- #
# * `fargateTaskRetirementWaitPeriod` - When Amazon Web Services
# determines that a security or infrastructure update is needed for
# an Amazon ECS task hosted on Fargate, the tasks need to be stopped
@@ -9175,7 +9189,7 @@ class ServiceConnectClientAlias < Struct.new(
#
# @!attribute [rw] log_configuration
# The log configuration for the container. This parameter maps to
- # `LogConfig` in the docker conainer create command and the
+ # `LogConfig` in the docker container create command and the
# `--log-driver` option to docker run.
#
# By default, containers use the same logging driver that the Docker
@@ -10158,7 +10172,7 @@ class SubmitTaskStateChangeResponse < Struct.new(
end
# A list of namespaced kernel parameters to set in the container. This
- # parameter maps to `Sysctls` in tthe docker conainer create command and
+ # parameter maps to `Sysctls` in the docker container create command and
# the `--sysctl` option to docker run. For example, you can configure
# `net.ipv4.tcp_keepalive_time` setting to maintain longer lived
# connections.
@@ -10888,8 +10902,8 @@ class Task < Struct.new(
# @return [Array]
#
# @!attribute [rw] compatibilities
- # The task launch types the task definition validated against during
- # task definition registration. For more information, see [Amazon ECS
+ # Amazon ECS validates the task definition parameters with those
+ # supported by the launch type. For more information, see [Amazon ECS
# launch types][1] in the *Amazon Elastic Container Service Developer
# Guide*.
#
@@ -11849,11 +11863,15 @@ class Tmpfs < Struct.new(
# @return [String]
#
# @!attribute [rw] soft_limit
- # The soft limit for the `ulimit` type.
+ # The soft limit for the `ulimit` type. The value can be specified in
+ # bytes, seconds, or as a count, depending on the `type` of the
+ # `ulimit`.
# @return [Integer]
#
# @!attribute [rw] hard_limit
- # The hard limit for the `ulimit` type.
+ # The hard limit for the `ulimit` type. The value can be specified in
+ # bytes, seconds, or as a count, depending on the `type` of the
+ # `ulimit`.
# @return [Integer]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ecs-2014-11-13/Ulimit AWS API Documentation
diff --git a/gems/aws-sdk-ecs/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ecs/spec/endpoint_provider_spec.rb
index 78ad3ff0532..2f26fd6fde6 100644
--- a/gems/aws-sdk-ecs/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ecs/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ECS
describe EndpointProvider do
subject { Aws::ECS::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ECS
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ECS
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ECS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ECS
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ECS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ECS
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ECS
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ECS
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ECS
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ECS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ECS
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ECS
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ECS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ECS
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ECS
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ECS
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ECS
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ECS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ECS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ECS
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ECS
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ECS
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ECS
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ECS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ECS
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ECS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::ECS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ECS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ECS
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ECS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ECS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ECS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ECS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ECS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ECS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ECS
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::ECS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::ECS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ECS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::ECS
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::ECS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::ECS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::ECS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::ECS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::ECS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::ECS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ecs-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::ECS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::ECS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ECS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::ECS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::ECS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::ECS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-efs/CHANGELOG.md b/gems/aws-sdk-efs/CHANGELOG.md
index 87ffb48bd39..46f71b07041 100644
--- a/gems/aws-sdk-efs/CHANGELOG.md
+++ b/gems/aws-sdk-efs/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.82.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.81.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-efs/VERSION b/gems/aws-sdk-efs/VERSION
index dbd41264aa9..71fae54fb27 100644
--- a/gems/aws-sdk-efs/VERSION
+++ b/gems/aws-sdk-efs/VERSION
@@ -1 +1 @@
-1.81.0
+1.82.0
diff --git a/gems/aws-sdk-efs/aws-sdk-efs.gemspec b/gems/aws-sdk-efs/aws-sdk-efs.gemspec
index 40face5b4dc..f9363ee9d0b 100644
--- a/gems/aws-sdk-efs/aws-sdk-efs.gemspec
+++ b/gems/aws-sdk-efs/aws-sdk-efs.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-efs/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-efs/lib/aws-sdk-efs.rb b/gems/aws-sdk-efs/lib/aws-sdk-efs.rb
index 0e63e8967c5..7f2af0b5434 100644
--- a/gems/aws-sdk-efs/lib/aws-sdk-efs.rb
+++ b/gems/aws-sdk-efs/lib/aws-sdk-efs.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::EFS
- GEM_VERSION = '1.81.0'
+ GEM_VERSION = '1.82.0'
end
diff --git a/gems/aws-sdk-efs/lib/aws-sdk-efs/client.rb b/gems/aws-sdk-efs/lib/aws-sdk-efs/client.rb
index 6a8167c37e1..49ee8cbbe41 100644
--- a/gems/aws-sdk-efs/lib/aws-sdk-efs/client.rb
+++ b/gems/aws-sdk-efs/lib/aws-sdk-efs/client.rb
@@ -2915,7 +2915,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-efs'
- context[:gem_version] = '1.81.0'
+ context[:gem_version] = '1.82.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-efs/lib/aws-sdk-efs/endpoints.rb b/gems/aws-sdk-efs/lib/aws-sdk-efs/endpoints.rb
index b2e7745fe75..7fb8ef7528e 100644
--- a/gems/aws-sdk-efs/lib/aws-sdk-efs/endpoints.rb
+++ b/gems/aws-sdk-efs/lib/aws-sdk-efs/endpoints.rb
@@ -14,434 +14,341 @@ module Endpoints
class CreateAccessPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFileSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMountTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccessPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFileSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFileSystemPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMountTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccessPoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBackupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFileSystemPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFileSystems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLifecycleConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMountTargetSecurityGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMountTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyMountTargetSecurityGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutBackupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFileSystemPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLifecycleConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFileSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFileSystemProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EFS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-efs/lib/aws-sdk-efs/plugins/endpoints.rb b/gems/aws-sdk-efs/lib/aws-sdk-efs/plugins/endpoints.rb
index a1f69729cd7..22ae453ef97 100644
--- a/gems/aws-sdk-efs/lib/aws-sdk-efs/plugins/endpoints.rb
+++ b/gems/aws-sdk-efs/lib/aws-sdk-efs/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-efs/spec/endpoint_provider_spec.rb b/gems/aws-sdk-efs/spec/endpoint_provider_spec.rb
index 8dc8ac6ab44..3cc001e7f91 100644
--- a/gems/aws-sdk-efs/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-efs/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::EFS
describe EndpointProvider do
subject { Aws::EFS::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::EFS
end
end
- context 'For region af-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.af-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::EFS
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.ap-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::EFS
end
end
- context 'For region ap-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.ap-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::EFS
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.ap-northeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::EFS
end
end
- context 'For region ap-northeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.ap-northeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::EFS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.ap-northeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::EFS
end
end
- context 'For region ap-northeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.ap-northeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::EFS
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.ap-northeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::EFS
end
end
- context 'For region ap-northeast-3 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.ap-northeast-3.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::EFS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.ap-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::EFS
end
end
- context 'For region ap-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.ap-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::EFS
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.ap-southeast-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::EFS
end
end
- context 'For region ap-southeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.ap-southeast-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::EFS
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.ap-southeast-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::EFS
end
end
- context 'For region ap-southeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.ap-southeast-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::EFS
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.ap-southeast-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::EFS
end
end
- context 'For region ap-southeast-3 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.ap-southeast-3.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::EFS
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.ca-central-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::EFS
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.ca-central-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::EFS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.eu-central-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::EFS
end
end
- context 'For region eu-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.eu-central-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::EFS
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.eu-north-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::EFS
end
end
- context 'For region eu-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.eu-north-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::EFS
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.eu-south-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::EFS
end
end
- context 'For region eu-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.eu-south-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::EFS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.eu-west-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::EFS
end
end
- context 'For region eu-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.eu-west-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::EFS
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.eu-west-2.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::EFS
end
end
- context 'For region eu-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.eu-west-2.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::EFS
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.eu-west-3.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::EFS
end
end
- context 'For region eu-west-3 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.eu-west-3.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::EFS
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.me-south-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::EFS
end
end
- context 'For region me-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.me-south-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::EFS
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.sa-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::EFS
end
end
- context 'For region sa-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.sa-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::EFS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.us-east-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::EFS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.us-east-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::EFS
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.us-east-2.amazonaws.com"}}
end
@@ -560,7 +560,7 @@ module Aws::EFS
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.us-east-2.amazonaws.com"}}
end
@@ -574,7 +574,7 @@ module Aws::EFS
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.us-west-1.amazonaws.com"}}
end
@@ -588,7 +588,7 @@ module Aws::EFS
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.us-west-1.amazonaws.com"}}
end
@@ -602,7 +602,7 @@ module Aws::EFS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.us-west-2.amazonaws.com"}}
end
@@ -616,7 +616,7 @@ module Aws::EFS
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.us-west-2.amazonaws.com"}}
end
@@ -630,7 +630,7 @@ module Aws::EFS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.us-east-1.api.aws"}}
end
@@ -644,7 +644,7 @@ module Aws::EFS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.us-east-1.api.aws"}}
end
@@ -658,7 +658,7 @@ module Aws::EFS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.cn-north-1.amazonaws.com.cn"}}
end
@@ -672,7 +672,7 @@ module Aws::EFS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -686,7 +686,7 @@ module Aws::EFS
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -700,7 +700,7 @@ module Aws::EFS
end
end
- context 'For region cn-northwest-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -714,7 +714,7 @@ module Aws::EFS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -728,7 +728,7 @@ module Aws::EFS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -742,7 +742,7 @@ module Aws::EFS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.us-gov-east-1.amazonaws.com"}}
end
@@ -756,7 +756,7 @@ module Aws::EFS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -770,7 +770,7 @@ module Aws::EFS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.us-gov-west-1.amazonaws.com"}}
end
@@ -784,7 +784,7 @@ module Aws::EFS
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -798,7 +798,7 @@ module Aws::EFS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.us-gov-east-1.api.aws"}}
end
@@ -812,7 +812,7 @@ module Aws::EFS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.us-gov-east-1.api.aws"}}
end
@@ -826,7 +826,7 @@ module Aws::EFS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.us-iso-east-1.c2s.ic.gov"}}
end
@@ -840,7 +840,7 @@ module Aws::EFS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -854,7 +854,7 @@ module Aws::EFS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -867,7 +867,7 @@ module Aws::EFS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -880,7 +880,7 @@ module Aws::EFS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -894,7 +894,7 @@ module Aws::EFS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticfilesystem-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -908,7 +908,7 @@ module Aws::EFS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -921,7 +921,7 @@ module Aws::EFS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -934,7 +934,7 @@ module Aws::EFS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -948,7 +948,7 @@ module Aws::EFS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -962,7 +962,7 @@ module Aws::EFS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -975,7 +975,7 @@ module Aws::EFS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -988,7 +988,7 @@ module Aws::EFS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-eks/CHANGELOG.md b/gems/aws-sdk-eks/CHANGELOG.md
index 6579668c702..7a16e1fafd9 100644
--- a/gems/aws-sdk-eks/CHANGELOG.md
+++ b/gems/aws-sdk-eks/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.115.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.114.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-eks/VERSION b/gems/aws-sdk-eks/VERSION
index 14e09db94e7..97ee99fccc8 100644
--- a/gems/aws-sdk-eks/VERSION
+++ b/gems/aws-sdk-eks/VERSION
@@ -1 +1 @@
-1.114.0
+1.115.0
diff --git a/gems/aws-sdk-eks/aws-sdk-eks.gemspec b/gems/aws-sdk-eks/aws-sdk-eks.gemspec
index 50fc99b17fb..03da91e8a71 100644
--- a/gems/aws-sdk-eks/aws-sdk-eks.gemspec
+++ b/gems/aws-sdk-eks/aws-sdk-eks.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-eks/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-eks/lib/aws-sdk-eks.rb b/gems/aws-sdk-eks/lib/aws-sdk-eks.rb
index e52c78ce2ec..75ce0087806 100644
--- a/gems/aws-sdk-eks/lib/aws-sdk-eks.rb
+++ b/gems/aws-sdk-eks/lib/aws-sdk-eks.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::EKS
- GEM_VERSION = '1.114.0'
+ GEM_VERSION = '1.115.0'
end
diff --git a/gems/aws-sdk-eks/lib/aws-sdk-eks/client.rb b/gems/aws-sdk-eks/lib/aws-sdk-eks/client.rb
index cc7e15c8139..03c8c200cb9 100644
--- a/gems/aws-sdk-eks/lib/aws-sdk-eks/client.rb
+++ b/gems/aws-sdk-eks/lib/aws-sdk-eks/client.rb
@@ -5126,7 +5126,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-eks'
- context[:gem_version] = '1.114.0'
+ context[:gem_version] = '1.115.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-eks/lib/aws-sdk-eks/endpoints.rb b/gems/aws-sdk-eks/lib/aws-sdk-eks/endpoints.rb
index f70bc7376e9..c34a912e864 100644
--- a/gems/aws-sdk-eks/lib/aws-sdk-eks/endpoints.rb
+++ b/gems/aws-sdk-eks/lib/aws-sdk-eks/endpoints.rb
@@ -14,784 +14,616 @@ module Endpoints
class AssociateAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateEncryptionConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateIdentityProviderConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccessEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAddon
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEksAnywhereSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFargateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNodegroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePodIdentityAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccessEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAddon
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEksAnywhereSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFargateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNodegroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePodIdentityAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccessEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAddon
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAddonConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAddonVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEksAnywhereSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFargateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIdentityProviderConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInsight
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNodegroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePodIdentityAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateIdentityProviderConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessEntries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAddons
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociatedAccessPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEksAnywhereSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFargateProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentityProviderConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNodegroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPodIdentityAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUpdates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccessEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAddon
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateClusterConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateClusterVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEksAnywhereSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNodegroupConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNodegroupVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePodIdentityAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-eks/lib/aws-sdk-eks/plugins/endpoints.rb b/gems/aws-sdk-eks/lib/aws-sdk-eks/plugins/endpoints.rb
index e32067bbbfb..26110be9b32 100644
--- a/gems/aws-sdk-eks/lib/aws-sdk-eks/plugins/endpoints.rb
+++ b/gems/aws-sdk-eks/lib/aws-sdk-eks/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-eks/spec/endpoint_provider_spec.rb b/gems/aws-sdk-eks/spec/endpoint_provider_spec.rb
index 8f668353bda..5ef8e50513e 100644
--- a/gems/aws-sdk-eks/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-eks/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::EKS
describe EndpointProvider do
subject { Aws::EKS::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::EKS
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::EKS
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::EKS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::EKS
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::EKS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::EKS
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::EKS
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::EKS
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::EKS
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::EKS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::EKS
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::EKS
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::EKS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::EKS
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::EKS
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::EKS
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::EKS
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::EKS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::EKS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.eks.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::EKS
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::EKS
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.eks.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::EKS
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::EKS
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.eks.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::EKS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::EKS
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.eks.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::EKS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::EKS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::EKS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::EKS
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::EKS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::EKS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::EKS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::EKS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::EKS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::EKS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::EKS
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::EKS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::EKS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::EKS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::EKS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -587,7 +587,7 @@ module Aws::EKS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -601,7 +601,7 @@ module Aws::EKS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -614,7 +614,7 @@ module Aws::EKS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -628,7 +628,7 @@ module Aws::EKS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -641,7 +641,7 @@ module Aws::EKS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -655,7 +655,7 @@ module Aws::EKS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -668,7 +668,7 @@ module Aws::EKS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::EKS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::EKS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::EKS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::EKS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-eksauth/CHANGELOG.md b/gems/aws-sdk-eksauth/CHANGELOG.md
index be4af06df63..1516c86ff24 100644
--- a/gems/aws-sdk-eksauth/CHANGELOG.md
+++ b/gems/aws-sdk-eksauth/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.11.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.10.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-eksauth/VERSION b/gems/aws-sdk-eksauth/VERSION
index 81c871de46b..1cac385c6cb 100644
--- a/gems/aws-sdk-eksauth/VERSION
+++ b/gems/aws-sdk-eksauth/VERSION
@@ -1 +1 @@
-1.10.0
+1.11.0
diff --git a/gems/aws-sdk-eksauth/aws-sdk-eksauth.gemspec b/gems/aws-sdk-eksauth/aws-sdk-eksauth.gemspec
index 13aead5f222..1c9e1dcd486 100644
--- a/gems/aws-sdk-eksauth/aws-sdk-eksauth.gemspec
+++ b/gems/aws-sdk-eksauth/aws-sdk-eksauth.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-eksauth/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth.rb b/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth.rb
index e553160b22f..82e23f08679 100644
--- a/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth.rb
+++ b/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::EKSAuth
- GEM_VERSION = '1.10.0'
+ GEM_VERSION = '1.11.0'
end
diff --git a/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/client.rb b/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/client.rb
index 6fac94cc537..1835ac34dd1 100644
--- a/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/client.rb
+++ b/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/client.rb
@@ -513,7 +513,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-eksauth'
- context[:gem_version] = '1.10.0'
+ context[:gem_version] = '1.11.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/endpoints.rb b/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/endpoints.rb
index 44c532771ee..66e52014d40 100644
--- a/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/endpoints.rb
+++ b/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/endpoints.rb
@@ -14,13 +14,10 @@ module Endpoints
class AssumeRoleForPodIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EKSAuth::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/plugins/endpoints.rb b/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/plugins/endpoints.rb
index 9f77499ff51..199559a956c 100644
--- a/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/plugins/endpoints.rb
+++ b/gems/aws-sdk-eksauth/lib/aws-sdk-eksauth/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-eksauth/spec/endpoint_provider_spec.rb b/gems/aws-sdk-eksauth/spec/endpoint_provider_spec.rb
index 66971435b75..d83d332afd6 100644
--- a/gems/aws-sdk-eksauth/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-eksauth/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::EKSAuth
describe EndpointProvider do
subject { Aws::EKSAuth::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-auth-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::EKSAuth
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-auth.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::EKSAuth
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-auth-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -56,7 +56,7 @@ module Aws::EKSAuth
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-auth.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -70,7 +70,7 @@ module Aws::EKSAuth
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-auth-fips.us-gov-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::EKSAuth
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eks-auth.us-gov-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::EKSAuth
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -112,7 +112,7 @@ module Aws::EKSAuth
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -126,7 +126,7 @@ module Aws::EKSAuth
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -139,7 +139,7 @@ module Aws::EKSAuth
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-elasticache/CHANGELOG.md b/gems/aws-sdk-elasticache/CHANGELOG.md
index c46fd8646a9..43a397016c8 100644
--- a/gems/aws-sdk-elasticache/CHANGELOG.md
+++ b/gems/aws-sdk-elasticache/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.112.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.111.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-elasticache/VERSION b/gems/aws-sdk-elasticache/VERSION
index d313a193da0..628cac6f078 100644
--- a/gems/aws-sdk-elasticache/VERSION
+++ b/gems/aws-sdk-elasticache/VERSION
@@ -1 +1 @@
-1.111.0
+1.112.0
diff --git a/gems/aws-sdk-elasticache/aws-sdk-elasticache.gemspec b/gems/aws-sdk-elasticache/aws-sdk-elasticache.gemspec
index ecc3d23c210..257c1ed6c38 100644
--- a/gems/aws-sdk-elasticache/aws-sdk-elasticache.gemspec
+++ b/gems/aws-sdk-elasticache/aws-sdk-elasticache.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-elasticache/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache.rb b/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache.rb
index e911b1dd9ae..3316f8ebf9c 100644
--- a/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache.rb
+++ b/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::ElastiCache
- GEM_VERSION = '1.111.0'
+ GEM_VERSION = '1.112.0'
end
diff --git a/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/client.rb b/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/client.rb
index 0c824423f5e..e1587569213 100644
--- a/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/client.rb
+++ b/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/client.rb
@@ -11396,7 +11396,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-elasticache'
- context[:gem_version] = '1.111.0'
+ context[:gem_version] = '1.112.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/endpoints.rb b/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/endpoints.rb
index 0b1fbea8d80..a0f9337a1cb 100644
--- a/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/endpoints.rb
+++ b/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/endpoints.rb
@@ -14,1050 +14,825 @@ module Endpoints
class AddTagsToResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeCacheSecurityGroupIngress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchApplyUpdateAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchStopUpdateAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CompleteMigration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyServerlessCacheSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopySnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCacheCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCacheParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCacheSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCacheSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGlobalReplicationGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplicationGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServerlessCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServerlessCacheSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DecreaseNodeGroupsInGlobalReplicationGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DecreaseReplicaCount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCacheCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCacheParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCacheSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCacheSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGlobalReplicationGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicationGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServerlessCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServerlessCacheSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCacheClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCacheEngineVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCacheParameterGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCacheParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCacheSecurityGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCacheSubnetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEngineDefaultParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGlobalReplicationGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedCacheNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedCacheNodesOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServerlessCacheSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServerlessCaches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServiceUpdates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUpdateActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUserGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateGlobalReplicationGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportServerlessCacheSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FailoverGlobalReplicationGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class IncreaseNodeGroupsInGlobalReplicationGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class IncreaseReplicaCount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAllowedNodeTypeModifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCacheCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCacheParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCacheSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyGlobalReplicationGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyReplicationGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyReplicationGroupShardConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyServerlessCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyUserGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseReservedCacheNodesOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebalanceSlotsInGlobalReplicationGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootCacheCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetCacheParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeCacheSecurityGroupIngress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMigration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestFailover
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestMigration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElastiCache::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/plugins/endpoints.rb b/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/plugins/endpoints.rb
index 34ab055eda5..9676dcda450 100644
--- a/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/plugins/endpoints.rb
+++ b/gems/aws-sdk-elasticache/lib/aws-sdk-elasticache/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-elasticache/spec/endpoint_provider_spec.rb b/gems/aws-sdk-elasticache/spec/endpoint_provider_spec.rb
index 81dbe31e160..4dc1612481b 100644
--- a/gems/aws-sdk-elasticache/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-elasticache/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ElastiCache
describe EndpointProvider do
subject { Aws::ElastiCache::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ElastiCache
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ElastiCache
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ElastiCache
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ElastiCache
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ElastiCache
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ElastiCache
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ElastiCache
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ElastiCache
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ElastiCache
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ElastiCache
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ElastiCache
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ElastiCache
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ElastiCache
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ElastiCache
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ElastiCache
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ElastiCache
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ElastiCache
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ElastiCache
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ElastiCache
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ElastiCache
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ElastiCache
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ElastiCache
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache-fips.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-gov-east-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticache-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::ElastiCache
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::ElastiCache
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ElastiCache
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::ElastiCache
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::ElastiCache
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::ElastiCache
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-elasticbeanstalk/CHANGELOG.md b/gems/aws-sdk-elasticbeanstalk/CHANGELOG.md
index 68b5fb9f8ec..d33c548ea4d 100644
--- a/gems/aws-sdk-elasticbeanstalk/CHANGELOG.md
+++ b/gems/aws-sdk-elasticbeanstalk/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.76.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.75.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-elasticbeanstalk/VERSION b/gems/aws-sdk-elasticbeanstalk/VERSION
index 7c7053aa238..32a6ce3c719 100644
--- a/gems/aws-sdk-elasticbeanstalk/VERSION
+++ b/gems/aws-sdk-elasticbeanstalk/VERSION
@@ -1 +1 @@
-1.75.0
+1.76.0
diff --git a/gems/aws-sdk-elasticbeanstalk/aws-sdk-elasticbeanstalk.gemspec b/gems/aws-sdk-elasticbeanstalk/aws-sdk-elasticbeanstalk.gemspec
index 46ab194c2bf..542231bfc53 100644
--- a/gems/aws-sdk-elasticbeanstalk/aws-sdk-elasticbeanstalk.gemspec
+++ b/gems/aws-sdk-elasticbeanstalk/aws-sdk-elasticbeanstalk.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-elasticbeanstalk/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk.rb b/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk.rb
index b9196dbf018..d40375269b2 100644
--- a/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk.rb
+++ b/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::ElasticBeanstalk
- GEM_VERSION = '1.75.0'
+ GEM_VERSION = '1.76.0'
end
diff --git a/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/client.rb b/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/client.rb
index dd58af1b530..2a7838b1e1e 100644
--- a/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/client.rb
+++ b/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/client.rb
@@ -4622,7 +4622,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-elasticbeanstalk'
- context[:gem_version] = '1.75.0'
+ context[:gem_version] = '1.76.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/endpoints.rb b/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/endpoints.rb
index 8331008c6bf..7e07a3baa52 100644
--- a/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/endpoints.rb
+++ b/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/endpoints.rb
@@ -14,658 +14,517 @@ module Endpoints
class AbortEnvironmentUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ApplyEnvironmentManagedAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateEnvironmentOperationsRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckDNSAvailability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ComposeEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplicationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePlatformVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStorageLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironmentConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePlatformVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicationVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurationOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurationSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEnvironmentHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEnvironmentManagedActionHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEnvironmentManagedActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEnvironmentResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstancesHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePlatformVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateEnvironmentOperationsRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAvailableSolutionStacks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPlatformBranches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPlatformVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebuildEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RequestEnvironmentInfo
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestartAppServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetrieveEnvironmentInfo
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SwapEnvironmentCNAMEs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplicationResourceLifecycle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplicationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateConfigurationSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticBeanstalk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/plugins/endpoints.rb b/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/plugins/endpoints.rb
index 67f45b948d4..548c974cbfe 100644
--- a/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/plugins/endpoints.rb
+++ b/gems/aws-sdk-elasticbeanstalk/lib/aws-sdk-elasticbeanstalk/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-elasticbeanstalk/spec/endpoint_provider_spec.rb b/gems/aws-sdk-elasticbeanstalk/spec/endpoint_provider_spec.rb
index dd2d546ee79..8e2d60cfca7 100644
--- a/gems/aws-sdk-elasticbeanstalk/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-elasticbeanstalk/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ElasticBeanstalk
describe EndpointProvider do
subject { Aws::ElasticBeanstalk::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticbeanstalk.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::ElasticBeanstalk
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-elasticinference/CHANGELOG.md b/gems/aws-sdk-elasticinference/CHANGELOG.md
index 3cf09546d04..f0274e3c704 100644
--- a/gems/aws-sdk-elasticinference/CHANGELOG.md
+++ b/gems/aws-sdk-elasticinference/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.44.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.43.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-elasticinference/VERSION b/gems/aws-sdk-elasticinference/VERSION
index b978278f05f..372cf402c73 100644
--- a/gems/aws-sdk-elasticinference/VERSION
+++ b/gems/aws-sdk-elasticinference/VERSION
@@ -1 +1 @@
-1.43.0
+1.44.0
diff --git a/gems/aws-sdk-elasticinference/aws-sdk-elasticinference.gemspec b/gems/aws-sdk-elasticinference/aws-sdk-elasticinference.gemspec
index 525987d8c19..daa2802aba9 100644
--- a/gems/aws-sdk-elasticinference/aws-sdk-elasticinference.gemspec
+++ b/gems/aws-sdk-elasticinference/aws-sdk-elasticinference.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-elasticinference/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference.rb b/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference.rb
index d7e3e437ccb..740e71bbc59 100644
--- a/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference.rb
+++ b/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ElasticInference
- GEM_VERSION = '1.43.0'
+ GEM_VERSION = '1.44.0'
end
diff --git a/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb b/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb
index a2388fd191b..eec7e5174dc 100644
--- a/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb
+++ b/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/client.rb
@@ -728,7 +728,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-elasticinference'
- context[:gem_version] = '1.43.0'
+ context[:gem_version] = '1.44.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/endpoints.rb b/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/endpoints.rb
index 69d712b731a..80dcc565a82 100644
--- a/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/endpoints.rb
+++ b/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/endpoints.rb
@@ -14,84 +14,66 @@ module Endpoints
class DescribeAcceleratorOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticInference::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAcceleratorTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticInference::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccelerators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticInference::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticInference::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticInference::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticInference::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/plugins/endpoints.rb b/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/plugins/endpoints.rb
index cc00ae46c37..9b90f998ea5 100644
--- a/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/plugins/endpoints.rb
+++ b/gems/aws-sdk-elasticinference/lib/aws-sdk-elasticinference/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-elasticinference/spec/endpoint_provider_spec.rb b/gems/aws-sdk-elasticinference/spec/endpoint_provider_spec.rb
index f6eda348406..d1a51d2b0fa 100644
--- a/gems/aws-sdk-elasticinference/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-elasticinference/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ElasticInference
describe EndpointProvider do
subject { Aws::ElasticInference::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ElasticInference
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ElasticInference
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.eu-west-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.us-east-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.us-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference-fips.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference-fips.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ElasticInference
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::ElasticInference
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::ElasticInference
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::ElasticInference
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.cn-north-1.amazonaws.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference-fips.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -265,7 +265,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -279,7 +279,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -292,7 +292,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.us-iso-east-1.c2s.ic.gov"}}
end
@@ -306,7 +306,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -319,7 +319,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -333,7 +333,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -346,7 +346,7 @@ module Aws::ElasticInference
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.elastic-inference.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -360,7 +360,7 @@ module Aws::ElasticInference
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::ElasticInference
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::ElasticInference
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -401,7 +401,7 @@ module Aws::ElasticInference
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -414,7 +414,7 @@ module Aws::ElasticInference
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-elasticloadbalancing/CHANGELOG.md b/gems/aws-sdk-elasticloadbalancing/CHANGELOG.md
index 180558a1a4f..6b9c97ceb60 100644
--- a/gems/aws-sdk-elasticloadbalancing/CHANGELOG.md
+++ b/gems/aws-sdk-elasticloadbalancing/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.64.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.63.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-elasticloadbalancing/VERSION b/gems/aws-sdk-elasticloadbalancing/VERSION
index af92bdd9f58..9405730420f 100644
--- a/gems/aws-sdk-elasticloadbalancing/VERSION
+++ b/gems/aws-sdk-elasticloadbalancing/VERSION
@@ -1 +1 @@
-1.63.0
+1.64.0
diff --git a/gems/aws-sdk-elasticloadbalancing/aws-sdk-elasticloadbalancing.gemspec b/gems/aws-sdk-elasticloadbalancing/aws-sdk-elasticloadbalancing.gemspec
index 707862feaf4..cfb9c7b75dd 100644
--- a/gems/aws-sdk-elasticloadbalancing/aws-sdk-elasticloadbalancing.gemspec
+++ b/gems/aws-sdk-elasticloadbalancing/aws-sdk-elasticloadbalancing.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-elasticloadbalancing/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing.rb b/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing.rb
index 719d6bf62af..e63497062bb 100644
--- a/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing.rb
+++ b/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::ElasticLoadBalancing
- GEM_VERSION = '1.63.0'
+ GEM_VERSION = '1.64.0'
end
diff --git a/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/client.rb b/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/client.rb
index f17fa9ecd8c..e50638a4b46 100644
--- a/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/client.rb
+++ b/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/client.rb
@@ -2733,7 +2733,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-elasticloadbalancing'
- context[:gem_version] = '1.63.0'
+ context[:gem_version] = '1.64.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/endpoints.rb b/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/endpoints.rb
index ed6e7971806..c7b70265fe7 100644
--- a/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/endpoints.rb
+++ b/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/endpoints.rb
@@ -14,406 +14,319 @@ module Endpoints
class AddTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ApplySecurityGroupsToLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachLoadBalancerToSubnets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfigureHealthCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppCookieStickinessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLBCookieStickinessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLoadBalancerListeners
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLoadBalancerPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoadBalancerListeners
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoadBalancerPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterInstancesFromLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoadBalancerAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoadBalancerPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoadBalancerPolicyTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoadBalancers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachLoadBalancerFromSubnets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableAvailabilityZonesForLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableAvailabilityZonesForLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyLoadBalancerAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterInstancesWithLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetLoadBalancerListenerSSLCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetLoadBalancerPoliciesForBackendServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetLoadBalancerPoliciesOfListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/plugins/endpoints.rb b/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/plugins/endpoints.rb
index 2ca90bc3a0f..c40f8554886 100644
--- a/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/plugins/endpoints.rb
+++ b/gems/aws-sdk-elasticloadbalancing/lib/aws-sdk-elasticloadbalancing/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-elasticloadbalancing/spec/endpoint_provider_spec.rb b/gems/aws-sdk-elasticloadbalancing/spec/endpoint_provider_spec.rb
index 63dc9fa032f..c0c6837ee55 100644
--- a/gems/aws-sdk-elasticloadbalancing/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-elasticloadbalancing/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ElasticLoadBalancing
describe EndpointProvider do
subject { Aws::ElasticLoadBalancing::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::ElasticLoadBalancing
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-elasticloadbalancingv2/CHANGELOG.md b/gems/aws-sdk-elasticloadbalancingv2/CHANGELOG.md
index 5b5cce53e49..c2764d8514e 100644
--- a/gems/aws-sdk-elasticloadbalancingv2/CHANGELOG.md
+++ b/gems/aws-sdk-elasticloadbalancingv2/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.114.0 (2024-09-12)
+------------------
+
+* Feature - Correct incorrectly mapped error in ELBv2 waiters
+
+1.113.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.112.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-elasticloadbalancingv2/VERSION b/gems/aws-sdk-elasticloadbalancingv2/VERSION
index 628cac6f078..14e09db94e7 100644
--- a/gems/aws-sdk-elasticloadbalancingv2/VERSION
+++ b/gems/aws-sdk-elasticloadbalancingv2/VERSION
@@ -1 +1 @@
-1.112.0
+1.114.0
diff --git a/gems/aws-sdk-elasticloadbalancingv2/aws-sdk-elasticloadbalancingv2.gemspec b/gems/aws-sdk-elasticloadbalancingv2/aws-sdk-elasticloadbalancingv2.gemspec
index ef84b0f2ea1..40755c65cd2 100644
--- a/gems/aws-sdk-elasticloadbalancingv2/aws-sdk-elasticloadbalancingv2.gemspec
+++ b/gems/aws-sdk-elasticloadbalancingv2/aws-sdk-elasticloadbalancingv2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-elasticloadbalancingv2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2.rb b/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2.rb
index d7554f35217..790af8b5f62 100644
--- a/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2.rb
+++ b/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::ElasticLoadBalancingV2
- GEM_VERSION = '1.112.0'
+ GEM_VERSION = '1.114.0'
end
diff --git a/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/client.rb b/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/client.rb
index b171539ec6b..b84897285cd 100644
--- a/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/client.rb
+++ b/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/client.rb
@@ -5088,7 +5088,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-elasticloadbalancingv2'
- context[:gem_version] = '1.112.0'
+ context[:gem_version] = '1.114.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/endpoints.rb b/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/endpoints.rb
index 0431a7d6535..2d7c7d883a0 100644
--- a/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/endpoints.rb
+++ b/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/endpoints.rb
@@ -14,672 +14,528 @@ module Endpoints
class AddListenerCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTrustStoreRevocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTargetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrustStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSharedTrustStoreAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTargetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrustStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeListenerAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeListenerCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeListeners
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoadBalancerAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoadBalancers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSSLPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTargetGroupAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTargetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTargetHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrustStoreAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrustStoreRevocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrustStores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrustStoreCaCertificatesBundle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrustStoreRevocationContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyListenerAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyLoadBalancerAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyTargetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyTargetGroupAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyTrustStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveListenerCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTrustStoreRevocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetIpAddressType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetRulePriorities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetSecurityGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetSubnets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticLoadBalancingV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/plugins/endpoints.rb b/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/plugins/endpoints.rb
index 844512533b1..36b36fe3538 100644
--- a/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/plugins/endpoints.rb
+++ b/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/waiters.rb b/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/waiters.rb
index 4bad4694274..74ffa22515a 100644
--- a/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/waiters.rb
+++ b/gems/aws-sdk-elasticloadbalancingv2/lib/aws-sdk-elasticloadbalancingv2/waiters.rb
@@ -108,7 +108,7 @@ def initialize(options)
{
"state" => "retry",
"matcher" => "error",
- "expected" => "LoadBalancerNotFoundException"
+ "expected" => "LoadBalancerNotFound"
}
]
)
@@ -149,7 +149,7 @@ def initialize(options)
},
{
"matcher" => "error",
- "expected" => "LoadBalancerNotFoundException",
+ "expected" => "LoadBalancerNotFound",
"state" => "retry"
}
]
@@ -192,7 +192,7 @@ def initialize(options)
},
{
"matcher" => "error",
- "expected" => "LoadBalancerNotFoundException",
+ "expected" => "LoadBalancerNotFound",
"state" => "success"
}
]
diff --git a/gems/aws-sdk-elasticloadbalancingv2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-elasticloadbalancingv2/spec/endpoint_provider_spec.rb
index 7e1e81030a2..77c688ff820 100644
--- a/gems/aws-sdk-elasticloadbalancingv2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-elasticloadbalancingv2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ElasticLoadBalancingV2
describe EndpointProvider do
subject { Aws::ElasticLoadBalancingV2::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticloadbalancing-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::ElasticLoadBalancingV2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-elasticsearchservice/CHANGELOG.md b/gems/aws-sdk-elasticsearchservice/CHANGELOG.md
index 6383e147db0..8da088d782c 100644
--- a/gems/aws-sdk-elasticsearchservice/CHANGELOG.md
+++ b/gems/aws-sdk-elasticsearchservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.92.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.91.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-elasticsearchservice/VERSION b/gems/aws-sdk-elasticsearchservice/VERSION
index 6979a6c0661..7f229af9647 100644
--- a/gems/aws-sdk-elasticsearchservice/VERSION
+++ b/gems/aws-sdk-elasticsearchservice/VERSION
@@ -1 +1 @@
-1.91.0
+1.92.0
diff --git a/gems/aws-sdk-elasticsearchservice/aws-sdk-elasticsearchservice.gemspec b/gems/aws-sdk-elasticsearchservice/aws-sdk-elasticsearchservice.gemspec
index 493a4e0b81d..407cf488f70 100644
--- a/gems/aws-sdk-elasticsearchservice/aws-sdk-elasticsearchservice.gemspec
+++ b/gems/aws-sdk-elasticsearchservice/aws-sdk-elasticsearchservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-elasticsearchservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice.rb b/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice.rb
index 3a3649f2d8e..20629d836f8 100644
--- a/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice.rb
+++ b/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ElasticsearchService
- GEM_VERSION = '1.91.0'
+ GEM_VERSION = '1.92.0'
end
diff --git a/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/client.rb b/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/client.rb
index c33355cb1b3..db21be3201d 100644
--- a/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/client.rb
+++ b/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/client.rb
@@ -3482,7 +3482,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-elasticsearchservice'
- context[:gem_version] = '1.91.0'
+ context[:gem_version] = '1.92.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/endpoints.rb b/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/endpoints.rb
index 818e427bc4e..a3b45808e2b 100644
--- a/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/endpoints.rb
+++ b/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/endpoints.rb
@@ -14,714 +14,561 @@ module Endpoints
class AcceptInboundCrossClusterSearchConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociatePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeVpcEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelDomainConfigChange
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelElasticsearchServiceSoftwareUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateElasticsearchDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOutboundCrossClusterSearchConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteElasticsearchDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteElasticsearchServiceRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInboundCrossClusterSearchConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOutboundCrossClusterSearchConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomainAutoTunes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomainChangeProgress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeElasticsearchDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeElasticsearchDomainConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeElasticsearchDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeElasticsearchInstanceTypeLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInboundCrossClusterSearchConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOutboundCrossClusterSearchConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedElasticsearchInstanceOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedElasticsearchInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DissociatePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCompatibleElasticsearchVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPackageVersionHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUpgradeHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUpgradeStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainNames
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainsForPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListElasticsearchInstanceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListElasticsearchVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackagesForDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVpcEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVpcEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVpcEndpointsForDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseReservedElasticsearchInstanceOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectInboundCrossClusterSearchConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeVpcEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartElasticsearchServiceSoftwareUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateElasticsearchDomainConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpgradeElasticsearchDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticsearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/plugins/endpoints.rb b/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/plugins/endpoints.rb
index da73dbc0643..3895dce3ccd 100644
--- a/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-elasticsearchservice/lib/aws-sdk-elasticsearchservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-elasticsearchservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-elasticsearchservice/spec/endpoint_provider_spec.rb
index abdcf1e6213..74891da77a8 100644
--- a/gems/aws-sdk-elasticsearchservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-elasticsearchservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ElasticsearchService
describe EndpointProvider do
subject { Aws::ElasticsearchService::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aos.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aos.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aos.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::ElasticsearchService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::ElasticsearchService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ElasticsearchService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::ElasticsearchService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::ElasticsearchService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::ElasticsearchService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-elastictranscoder/CHANGELOG.md b/gems/aws-sdk-elastictranscoder/CHANGELOG.md
index 4dfa51495dd..32c5059ebb6 100644
--- a/gems/aws-sdk-elastictranscoder/CHANGELOG.md
+++ b/gems/aws-sdk-elastictranscoder/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.60.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.59.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-elastictranscoder/VERSION b/gems/aws-sdk-elastictranscoder/VERSION
index bb120e876c6..4d5fde5bd16 100644
--- a/gems/aws-sdk-elastictranscoder/VERSION
+++ b/gems/aws-sdk-elastictranscoder/VERSION
@@ -1 +1 @@
-1.59.0
+1.60.0
diff --git a/gems/aws-sdk-elastictranscoder/aws-sdk-elastictranscoder.gemspec b/gems/aws-sdk-elastictranscoder/aws-sdk-elastictranscoder.gemspec
index 233b8864d69..ca726cd6096 100644
--- a/gems/aws-sdk-elastictranscoder/aws-sdk-elastictranscoder.gemspec
+++ b/gems/aws-sdk-elastictranscoder/aws-sdk-elastictranscoder.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-elastictranscoder/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder.rb b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder.rb
index af54bc5f8a8..49a21364983 100644
--- a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder.rb
+++ b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::ElasticTranscoder
- GEM_VERSION = '1.59.0'
+ GEM_VERSION = '1.60.0'
end
diff --git a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client.rb b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client.rb
index d5d5337753f..fe90b22cac9 100644
--- a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client.rb
+++ b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/client.rb
@@ -3112,7 +3112,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-elastictranscoder'
- context[:gem_version] = '1.59.0'
+ context[:gem_version] = '1.60.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/endpoints.rb b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/endpoints.rb
index dcf25762ac4..45905cabd9a 100644
--- a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/endpoints.rb
+++ b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/endpoints.rb
@@ -14,238 +14,187 @@ module Endpoints
class CancelJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePreset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePreset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobsByPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobsByStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPresets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReadJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReadPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReadPreset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePipelineNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePipelineStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ElasticTranscoder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/plugins/endpoints.rb b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/plugins/endpoints.rb
index 9f6c5d84d44..b378e36d119 100644
--- a/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/plugins/endpoints.rb
+++ b/gems/aws-sdk-elastictranscoder/lib/aws-sdk-elastictranscoder/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-elastictranscoder/spec/endpoint_provider_spec.rb b/gems/aws-sdk-elastictranscoder/spec/endpoint_provider_spec.rb
index ba4095449f3..b74381e546c 100644
--- a/gems/aws-sdk-elastictranscoder/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-elastictranscoder/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ElasticTranscoder
describe EndpointProvider do
subject { Aws::ElasticTranscoder::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.ap-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.eu-west-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.us-west-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.us-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder-fips.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder-fips.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder-fips.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.us-gov-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -293,7 +293,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -307,7 +307,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -320,7 +320,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.us-iso-east-1.c2s.ic.gov"}}
end
@@ -334,7 +334,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -347,7 +347,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -361,7 +361,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -374,7 +374,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elastictranscoder.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -388,7 +388,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -416,7 +416,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -429,7 +429,7 @@ module Aws::ElasticTranscoder
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -442,7 +442,7 @@ module Aws::ElasticTranscoder
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-emr/CHANGELOG.md b/gems/aws-sdk-emr/CHANGELOG.md
index 6b0052fa6bf..bef12f08325 100644
--- a/gems/aws-sdk-emr/CHANGELOG.md
+++ b/gems/aws-sdk-emr/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.96.0 (2024-09-12)
+------------------
+
+* Feature - Update APIs to allow modification of ODCR options, allocation strategy, and InstanceTypeConfigs on running InstanceFleet clusters.
+
+1.95.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.94.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-emr/VERSION b/gems/aws-sdk-emr/VERSION
index 8db4a57b3d0..9141007a558 100644
--- a/gems/aws-sdk-emr/VERSION
+++ b/gems/aws-sdk-emr/VERSION
@@ -1 +1 @@
-1.94.0
+1.96.0
diff --git a/gems/aws-sdk-emr/aws-sdk-emr.gemspec b/gems/aws-sdk-emr/aws-sdk-emr.gemspec
index 20f19d4152b..992ccc17aab 100644
--- a/gems/aws-sdk-emr/aws-sdk-emr.gemspec
+++ b/gems/aws-sdk-emr/aws-sdk-emr.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-emr/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-emr/features/smoke.feature b/gems/aws-sdk-emr/features/smoke.feature
new file mode 100644
index 00000000000..e50b47ad991
--- /dev/null
+++ b/gems/aws-sdk-emr/features/smoke.feature
@@ -0,0 +1,32 @@
+# WARNING ABOUT GENERATED CODE
+#
+# This file is generated. See the contributing guide for more information:
+# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
+#
+# WARNING ABOUT GENERATED CODE
+
+Feature: Smoke tests for EMR
+
+ @emr @smoke
+ Scenario: ListClustersSuccess
+ Given I create a 'Aws::EMR' client with config:
+ """
+{"region":"us-west-2"}
+ """
+ When I call the operation 'list_clusters' with params:
+ """
+{}
+ """
+ Then I expect an error was not raised
+
+ @emr @smoke
+ Scenario: DescribeClusterFailure
+ Given I create a 'Aws::EMR' client with config:
+ """
+{"region":"us-west-2"}
+ """
+ When I call the operation 'describe_cluster' with params:
+ """
+{"cluster_id":"fake_cluster"}
+ """
+ Then I expect an error was raised
diff --git a/gems/aws-sdk-emr/lib/aws-sdk-emr.rb b/gems/aws-sdk-emr/lib/aws-sdk-emr.rb
index bd0d861e11e..95fbe24baa8 100644
--- a/gems/aws-sdk-emr/lib/aws-sdk-emr.rb
+++ b/gems/aws-sdk-emr/lib/aws-sdk-emr.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::EMR
- GEM_VERSION = '1.94.0'
+ GEM_VERSION = '1.96.0'
end
diff --git a/gems/aws-sdk-emr/lib/aws-sdk-emr/client.rb b/gems/aws-sdk-emr/lib/aws-sdk-emr/client.rb
index e76f951341c..caa4c81e6a8 100644
--- a/gems/aws-sdk-emr/lib/aws-sdk-emr/client.rb
+++ b/gems/aws-sdk-emr/lib/aws-sdk-emr/client.rb
@@ -531,10 +531,17 @@ def initialize(*args)
# },
# resize_specifications: {
# spot_resize_specification: {
- # timeout_duration_minutes: 1, # required
+ # timeout_duration_minutes: 1,
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified, capacity-optimized-prioritized
# },
# on_demand_resize_specification: {
- # timeout_duration_minutes: 1, # required
+ # timeout_duration_minutes: 1,
+ # allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
+ # capacity_reservation_options: {
+ # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
+ # capacity_reservation_preference: "open", # accepts open, none
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
+ # },
# },
# },
# },
@@ -2048,7 +2055,12 @@ def list_clusters(params = {}, options = {})
# resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
# resp.instance_fleets[0].launch_specifications.on_demand_specification.capacity_reservation_options.capacity_reservation_resource_group_arn #=> String
# resp.instance_fleets[0].resize_specifications.spot_resize_specification.timeout_duration_minutes #=> Integer
+ # resp.instance_fleets[0].resize_specifications.spot_resize_specification.allocation_strategy #=> String, one of "capacity-optimized", "price-capacity-optimized", "lowest-price", "diversified", "capacity-optimized-prioritized"
# resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.timeout_duration_minutes #=> Integer
+ # resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.allocation_strategy #=> String, one of "lowest-price", "prioritized"
+ # resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.capacity_reservation_options.usage_strategy #=> String, one of "use-capacity-reservations-first"
+ # resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.capacity_reservation_options.capacity_reservation_preference #=> String, one of "open", "none"
+ # resp.instance_fleets[0].resize_specifications.on_demand_resize_specification.capacity_reservation_options.capacity_reservation_resource_group_arn #=> String
# resp.marker #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/ListInstanceFleets AWS API Documentation
@@ -2716,12 +2728,54 @@ def modify_cluster(params = {}, options = {})
# target_spot_capacity: 1,
# resize_specifications: {
# spot_resize_specification: {
- # timeout_duration_minutes: 1, # required
+ # timeout_duration_minutes: 1,
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified, capacity-optimized-prioritized
# },
# on_demand_resize_specification: {
- # timeout_duration_minutes: 1, # required
+ # timeout_duration_minutes: 1,
+ # allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
+ # capacity_reservation_options: {
+ # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
+ # capacity_reservation_preference: "open", # accepts open, none
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
+ # },
# },
# },
+ # instance_type_configs: [
+ # {
+ # instance_type: "InstanceType", # required
+ # weighted_capacity: 1,
+ # bid_price: "XmlStringMaxLen256",
+ # bid_price_as_percentage_of_on_demand_price: 1.0,
+ # ebs_configuration: {
+ # ebs_block_device_configs: [
+ # {
+ # volume_specification: { # required
+ # volume_type: "String", # required
+ # iops: 1,
+ # size_in_gb: 1, # required
+ # throughput: 1,
+ # },
+ # volumes_per_instance: 1,
+ # },
+ # ],
+ # ebs_optimized: false,
+ # },
+ # configurations: [
+ # {
+ # classification: "String",
+ # configurations: {
+ # # recursive ConfigurationList
+ # },
+ # properties: {
+ # "String" => "String",
+ # },
+ # },
+ # ],
+ # custom_ami_id: "XmlStringMaxLen256",
+ # priority: 1.0,
+ # },
+ # ],
# },
# })
#
@@ -3584,10 +3638,17 @@ def remove_tags(params = {}, options = {})
# },
# resize_specifications: {
# spot_resize_specification: {
- # timeout_duration_minutes: 1, # required
+ # timeout_duration_minutes: 1,
+ # allocation_strategy: "capacity-optimized", # accepts capacity-optimized, price-capacity-optimized, lowest-price, diversified, capacity-optimized-prioritized
# },
# on_demand_resize_specification: {
- # timeout_duration_minutes: 1, # required
+ # timeout_duration_minutes: 1,
+ # allocation_strategy: "lowest-price", # accepts lowest-price, prioritized
+ # capacity_reservation_options: {
+ # usage_strategy: "use-capacity-reservations-first", # accepts use-capacity-reservations-first
+ # capacity_reservation_preference: "open", # accepts open, none
+ # capacity_reservation_resource_group_arn: "XmlStringMaxLen256",
+ # },
# },
# },
# },
@@ -4207,7 +4268,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-emr'
- context[:gem_version] = '1.94.0'
+ context[:gem_version] = '1.96.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-emr/lib/aws-sdk-emr/client_api.rb b/gems/aws-sdk-emr/lib/aws-sdk-emr/client_api.rb
index 3a8b56bd03a..83835225c58 100644
--- a/gems/aws-sdk-emr/lib/aws-sdk-emr/client_api.rb
+++ b/gems/aws-sdk-emr/lib/aws-sdk-emr/client_api.rb
@@ -798,6 +798,7 @@ module ClientApi
InstanceFleetModifyConfig.add_member(:target_on_demand_capacity, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TargetOnDemandCapacity"))
InstanceFleetModifyConfig.add_member(:target_spot_capacity, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TargetSpotCapacity"))
InstanceFleetModifyConfig.add_member(:resize_specifications, Shapes::ShapeRef.new(shape: InstanceFleetResizingSpecifications, location_name: "ResizeSpecifications"))
+ InstanceFleetModifyConfig.add_member(:instance_type_configs, Shapes::ShapeRef.new(shape: InstanceTypeConfigList, location_name: "InstanceTypeConfigs"))
InstanceFleetModifyConfig.struct_class = Types::InstanceFleetModifyConfig
InstanceFleetProvisioningSpecifications.add_member(:spot_specification, Shapes::ShapeRef.new(shape: SpotProvisioningSpecification, location_name: "SpotSpecification"))
@@ -1228,7 +1229,9 @@ module ClientApi
OnDemandProvisioningSpecification.add_member(:capacity_reservation_options, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationOptions, location_name: "CapacityReservationOptions"))
OnDemandProvisioningSpecification.struct_class = Types::OnDemandProvisioningSpecification
- OnDemandResizingSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, required: true, location_name: "TimeoutDurationMinutes"))
+ OnDemandResizingSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TimeoutDurationMinutes"))
+ OnDemandResizingSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: OnDemandProvisioningAllocationStrategy, location_name: "AllocationStrategy"))
+ OnDemandResizingSpecification.add_member(:capacity_reservation_options, Shapes::ShapeRef.new(shape: OnDemandCapacityReservationOptions, location_name: "CapacityReservationOptions"))
OnDemandResizingSpecification.struct_class = Types::OnDemandResizingSpecification
OutputNotebookS3LocationForOutput.add_member(:bucket, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "Bucket"))
@@ -1433,7 +1436,8 @@ module ClientApi
SpotProvisioningSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotProvisioningAllocationStrategy, location_name: "AllocationStrategy"))
SpotProvisioningSpecification.struct_class = Types::SpotProvisioningSpecification
- SpotResizingSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, required: true, location_name: "TimeoutDurationMinutes"))
+ SpotResizingSpecification.add_member(:timeout_duration_minutes, Shapes::ShapeRef.new(shape: WholeNumber, location_name: "TimeoutDurationMinutes"))
+ SpotResizingSpecification.add_member(:allocation_strategy, Shapes::ShapeRef.new(shape: SpotProvisioningAllocationStrategy, location_name: "AllocationStrategy"))
SpotResizingSpecification.struct_class = Types::SpotResizingSpecification
StartNotebookExecutionInput.add_member(:editor_id, Shapes::ShapeRef.new(shape: XmlStringMaxLen256, location_name: "EditorId"))
diff --git a/gems/aws-sdk-emr/lib/aws-sdk-emr/endpoints.rb b/gems/aws-sdk-emr/lib/aws-sdk-emr/endpoints.rb
index 87c62a5faa9..d83c68b0550 100644
--- a/gems/aws-sdk-emr/lib/aws-sdk-emr/endpoints.rb
+++ b/gems/aws-sdk-emr/lib/aws-sdk-emr/endpoints.rb
@@ -14,784 +14,616 @@ module Endpoints
class AddInstanceFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddInstanceGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddJobFlowSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSecurityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStudio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStudioSessionMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSecurityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStudio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStudioSessionMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobFlows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNotebookExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReleaseLabel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSecurityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStep
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStudio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAutoTerminationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBlockPublicAccessConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetClusterSessionCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetManagedScalingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStudioSessionMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBootstrapActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstanceFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstanceGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNotebookExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReleaseLabels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStudioSessionMappings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStudios
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSupportedInstanceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstanceFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyInstanceGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAutoScalingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAutoTerminationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutBlockPublicAccessConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutManagedScalingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveAutoScalingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveAutoTerminationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveManagedScalingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RunJobFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetKeepJobFlowAliveWhenNoSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetTerminationProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetUnhealthyNodeReplacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetVisibleToAllUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartNotebookExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopNotebookExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateJobFlows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStudio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStudioSessionMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMR::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-emr/lib/aws-sdk-emr/plugins/endpoints.rb b/gems/aws-sdk-emr/lib/aws-sdk-emr/plugins/endpoints.rb
index 289958de6c2..c97f206e6ea 100644
--- a/gems/aws-sdk-emr/lib/aws-sdk-emr/plugins/endpoints.rb
+++ b/gems/aws-sdk-emr/lib/aws-sdk-emr/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb b/gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb
index 131f7e3d648..ed4c3c0b188 100644
--- a/gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb
+++ b/gems/aws-sdk-emr/lib/aws-sdk-emr/types.rb
@@ -2507,20 +2507,30 @@ class InstanceFleetConfig < Struct.new(
# The resize specification for the instance fleet.
# @return [Types::InstanceFleetResizingSpecifications]
#
+ # @!attribute [rw] instance_type_configs
+ # An array of InstanceTypeConfig objects that specify how Amazon EMR
+ # provisions Amazon EC2 instances when it fulfills On-Demand and Spot
+ # capacities. For more information, see [InstanceTypeConfig][1].
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/emr/latest/APIReference/API_InstanceTypeConfig.html
+ # @return [Array]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetModifyConfig AWS API Documentation
#
class InstanceFleetModifyConfig < Struct.new(
:instance_fleet_id,
:target_on_demand_capacity,
:target_spot_capacity,
- :resize_specifications)
+ :resize_specifications,
+ :instance_type_configs)
SENSITIVE = []
include Aws::Structure
end
- # The launch specification for Spot Instances in the fleet, which
- # determines the defined duration, provisioning timeout behavior, and
- # allocation strategy.
+ # The launch specification for On-Demand and Spot Instances in the
+ # fleet.
#
# The instance fleet configuration is available only in Amazon EMR
# releases 4.8.0 and later, excluding 5.0.x versions. On-Demand and Spot
@@ -2531,13 +2541,14 @@ class InstanceFleetModifyConfig < Struct.new(
#
# @!attribute [rw] spot_specification
# The launch specification for Spot instances in the fleet, which
- # determines the defined duration, provisioning timeout behavior, and
- # allocation strategy.
+ # determines the allocation strategy, defined duration, and
+ # provisioning timeout behavior.
# @return [Types::SpotProvisioningSpecification]
#
# @!attribute [rw] on_demand_specification
# The launch specification for On-Demand Instances in the instance
- # fleet, which determines the allocation strategy.
+ # fleet, which determines the allocation strategy and capacity
+ # reservation options.
#
# The instance fleet configuration is available only in Amazon EMR
# releases 4.8.0 and later, excluding 5.0.x versions. On-Demand
@@ -2561,12 +2572,14 @@ class InstanceFleetProvisioningSpecifications < Struct.new(
#
# @!attribute [rw] spot_resize_specification
# The resize specification for Spot Instances in the instance fleet,
- # which contains the resize timeout period.
+ # which contains the allocation strategy and the resize timeout
+ # period.
# @return [Types::SpotResizingSpecification]
#
# @!attribute [rw] on_demand_resize_specification
# The resize specification for On-Demand Instances in the instance
- # fleet, which contains the resize timeout period.
+ # fleet, which contains the allocation strategy, capacity reservation
+ # options, and the resize timeout period.
# @return [Types::OnDemandResizingSpecification]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/InstanceFleetResizingSpecifications AWS API Documentation
@@ -4921,10 +4934,22 @@ class OnDemandProvisioningSpecification < Struct.new(
# by Amazon EMR due to Amazon EC2 Spot Reclamation.
# @return [Integer]
#
+ # @!attribute [rw] allocation_strategy
+ # Specifies the allocation strategy to use to launch On-Demand
+ # instances during a resize. The default is `lowest-price`.
+ # @return [String]
+ #
+ # @!attribute [rw] capacity_reservation_options
+ # Describes the strategy for using unused Capacity Reservations for
+ # fulfilling On-Demand capacity.
+ # @return [Types::OnDemandCapacityReservationOptions]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/OnDemandResizingSpecification AWS API Documentation
#
class OnDemandResizingSpecification < Struct.new(
- :timeout_duration_minutes)
+ :timeout_duration_minutes,
+ :allocation_strategy,
+ :capacity_reservation_options)
SENSITIVE = []
include Aws::Structure
end
@@ -6164,10 +6189,18 @@ class SpotProvisioningSpecification < Struct.new(
# Spot Reclamation.
# @return [Integer]
#
+ # @!attribute [rw] allocation_strategy
+ # Specifies the allocation strategy to use to launch Spot instances
+ # during a resize. If you run Amazon EMR releases 6.9.0 or higher, the
+ # default is `price-capacity-optimized`. If you run Amazon EMR
+ # releases 6.8.0 or lower, the default is `capacity-optimized`.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce-2009-03-31/SpotResizingSpecification AWS API Documentation
#
class SpotResizingSpecification < Struct.new(
- :timeout_duration_minutes)
+ :timeout_duration_minutes,
+ :allocation_strategy)
SENSITIVE = []
include Aws::Structure
end
diff --git a/gems/aws-sdk-emr/sig/client.rbs b/gems/aws-sdk-emr/sig/client.rbs
index 11c10792269..07c1ccff786 100644
--- a/gems/aws-sdk-emr/sig/client.rbs
+++ b/gems/aws-sdk-emr/sig/client.rbs
@@ -138,10 +138,17 @@ module Aws
}?,
resize_specifications: {
spot_resize_specification: {
- timeout_duration_minutes: ::Integer
+ timeout_duration_minutes: ::Integer?,
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
}?,
on_demand_resize_specification: {
- timeout_duration_minutes: ::Integer
+ timeout_duration_minutes: ::Integer?,
+ allocation_strategy: ("lowest-price" | "prioritized")?,
+ capacity_reservation_options: {
+ usage_strategy: ("use-capacity-reservations-first")?,
+ capacity_reservation_preference: ("open" | "none")?,
+ capacity_reservation_resource_group_arn: ::String?
+ }?
}?
}?
}
@@ -679,12 +686,50 @@ module Aws
target_spot_capacity: ::Integer?,
resize_specifications: {
spot_resize_specification: {
- timeout_duration_minutes: ::Integer
+ timeout_duration_minutes: ::Integer?,
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
}?,
on_demand_resize_specification: {
- timeout_duration_minutes: ::Integer
+ timeout_duration_minutes: ::Integer?,
+ allocation_strategy: ("lowest-price" | "prioritized")?,
+ capacity_reservation_options: {
+ usage_strategy: ("use-capacity-reservations-first")?,
+ capacity_reservation_preference: ("open" | "none")?,
+ capacity_reservation_resource_group_arn: ::String?
+ }?
}?
- }?
+ }?,
+ instance_type_configs: Array[
+ {
+ instance_type: ::String,
+ weighted_capacity: ::Integer?,
+ bid_price: ::String?,
+ bid_price_as_percentage_of_on_demand_price: ::Float?,
+ ebs_configuration: {
+ ebs_block_device_configs: Array[
+ {
+ volume_specification: {
+ volume_type: ::String,
+ iops: ::Integer?,
+ size_in_gb: ::Integer,
+ throughput: ::Integer?
+ },
+ volumes_per_instance: ::Integer?
+ },
+ ]?,
+ ebs_optimized: bool?
+ }?,
+ configurations: Array[
+ {
+ classification: ::String?,
+ configurations: untyped?,
+ properties: Hash[::String, ::String]?
+ },
+ ]?,
+ custom_ami_id: ::String?,
+ priority: ::Float?
+ },
+ ]?
}
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
@@ -997,10 +1042,17 @@ module Aws
}?,
resize_specifications: {
spot_resize_specification: {
- timeout_duration_minutes: ::Integer
+ timeout_duration_minutes: ::Integer?,
+ allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")?
}?,
on_demand_resize_specification: {
- timeout_duration_minutes: ::Integer
+ timeout_duration_minutes: ::Integer?,
+ allocation_strategy: ("lowest-price" | "prioritized")?,
+ capacity_reservation_options: {
+ usage_strategy: ("use-capacity-reservations-first")?,
+ capacity_reservation_preference: ("open" | "none")?,
+ capacity_reservation_resource_group_arn: ::String?
+ }?
}?
}?
},
diff --git a/gems/aws-sdk-emr/sig/types.rbs b/gems/aws-sdk-emr/sig/types.rbs
index 93c5add89f2..01431b8bbeb 100644
--- a/gems/aws-sdk-emr/sig/types.rbs
+++ b/gems/aws-sdk-emr/sig/types.rbs
@@ -579,6 +579,7 @@ module Aws::EMR
attr_accessor target_on_demand_capacity: ::Integer
attr_accessor target_spot_capacity: ::Integer
attr_accessor resize_specifications: Types::InstanceFleetResizingSpecifications
+ attr_accessor instance_type_configs: ::Array[Types::InstanceTypeConfig]
SENSITIVE: []
end
@@ -1105,6 +1106,8 @@ module Aws::EMR
class OnDemandResizingSpecification
attr_accessor timeout_duration_minutes: ::Integer
+ attr_accessor allocation_strategy: ("lowest-price" | "prioritized")
+ attr_accessor capacity_reservation_options: Types::OnDemandCapacityReservationOptions
SENSITIVE: []
end
@@ -1371,6 +1374,7 @@ module Aws::EMR
class SpotResizingSpecification
attr_accessor timeout_duration_minutes: ::Integer
+ attr_accessor allocation_strategy: ("capacity-optimized" | "price-capacity-optimized" | "lowest-price" | "diversified" | "capacity-optimized-prioritized")
SENSITIVE: []
end
diff --git a/gems/aws-sdk-emr/spec/endpoint_provider_spec.rb b/gems/aws-sdk-emr/spec/endpoint_provider_spec.rb
index 645c6b7e70c..a533b83aa37 100644
--- a/gems/aws-sdk-emr/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-emr/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::EMR
describe EndpointProvider do
subject { Aws::EMR::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::EMR
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::EMR
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::EMR
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::EMR
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::EMR
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::EMR
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::EMR
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::EMR
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::EMR
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::EMR
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::EMR
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::EMR
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::EMR
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::EMR
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::EMR
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::EMR
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::EMR
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::EMR
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::EMR
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::EMR
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::EMR
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::EMR
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::EMR
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::EMR
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::EMR
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::EMR
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::EMR
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::EMR
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::EMR
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::EMR
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::EMR
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::EMR
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::EMR
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::EMR
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::EMR
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::EMR
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::EMR
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::EMR
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::EMR
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::EMR
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-iso-east-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::EMR
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-iso-west-1.c2s.ic.gov"}}
end
@@ -602,7 +602,7 @@ module Aws::EMR
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -615,7 +615,7 @@ module Aws::EMR
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -629,7 +629,7 @@ module Aws::EMR
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -642,7 +642,7 @@ module Aws::EMR
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -656,7 +656,7 @@ module Aws::EMR
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -669,7 +669,7 @@ module Aws::EMR
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://elasticmapreduce-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -683,7 +683,7 @@ module Aws::EMR
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -696,7 +696,7 @@ module Aws::EMR
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::EMR
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -724,7 +724,7 @@ module Aws::EMR
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -737,7 +737,7 @@ module Aws::EMR
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -750,7 +750,7 @@ module Aws::EMR
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-emrcontainers/CHANGELOG.md b/gems/aws-sdk-emrcontainers/CHANGELOG.md
index 23d127a8226..a38b9061bcd 100644
--- a/gems/aws-sdk-emrcontainers/CHANGELOG.md
+++ b/gems/aws-sdk-emrcontainers/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.45.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.44.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-emrcontainers/VERSION b/gems/aws-sdk-emrcontainers/VERSION
index 372cf402c73..50aceaa7b71 100644
--- a/gems/aws-sdk-emrcontainers/VERSION
+++ b/gems/aws-sdk-emrcontainers/VERSION
@@ -1 +1 @@
-1.44.0
+1.45.0
diff --git a/gems/aws-sdk-emrcontainers/aws-sdk-emrcontainers.gemspec b/gems/aws-sdk-emrcontainers/aws-sdk-emrcontainers.gemspec
index 8913e0e876e..6408cd0563c 100644
--- a/gems/aws-sdk-emrcontainers/aws-sdk-emrcontainers.gemspec
+++ b/gems/aws-sdk-emrcontainers/aws-sdk-emrcontainers.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-emrcontainers/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers.rb b/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers.rb
index beb2ebdfc94..637200971e6 100644
--- a/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers.rb
+++ b/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::EMRContainers
- GEM_VERSION = '1.44.0'
+ GEM_VERSION = '1.45.0'
end
diff --git a/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/client.rb b/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/client.rb
index 0492be1233a..063a36a6f97 100644
--- a/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/client.rb
+++ b/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/client.rb
@@ -1907,7 +1907,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-emrcontainers'
- context[:gem_version] = '1.44.0'
+ context[:gem_version] = '1.45.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/endpoints.rb b/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/endpoints.rb
index 7d885f0fcd7..979b50aa199 100644
--- a/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/endpoints.rb
+++ b/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/endpoints.rb
@@ -14,322 +14,253 @@ module Endpoints
class CancelJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateManagedEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSecurityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVirtualCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteManagedEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVirtualCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeManagedEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSecurityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVirtualCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetManagedEndpointSessionCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListManagedEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVirtualClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRContainers::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/plugins/endpoints.rb b/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/plugins/endpoints.rb
index 38039bead21..0dc27b54106 100644
--- a/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/plugins/endpoints.rb
+++ b/gems/aws-sdk-emrcontainers/lib/aws-sdk-emrcontainers/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-emrcontainers/spec/endpoint_provider_spec.rb b/gems/aws-sdk-emrcontainers/spec/endpoint_provider_spec.rb
index 5363551fb9a..9d3f87a33fe 100644
--- a/gems/aws-sdk-emrcontainers/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-emrcontainers/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::EMRContainers
describe EndpointProvider do
subject { Aws::EMRContainers::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::EMRContainers
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::EMRContainers
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::EMRContainers
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::EMRContainers
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::EMRContainers
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::EMRContainers
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers-fips.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::EMRContainers
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::EMRContainers
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::EMRContainers
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::EMRContainers
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::EMRContainers
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::EMRContainers
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers-fips.us-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-east-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers-fips.us-east-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers-fips.us-west-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-west-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers-fips.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::EMRContainers
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::EMRContainers
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::EMRContainers
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::EMRContainers
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::EMRContainers
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-gov-east-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-gov-west-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-gov-west-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers-fips.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-gov-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -503,7 +503,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -517,7 +517,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -530,7 +530,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-iso-east-1.c2s.ic.gov"}}
end
@@ -544,7 +544,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -557,7 +557,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -571,7 +571,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -584,7 +584,7 @@ module Aws::EMRContainers
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-containers.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -598,7 +598,7 @@ module Aws::EMRContainers
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::EMRContainers
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::EMRContainers
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -639,7 +639,7 @@ module Aws::EMRContainers
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -652,7 +652,7 @@ module Aws::EMRContainers
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-emrserverless/CHANGELOG.md b/gems/aws-sdk-emrserverless/CHANGELOG.md
index e59920b7b68..1ae42afaf7a 100644
--- a/gems/aws-sdk-emrserverless/CHANGELOG.md
+++ b/gems/aws-sdk-emrserverless/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.33.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.32.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-emrserverless/VERSION b/gems/aws-sdk-emrserverless/VERSION
index 359c41089a4..7aa332e4163 100644
--- a/gems/aws-sdk-emrserverless/VERSION
+++ b/gems/aws-sdk-emrserverless/VERSION
@@ -1 +1 @@
-1.32.0
+1.33.0
diff --git a/gems/aws-sdk-emrserverless/aws-sdk-emrserverless.gemspec b/gems/aws-sdk-emrserverless/aws-sdk-emrserverless.gemspec
index 544a117002e..1b2d0dc8f3a 100644
--- a/gems/aws-sdk-emrserverless/aws-sdk-emrserverless.gemspec
+++ b/gems/aws-sdk-emrserverless/aws-sdk-emrserverless.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-emrserverless/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless.rb b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless.rb
index f2c01bedc4e..d512367c385 100644
--- a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless.rb
+++ b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::EMRServerless
- GEM_VERSION = '1.32.0'
+ GEM_VERSION = '1.33.0'
end
diff --git a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/client.rb b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/client.rb
index e2babff7c3e..9dfe2095e9e 100644
--- a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/client.rb
+++ b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/client.rb
@@ -1594,7 +1594,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-emrserverless'
- context[:gem_version] = '1.32.0'
+ context[:gem_version] = '1.33.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/endpoints.rb b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/endpoints.rb
index f974cf338e6..65f271152a4 100644
--- a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/endpoints.rb
+++ b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/endpoints.rb
@@ -14,224 +14,176 @@ module Endpoints
class CancelJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDashboardForJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobRunAttempts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EMRServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/plugins/endpoints.rb b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/plugins/endpoints.rb
index 5e6c6700c6f..9041b5855b4 100644
--- a/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/plugins/endpoints.rb
+++ b/gems/aws-sdk-emrserverless/lib/aws-sdk-emrserverless/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-emrserverless/spec/endpoint_provider_spec.rb b/gems/aws-sdk-emrserverless/spec/endpoint_provider_spec.rb
index 998d8285f9b..d9935639ac9 100644
--- a/gems/aws-sdk-emrserverless/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-emrserverless/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::EMRServerless
describe EndpointProvider do
subject { Aws::EMRServerless::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::EMRServerless
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless.eu-west-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless-fips.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless.us-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless-fips.us-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless-fips.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::EMRServerless
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::EMRServerless
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::EMRServerless
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::EMRServerless
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless-fips.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -251,7 +251,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -265,7 +265,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -278,7 +278,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless.us-iso-east-1.c2s.ic.gov"}}
end
@@ -292,7 +292,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -305,7 +305,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -319,7 +319,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -332,7 +332,7 @@ module Aws::EMRServerless
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://emr-serverless.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -346,7 +346,7 @@ module Aws::EMRServerless
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -360,7 +360,7 @@ module Aws::EMRServerless
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::EMRServerless
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -387,7 +387,7 @@ module Aws::EMRServerless
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -400,7 +400,7 @@ module Aws::EMRServerless
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-entityresolution/CHANGELOG.md b/gems/aws-sdk-entityresolution/CHANGELOG.md
index 1e27b6acc6d..73db5c44518 100644
--- a/gems/aws-sdk-entityresolution/CHANGELOG.md
+++ b/gems/aws-sdk-entityresolution/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.19.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.18.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-entityresolution/VERSION b/gems/aws-sdk-entityresolution/VERSION
index 84cc529467b..815d5ca06d5 100644
--- a/gems/aws-sdk-entityresolution/VERSION
+++ b/gems/aws-sdk-entityresolution/VERSION
@@ -1 +1 @@
-1.18.0
+1.19.0
diff --git a/gems/aws-sdk-entityresolution/aws-sdk-entityresolution.gemspec b/gems/aws-sdk-entityresolution/aws-sdk-entityresolution.gemspec
index 1c64b5e2d66..152a02b4529 100644
--- a/gems/aws-sdk-entityresolution/aws-sdk-entityresolution.gemspec
+++ b/gems/aws-sdk-entityresolution/aws-sdk-entityresolution.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-entityresolution/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution.rb b/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution.rb
index 366566dd0b0..c33f422789b 100644
--- a/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution.rb
+++ b/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::EntityResolution
- GEM_VERSION = '1.18.0'
+ GEM_VERSION = '1.19.0'
end
diff --git a/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/client.rb b/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/client.rb
index b94532f5ee6..2f9dd719e25 100644
--- a/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/client.rb
+++ b/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/client.rb
@@ -2595,7 +2595,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-entityresolution'
- context[:gem_version] = '1.18.0'
+ context[:gem_version] = '1.19.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/endpoints.rb b/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/endpoints.rb
index 987d5580840..48455f527fd 100644
--- a/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/endpoints.rb
+++ b/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/endpoints.rb
@@ -14,518 +14,407 @@ module Endpoints
class AddPolicyStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteUniqueId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIdMappingWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIdNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMatchingWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSchemaMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdMappingWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMatchingWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicyStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchemaMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdMappingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdMappingWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMatchId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMatchingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMatchingWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProviderService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSchemaMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdMappingJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdMappingWorkflows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdNamespaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMatchingJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMatchingWorkflows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProviderServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchemaMappings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartIdMappingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMatchingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIdMappingWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIdNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMatchingWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSchemaMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EntityResolution::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/plugins/endpoints.rb b/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/plugins/endpoints.rb
index a3c7a36b624..0eeca9aaacb 100644
--- a/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/plugins/endpoints.rb
+++ b/gems/aws-sdk-entityresolution/lib/aws-sdk-entityresolution/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-entityresolution/spec/endpoint_provider_spec.rb b/gems/aws-sdk-entityresolution/spec/endpoint_provider_spec.rb
index 51fd2ce6364..f72549553c0 100644
--- a/gems/aws-sdk-entityresolution/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-entityresolution/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::EntityResolution
describe EndpointProvider do
subject { Aws::EntityResolution::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::EntityResolution
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::EntityResolution
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::EntityResolution
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::EntityResolution
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::EntityResolution
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entityresolution.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::EntityResolution
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::EntityResolution
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::EntityResolution
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::EntityResolution
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::EntityResolution
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-eventbridge/CHANGELOG.md b/gems/aws-sdk-eventbridge/CHANGELOG.md
index 67ef0cdf914..65fb4f8834a 100644
--- a/gems/aws-sdk-eventbridge/CHANGELOG.md
+++ b/gems/aws-sdk-eventbridge/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.68.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.67.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-eventbridge/VERSION b/gems/aws-sdk-eventbridge/VERSION
index 65ee0959841..ee2f4ca9130 100644
--- a/gems/aws-sdk-eventbridge/VERSION
+++ b/gems/aws-sdk-eventbridge/VERSION
@@ -1 +1 @@
-1.67.0
+1.68.0
diff --git a/gems/aws-sdk-eventbridge/aws-sdk-eventbridge.gemspec b/gems/aws-sdk-eventbridge/aws-sdk-eventbridge.gemspec
index f0d978f213f..978e0050476 100644
--- a/gems/aws-sdk-eventbridge/aws-sdk-eventbridge.gemspec
+++ b/gems/aws-sdk-eventbridge/aws-sdk-eventbridge.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-eventbridge/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge.rb b/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge.rb
index 6fb71707217..e5683040ce6 100644
--- a/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge.rb
+++ b/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::EventBridge
- GEM_VERSION = '1.67.0'
+ GEM_VERSION = '1.68.0'
end
diff --git a/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/client.rb b/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/client.rb
index 8ca8f88026c..6198d9a88b4 100644
--- a/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/client.rb
+++ b/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/client.rb
@@ -4053,7 +4053,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-eventbridge'
- context[:gem_version] = '1.67.0'
+ context[:gem_version] = '1.68.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/endpoints.rb b/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/endpoints.rb
index a878c426f45..be5cb7e912d 100644
--- a/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/endpoints.rb
+++ b/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class ActivateEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -29,14 +26,11 @@ def self.build(context)
class CancelReplay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -44,14 +38,11 @@ def self.build(context)
class CreateApiDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -59,14 +50,11 @@ def self.build(context)
class CreateArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -74,14 +62,11 @@ def self.build(context)
class CreateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -89,14 +74,11 @@ def self.build(context)
class CreateEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -104,14 +86,11 @@ def self.build(context)
class CreateEventBus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -119,14 +98,11 @@ def self.build(context)
class CreatePartnerEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -134,14 +110,11 @@ def self.build(context)
class DeactivateEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -149,14 +122,11 @@ def self.build(context)
class DeauthorizeConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -164,14 +134,11 @@ def self.build(context)
class DeleteApiDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -179,14 +146,11 @@ def self.build(context)
class DeleteArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -194,14 +158,11 @@ def self.build(context)
class DeleteConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -209,14 +170,11 @@ def self.build(context)
class DeleteEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -224,14 +182,11 @@ def self.build(context)
class DeleteEventBus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -239,14 +194,11 @@ def self.build(context)
class DeletePartnerEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -254,14 +206,11 @@ def self.build(context)
class DeleteRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -269,14 +218,11 @@ def self.build(context)
class DescribeApiDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -284,14 +230,11 @@ def self.build(context)
class DescribeArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -299,14 +242,11 @@ def self.build(context)
class DescribeConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -314,14 +254,11 @@ def self.build(context)
class DescribeEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -329,14 +266,11 @@ def self.build(context)
class DescribeEventBus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -344,14 +278,11 @@ def self.build(context)
class DescribeEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -359,14 +290,11 @@ def self.build(context)
class DescribePartnerEventSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -374,14 +302,11 @@ def self.build(context)
class DescribeReplay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -389,14 +314,11 @@ def self.build(context)
class DescribeRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -404,14 +326,11 @@ def self.build(context)
class DisableRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -419,14 +338,11 @@ def self.build(context)
class EnableRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -434,14 +350,11 @@ def self.build(context)
class ListApiDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -449,14 +362,11 @@ def self.build(context)
class ListArchives
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -464,14 +374,11 @@ def self.build(context)
class ListConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -479,14 +386,11 @@ def self.build(context)
class ListEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -494,14 +398,11 @@ def self.build(context)
class ListEventBuses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -509,14 +410,11 @@ def self.build(context)
class ListEventSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -524,14 +422,11 @@ def self.build(context)
class ListPartnerEventSourceAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -539,14 +434,11 @@ def self.build(context)
class ListPartnerEventSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -554,14 +446,11 @@ def self.build(context)
class ListReplays
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -569,14 +458,11 @@ def self.build(context)
class ListRuleNamesByTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -584,14 +470,11 @@ def self.build(context)
class ListRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -599,14 +482,11 @@ def self.build(context)
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -614,14 +494,11 @@ def self.build(context)
class ListTargetsByRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -629,14 +506,11 @@ def self.build(context)
class PutEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: context.params[:endpoint_id],
)
end
@@ -644,14 +518,11 @@ def self.build(context)
class PutPartnerEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -659,14 +530,11 @@ def self.build(context)
class PutPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -674,14 +542,11 @@ def self.build(context)
class PutRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -689,14 +554,11 @@ def self.build(context)
class PutTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -704,14 +566,11 @@ def self.build(context)
class RemovePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -719,14 +578,11 @@ def self.build(context)
class RemoveTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -734,14 +590,11 @@ def self.build(context)
class StartReplay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -749,14 +602,11 @@ def self.build(context)
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -764,14 +614,11 @@ def self.build(context)
class TestEventPattern
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -779,14 +626,11 @@ def self.build(context)
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -794,14 +638,11 @@ def self.build(context)
class UpdateApiDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -809,14 +650,11 @@ def self.build(context)
class UpdateArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -824,14 +662,11 @@ def self.build(context)
class UpdateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -839,14 +674,11 @@ def self.build(context)
class UpdateEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
@@ -854,14 +686,11 @@ def self.build(context)
class UpdateEventBus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::EventBridge::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
endpoint_id: nil,
)
end
diff --git a/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/plugins/endpoints.rb b/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/plugins/endpoints.rb
index 7a51d45098c..0a2f73abed7 100644
--- a/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/plugins/endpoints.rb
+++ b/gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-eventbridge/spec/endpoint_provider_spec.rb b/gems/aws-sdk-eventbridge/spec/endpoint_provider_spec.rb
index 416c64d6f3e..fde63accd65 100644
--- a/gems/aws-sdk-eventbridge/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-eventbridge/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::EventBridge
describe EndpointProvider do
subject { Aws::EventBridge::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::EventBridge
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::EventBridge
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::EventBridge
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::EventBridge
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::EventBridge
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::EventBridge
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::EventBridge
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::EventBridge
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::EventBridge
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::EventBridge
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::EventBridge
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::EventBridge
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::EventBridge
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::EventBridge
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::EventBridge
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::EventBridge
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::EventBridge
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::EventBridge
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::EventBridge
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::EventBridge
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::EventBridge
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::EventBridge
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::EventBridge
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::EventBridge
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::EventBridge
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::EventBridge
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::EventBridge
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::EventBridge
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::EventBridge
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::EventBridge
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::EventBridge
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::EventBridge
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::EventBridge
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::EventBridge
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::EventBridge
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::EventBridge
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::EventBridge
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::EventBridge
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::EventBridge
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::EventBridge
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::EventBridge
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::EventBridge
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::EventBridge
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::EventBridge
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::EventBridge
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::EventBridge
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://events-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::EventBridge
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::EventBridge
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::EventBridge
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::EventBridge
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::EventBridge
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::EventBridge
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
@@ -749,7 +749,7 @@ module Aws::EventBridge
end
end
- context 'Valid endpointId with fips disabled and dualstack disabled' do
+ context "Valid endpointId with fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingName"=>"events", "name"=>"sigv4a", "signingRegionSet"=>["*"]}]}, "url"=>"https://abc123.456def.endpoint.events.amazonaws.com"}}
end
@@ -779,7 +779,7 @@ module Aws::EventBridge
end
end
- context 'Valid EndpointId with dualstack disabled and fips enabled' do
+ context "Valid EndpointId with dualstack disabled and fips enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS is not supported with EventBridge multi-region endpoints."}
end
@@ -792,7 +792,7 @@ module Aws::EventBridge
end
end
- context 'Valid EndpointId with dualstack enabled and fips enabled' do
+ context "Valid EndpointId with dualstack enabled and fips enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS is not supported with EventBridge multi-region endpoints."}
end
@@ -805,7 +805,7 @@ module Aws::EventBridge
end
end
- context 'Invalid EndpointId' do
+ context "Invalid EndpointId" do
let(:expected) do
{"error"=>"EndpointId must be a valid host label."}
end
@@ -818,7 +818,7 @@ module Aws::EventBridge
end
end
- context 'Invalid EndpointId (empty)' do
+ context "Invalid EndpointId (empty)" do
let(:expected) do
{"error"=>"EndpointId must be a valid host label."}
end
@@ -831,7 +831,7 @@ module Aws::EventBridge
end
end
- context 'Valid endpointId with fips disabled and dualstack true' do
+ context "Valid endpointId with fips disabled and dualstack true" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingName"=>"events", "name"=>"sigv4a", "signingRegionSet"=>["*"]}]}, "url"=>"https://abc123.456def.endpoint.events.api.aws"}}
end
@@ -845,7 +845,7 @@ module Aws::EventBridge
end
end
- context 'Valid endpointId with custom sdk endpoint' do
+ context "Valid endpointId with custom sdk endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingName"=>"events", "name"=>"sigv4a", "signingRegionSet"=>["*"]}]}, "url"=>"https://example.com"}}
end
@@ -859,7 +859,7 @@ module Aws::EventBridge
end
end
- context 'Valid EndpointId with DualStack enabled and partition does not support DualStack' do
+ context "Valid EndpointId with DualStack enabled and partition does not support DualStack" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
diff --git a/gems/aws-sdk-finspace/CHANGELOG.md b/gems/aws-sdk-finspace/CHANGELOG.md
index c4b8417c599..909b1dd6e87 100644
--- a/gems/aws-sdk-finspace/CHANGELOG.md
+++ b/gems/aws-sdk-finspace/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.42.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.41.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-finspace/VERSION b/gems/aws-sdk-finspace/VERSION
index 7d47e599800..a50908ca3da 100644
--- a/gems/aws-sdk-finspace/VERSION
+++ b/gems/aws-sdk-finspace/VERSION
@@ -1 +1 @@
-1.41.0
+1.42.0
diff --git a/gems/aws-sdk-finspace/aws-sdk-finspace.gemspec b/gems/aws-sdk-finspace/aws-sdk-finspace.gemspec
index 139d29707d8..e7e98d389fe 100644
--- a/gems/aws-sdk-finspace/aws-sdk-finspace.gemspec
+++ b/gems/aws-sdk-finspace/aws-sdk-finspace.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-finspace/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-finspace/lib/aws-sdk-finspace.rb b/gems/aws-sdk-finspace/lib/aws-sdk-finspace.rb
index ee26c382831..d419e2973f6 100644
--- a/gems/aws-sdk-finspace/lib/aws-sdk-finspace.rb
+++ b/gems/aws-sdk-finspace/lib/aws-sdk-finspace.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Finspace
- GEM_VERSION = '1.41.0'
+ GEM_VERSION = '1.42.0'
end
diff --git a/gems/aws-sdk-finspace/lib/aws-sdk-finspace/client.rb b/gems/aws-sdk-finspace/lib/aws-sdk-finspace/client.rb
index e5d1685aeeb..fb4dfbf1970 100644
--- a/gems/aws-sdk-finspace/lib/aws-sdk-finspace/client.rb
+++ b/gems/aws-sdk-finspace/lib/aws-sdk-finspace/client.rb
@@ -3791,7 +3791,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-finspace'
- context[:gem_version] = '1.41.0'
+ context[:gem_version] = '1.42.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-finspace/lib/aws-sdk-finspace/endpoints.rb b/gems/aws-sdk-finspace/lib/aws-sdk-finspace/endpoints.rb
index fb4c3470664..0878bde476d 100644
--- a/gems/aws-sdk-finspace/lib/aws-sdk-finspace/endpoints.rb
+++ b/gems/aws-sdk-finspace/lib/aws-sdk-finspace/endpoints.rb
@@ -14,700 +14,550 @@ module Endpoints
class CreateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKxChangeset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKxCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKxDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKxDataview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKxEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKxScalingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKxUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKxVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKxCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKxClusterNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKxDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKxDataview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKxEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKxScalingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKxUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKxVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKxChangeset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKxCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKxConnectionString
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKxDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKxDataview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKxEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKxScalingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKxUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKxVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKxChangesets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKxClusterNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKxClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKxDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKxDataviews
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKxEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKxScalingGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKxUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKxVolumes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKxClusterCodeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKxClusterDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKxDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKxDataview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKxEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKxEnvironmentNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKxUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKxVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Finspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-finspace/lib/aws-sdk-finspace/plugins/endpoints.rb b/gems/aws-sdk-finspace/lib/aws-sdk-finspace/plugins/endpoints.rb
index 3ca24de86f4..227b83e0fee 100644
--- a/gems/aws-sdk-finspace/lib/aws-sdk-finspace/plugins/endpoints.rb
+++ b/gems/aws-sdk-finspace/lib/aws-sdk-finspace/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-finspace/spec/endpoint_provider_spec.rb b/gems/aws-sdk-finspace/spec/endpoint_provider_spec.rb
index 30cf362e863..03c79c9731a 100644
--- a/gems/aws-sdk-finspace/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-finspace/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Finspace
describe EndpointProvider do
subject { Aws::Finspace::EndpointProvider.new }
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.ca-central-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Finspace
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.eu-west-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Finspace
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Finspace
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.us-east-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Finspace
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.us-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Finspace
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-fips.us-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::Finspace
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-fips.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Finspace
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::Finspace
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Finspace
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::Finspace
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::Finspace
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::Finspace
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-fips.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::Finspace
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Finspace
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::Finspace
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Finspace
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -251,7 +251,7 @@ module Aws::Finspace
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -265,7 +265,7 @@ module Aws::Finspace
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -278,7 +278,7 @@ module Aws::Finspace
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.us-iso-east-1.c2s.ic.gov"}}
end
@@ -292,7 +292,7 @@ module Aws::Finspace
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -305,7 +305,7 @@ module Aws::Finspace
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -319,7 +319,7 @@ module Aws::Finspace
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -332,7 +332,7 @@ module Aws::Finspace
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -346,7 +346,7 @@ module Aws::Finspace
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -360,7 +360,7 @@ module Aws::Finspace
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::Finspace
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -387,7 +387,7 @@ module Aws::Finspace
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -400,7 +400,7 @@ module Aws::Finspace
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-finspacedata/CHANGELOG.md b/gems/aws-sdk-finspacedata/CHANGELOG.md
index cf2d2ba40d4..b7987786e93 100644
--- a/gems/aws-sdk-finspacedata/CHANGELOG.md
+++ b/gems/aws-sdk-finspacedata/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.41.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.40.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-finspacedata/VERSION b/gems/aws-sdk-finspacedata/VERSION
index 32b7211cb61..7d47e599800 100644
--- a/gems/aws-sdk-finspacedata/VERSION
+++ b/gems/aws-sdk-finspacedata/VERSION
@@ -1 +1 @@
-1.40.0
+1.41.0
diff --git a/gems/aws-sdk-finspacedata/aws-sdk-finspacedata.gemspec b/gems/aws-sdk-finspacedata/aws-sdk-finspacedata.gemspec
index e5419d8c63f..e80055c5fe9 100644
--- a/gems/aws-sdk-finspacedata/aws-sdk-finspacedata.gemspec
+++ b/gems/aws-sdk-finspacedata/aws-sdk-finspacedata.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-finspacedata/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata.rb b/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata.rb
index 4aa7e748279..a67e67ff7c4 100644
--- a/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata.rb
+++ b/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::FinSpaceData
- GEM_VERSION = '1.40.0'
+ GEM_VERSION = '1.41.0'
end
diff --git a/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/client.rb b/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/client.rb
index 5ef7ad48fc3..28456f2767b 100644
--- a/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/client.rb
+++ b/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/client.rb
@@ -2183,7 +2183,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-finspacedata'
- context[:gem_version] = '1.40.0'
+ context[:gem_version] = '1.41.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/endpoints.rb b/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/endpoints.rb
index 0538ff1f77e..51c8b03ea67 100644
--- a/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/endpoints.rb
+++ b/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/endpoints.rb
@@ -14,434 +14,341 @@ module Endpoints
class AssociateUserToPermissionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChangeset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePermissionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePermissionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateUserFromPermissionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChangeset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExternalDataViewAccessDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPermissionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProgrammaticAccessCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkingLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChangesets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataViews
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPermissionGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPermissionGroupsByUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsersByPermissionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetUserPassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChangeset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePermissionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FinSpaceData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/plugins/endpoints.rb b/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/plugins/endpoints.rb
index 0f12b4eba99..6670fa332ed 100644
--- a/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/plugins/endpoints.rb
+++ b/gems/aws-sdk-finspacedata/lib/aws-sdk-finspacedata/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-finspacedata/spec/endpoint_provider_spec.rb b/gems/aws-sdk-finspacedata/spec/endpoint_provider_spec.rb
index 42f3ba470f7..7f3b688ce32 100644
--- a/gems/aws-sdk-finspacedata/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-finspacedata/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::FinSpaceData
describe EndpointProvider do
subject { Aws::FinSpaceData::EndpointProvider.new }
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.ca-central-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::FinSpaceData
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.eu-west-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.us-east-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.us-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api-fips.us-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api-fips.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::FinSpaceData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::FinSpaceData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::FinSpaceData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::FinSpaceData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api-fips.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -251,7 +251,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -265,7 +265,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -278,7 +278,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.us-iso-east-1.c2s.ic.gov"}}
end
@@ -292,7 +292,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -305,7 +305,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -319,7 +319,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -332,7 +332,7 @@ module Aws::FinSpaceData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://finspace-api.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -346,7 +346,7 @@ module Aws::FinSpaceData
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -360,7 +360,7 @@ module Aws::FinSpaceData
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::FinSpaceData
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -387,7 +387,7 @@ module Aws::FinSpaceData
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -400,7 +400,7 @@ module Aws::FinSpaceData
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-firehose/CHANGELOG.md b/gems/aws-sdk-firehose/CHANGELOG.md
index 06b127b6be9..75a85c50e74 100644
--- a/gems/aws-sdk-firehose/CHANGELOG.md
+++ b/gems/aws-sdk-firehose/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.79.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.78.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-firehose/VERSION b/gems/aws-sdk-firehose/VERSION
index 54227249d1f..b3a8c61e6a8 100644
--- a/gems/aws-sdk-firehose/VERSION
+++ b/gems/aws-sdk-firehose/VERSION
@@ -1 +1 @@
-1.78.0
+1.79.0
diff --git a/gems/aws-sdk-firehose/aws-sdk-firehose.gemspec b/gems/aws-sdk-firehose/aws-sdk-firehose.gemspec
index 5ee2fe1d8da..906f048f20b 100644
--- a/gems/aws-sdk-firehose/aws-sdk-firehose.gemspec
+++ b/gems/aws-sdk-firehose/aws-sdk-firehose.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-firehose/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-firehose/lib/aws-sdk-firehose.rb b/gems/aws-sdk-firehose/lib/aws-sdk-firehose.rb
index 84041ebbd53..b0a87d5a200 100644
--- a/gems/aws-sdk-firehose/lib/aws-sdk-firehose.rb
+++ b/gems/aws-sdk-firehose/lib/aws-sdk-firehose.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Firehose
- GEM_VERSION = '1.78.0'
+ GEM_VERSION = '1.79.0'
end
diff --git a/gems/aws-sdk-firehose/lib/aws-sdk-firehose/client.rb b/gems/aws-sdk-firehose/lib/aws-sdk-firehose/client.rb
index 2364b89879c..abb605fb56d 100644
--- a/gems/aws-sdk-firehose/lib/aws-sdk-firehose/client.rb
+++ b/gems/aws-sdk-firehose/lib/aws-sdk-firehose/client.rb
@@ -3172,7 +3172,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-firehose'
- context[:gem_version] = '1.78.0'
+ context[:gem_version] = '1.79.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-firehose/lib/aws-sdk-firehose/endpoints.rb b/gems/aws-sdk-firehose/lib/aws-sdk-firehose/endpoints.rb
index b337c007cb7..7e1d6fc00e6 100644
--- a/gems/aws-sdk-firehose/lib/aws-sdk-firehose/endpoints.rb
+++ b/gems/aws-sdk-firehose/lib/aws-sdk-firehose/endpoints.rb
@@ -14,168 +14,132 @@ module Endpoints
class CreateDeliveryStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeliveryStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDeliveryStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeliveryStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForDeliveryStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRecord
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRecordBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDeliveryStreamEncryption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDeliveryStreamEncryption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagDeliveryStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagDeliveryStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Firehose::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-firehose/lib/aws-sdk-firehose/plugins/endpoints.rb b/gems/aws-sdk-firehose/lib/aws-sdk-firehose/plugins/endpoints.rb
index 637f26f52bb..a0ae52d3665 100644
--- a/gems/aws-sdk-firehose/lib/aws-sdk-firehose/plugins/endpoints.rb
+++ b/gems/aws-sdk-firehose/lib/aws-sdk-firehose/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-firehose/spec/endpoint_provider_spec.rb b/gems/aws-sdk-firehose/spec/endpoint_provider_spec.rb
index bcfd99889f9..480dffc7c65 100644
--- a/gems/aws-sdk-firehose/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-firehose/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Firehose
describe EndpointProvider do
subject { Aws::Firehose::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Firehose
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Firehose
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Firehose
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Firehose
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Firehose
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Firehose
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Firehose
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Firehose
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Firehose
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Firehose
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Firehose
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Firehose
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Firehose
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Firehose
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Firehose
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Firehose
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Firehose
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Firehose
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Firehose
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Firehose
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Firehose
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Firehose
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Firehose
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Firehose
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Firehose
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Firehose
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Firehose
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Firehose
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Firehose
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Firehose
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Firehose
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::Firehose
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::Firehose
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Firehose
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Firehose
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Firehose
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::Firehose
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::Firehose
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::Firehose
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::Firehose
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -587,7 +587,7 @@ module Aws::Firehose
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -601,7 +601,7 @@ module Aws::Firehose
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -614,7 +614,7 @@ module Aws::Firehose
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::Firehose
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::Firehose
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::Firehose
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://firehose.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::Firehose
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::Firehose
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::Firehose
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::Firehose
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::Firehose
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-fis/CHANGELOG.md b/gems/aws-sdk-fis/CHANGELOG.md
index 95cace4b6d9..570bbe9684b 100644
--- a/gems/aws-sdk-fis/CHANGELOG.md
+++ b/gems/aws-sdk-fis/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-fis/VERSION b/gems/aws-sdk-fis/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-fis/VERSION
+++ b/gems/aws-sdk-fis/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-fis/aws-sdk-fis.gemspec b/gems/aws-sdk-fis/aws-sdk-fis.gemspec
index df4e0163eb7..8107dbb1c74 100644
--- a/gems/aws-sdk-fis/aws-sdk-fis.gemspec
+++ b/gems/aws-sdk-fis/aws-sdk-fis.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-fis/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-fis/lib/aws-sdk-fis.rb b/gems/aws-sdk-fis/lib/aws-sdk-fis.rb
index 9449a4727bd..5c92db2f3d0 100644
--- a/gems/aws-sdk-fis/lib/aws-sdk-fis.rb
+++ b/gems/aws-sdk-fis/lib/aws-sdk-fis.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::FIS
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-fis/lib/aws-sdk-fis/client.rb b/gems/aws-sdk-fis/lib/aws-sdk-fis/client.rb
index e868e46afa0..4529dffd970 100644
--- a/gems/aws-sdk-fis/lib/aws-sdk-fis/client.rb
+++ b/gems/aws-sdk-fis/lib/aws-sdk-fis/client.rb
@@ -1911,7 +1911,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-fis'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-fis/lib/aws-sdk-fis/endpoints.rb b/gems/aws-sdk-fis/lib/aws-sdk-fis/endpoints.rb
index 2a390c3b55f..ad001818409 100644
--- a/gems/aws-sdk-fis/lib/aws-sdk-fis/endpoints.rb
+++ b/gems/aws-sdk-fis/lib/aws-sdk-fis/endpoints.rb
@@ -14,364 +14,286 @@ module Endpoints
class CreateExperimentTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTargetAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExperimentTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTargetAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExperimentTargetAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExperimentTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSafetyLever
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTargetAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTargetResourceType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExperimentResolvedTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExperimentTargetAccountConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExperimentTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExperiments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTargetAccountConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTargetResourceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateExperimentTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSafetyLeverState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTargetAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-fis/lib/aws-sdk-fis/plugins/endpoints.rb b/gems/aws-sdk-fis/lib/aws-sdk-fis/plugins/endpoints.rb
index 4babbf4e7ed..67bda707ffe 100644
--- a/gems/aws-sdk-fis/lib/aws-sdk-fis/plugins/endpoints.rb
+++ b/gems/aws-sdk-fis/lib/aws-sdk-fis/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-fis/spec/endpoint_provider_spec.rb b/gems/aws-sdk-fis/spec/endpoint_provider_spec.rb
index 59ac9302800..656952bec5d 100644
--- a/gems/aws-sdk-fis/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-fis/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::FIS
describe EndpointProvider do
subject { Aws::FIS::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::FIS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::FIS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::FIS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::FIS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::FIS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::FIS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::FIS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::FIS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis.us-gov-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::FIS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::FIS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis.us-gov-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::FIS
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis.us-gov-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::FIS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis-fips.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::FIS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::FIS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::FIS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::FIS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::FIS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::FIS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::FIS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::FIS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::FIS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fis.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::FIS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::FIS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::FIS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::FIS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::FIS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-fms/CHANGELOG.md b/gems/aws-sdk-fms/CHANGELOG.md
index befd13b4021..7d30756aa49 100644
--- a/gems/aws-sdk-fms/CHANGELOG.md
+++ b/gems/aws-sdk-fms/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.79.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.78.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-fms/VERSION b/gems/aws-sdk-fms/VERSION
index 54227249d1f..b3a8c61e6a8 100644
--- a/gems/aws-sdk-fms/VERSION
+++ b/gems/aws-sdk-fms/VERSION
@@ -1 +1 @@
-1.78.0
+1.79.0
diff --git a/gems/aws-sdk-fms/aws-sdk-fms.gemspec b/gems/aws-sdk-fms/aws-sdk-fms.gemspec
index 04756794f9e..beb23fc4481 100644
--- a/gems/aws-sdk-fms/aws-sdk-fms.gemspec
+++ b/gems/aws-sdk-fms/aws-sdk-fms.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-fms/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-fms/lib/aws-sdk-fms.rb b/gems/aws-sdk-fms/lib/aws-sdk-fms.rb
index b8c7d2c75ce..f8e3da648ce 100644
--- a/gems/aws-sdk-fms/lib/aws-sdk-fms.rb
+++ b/gems/aws-sdk-fms/lib/aws-sdk-fms.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::FMS
- GEM_VERSION = '1.78.0'
+ GEM_VERSION = '1.79.0'
end
diff --git a/gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb b/gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb
index 0e899a71baa..c4fb3d2a8db 100644
--- a/gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb
+++ b/gems/aws-sdk-fms/lib/aws-sdk-fms/client.rb
@@ -2943,7 +2943,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-fms'
- context[:gem_version] = '1.78.0'
+ context[:gem_version] = '1.79.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-fms/lib/aws-sdk-fms/endpoints.rb b/gems/aws-sdk-fms/lib/aws-sdk-fms/endpoints.rb
index cc7ed4f5c7a..bdb3bac948a 100644
--- a/gems/aws-sdk-fms/lib/aws-sdk-fms/endpoints.rb
+++ b/gems/aws-sdk-fms/lib/aws-sdk-fms/endpoints.rb
@@ -14,588 +14,462 @@ module Endpoints
class AssociateAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateThirdPartyFirewall
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchAssociateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisassociateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppsList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNotificationChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProtocolsList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourceSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateThirdPartyFirewall
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAdminScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppsList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComplianceDetail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNotificationChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProtectionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProtocolsList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetThirdPartyFirewallAssociationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetViolationDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAdminAccountsForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAdminsManagingAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppsLists
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComplianceStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDiscoveredResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMemberAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProtocolsLists
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceSetResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThirdPartyFirewallFirewallPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAppsList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutNotificationChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutProtocolsList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourceSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-fms/lib/aws-sdk-fms/plugins/endpoints.rb b/gems/aws-sdk-fms/lib/aws-sdk-fms/plugins/endpoints.rb
index c25f0e629a0..ec0c07f818d 100644
--- a/gems/aws-sdk-fms/lib/aws-sdk-fms/plugins/endpoints.rb
+++ b/gems/aws-sdk-fms/lib/aws-sdk-fms/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-fms/spec/endpoint_provider_spec.rb b/gems/aws-sdk-fms/spec/endpoint_provider_spec.rb
index 34e9db4de50..a6944741f1f 100644
--- a/gems/aws-sdk-fms/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-fms/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::FMS
describe EndpointProvider do
subject { Aws::FMS::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::FMS
end
end
- context 'For region af-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.af-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::FMS
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.ap-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::FMS
end
end
- context 'For region ap-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.ap-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::FMS
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.ap-northeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::FMS
end
end
- context 'For region ap-northeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.ap-northeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::FMS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.ap-northeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::FMS
end
end
- context 'For region ap-northeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.ap-northeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::FMS
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.ap-northeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::FMS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.ap-south-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::FMS
end
end
- context 'For region ap-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.ap-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::FMS
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.ap-southeast-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::FMS
end
end
- context 'For region ap-southeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.ap-southeast-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::FMS
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.ap-southeast-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::FMS
end
end
- context 'For region ap-southeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.ap-southeast-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::FMS
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.ca-central-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::FMS
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.ca-central-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::FMS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.eu-central-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::FMS
end
end
- context 'For region eu-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.eu-central-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::FMS
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.eu-north-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::FMS
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.eu-south-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::FMS
end
end
- context 'For region eu-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.eu-south-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::FMS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.eu-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::FMS
end
end
- context 'For region eu-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.eu-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::FMS
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.eu-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::FMS
end
end
- context 'For region eu-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.eu-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::FMS
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.eu-west-3.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::FMS
end
end
- context 'For region eu-west-3 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.eu-west-3.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::FMS
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.me-south-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::FMS
end
end
- context 'For region me-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.me-south-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::FMS
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.sa-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::FMS
end
end
- context 'For region sa-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.sa-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::FMS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.us-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::FMS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.us-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::FMS
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.us-east-2.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::FMS
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.us-east-2.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::FMS
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.us-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::FMS
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.us-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::FMS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.us-west-2.amazonaws.com"}}
end
@@ -560,7 +560,7 @@ module Aws::FMS
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.us-west-2.amazonaws.com"}}
end
@@ -574,7 +574,7 @@ module Aws::FMS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.us-east-1.api.aws"}}
end
@@ -588,7 +588,7 @@ module Aws::FMS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.us-east-1.api.aws"}}
end
@@ -602,7 +602,7 @@ module Aws::FMS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.cn-north-1.amazonaws.com.cn"}}
end
@@ -616,7 +616,7 @@ module Aws::FMS
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -630,7 +630,7 @@ module Aws::FMS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -644,7 +644,7 @@ module Aws::FMS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -658,7 +658,7 @@ module Aws::FMS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -672,7 +672,7 @@ module Aws::FMS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.us-gov-east-1.amazonaws.com"}}
end
@@ -686,7 +686,7 @@ module Aws::FMS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -700,7 +700,7 @@ module Aws::FMS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.us-gov-west-1.amazonaws.com"}}
end
@@ -714,7 +714,7 @@ module Aws::FMS
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -728,7 +728,7 @@ module Aws::FMS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.us-gov-east-1.api.aws"}}
end
@@ -742,7 +742,7 @@ module Aws::FMS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.us-gov-east-1.api.aws"}}
end
@@ -756,7 +756,7 @@ module Aws::FMS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -769,7 +769,7 @@ module Aws::FMS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -783,7 +783,7 @@ module Aws::FMS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -796,7 +796,7 @@ module Aws::FMS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.us-iso-east-1.c2s.ic.gov"}}
end
@@ -810,7 +810,7 @@ module Aws::FMS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -823,7 +823,7 @@ module Aws::FMS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -837,7 +837,7 @@ module Aws::FMS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -850,7 +850,7 @@ module Aws::FMS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fms.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -864,7 +864,7 @@ module Aws::FMS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -878,7 +878,7 @@ module Aws::FMS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -892,7 +892,7 @@ module Aws::FMS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -905,7 +905,7 @@ module Aws::FMS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -918,7 +918,7 @@ module Aws::FMS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-forecastqueryservice/CHANGELOG.md b/gems/aws-sdk-forecastqueryservice/CHANGELOG.md
index cffd47ce1da..a9308de0838 100644
--- a/gems/aws-sdk-forecastqueryservice/CHANGELOG.md
+++ b/gems/aws-sdk-forecastqueryservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.44.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.43.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-forecastqueryservice/VERSION b/gems/aws-sdk-forecastqueryservice/VERSION
index b978278f05f..372cf402c73 100644
--- a/gems/aws-sdk-forecastqueryservice/VERSION
+++ b/gems/aws-sdk-forecastqueryservice/VERSION
@@ -1 +1 @@
-1.43.0
+1.44.0
diff --git a/gems/aws-sdk-forecastqueryservice/aws-sdk-forecastqueryservice.gemspec b/gems/aws-sdk-forecastqueryservice/aws-sdk-forecastqueryservice.gemspec
index 577e4a6d26c..04d433d98ad 100644
--- a/gems/aws-sdk-forecastqueryservice/aws-sdk-forecastqueryservice.gemspec
+++ b/gems/aws-sdk-forecastqueryservice/aws-sdk-forecastqueryservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-forecastqueryservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice.rb b/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice.rb
index 91b218e16a4..e7ee68c4041 100644
--- a/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice.rb
+++ b/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ForecastQueryService
- GEM_VERSION = '1.43.0'
+ GEM_VERSION = '1.44.0'
end
diff --git a/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/client.rb b/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/client.rb
index b294627c2c0..e41ef1b9f0e 100644
--- a/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/client.rb
+++ b/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/client.rb
@@ -621,7 +621,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-forecastqueryservice'
- context[:gem_version] = '1.43.0'
+ context[:gem_version] = '1.44.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/endpoints.rb b/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/endpoints.rb
index 2a26bf0d7b2..9b577ba77da 100644
--- a/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/endpoints.rb
+++ b/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/endpoints.rb
@@ -14,28 +14,22 @@ module Endpoints
class QueryForecast
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastQueryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class QueryWhatIfForecast
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastQueryService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/plugins/endpoints.rb b/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/plugins/endpoints.rb
index 38b7a626890..6dc369a2039 100644
--- a/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-forecastqueryservice/lib/aws-sdk-forecastqueryservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-forecastqueryservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-forecastqueryservice/spec/endpoint_provider_spec.rb
index 1150eeaa3da..28d3b05e866 100644
--- a/gems/aws-sdk-forecastqueryservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-forecastqueryservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ForecastQueryService
describe EndpointProvider do
subject { Aws::ForecastQueryService::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.eu-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.eu-west-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.us-east-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery-fips.us-east-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.us-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery-fips.us-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery-fips.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.cn-north-1.amazonaws.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery-fips.us-gov-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.us-gov-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -349,7 +349,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -363,7 +363,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -376,7 +376,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.us-iso-east-1.c2s.ic.gov"}}
end
@@ -390,7 +390,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -403,7 +403,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -417,7 +417,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -430,7 +430,7 @@ module Aws::ForecastQueryService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecastquery.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -444,7 +444,7 @@ module Aws::ForecastQueryService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::ForecastQueryService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -472,7 +472,7 @@ module Aws::ForecastQueryService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -485,7 +485,7 @@ module Aws::ForecastQueryService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -498,7 +498,7 @@ module Aws::ForecastQueryService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-forecastservice/CHANGELOG.md b/gems/aws-sdk-forecastservice/CHANGELOG.md
index b95c26baf5f..0a11ab1a4ed 100644
--- a/gems/aws-sdk-forecastservice/CHANGELOG.md
+++ b/gems/aws-sdk-forecastservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.61.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.60.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-forecastservice/VERSION b/gems/aws-sdk-forecastservice/VERSION
index 4d5fde5bd16..91951fd8ad7 100644
--- a/gems/aws-sdk-forecastservice/VERSION
+++ b/gems/aws-sdk-forecastservice/VERSION
@@ -1 +1 @@
-1.60.0
+1.61.0
diff --git a/gems/aws-sdk-forecastservice/aws-sdk-forecastservice.gemspec b/gems/aws-sdk-forecastservice/aws-sdk-forecastservice.gemspec
index d56b29ba383..cb90aac5012 100644
--- a/gems/aws-sdk-forecastservice/aws-sdk-forecastservice.gemspec
+++ b/gems/aws-sdk-forecastservice/aws-sdk-forecastservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-forecastservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice.rb b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice.rb
index 997ab958706..afceefa1a49 100644
--- a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice.rb
+++ b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ForecastService
- GEM_VERSION = '1.60.0'
+ GEM_VERSION = '1.61.0'
end
diff --git a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client.rb b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client.rb
index fde137fb022..d03bdc68c5d 100644
--- a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client.rb
+++ b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/client.rb
@@ -5351,7 +5351,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-forecastservice'
- context[:gem_version] = '1.60.0'
+ context[:gem_version] = '1.61.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/endpoints.rb b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/endpoints.rb
index 847b3b8f14f..1ebe0ba49e1 100644
--- a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/endpoints.rb
+++ b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/endpoints.rb
@@ -14,882 +14,693 @@ module Endpoints
class CreateAutoPredictor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDatasetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDatasetImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExplainability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExplainabilityExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateForecast
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateForecastExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePredictor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePredictorBacktestExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWhatIfAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWhatIfForecast
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWhatIfForecastExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDatasetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDatasetImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExplainability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExplainabilityExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteForecast
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteForecastExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePredictor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePredictorBacktestExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourceTree
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWhatIfAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWhatIfForecast
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWhatIfForecastExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAutoPredictor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDatasetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDatasetImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExplainability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExplainabilityExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeForecast
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeForecastExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePredictor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePredictorBacktestExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWhatIfAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWhatIfForecast
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWhatIfForecastExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccuracyMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasetImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExplainabilities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExplainabilityExports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListForecastExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListForecasts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMonitorEvaluations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMonitors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPredictorBacktestExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPredictors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWhatIfAnalyses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWhatIfForecastExports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWhatIfForecasts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDatasetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ForecastService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/plugins/endpoints.rb b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/plugins/endpoints.rb
index 297f931a471..b78dfa808fa 100644
--- a/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-forecastservice/lib/aws-sdk-forecastservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-forecastservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-forecastservice/spec/endpoint_provider_spec.rb
index 993fb44f12d..ecaa4923186 100644
--- a/gems/aws-sdk-forecastservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-forecastservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ForecastService
describe EndpointProvider do
subject { Aws::ForecastService::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ForecastService
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ForecastService
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ForecastService
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ForecastService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ForecastService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.eu-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ForecastService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.eu-west-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ForecastService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ForecastService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ForecastService
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.us-east-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ForecastService
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast-fips.us-east-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ForecastService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.us-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ForecastService
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast-fips.us-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ForecastService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast-fips.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::ForecastService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::ForecastService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::ForecastService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::ForecastService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::ForecastService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.cn-north-1.amazonaws.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::ForecastService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast-fips.us-gov-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::ForecastService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ForecastService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.us-gov-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::ForecastService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ForecastService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -349,7 +349,7 @@ module Aws::ForecastService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -363,7 +363,7 @@ module Aws::ForecastService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -376,7 +376,7 @@ module Aws::ForecastService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.us-iso-east-1.c2s.ic.gov"}}
end
@@ -390,7 +390,7 @@ module Aws::ForecastService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -403,7 +403,7 @@ module Aws::ForecastService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -417,7 +417,7 @@ module Aws::ForecastService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -430,7 +430,7 @@ module Aws::ForecastService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://forecast.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -444,7 +444,7 @@ module Aws::ForecastService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::ForecastService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -472,7 +472,7 @@ module Aws::ForecastService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -485,7 +485,7 @@ module Aws::ForecastService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -498,7 +498,7 @@ module Aws::ForecastService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-frauddetector/CHANGELOG.md b/gems/aws-sdk-frauddetector/CHANGELOG.md
index 0592ccd6957..a3dcf101b9e 100644
--- a/gems/aws-sdk-frauddetector/CHANGELOG.md
+++ b/gems/aws-sdk-frauddetector/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.60.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.59.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-frauddetector/VERSION b/gems/aws-sdk-frauddetector/VERSION
index bb120e876c6..4d5fde5bd16 100644
--- a/gems/aws-sdk-frauddetector/VERSION
+++ b/gems/aws-sdk-frauddetector/VERSION
@@ -1 +1 @@
-1.59.0
+1.60.0
diff --git a/gems/aws-sdk-frauddetector/aws-sdk-frauddetector.gemspec b/gems/aws-sdk-frauddetector/aws-sdk-frauddetector.gemspec
index 7eeb1c9862d..b7059a1ce79 100644
--- a/gems/aws-sdk-frauddetector/aws-sdk-frauddetector.gemspec
+++ b/gems/aws-sdk-frauddetector/aws-sdk-frauddetector.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-frauddetector/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector.rb b/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector.rb
index a9b4e26dd25..69024026ea1 100644
--- a/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector.rb
+++ b/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::FraudDetector
- GEM_VERSION = '1.59.0'
+ GEM_VERSION = '1.60.0'
end
diff --git a/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/client.rb b/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/client.rb
index b97ff767125..2db79ac67ae 100644
--- a/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/client.rb
+++ b/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/client.rb
@@ -3999,7 +3999,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-frauddetector'
- context[:gem_version] = '1.59.0'
+ context[:gem_version] = '1.60.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/endpoints.rb b/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/endpoints.rb
index b1141661975..6cdfb071d27 100644
--- a/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/endpoints.rb
+++ b/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/endpoints.rb
@@ -14,1022 +14,803 @@ module Endpoints
class BatchCreateVariable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetVariable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelBatchImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelBatchPredictionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBatchImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBatchPredictionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDetectorVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVariable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBatchImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBatchPredictionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDetectorVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEntityType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventsByEventType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExternalModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLabel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModelVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOutcome
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVariable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModelVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBatchImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBatchPredictionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeleteEventsByEventTypeStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDetectorVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDetectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEntityTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventPrediction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventPredictionMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExternalModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKMSEncryptionKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLabels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetListElements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetListsMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModelVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOutcomes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVariables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventPredictions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEntityType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEventType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutExternalModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutKMSEncryptionKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLabel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutOutcome
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDetectorVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDetectorVersionMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDetectorVersionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventLabel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateModelVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateModelVersionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRuleMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRuleVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVariable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FraudDetector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/plugins/endpoints.rb b/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/plugins/endpoints.rb
index 660d5065dcb..77411c0e89b 100644
--- a/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/plugins/endpoints.rb
+++ b/gems/aws-sdk-frauddetector/lib/aws-sdk-frauddetector/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-frauddetector/spec/endpoint_provider_spec.rb b/gems/aws-sdk-frauddetector/spec/endpoint_provider_spec.rb
index 5435af89364..e6e4777e2d1 100644
--- a/gems/aws-sdk-frauddetector/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-frauddetector/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::FraudDetector
describe EndpointProvider do
subject { Aws::FraudDetector::EndpointProvider.new }
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.ap-southeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::FraudDetector
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.ap-southeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::FraudDetector
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.eu-west-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.us-east-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.us-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector-fips.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector-fips.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::FraudDetector
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::FraudDetector
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::FraudDetector
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::FraudDetector
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.cn-north-1.amazonaws.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector-fips.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -265,7 +265,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -279,7 +279,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -292,7 +292,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.us-iso-east-1.c2s.ic.gov"}}
end
@@ -306,7 +306,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -319,7 +319,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -333,7 +333,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -346,7 +346,7 @@ module Aws::FraudDetector
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://frauddetector.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -360,7 +360,7 @@ module Aws::FraudDetector
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::FraudDetector
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::FraudDetector
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -401,7 +401,7 @@ module Aws::FraudDetector
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -414,7 +414,7 @@ module Aws::FraudDetector
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-freetier/CHANGELOG.md b/gems/aws-sdk-freetier/CHANGELOG.md
index dccaeabb230..02be2977423 100644
--- a/gems/aws-sdk-freetier/CHANGELOG.md
+++ b/gems/aws-sdk-freetier/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.11.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.10.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-freetier/VERSION b/gems/aws-sdk-freetier/VERSION
index 81c871de46b..1cac385c6cb 100644
--- a/gems/aws-sdk-freetier/VERSION
+++ b/gems/aws-sdk-freetier/VERSION
@@ -1 +1 @@
-1.10.0
+1.11.0
diff --git a/gems/aws-sdk-freetier/aws-sdk-freetier.gemspec b/gems/aws-sdk-freetier/aws-sdk-freetier.gemspec
index 4862cf256bf..5cde5820a04 100644
--- a/gems/aws-sdk-freetier/aws-sdk-freetier.gemspec
+++ b/gems/aws-sdk-freetier/aws-sdk-freetier.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-freetier/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-freetier/lib/aws-sdk-freetier.rb b/gems/aws-sdk-freetier/lib/aws-sdk-freetier.rb
index 6b1f87b6688..0787197ac02 100644
--- a/gems/aws-sdk-freetier/lib/aws-sdk-freetier.rb
+++ b/gems/aws-sdk-freetier/lib/aws-sdk-freetier.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::FreeTier
- GEM_VERSION = '1.10.0'
+ GEM_VERSION = '1.11.0'
end
diff --git a/gems/aws-sdk-freetier/lib/aws-sdk-freetier/client.rb b/gems/aws-sdk-freetier/lib/aws-sdk-freetier/client.rb
index 652be47ac6c..1b6315b2a43 100644
--- a/gems/aws-sdk-freetier/lib/aws-sdk-freetier/client.rb
+++ b/gems/aws-sdk-freetier/lib/aws-sdk-freetier/client.rb
@@ -541,7 +541,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-freetier'
- context[:gem_version] = '1.10.0'
+ context[:gem_version] = '1.11.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-freetier/lib/aws-sdk-freetier/endpoints.rb b/gems/aws-sdk-freetier/lib/aws-sdk-freetier/endpoints.rb
index c77fc124644..d4e7305246f 100644
--- a/gems/aws-sdk-freetier/lib/aws-sdk-freetier/endpoints.rb
+++ b/gems/aws-sdk-freetier/lib/aws-sdk-freetier/endpoints.rb
@@ -14,13 +14,10 @@ module Endpoints
class GetFreeTierUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FreeTier::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-freetier/lib/aws-sdk-freetier/plugins/endpoints.rb b/gems/aws-sdk-freetier/lib/aws-sdk-freetier/plugins/endpoints.rb
index 6d3a21faeb1..cb73ef746fa 100644
--- a/gems/aws-sdk-freetier/lib/aws-sdk-freetier/plugins/endpoints.rb
+++ b/gems/aws-sdk-freetier/lib/aws-sdk-freetier/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-freetier/spec/endpoint_provider_spec.rb b/gems/aws-sdk-freetier/spec/endpoint_provider_spec.rb
index 63e1463e1f6..07cdd726806 100644
--- a/gems/aws-sdk-freetier/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-freetier/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::FreeTier
describe EndpointProvider do
subject { Aws::FreeTier::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack enabled' do
+ context "For region aws-global with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"freetier", "signingRegion"=>"us-east-1"}]}, "url"=>"https://freetier.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::FreeTier
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://freetier-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::FreeTier
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"freetier", "signingRegion"=>"us-east-1"}]}, "url"=>"https://freetier.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::FreeTier
end
end
- context 'For region aws-cn-global with FIPS disabled and DualStack enabled' do
+ context "For region aws-cn-global with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"freetier", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://freetier.cn-northwest-1.api.amazonwebservices.com.cn"}}
end
@@ -70,7 +70,7 @@ module Aws::FreeTier
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://freetier-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::FreeTier
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://freetier.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::FreeTier
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://freetier-fips.us-gov-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::FreeTier
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://freetier.us-gov-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::FreeTier
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -140,7 +140,7 @@ module Aws::FreeTier
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -154,7 +154,7 @@ module Aws::FreeTier
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -167,7 +167,7 @@ module Aws::FreeTier
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-fsx/CHANGELOG.md b/gems/aws-sdk-fsx/CHANGELOG.md
index d7820d07ceb..2dca7078381 100644
--- a/gems/aws-sdk-fsx/CHANGELOG.md
+++ b/gems/aws-sdk-fsx/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.97.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.96.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-fsx/VERSION b/gems/aws-sdk-fsx/VERSION
index 9141007a558..acbb747ac54 100644
--- a/gems/aws-sdk-fsx/VERSION
+++ b/gems/aws-sdk-fsx/VERSION
@@ -1 +1 @@
-1.96.0
+1.97.0
diff --git a/gems/aws-sdk-fsx/aws-sdk-fsx.gemspec b/gems/aws-sdk-fsx/aws-sdk-fsx.gemspec
index 4cec2919fb0..69bbd74adcc 100644
--- a/gems/aws-sdk-fsx/aws-sdk-fsx.gemspec
+++ b/gems/aws-sdk-fsx/aws-sdk-fsx.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-fsx/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-fsx/lib/aws-sdk-fsx.rb b/gems/aws-sdk-fsx/lib/aws-sdk-fsx.rb
index 8e430a3d3e2..c0a8c18034f 100644
--- a/gems/aws-sdk-fsx/lib/aws-sdk-fsx.rb
+++ b/gems/aws-sdk-fsx/lib/aws-sdk-fsx.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::FSx
- GEM_VERSION = '1.96.0'
+ GEM_VERSION = '1.97.0'
end
diff --git a/gems/aws-sdk-fsx/lib/aws-sdk-fsx/client.rb b/gems/aws-sdk-fsx/lib/aws-sdk-fsx/client.rb
index ed90851a0db..6f5dbad6a51 100644
--- a/gems/aws-sdk-fsx/lib/aws-sdk-fsx/client.rb
+++ b/gems/aws-sdk-fsx/lib/aws-sdk-fsx/client.rb
@@ -9326,7 +9326,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-fsx'
- context[:gem_version] = '1.96.0'
+ context[:gem_version] = '1.97.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-fsx/lib/aws-sdk-fsx/endpoints.rb b/gems/aws-sdk-fsx/lib/aws-sdk-fsx/endpoints.rb
index 2281bec254b..aa6daf0fbc0 100644
--- a/gems/aws-sdk-fsx/lib/aws-sdk-fsx/endpoints.rb
+++ b/gems/aws-sdk-fsx/lib/aws-sdk-fsx/endpoints.rb
@@ -14,630 +14,495 @@ module Endpoints
class AssociateFileSystemAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelDataRepositoryTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopySnapshotAndUpdateVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataRepositoryAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataRepositoryTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFileCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFileSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFileSystemFromBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStorageVirtualMachine
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVolumeFromBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataRepositoryAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFileCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFileSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStorageVirtualMachine
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBackups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataRepositoryAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataRepositoryTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFileCaches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFileSystemAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFileSystems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSharedVpcConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStorageVirtualMachines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVolumes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFileSystemAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReleaseFileSystemNfsV3Locks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreVolumeFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMisconfiguredStateRecovery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataRepositoryAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFileCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFileSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSharedVpcConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStorageVirtualMachine
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::FSx::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-fsx/lib/aws-sdk-fsx/plugins/endpoints.rb b/gems/aws-sdk-fsx/lib/aws-sdk-fsx/plugins/endpoints.rb
index 6765ae284d3..3a5f4385dc6 100644
--- a/gems/aws-sdk-fsx/lib/aws-sdk-fsx/plugins/endpoints.rb
+++ b/gems/aws-sdk-fsx/lib/aws-sdk-fsx/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-fsx/spec/endpoint_provider_spec.rb b/gems/aws-sdk-fsx/spec/endpoint_provider_spec.rb
index a6336ad566e..10e279d4fb0 100644
--- a/gems/aws-sdk-fsx/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-fsx/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::FSx
describe EndpointProvider do
subject { Aws::FSx::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::FSx
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::FSx
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::FSx
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::FSx
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::FSx
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::FSx
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::FSx
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::FSx
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::FSx
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::FSx
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::FSx
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::FSx
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::FSx
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::FSx
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::FSx
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::FSx
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::FSx
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::FSx
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::FSx
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::FSx
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::FSx
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::FSx
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::FSx
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::FSx
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::FSx
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::FSx
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::FSx
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::FSx
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::FSx
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::FSx
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::FSx
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::FSx
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::FSx
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::FSx
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::FSx
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::FSx
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::FSx
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::FSx
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::FSx
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::FSx
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::FSx
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::FSx
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::FSx
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::FSx
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::FSx
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::FSx
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fsx.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::FSx
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::FSx
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::FSx
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::FSx
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::FSx
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-gamelift/CHANGELOG.md b/gems/aws-sdk-gamelift/CHANGELOG.md
index 00f9a33c270..b32fd9b178a 100644
--- a/gems/aws-sdk-gamelift/CHANGELOG.md
+++ b/gems/aws-sdk-gamelift/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.89.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.88.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-gamelift/VERSION b/gems/aws-sdk-gamelift/VERSION
index 59be592144c..636ea711ad9 100644
--- a/gems/aws-sdk-gamelift/VERSION
+++ b/gems/aws-sdk-gamelift/VERSION
@@ -1 +1 @@
-1.88.0
+1.89.0
diff --git a/gems/aws-sdk-gamelift/aws-sdk-gamelift.gemspec b/gems/aws-sdk-gamelift/aws-sdk-gamelift.gemspec
index 9faa524f98a..c479ed49b98 100644
--- a/gems/aws-sdk-gamelift/aws-sdk-gamelift.gemspec
+++ b/gems/aws-sdk-gamelift/aws-sdk-gamelift.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-gamelift/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb
index d5d80dc7329..153c43649bd 100644
--- a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb
+++ b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::GameLift
- GEM_VERSION = '1.88.0'
+ GEM_VERSION = '1.89.0'
end
diff --git a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb
index 94a93e77fee..b7065e0ce25 100644
--- a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb
+++ b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/client.rb
@@ -10292,7 +10292,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-gamelift'
- context[:gem_version] = '1.88.0'
+ context[:gem_version] = '1.89.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/endpoints.rb b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/endpoints.rb
index 9a3a27433b1..75d3465e13e 100644
--- a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/endpoints.rb
+++ b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/endpoints.rb
@@ -14,1512 +14,1188 @@ module Endpoints
class AcceptMatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ClaimGameServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBuild
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContainerGroupDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFleetLocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGameServerGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGameSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGameSessionQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMatchmakingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMatchmakingRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePlayerSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePlayerSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateScript
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcPeeringAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcPeeringConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBuild
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContainerGroupDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFleetLocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGameServerGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGameSessionQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMatchmakingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMatchmakingRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScalingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScript
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcPeeringAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcPeeringConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterCompute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterGameServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBuild
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCompute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContainerGroupDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEC2InstanceLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetCapacity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetLocationAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetLocationCapacity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetLocationUtilization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetPortSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetUtilization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGameServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGameServerGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGameServerInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGameSessionDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGameSessionPlacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGameSessionQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGameSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMatchmaking
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMatchmakingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMatchmakingRuleSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePlayerSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRuntimeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScalingPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScript
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcPeeringAuthorizations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcPeeringConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComputeAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComputeAuthToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGameSessionLogUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBuilds
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCompute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContainerGroupDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGameServerGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGameServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListScripts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutScalingPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterCompute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterGameServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RequestUploadCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResolveAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeGameServerGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchGameSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFleetActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartGameSessionPlacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMatchBackfill
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMatchmaking
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopFleetActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopGameSessionPlacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopMatchmaking
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SuspendGameServerGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBuild
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFleetAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFleetCapacity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFleetPortSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGameServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGameServerGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGameSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGameSessionQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMatchmakingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRuntimeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateScript
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateMatchmakingRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GameLift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/plugins/endpoints.rb b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/plugins/endpoints.rb
index 34ca42454fe..8a5cdc010c2 100644
--- a/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/plugins/endpoints.rb
+++ b/gems/aws-sdk-gamelift/lib/aws-sdk-gamelift/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-gamelift/spec/endpoint_provider_spec.rb b/gems/aws-sdk-gamelift/spec/endpoint_provider_spec.rb
index de6581102d2..670fcfbea89 100644
--- a/gems/aws-sdk-gamelift/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-gamelift/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::GameLift
describe EndpointProvider do
subject { Aws::GameLift::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::GameLift
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::GameLift
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::GameLift
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::GameLift
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::GameLift
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::GameLift
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::GameLift
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::GameLift
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::GameLift
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::GameLift
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::GameLift
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::GameLift
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::GameLift
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::GameLift
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::GameLift
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::GameLift
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::GameLift
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::GameLift
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::GameLift
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::GameLift
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::GameLift
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::GameLift
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::GameLift
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::GameLift
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::GameLift
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::GameLift
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::GameLift
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::GameLift
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::GameLift
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift-fips.us-gov-east-1.api.aws"}}
end
@@ -434,7 +434,7 @@ module Aws::GameLift
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::GameLift
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::GameLift
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::GameLift
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -489,7 +489,7 @@ module Aws::GameLift
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -503,7 +503,7 @@ module Aws::GameLift
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -516,7 +516,7 @@ module Aws::GameLift
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.us-iso-east-1.c2s.ic.gov"}}
end
@@ -530,7 +530,7 @@ module Aws::GameLift
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -543,7 +543,7 @@ module Aws::GameLift
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -557,7 +557,7 @@ module Aws::GameLift
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -570,7 +570,7 @@ module Aws::GameLift
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://gamelift.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -584,7 +584,7 @@ module Aws::GameLift
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::GameLift
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::GameLift
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -625,7 +625,7 @@ module Aws::GameLift
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -638,7 +638,7 @@ module Aws::GameLift
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-glacier/CHANGELOG.md b/gems/aws-sdk-glacier/CHANGELOG.md
index b2e37ea476a..bff908f97c3 100644
--- a/gems/aws-sdk-glacier/CHANGELOG.md
+++ b/gems/aws-sdk-glacier/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.69.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.68.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-glacier/VERSION b/gems/aws-sdk-glacier/VERSION
index ee2f4ca9130..49349856550 100644
--- a/gems/aws-sdk-glacier/VERSION
+++ b/gems/aws-sdk-glacier/VERSION
@@ -1 +1 @@
-1.68.0
+1.69.0
diff --git a/gems/aws-sdk-glacier/aws-sdk-glacier.gemspec b/gems/aws-sdk-glacier/aws-sdk-glacier.gemspec
index 49ff3137a06..e23a06936f0 100644
--- a/gems/aws-sdk-glacier/aws-sdk-glacier.gemspec
+++ b/gems/aws-sdk-glacier/aws-sdk-glacier.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-glacier/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-glacier/lib/aws-sdk-glacier.rb b/gems/aws-sdk-glacier/lib/aws-sdk-glacier.rb
index 99d27e5b04f..13c003e577b 100644
--- a/gems/aws-sdk-glacier/lib/aws-sdk-glacier.rb
+++ b/gems/aws-sdk-glacier/lib/aws-sdk-glacier.rb
@@ -59,6 +59,6 @@
# @!group service
module Aws::Glacier
- GEM_VERSION = '1.68.0'
+ GEM_VERSION = '1.69.0'
end
diff --git a/gems/aws-sdk-glacier/lib/aws-sdk-glacier/client.rb b/gems/aws-sdk-glacier/lib/aws-sdk-glacier/client.rb
index f4a1430e3ea..11e37b02a89 100644
--- a/gems/aws-sdk-glacier/lib/aws-sdk-glacier/client.rb
+++ b/gems/aws-sdk-glacier/lib/aws-sdk-glacier/client.rb
@@ -3499,7 +3499,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-glacier'
- context[:gem_version] = '1.68.0'
+ context[:gem_version] = '1.69.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-glacier/lib/aws-sdk-glacier/endpoints.rb b/gems/aws-sdk-glacier/lib/aws-sdk-glacier/endpoints.rb
index d4147ab08fe..992cfeebc56 100644
--- a/gems/aws-sdk-glacier/lib/aws-sdk-glacier/endpoints.rb
+++ b/gems/aws-sdk-glacier/lib/aws-sdk-glacier/endpoints.rb
@@ -14,462 +14,363 @@ module Endpoints
class AbortMultipartUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AbortVaultLock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTagsToVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CompleteMultipartUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CompleteVaultLock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVaultAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVaultNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataRetrievalPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVaultAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVaultLock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVaultNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InitiateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InitiateMultipartUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InitiateVaultLock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMultipartUploads
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListParts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProvisionedCapacity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVaults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseProvisionedCapacity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromVault
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetDataRetrievalPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetVaultAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetVaultNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UploadArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UploadMultipartPart
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glacier::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-glacier/lib/aws-sdk-glacier/plugins/endpoints.rb b/gems/aws-sdk-glacier/lib/aws-sdk-glacier/plugins/endpoints.rb
index a5c39e1d80c..b68fb4cff61 100644
--- a/gems/aws-sdk-glacier/lib/aws-sdk-glacier/plugins/endpoints.rb
+++ b/gems/aws-sdk-glacier/lib/aws-sdk-glacier/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-glacier/spec/endpoint_provider_spec.rb b/gems/aws-sdk-glacier/spec/endpoint_provider_spec.rb
index fe1939b2fec..a26b67f16f2 100644
--- a/gems/aws-sdk-glacier/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-glacier/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Glacier
describe EndpointProvider do
subject { Aws::Glacier::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Glacier
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Glacier
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Glacier
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Glacier
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Glacier
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Glacier
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Glacier
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Glacier
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Glacier
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Glacier
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Glacier
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Glacier
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Glacier
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Glacier
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Glacier
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Glacier
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Glacier
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Glacier
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Glacier
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Glacier
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Glacier
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Glacier
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Glacier
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Glacier
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Glacier
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Glacier
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::Glacier
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Glacier
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::Glacier
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Glacier
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Glacier
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::Glacier
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::Glacier
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::Glacier
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Glacier
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Glacier
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::Glacier
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::Glacier
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::Glacier
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::Glacier
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-iso-east-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::Glacier
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-iso-west-1.c2s.ic.gov"}}
end
@@ -602,7 +602,7 @@ module Aws::Glacier
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -615,7 +615,7 @@ module Aws::Glacier
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -629,7 +629,7 @@ module Aws::Glacier
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -642,7 +642,7 @@ module Aws::Glacier
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -656,7 +656,7 @@ module Aws::Glacier
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -669,7 +669,7 @@ module Aws::Glacier
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glacier-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -683,7 +683,7 @@ module Aws::Glacier
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -696,7 +696,7 @@ module Aws::Glacier
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::Glacier
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -724,7 +724,7 @@ module Aws::Glacier
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -737,7 +737,7 @@ module Aws::Glacier
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -750,7 +750,7 @@ module Aws::Glacier
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-globalaccelerator/CHANGELOG.md b/gems/aws-sdk-globalaccelerator/CHANGELOG.md
index 08c0a8f3d13..027207033aa 100644
--- a/gems/aws-sdk-globalaccelerator/CHANGELOG.md
+++ b/gems/aws-sdk-globalaccelerator/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.67.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.66.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-globalaccelerator/VERSION b/gems/aws-sdk-globalaccelerator/VERSION
index b6148bc0a75..65ee0959841 100644
--- a/gems/aws-sdk-globalaccelerator/VERSION
+++ b/gems/aws-sdk-globalaccelerator/VERSION
@@ -1 +1 @@
-1.66.0
+1.67.0
diff --git a/gems/aws-sdk-globalaccelerator/aws-sdk-globalaccelerator.gemspec b/gems/aws-sdk-globalaccelerator/aws-sdk-globalaccelerator.gemspec
index 3b257339527..7360fe7c942 100644
--- a/gems/aws-sdk-globalaccelerator/aws-sdk-globalaccelerator.gemspec
+++ b/gems/aws-sdk-globalaccelerator/aws-sdk-globalaccelerator.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-globalaccelerator/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator.rb b/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator.rb
index c18c3e3258e..592e23a042d 100644
--- a/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator.rb
+++ b/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::GlobalAccelerator
- GEM_VERSION = '1.66.0'
+ GEM_VERSION = '1.67.0'
end
diff --git a/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/client.rb b/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/client.rb
index fc76b235e0b..b40a5eb46d3 100644
--- a/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/client.rb
+++ b/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/client.rb
@@ -3644,7 +3644,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-globalaccelerator'
- context[:gem_version] = '1.66.0'
+ context[:gem_version] = '1.67.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/endpoints.rb b/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/endpoints.rb
index 310d168e19f..782426d1814 100644
--- a/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/endpoints.rb
+++ b/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/endpoints.rb
@@ -14,784 +14,616 @@ module Endpoints
class AddCustomRoutingEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AdvertiseByoipCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AllowCustomRoutingTraffic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccelerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCrossAccountAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomRoutingAccelerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomRoutingEndpointGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomRoutingListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEndpointGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccelerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCrossAccountAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomRoutingAccelerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomRoutingEndpointGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomRoutingListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEndpointGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DenyCustomRoutingTraffic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeprovisionByoipCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccelerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAcceleratorAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCrossAccountAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomRoutingAccelerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomRoutingAcceleratorAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomRoutingEndpointGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomRoutingListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpointGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccelerators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListByoipCidrs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCrossAccountAttachments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCrossAccountResourceAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCrossAccountResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomRoutingAccelerators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomRoutingEndpointGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomRoutingListeners
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomRoutingPortMappings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomRoutingPortMappingsByDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEndpointGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListListeners
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ProvisionByoipCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveCustomRoutingEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccelerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAcceleratorAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCrossAccountAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCustomRoutingAccelerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCustomRoutingAcceleratorAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCustomRoutingListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEndpointGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class WithdrawByoipCidr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlobalAccelerator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/plugins/endpoints.rb b/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/plugins/endpoints.rb
index 4ca44276524..886359ce8d1 100644
--- a/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/plugins/endpoints.rb
+++ b/gems/aws-sdk-globalaccelerator/lib/aws-sdk-globalaccelerator/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-globalaccelerator/spec/endpoint_provider_spec.rb b/gems/aws-sdk-globalaccelerator/spec/endpoint_provider_spec.rb
index b9e35ff4e48..b626d11cf7c 100644
--- a/gems/aws-sdk-globalaccelerator/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-globalaccelerator/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::GlobalAccelerator
describe EndpointProvider do
subject { Aws::GlobalAccelerator::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://globalaccelerator.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::GlobalAccelerator
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::GlobalAccelerator
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-glue/CHANGELOG.md b/gems/aws-sdk-glue/CHANGELOG.md
index d562019e4ad..11bdc4dd9f0 100644
--- a/gems/aws-sdk-glue/CHANGELOG.md
+++ b/gems/aws-sdk-glue/CHANGELOG.md
@@ -1,6 +1,21 @@
Unreleased Changes
------------------
+1.195.0 (2024-09-19)
+------------------
+
+* Feature - This change is for releasing TestConnection api SDK model
+
+1.194.0 (2024-09-12)
+------------------
+
+* Feature - AWS Glue is introducing two new optimizers for Apache Iceberg tables: snapshot retention and orphan file deletion. Customers can enable these optimizers and customize their configurations to perform daily maintenance tasks on their Iceberg tables based on their specific requirements.
+
+1.193.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.192.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-glue/VERSION b/gems/aws-sdk-glue/VERSION
index 628b3645cec..6205d04188d 100644
--- a/gems/aws-sdk-glue/VERSION
+++ b/gems/aws-sdk-glue/VERSION
@@ -1 +1 @@
-1.192.0
+1.195.0
diff --git a/gems/aws-sdk-glue/aws-sdk-glue.gemspec b/gems/aws-sdk-glue/aws-sdk-glue.gemspec
index c84362ae621..855a9170e65 100644
--- a/gems/aws-sdk-glue/aws-sdk-glue.gemspec
+++ b/gems/aws-sdk-glue/aws-sdk-glue.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-glue/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue.rb
index fd71ab4deed..ab131148dfa 100644
--- a/gems/aws-sdk-glue/lib/aws-sdk-glue.rb
+++ b/gems/aws-sdk-glue/lib/aws-sdk-glue.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Glue
- GEM_VERSION = '1.192.0'
+ GEM_VERSION = '1.195.0'
end
diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb
index 3f809e14923..c45b2a0bc98 100644
--- a/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb
+++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/client.rb
@@ -2141,7 +2141,7 @@ def batch_get_partition(params = {}, options = {})
# catalog_id: "CatalogIdString",
# database_name: "databaseNameString",
# table_name: "tableNameString",
- # type: "compaction", # accepts compaction
+ # type: "compaction", # accepts compaction, retention, orphan_file_deletion
# },
# ],
# })
@@ -2152,9 +2152,14 @@ def batch_get_partition(params = {}, options = {})
# resp.table_optimizers[0].catalog_id #=> String
# resp.table_optimizers[0].database_name #=> String
# resp.table_optimizers[0].table_name #=> String
- # resp.table_optimizers[0].table_optimizer.type #=> String, one of "compaction"
+ # resp.table_optimizers[0].table_optimizer.type #=> String, one of "compaction", "retention", "orphan_file_deletion"
# resp.table_optimizers[0].table_optimizer.configuration.role_arn #=> String
# resp.table_optimizers[0].table_optimizer.configuration.enabled #=> Boolean
+ # resp.table_optimizers[0].table_optimizer.configuration.retention_configuration.iceberg_configuration.snapshot_retention_period_in_days #=> Integer
+ # resp.table_optimizers[0].table_optimizer.configuration.retention_configuration.iceberg_configuration.number_of_snapshots_to_retain #=> Integer
+ # resp.table_optimizers[0].table_optimizer.configuration.retention_configuration.iceberg_configuration.clean_expired_files #=> Boolean
+ # resp.table_optimizers[0].table_optimizer.configuration.orphan_file_deletion_configuration.iceberg_configuration.orphan_file_retention_period_in_days #=> Integer
+ # resp.table_optimizers[0].table_optimizer.configuration.orphan_file_deletion_configuration.iceberg_configuration.location #=> String
# resp.table_optimizers[0].table_optimizer.last_run.event_type #=> String, one of "starting", "completed", "failed", "in_progress"
# resp.table_optimizers[0].table_optimizer.last_run.start_timestamp #=> Time
# resp.table_optimizers[0].table_optimizer.last_run.end_timestamp #=> Time
@@ -2163,13 +2168,25 @@ def batch_get_partition(params = {}, options = {})
# resp.table_optimizers[0].table_optimizer.last_run.metrics.number_of_dpus #=> String
# resp.table_optimizers[0].table_optimizer.last_run.metrics.job_duration_in_hour #=> String
# resp.table_optimizers[0].table_optimizer.last_run.error #=> String
+ # resp.table_optimizers[0].table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_bytes_compacted #=> Integer
+ # resp.table_optimizers[0].table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_files_compacted #=> Integer
+ # resp.table_optimizers[0].table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_dpus #=> Integer
+ # resp.table_optimizers[0].table_optimizer.last_run.compaction_metrics.iceberg_metrics.job_duration_in_hour #=> Float
+ # resp.table_optimizers[0].table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_data_files_deleted #=> Integer
+ # resp.table_optimizers[0].table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_manifest_files_deleted #=> Integer
+ # resp.table_optimizers[0].table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_manifest_lists_deleted #=> Integer
+ # resp.table_optimizers[0].table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_dpus #=> Integer
+ # resp.table_optimizers[0].table_optimizer.last_run.retention_metrics.iceberg_metrics.job_duration_in_hour #=> Float
+ # resp.table_optimizers[0].table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.number_of_orphan_files_deleted #=> Integer
+ # resp.table_optimizers[0].table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.number_of_dpus #=> Integer
+ # resp.table_optimizers[0].table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.job_duration_in_hour #=> Float
# resp.failures #=> Array
# resp.failures[0].error.error_code #=> String
# resp.failures[0].error.error_message #=> String
# resp.failures[0].catalog_id #=> String
# resp.failures[0].database_name #=> String
# resp.failures[0].table_name #=> String
- # resp.failures[0].type #=> String, one of "compaction"
+ # resp.failures[0].type #=> String, one of "compaction", "retention", "orphan_file_deletion"
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchGetTableOptimizer AWS API Documentation
#
@@ -4812,10 +4829,23 @@ def create_table(params = {}, options = {})
# catalog_id: "CatalogIdString", # required
# database_name: "NameString", # required
# table_name: "NameString", # required
- # type: "compaction", # required, accepts compaction
+ # type: "compaction", # required, accepts compaction, retention, orphan_file_deletion
# table_optimizer_configuration: { # required
# role_arn: "ArnString",
# enabled: false,
+ # retention_configuration: {
+ # iceberg_configuration: {
+ # snapshot_retention_period_in_days: 1,
+ # number_of_snapshots_to_retain: 1,
+ # clean_expired_files: false,
+ # },
+ # },
+ # orphan_file_deletion_configuration: {
+ # iceberg_configuration: {
+ # orphan_file_retention_period_in_days: 1,
+ # location: "MessageString",
+ # },
+ # },
# },
# })
#
@@ -5826,7 +5856,7 @@ def delete_table(params = {}, options = {})
# catalog_id: "CatalogIdString", # required
# database_name: "NameString", # required
# table_name: "NameString", # required
- # type: "compaction", # required, accepts compaction
+ # type: "compaction", # required, accepts compaction, retention, orphan_file_deletion
# })
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/DeleteTableOptimizer AWS API Documentation
@@ -11346,7 +11376,7 @@ def get_table(params = {}, options = {})
# catalog_id: "CatalogIdString", # required
# database_name: "NameString", # required
# table_name: "NameString", # required
- # type: "compaction", # required, accepts compaction
+ # type: "compaction", # required, accepts compaction, retention, orphan_file_deletion
# })
#
# @example Response structure
@@ -11354,9 +11384,14 @@ def get_table(params = {}, options = {})
# resp.catalog_id #=> String
# resp.database_name #=> String
# resp.table_name #=> String
- # resp.table_optimizer.type #=> String, one of "compaction"
+ # resp.table_optimizer.type #=> String, one of "compaction", "retention", "orphan_file_deletion"
# resp.table_optimizer.configuration.role_arn #=> String
# resp.table_optimizer.configuration.enabled #=> Boolean
+ # resp.table_optimizer.configuration.retention_configuration.iceberg_configuration.snapshot_retention_period_in_days #=> Integer
+ # resp.table_optimizer.configuration.retention_configuration.iceberg_configuration.number_of_snapshots_to_retain #=> Integer
+ # resp.table_optimizer.configuration.retention_configuration.iceberg_configuration.clean_expired_files #=> Boolean
+ # resp.table_optimizer.configuration.orphan_file_deletion_configuration.iceberg_configuration.orphan_file_retention_period_in_days #=> Integer
+ # resp.table_optimizer.configuration.orphan_file_deletion_configuration.iceberg_configuration.location #=> String
# resp.table_optimizer.last_run.event_type #=> String, one of "starting", "completed", "failed", "in_progress"
# resp.table_optimizer.last_run.start_timestamp #=> Time
# resp.table_optimizer.last_run.end_timestamp #=> Time
@@ -11365,6 +11400,18 @@ def get_table(params = {}, options = {})
# resp.table_optimizer.last_run.metrics.number_of_dpus #=> String
# resp.table_optimizer.last_run.metrics.job_duration_in_hour #=> String
# resp.table_optimizer.last_run.error #=> String
+ # resp.table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_bytes_compacted #=> Integer
+ # resp.table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_files_compacted #=> Integer
+ # resp.table_optimizer.last_run.compaction_metrics.iceberg_metrics.number_of_dpus #=> Integer
+ # resp.table_optimizer.last_run.compaction_metrics.iceberg_metrics.job_duration_in_hour #=> Float
+ # resp.table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_data_files_deleted #=> Integer
+ # resp.table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_manifest_files_deleted #=> Integer
+ # resp.table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_manifest_lists_deleted #=> Integer
+ # resp.table_optimizer.last_run.retention_metrics.iceberg_metrics.number_of_dpus #=> Integer
+ # resp.table_optimizer.last_run.retention_metrics.iceberg_metrics.job_duration_in_hour #=> Float
+ # resp.table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.number_of_orphan_files_deleted #=> Integer
+ # resp.table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.number_of_dpus #=> Integer
+ # resp.table_optimizer.last_run.orphan_file_deletion_metrics.iceberg_metrics.job_duration_in_hour #=> Float
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/GetTableOptimizer AWS API Documentation
#
@@ -14398,7 +14445,7 @@ def list_statements(params = {}, options = {})
# catalog_id: "CatalogIdString", # required
# database_name: "NameString", # required
# table_name: "NameString", # required
- # type: "compaction", # required, accepts compaction
+ # type: "compaction", # required, accepts compaction, retention, orphan_file_deletion
# max_results: 1,
# next_token: "ListTableOptimizerRunsToken",
# })
@@ -14418,6 +14465,18 @@ def list_statements(params = {}, options = {})
# resp.table_optimizer_runs[0].metrics.number_of_dpus #=> String
# resp.table_optimizer_runs[0].metrics.job_duration_in_hour #=> String
# resp.table_optimizer_runs[0].error #=> String
+ # resp.table_optimizer_runs[0].compaction_metrics.iceberg_metrics.number_of_bytes_compacted #=> Integer
+ # resp.table_optimizer_runs[0].compaction_metrics.iceberg_metrics.number_of_files_compacted #=> Integer
+ # resp.table_optimizer_runs[0].compaction_metrics.iceberg_metrics.number_of_dpus #=> Integer
+ # resp.table_optimizer_runs[0].compaction_metrics.iceberg_metrics.job_duration_in_hour #=> Float
+ # resp.table_optimizer_runs[0].retention_metrics.iceberg_metrics.number_of_data_files_deleted #=> Integer
+ # resp.table_optimizer_runs[0].retention_metrics.iceberg_metrics.number_of_manifest_files_deleted #=> Integer
+ # resp.table_optimizer_runs[0].retention_metrics.iceberg_metrics.number_of_manifest_lists_deleted #=> Integer
+ # resp.table_optimizer_runs[0].retention_metrics.iceberg_metrics.number_of_dpus #=> Integer
+ # resp.table_optimizer_runs[0].retention_metrics.iceberg_metrics.job_duration_in_hour #=> Float
+ # resp.table_optimizer_runs[0].orphan_file_deletion_metrics.iceberg_metrics.number_of_orphan_files_deleted #=> Integer
+ # resp.table_optimizer_runs[0].orphan_file_deletion_metrics.iceberg_metrics.number_of_dpus #=> Integer
+ # resp.table_optimizer_runs[0].orphan_file_deletion_metrics.iceberg_metrics.job_duration_in_hour #=> Float
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ListTableOptimizerRuns AWS API Documentation
#
@@ -16293,6 +16352,66 @@ def tag_resource(params = {}, options = {})
req.send_request(options)
end
+ # Tests a connection to a service to validate the service credentials
+ # that you provide.
+ #
+ # You can either provide an existing connection name or a
+ # `TestConnectionInput` for testing a non-existing connection input.
+ # Providing both at the same time will cause an error.
+ #
+ # If the action is successful, the service sends back an HTTP 200
+ # response.
+ #
+ # @option params [String] :connection_name
+ # Optional. The name of the connection to test. If only name is
+ # provided, the operation will get the connection and use that for
+ # testing.
+ #
+ # @option params [Types::TestConnectionInput] :test_connection_input
+ # A structure that is used to specify testing a connection to a service.
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.test_connection({
+ # connection_name: "NameString",
+ # test_connection_input: {
+ # connection_type: "JDBC", # required, accepts JDBC, SFTP, MONGODB, KAFKA, NETWORK, MARKETPLACE, CUSTOM, SALESFORCE, VIEW_VALIDATION_REDSHIFT, VIEW_VALIDATION_ATHENA
+ # connection_properties: { # required
+ # "HOST" => "ValueString",
+ # },
+ # authentication_configuration: {
+ # authentication_type: "BASIC", # accepts BASIC, OAUTH2, CUSTOM
+ # secret_arn: "SecretArn",
+ # o_auth_2_properties: {
+ # o_auth_2_grant_type: "AUTHORIZATION_CODE", # accepts AUTHORIZATION_CODE, CLIENT_CREDENTIALS, JWT_BEARER
+ # o_auth_2_client_application: {
+ # user_managed_client_application_client_id: "UserManagedClientApplicationClientId",
+ # aws_managed_client_application_reference: "AWSManagedClientApplicationReference",
+ # },
+ # token_url: "TokenUrl",
+ # token_url_parameters_map: {
+ # "TokenUrlParameterKey" => "TokenUrlParameterValue",
+ # },
+ # authorization_code_properties: {
+ # authorization_code: "AuthorizationCode",
+ # redirect_uri: "RedirectUri",
+ # },
+ # },
+ # },
+ # },
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnection AWS API Documentation
+ #
+ # @overload test_connection(params = {})
+ # @param [Hash] params ({})
+ def test_connection(params = {}, options = {})
+ req = build_request(:test_connection, params)
+ req.send_request(options)
+ end
+
# Removes tags from a resource.
#
# @option params [required, String] :resource_arn
@@ -17804,10 +17923,23 @@ def update_table(params = {}, options = {})
# catalog_id: "CatalogIdString", # required
# database_name: "NameString", # required
# table_name: "NameString", # required
- # type: "compaction", # required, accepts compaction
+ # type: "compaction", # required, accepts compaction, retention, orphan_file_deletion
# table_optimizer_configuration: { # required
# role_arn: "ArnString",
# enabled: false,
+ # retention_configuration: {
+ # iceberg_configuration: {
+ # snapshot_retention_period_in_days: 1,
+ # number_of_snapshots_to_retain: 1,
+ # clean_expired_files: false,
+ # },
+ # },
+ # orphan_file_deletion_configuration: {
+ # iceberg_configuration: {
+ # orphan_file_retention_period_in_days: 1,
+ # location: "MessageString",
+ # },
+ # },
# },
# })
#
@@ -18077,7 +18209,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-glue'
- context[:gem_version] = '1.192.0'
+ context[:gem_version] = '1.195.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb
index 303caed2a57..fe78f545353 100644
--- a/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb
+++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/client_api.rb
@@ -204,6 +204,7 @@ module ClientApi
ColumnValuesString = Shapes::StringShape.new(name: 'ColumnValuesString')
CommentString = Shapes::StringShape.new(name: 'CommentString')
CommitIdString = Shapes::StringShape.new(name: 'CommitIdString')
+ CompactionMetrics = Shapes::StructureShape.new(name: 'CompactionMetrics')
Comparator = Shapes::StringShape.new(name: 'Comparator')
Compatibility = Shapes::StringShape.new(name: 'Compatibility')
CompressionType = Shapes::StringShape.new(name: 'CompressionType')
@@ -689,7 +690,12 @@ module ClientApi
HudiTargetCompressionType = Shapes::StringShape.new(name: 'HudiTargetCompressionType')
HudiTargetList = Shapes::ListShape.new(name: 'HudiTargetList')
IAMRoleArn = Shapes::StringShape.new(name: 'IAMRoleArn')
+ IcebergCompactionMetrics = Shapes::StructureShape.new(name: 'IcebergCompactionMetrics')
IcebergInput = Shapes::StructureShape.new(name: 'IcebergInput')
+ IcebergOrphanFileDeletionConfiguration = Shapes::StructureShape.new(name: 'IcebergOrphanFileDeletionConfiguration')
+ IcebergOrphanFileDeletionMetrics = Shapes::StructureShape.new(name: 'IcebergOrphanFileDeletionMetrics')
+ IcebergRetentionConfiguration = Shapes::StructureShape.new(name: 'IcebergRetentionConfiguration')
+ IcebergRetentionMetrics = Shapes::StructureShape.new(name: 'IcebergRetentionMetrics')
IcebergTarget = Shapes::StructureShape.new(name: 'IcebergTarget')
IcebergTargetList = Shapes::ListShape.new(name: 'IcebergTargetList')
IdString = Shapes::StringShape.new(name: 'IdString')
@@ -903,6 +909,8 @@ module ClientApi
OrchestrationToken = Shapes::StringShape.new(name: 'OrchestrationToken')
Order = Shapes::StructureShape.new(name: 'Order')
OrderList = Shapes::ListShape.new(name: 'OrderList')
+ OrphanFileDeletionConfiguration = Shapes::StructureShape.new(name: 'OrphanFileDeletionConfiguration')
+ OrphanFileDeletionMetrics = Shapes::StructureShape.new(name: 'OrphanFileDeletionMetrics')
OtherMetadataValueList = Shapes::ListShape.new(name: 'OtherMetadataValueList')
OtherMetadataValueListItem = Shapes::StructureShape.new(name: 'OtherMetadataValueListItem')
PIIDetection = Shapes::StructureShape.new(name: 'PIIDetection')
@@ -1006,6 +1014,8 @@ module ClientApi
ResourceUriList = Shapes::ListShape.new(name: 'ResourceUriList')
ResumeWorkflowRunRequest = Shapes::StructureShape.new(name: 'ResumeWorkflowRunRequest')
ResumeWorkflowRunResponse = Shapes::StructureShape.new(name: 'ResumeWorkflowRunResponse')
+ RetentionConfiguration = Shapes::StructureShape.new(name: 'RetentionConfiguration')
+ RetentionMetrics = Shapes::StructureShape.new(name: 'RetentionMetrics')
Role = Shapes::StringShape.new(name: 'Role')
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
RoleString = Shapes::StringShape.new(name: 'RoleString')
@@ -1202,6 +1212,10 @@ module ClientApi
TaskRunSortCriteria = Shapes::StructureShape.new(name: 'TaskRunSortCriteria')
TaskStatusType = Shapes::StringShape.new(name: 'TaskStatusType')
TaskType = Shapes::StringShape.new(name: 'TaskType')
+ TestConnectionInput = Shapes::StructureShape.new(name: 'TestConnectionInput')
+ TestConnectionRequest = Shapes::StructureShape.new(name: 'TestConnectionRequest')
+ TestConnectionResponse = Shapes::StructureShape.new(name: 'TestConnectionResponse')
+ ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
Timeout = Shapes::IntegerShape.new(name: 'Timeout')
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
TimestampFilter = Shapes::StructureShape.new(name: 'TimestampFilter')
@@ -1339,6 +1353,9 @@ module ClientApi
XMLClassifier = Shapes::StructureShape.new(name: 'XMLClassifier')
databaseNameString = Shapes::StringShape.new(name: 'databaseNameString')
double = Shapes::FloatShape.new(name: 'double')
+ dpuCounts = Shapes::IntegerShape.new(name: 'dpuCounts')
+ dpuDurationInHour = Shapes::FloatShape.new(name: 'dpuDurationInHour')
+ metricCounts = Shapes::IntegerShape.new(name: 'metricCounts')
tableNameString = Shapes::StringShape.new(name: 'tableNameString')
AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
@@ -2026,6 +2043,9 @@ module ClientApi
ColumnValueStringList.member = Shapes::ShapeRef.new(shape: ColumnValuesString)
+ CompactionMetrics.add_member(:iceberg_metrics, Shapes::ShapeRef.new(shape: IcebergCompactionMetrics, location_name: "IcebergMetrics"))
+ CompactionMetrics.struct_class = Types::CompactionMetrics
+
ConcurrentModificationException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
ConcurrentModificationException.struct_class = Types::ConcurrentModificationException
@@ -4029,10 +4049,37 @@ module ClientApi
HudiTargetList.member = Shapes::ShapeRef.new(shape: HudiTarget)
+ IcebergCompactionMetrics.add_member(:number_of_bytes_compacted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfBytesCompacted"))
+ IcebergCompactionMetrics.add_member(:number_of_files_compacted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfFilesCompacted"))
+ IcebergCompactionMetrics.add_member(:number_of_dpus, Shapes::ShapeRef.new(shape: dpuCounts, location_name: "NumberOfDpus"))
+ IcebergCompactionMetrics.add_member(:job_duration_in_hour, Shapes::ShapeRef.new(shape: dpuDurationInHour, location_name: "JobDurationInHour"))
+ IcebergCompactionMetrics.struct_class = Types::IcebergCompactionMetrics
+
IcebergInput.add_member(:metadata_operation, Shapes::ShapeRef.new(shape: MetadataOperation, required: true, location_name: "MetadataOperation"))
IcebergInput.add_member(:version, Shapes::ShapeRef.new(shape: VersionString, location_name: "Version"))
IcebergInput.struct_class = Types::IcebergInput
+ IcebergOrphanFileDeletionConfiguration.add_member(:orphan_file_retention_period_in_days, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "orphanFileRetentionPeriodInDays"))
+ IcebergOrphanFileDeletionConfiguration.add_member(:location, Shapes::ShapeRef.new(shape: MessageString, location_name: "location"))
+ IcebergOrphanFileDeletionConfiguration.struct_class = Types::IcebergOrphanFileDeletionConfiguration
+
+ IcebergOrphanFileDeletionMetrics.add_member(:number_of_orphan_files_deleted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfOrphanFilesDeleted"))
+ IcebergOrphanFileDeletionMetrics.add_member(:number_of_dpus, Shapes::ShapeRef.new(shape: dpuCounts, location_name: "NumberOfDpus"))
+ IcebergOrphanFileDeletionMetrics.add_member(:job_duration_in_hour, Shapes::ShapeRef.new(shape: dpuDurationInHour, location_name: "JobDurationInHour"))
+ IcebergOrphanFileDeletionMetrics.struct_class = Types::IcebergOrphanFileDeletionMetrics
+
+ IcebergRetentionConfiguration.add_member(:snapshot_retention_period_in_days, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "snapshotRetentionPeriodInDays"))
+ IcebergRetentionConfiguration.add_member(:number_of_snapshots_to_retain, Shapes::ShapeRef.new(shape: NullableInteger, location_name: "numberOfSnapshotsToRetain"))
+ IcebergRetentionConfiguration.add_member(:clean_expired_files, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "cleanExpiredFiles"))
+ IcebergRetentionConfiguration.struct_class = Types::IcebergRetentionConfiguration
+
+ IcebergRetentionMetrics.add_member(:number_of_data_files_deleted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfDataFilesDeleted"))
+ IcebergRetentionMetrics.add_member(:number_of_manifest_files_deleted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfManifestFilesDeleted"))
+ IcebergRetentionMetrics.add_member(:number_of_manifest_lists_deleted, Shapes::ShapeRef.new(shape: metricCounts, location_name: "NumberOfManifestListsDeleted"))
+ IcebergRetentionMetrics.add_member(:number_of_dpus, Shapes::ShapeRef.new(shape: dpuCounts, location_name: "NumberOfDpus"))
+ IcebergRetentionMetrics.add_member(:job_duration_in_hour, Shapes::ShapeRef.new(shape: dpuDurationInHour, location_name: "JobDurationInHour"))
+ IcebergRetentionMetrics.struct_class = Types::IcebergRetentionMetrics
+
IcebergTarget.add_member(:paths, Shapes::ShapeRef.new(shape: PathList, location_name: "Paths"))
IcebergTarget.add_member(:connection_name, Shapes::ShapeRef.new(shape: ConnectionName, location_name: "ConnectionName"))
IcebergTarget.add_member(:exclusions, Shapes::ShapeRef.new(shape: PathList, location_name: "Exclusions"))
@@ -4764,6 +4811,12 @@ module ClientApi
OrderList.member = Shapes::ShapeRef.new(shape: Order)
+ OrphanFileDeletionConfiguration.add_member(:iceberg_configuration, Shapes::ShapeRef.new(shape: IcebergOrphanFileDeletionConfiguration, location_name: "icebergConfiguration"))
+ OrphanFileDeletionConfiguration.struct_class = Types::OrphanFileDeletionConfiguration
+
+ OrphanFileDeletionMetrics.add_member(:iceberg_metrics, Shapes::ShapeRef.new(shape: IcebergOrphanFileDeletionMetrics, location_name: "IcebergMetrics"))
+ OrphanFileDeletionMetrics.struct_class = Types::OrphanFileDeletionMetrics
+
OtherMetadataValueList.member = Shapes::ShapeRef.new(shape: OtherMetadataValueListItem)
OtherMetadataValueListItem.add_member(:metadata_value, Shapes::ShapeRef.new(shape: MetadataValueString, location_name: "MetadataValue"))
@@ -5067,6 +5120,12 @@ module ClientApi
ResumeWorkflowRunResponse.add_member(:node_ids, Shapes::ShapeRef.new(shape: NodeIdList, location_name: "NodeIds"))
ResumeWorkflowRunResponse.struct_class = Types::ResumeWorkflowRunResponse
+ RetentionConfiguration.add_member(:iceberg_configuration, Shapes::ShapeRef.new(shape: IcebergRetentionConfiguration, location_name: "icebergConfiguration"))
+ RetentionConfiguration.struct_class = Types::RetentionConfiguration
+
+ RetentionMetrics.add_member(:iceberg_metrics, Shapes::ShapeRef.new(shape: IcebergRetentionMetrics, location_name: "IcebergMetrics"))
+ RetentionMetrics.struct_class = Types::RetentionMetrics
+
RulesetNames.member = Shapes::ShapeRef.new(shape: NameString)
RunIdentifier.add_member(:run_id, Shapes::ShapeRef.new(shape: HashString, location_name: "RunId"))
@@ -5800,13 +5859,18 @@ module ClientApi
TableOptimizerConfiguration.add_member(:role_arn, Shapes::ShapeRef.new(shape: ArnString, location_name: "roleArn"))
TableOptimizerConfiguration.add_member(:enabled, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "enabled"))
+ TableOptimizerConfiguration.add_member(:retention_configuration, Shapes::ShapeRef.new(shape: RetentionConfiguration, location_name: "retentionConfiguration"))
+ TableOptimizerConfiguration.add_member(:orphan_file_deletion_configuration, Shapes::ShapeRef.new(shape: OrphanFileDeletionConfiguration, location_name: "orphanFileDeletionConfiguration"))
TableOptimizerConfiguration.struct_class = Types::TableOptimizerConfiguration
TableOptimizerRun.add_member(:event_type, Shapes::ShapeRef.new(shape: TableOptimizerEventType, location_name: "eventType"))
TableOptimizerRun.add_member(:start_timestamp, Shapes::ShapeRef.new(shape: TableOptimizerRunTimestamp, location_name: "startTimestamp"))
TableOptimizerRun.add_member(:end_timestamp, Shapes::ShapeRef.new(shape: TableOptimizerRunTimestamp, location_name: "endTimestamp"))
- TableOptimizerRun.add_member(:metrics, Shapes::ShapeRef.new(shape: RunMetrics, location_name: "metrics"))
+ TableOptimizerRun.add_member(:metrics, Shapes::ShapeRef.new(shape: RunMetrics, deprecated: true, location_name: "metrics", metadata: {"deprecatedMessage"=>"Metrics has been replaced by optimizer type specific metrics such as IcebergCompactionMetrics"}))
TableOptimizerRun.add_member(:error, Shapes::ShapeRef.new(shape: MessageString, location_name: "error"))
+ TableOptimizerRun.add_member(:compaction_metrics, Shapes::ShapeRef.new(shape: CompactionMetrics, location_name: "compactionMetrics"))
+ TableOptimizerRun.add_member(:retention_metrics, Shapes::ShapeRef.new(shape: RetentionMetrics, location_name: "retentionMetrics"))
+ TableOptimizerRun.add_member(:orphan_file_deletion_metrics, Shapes::ShapeRef.new(shape: OrphanFileDeletionMetrics, location_name: "orphanFileDeletionMetrics"))
TableOptimizerRun.struct_class = Types::TableOptimizerRun
TableOptimizerRuns.member = Shapes::ShapeRef.new(shape: TableOptimizerRun)
@@ -5874,6 +5938,20 @@ module ClientApi
TaskRunSortCriteria.add_member(:sort_direction, Shapes::ShapeRef.new(shape: SortDirectionType, required: true, location_name: "SortDirection"))
TaskRunSortCriteria.struct_class = Types::TaskRunSortCriteria
+ TestConnectionInput.add_member(:connection_type, Shapes::ShapeRef.new(shape: ConnectionType, required: true, location_name: "ConnectionType"))
+ TestConnectionInput.add_member(:connection_properties, Shapes::ShapeRef.new(shape: ConnectionProperties, required: true, location_name: "ConnectionProperties"))
+ TestConnectionInput.add_member(:authentication_configuration, Shapes::ShapeRef.new(shape: AuthenticationConfigurationInput, location_name: "AuthenticationConfiguration"))
+ TestConnectionInput.struct_class = Types::TestConnectionInput
+
+ TestConnectionRequest.add_member(:connection_name, Shapes::ShapeRef.new(shape: NameString, location_name: "ConnectionName"))
+ TestConnectionRequest.add_member(:test_connection_input, Shapes::ShapeRef.new(shape: TestConnectionInput, location_name: "TestConnectionInput"))
+ TestConnectionRequest.struct_class = Types::TestConnectionRequest
+
+ TestConnectionResponse.struct_class = Types::TestConnectionResponse
+
+ ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: MessageString, location_name: "Message"))
+ ThrottlingException.struct_class = Types::ThrottlingException
+
TimestampFilter.add_member(:recorded_before, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RecordedBefore"))
TimestampFilter.add_member(:recorded_after, Shapes::ShapeRef.new(shape: Timestamp, location_name: "RecordedAfter"))
TimestampFilter.struct_class = Types::TimestampFilter
@@ -6537,7 +6615,11 @@ module ClientApi
o.http_request_uri = "/"
o.input = Shapes::ShapeRef.new(shape: BatchGetTableOptimizerRequest)
o.output = Shapes::ShapeRef.new(shape: BatchGetTableOptimizerResponse)
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
end)
api.add_operation(:batch_get_triggers, Seahorse::Model::Operation.new.tap do |o|
@@ -6921,10 +7003,12 @@ module ClientApi
o.input = Shapes::ShapeRef.new(shape: CreateTableOptimizerRequest)
o.output = Shapes::ShapeRef.new(shape: CreateTableOptimizerResponse)
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
o.errors << Shapes::ShapeRef.new(shape: AlreadyExistsException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
end)
api.add_operation(:create_trigger, Seahorse::Model::Operation.new.tap do |o|
@@ -7253,6 +7337,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
end)
api.add_operation(:delete_table_version, Seahorse::Model::Operation.new.tap do |o|
@@ -8067,6 +8152,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
end)
api.add_operation(:get_table_version, Seahorse::Model::Operation.new.tap do |o|
@@ -8640,7 +8726,9 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o[:pager] = Aws::Pager.new(
limit_key: "max_results",
tokens: {
@@ -9119,6 +9207,23 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
end)
+ api.add_operation(:test_connection, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "TestConnection"
+ o.http_method = "POST"
+ o.http_request_uri = "/"
+ o.input = Shapes::ShapeRef.new(shape: TestConnectionRequest)
+ o.output = Shapes::ShapeRef.new(shape: TestConnectionResponse)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
+ o.errors << Shapes::ShapeRef.new(shape: OperationTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNumberLimitExceededException)
+ o.errors << Shapes::ShapeRef.new(shape: GlueEncryptionException)
+ o.errors << Shapes::ShapeRef.new(shape: FederationSourceException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
+ end)
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
o.name = "UntagResource"
o.http_method = "POST"
@@ -9384,7 +9489,10 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: EntityNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
o.errors << Shapes::ShapeRef.new(shape: InternalServiceException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o.errors << Shapes::ShapeRef.new(shape: ConcurrentModificationException)
end)
api.add_operation(:update_trigger, Seahorse::Model::Operation.new.tap do |o|
diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/endpoints.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/endpoints.rb
index 3469aabc046..d2758395e61 100644
--- a/gems/aws-sdk-glue/lib/aws-sdk-glue/endpoints.rb
+++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/endpoints.rb
@@ -14,3136 +14,2475 @@ module Endpoints
class BatchCreatePartition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeletePartition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteTableVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetBlueprints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetCrawlers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetCustomEntityTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetDataQualityResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetDevEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetPartition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetTableOptimizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetTriggers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetWorkflows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchPutDataQualityStatisticAnnotation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchStopJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdatePartition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelDataQualityRuleRecommendationRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelDataQualityRulesetEvaluationRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelMLTaskRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckSchemaVersionValidity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBlueprint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateClassifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCrawler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomEntityType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataQualityRuleset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDevEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMLTransform
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePartition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePartitionIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRegistry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateScript
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSecurityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTableOptimizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrigger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUsageProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserDefinedFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBlueprint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteClassifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteColumnStatisticsForPartition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteColumnStatisticsForTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCrawler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomEntityType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataQualityRuleset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDevEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMLTransform
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePartition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePartitionIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegistry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchemaVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSecurityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTableOptimizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTableVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrigger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUsageProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserDefinedFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBlueprint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBlueprintRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBlueprintRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCatalogImportStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetClassifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetClassifiers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetColumnStatisticsForPartition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetColumnStatisticsForTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetColumnStatisticsTaskRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetColumnStatisticsTaskRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCrawler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCrawlerMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCrawlers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCustomEntityType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataCatalogEncryptionSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataQualityModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataQualityModelResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataQualityResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataQualityRuleRecommendationRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataQualityRuleset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataQualityRulesetEvaluationRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataflowGraph
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobBookmark
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMLTaskRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMLTaskRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMLTransform
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMLTransforms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPartition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPartitionIndexes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPartitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegistry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSchemaByDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSchemaVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSchemaVersionsDiff
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSecurityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSecurityConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTableOptimizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTableVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTableVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrigger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTriggers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUnfilteredPartitionMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUnfilteredPartitionsMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUnfilteredTableMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUsageProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserDefinedFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserDefinedFunctions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflowRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflowRunProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflowRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportCatalogToGlue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBlueprints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListColumnStatisticsTaskRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCrawlers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCrawls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomEntityTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataQualityResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataQualityRuleRecommendationRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataQualityRulesetEvaluationRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataQualityRulesets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataQualityStatisticAnnotations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataQualityStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMLTransforms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRegistries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchemaVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchemas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStatements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTableOptimizerRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTriggers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsageProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDataCatalogEncryptionSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDataQualityProfileAnnotation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSchemaVersionMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutWorkflowRunProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class QuerySchemaVersionMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterSchemaVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveSchemaVersionMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetJobBookmark
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeWorkflowRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RunStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBlueprintRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartColumnStatisticsTaskRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCrawler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCrawlerSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDataQualityRuleRecommendationRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDataQualityRulesetEvaluationRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartExportLabelsTaskRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImportLabelsTaskRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMLEvaluationTaskRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMLLabelingSetGenerationTaskRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTrigger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartWorkflowRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopColumnStatisticsTaskRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopCrawler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopCrawlerSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopTrigger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopWorkflowRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class TestConnection
+ def self.build(context)
+ Aws::Glue::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBlueprint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateClassifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateColumnStatisticsForPartition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateColumnStatisticsForTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCrawler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCrawlerSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataQualityRuleset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDevEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateJobFromSourceControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMLTransform
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePartition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRegistry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSourceControlFromJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTableOptimizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrigger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUsageProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserDefinedFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Glue::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/errors.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/errors.rb
index 014ad0a7c8a..3702ab4feba 100644
--- a/gems/aws-sdk-glue/lib/aws-sdk-glue/errors.rb
+++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/errors.rb
@@ -61,6 +61,7 @@ module Aws::Glue
# * {SchedulerNotRunningException}
# * {SchedulerRunningException}
# * {SchedulerTransitioningException}
+ # * {ThrottlingException}
# * {ValidationException}
# * {VersionMismatchException}
#
@@ -600,6 +601,21 @@ def message
end
end
+ class ThrottlingException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::Glue::Types::ThrottlingException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
class ValidationException < ServiceError
# @param [Seahorse::Client::RequestContext] context
diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/plugins/endpoints.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/plugins/endpoints.rb
index 079ad77b63d..113a103b2f1 100644
--- a/gems/aws-sdk-glue/lib/aws-sdk-glue/plugins/endpoints.rb
+++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
@@ -458,6 +467,8 @@ def parameters_for_operation(context)
Aws::Glue::Endpoints::StopWorkflowRun.build(context)
when :tag_resource
Aws::Glue::Endpoints::TagResource.build(context)
+ when :test_connection
+ Aws::Glue::Endpoints::TestConnection.build(context)
when :untag_resource
Aws::Glue::Endpoints::UntagResource.build(context)
when :update_blueprint
diff --git a/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb b/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb
index 3c0aa395eec..30dd63ed63f 100644
--- a/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb
+++ b/gems/aws-sdk-glue/lib/aws-sdk-glue/types.rb
@@ -1383,7 +1383,7 @@ class BatchStopJobRunSuccessfulSubmission < Struct.new(
#
# @!attribute [rw] table_optimizer
# A `TableOptimizer` object that contains details on the configuration
- # and last run of a table optimzer.
+ # and last run of a table optimizer.
# @return [Types::TableOptimizer]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/BatchTableOptimizer AWS API Documentation
@@ -3000,6 +3000,21 @@ class ColumnStatisticsTaskStoppingException < Struct.new(
include Aws::Structure
end
+ # A structure that contains compaction metrics for the optimizer run.
+ #
+ # @!attribute [rw] iceberg_metrics
+ # A structure containing the Iceberg compaction metrics for the
+ # optimizer run.
+ # @return [Types::IcebergCompactionMetrics]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/CompactionMetrics AWS API Documentation
+ #
+ class CompactionMetrics < Struct.new(
+ :iceberg_metrics)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# Two processes are trying to modify a resource simultaneously.
#
# @!attribute [rw] message
@@ -13361,6 +13376,35 @@ class HudiTarget < Struct.new(
include Aws::Structure
end
+ # Compaction metrics for Iceberg for the optimizer run.
+ #
+ # @!attribute [rw] number_of_bytes_compacted
+ # The number of bytes removed by the compaction job run.
+ # @return [Integer]
+ #
+ # @!attribute [rw] number_of_files_compacted
+ # The number of files removed by the compaction job run.
+ # @return [Integer]
+ #
+ # @!attribute [rw] number_of_dpus
+ # The number of DPU hours consumed by the job.
+ # @return [Integer]
+ #
+ # @!attribute [rw] job_duration_in_hour
+ # The duration of the job in hours.
+ # @return [Float]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergCompactionMetrics AWS API Documentation
+ #
+ class IcebergCompactionMetrics < Struct.new(
+ :number_of_bytes_compacted,
+ :number_of_files_compacted,
+ :number_of_dpus,
+ :job_duration_in_hour)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# A structure that defines an Apache Iceberg metadata table to create in
# the catalog.
#
@@ -13381,6 +13425,118 @@ class IcebergInput < Struct.new(
include Aws::Structure
end
+ # The configuration for an Iceberg orphan file deletion optimizer.
+ #
+ # @!attribute [rw] orphan_file_retention_period_in_days
+ # The number of days that orphan files should be retained before file
+ # deletion. If an input is not provided, the default value 3 will be
+ # used.
+ # @return [Integer]
+ #
+ # @!attribute [rw] location
+ # Specifies a directory in which to look for files (defaults to the
+ # table's location). You may choose a sub-directory rather than the
+ # top-level table location.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergOrphanFileDeletionConfiguration AWS API Documentation
+ #
+ class IcebergOrphanFileDeletionConfiguration < Struct.new(
+ :orphan_file_retention_period_in_days,
+ :location)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Orphan file deletion metrics for Iceberg for the optimizer run.
+ #
+ # @!attribute [rw] number_of_orphan_files_deleted
+ # The number of orphan files deleted by the orphan file deletion job
+ # run.
+ # @return [Integer]
+ #
+ # @!attribute [rw] number_of_dpus
+ # The number of DPU hours consumed by the job.
+ # @return [Integer]
+ #
+ # @!attribute [rw] job_duration_in_hour
+ # The duration of the job in hours.
+ # @return [Float]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergOrphanFileDeletionMetrics AWS API Documentation
+ #
+ class IcebergOrphanFileDeletionMetrics < Struct.new(
+ :number_of_orphan_files_deleted,
+ :number_of_dpus,
+ :job_duration_in_hour)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # The configuration for an Iceberg snapshot retention optimizer.
+ #
+ # @!attribute [rw] snapshot_retention_period_in_days
+ # The number of days to retain the Iceberg snapshots. If an input is
+ # not provided, the corresponding Iceberg table configuration field
+ # will be used or if not present, the default value 5 will be used.
+ # @return [Integer]
+ #
+ # @!attribute [rw] number_of_snapshots_to_retain
+ # The number of Iceberg snapshots to retain within the retention
+ # period. If an input is not provided, the corresponding Iceberg table
+ # configuration field will be used or if not present, the default
+ # value 1 will be used.
+ # @return [Integer]
+ #
+ # @!attribute [rw] clean_expired_files
+ # If set to false, snapshots are only deleted from table metadata, and
+ # the underlying data and metadata files are not deleted.
+ # @return [Boolean]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergRetentionConfiguration AWS API Documentation
+ #
+ class IcebergRetentionConfiguration < Struct.new(
+ :snapshot_retention_period_in_days,
+ :number_of_snapshots_to_retain,
+ :clean_expired_files)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Snapshot retention metrics for Iceberg for the optimizer run.
+ #
+ # @!attribute [rw] number_of_data_files_deleted
+ # The number of data files deleted by the retention job run.
+ # @return [Integer]
+ #
+ # @!attribute [rw] number_of_manifest_files_deleted
+ # The number of manifest files deleted by the retention job run.
+ # @return [Integer]
+ #
+ # @!attribute [rw] number_of_manifest_lists_deleted
+ # The number of manifest lists deleted by the retention job run.
+ # @return [Integer]
+ #
+ # @!attribute [rw] number_of_dpus
+ # The number of DPU hours consumed by the job.
+ # @return [Integer]
+ #
+ # @!attribute [rw] job_duration_in_hour
+ # The duration of the job in hours.
+ # @return [Float]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/IcebergRetentionMetrics AWS API Documentation
+ #
+ class IcebergRetentionMetrics < Struct.new(
+ :number_of_data_files_deleted,
+ :number_of_manifest_files_deleted,
+ :number_of_manifest_lists_deleted,
+ :number_of_dpus,
+ :job_duration_in_hour)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# Specifies an Apache Iceberg data source where Iceberg tables are
# stored in Amazon S3.
#
@@ -17414,6 +17570,36 @@ class Order < Struct.new(
include Aws::Structure
end
+ # The configuration for an orphan file deletion optimizer.
+ #
+ # @!attribute [rw] iceberg_configuration
+ # The configuration for an Iceberg orphan file deletion optimizer.
+ # @return [Types::IcebergOrphanFileDeletionConfiguration]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/OrphanFileDeletionConfiguration AWS API Documentation
+ #
+ class OrphanFileDeletionConfiguration < Struct.new(
+ :iceberg_configuration)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # A structure that contains orphan file deletion metrics for the
+ # optimizer run.
+ #
+ # @!attribute [rw] iceberg_metrics
+ # A structure containing the Iceberg orphan file deletion metrics for
+ # the optimizer run.
+ # @return [Types::IcebergOrphanFileDeletionMetrics]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/OrphanFileDeletionMetrics AWS API Documentation
+ #
+ class OrphanFileDeletionMetrics < Struct.new(
+ :iceberg_metrics)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# A structure containing other metadata for a schema version belonging
# to the same metadata key.
#
@@ -18745,6 +18931,35 @@ class ResumeWorkflowRunResponse < Struct.new(
include Aws::Structure
end
+ # The configuration for a snapshot retention optimizer.
+ #
+ # @!attribute [rw] iceberg_configuration
+ # The configuration for an Iceberg snapshot retention optimizer.
+ # @return [Types::IcebergRetentionConfiguration]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RetentionConfiguration AWS API Documentation
+ #
+ class RetentionConfiguration < Struct.new(
+ :iceberg_configuration)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # A structure that contains retention metrics for the optimizer run.
+ #
+ # @!attribute [rw] iceberg_metrics
+ # A structure containing the Iceberg retention metrics for the
+ # optimizer run.
+ # @return [Types::IcebergRetentionMetrics]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/RetentionMetrics AWS API Documentation
+ #
+ class RetentionMetrics < Struct.new(
+ :iceberg_metrics)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# A run identifier.
#
# @!attribute [rw] run_id
@@ -18766,6 +18981,9 @@ class RunIdentifier < Struct.new(
# Metrics for the optimizer run.
#
+ # This structure is deprecated. See the individual metric members for
+ # compaction, retention, and orphan file deletion.
+ #
# @!attribute [rw] number_of_bytes_compacted
# The number of bytes removed by the compaction job run.
# @return [String]
@@ -22405,8 +22623,15 @@ class TableInput < Struct.new(
# Contains details about an optimizer associated with a table.
#
# @!attribute [rw] type
- # The type of table optimizer. Currently, the only valid value is
- # `compaction`.
+ # The type of table optimizer. The valid values are:
+ #
+ # * `compaction`: for managing compaction with a table optimizer.
+ #
+ # * `retention`: for managing the retention of snapshot with a table
+ # optimizer.
+ #
+ # * `orphan_file_deletion`: for managing the deletion of orphan files
+ # with a table optimizer.
# @return [String]
#
# @!attribute [rw] configuration
@@ -22442,11 +22667,21 @@ class TableOptimizer < Struct.new(
# Whether table optimization is enabled.
# @return [Boolean]
#
+ # @!attribute [rw] retention_configuration
+ # The configuration for a snapshot retention optimizer.
+ # @return [Types::RetentionConfiguration]
+ #
+ # @!attribute [rw] orphan_file_deletion_configuration
+ # The configuration for an orphan file deletion optimizer.
+ # @return [Types::OrphanFileDeletionConfiguration]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableOptimizerConfiguration AWS API Documentation
#
class TableOptimizerConfiguration < Struct.new(
:role_arn,
- :enabled)
+ :enabled,
+ :retention_configuration,
+ :orphan_file_deletion_configuration)
SENSITIVE = []
include Aws::Structure
end
@@ -22468,12 +22703,30 @@ class TableOptimizerConfiguration < Struct.new(
#
# @!attribute [rw] metrics
# A `RunMetrics` object containing metrics for the optimizer run.
+ #
+ # This member is deprecated. See the individual metric members for
+ # compaction, retention, and orphan file deletion.
# @return [Types::RunMetrics]
#
# @!attribute [rw] error
# An error that occured during the optimizer run.
# @return [String]
#
+ # @!attribute [rw] compaction_metrics
+ # A `CompactionMetrics` object containing metrics for the optimizer
+ # run.
+ # @return [Types::CompactionMetrics]
+ #
+ # @!attribute [rw] retention_metrics
+ # A `RetentionMetrics` object containing metrics for the optimizer
+ # run.
+ # @return [Types::RetentionMetrics]
+ #
+ # @!attribute [rw] orphan_file_deletion_metrics
+ # An `OrphanFileDeletionMetrics` object containing metrics for the
+ # optimizer run.
+ # @return [Types::OrphanFileDeletionMetrics]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TableOptimizerRun AWS API Documentation
#
class TableOptimizerRun < Struct.new(
@@ -22481,7 +22734,10 @@ class TableOptimizerRun < Struct.new(
:start_timestamp,
:end_timestamp,
:metrics,
- :error)
+ :error,
+ :compaction_metrics,
+ :retention_metrics,
+ :orphan_file_deletion_metrics)
SENSITIVE = []
include Aws::Structure
end
@@ -22765,6 +23021,85 @@ class TaskRunSortCriteria < Struct.new(
include Aws::Structure
end
+ # A structure that is used to specify testing a connection to a service.
+ #
+ # @!attribute [rw] connection_type
+ # The type of connection to test. This operation is only available for
+ # the `JDBC` or `SALESFORCE` connection types.
+ # @return [String]
+ #
+ # @!attribute [rw] connection_properties
+ # The key-value pairs that define parameters for the connection.
+ #
+ # JDBC connections use the following connection properties:
+ #
+ # * Required: All of (`HOST`, `PORT`, `JDBC_ENGINE`) or
+ # `JDBC_CONNECTION_URL`.
+ #
+ # * Required: All of (`USERNAME`, `PASSWORD`) or `SECRET_ID`.
+ #
+ # * Optional: `JDBC_ENFORCE_SSL`, `CUSTOM_JDBC_CERT`,
+ # `CUSTOM_JDBC_CERT_STRING`, `SKIP_CUSTOM_JDBC_CERT_VALIDATION`.
+ # These parameters are used to configure SSL with JDBC.
+ #
+ # SALESFORCE connections require the `AuthenticationConfiguration`
+ # member to be configured.
+ # @return [Hash]
+ #
+ # @!attribute [rw] authentication_configuration
+ # A structure containing the authentication configuration in the
+ # TestConnection request. Required for a connection to Salesforce
+ # using OAuth authentication.
+ # @return [Types::AuthenticationConfigurationInput]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnectionInput AWS API Documentation
+ #
+ class TestConnectionInput < Struct.new(
+ :connection_type,
+ :connection_properties,
+ :authentication_configuration)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] connection_name
+ # Optional. The name of the connection to test. If only name is
+ # provided, the operation will get the connection and use that for
+ # testing.
+ # @return [String]
+ #
+ # @!attribute [rw] test_connection_input
+ # A structure that is used to specify testing a connection to a
+ # service.
+ # @return [Types::TestConnectionInput]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnectionRequest AWS API Documentation
+ #
+ class TestConnectionRequest < Struct.new(
+ :connection_name,
+ :test_connection_input)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TestConnectionResponse AWS API Documentation
+ #
+ class TestConnectionResponse < Aws::EmptyStructure; end
+
+ # The throttling threshhold was exceeded.
+ #
+ # @!attribute [rw] message
+ # A message describing the problem.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/ThrottlingException AWS API Documentation
+ #
+ class ThrottlingException < Struct.new(
+ :message)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# A timestamp filter.
#
# @!attribute [rw] recorded_before
diff --git a/gems/aws-sdk-glue/sig/client.rbs b/gems/aws-sdk-glue/sig/client.rbs
index e2bbf3d0f76..222fafaf2b1 100644
--- a/gems/aws-sdk-glue/sig/client.rbs
+++ b/gems/aws-sdk-glue/sig/client.rbs
@@ -292,7 +292,7 @@ module Aws
catalog_id: ::String?,
database_name: ::String?,
table_name: ::String?,
- type: ("compaction")?
+ type: ("compaction" | "retention" | "orphan_file_deletion")?
},
]
) -> _BatchGetTableOptimizerResponseSuccess
@@ -2390,10 +2390,23 @@ module Aws
catalog_id: ::String,
database_name: ::String,
table_name: ::String,
- type: ("compaction"),
+ type: ("compaction" | "retention" | "orphan_file_deletion"),
table_optimizer_configuration: {
role_arn: ::String?,
- enabled: bool?
+ enabled: bool?,
+ retention_configuration: {
+ iceberg_configuration: {
+ snapshot_retention_period_in_days: ::Integer?,
+ number_of_snapshots_to_retain: ::Integer?,
+ clean_expired_files: bool?
+ }?
+ }?,
+ orphan_file_deletion_configuration: {
+ iceberg_configuration: {
+ orphan_file_retention_period_in_days: ::Integer?,
+ location: ::String?
+ }?
+ }?
}
) -> _CreateTableOptimizerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTableOptimizerResponseSuccess
@@ -2745,7 +2758,7 @@ module Aws
catalog_id: ::String,
database_name: ::String,
table_name: ::String,
- type: ("compaction")
+ type: ("compaction" | "retention" | "orphan_file_deletion")
) -> _DeleteTableOptimizerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteTableOptimizerResponseSuccess
@@ -3697,7 +3710,7 @@ module Aws
catalog_id: ::String,
database_name: ::String,
table_name: ::String,
- type: ("compaction")
+ type: ("compaction" | "retention" | "orphan_file_deletion")
) -> _GetTableOptimizerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetTableOptimizerResponseSuccess
@@ -4339,7 +4352,7 @@ module Aws
catalog_id: ::String,
database_name: ::String,
table_name: ::String,
- type: ("compaction"),
+ type: ("compaction" | "retention" | "orphan_file_deletion"),
?max_results: ::Integer,
?next_token: ::String
) -> _ListTableOptimizerRunsResponseSuccess
@@ -4873,6 +4886,36 @@ module Aws
) -> _TagResourceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
+ interface _TestConnectionResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::TestConnectionResponse]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Glue/Client.html#test_connection-instance_method
+ def test_connection: (
+ ?connection_name: ::String,
+ ?test_connection_input: {
+ connection_type: ("JDBC" | "SFTP" | "MONGODB" | "KAFKA" | "NETWORK" | "MARKETPLACE" | "CUSTOM" | "SALESFORCE" | "VIEW_VALIDATION_REDSHIFT" | "VIEW_VALIDATION_ATHENA"),
+ connection_properties: Hash[("HOST" | "PORT" | "USERNAME" | "PASSWORD" | "ENCRYPTED_PASSWORD" | "JDBC_DRIVER_JAR_URI" | "JDBC_DRIVER_CLASS_NAME" | "JDBC_ENGINE" | "JDBC_ENGINE_VERSION" | "CONFIG_FILES" | "INSTANCE_ID" | "JDBC_CONNECTION_URL" | "JDBC_ENFORCE_SSL" | "CUSTOM_JDBC_CERT" | "SKIP_CUSTOM_JDBC_CERT_VALIDATION" | "CUSTOM_JDBC_CERT_STRING" | "CONNECTION_URL" | "KAFKA_BOOTSTRAP_SERVERS" | "KAFKA_SSL_ENABLED" | "KAFKA_CUSTOM_CERT" | "KAFKA_SKIP_CUSTOM_CERT_VALIDATION" | "KAFKA_CLIENT_KEYSTORE" | "KAFKA_CLIENT_KEYSTORE_PASSWORD" | "KAFKA_CLIENT_KEY_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD" | "SECRET_ID" | "CONNECTOR_URL" | "CONNECTOR_TYPE" | "CONNECTOR_CLASS_NAME" | "KAFKA_SASL_MECHANISM" | "KAFKA_SASL_PLAIN_USERNAME" | "KAFKA_SASL_PLAIN_PASSWORD" | "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD" | "KAFKA_SASL_SCRAM_USERNAME" | "KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_SCRAM_SECRETS_ARN" | "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_GSSAPI_KEYTAB" | "KAFKA_SASL_GSSAPI_KRB5_CONF" | "KAFKA_SASL_GSSAPI_SERVICE" | "KAFKA_SASL_GSSAPI_PRINCIPAL" | "ROLE_ARN" | "REGION" | "WORKGROUP_NAME" | "CLUSTER_IDENTIFIER" | "DATABASE"), ::String],
+ authentication_configuration: {
+ authentication_type: ("BASIC" | "OAUTH2" | "CUSTOM")?,
+ secret_arn: ::String?,
+ o_auth_2_properties: {
+ o_auth_2_grant_type: ("AUTHORIZATION_CODE" | "CLIENT_CREDENTIALS" | "JWT_BEARER")?,
+ o_auth_2_client_application: {
+ user_managed_client_application_client_id: ::String?,
+ aws_managed_client_application_reference: ::String?
+ }?,
+ token_url: ::String?,
+ token_url_parameters_map: Hash[::String, ::String]?,
+ authorization_code_properties: {
+ authorization_code: ::String?,
+ redirect_uri: ::String?
+ }?
+ }?
+ }?
+ }
+ ) -> _TestConnectionResponseSuccess
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TestConnectionResponseSuccess
+
interface _UntagResourceResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
end
@@ -6806,10 +6849,23 @@ module Aws
catalog_id: ::String,
database_name: ::String,
table_name: ::String,
- type: ("compaction"),
+ type: ("compaction" | "retention" | "orphan_file_deletion"),
table_optimizer_configuration: {
role_arn: ::String?,
- enabled: bool?
+ enabled: bool?,
+ retention_configuration: {
+ iceberg_configuration: {
+ snapshot_retention_period_in_days: ::Integer?,
+ number_of_snapshots_to_retain: ::Integer?,
+ clean_expired_files: bool?
+ }?
+ }?,
+ orphan_file_deletion_configuration: {
+ iceberg_configuration: {
+ orphan_file_retention_period_in_days: ::Integer?,
+ location: ::String?
+ }?
+ }?
}
) -> _UpdateTableOptimizerResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTableOptimizerResponseSuccess
diff --git a/gems/aws-sdk-glue/sig/errors.rbs b/gems/aws-sdk-glue/sig/errors.rbs
index a533ecd856d..dad13912de7 100644
--- a/gems/aws-sdk-glue/sig/errors.rbs
+++ b/gems/aws-sdk-glue/sig/errors.rbs
@@ -117,6 +117,9 @@ module Aws
class SchedulerTransitioningException < ::Aws::Errors::ServiceError
def message: () -> ::String
end
+ class ThrottlingException < ::Aws::Errors::ServiceError
+ def message: () -> ::String
+ end
class ValidationException < ::Aws::Errors::ServiceError
def message: () -> ::String
end
diff --git a/gems/aws-sdk-glue/sig/types.rbs b/gems/aws-sdk-glue/sig/types.rbs
index 3a9a24af0a2..af610f298ba 100644
--- a/gems/aws-sdk-glue/sig/types.rbs
+++ b/gems/aws-sdk-glue/sig/types.rbs
@@ -308,7 +308,7 @@ module Aws::Glue
attr_accessor catalog_id: ::String
attr_accessor database_name: ::String
attr_accessor table_name: ::String
- attr_accessor type: ("compaction")
+ attr_accessor type: ("compaction" | "retention" | "orphan_file_deletion")
SENSITIVE: []
end
@@ -317,7 +317,7 @@ module Aws::Glue
attr_accessor catalog_id: ::String
attr_accessor database_name: ::String
attr_accessor table_name: ::String
- attr_accessor type: ("compaction")
+ attr_accessor type: ("compaction" | "retention" | "orphan_file_deletion")
SENSITIVE: []
end
@@ -798,6 +798,11 @@ module Aws::Glue
SENSITIVE: []
end
+ class CompactionMetrics
+ attr_accessor iceberg_metrics: Types::IcebergCompactionMetrics
+ SENSITIVE: []
+ end
+
class ConcurrentModificationException
attr_accessor message: ::String
SENSITIVE: []
@@ -1347,7 +1352,7 @@ module Aws::Glue
attr_accessor catalog_id: ::String
attr_accessor database_name: ::String
attr_accessor table_name: ::String
- attr_accessor type: ("compaction")
+ attr_accessor type: ("compaction" | "retention" | "orphan_file_deletion")
attr_accessor table_optimizer_configuration: Types::TableOptimizerConfiguration
SENSITIVE: []
end
@@ -1895,7 +1900,7 @@ module Aws::Glue
attr_accessor catalog_id: ::String
attr_accessor database_name: ::String
attr_accessor table_name: ::String
- attr_accessor type: ("compaction")
+ attr_accessor type: ("compaction" | "retention" | "orphan_file_deletion")
SENSITIVE: []
end
@@ -3012,7 +3017,7 @@ module Aws::Glue
attr_accessor catalog_id: ::String
attr_accessor database_name: ::String
attr_accessor table_name: ::String
- attr_accessor type: ("compaction")
+ attr_accessor type: ("compaction" | "retention" | "orphan_file_deletion")
SENSITIVE: []
end
@@ -3348,12 +3353,49 @@ module Aws::Glue
SENSITIVE: []
end
+ class IcebergCompactionMetrics
+ attr_accessor number_of_bytes_compacted: ::Integer
+ attr_accessor number_of_files_compacted: ::Integer
+ attr_accessor number_of_dpus: ::Integer
+ attr_accessor job_duration_in_hour: ::Float
+ SENSITIVE: []
+ end
+
class IcebergInput
attr_accessor metadata_operation: ("CREATE")
attr_accessor version: ::String
SENSITIVE: []
end
+ class IcebergOrphanFileDeletionConfiguration
+ attr_accessor orphan_file_retention_period_in_days: ::Integer
+ attr_accessor location: ::String
+ SENSITIVE: []
+ end
+
+ class IcebergOrphanFileDeletionMetrics
+ attr_accessor number_of_orphan_files_deleted: ::Integer
+ attr_accessor number_of_dpus: ::Integer
+ attr_accessor job_duration_in_hour: ::Float
+ SENSITIVE: []
+ end
+
+ class IcebergRetentionConfiguration
+ attr_accessor snapshot_retention_period_in_days: ::Integer
+ attr_accessor number_of_snapshots_to_retain: ::Integer
+ attr_accessor clean_expired_files: bool
+ SENSITIVE: []
+ end
+
+ class IcebergRetentionMetrics
+ attr_accessor number_of_data_files_deleted: ::Integer
+ attr_accessor number_of_manifest_files_deleted: ::Integer
+ attr_accessor number_of_manifest_lists_deleted: ::Integer
+ attr_accessor number_of_dpus: ::Integer
+ attr_accessor job_duration_in_hour: ::Float
+ SENSITIVE: []
+ end
+
class IcebergTarget
attr_accessor paths: ::Array[::String]
attr_accessor connection_name: ::String
@@ -3948,7 +3990,7 @@ module Aws::Glue
attr_accessor catalog_id: ::String
attr_accessor database_name: ::String
attr_accessor table_name: ::String
- attr_accessor type: ("compaction")
+ attr_accessor type: ("compaction" | "retention" | "orphan_file_deletion")
attr_accessor max_results: ::Integer
attr_accessor next_token: ::String
SENSITIVE: []
@@ -4235,6 +4277,16 @@ module Aws::Glue
SENSITIVE: []
end
+ class OrphanFileDeletionConfiguration
+ attr_accessor iceberg_configuration: Types::IcebergOrphanFileDeletionConfiguration
+ SENSITIVE: []
+ end
+
+ class OrphanFileDeletionMetrics
+ attr_accessor iceberg_metrics: Types::IcebergOrphanFileDeletionMetrics
+ SENSITIVE: []
+ end
+
class OtherMetadataValueListItem
attr_accessor metadata_value: ::String
attr_accessor created_time: ::String
@@ -4601,6 +4653,16 @@ module Aws::Glue
SENSITIVE: []
end
+ class RetentionConfiguration
+ attr_accessor iceberg_configuration: Types::IcebergRetentionConfiguration
+ SENSITIVE: []
+ end
+
+ class RetentionMetrics
+ attr_accessor iceberg_metrics: Types::IcebergRetentionMetrics
+ SENSITIVE: []
+ end
+
class RunIdentifier
attr_accessor run_id: ::String
attr_accessor job_run_id: ::String
@@ -5499,7 +5561,7 @@ module Aws::Glue
end
class TableOptimizer
- attr_accessor type: ("compaction")
+ attr_accessor type: ("compaction" | "retention" | "orphan_file_deletion")
attr_accessor configuration: Types::TableOptimizerConfiguration
attr_accessor last_run: Types::TableOptimizerRun
SENSITIVE: []
@@ -5508,6 +5570,8 @@ module Aws::Glue
class TableOptimizerConfiguration
attr_accessor role_arn: ::String
attr_accessor enabled: bool
+ attr_accessor retention_configuration: Types::RetentionConfiguration
+ attr_accessor orphan_file_deletion_configuration: Types::OrphanFileDeletionConfiguration
SENSITIVE: []
end
@@ -5517,6 +5581,9 @@ module Aws::Glue
attr_accessor end_timestamp: ::Time
attr_accessor metrics: Types::RunMetrics
attr_accessor error: ::String
+ attr_accessor compaction_metrics: Types::CompactionMetrics
+ attr_accessor retention_metrics: Types::RetentionMetrics
+ attr_accessor orphan_file_deletion_metrics: Types::OrphanFileDeletionMetrics
SENSITIVE: []
end
@@ -5591,6 +5658,27 @@ module Aws::Glue
SENSITIVE: []
end
+ class TestConnectionInput
+ attr_accessor connection_type: ("JDBC" | "SFTP" | "MONGODB" | "KAFKA" | "NETWORK" | "MARKETPLACE" | "CUSTOM" | "SALESFORCE" | "VIEW_VALIDATION_REDSHIFT" | "VIEW_VALIDATION_ATHENA")
+ attr_accessor connection_properties: ::Hash[("HOST" | "PORT" | "USERNAME" | "PASSWORD" | "ENCRYPTED_PASSWORD" | "JDBC_DRIVER_JAR_URI" | "JDBC_DRIVER_CLASS_NAME" | "JDBC_ENGINE" | "JDBC_ENGINE_VERSION" | "CONFIG_FILES" | "INSTANCE_ID" | "JDBC_CONNECTION_URL" | "JDBC_ENFORCE_SSL" | "CUSTOM_JDBC_CERT" | "SKIP_CUSTOM_JDBC_CERT_VALIDATION" | "CUSTOM_JDBC_CERT_STRING" | "CONNECTION_URL" | "KAFKA_BOOTSTRAP_SERVERS" | "KAFKA_SSL_ENABLED" | "KAFKA_CUSTOM_CERT" | "KAFKA_SKIP_CUSTOM_CERT_VALIDATION" | "KAFKA_CLIENT_KEYSTORE" | "KAFKA_CLIENT_KEYSTORE_PASSWORD" | "KAFKA_CLIENT_KEY_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD" | "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD" | "SECRET_ID" | "CONNECTOR_URL" | "CONNECTOR_TYPE" | "CONNECTOR_CLASS_NAME" | "KAFKA_SASL_MECHANISM" | "KAFKA_SASL_PLAIN_USERNAME" | "KAFKA_SASL_PLAIN_PASSWORD" | "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD" | "KAFKA_SASL_SCRAM_USERNAME" | "KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_SCRAM_SECRETS_ARN" | "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD" | "KAFKA_SASL_GSSAPI_KEYTAB" | "KAFKA_SASL_GSSAPI_KRB5_CONF" | "KAFKA_SASL_GSSAPI_SERVICE" | "KAFKA_SASL_GSSAPI_PRINCIPAL" | "ROLE_ARN" | "REGION" | "WORKGROUP_NAME" | "CLUSTER_IDENTIFIER" | "DATABASE"), ::String]
+ attr_accessor authentication_configuration: Types::AuthenticationConfigurationInput
+ SENSITIVE: []
+ end
+
+ class TestConnectionRequest
+ attr_accessor connection_name: ::String
+ attr_accessor test_connection_input: Types::TestConnectionInput
+ SENSITIVE: []
+ end
+
+ class TestConnectionResponse < Aws::EmptyStructure
+ end
+
+ class ThrottlingException
+ attr_accessor message: ::String
+ SENSITIVE: []
+ end
+
class TimestampFilter
attr_accessor recorded_before: ::Time
attr_accessor recorded_after: ::Time
@@ -5964,7 +6052,7 @@ module Aws::Glue
attr_accessor catalog_id: ::String
attr_accessor database_name: ::String
attr_accessor table_name: ::String
- attr_accessor type: ("compaction")
+ attr_accessor type: ("compaction" | "retention" | "orphan_file_deletion")
attr_accessor table_optimizer_configuration: Types::TableOptimizerConfiguration
SENSITIVE: []
end
diff --git a/gems/aws-sdk-glue/spec/endpoint_provider_spec.rb b/gems/aws-sdk-glue/spec/endpoint_provider_spec.rb
index ad44c3539f7..f5f41f8a06d 100644
--- a/gems/aws-sdk-glue/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-glue/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Glue
describe EndpointProvider do
subject { Aws::Glue::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Glue
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Glue
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Glue
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Glue
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Glue
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Glue
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Glue
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Glue
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Glue
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Glue
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Glue
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Glue
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Glue
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Glue
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Glue
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Glue
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Glue
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Glue
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Glue
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Glue
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Glue
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.us-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Glue
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Glue
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.us-west-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Glue
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Glue
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.us-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::Glue
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Glue
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::Glue
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Glue
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Glue
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Glue
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::Glue
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::Glue
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Glue
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Glue
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Glue
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::Glue
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::Glue
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -559,7 +559,7 @@ module Aws::Glue
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -573,7 +573,7 @@ module Aws::Glue
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -586,7 +586,7 @@ module Aws::Glue
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.us-iso-east-1.c2s.ic.gov"}}
end
@@ -600,7 +600,7 @@ module Aws::Glue
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::Glue
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::Glue
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::Glue
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://glue.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -654,7 +654,7 @@ module Aws::Glue
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::Glue
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::Glue
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -695,7 +695,7 @@ module Aws::Glue
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -708,7 +708,7 @@ module Aws::Glue
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-gluedatabrew/CHANGELOG.md b/gems/aws-sdk-gluedatabrew/CHANGELOG.md
index e9522561a6d..ad5a1876b21 100644
--- a/gems/aws-sdk-gluedatabrew/CHANGELOG.md
+++ b/gems/aws-sdk-gluedatabrew/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.45.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.44.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-gluedatabrew/VERSION b/gems/aws-sdk-gluedatabrew/VERSION
index 372cf402c73..50aceaa7b71 100644
--- a/gems/aws-sdk-gluedatabrew/VERSION
+++ b/gems/aws-sdk-gluedatabrew/VERSION
@@ -1 +1 @@
-1.44.0
+1.45.0
diff --git a/gems/aws-sdk-gluedatabrew/aws-sdk-gluedatabrew.gemspec b/gems/aws-sdk-gluedatabrew/aws-sdk-gluedatabrew.gemspec
index c9b028f1811..9946c0743c6 100644
--- a/gems/aws-sdk-gluedatabrew/aws-sdk-gluedatabrew.gemspec
+++ b/gems/aws-sdk-gluedatabrew/aws-sdk-gluedatabrew.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-gluedatabrew/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew.rb b/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew.rb
index eab5e3a904e..6e5f1e194c7 100644
--- a/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew.rb
+++ b/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::GlueDataBrew
- GEM_VERSION = '1.44.0'
+ GEM_VERSION = '1.45.0'
end
diff --git a/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/client.rb b/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/client.rb
index ca03e5c6d0d..de14e1e6701 100644
--- a/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/client.rb
+++ b/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/client.rb
@@ -3414,7 +3414,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-gluedatabrew'
- context[:gem_version] = '1.44.0'
+ context[:gem_version] = '1.45.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/endpoints.rb b/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/endpoints.rb
index 95c054a3680..b44b57ff57a 100644
--- a/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/endpoints.rb
+++ b/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/endpoints.rb
@@ -14,616 +14,484 @@ module Endpoints
class BatchDeleteRecipeVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProfileJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRecipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRecipeJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRuleset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRecipeVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRuleset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRecipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRuleset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecipeVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecipes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRulesets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchedules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PublishRecipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendProjectSessionAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartProjectSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopJobRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProfileJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRecipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRecipeJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRuleset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GlueDataBrew::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/plugins/endpoints.rb b/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/plugins/endpoints.rb
index ffd614a97b0..5721723dc15 100644
--- a/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/plugins/endpoints.rb
+++ b/gems/aws-sdk-gluedatabrew/lib/aws-sdk-gluedatabrew/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-gluedatabrew/spec/endpoint_provider_spec.rb b/gems/aws-sdk-gluedatabrew/spec/endpoint_provider_spec.rb
index 1e99e972886..aab7c5d8eb5 100644
--- a/gems/aws-sdk-gluedatabrew/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-gluedatabrew/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::GlueDataBrew
describe EndpointProvider do
subject { Aws::GlueDataBrew::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.sa-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.us-east-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.us-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.us-west-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew-fips.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.us-gov-west-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.us-gov-west-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew-fips.us-gov-east-1.api.aws"}}
end
@@ -434,7 +434,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -489,7 +489,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -503,7 +503,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -516,7 +516,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.us-iso-east-1.c2s.ic.gov"}}
end
@@ -530,7 +530,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -543,7 +543,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -557,7 +557,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -570,7 +570,7 @@ module Aws::GlueDataBrew
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://databrew.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -584,7 +584,7 @@ module Aws::GlueDataBrew
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::GlueDataBrew
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::GlueDataBrew
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -625,7 +625,7 @@ module Aws::GlueDataBrew
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -638,7 +638,7 @@ module Aws::GlueDataBrew
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-greengrass/CHANGELOG.md b/gems/aws-sdk-greengrass/CHANGELOG.md
index 00ef1ea4867..5de4f8d3431 100644
--- a/gems/aws-sdk-greengrass/CHANGELOG.md
+++ b/gems/aws-sdk-greengrass/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.72.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.71.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-greengrass/VERSION b/gems/aws-sdk-greengrass/VERSION
index df484cbb1d9..0834888f558 100644
--- a/gems/aws-sdk-greengrass/VERSION
+++ b/gems/aws-sdk-greengrass/VERSION
@@ -1 +1 @@
-1.71.0
+1.72.0
diff --git a/gems/aws-sdk-greengrass/aws-sdk-greengrass.gemspec b/gems/aws-sdk-greengrass/aws-sdk-greengrass.gemspec
index 4541143ae16..0575000d3f4 100644
--- a/gems/aws-sdk-greengrass/aws-sdk-greengrass.gemspec
+++ b/gems/aws-sdk-greengrass/aws-sdk-greengrass.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-greengrass/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass.rb b/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass.rb
index 120c1f67b7b..2d81fd72945 100644
--- a/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass.rb
+++ b/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Greengrass
- GEM_VERSION = '1.71.0'
+ GEM_VERSION = '1.72.0'
end
diff --git a/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/client.rb b/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/client.rb
index 27a3eb69372..f9529d40c52 100644
--- a/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/client.rb
+++ b/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/client.rb
@@ -4218,7 +4218,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-greengrass'
- context[:gem_version] = '1.71.0'
+ context[:gem_version] = '1.72.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/endpoints.rb b/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/endpoints.rb
index 6c70332984e..85e9a7ed005 100644
--- a/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/endpoints.rb
+++ b/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/endpoints.rb
@@ -14,1288 +14,1012 @@ module Endpoints
class AssociateRoleToGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateServiceRoleToAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnectorDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnectorDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCoreDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCoreDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeviceDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeviceDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFunctionDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFunctionDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroupCertificateAuthority
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroupVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLoggerDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLoggerDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResourceDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResourceDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSoftwareUpdateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubscriptionDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubscriptionDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnectorDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCoreDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeviceDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFunctionDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoggerDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourceDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubscriptionDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateRoleFromGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateServiceRoleFromAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssociatedRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBulkDeploymentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnectivityInfo
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnectorDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnectorDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCoreDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCoreDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeploymentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeviceDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeviceDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFunctionDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFunctionDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroupCertificateAuthority
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroupCertificateConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroupVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoggerDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoggerDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceRoleForAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubscriptionDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubscriptionDefinitionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetThingRuntimeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBulkDeploymentDetailedReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBulkDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnectorDefinitionVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnectorDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCoreDefinitionVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCoreDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeviceDefinitionVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeviceDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFunctionDefinitionVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFunctionDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupCertificateAuthorities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLoggerDefinitionVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLoggerDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceDefinitionVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscriptionDefinitionVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscriptionDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBulkDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopBulkDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnectivityInfo
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnectorDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCoreDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeviceDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFunctionDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGroupCertificateConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLoggerDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResourceDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubscriptionDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateThingRuntimeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Greengrass::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/plugins/endpoints.rb b/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/plugins/endpoints.rb
index c76bdfb0771..da80009a01a 100644
--- a/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/plugins/endpoints.rb
+++ b/gems/aws-sdk-greengrass/lib/aws-sdk-greengrass/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-greengrass/spec/endpoint_provider_spec.rb b/gems/aws-sdk-greengrass/spec/endpoint_provider_spec.rb
index 9476e75dbf1..54d879ef063 100644
--- a/gems/aws-sdk-greengrass/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-greengrass/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Greengrass
describe EndpointProvider do
subject { Aws::Greengrass::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Greengrass
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Greengrass
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Greengrass
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Greengrass
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Greengrass
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Greengrass
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Greengrass
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Greengrass
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Greengrass
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Greengrass
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-east-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Greengrass
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Greengrass
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::Greengrass
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Greengrass
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::Greengrass
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::Greengrass
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::Greengrass
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::Greengrass
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::Greengrass
end
end
- context 'For region dataplane-us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region dataplane-us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"greengrass", "signingRegion"=>"us-gov-east-1"}]}, "url"=>"https://greengrass-ats.iot.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Greengrass
end
end
- context 'For region dataplane-us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region dataplane-us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"greengrass", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://greengrass-ats.iot.us-gov-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Greengrass
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Greengrass
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Greengrass
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-gov-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Greengrass
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-gov-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Greengrass
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::Greengrass
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-gov-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Greengrass
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::Greengrass
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::Greengrass
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::Greengrass
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::Greengrass
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::Greengrass
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::Greengrass
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::Greengrass
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::Greengrass
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::Greengrass
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::Greengrass
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::Greengrass
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::Greengrass
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-greengrassv2/CHANGELOG.md b/gems/aws-sdk-greengrassv2/CHANGELOG.md
index 886c0ea36d9..f66f2d8bbb3 100644
--- a/gems/aws-sdk-greengrassv2/CHANGELOG.md
+++ b/gems/aws-sdk-greengrassv2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.46.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.45.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-greengrassv2/VERSION b/gems/aws-sdk-greengrassv2/VERSION
index 50aceaa7b71..0a3db35b241 100644
--- a/gems/aws-sdk-greengrassv2/VERSION
+++ b/gems/aws-sdk-greengrassv2/VERSION
@@ -1 +1 @@
-1.45.0
+1.46.0
diff --git a/gems/aws-sdk-greengrassv2/aws-sdk-greengrassv2.gemspec b/gems/aws-sdk-greengrassv2/aws-sdk-greengrassv2.gemspec
index cc326adc6d7..25ab1edfb55 100644
--- a/gems/aws-sdk-greengrassv2/aws-sdk-greengrassv2.gemspec
+++ b/gems/aws-sdk-greengrassv2/aws-sdk-greengrassv2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-greengrassv2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2.rb b/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2.rb
index 5a19a15f4fb..41caa3b09e5 100644
--- a/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2.rb
+++ b/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::GreengrassV2
- GEM_VERSION = '1.45.0'
+ GEM_VERSION = '1.46.0'
end
diff --git a/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/client.rb b/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/client.rb
index c0633ca413d..3921d48b4be 100644
--- a/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/client.rb
+++ b/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/client.rb
@@ -2173,7 +2173,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-greengrassv2'
- context[:gem_version] = '1.45.0'
+ context[:gem_version] = '1.46.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/endpoints.rb b/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/endpoints.rb
index c738de4eb14..81dd9f07af0 100644
--- a/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/endpoints.rb
+++ b/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/endpoints.rb
@@ -14,406 +14,319 @@ module Endpoints
class AssociateServiceRoleToAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchAssociateClientDeviceWithCoreDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisassociateClientDeviceFromCoreDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateComponentVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCoreDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateServiceRoleFromAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComponentVersionArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnectivityInfo
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCoreDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceRoleForAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClientDevicesAssociatedWithCoreDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponentVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCoreDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEffectiveDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstalledComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResolveComponentCandidates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnectivityInfo
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GreengrassV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/plugins/endpoints.rb b/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/plugins/endpoints.rb
index eac78c8d61d..68e8f100846 100644
--- a/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/plugins/endpoints.rb
+++ b/gems/aws-sdk-greengrassv2/lib/aws-sdk-greengrassv2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-greengrassv2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-greengrassv2/spec/endpoint_provider_spec.rb
index e6da7f9861a..264f9c73466 100644
--- a/gems/aws-sdk-greengrassv2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-greengrassv2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::GreengrassV2
describe EndpointProvider do
subject { Aws::GreengrassV2::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::GreengrassV2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::GreengrassV2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::GreengrassV2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::GreengrassV2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::GreengrassV2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::GreengrassV2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::GreengrassV2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::GreengrassV2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-east-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::GreengrassV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::GreengrassV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::GreengrassV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::GreengrassV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::GreengrassV2
end
end
- context 'For region dataplane-us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region dataplane-us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"greengrass", "signingRegion"=>"us-gov-east-1"}]}, "url"=>"https://greengrass-ats.iot.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::GreengrassV2
end
end
- context 'For region dataplane-us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region dataplane-us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"greengrass", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://greengrass-ats.iot.us-gov-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-gov-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-gov-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-gov-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::GreengrassV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://greengrass.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::GreengrassV2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::GreengrassV2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::GreengrassV2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::GreengrassV2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::GreengrassV2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-groundstation/CHANGELOG.md b/gems/aws-sdk-groundstation/CHANGELOG.md
index f3ae38c4204..75c69fbb0b1 100644
--- a/gems/aws-sdk-groundstation/CHANGELOG.md
+++ b/gems/aws-sdk-groundstation/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.56.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.55.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-groundstation/VERSION b/gems/aws-sdk-groundstation/VERSION
index 094d6ad00ce..3ebf789f5a8 100644
--- a/gems/aws-sdk-groundstation/VERSION
+++ b/gems/aws-sdk-groundstation/VERSION
@@ -1 +1 @@
-1.55.0
+1.56.0
diff --git a/gems/aws-sdk-groundstation/aws-sdk-groundstation.gemspec b/gems/aws-sdk-groundstation/aws-sdk-groundstation.gemspec
index 98c0c0a1362..ef2601dc910 100644
--- a/gems/aws-sdk-groundstation/aws-sdk-groundstation.gemspec
+++ b/gems/aws-sdk-groundstation/aws-sdk-groundstation.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-groundstation/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation.rb b/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation.rb
index 748e2e204a1..13a7b013527 100644
--- a/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation.rb
+++ b/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::GroundStation
- GEM_VERSION = '1.55.0'
+ GEM_VERSION = '1.56.0'
end
diff --git a/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/client.rb b/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/client.rb
index 8ac9d98fff1..4fb0632bcc6 100644
--- a/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/client.rb
+++ b/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/client.rb
@@ -2301,7 +2301,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-groundstation'
- context[:gem_version] = '1.55.0'
+ context[:gem_version] = '1.56.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/endpoints.rb b/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/endpoints.rb
index d79d2ddbd4f..0c80cd71e2f 100644
--- a/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/endpoints.rb
+++ b/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/endpoints.rb
@@ -14,462 +14,363 @@ module Endpoints
class CancelContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataflowEndpointGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEphemeris
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMissionProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataflowEndpointGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEphemeris
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMissionProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEphemeris
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAgentConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataflowEndpointGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMinuteUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMissionProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSatellite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataflowEndpointGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEphemerides
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroundStations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMissionProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSatellites
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterAgent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReserveContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAgentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEphemeris
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMissionProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GroundStation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/plugins/endpoints.rb b/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/plugins/endpoints.rb
index 2eb56eb950d..9ebf7c94566 100644
--- a/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/plugins/endpoints.rb
+++ b/gems/aws-sdk-groundstation/lib/aws-sdk-groundstation/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-groundstation/spec/endpoint_provider_spec.rb b/gems/aws-sdk-groundstation/spec/endpoint_provider_spec.rb
index 4a5984bbfef..dceade45c42 100644
--- a/gems/aws-sdk-groundstation/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-groundstation/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::GroundStation
describe EndpointProvider do
subject { Aws::GroundStation::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::GroundStation
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::GroundStation
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::GroundStation
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::GroundStation
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.eu-north-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::GroundStation
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::GroundStation
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.me-south-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::GroundStation
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.sa-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::GroundStation
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::GroundStation
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation-fips.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::GroundStation
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.us-east-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::GroundStation
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation-fips.us-east-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::GroundStation
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.us-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::GroundStation
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation-fips.us-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::GroundStation
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation-fips.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::GroundStation
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::GroundStation
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::GroundStation
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::GroundStation
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::GroundStation
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::GroundStation
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation-fips.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::GroundStation
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::GroundStation
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.us-gov-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::GroundStation
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.us-gov-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::GroundStation
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -363,7 +363,7 @@ module Aws::GroundStation
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -377,7 +377,7 @@ module Aws::GroundStation
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -390,7 +390,7 @@ module Aws::GroundStation
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.us-iso-east-1.c2s.ic.gov"}}
end
@@ -404,7 +404,7 @@ module Aws::GroundStation
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -417,7 +417,7 @@ module Aws::GroundStation
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -431,7 +431,7 @@ module Aws::GroundStation
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -444,7 +444,7 @@ module Aws::GroundStation
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://groundstation.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -458,7 +458,7 @@ module Aws::GroundStation
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -472,7 +472,7 @@ module Aws::GroundStation
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -486,7 +486,7 @@ module Aws::GroundStation
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -499,7 +499,7 @@ module Aws::GroundStation
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -512,7 +512,7 @@ module Aws::GroundStation
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-guardduty/CHANGELOG.md b/gems/aws-sdk-guardduty/CHANGELOG.md
index 690f1d8a7a0..6bf0132e267 100644
--- a/gems/aws-sdk-guardduty/CHANGELOG.md
+++ b/gems/aws-sdk-guardduty/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.100.0 (2024-09-18)
+------------------
+
+* Feature - Add `launchType` and `sourceIPs` fields to GuardDuty findings.
+
+1.99.0 (2024-09-11)
+------------------
+
+* Feature - Add support for new statistic types in GetFindingsStatistics.
+
1.98.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-guardduty/VERSION b/gems/aws-sdk-guardduty/VERSION
index 783fda86436..7a9fecd3f0e 100644
--- a/gems/aws-sdk-guardduty/VERSION
+++ b/gems/aws-sdk-guardduty/VERSION
@@ -1 +1 @@
-1.98.0
+1.100.0
diff --git a/gems/aws-sdk-guardduty/aws-sdk-guardduty.gemspec b/gems/aws-sdk-guardduty/aws-sdk-guardduty.gemspec
index 8d334f10d43..a624b668a53 100644
--- a/gems/aws-sdk-guardduty/aws-sdk-guardduty.gemspec
+++ b/gems/aws-sdk-guardduty/aws-sdk-guardduty.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-guardduty/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty.rb b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty.rb
index 8c1eeff56ac..6f4d15d4fb1 100644
--- a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty.rb
+++ b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::GuardDuty
- GEM_VERSION = '1.98.0'
+ GEM_VERSION = '1.100.0'
end
diff --git a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/client.rb b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/client.rb
index c3bbfea4b08..57e90cacb98 100644
--- a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/client.rb
+++ b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/client.rb
@@ -670,8 +670,8 @@ def create_detector(params = {}, options = {})
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_limits.html
#
# @option params [required, String] :detector_id
- # The ID of the detector belonging to the GuardDuty account that you
- # want to create a filter for.
+ # The detector ID associated with the GuardDuty account for which you
+ # want to create a filter.
#
# @option params [required, String] :name
# The name of the filter. Valid characters include period (.),
@@ -977,8 +977,8 @@ def create_filter(params = {}, options = {})
# can use this operation.
#
# @option params [required, String] :detector_id
- # The unique ID of the detector of the GuardDuty account that you want
- # to create an IPSet for.
+ # The unique ID of the detector of the GuardDuty account for which you
+ # want to create an IPSet.
#
# @option params [required, String] :name
# The user-friendly name to identify the IPSet.
@@ -1054,8 +1054,8 @@ def create_ip_set(params = {}, options = {})
# not need to pass this option.**
#
# @option params [required, String] :role
- # IAM role with permissions required to scan and add tags to the
- # associated protected resource.
+ # Amazon Resource Name (ARN) of the IAM role that has the permissions to
+ # scan and add tags to the associated protected resource.
#
# @option params [required, Types::CreateProtectedResource] :protected_resource
# Information about the protected resource that is associated with the
@@ -1144,8 +1144,8 @@ def create_malware_protection_plan(params = {}, options = {})
# [3]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_DeleteMembers.html
#
# @option params [required, String] :detector_id
- # The unique ID of the detector of the GuardDuty account that you want
- # to associate member accounts with.
+ # The unique ID of the detector of the GuardDuty account for which you
+ # want to associate member accounts.
#
# @option params [required, Array] :account_details
# A list of account ID and email address pairs of the accounts that you
@@ -1182,8 +1182,9 @@ def create_members(params = {}, options = {})
req.send_request(options)
end
- # Creates a publishing destination to export findings to. The resource
- # to export findings to must exist before you use this operation.
+ # Creates a publishing destination where you can export your GuardDuty
+ # findings. Before you start exporting the findings, the destination
+ # resource must exist.
#
# @option params [required, String] :detector_id
# The ID of the GuardDuty detector associated with the publishing
@@ -1237,7 +1238,7 @@ def create_publishing_destination(params = {}, options = {})
# sample findings of all supported finding types.
#
# @option params [required, String] :detector_id
- # The ID of the detector to create sample findings for.
+ # The ID of the detector for which you need to create sample findings.
#
# @option params [Array] :finding_types
# The types of sample findings to generate.
@@ -1266,8 +1267,8 @@ def create_sample_findings(params = {}, options = {})
# operation.
#
# @option params [required, String] :detector_id
- # The unique ID of the detector of the GuardDuty account that you want
- # to create a threatIntelSet for.
+ # The unique ID of the detector of the GuardDuty account for which you
+ # want to create a `ThreatIntelSet`.
#
# @option params [required, String] :name
# A user-friendly ThreatIntelSet name displayed in all findings that are
@@ -1383,7 +1384,7 @@ def delete_detector(params = {}, options = {})
# Deletes the filter specified by the filter name.
#
# @option params [required, String] :detector_id
- # The unique ID of the detector that the filter is associated with.
+ # The unique ID of the detector that is associated with the filter.
#
# @option params [required, String] :filter_name
# The name of the filter that you want to delete.
@@ -1561,8 +1562,8 @@ def delete_publishing_destination(params = {}, options = {})
# Deletes the ThreatIntelSet specified by the ThreatIntelSet ID.
#
# @option params [required, String] :detector_id
- # The unique ID of the detector that the threatIntelSet is associated
- # with.
+ # The unique ID of the detector that is associated with the
+ # threatIntelSet.
#
# @option params [required, String] :threat_intel_set_id
# The unique ID of the threatIntelSet that you want to delete.
@@ -1706,8 +1707,8 @@ def describe_malware_scans(params = {}, options = {})
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
#
# @option params [required, String] :detector_id
- # The ID of the detector to retrieve information about the delegated
- # administrator from.
+ # The detector ID of the delegated administrator for which you need to
+ # retrieve the information.
#
# @option params [Integer] :max_results
# You can use this parameter to indicate the maximum number of items
@@ -2051,11 +2052,10 @@ def get_administrator_account(params = {}, options = {})
# GuardDuty security agent running on their resources.
#
# @option params [required, String] :detector_id
- # The unique ID of the GuardDuty detector associated to the coverage
- # statistics.
+ # The unique ID of the GuardDuty detector.
#
# @option params [Types::CoverageFilterCriteria] :filter_criteria
- # Represents the criteria used to filter the coverage statistics
+ # Represents the criteria used to filter the coverage statistics.
#
# @option params [required, Array] :statistics_type
# Represents the statistics type used to aggregate the coverage details.
@@ -2098,7 +2098,7 @@ def get_coverage_statistics(params = {}, options = {})
req.send_request(options)
end
- # Retrieves an Amazon GuardDuty detector specified by the detectorId.
+ # Retrieves a GuardDuty detector specified by the detectorId.
#
# There might be regional differences because some data sources might
# not be available in all the Amazon Web Services Regions where
@@ -2167,7 +2167,7 @@ def get_detector(params = {}, options = {})
# Returns the details of the filter specified by the filter name.
#
# @option params [required, String] :detector_id
- # The unique ID of the detector that the filter is associated with.
+ # The unique ID of the detector that is associated with this filter.
#
# @option params [required, String] :filter_name
# The name of the filter you want to get.
@@ -2417,6 +2417,7 @@ def get_filter(params = {}, options = {})
# resp.findings[0].resource.ecs_cluster_details.task_details.containers[0].security_context.privileged #=> Boolean
# resp.findings[0].resource.ecs_cluster_details.task_details.containers[0].security_context.allow_privilege_escalation #=> Boolean
# resp.findings[0].resource.ecs_cluster_details.task_details.group #=> String
+ # resp.findings[0].resource.ecs_cluster_details.task_details.launch_type #=> String
# resp.findings[0].resource.container_details.container_runtime #=> String
# resp.findings[0].resource.container_details.id #=> String
# resp.findings[0].resource.container_details.name #=> String
@@ -2736,8 +2737,11 @@ def get_findings(params = {}, options = {})
req.send_request(options)
end
- # Lists Amazon GuardDuty findings statistics for the specified detector
- # ID.
+ # Lists GuardDuty findings statistics for the specified detector ID.
+ #
+ # You must provide either `findingStatisticTypes` or `groupBy`
+ # parameter, and not both. You can use the `maxResults` and `orderBy`
+ # parameters only when using `groupBy`.
#
# There might be regional differences because some flags might not be
# available in all the Regions where GuardDuty is currently supported.
@@ -2748,24 +2752,40 @@ def get_findings(params = {}, options = {})
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
#
# @option params [required, String] :detector_id
- # The ID of the detector that specifies the GuardDuty service whose
- # findings' statistics you want to retrieve.
+ # The ID of the detector whose findings statistics you want to retrieve.
#
- # @option params [required, Array] :finding_statistic_types
+ # @option params [Array] :finding_statistic_types
# The types of finding statistics to retrieve.
#
# @option params [Types::FindingCriteria] :finding_criteria
# Represents the criteria that is used for querying findings.
#
+ # @option params [String] :group_by
+ # Displays the findings statistics grouped by one of the listed valid
+ # values.
+ #
+ # @option params [String] :order_by
+ # Displays the sorted findings in the requested order. The default value
+ # of `orderBy` is `DESC`.
+ #
+ # You can use this parameter only with the `groupBy` parameter.
+ #
+ # @option params [Integer] :max_results
+ # The maximum number of results to be returned in the response. The
+ # default value is 25.
+ #
+ # You can use this parameter only with the `groupBy` parameter.
+ #
# @return [Types::GetFindingsStatisticsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetFindingsStatisticsResponse#finding_statistics #finding_statistics} => Types::FindingStatistics
+ # * {Types::GetFindingsStatisticsResponse#next_token #next_token} => String
#
# @example Request syntax with placeholder values
#
# resp = client.get_findings_statistics({
# detector_id: "DetectorId", # required
- # finding_statistic_types: ["COUNT_BY_SEVERITY"], # required, accepts COUNT_BY_SEVERITY
+ # finding_statistic_types: ["COUNT_BY_SEVERITY"], # accepts COUNT_BY_SEVERITY
# finding_criteria: {
# criterion: {
# "String" => {
@@ -2784,12 +2804,39 @@ def get_findings(params = {}, options = {})
# },
# },
# },
+ # group_by: "ACCOUNT", # accepts ACCOUNT, DATE, FINDING_TYPE, RESOURCE, SEVERITY
+ # order_by: "ASC", # accepts ASC, DESC
+ # max_results: 1,
# })
#
# @example Response structure
#
# resp.finding_statistics.count_by_severity #=> Hash
# resp.finding_statistics.count_by_severity["String"] #=> Integer
+ # resp.finding_statistics.grouped_by_account #=> Array
+ # resp.finding_statistics.grouped_by_account[0].account_id #=> String
+ # resp.finding_statistics.grouped_by_account[0].last_generated_at #=> Time
+ # resp.finding_statistics.grouped_by_account[0].total_findings #=> Integer
+ # resp.finding_statistics.grouped_by_date #=> Array
+ # resp.finding_statistics.grouped_by_date[0].date #=> Time
+ # resp.finding_statistics.grouped_by_date[0].last_generated_at #=> Time
+ # resp.finding_statistics.grouped_by_date[0].severity #=> Float
+ # resp.finding_statistics.grouped_by_date[0].total_findings #=> Integer
+ # resp.finding_statistics.grouped_by_finding_type #=> Array
+ # resp.finding_statistics.grouped_by_finding_type[0].finding_type #=> String
+ # resp.finding_statistics.grouped_by_finding_type[0].last_generated_at #=> Time
+ # resp.finding_statistics.grouped_by_finding_type[0].total_findings #=> Integer
+ # resp.finding_statistics.grouped_by_resource #=> Array
+ # resp.finding_statistics.grouped_by_resource[0].account_id #=> String
+ # resp.finding_statistics.grouped_by_resource[0].last_generated_at #=> Time
+ # resp.finding_statistics.grouped_by_resource[0].resource_id #=> String
+ # resp.finding_statistics.grouped_by_resource[0].resource_type #=> String
+ # resp.finding_statistics.grouped_by_resource[0].total_findings #=> Integer
+ # resp.finding_statistics.grouped_by_severity #=> Array
+ # resp.finding_statistics.grouped_by_severity[0].last_generated_at #=> Time
+ # resp.finding_statistics.grouped_by_severity[0].severity #=> Float
+ # resp.finding_statistics.grouped_by_severity[0].total_findings #=> Integer
+ # resp.next_token #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatistics AWS API Documentation
#
@@ -2803,7 +2850,7 @@ def get_findings_statistics(params = {}, options = {})
# Retrieves the IPSet specified by the `ipSetId`.
#
# @option params [required, String] :detector_id
- # The unique ID of the detector that the IPSet is associated with.
+ # The unique ID of the detector that is associated with the IPSet.
#
# @option params [required, String] :ip_set_id
# The unique ID of the IPSet to retrieve.
@@ -2922,8 +2969,7 @@ def get_malware_protection_plan(params = {}, options = {})
# [1]: https://docs.aws.amazon.com/guardduty/latest/ug/guardduty_regions.html
#
# @option params [required, String] :detector_id
- # The unique ID of the detector that the scan setting is associated
- # with.
+ # The unique ID of the detector that is associated with this scan.
#
# @return [Types::GetMalwareScanSettingsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
@@ -3005,7 +3051,7 @@ def get_master_account(params = {}, options = {})
# The detector ID for the administrator account.
#
# @option params [required, Array] :account_ids
- # The account ID of the member account.
+ # A list of member account IDs.
#
# @return [Types::GetMemberDetectorsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
@@ -3184,8 +3230,8 @@ def get_remaining_free_trial_days(params = {}, options = {})
# ID.
#
# @option params [required, String] :detector_id
- # The unique ID of the detector that the threatIntelSet is associated
- # with.
+ # The unique ID of the detector that is associated with the
+ # threatIntelSet.
#
# @option params [required, String] :threat_intel_set_id
# The unique ID of the threatIntelSet that you want to get.
@@ -3367,8 +3413,8 @@ def get_usage_statistics(params = {}, options = {})
# [6]: https://docs.aws.amazon.com/guardduty/latest/APIReference/API_InviteMembers.html
#
# @option params [required, String] :detector_id
- # The unique ID of the detector of the GuardDuty account that you want
- # to invite members with.
+ # The unique ID of the detector of the GuardDuty account with which you
+ # want to invite members.
#
# @option params [required, Array] :account_ids
# A list of account IDs of the accounts that you want to invite to
@@ -3553,7 +3599,7 @@ def list_detectors(params = {}, options = {})
# Returns a paginated list of the current filters.
#
# @option params [required, String] :detector_id
- # The unique ID of the detector that the filter is associated with.
+ # The unique ID of the detector that is associated with the filter.
#
# @option params [Integer] :max_results
# You can use this parameter to indicate the maximum number of items
@@ -3710,6 +3756,8 @@ def list_filters(params = {}, options = {})
# listed. When this attribute is not set, all existing findings are
# listed.
#
+ # * service.ebsVolumeScanDetails.scanId
+ #
# * service.resourceRole
#
# * severity
@@ -3792,7 +3840,7 @@ def list_findings(params = {}, options = {})
# returned are the IPSets from the associated administrator account.
#
# @option params [required, String] :detector_id
- # The unique ID of the detector that the IPSet is associated with.
+ # The unique ID of the detector that is associated with IPSet.
#
# @option params [Integer] :max_results
# You can use this parameter to indicate the maximum number of items you
@@ -3923,7 +3971,7 @@ def list_malware_protection_plans(params = {}, options = {})
# administrator account.
#
# @option params [required, String] :detector_id
- # The unique ID of the detector the member is associated with.
+ # The unique ID of the detector that is associated with the member.
#
# @option params [Integer] :max_results
# You can use this parameter to indicate the maximum number of items you
@@ -4034,7 +4082,8 @@ def list_organization_admin_accounts(params = {}, options = {})
# specified `detectorId`.
#
# @option params [required, String] :detector_id
- # The ID of the detector to retrieve publishing destinations for.
+ # The detector ID for which you want to retrieve the publishing
+ # destination.
#
# @option params [Integer] :max_results
# The maximum number of results to return in the response.
@@ -4116,8 +4165,8 @@ def list_tags_for_resource(params = {}, options = {})
# returned.
#
# @option params [required, String] :detector_id
- # The unique ID of the detector that the threatIntelSet is associated
- # with.
+ # The unique ID of the detector that is associated with the
+ # threatIntelSet.
#
# @option params [Integer] :max_results
# You can use this parameter to indicate the maximum number of items
@@ -4530,8 +4579,8 @@ def update_filter(params = {}, options = {})
# Marks the specified GuardDuty findings as useful or not useful.
#
# @option params [required, String] :detector_id
- # The ID of the detector associated with the findings to update feedback
- # for.
+ # The ID of the detector that is associated with the findings for which
+ # you want to update the feedback.
#
# @option params [required, Array] :finding_ids
# The IDs of the findings that you want to mark as useful or not useful.
@@ -4608,8 +4657,8 @@ def update_ip_set(params = {}, options = {})
# A unique identifier associated with the Malware Protection plan.
#
# @option params [String] :role
- # IAM role with permissions required to scan and add tags to the
- # associated protected resource.
+ # Amazon Resource Name (ARN) of the IAM role with permissions to scan
+ # and add tags to the associated protected resource.
#
# @option params [Types::MalwareProtectionPlanActions] :actions
# Information about whether the tags will be added to the S3 object
@@ -5006,7 +5055,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-guardduty'
- context[:gem_version] = '1.98.0'
+ context[:gem_version] = '1.100.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/client_api.rb b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/client_api.rb
index 9b29f0fa458..9f9328adad4 100644
--- a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/client_api.rb
+++ b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/client_api.rb
@@ -27,6 +27,7 @@ module ClientApi
AccountId = Shapes::StringShape.new(name: 'AccountId')
AccountIds = Shapes::ListShape.new(name: 'AccountIds')
AccountLevelPermissions = Shapes::StructureShape.new(name: 'AccountLevelPermissions')
+ AccountStatistics = Shapes::StructureShape.new(name: 'AccountStatistics')
Action = Shapes::StructureShape.new(name: 'Action')
AddonDetails = Shapes::StructureShape.new(name: 'AddonDetails')
AdminAccount = Shapes::StructureShape.new(name: 'AdminAccount')
@@ -109,6 +110,7 @@ module ClientApi
DataSourceList = Shapes::ListShape.new(name: 'DataSourceList')
DataSourceStatus = Shapes::StringShape.new(name: 'DataSourceStatus')
DataSourcesFreeTrial = Shapes::StructureShape.new(name: 'DataSourcesFreeTrial')
+ DateStatistics = Shapes::StructureShape.new(name: 'DateStatistics')
DeclineInvitationsRequest = Shapes::StructureShape.new(name: 'DeclineInvitationsRequest')
DeclineInvitationsResponse = Shapes::StructureShape.new(name: 'DeclineInvitationsResponse')
DefaultServerSideEncryption = Shapes::StructureShape.new(name: 'DefaultServerSideEncryption')
@@ -198,6 +200,7 @@ module ClientApi
FindingStatisticTypes = Shapes::ListShape.new(name: 'FindingStatisticTypes')
FindingStatistics = Shapes::StructureShape.new(name: 'FindingStatistics')
FindingType = Shapes::StringShape.new(name: 'FindingType')
+ FindingTypeStatistics = Shapes::StructureShape.new(name: 'FindingTypeStatistics')
FindingTypes = Shapes::ListShape.new(name: 'FindingTypes')
Findings = Shapes::ListShape.new(name: 'Findings')
FlagsList = Shapes::ListShape.new(name: 'FlagsList')
@@ -239,6 +242,12 @@ module ClientApi
GetThreatIntelSetResponse = Shapes::StructureShape.new(name: 'GetThreatIntelSetResponse')
GetUsageStatisticsRequest = Shapes::StructureShape.new(name: 'GetUsageStatisticsRequest')
GetUsageStatisticsResponse = Shapes::StructureShape.new(name: 'GetUsageStatisticsResponse')
+ GroupByType = Shapes::StringShape.new(name: 'GroupByType')
+ GroupedByAccount = Shapes::ListShape.new(name: 'GroupedByAccount')
+ GroupedByDate = Shapes::ListShape.new(name: 'GroupedByDate')
+ GroupedByFindingType = Shapes::ListShape.new(name: 'GroupedByFindingType')
+ GroupedByResource = Shapes::ListShape.new(name: 'GroupedByResource')
+ GroupedBySeverity = Shapes::ListShape.new(name: 'GroupedBySeverity')
Groups = Shapes::ListShape.new(name: 'Groups')
GuardDutyArn = Shapes::StringShape.new(name: 'GuardDutyArn')
HighestSeverityThreatDetails = Shapes::StructureShape.new(name: 'HighestSeverityThreatDetails')
@@ -324,6 +333,7 @@ module ClientApi
MapEquals = Shapes::ListShape.new(name: 'MapEquals')
Master = Shapes::StructureShape.new(name: 'Master')
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
+ MaxResults100 = Shapes::IntegerShape.new(name: 'MaxResults100')
Member = Shapes::StructureShape.new(name: 'Member')
MemberAdditionalConfiguration = Shapes::StructureShape.new(name: 'MemberAdditionalConfiguration')
MemberAdditionalConfigurationResult = Shapes::StructureShape.new(name: 'MemberAdditionalConfigurationResult')
@@ -405,6 +415,7 @@ module ClientApi
ResourceDetails = Shapes::StructureShape.new(name: 'ResourceDetails')
ResourceList = Shapes::ListShape.new(name: 'ResourceList')
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
+ ResourceStatistics = Shapes::StructureShape.new(name: 'ResourceStatistics')
ResourceType = Shapes::StringShape.new(name: 'ResourceType')
RuntimeContext = Shapes::StructureShape.new(name: 'RuntimeContext')
RuntimeDetails = Shapes::StructureShape.new(name: 'RuntimeDetails')
@@ -439,6 +450,7 @@ module ClientApi
Service = Shapes::StructureShape.new(name: 'Service')
ServiceAdditionalInfo = Shapes::StructureShape.new(name: 'ServiceAdditionalInfo')
SessionNameList = Shapes::ListShape.new(name: 'SessionNameList')
+ SeverityStatistics = Shapes::StructureShape.new(name: 'SeverityStatistics')
SortCriteria = Shapes::StructureShape.new(name: 'SortCriteria')
SourceIps = Shapes::ListShape.new(name: 'SourceIps')
Sources = Shapes::ListShape.new(name: 'Sources')
@@ -570,6 +582,11 @@ module ClientApi
AccountLevelPermissions.add_member(:block_public_access, Shapes::ShapeRef.new(shape: BlockPublicAccess, location_name: "blockPublicAccess"))
AccountLevelPermissions.struct_class = Types::AccountLevelPermissions
+ AccountStatistics.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
+ AccountStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
+ AccountStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
+ AccountStatistics.struct_class = Types::AccountStatistics
+
Action.add_member(:action_type, Shapes::ShapeRef.new(shape: String, location_name: "actionType"))
Action.add_member(:aws_api_call_action, Shapes::ShapeRef.new(shape: AwsApiCallAction, location_name: "awsApiCallAction"))
Action.add_member(:dns_request_action, Shapes::ShapeRef.new(shape: DnsRequestAction, location_name: "dnsRequestAction"))
@@ -897,6 +914,12 @@ module ClientApi
DataSourcesFreeTrial.add_member(:malware_protection, Shapes::ShapeRef.new(shape: MalwareProtectionDataSourceFreeTrial, location_name: "malwareProtection"))
DataSourcesFreeTrial.struct_class = Types::DataSourcesFreeTrial
+ DateStatistics.add_member(:date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "date"))
+ DateStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
+ DateStatistics.add_member(:severity, Shapes::ShapeRef.new(shape: Double, location_name: "severity"))
+ DateStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
+ DateStatistics.struct_class = Types::DateStatistics
+
DeclineInvitationsRequest.add_member(:account_ids, Shapes::ShapeRef.new(shape: AccountIds, required: true, location_name: "accountIds"))
DeclineInvitationsRequest.struct_class = Types::DeclineInvitationsRequest
@@ -1099,6 +1122,7 @@ module ClientApi
EcsTaskDetails.add_member(:volumes, Shapes::ShapeRef.new(shape: Volumes, location_name: "volumes"))
EcsTaskDetails.add_member(:containers, Shapes::ShapeRef.new(shape: Containers, location_name: "containers"))
EcsTaskDetails.add_member(:group, Shapes::ShapeRef.new(shape: String, location_name: "group"))
+ EcsTaskDetails.add_member(:launch_type, Shapes::ShapeRef.new(shape: String, location_name: "launchType"))
EcsTaskDetails.struct_class = Types::EcsTaskDetails
EksClusterDetails.add_member(:name, Shapes::ShapeRef.new(shape: String, location_name: "name"))
@@ -1167,9 +1191,19 @@ module ClientApi
FindingStatisticTypes.member = Shapes::ShapeRef.new(shape: FindingStatisticType)
- FindingStatistics.add_member(:count_by_severity, Shapes::ShapeRef.new(shape: CountBySeverity, location_name: "countBySeverity"))
+ FindingStatistics.add_member(:count_by_severity, Shapes::ShapeRef.new(shape: CountBySeverity, deprecated: true, location_name: "countBySeverity", metadata: {"deprecatedMessage"=>"This parameter is deprecated. Please set GroupBy to 'SEVERITY' to return GroupedBySeverity instead."}))
+ FindingStatistics.add_member(:grouped_by_account, Shapes::ShapeRef.new(shape: GroupedByAccount, location_name: "groupedByAccount"))
+ FindingStatistics.add_member(:grouped_by_date, Shapes::ShapeRef.new(shape: GroupedByDate, location_name: "groupedByDate"))
+ FindingStatistics.add_member(:grouped_by_finding_type, Shapes::ShapeRef.new(shape: GroupedByFindingType, location_name: "groupedByFindingType"))
+ FindingStatistics.add_member(:grouped_by_resource, Shapes::ShapeRef.new(shape: GroupedByResource, location_name: "groupedByResource"))
+ FindingStatistics.add_member(:grouped_by_severity, Shapes::ShapeRef.new(shape: GroupedBySeverity, location_name: "groupedBySeverity"))
FindingStatistics.struct_class = Types::FindingStatistics
+ FindingTypeStatistics.add_member(:finding_type, Shapes::ShapeRef.new(shape: String, location_name: "findingType"))
+ FindingTypeStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
+ FindingTypeStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
+ FindingTypeStatistics.struct_class = Types::FindingTypeStatistics
+
FindingTypes.member = Shapes::ShapeRef.new(shape: FindingType)
Findings.member = Shapes::ShapeRef.new(shape: Finding)
@@ -1237,11 +1271,15 @@ module ClientApi
GetFindingsResponse.struct_class = Types::GetFindingsResponse
GetFindingsStatisticsRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
- GetFindingsStatisticsRequest.add_member(:finding_statistic_types, Shapes::ShapeRef.new(shape: FindingStatisticTypes, required: true, location_name: "findingStatisticTypes"))
+ GetFindingsStatisticsRequest.add_member(:finding_statistic_types, Shapes::ShapeRef.new(shape: FindingStatisticTypes, deprecated: true, location_name: "findingStatisticTypes", metadata: {"deprecatedMessage"=>"This parameter is deprecated, please use GroupBy instead"}))
GetFindingsStatisticsRequest.add_member(:finding_criteria, Shapes::ShapeRef.new(shape: FindingCriteria, location_name: "findingCriteria"))
+ GetFindingsStatisticsRequest.add_member(:group_by, Shapes::ShapeRef.new(shape: GroupByType, location_name: "groupBy"))
+ GetFindingsStatisticsRequest.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
+ GetFindingsStatisticsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults100, location_name: "maxResults"))
GetFindingsStatisticsRequest.struct_class = Types::GetFindingsStatisticsRequest
GetFindingsStatisticsResponse.add_member(:finding_statistics, Shapes::ShapeRef.new(shape: FindingStatistics, required: true, location_name: "findingStatistics"))
+ GetFindingsStatisticsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
GetFindingsStatisticsResponse.struct_class = Types::GetFindingsStatisticsResponse
GetIPSetRequest.add_member(:detector_id, Shapes::ShapeRef.new(shape: DetectorId, required: true, location: "uri", location_name: "detectorId"))
@@ -1336,6 +1374,16 @@ module ClientApi
GetUsageStatisticsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "nextToken"))
GetUsageStatisticsResponse.struct_class = Types::GetUsageStatisticsResponse
+ GroupedByAccount.member = Shapes::ShapeRef.new(shape: AccountStatistics)
+
+ GroupedByDate.member = Shapes::ShapeRef.new(shape: DateStatistics)
+
+ GroupedByFindingType.member = Shapes::ShapeRef.new(shape: FindingTypeStatistics)
+
+ GroupedByResource.member = Shapes::ShapeRef.new(shape: ResourceStatistics)
+
+ GroupedBySeverity.member = Shapes::ShapeRef.new(shape: SeverityStatistics)
+
Groups.member = Shapes::ShapeRef.new(shape: String)
HighestSeverityThreatDetails.add_member(:severity, Shapes::ShapeRef.new(shape: String, location_name: "severity"))
@@ -1404,7 +1452,7 @@ module ClientApi
KubernetesApiCallAction.add_member(:request_uri, Shapes::ShapeRef.new(shape: String, location_name: "requestUri"))
KubernetesApiCallAction.add_member(:verb, Shapes::ShapeRef.new(shape: String, location_name: "verb"))
- KubernetesApiCallAction.add_member(:source_ips, Shapes::ShapeRef.new(shape: SourceIps, location_name: "sourceIps"))
+ KubernetesApiCallAction.add_member(:source_ips, Shapes::ShapeRef.new(shape: SourceIps, location_name: "sourceIPs"))
KubernetesApiCallAction.add_member(:user_agent, Shapes::ShapeRef.new(shape: String, location_name: "userAgent"))
KubernetesApiCallAction.add_member(:remote_ip_details, Shapes::ShapeRef.new(shape: RemoteIpDetails, location_name: "remoteIpDetails"))
KubernetesApiCallAction.add_member(:status_code, Shapes::ShapeRef.new(shape: Integer, location_name: "statusCode"))
@@ -1946,6 +1994,13 @@ module ClientApi
ResourceNotFoundException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "__type"))
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
+ ResourceStatistics.add_member(:account_id, Shapes::ShapeRef.new(shape: String, location_name: "accountId"))
+ ResourceStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
+ ResourceStatistics.add_member(:resource_id, Shapes::ShapeRef.new(shape: String, location_name: "resourceId"))
+ ResourceStatistics.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, location_name: "resourceType"))
+ ResourceStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
+ ResourceStatistics.struct_class = Types::ResourceStatistics
+
RuntimeContext.add_member(:modifying_process, Shapes::ShapeRef.new(shape: ProcessDetails, location_name: "modifyingProcess"))
RuntimeContext.add_member(:modified_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "modifiedAt"))
RuntimeContext.add_member(:script_path, Shapes::ShapeRef.new(shape: String, location_name: "scriptPath"))
@@ -2106,6 +2161,11 @@ module ClientApi
SessionNameList.member = Shapes::ShapeRef.new(shape: String)
+ SeverityStatistics.add_member(:last_generated_at, Shapes::ShapeRef.new(shape: Timestamp, location_name: "lastGeneratedAt"))
+ SeverityStatistics.add_member(:severity, Shapes::ShapeRef.new(shape: Double, location_name: "severity"))
+ SeverityStatistics.add_member(:total_findings, Shapes::ShapeRef.new(shape: Integer, location_name: "totalFindings"))
+ SeverityStatistics.struct_class = Types::SeverityStatistics
+
SortCriteria.add_member(:attribute_name, Shapes::ShapeRef.new(shape: String, location_name: "attributeName"))
SortCriteria.add_member(:order_by, Shapes::ShapeRef.new(shape: OrderBy, location_name: "orderBy"))
SortCriteria.struct_class = Types::SortCriteria
diff --git a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/endpoints.rb b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/endpoints.rb
index d2d78eab315..83b99662439 100644
--- a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/endpoints.rb
+++ b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/endpoints.rb
@@ -14,1036 +14,814 @@ module Endpoints
class AcceptAdministratorInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AcceptInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ArchiveFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMalwareProtectionPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePublishingDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSampleFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateThreatIntelSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeclineInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMalwareProtectionPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePublishingDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteThreatIntelSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMalwareScans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePublishingDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFromAdministratorAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFromMasterAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAdministratorAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCoverageStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindingsStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInvitationsCount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMalwareProtectionPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMalwareScanSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMasterAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMemberDetectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOrganizationStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRemainingFreeTrialDays
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetThreatIntelSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUsageStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InviteMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCoverage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDetectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFilters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIPSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMalwareProtectionPlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizationAdminAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPublishingDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThreatIntelSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMalwareScan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMonitoringMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopMonitoringMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnarchiveFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFindingsFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMalwareProtectionPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMalwareScanSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMemberDetectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePublishingDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateThreatIntelSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::GuardDuty::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/plugins/endpoints.rb b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/plugins/endpoints.rb
index 7a9751f28cb..5865ccb49e7 100644
--- a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/plugins/endpoints.rb
+++ b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb
index 7594d0fdd7c..e0d9570e37d 100644
--- a/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb
+++ b/gems/aws-sdk-guardduty/lib/aws-sdk-guardduty/types.rb
@@ -196,6 +196,32 @@ class AccountLevelPermissions < Struct.new(
include Aws::Structure
end
+ # Represents a list of map of accounts with the number of findings
+ # associated with each account.
+ #
+ # @!attribute [rw] account_id
+ # The ID of the Amazon Web Services account.
+ # @return [String]
+ #
+ # @!attribute [rw] last_generated_at
+ # The timestamp at which the finding for this account was last
+ # generated.
+ # @return [Time]
+ #
+ # @!attribute [rw] total_findings
+ # The total number of findings associated with an account.
+ # @return [Integer]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/AccountStatistics AWS API Documentation
+ #
+ class AccountStatistics < Struct.new(
+ :account_id,
+ :last_generated_at,
+ :total_findings)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# Contains information about actions.
#
# @!attribute [rw] action_type
@@ -1181,8 +1207,8 @@ class CreateDetectorResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The ID of the detector belonging to the GuardDuty account that you
- # want to create a filter for.
+ # The detector ID associated with the GuardDuty account for which you
+ # want to create a filter.
# @return [String]
#
# @!attribute [rw] name
@@ -1467,8 +1493,8 @@ class CreateFilterResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The unique ID of the detector of the GuardDuty account that you want
- # to create an IPSet for.
+ # The unique ID of the detector of the GuardDuty account for which you
+ # want to create an IPSet.
# @return [String]
#
# @!attribute [rw] name
@@ -1536,8 +1562,8 @@ class CreateIPSetResponse < Struct.new(
# @return [String]
#
# @!attribute [rw] role
- # IAM role with permissions required to scan and add tags to the
- # associated protected resource.
+ # Amazon Resource Name (ARN) of the IAM role that has the permissions
+ # to scan and add tags to the associated protected resource.
# @return [String]
#
# @!attribute [rw] protected_resource
@@ -1581,8 +1607,8 @@ class CreateMalwareProtectionPlanResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The unique ID of the detector of the GuardDuty account that you want
- # to associate member accounts with.
+ # The unique ID of the detector of the GuardDuty account for which you
+ # want to associate member accounts.
# @return [String]
#
# @!attribute [rw] account_details
@@ -1695,7 +1721,7 @@ class CreateS3BucketResource < Struct.new(
end
# @!attribute [rw] detector_id
- # The ID of the detector to create sample findings for.
+ # The ID of the detector for which you need to create sample findings.
# @return [String]
#
# @!attribute [rw] finding_types
@@ -1716,8 +1742,8 @@ class CreateSampleFindingsRequest < Struct.new(
class CreateSampleFindingsResponse < Aws::EmptyStructure; end
# @!attribute [rw] detector_id
- # The unique ID of the detector of the GuardDuty account that you want
- # to create a threatIntelSet for.
+ # The unique ID of the detector of the GuardDuty account for which you
+ # want to create a `ThreatIntelSet`.
# @return [String]
#
# @!attribute [rw] name
@@ -1916,6 +1942,42 @@ class DataSourcesFreeTrial < Struct.new(
include Aws::Structure
end
+ # Represents list a map of dates with a count of total findings
+ # generated on each date.
+ #
+ # @!attribute [rw] date
+ # The timestamp when the total findings count is observed.
+ #
+ # For example, `Date` would look like `"2024-09-05T17:00:00-07:00"`
+ # whereas `LastGeneratedAt` would look like
+ # 2024-09-05T17:12:29-07:00".
+ # @return [Time]
+ #
+ # @!attribute [rw] last_generated_at
+ # The timestamp at which the last finding in the findings count, was
+ # generated.
+ # @return [Time]
+ #
+ # @!attribute [rw] severity
+ # The severity of the findings generated on each date.
+ # @return [Float]
+ #
+ # @!attribute [rw] total_findings
+ # The total number of findings that were generated per severity level
+ # on each date.
+ # @return [Integer]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/DateStatistics AWS API Documentation
+ #
+ class DateStatistics < Struct.new(
+ :date,
+ :last_generated_at,
+ :severity,
+ :total_findings)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# @!attribute [rw] account_ids
# A list of account IDs of the Amazon Web Services accounts that sent
# invitations to the current member account that you want to decline
@@ -1985,7 +2047,7 @@ class DeleteDetectorRequest < Struct.new(
class DeleteDetectorResponse < Aws::EmptyStructure; end
# @!attribute [rw] detector_id
- # The unique ID of the detector that the filter is associated with.
+ # The unique ID of the detector that is associated with the filter.
# @return [String]
#
# @!attribute [rw] filter_name
@@ -2120,8 +2182,8 @@ class DeletePublishingDestinationRequest < Struct.new(
class DeletePublishingDestinationResponse < Aws::EmptyStructure; end
# @!attribute [rw] detector_id
- # The unique ID of the detector that the threatIntelSet is associated
- # with.
+ # The unique ID of the detector that is associated with the
+ # threatIntelSet.
# @return [String]
#
# @!attribute [rw] threat_intel_set_id
@@ -2204,8 +2266,8 @@ class DescribeMalwareScansResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The ID of the detector to retrieve information about the delegated
- # administrator from.
+ # The detector ID of the delegated administrator for which you need to
+ # retrieve the information.
# @return [String]
#
# @!attribute [rw] max_results
@@ -2845,6 +2907,11 @@ class EcsClusterDetails < Struct.new(
# The name of the task group that's associated with the task.
# @return [String]
#
+ # @!attribute [rw] launch_type
+ # A capacity on which the task is running. For example, `Fargate` and
+ # `EC2`.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/EcsTaskDetails AWS API Documentation
#
class EcsTaskDetails < Struct.new(
@@ -2857,7 +2924,8 @@ class EcsTaskDetails < Struct.new(
:tags,
:volumes,
:containers,
- :group)
+ :group,
+ :launch_type)
SENSITIVE = []
include Aws::Structure
end
@@ -3142,14 +3210,77 @@ class FindingCriteria < Struct.new(
# Contains information about finding statistics.
#
# @!attribute [rw] count_by_severity
- # Represents a map of severity to count statistics for a set of
- # findings.
+ # Represents a list of map of severity to count statistics for a set
+ # of findings.
# @return [Hash]
#
+ # @!attribute [rw] grouped_by_account
+ # Represents a list of map of accounts with a findings count
+ # associated with each account.
+ # @return [Array]
+ #
+ # @!attribute [rw] grouped_by_date
+ # Represents a list of map of dates with a count of total findings
+ # generated on each date per severity level.
+ # @return [Array]
+ #
+ # @!attribute [rw] grouped_by_finding_type
+ # Represents a list of map of finding types with a count of total
+ # findings generated for each type.
+ #
+ # Based on the `orderBy` parameter, this request returns either the
+ # most occurring finding types or the least occurring finding types.
+ # If the `orderBy` parameter is `ASC`, this will represent the least
+ # occurring finding types in your account; otherwise, this will
+ # represent the most occurring finding types. The default value of
+ # `orderBy` is `DESC`.
+ # @return [Array]
+ #
+ # @!attribute [rw] grouped_by_resource
+ # Represents a list of map of top resources with a count of total
+ # findings.
+ # @return [Array]
+ #
+ # @!attribute [rw] grouped_by_severity
+ # Represents a list of map of total findings for each severity level.
+ # @return [Array]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingStatistics AWS API Documentation
#
class FindingStatistics < Struct.new(
- :count_by_severity)
+ :count_by_severity,
+ :grouped_by_account,
+ :grouped_by_date,
+ :grouped_by_finding_type,
+ :grouped_by_resource,
+ :grouped_by_severity)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Information about each finding type associated with the
+ # `groupedByFindingType` statistics.
+ #
+ # @!attribute [rw] finding_type
+ # Name of the finding type.
+ # @return [String]
+ #
+ # @!attribute [rw] last_generated_at
+ # The timestamp at which this finding type was last generated in your
+ # environment.
+ # @return [Time]
+ #
+ # @!attribute [rw] total_findings
+ # The total number of findings associated with generated for each
+ # distinct finding type.
+ # @return [Integer]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/FindingTypeStatistics AWS API Documentation
+ #
+ class FindingTypeStatistics < Struct.new(
+ :finding_type,
+ :last_generated_at,
+ :total_findings)
SENSITIVE = []
include Aws::Structure
end
@@ -3231,12 +3362,11 @@ class GetAdministratorAccountResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The unique ID of the GuardDuty detector associated to the coverage
- # statistics.
+ # The unique ID of the GuardDuty detector.
# @return [String]
#
# @!attribute [rw] filter_criteria
- # Represents the criteria used to filter the coverage statistics
+ # Represents the criteria used to filter the coverage statistics.
# @return [Types::CoverageFilterCriteria]
#
# @!attribute [rw] statistics_type
@@ -3327,7 +3457,7 @@ class GetDetectorResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The unique ID of the detector that the filter is associated with.
+ # The unique ID of the detector that is associated with this filter.
# @return [String]
#
# @!attribute [rw] filter_name
@@ -3420,8 +3550,8 @@ class GetFindingsResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The ID of the detector that specifies the GuardDuty service whose
- # findings' statistics you want to retrieve.
+ # The ID of the detector whose findings statistics you want to
+ # retrieve.
# @return [String]
#
# @!attribute [rw] finding_statistic_types
@@ -3432,12 +3562,34 @@ class GetFindingsResponse < Struct.new(
# Represents the criteria that is used for querying findings.
# @return [Types::FindingCriteria]
#
+ # @!attribute [rw] group_by
+ # Displays the findings statistics grouped by one of the listed valid
+ # values.
+ # @return [String]
+ #
+ # @!attribute [rw] order_by
+ # Displays the sorted findings in the requested order. The default
+ # value of `orderBy` is `DESC`.
+ #
+ # You can use this parameter only with the `groupBy` parameter.
+ # @return [String]
+ #
+ # @!attribute [rw] max_results
+ # The maximum number of results to be returned in the response. The
+ # default value is 25.
+ #
+ # You can use this parameter only with the `groupBy` parameter.
+ # @return [Integer]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsRequest AWS API Documentation
#
class GetFindingsStatisticsRequest < Struct.new(
:detector_id,
:finding_statistic_types,
- :finding_criteria)
+ :finding_criteria,
+ :group_by,
+ :order_by,
+ :max_results)
SENSITIVE = []
include Aws::Structure
end
@@ -3446,16 +3598,24 @@ class GetFindingsStatisticsRequest < Struct.new(
# The finding statistics object.
# @return [Types::FindingStatistics]
#
+ # @!attribute [rw] next_token
+ # The pagination parameter to be used on the next list operation to
+ # retrieve more items.
+ #
+ # This parameter is currently not supported.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetFindingsStatisticsResponse AWS API Documentation
#
class GetFindingsStatisticsResponse < Struct.new(
- :finding_statistics)
+ :finding_statistics,
+ :next_token)
SENSITIVE = []
include Aws::Structure
end
# @!attribute [rw] detector_id
- # The unique ID of the detector that the IPSet is associated with.
+ # The unique ID of the detector that is associated with the IPSet.
# @return [String]
#
# @!attribute [rw] ip_set_id
@@ -3539,8 +3699,9 @@ class GetMalwareProtectionPlanRequest < Struct.new(
# @return [String]
#
# @!attribute [rw] role
- # IAM role that includes the permissions required to scan and add tags
- # to the associated protected resource.
+ # Amazon Resource Name (ARN) of the IAM role that includes the
+ # permissions to scan and add tags to the associated protected
+ # resource.
# @return [String]
#
# @!attribute [rw] protected_resource
@@ -3587,8 +3748,7 @@ class GetMalwareProtectionPlanResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The unique ID of the detector that the scan setting is associated
- # with.
+ # The unique ID of the detector that is associated with this scan.
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMalwareScanSettingsRequest AWS API Documentation
@@ -3646,7 +3806,7 @@ class GetMasterAccountResponse < Struct.new(
# @return [String]
#
# @!attribute [rw] account_ids
- # The account ID of the member account.
+ # A list of member account IDs.
# @return [Array]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/GetMemberDetectorsRequest AWS API Documentation
@@ -3763,8 +3923,8 @@ class GetRemainingFreeTrialDaysResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The unique ID of the detector that the threatIntelSet is associated
- # with.
+ # The unique ID of the detector that is associated with the
+ # threatIntelSet.
# @return [String]
#
# @!attribute [rw] threat_intel_set_id
@@ -4082,8 +4242,8 @@ class Invitation < Struct.new(
end
# @!attribute [rw] detector_id
- # The unique ID of the detector of the GuardDuty account that you want
- # to invite members with.
+ # The unique ID of the detector of the GuardDuty account with which
+ # you want to invite members.
# @return [String]
#
# @!attribute [rw] account_ids
@@ -4711,7 +4871,7 @@ class ListDetectorsResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The unique ID of the detector that the filter is associated with.
+ # The unique ID of the detector that is associated with the filter.
# @return [String]
#
# @!attribute [rw] max_results
@@ -4860,6 +5020,8 @@ class ListFiltersResponse < Struct.new(
# listed. When this attribute is not set, all existing findings are
# listed.
#
+ # * service.ebsVolumeScanDetails.scanId
+ #
# * service.resourceRole
#
# * severity
@@ -4920,7 +5082,7 @@ class ListFindingsResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The unique ID of the detector that the IPSet is associated with.
+ # The unique ID of the detector that is associated with IPSet.
# @return [String]
#
# @!attribute [rw] max_results
@@ -5045,7 +5207,7 @@ class ListMalwareProtectionPlansResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The unique ID of the detector the member is associated with.
+ # The unique ID of the detector that is associated with the member.
# @return [String]
#
# @!attribute [rw] max_results
@@ -5148,7 +5310,8 @@ class ListOrganizationAdminAccountsResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The ID of the detector to retrieve publishing destinations for.
+ # The detector ID for which you want to retrieve the publishing
+ # destination.
# @return [String]
#
# @!attribute [rw] max_results
@@ -5220,8 +5383,8 @@ class ListTagsForResourceResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The unique ID of the detector that the threatIntelSet is associated
- # with.
+ # The unique ID of the detector that is associated with the
+ # threatIntelSet.
# @return [String]
#
# @!attribute [rw] max_results
@@ -6856,6 +7019,67 @@ class ResourceNotFoundException < Struct.new(
include Aws::Structure
end
+ # Information about each resource type associated with the
+ # `groupedByResource` statistics.
+ #
+ # @!attribute [rw] account_id
+ # The ID of the Amazon Web Services account.
+ # @return [String]
+ #
+ # @!attribute [rw] last_generated_at
+ # The timestamp at which the statistics for this resource was last
+ # generated.
+ # @return [Time]
+ #
+ # @!attribute [rw] resource_id
+ # ID associated with each resource. The following list provides the
+ # mapping of the resource type and resource ID.
+ #
+ # **Mapping of resource and resource ID**
+ #
+ # * AccessKey - `resource.accessKeyDetails.accessKeyId`
+ #
+ # * Container - `resource.containerDetails.id`
+ #
+ # * ECSCluster - `resource.ecsClusterDetails.name`
+ #
+ # * EKSCluster - `resource.eksClusterDetails.name`
+ #
+ # * Instance - `resource.instanceDetails.instanceId`
+ #
+ # * KubernetesCluster -
+ # `resource.kubernetesDetails.kubernetesWorkloadDetails.name`
+ #
+ # * Lambda - `resource.lambdaDetails.functionName`
+ #
+ # * RDSDBInstance -
+ # `resource.rdsDbInstanceDetails.dbInstanceIdentifier`
+ #
+ # * S3Bucket - `resource.s3BucketDetails.name`
+ #
+ # * S3Object - `resource.s3BucketDetails.name`
+ # @return [String]
+ #
+ # @!attribute [rw] resource_type
+ # The type of resource.
+ # @return [String]
+ #
+ # @!attribute [rw] total_findings
+ # The total number of findings associated with this resource.
+ # @return [Integer]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/ResourceStatistics AWS API Documentation
+ #
+ class ResourceStatistics < Struct.new(
+ :account_id,
+ :last_generated_at,
+ :resource_id,
+ :resource_type,
+ :total_findings)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# Additional information about the suspicious activity.
#
# @!attribute [rw] modifying_process
@@ -7148,8 +7372,8 @@ class S3ObjectDetail < Struct.new(
#
# @!attribute [rw] admin_detector_id
# The unique detector ID of the administrator account that the request
- # is associated with. Note that this value will be the same as the one
- # used for `DetectorId` if the account is an administrator.
+ # is associated with. If the account is an administrator, the
+ # `AdminDetectorId` will be the same as the one used for `DetectorId`.
# @return [String]
#
# @!attribute [rw] scan_id
@@ -7597,6 +7821,31 @@ class ServiceAdditionalInfo < Struct.new(
include Aws::Structure
end
+ # Information about severity level for each finding type.
+ #
+ # @!attribute [rw] last_generated_at
+ # The timestamp at which a finding type for a specific severity was
+ # last generated.
+ # @return [Time]
+ #
+ # @!attribute [rw] severity
+ # The severity level associated with each finding type.
+ # @return [Float]
+ #
+ # @!attribute [rw] total_findings
+ # The total number of findings associated with this severity.
+ # @return [Integer]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/guardduty-2017-11-28/SeverityStatistics AWS API Documentation
+ #
+ class SeverityStatistics < Struct.new(
+ :last_generated_at,
+ :severity,
+ :total_findings)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# Contains information about the criteria used for sorting findings.
#
# @!attribute [rw] attribute_name
@@ -8067,8 +8316,8 @@ class UpdateFilterResponse < Struct.new(
end
# @!attribute [rw] detector_id
- # The ID of the detector associated with the findings to update
- # feedback for.
+ # The ID of the detector that is associated with the findings for
+ # which you want to update the feedback.
# @return [String]
#
# @!attribute [rw] finding_ids
@@ -8142,8 +8391,8 @@ class UpdateIPSetResponse < Aws::EmptyStructure; end
# @return [String]
#
# @!attribute [rw] role
- # IAM role with permissions required to scan and add tags to the
- # associated protected resource.
+ # Amazon Resource Name (ARN) of the IAM role with permissions to scan
+ # and add tags to the associated protected resource.
# @return [String]
#
# @!attribute [rw] actions
diff --git a/gems/aws-sdk-guardduty/sig/client.rbs b/gems/aws-sdk-guardduty/sig/client.rbs
index 3f47f28502f..d9d1069ecd0 100644
--- a/gems/aws-sdk-guardduty/sig/client.rbs
+++ b/gems/aws-sdk-guardduty/sig/client.rbs
@@ -553,11 +553,12 @@ module Aws
interface _GetFindingsStatisticsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetFindingsStatisticsResponse]
def finding_statistics: () -> Types::FindingStatistics
+ def next_token: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/GuardDuty/Client.html#get_findings_statistics-instance_method
def get_findings_statistics: (
detector_id: ::String,
- finding_statistic_types: Array[("COUNT_BY_SEVERITY")],
+ ?finding_statistic_types: Array[("COUNT_BY_SEVERITY")],
?finding_criteria: {
criterion: Hash[::String, {
eq: Array[::String]?,
@@ -573,7 +574,10 @@ module Aws
less_than: ::Integer?,
less_than_or_equal: ::Integer?
}]?
- }
+ },
+ ?group_by: ("ACCOUNT" | "DATE" | "FINDING_TYPE" | "RESOURCE" | "SEVERITY"),
+ ?order_by: ("ASC" | "DESC"),
+ ?max_results: ::Integer
) -> _GetFindingsStatisticsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetFindingsStatisticsResponseSuccess
diff --git a/gems/aws-sdk-guardduty/sig/types.rbs b/gems/aws-sdk-guardduty/sig/types.rbs
index 1f56652e14a..efc8750d136 100644
--- a/gems/aws-sdk-guardduty/sig/types.rbs
+++ b/gems/aws-sdk-guardduty/sig/types.rbs
@@ -66,6 +66,13 @@ module Aws::GuardDuty
SENSITIVE: []
end
+ class AccountStatistics
+ attr_accessor account_id: ::String
+ attr_accessor last_generated_at: ::Time
+ attr_accessor total_findings: ::Integer
+ SENSITIVE: []
+ end
+
class Action
attr_accessor action_type: ::String
attr_accessor aws_api_call_action: Types::AwsApiCallAction
@@ -460,6 +467,14 @@ module Aws::GuardDuty
SENSITIVE: []
end
+ class DateStatistics
+ attr_accessor date: ::Time
+ attr_accessor last_generated_at: ::Time
+ attr_accessor severity: ::Float
+ attr_accessor total_findings: ::Integer
+ SENSITIVE: []
+ end
+
class DeclineInvitationsRequest
attr_accessor account_ids: ::Array[::String]
SENSITIVE: []
@@ -733,6 +748,7 @@ module Aws::GuardDuty
attr_accessor volumes: ::Array[Types::Volume]
attr_accessor containers: ::Array[Types::Container]
attr_accessor group: ::String
+ attr_accessor launch_type: ::String
SENSITIVE: []
end
@@ -809,6 +825,18 @@ module Aws::GuardDuty
class FindingStatistics
attr_accessor count_by_severity: ::Hash[::String, ::Integer]
+ attr_accessor grouped_by_account: ::Array[Types::AccountStatistics]
+ attr_accessor grouped_by_date: ::Array[Types::DateStatistics]
+ attr_accessor grouped_by_finding_type: ::Array[Types::FindingTypeStatistics]
+ attr_accessor grouped_by_resource: ::Array[Types::ResourceStatistics]
+ attr_accessor grouped_by_severity: ::Array[Types::SeverityStatistics]
+ SENSITIVE: []
+ end
+
+ class FindingTypeStatistics
+ attr_accessor finding_type: ::String
+ attr_accessor last_generated_at: ::Time
+ attr_accessor total_findings: ::Integer
SENSITIVE: []
end
@@ -900,11 +928,15 @@ module Aws::GuardDuty
attr_accessor detector_id: ::String
attr_accessor finding_statistic_types: ::Array[("COUNT_BY_SEVERITY")]
attr_accessor finding_criteria: Types::FindingCriteria
+ attr_accessor group_by: ("ACCOUNT" | "DATE" | "FINDING_TYPE" | "RESOURCE" | "SEVERITY")
+ attr_accessor order_by: ("ASC" | "DESC")
+ attr_accessor max_results: ::Integer
SENSITIVE: []
end
class GetFindingsStatisticsResponse
attr_accessor finding_statistics: Types::FindingStatistics
+ attr_accessor next_token: ::String
SENSITIVE: []
end
@@ -1803,6 +1835,15 @@ module Aws::GuardDuty
SENSITIVE: []
end
+ class ResourceStatistics
+ attr_accessor account_id: ::String
+ attr_accessor last_generated_at: ::Time
+ attr_accessor resource_id: ::String
+ attr_accessor resource_type: ::String
+ attr_accessor total_findings: ::Integer
+ SENSITIVE: []
+ end
+
class RuntimeContext
attr_accessor modifying_process: Types::ProcessDetails
attr_accessor modified_at: ::Time
@@ -1990,6 +2031,13 @@ module Aws::GuardDuty
SENSITIVE: []
end
+ class SeverityStatistics
+ attr_accessor last_generated_at: ::Time
+ attr_accessor severity: ::Float
+ attr_accessor total_findings: ::Integer
+ SENSITIVE: []
+ end
+
class SortCriteria
attr_accessor attribute_name: ::String
attr_accessor order_by: ("ASC" | "DESC")
diff --git a/gems/aws-sdk-guardduty/spec/endpoint_provider_spec.rb b/gems/aws-sdk-guardduty/spec/endpoint_provider_spec.rb
index ff04bc48883..16b02de7b6c 100644
--- a/gems/aws-sdk-guardduty/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-guardduty/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::GuardDuty
describe EndpointProvider do
subject { Aws::GuardDuty::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::GuardDuty
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::GuardDuty
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::GuardDuty
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::GuardDuty
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::GuardDuty
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::GuardDuty
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::GuardDuty
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::GuardDuty
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::GuardDuty
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::GuardDuty
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::GuardDuty
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::GuardDuty
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::GuardDuty
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::GuardDuty
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::GuardDuty
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::GuardDuty
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::GuardDuty
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::GuardDuty
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::GuardDuty
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::GuardDuty
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::GuardDuty
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::GuardDuty
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::GuardDuty
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://guardduty.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::GuardDuty
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::GuardDuty
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::GuardDuty
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::GuardDuty
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::GuardDuty
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-health/CHANGELOG.md b/gems/aws-sdk-health/CHANGELOG.md
index a7f40c8772b..37777b6d270 100644
--- a/gems/aws-sdk-health/CHANGELOG.md
+++ b/gems/aws-sdk-health/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.70.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.69.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-health/VERSION b/gems/aws-sdk-health/VERSION
index 49349856550..832e9afb6c1 100644
--- a/gems/aws-sdk-health/VERSION
+++ b/gems/aws-sdk-health/VERSION
@@ -1 +1 @@
-1.69.0
+1.70.0
diff --git a/gems/aws-sdk-health/aws-sdk-health.gemspec b/gems/aws-sdk-health/aws-sdk-health.gemspec
index bd52f4cb9a6..4f6ae5082d1 100644
--- a/gems/aws-sdk-health/aws-sdk-health.gemspec
+++ b/gems/aws-sdk-health/aws-sdk-health.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-health/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-health/lib/aws-sdk-health.rb b/gems/aws-sdk-health/lib/aws-sdk-health.rb
index 52ddc2b5d99..d8fe5381ae1 100644
--- a/gems/aws-sdk-health/lib/aws-sdk-health.rb
+++ b/gems/aws-sdk-health/lib/aws-sdk-health.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Health
- GEM_VERSION = '1.69.0'
+ GEM_VERSION = '1.70.0'
end
diff --git a/gems/aws-sdk-health/lib/aws-sdk-health/client.rb b/gems/aws-sdk-health/lib/aws-sdk-health/client.rb
index 80a08f3c223..878d95b9942 100644
--- a/gems/aws-sdk-health/lib/aws-sdk-health/client.rb
+++ b/gems/aws-sdk-health/lib/aws-sdk-health/client.rb
@@ -1515,7 +1515,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-health'
- context[:gem_version] = '1.69.0'
+ context[:gem_version] = '1.70.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-health/lib/aws-sdk-health/endpoints.rb b/gems/aws-sdk-health/lib/aws-sdk-health/endpoints.rb
index a120a994d7e..9c06c3b8996 100644
--- a/gems/aws-sdk-health/lib/aws-sdk-health/endpoints.rb
+++ b/gems/aws-sdk-health/lib/aws-sdk-health/endpoints.rb
@@ -14,196 +14,154 @@ module Endpoints
class DescribeAffectedAccountsForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAffectedEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAffectedEntitiesForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEntityAggregates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEntityAggregatesForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventAggregates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventDetailsForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventsForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHealthServiceStatusForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableHealthServiceAccessForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableHealthServiceAccessForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Health::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-health/lib/aws-sdk-health/plugins/endpoints.rb b/gems/aws-sdk-health/lib/aws-sdk-health/plugins/endpoints.rb
index 1f139e05ffd..595cd51f2b7 100644
--- a/gems/aws-sdk-health/lib/aws-sdk-health/plugins/endpoints.rb
+++ b/gems/aws-sdk-health/lib/aws-sdk-health/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-health/spec/endpoint_provider_spec.rb b/gems/aws-sdk-health/spec/endpoint_provider_spec.rb
index 7b81d65b146..d884df8fc29 100644
--- a/gems/aws-sdk-health/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-health/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Health
describe EndpointProvider do
subject { Aws::Health::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "signingRegion"=>"us-east-1"}]}, "url"=>"https://global.health.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Health
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::Health
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Health
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::Health
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Health
end
end
- context 'For region aws-cn-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-cn-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"health", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://global.health.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Health
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Health
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Health
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Health
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::Health
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Health
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Health
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::Health
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Health
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health.us-iso-east-1.c2s.ic.gov"}}
end
@@ -224,7 +224,7 @@ module Aws::Health
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -237,7 +237,7 @@ module Aws::Health
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -251,7 +251,7 @@ module Aws::Health
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -264,7 +264,7 @@ module Aws::Health
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -278,7 +278,7 @@ module Aws::Health
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -291,7 +291,7 @@ module Aws::Health
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://health-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -305,7 +305,7 @@ module Aws::Health
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -318,7 +318,7 @@ module Aws::Health
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::Health
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::Health
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::Health
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::Health
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-healthlake/CHANGELOG.md b/gems/aws-sdk-healthlake/CHANGELOG.md
index 91ec28278d6..cc0dd1484b0 100644
--- a/gems/aws-sdk-healthlake/CHANGELOG.md
+++ b/gems/aws-sdk-healthlake/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.36.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.35.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-healthlake/VERSION b/gems/aws-sdk-healthlake/VERSION
index 2aeaa11ee27..39fc130ef85 100644
--- a/gems/aws-sdk-healthlake/VERSION
+++ b/gems/aws-sdk-healthlake/VERSION
@@ -1 +1 @@
-1.35.0
+1.36.0
diff --git a/gems/aws-sdk-healthlake/aws-sdk-healthlake.gemspec b/gems/aws-sdk-healthlake/aws-sdk-healthlake.gemspec
index 8d3451c6239..439d51f21ec 100644
--- a/gems/aws-sdk-healthlake/aws-sdk-healthlake.gemspec
+++ b/gems/aws-sdk-healthlake/aws-sdk-healthlake.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-healthlake/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake.rb b/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake.rb
index 8c6ef05512c..958bf02245a 100644
--- a/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake.rb
+++ b/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::HealthLake
- GEM_VERSION = '1.35.0'
+ GEM_VERSION = '1.36.0'
end
diff --git a/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/client.rb b/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/client.rb
index b67d9201d63..d97e93c8796 100644
--- a/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/client.rb
+++ b/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/client.rb
@@ -1158,7 +1158,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-healthlake'
- context[:gem_version] = '1.35.0'
+ context[:gem_version] = '1.36.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/endpoints.rb b/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/endpoints.rb
index d6958aa0aad..e8e5beeabb4 100644
--- a/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/endpoints.rb
+++ b/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/endpoints.rb
@@ -14,182 +14,143 @@ module Endpoints
class CreateFHIRDatastore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFHIRDatastore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFHIRDatastore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFHIRExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFHIRImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFHIRDatastores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFHIRExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFHIRImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFHIRExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFHIRImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::HealthLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/plugins/endpoints.rb b/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/plugins/endpoints.rb
index 348f4be85aa..099781d2d2b 100644
--- a/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/plugins/endpoints.rb
+++ b/gems/aws-sdk-healthlake/lib/aws-sdk-healthlake/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-healthlake/spec/endpoint_provider_spec.rb b/gems/aws-sdk-healthlake/spec/endpoint_provider_spec.rb
index ce7f9448d86..0174b6463c7 100644
--- a/gems/aws-sdk-healthlake/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-healthlake/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::HealthLake
describe EndpointProvider do
subject { Aws::HealthLake::EndpointProvider.new }
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::HealthLake
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake.us-east-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::HealthLake
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake.us-west-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::HealthLake
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake-fips.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::HealthLake
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake-fips.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::HealthLake
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake.us-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::HealthLake
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::HealthLake
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::HealthLake
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::HealthLake
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::HealthLake
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::HealthLake
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::HealthLake
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::HealthLake
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::HealthLake
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::HealthLake
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::HealthLake
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::HealthLake
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::HealthLake
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::HealthLake
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::HealthLake
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::HealthLake
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://healthlake.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::HealthLake
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::HealthLake
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::HealthLake
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::HealthLake
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::HealthLake
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iam/CHANGELOG.md b/gems/aws-sdk-iam/CHANGELOG.md
index 3751c824545..159e49ae7f9 100644
--- a/gems/aws-sdk-iam/CHANGELOG.md
+++ b/gems/aws-sdk-iam/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.108.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.107.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iam/VERSION b/gems/aws-sdk-iam/VERSION
index 585f0182df4..83033d17f98 100644
--- a/gems/aws-sdk-iam/VERSION
+++ b/gems/aws-sdk-iam/VERSION
@@ -1 +1 @@
-1.107.0
+1.108.0
diff --git a/gems/aws-sdk-iam/aws-sdk-iam.gemspec b/gems/aws-sdk-iam/aws-sdk-iam.gemspec
index 8c6812f1984..3082674a235 100644
--- a/gems/aws-sdk-iam/aws-sdk-iam.gemspec
+++ b/gems/aws-sdk-iam/aws-sdk-iam.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iam/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iam/lib/aws-sdk-iam.rb b/gems/aws-sdk-iam/lib/aws-sdk-iam.rb
index 2593957bd11..78ef7ffd913 100644
--- a/gems/aws-sdk-iam/lib/aws-sdk-iam.rb
+++ b/gems/aws-sdk-iam/lib/aws-sdk-iam.rb
@@ -74,6 +74,6 @@
# @!group service
module Aws::IAM
- GEM_VERSION = '1.107.0'
+ GEM_VERSION = '1.108.0'
end
diff --git a/gems/aws-sdk-iam/lib/aws-sdk-iam/client.rb b/gems/aws-sdk-iam/lib/aws-sdk-iam/client.rb
index e4947c07870..5a92a37e562 100644
--- a/gems/aws-sdk-iam/lib/aws-sdk-iam/client.rb
+++ b/gems/aws-sdk-iam/lib/aws-sdk-iam/client.rb
@@ -13533,7 +13533,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iam'
- context[:gem_version] = '1.107.0'
+ context[:gem_version] = '1.108.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iam/lib/aws-sdk-iam/endpoints.rb b/gems/aws-sdk-iam/lib/aws-sdk-iam/endpoints.rb
index 3c25fa82832..71ef1a21357 100644
--- a/gems/aws-sdk-iam/lib/aws-sdk-iam/endpoints.rb
+++ b/gems/aws-sdk-iam/lib/aws-sdk-iam/endpoints.rb
@@ -14,2226 +14,1749 @@ module Endpoints
class AddClientIDToOpenIDConnectProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddRoleToInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddUserToGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachRolePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachUserPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ChangePassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccessKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccountAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLoginProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOpenIDConnectProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePolicyVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSAMLProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServiceLinkedRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServiceSpecificCredential
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVirtualMFADevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeactivateMFADevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccessKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccountAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccountPasswordPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoginProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOpenIDConnectProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicyVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRolePermissionsBoundary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRolePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSAMLProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSSHPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServerCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServiceLinkedRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServiceSpecificCredential
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSigningCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserPermissionsBoundary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVirtualMFADevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachRolePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachUserPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableMFADevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateCredentialReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateOrganizationsAccessReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateServiceLastAccessedDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccessKeyLastUsed
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountAuthorizationDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountPasswordPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContextKeysForCustomPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContextKeysForPrincipalPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCredentialReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoginProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMFADevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOpenIDConnectProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOrganizationsAccessReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicyVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRolePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSAMLProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSSHPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServerCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceLastAccessedDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceLastAccessedDetailsWithEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceLinkedRoleDeletionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttachedGroupPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttachedRolePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttachedUserPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEntitiesForPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupsForUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstanceProfileTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstanceProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstanceProfilesForRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMFADeviceTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMFADevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOpenIDConnectProviderTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOpenIDConnectProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPoliciesGrantingServiceAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicyTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicyVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRolePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoleTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSAMLProviderTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSAMLProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSSHPublicKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServerCertificateTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServerCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceSpecificCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSigningCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVirtualMFADevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRolePermissionsBoundary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRolePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutUserPermissionsBoundary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutUserPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveClientIDFromOpenIDConnectProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveRoleFromInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveUserFromGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetServiceSpecificCredential
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResyncMFADevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetDefaultPolicyVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetSecurityTokenServicePreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SimulateCustomPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SimulatePrincipalPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagMFADevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagOpenIDConnectProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagSAMLProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagServerCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagInstanceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagMFADevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagOpenIDConnectProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagSAMLProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagServerCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccessKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountPasswordPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssumeRolePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLoginProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOpenIDConnectProviderThumbprint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoleDescription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSAMLProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSSHPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServerCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceSpecificCredential
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSigningCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UploadSSHPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UploadServerCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UploadSigningCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iam/lib/aws-sdk-iam/plugins/endpoints.rb b/gems/aws-sdk-iam/lib/aws-sdk-iam/plugins/endpoints.rb
index 16bf10d64f2..4d799da50ba 100644
--- a/gems/aws-sdk-iam/lib/aws-sdk-iam/plugins/endpoints.rb
+++ b/gems/aws-sdk-iam/lib/aws-sdk-iam/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iam/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iam/spec/endpoint_provider_spec.rb
index 5cbe7cd589b..e41a614fe9a 100644
--- a/gems/aws-sdk-iam/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iam/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IAM
describe EndpointProvider do
subject { Aws::IAM::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-east-1"}]}, "url"=>"https://iam.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IAM
end
end
- context 'For region aws-global with FIPS enabled and DualStack disabled' do
+ context "For region aws-global with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-east-1"}]}, "url"=>"https://iam-fips.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IAM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iam-fips.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::IAM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-east-1"}]}, "url"=>"https://iam-fips.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IAM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iam.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::IAM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-east-1"}]}, "url"=>"https://iam.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IAM
end
end
- context 'For region aws-cn-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-cn-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"cn-north-1"}]}, "url"=>"https://iam.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::IAM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iam-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::IAM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iam-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::IAM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iam.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::IAM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"cn-north-1"}]}, "url"=>"https://iam.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::IAM
end
end
- context 'For region aws-us-gov-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-us-gov-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://iam.us-gov.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IAM
end
end
- context 'For region aws-us-gov-global with FIPS enabled and DualStack disabled' do
+ context "For region aws-us-gov-global with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://iam.us-gov.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::IAM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iam-fips.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::IAM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://iam.us-gov.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::IAM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iam.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::IAM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://iam.us-gov.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::IAM
end
end
- context 'For region aws-iso-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-iso-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://iam.us-iso-east-1.c2s.ic.gov"}}
end
@@ -266,7 +266,7 @@ module Aws::IAM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::IAM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iam-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::IAM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::IAM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://iam.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::IAM
end
end
- context 'For region aws-iso-b-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-iso-b-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://iam.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -334,7 +334,7 @@ module Aws::IAM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -347,7 +347,7 @@ module Aws::IAM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iam-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -361,7 +361,7 @@ module Aws::IAM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -374,7 +374,7 @@ module Aws::IAM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://iam.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -388,7 +388,7 @@ module Aws::IAM
end
end
- context 'For region eu-isoe-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"eu-isoe-west-1"}]}, "url"=>"https://iam.eu-isoe-west-1.cloud.adc-e.uk"}}
end
@@ -402,7 +402,7 @@ module Aws::IAM
end
end
- context 'For region us-isof-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isof-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"iam", "signingRegion"=>"us-isof-south-1"}]}, "url"=>"https://iam.us-isof-south-1.csp.hci.ic.gov"}}
end
@@ -416,7 +416,7 @@ module Aws::IAM
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::IAM
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::IAM
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -457,7 +457,7 @@ module Aws::IAM
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -470,7 +470,7 @@ module Aws::IAM
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-identitystore/CHANGELOG.md b/gems/aws-sdk-identitystore/CHANGELOG.md
index 606f72696c7..d11cebf39a6 100644
--- a/gems/aws-sdk-identitystore/CHANGELOG.md
+++ b/gems/aws-sdk-identitystore/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.43.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.42.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-identitystore/VERSION b/gems/aws-sdk-identitystore/VERSION
index a50908ca3da..b978278f05f 100644
--- a/gems/aws-sdk-identitystore/VERSION
+++ b/gems/aws-sdk-identitystore/VERSION
@@ -1 +1 @@
-1.42.0
+1.43.0
diff --git a/gems/aws-sdk-identitystore/aws-sdk-identitystore.gemspec b/gems/aws-sdk-identitystore/aws-sdk-identitystore.gemspec
index 6e6b6639fd7..dbd38b60b99 100644
--- a/gems/aws-sdk-identitystore/aws-sdk-identitystore.gemspec
+++ b/gems/aws-sdk-identitystore/aws-sdk-identitystore.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-identitystore/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore.rb b/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore.rb
index f539b8551d5..0d496717cfc 100644
--- a/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore.rb
+++ b/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IdentityStore
- GEM_VERSION = '1.42.0'
+ GEM_VERSION = '1.43.0'
end
diff --git a/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb b/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb
index 1455dd43cf4..7c037eccaa8 100644
--- a/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb
+++ b/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/client.rb
@@ -1581,7 +1581,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-identitystore'
- context[:gem_version] = '1.42.0'
+ context[:gem_version] = '1.43.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/endpoints.rb b/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/endpoints.rb
index 91366c78e1b..e99ebb85c2d 100644
--- a/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/endpoints.rb
+++ b/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/endpoints.rb
@@ -14,266 +14,209 @@ module Endpoints
class CreateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroupMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroupMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGroupMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroupId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroupMembershipId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class IsMemberInGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupMemberships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupMembershipsForMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IdentityStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/plugins/endpoints.rb b/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/plugins/endpoints.rb
index 696af3261a7..7b62323a475 100644
--- a/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/plugins/endpoints.rb
+++ b/gems/aws-sdk-identitystore/lib/aws-sdk-identitystore/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-identitystore/spec/endpoint_provider_spec.rb b/gems/aws-sdk-identitystore/spec/endpoint_provider_spec.rb
index b22dcd1e11a..bc36646f462 100644
--- a/gems/aws-sdk-identitystore/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-identitystore/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IdentityStore
describe EndpointProvider do
subject { Aws::IdentityStore::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IdentityStore
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IdentityStore
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IdentityStore
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IdentityStore
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IdentityStore
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IdentityStore
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IdentityStore
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::IdentityStore
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::IdentityStore
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.us-east-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.us-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore-fips.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore-fips.us-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::IdentityStore
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::IdentityStore
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::IdentityStore
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::IdentityStore
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.us-gov-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.us-gov-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore-fips.us-gov-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -391,7 +391,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -405,7 +405,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -418,7 +418,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.us-iso-east-1.c2s.ic.gov"}}
end
@@ -432,7 +432,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -445,7 +445,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -459,7 +459,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -472,7 +472,7 @@ module Aws::IdentityStore
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://identitystore.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -486,7 +486,7 @@ module Aws::IdentityStore
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -500,7 +500,7 @@ module Aws::IdentityStore
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::IdentityStore
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -527,7 +527,7 @@ module Aws::IdentityStore
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -540,7 +540,7 @@ module Aws::IdentityStore
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-imagebuilder/CHANGELOG.md b/gems/aws-sdk-imagebuilder/CHANGELOG.md
index 19cc58c5132..331aa6a9daf 100644
--- a/gems/aws-sdk-imagebuilder/CHANGELOG.md
+++ b/gems/aws-sdk-imagebuilder/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.68.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.67.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-imagebuilder/VERSION b/gems/aws-sdk-imagebuilder/VERSION
index 65ee0959841..ee2f4ca9130 100644
--- a/gems/aws-sdk-imagebuilder/VERSION
+++ b/gems/aws-sdk-imagebuilder/VERSION
@@ -1 +1 @@
-1.67.0
+1.68.0
diff --git a/gems/aws-sdk-imagebuilder/aws-sdk-imagebuilder.gemspec b/gems/aws-sdk-imagebuilder/aws-sdk-imagebuilder.gemspec
index 92437ced82e..6177f0bc522 100644
--- a/gems/aws-sdk-imagebuilder/aws-sdk-imagebuilder.gemspec
+++ b/gems/aws-sdk-imagebuilder/aws-sdk-imagebuilder.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-imagebuilder/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder.rb b/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder.rb
index a1b7de307f1..47f49d36508 100644
--- a/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder.rb
+++ b/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Imagebuilder
- GEM_VERSION = '1.67.0'
+ GEM_VERSION = '1.68.0'
end
diff --git a/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/client.rb b/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/client.rb
index 29f4bd48895..bb971c2bc27 100644
--- a/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/client.rb
+++ b/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/client.rb
@@ -5599,7 +5599,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-imagebuilder'
- context[:gem_version] = '1.67.0'
+ context[:gem_version] = '1.68.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/endpoints.rb b/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/endpoints.rb
index a47ad302947..170ef8dfa94 100644
--- a/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/endpoints.rb
+++ b/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/endpoints.rb
@@ -14,1022 +14,803 @@ module Endpoints
class CancelImageCreation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelLifecycleExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContainerRecipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDistributionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateImagePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateImageRecipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInfrastructureConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContainerRecipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDistributionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImagePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImageRecipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInfrastructureConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComponentPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContainerRecipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContainerRecipePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDistributionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImagePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImagePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImageRecipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImageRecipePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInfrastructureConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLifecycleExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflowExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflowStepExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportVmImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponentBuildVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContainerRecipes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDistributionConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImageBuildVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImagePackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImagePipelineImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImagePipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImageRecipes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImageScanFindingAggregations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImageScanFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInfrastructureConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLifecycleExecutionResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLifecycleExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLifecyclePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWaitingWorkflowSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflowBuildVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflowExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflowStepExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutComponentPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutContainerRecipePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutImagePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutImageRecipePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendWorkflowStepAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImagePipelineExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartResourceStateUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDistributionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateImagePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInfrastructureConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Imagebuilder::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/plugins/endpoints.rb b/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/plugins/endpoints.rb
index 799a25a28a4..e7dfc747e9e 100644
--- a/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/plugins/endpoints.rb
+++ b/gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-imagebuilder/spec/endpoint_provider_spec.rb b/gems/aws-sdk-imagebuilder/spec/endpoint_provider_spec.rb
index 48767d9ebb4..c6261f5df6c 100644
--- a/gems/aws-sdk-imagebuilder/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-imagebuilder/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Imagebuilder
describe EndpointProvider do
subject { Aws::Imagebuilder::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Imagebuilder
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Imagebuilder
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Imagebuilder
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Imagebuilder
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder.us-gov-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder.us-gov-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder.us-gov-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder-fips.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::Imagebuilder
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://imagebuilder.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::Imagebuilder
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::Imagebuilder
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::Imagebuilder
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::Imagebuilder
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::Imagebuilder
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-importexport/CHANGELOG.md b/gems/aws-sdk-importexport/CHANGELOG.md
index 8d07917d6a9..f66970330c0 100644
--- a/gems/aws-sdk-importexport/CHANGELOG.md
+++ b/gems/aws-sdk-importexport/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.52.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.51.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-importexport/VERSION b/gems/aws-sdk-importexport/VERSION
index ba0a719118c..a63cb35e6f0 100644
--- a/gems/aws-sdk-importexport/VERSION
+++ b/gems/aws-sdk-importexport/VERSION
@@ -1 +1 @@
-1.51.0
+1.52.0
diff --git a/gems/aws-sdk-importexport/aws-sdk-importexport.gemspec b/gems/aws-sdk-importexport/aws-sdk-importexport.gemspec
index ad3a6dd2c65..2231baa66a4 100644
--- a/gems/aws-sdk-importexport/aws-sdk-importexport.gemspec
+++ b/gems/aws-sdk-importexport/aws-sdk-importexport.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-importexport/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv2', '~> 1.0')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-importexport/lib/aws-sdk-importexport.rb b/gems/aws-sdk-importexport/lib/aws-sdk-importexport.rb
index fad9a1c8715..22827816186 100644
--- a/gems/aws-sdk-importexport/lib/aws-sdk-importexport.rb
+++ b/gems/aws-sdk-importexport/lib/aws-sdk-importexport.rb
@@ -48,6 +48,6 @@
# @!group service
module Aws::ImportExport
- GEM_VERSION = '1.51.0'
+ GEM_VERSION = '1.52.0'
end
diff --git a/gems/aws-sdk-importexport/lib/aws-sdk-importexport/client.rb b/gems/aws-sdk-importexport/lib/aws-sdk-importexport/client.rb
index 8dbe91ddc12..0af61089cb4 100644
--- a/gems/aws-sdk-importexport/lib/aws-sdk-importexport/client.rb
+++ b/gems/aws-sdk-importexport/lib/aws-sdk-importexport/client.rb
@@ -795,7 +795,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-importexport'
- context[:gem_version] = '1.51.0'
+ context[:gem_version] = '1.52.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-inspector/CHANGELOG.md b/gems/aws-sdk-inspector/CHANGELOG.md
index 98ed77aa49c..46686e350c9 100644
--- a/gems/aws-sdk-inspector/CHANGELOG.md
+++ b/gems/aws-sdk-inspector/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.65.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.64.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-inspector/VERSION b/gems/aws-sdk-inspector/VERSION
index 9405730420f..902c74186fb 100644
--- a/gems/aws-sdk-inspector/VERSION
+++ b/gems/aws-sdk-inspector/VERSION
@@ -1 +1 @@
-1.64.0
+1.65.0
diff --git a/gems/aws-sdk-inspector/aws-sdk-inspector.gemspec b/gems/aws-sdk-inspector/aws-sdk-inspector.gemspec
index ae1471d144d..f69b4afe134 100644
--- a/gems/aws-sdk-inspector/aws-sdk-inspector.gemspec
+++ b/gems/aws-sdk-inspector/aws-sdk-inspector.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-inspector/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-inspector/lib/aws-sdk-inspector.rb b/gems/aws-sdk-inspector/lib/aws-sdk-inspector.rb
index 8129d276760..6447fc5236b 100644
--- a/gems/aws-sdk-inspector/lib/aws-sdk-inspector.rb
+++ b/gems/aws-sdk-inspector/lib/aws-sdk-inspector.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Inspector
- GEM_VERSION = '1.64.0'
+ GEM_VERSION = '1.65.0'
end
diff --git a/gems/aws-sdk-inspector/lib/aws-sdk-inspector/client.rb b/gems/aws-sdk-inspector/lib/aws-sdk-inspector/client.rb
index e8d86e3bb8f..40013137284 100644
--- a/gems/aws-sdk-inspector/lib/aws-sdk-inspector/client.rb
+++ b/gems/aws-sdk-inspector/lib/aws-sdk-inspector/client.rb
@@ -3115,7 +3115,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-inspector'
- context[:gem_version] = '1.64.0'
+ context[:gem_version] = '1.65.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-inspector/lib/aws-sdk-inspector/endpoints.rb b/gems/aws-sdk-inspector/lib/aws-sdk-inspector/endpoints.rb
index 9a6739158bd..90bc1c223bb 100644
--- a/gems/aws-sdk-inspector/lib/aws-sdk-inspector/endpoints.rb
+++ b/gems/aws-sdk-inspector/lib/aws-sdk-inspector/endpoints.rb
@@ -14,518 +14,407 @@ module Endpoints
class AddAttributesToFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssessmentTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssessmentTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExclusionsPreview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResourceGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssessmentRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssessmentTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssessmentTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssessmentRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssessmentTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssessmentTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCrossAccountAccessRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExclusions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourceGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRulesPackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssessmentReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExclusionsPreview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTelemetryMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssessmentRunAgents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssessmentRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssessmentTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssessmentTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExclusions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRulesPackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PreviewAgents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterCrossAccountAccessRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveAttributesFromFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAssessmentRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopAssessmentRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SubscribeToEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnsubscribeFromEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssessmentTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-inspector/lib/aws-sdk-inspector/plugins/endpoints.rb b/gems/aws-sdk-inspector/lib/aws-sdk-inspector/plugins/endpoints.rb
index 150d0c18889..ac9fb63d9ad 100644
--- a/gems/aws-sdk-inspector/lib/aws-sdk-inspector/plugins/endpoints.rb
+++ b/gems/aws-sdk-inspector/lib/aws-sdk-inspector/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-inspector/spec/endpoint_provider_spec.rb b/gems/aws-sdk-inspector/spec/endpoint_provider_spec.rb
index 165d0ce2ea9..58935ff7d90 100644
--- a/gems/aws-sdk-inspector/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-inspector/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Inspector
describe EndpointProvider do
subject { Aws::Inspector::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Inspector
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Inspector
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Inspector
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Inspector
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.eu-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Inspector
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.eu-north-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Inspector
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.eu-west-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Inspector
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.eu-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Inspector
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Inspector
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Inspector
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.us-east-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Inspector
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.us-east-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Inspector
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.us-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Inspector
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.us-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Inspector
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.us-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Inspector
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Inspector
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::Inspector
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.us-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::Inspector
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::Inspector
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::Inspector
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::Inspector
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.cn-north-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::Inspector
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Inspector
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Inspector
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.us-gov-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Inspector
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Inspector
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.us-gov-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Inspector
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.us-gov-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Inspector
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -419,7 +419,7 @@ module Aws::Inspector
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -433,7 +433,7 @@ module Aws::Inspector
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -446,7 +446,7 @@ module Aws::Inspector
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.us-iso-east-1.c2s.ic.gov"}}
end
@@ -460,7 +460,7 @@ module Aws::Inspector
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -473,7 +473,7 @@ module Aws::Inspector
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -487,7 +487,7 @@ module Aws::Inspector
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -500,7 +500,7 @@ module Aws::Inspector
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -514,7 +514,7 @@ module Aws::Inspector
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::Inspector
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -542,7 +542,7 @@ module Aws::Inspector
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -555,7 +555,7 @@ module Aws::Inspector
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -568,7 +568,7 @@ module Aws::Inspector
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-inspector2/CHANGELOG.md b/gems/aws-sdk-inspector2/CHANGELOG.md
index b61b3490725..3aa01d9d75b 100644
--- a/gems/aws-sdk-inspector2/CHANGELOG.md
+++ b/gems/aws-sdk-inspector2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-inspector2/VERSION b/gems/aws-sdk-inspector2/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-inspector2/VERSION
+++ b/gems/aws-sdk-inspector2/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-inspector2/aws-sdk-inspector2.gemspec b/gems/aws-sdk-inspector2/aws-sdk-inspector2.gemspec
index 593912f077c..90924b546bf 100644
--- a/gems/aws-sdk-inspector2/aws-sdk-inspector2.gemspec
+++ b/gems/aws-sdk-inspector2/aws-sdk-inspector2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-inspector2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2.rb b/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2.rb
index 7a1f0cb2f12..7918ade2064 100644
--- a/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2.rb
+++ b/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Inspector2
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb b/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb
index 4bac7785e2b..1163be7dbdb 100644
--- a/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb
+++ b/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/client.rb
@@ -5347,7 +5347,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-inspector2'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/endpoints.rb b/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/endpoints.rb
index 28a3eb77510..3877053eefc 100644
--- a/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/endpoints.rb
+++ b/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/endpoints.rb
@@ -14,826 +14,649 @@ module Endpoints
class AssociateMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetAccountStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetCodeSnippet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetFindingDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetFreeTrialInfo
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetMemberEc2DeepInspectionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateMemberEc2DeepInspectionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelFindingsReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelSbomExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCisScanConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFindingsReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSbomExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCisScanConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Disable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableDelegatedAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Enable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableDelegatedAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCisScanReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCisScanResultDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDelegatedAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEc2DeepInspectionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEncryptionKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindingsReportStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSbomExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCisScanConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCisScanResultsAggregatedByChecks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCisScanResultsAggregatedByTargetResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCisScans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCoverage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCoverageStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDelegatedAdminAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFilters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFindingAggregations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsageTotals
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetEncryptionKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchVulnerabilities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendCisSessionHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendCisSessionTelemetry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCisSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopCisSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCisScanConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEc2DeepInspectionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEncryptionKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOrgEc2DeepInspectionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Inspector2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/plugins/endpoints.rb b/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/plugins/endpoints.rb
index 20049f36c6f..27ba700a275 100644
--- a/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/plugins/endpoints.rb
+++ b/gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-inspector2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-inspector2/spec/endpoint_provider_spec.rb
index c28b96bfad4..9636ec8447a 100644
--- a/gems/aws-sdk-inspector2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-inspector2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Inspector2
describe EndpointProvider do
subject { Aws::Inspector2::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Inspector2
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Inspector2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Inspector2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Inspector2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Inspector2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Inspector2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Inspector2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Inspector2
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Inspector2
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.eu-south-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Inspector2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.eu-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Inspector2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.eu-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Inspector2
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.eu-west-3.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Inspector2
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.me-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Inspector2
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.sa-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Inspector2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Inspector2
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.us-east-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Inspector2
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.us-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Inspector2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.us-west-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Inspector2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2-fips.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::Inspector2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Inspector2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::Inspector2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::Inspector2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::Inspector2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::Inspector2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::Inspector2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2-fips.us-gov-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Inspector2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::Inspector2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::Inspector2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::Inspector2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -447,7 +447,7 @@ module Aws::Inspector2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -461,7 +461,7 @@ module Aws::Inspector2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -474,7 +474,7 @@ module Aws::Inspector2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.us-iso-east-1.c2s.ic.gov"}}
end
@@ -488,7 +488,7 @@ module Aws::Inspector2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -501,7 +501,7 @@ module Aws::Inspector2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -515,7 +515,7 @@ module Aws::Inspector2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -528,7 +528,7 @@ module Aws::Inspector2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector2.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -542,7 +542,7 @@ module Aws::Inspector2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -556,7 +556,7 @@ module Aws::Inspector2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -570,7 +570,7 @@ module Aws::Inspector2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -583,7 +583,7 @@ module Aws::Inspector2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -596,7 +596,7 @@ module Aws::Inspector2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-inspectorscan/CHANGELOG.md b/gems/aws-sdk-inspectorscan/CHANGELOG.md
index 2e3dd860d1a..724a86c1100 100644
--- a/gems/aws-sdk-inspectorscan/CHANGELOG.md
+++ b/gems/aws-sdk-inspectorscan/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.12.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.11.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-inspectorscan/VERSION b/gems/aws-sdk-inspectorscan/VERSION
index 1cac385c6cb..0eed1a29efd 100644
--- a/gems/aws-sdk-inspectorscan/VERSION
+++ b/gems/aws-sdk-inspectorscan/VERSION
@@ -1 +1 @@
-1.11.0
+1.12.0
diff --git a/gems/aws-sdk-inspectorscan/aws-sdk-inspectorscan.gemspec b/gems/aws-sdk-inspectorscan/aws-sdk-inspectorscan.gemspec
index 93f52a55021..5e83a9d1ab0 100644
--- a/gems/aws-sdk-inspectorscan/aws-sdk-inspectorscan.gemspec
+++ b/gems/aws-sdk-inspectorscan/aws-sdk-inspectorscan.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-inspectorscan/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan.rb b/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan.rb
index ec04a743960..73ded52d3c9 100644
--- a/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan.rb
+++ b/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::InspectorScan
- GEM_VERSION = '1.11.0'
+ GEM_VERSION = '1.12.0'
end
diff --git a/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/client.rb b/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/client.rb
index 33d4306380e..3adee7c5523 100644
--- a/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/client.rb
+++ b/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/client.rb
@@ -502,7 +502,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-inspectorscan'
- context[:gem_version] = '1.11.0'
+ context[:gem_version] = '1.12.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/endpoints.rb b/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/endpoints.rb
index 92e7a676a7a..f30f1580ab2 100644
--- a/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/endpoints.rb
+++ b/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class ScanSbom
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InspectorScan::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/plugins/endpoints.rb b/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/plugins/endpoints.rb
index 0f7780cf04d..d149fcabfa7 100644
--- a/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/plugins/endpoints.rb
+++ b/gems/aws-sdk-inspectorscan/lib/aws-sdk-inspectorscan/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-inspectorscan/spec/endpoint_provider_spec.rb b/gems/aws-sdk-inspectorscan/spec/endpoint_provider_spec.rb
index cb3cda518f2..1fc589c9010 100644
--- a/gems/aws-sdk-inspectorscan/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-inspectorscan/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::InspectorScan
describe EndpointProvider do
subject { Aws::InspectorScan::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::InspectorScan
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::InspectorScan
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::InspectorScan
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::InspectorScan
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::InspectorScan
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://inspector-scan.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::InspectorScan
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::InspectorScan
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::InspectorScan
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::InspectorScan
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::InspectorScan
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-internetmonitor/CHANGELOG.md b/gems/aws-sdk-internetmonitor/CHANGELOG.md
index 1cdf3dbb731..e20a02efe72 100644
--- a/gems/aws-sdk-internetmonitor/CHANGELOG.md
+++ b/gems/aws-sdk-internetmonitor/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.27.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.26.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-internetmonitor/VERSION b/gems/aws-sdk-internetmonitor/VERSION
index 5ff8c4f5d2a..5db08bf2dc5 100644
--- a/gems/aws-sdk-internetmonitor/VERSION
+++ b/gems/aws-sdk-internetmonitor/VERSION
@@ -1 +1 @@
-1.26.0
+1.27.0
diff --git a/gems/aws-sdk-internetmonitor/aws-sdk-internetmonitor.gemspec b/gems/aws-sdk-internetmonitor/aws-sdk-internetmonitor.gemspec
index 93144ffba91..1c2774c223e 100644
--- a/gems/aws-sdk-internetmonitor/aws-sdk-internetmonitor.gemspec
+++ b/gems/aws-sdk-internetmonitor/aws-sdk-internetmonitor.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-internetmonitor/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor.rb b/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor.rb
index dc4391f6a9e..28f9d16b04f 100644
--- a/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor.rb
+++ b/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::InternetMonitor
- GEM_VERSION = '1.26.0'
+ GEM_VERSION = '1.27.0'
end
diff --git a/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/client.rb b/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/client.rb
index 9bbc6922471..05c6b57a5c3 100644
--- a/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/client.rb
+++ b/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/client.rb
@@ -1634,7 +1634,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-internetmonitor'
- context[:gem_version] = '1.26.0'
+ context[:gem_version] = '1.27.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/endpoints.rb b/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/endpoints.rb
index 7744b63564c..95c0e610c9c 100644
--- a/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/endpoints.rb
+++ b/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/endpoints.rb
@@ -14,224 +14,176 @@ module Endpoints
class CreateMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHealthEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInternetEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueryResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueryStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHealthEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInternetEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMonitors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::InternetMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/plugins/endpoints.rb b/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/plugins/endpoints.rb
index b2253fa0a7b..c9dccaf241b 100644
--- a/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/plugins/endpoints.rb
+++ b/gems/aws-sdk-internetmonitor/lib/aws-sdk-internetmonitor/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-internetmonitor/spec/endpoint_provider_spec.rb b/gems/aws-sdk-internetmonitor/spec/endpoint_provider_spec.rb
index 9b5105b2604..a5f8d206ea5 100644
--- a/gems/aws-sdk-internetmonitor/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-internetmonitor/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::InternetMonitor
describe EndpointProvider do
subject { Aws::InternetMonitor::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::InternetMonitor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::InternetMonitor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::InternetMonitor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::InternetMonitor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::InternetMonitor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://internetmonitor.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::InternetMonitor
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::InternetMonitor
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::InternetMonitor
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::InternetMonitor
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::InternetMonitor
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iot/CHANGELOG.md b/gems/aws-sdk-iot/CHANGELOG.md
index 80e4ea28291..972f1c5d318 100644
--- a/gems/aws-sdk-iot/CHANGELOG.md
+++ b/gems/aws-sdk-iot/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.132.0 (2024-09-16)
+------------------
+
+* Feature - This release adds additional enhancements to AWS IoT Device Management Software Package Catalog and Jobs. It also adds SBOM support in Software Package Version.
+
+1.131.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.130.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iot/VERSION b/gems/aws-sdk-iot/VERSION
index e4861cbfb71..82c65d83bbc 100644
--- a/gems/aws-sdk-iot/VERSION
+++ b/gems/aws-sdk-iot/VERSION
@@ -1 +1 @@
-1.130.0
+1.132.0
diff --git a/gems/aws-sdk-iot/aws-sdk-iot.gemspec b/gems/aws-sdk-iot/aws-sdk-iot.gemspec
index fa0f5bf013c..b5aae6fbab5 100644
--- a/gems/aws-sdk-iot/aws-sdk-iot.gemspec
+++ b/gems/aws-sdk-iot/aws-sdk-iot.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iot/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iot/lib/aws-sdk-iot.rb b/gems/aws-sdk-iot/lib/aws-sdk-iot.rb
index 80a8ee61472..b6cf98c2b8f 100644
--- a/gems/aws-sdk-iot/lib/aws-sdk-iot.rb
+++ b/gems/aws-sdk-iot/lib/aws-sdk-iot.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoT
- GEM_VERSION = '1.130.0'
+ GEM_VERSION = '1.132.0'
end
diff --git a/gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb b/gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb
index 8535f167a8d..102e3a17834 100644
--- a/gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb
+++ b/gems/aws-sdk-iot/lib/aws-sdk-iot/client.rb
@@ -567,6 +567,72 @@ def add_thing_to_thing_group(params = {}, options = {})
req.send_request(options)
end
+ # Associates a software bill of materials (SBOM) with a specific
+ # software package version.
+ #
+ # Requires permission to access the [AssociateSbomWithPackageVersion][1]
+ # action.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
+ #
+ # @option params [required, String] :package_name
+ # The name of the new software package.
+ #
+ # @option params [required, String] :version_name
+ # The name of the new package version.
+ #
+ # @option params [required, Types::Sbom] :sbom
+ # The Amazon S3 location for the software bill of materials associated
+ # with a software package version.
+ #
+ # @option params [String] :client_token
+ # A unique case-sensitive identifier that you can provide to ensure the
+ # idempotency of the request. Don't reuse this client token if a new
+ # idempotent request is required.
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @return [Types::AssociateSbomWithPackageVersionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::AssociateSbomWithPackageVersionResponse#package_name #package_name} => String
+ # * {Types::AssociateSbomWithPackageVersionResponse#version_name #version_name} => String
+ # * {Types::AssociateSbomWithPackageVersionResponse#sbom #sbom} => Types::Sbom
+ # * {Types::AssociateSbomWithPackageVersionResponse#sbom_validation_status #sbom_validation_status} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.associate_sbom_with_package_version({
+ # package_name: "PackageName", # required
+ # version_name: "VersionName", # required
+ # sbom: { # required
+ # s3_location: {
+ # bucket: "S3Bucket",
+ # key: "S3Key",
+ # version: "S3Version",
+ # },
+ # },
+ # client_token: "ClientToken",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.package_name #=> String
+ # resp.version_name #=> String
+ # resp.sbom.s3_location.bucket #=> String
+ # resp.sbom.s3_location.key #=> String
+ # resp.sbom.s3_location.version #=> String
+ # resp.sbom_validation_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED"
+ #
+ # @overload associate_sbom_with_package_version(params = {})
+ # @param [Hash] params ({})
+ def associate_sbom_with_package_version(params = {}, options = {})
+ req = build_request(:associate_sbom_with_package_version, params)
+ req.send_request(options)
+ end
+
# Associates a group with a continuous job. The following criteria must
# be met:
#
@@ -2616,6 +2682,15 @@ def create_package(params = {}, options = {})
# The combined size of all the attributes on a package version is
# limited to 3KB.
#
+ # @option params [Types::PackageVersionArtifact] :artifact
+ # The various build components created during the build process such as
+ # libraries and configuration files that make up a software package
+ # version.
+ #
+ # @option params [String] :recipe
+ # The inline job document associated with a software package version
+ # used for a quick job deployment via IoT Jobs.
+ #
# @option params [Hash] :tags
# Metadata that can be used to manage the package version.
#
@@ -2646,6 +2721,14 @@ def create_package(params = {}, options = {})
# attributes: {
# "ResourceAttributeKey" => "ResourceAttributeValue",
# },
+ # artifact: {
+ # s3_location: {
+ # bucket: "S3Bucket",
+ # key: "S3Key",
+ # version: "S3Version",
+ # },
+ # },
+ # recipe: "PackageVersionRecipe",
# tags: {
# "TagKey" => "TagValue",
# },
@@ -6163,6 +6246,10 @@ def describe_index(params = {}, options = {})
# @option params [required, String] :job_id
# The unique identifier you assigned to this job when it was created.
#
+ # @option params [Boolean] :before_substitution
+ # A flag that provides a view of the job document before and after the
+ # substitution parameters have been resolved with their exact values.
+ #
# @return [Types::DescribeJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::DescribeJobResponse#document_source #document_source} => String
@@ -6172,6 +6259,7 @@ def describe_index(params = {}, options = {})
#
# resp = client.describe_job({
# job_id: "JobId", # required
+ # before_substitution: false,
# })
#
# @example Response structure
@@ -7137,6 +7225,47 @@ def disable_topic_rule(params = {}, options = {})
req.send_request(options)
end
+ # Disassociates a software bill of materials (SBOM) from a specific
+ # software package version.
+ #
+ # Requires permission to access the
+ # [DisassociateSbomWithPackageVersion][1] action.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
+ #
+ # @option params [required, String] :package_name
+ # The name of the new software package.
+ #
+ # @option params [required, String] :version_name
+ # The name of the new package version.
+ #
+ # @option params [String] :client_token
+ # A unique case-sensitive identifier that you can provide to ensure the
+ # idempotency of the request. Don't reuse this client token if a new
+ # idempotent request is required.
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.disassociate_sbom_from_package_version({
+ # package_name: "PackageName", # required
+ # version_name: "VersionName", # required
+ # client_token: "ClientToken",
+ # })
+ #
+ # @overload disassociate_sbom_from_package_version(params = {})
+ # @param [Hash] params ({})
+ def disassociate_sbom_from_package_version(params = {}, options = {})
+ req = build_request(:disassociate_sbom_from_package_version, params)
+ req.send_request(options)
+ end
+
# Enables the rule.
#
# Requires permission to access the [EnableTopicRule][1] action.
@@ -7423,6 +7552,10 @@ def get_indexing_configuration(params = {}, options = {})
# @option params [required, String] :job_id
# The unique identifier you assigned to this job when it was created.
#
+ # @option params [Boolean] :before_substitution
+ # A flag that provides a view of the job document before and after the
+ # substitution parameters have been resolved with their exact values.
+ #
# @return [Types::GetJobDocumentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetJobDocumentResponse#document #document} => String
@@ -7431,6 +7564,7 @@ def get_indexing_configuration(params = {}, options = {})
#
# resp = client.get_job_document({
# job_id: "JobId", # required
+ # before_substitution: false,
# })
#
# @example Response structure
@@ -7637,10 +7771,14 @@ def get_package_configuration(params = {}, options = {})
# * {Types::GetPackageVersionResponse#version_name #version_name} => String
# * {Types::GetPackageVersionResponse#description #description} => String
# * {Types::GetPackageVersionResponse#attributes #attributes} => Hash<String,String>
+ # * {Types::GetPackageVersionResponse#artifact #artifact} => Types::PackageVersionArtifact
# * {Types::GetPackageVersionResponse#status #status} => String
# * {Types::GetPackageVersionResponse#error_reason #error_reason} => String
# * {Types::GetPackageVersionResponse#creation_date #creation_date} => Time
# * {Types::GetPackageVersionResponse#last_modified_date #last_modified_date} => Time
+ # * {Types::GetPackageVersionResponse#sbom #sbom} => Types::Sbom
+ # * {Types::GetPackageVersionResponse#sbom_validation_status #sbom_validation_status} => String
+ # * {Types::GetPackageVersionResponse#recipe #recipe} => String
#
# @example Request syntax with placeholder values
#
@@ -7657,10 +7795,18 @@ def get_package_configuration(params = {}, options = {})
# resp.description #=> String
# resp.attributes #=> Hash
# resp.attributes["ResourceAttributeKey"] #=> String
+ # resp.artifact.s3_location.bucket #=> String
+ # resp.artifact.s3_location.key #=> String
+ # resp.artifact.s3_location.version #=> String
# resp.status #=> String, one of "DRAFT", "PUBLISHED", "DEPRECATED"
# resp.error_reason #=> String
# resp.creation_date #=> Time
# resp.last_modified_date #=> Time
+ # resp.sbom.s3_location.bucket #=> String
+ # resp.sbom.s3_location.key #=> String
+ # resp.sbom.s3_location.version #=> String
+ # resp.sbom_validation_status #=> String, one of "IN_PROGRESS", "FAILED", "SUCCEEDED"
+ # resp.recipe #=> String
#
# @overload get_package_version(params = {})
# @param [Hash] params ({})
@@ -10656,6 +10802,65 @@ def list_role_aliases(params = {}, options = {})
req.send_request(options)
end
+ # The validation results for all software bill of materials (SBOM)
+ # attached to a specific software package version.
+ #
+ # Requires permission to access the [ListSbomValidationResults][1]
+ # action.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/service-authorization/latest/reference/list_awsiot.html#awsiot-actions-as-permissions
+ #
+ # @option params [required, String] :package_name
+ # The name of the new software package.
+ #
+ # @option params [required, String] :version_name
+ # The name of the new package version.
+ #
+ # @option params [String] :validation_result
+ # The end result of the
+ #
+ # @option params [Integer] :max_results
+ # The maximum number of results to return at one time.
+ #
+ # @option params [String] :next_token
+ # A token that can be used to retrieve the next set of results, or null
+ # if there are no additional results.
+ #
+ # @return [Types::ListSbomValidationResultsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListSbomValidationResultsResponse#validation_result_summaries #validation_result_summaries} => Array<Types::SbomValidationResultSummary>
+ # * {Types::ListSbomValidationResultsResponse#next_token #next_token} => String
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_sbom_validation_results({
+ # package_name: "PackageName", # required
+ # version_name: "VersionName", # required
+ # validation_result: "FAILED", # accepts FAILED, SUCCEEDED
+ # max_results: 1,
+ # next_token: "NextToken",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.validation_result_summaries #=> Array
+ # resp.validation_result_summaries[0].file_name #=> String
+ # resp.validation_result_summaries[0].validation_result #=> String, one of "FAILED", "SUCCEEDED"
+ # resp.validation_result_summaries[0].error_code #=> String, one of "INCOMPATIBLE_FORMAT", "FILE_SIZE_LIMIT_EXCEEDED"
+ # resp.validation_result_summaries[0].error_message #=> String
+ # resp.next_token #=> String
+ #
+ # @overload list_sbom_validation_results(params = {})
+ # @param [Hash] params ({})
+ def list_sbom_validation_results(params = {}, options = {})
+ req = build_request(:list_sbom_validation_results, params)
+ req.send_request(options)
+ end
+
# Lists all of your scheduled audits.
#
# Requires permission to access the [ListScheduledAudits][1] action.
@@ -14450,6 +14655,9 @@ def update_package_configuration(params = {}, options = {})
# The combined size of all the attributes on a package version is
# limited to 3KB.
#
+ # @option params [Types::PackageVersionArtifact] :artifact
+ # The various components that make up a software package version.
+ #
# @option params [String] :action
# The status that the package version should be assigned. For more
# information, see [Package version lifecycle][1].
@@ -14458,6 +14666,10 @@ def update_package_configuration(params = {}, options = {})
#
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle
#
+ # @option params [String] :recipe
+ # The inline job document associated with a software package version
+ # used for a quick job deployment via IoT Jobs.
+ #
# @option params [String] :client_token
# A unique case-sensitive identifier that you can provide to ensure the
# idempotency of the request. Don't reuse this client token if a new
@@ -14477,7 +14689,15 @@ def update_package_configuration(params = {}, options = {})
# attributes: {
# "ResourceAttributeKey" => "ResourceAttributeValue",
# },
+ # artifact: {
+ # s3_location: {
+ # bucket: "S3Bucket",
+ # key: "S3Key",
+ # version: "S3Version",
+ # },
+ # },
# action: "PUBLISH", # accepts PUBLISH, DEPRECATE
+ # recipe: "PackageVersionRecipe",
# client_token: "ClientToken",
# })
#
@@ -15207,7 +15427,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iot'
- context[:gem_version] = '1.130.0'
+ context[:gem_version] = '1.132.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iot/lib/aws-sdk-iot/client_api.rb b/gems/aws-sdk-iot/lib/aws-sdk-iot/client_api.rb
index d7121491069..064488ec4f9 100644
--- a/gems/aws-sdk-iot/lib/aws-sdk-iot/client_api.rb
+++ b/gems/aws-sdk-iot/lib/aws-sdk-iot/client_api.rb
@@ -63,6 +63,8 @@ module ClientApi
AssetPropertyValue = Shapes::StructureShape.new(name: 'AssetPropertyValue')
AssetPropertyValueList = Shapes::ListShape.new(name: 'AssetPropertyValueList')
AssetPropertyVariant = Shapes::StructureShape.new(name: 'AssetPropertyVariant')
+ AssociateSbomWithPackageVersionRequest = Shapes::StructureShape.new(name: 'AssociateSbomWithPackageVersionRequest')
+ AssociateSbomWithPackageVersionResponse = Shapes::StructureShape.new(name: 'AssociateSbomWithPackageVersionResponse')
AssociateTargetsWithJobRequest = Shapes::StructureShape.new(name: 'AssociateTargetsWithJobRequest')
AssociateTargetsWithJobResponse = Shapes::StructureShape.new(name: 'AssociateTargetsWithJobResponse')
AttachPolicyRequest = Shapes::StructureShape.new(name: 'AttachPolicyRequest')
@@ -145,6 +147,7 @@ module ClientApi
AwsJobTimeoutConfig = Shapes::StructureShape.new(name: 'AwsJobTimeoutConfig')
AwsJobTimeoutInProgressTimeoutInMinutes = Shapes::IntegerShape.new(name: 'AwsJobTimeoutInProgressTimeoutInMinutes')
BatchMode = Shapes::BooleanShape.new(name: 'BatchMode')
+ BeforeSubstitutionFlag = Shapes::BooleanShape.new(name: 'BeforeSubstitutionFlag')
Behavior = Shapes::StructureShape.new(name: 'Behavior')
BehaviorCriteria = Shapes::StructureShape.new(name: 'BehaviorCriteria')
BehaviorCriteriaType = Shapes::StringShape.new(name: 'BehaviorCriteriaType')
@@ -490,6 +493,8 @@ module ClientApi
DimensionValueOperator = Shapes::StringShape.new(name: 'DimensionValueOperator')
DisableAllLogs = Shapes::BooleanShape.new(name: 'DisableAllLogs')
DisableTopicRuleRequest = Shapes::StructureShape.new(name: 'DisableTopicRuleRequest')
+ DisassociateSbomFromPackageVersionRequest = Shapes::StructureShape.new(name: 'DisassociateSbomFromPackageVersionRequest')
+ DisassociateSbomFromPackageVersionResponse = Shapes::StructureShape.new(name: 'DisassociateSbomFromPackageVersionResponse')
DisconnectReason = Shapes::StringShape.new(name: 'DisconnectReason')
DocumentParameter = Shapes::StructureShape.new(name: 'DocumentParameter')
DocumentParameters = Shapes::ListShape.new(name: 'DocumentParameters')
@@ -782,6 +787,8 @@ module ClientApi
ListRelatedResourcesForAuditFindingResponse = Shapes::StructureShape.new(name: 'ListRelatedResourcesForAuditFindingResponse')
ListRoleAliasesRequest = Shapes::StructureShape.new(name: 'ListRoleAliasesRequest')
ListRoleAliasesResponse = Shapes::StructureShape.new(name: 'ListRoleAliasesResponse')
+ ListSbomValidationResultsRequest = Shapes::StructureShape.new(name: 'ListSbomValidationResultsRequest')
+ ListSbomValidationResultsResponse = Shapes::StructureShape.new(name: 'ListSbomValidationResultsResponse')
ListScheduledAuditsRequest = Shapes::StructureShape.new(name: 'ListScheduledAuditsRequest')
ListScheduledAuditsResponse = Shapes::StructureShape.new(name: 'ListScheduledAuditsResponse')
ListSecurityProfilesForTargetRequest = Shapes::StructureShape.new(name: 'ListSecurityProfilesForTargetRequest')
@@ -919,7 +926,9 @@ module ClientApi
PackageSummaryList = Shapes::ListShape.new(name: 'PackageSummaryList')
PackageVersionAction = Shapes::StringShape.new(name: 'PackageVersionAction')
PackageVersionArn = Shapes::StringShape.new(name: 'PackageVersionArn')
+ PackageVersionArtifact = Shapes::StructureShape.new(name: 'PackageVersionArtifact')
PackageVersionErrorReason = Shapes::StringShape.new(name: 'PackageVersionErrorReason')
+ PackageVersionRecipe = Shapes::StringShape.new(name: 'PackageVersionRecipe')
PackageVersionStatus = Shapes::StringShape.new(name: 'PackageVersionStatus')
PackageVersionSummary = Shapes::StructureShape.new(name: 'PackageVersionSummary')
PackageVersionSummaryList = Shapes::ListShape.new(name: 'PackageVersionSummaryList')
@@ -1068,6 +1077,13 @@ module ClientApi
SalesforceAction = Shapes::StructureShape.new(name: 'SalesforceAction')
SalesforceEndpoint = Shapes::StringShape.new(name: 'SalesforceEndpoint')
SalesforceToken = Shapes::StringShape.new(name: 'SalesforceToken')
+ Sbom = Shapes::StructureShape.new(name: 'Sbom')
+ SbomValidationErrorCode = Shapes::StringShape.new(name: 'SbomValidationErrorCode')
+ SbomValidationErrorMessage = Shapes::StringShape.new(name: 'SbomValidationErrorMessage')
+ SbomValidationResult = Shapes::StringShape.new(name: 'SbomValidationResult')
+ SbomValidationResultSummary = Shapes::StructureShape.new(name: 'SbomValidationResultSummary')
+ SbomValidationResultSummaryList = Shapes::ListShape.new(name: 'SbomValidationResultSummaryList')
+ SbomValidationStatus = Shapes::StringShape.new(name: 'SbomValidationStatus')
ScheduledAuditArn = Shapes::StringShape.new(name: 'ScheduledAuditArn')
ScheduledAuditMetadata = Shapes::StructureShape.new(name: 'ScheduledAuditMetadata')
ScheduledAuditMetadataList = Shapes::ListShape.new(name: 'ScheduledAuditMetadataList')
@@ -1494,6 +1510,18 @@ module ClientApi
AssetPropertyVariant.add_member(:boolean_value, Shapes::ShapeRef.new(shape: AssetPropertyBooleanValue, location_name: "booleanValue"))
AssetPropertyVariant.struct_class = Types::AssetPropertyVariant
+ AssociateSbomWithPackageVersionRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
+ AssociateSbomWithPackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
+ AssociateSbomWithPackageVersionRequest.add_member(:sbom, Shapes::ShapeRef.new(shape: Sbom, required: true, location_name: "sbom"))
+ AssociateSbomWithPackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
+ AssociateSbomWithPackageVersionRequest.struct_class = Types::AssociateSbomWithPackageVersionRequest
+
+ AssociateSbomWithPackageVersionResponse.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
+ AssociateSbomWithPackageVersionResponse.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
+ AssociateSbomWithPackageVersionResponse.add_member(:sbom, Shapes::ShapeRef.new(shape: Sbom, location_name: "sbom"))
+ AssociateSbomWithPackageVersionResponse.add_member(:sbom_validation_status, Shapes::ShapeRef.new(shape: SbomValidationStatus, location_name: "sbomValidationStatus"))
+ AssociateSbomWithPackageVersionResponse.struct_class = Types::AssociateSbomWithPackageVersionResponse
+
AssociateTargetsWithJobRequest.add_member(:targets, Shapes::ShapeRef.new(shape: JobTargets, required: true, location_name: "targets"))
AssociateTargetsWithJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
AssociateTargetsWithJobRequest.add_member(:comment, Shapes::ShapeRef.new(shape: Comment, location_name: "comment"))
@@ -2120,6 +2148,8 @@ module ClientApi
CreatePackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
CreatePackageVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
CreatePackageVersionRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
+ CreatePackageVersionRequest.add_member(:artifact, Shapes::ShapeRef.new(shape: PackageVersionArtifact, location_name: "artifact"))
+ CreatePackageVersionRequest.add_member(:recipe, Shapes::ShapeRef.new(shape: PackageVersionRecipe, location_name: "recipe"))
CreatePackageVersionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
CreatePackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
CreatePackageVersionRequest.struct_class = Types::CreatePackageVersionRequest
@@ -2660,6 +2690,7 @@ module ClientApi
DescribeJobExecutionResponse.struct_class = Types::DescribeJobExecutionResponse
DescribeJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
+ DescribeJobRequest.add_member(:before_substitution, Shapes::ShapeRef.new(shape: BeforeSubstitutionFlag, location: "querystring", location_name: "beforeSubstitution"))
DescribeJobRequest.struct_class = Types::DescribeJobRequest
DescribeJobResponse.add_member(:document_source, Shapes::ShapeRef.new(shape: JobDocumentSource, location_name: "documentSource"))
@@ -2904,6 +2935,13 @@ module ClientApi
DisableTopicRuleRequest.add_member(:rule_name, Shapes::ShapeRef.new(shape: RuleName, required: true, location: "uri", location_name: "ruleName"))
DisableTopicRuleRequest.struct_class = Types::DisableTopicRuleRequest
+ DisassociateSbomFromPackageVersionRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
+ DisassociateSbomFromPackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
+ DisassociateSbomFromPackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
+ DisassociateSbomFromPackageVersionRequest.struct_class = Types::DisassociateSbomFromPackageVersionRequest
+
+ DisassociateSbomFromPackageVersionResponse.struct_class = Types::DisassociateSbomFromPackageVersionResponse
+
DocumentParameter.add_member(:key, Shapes::ShapeRef.new(shape: ParameterKey, location_name: "key"))
DocumentParameter.add_member(:description, Shapes::ShapeRef.new(shape: JobDescription, location_name: "description"))
DocumentParameter.add_member(:regex, Shapes::ShapeRef.new(shape: Regex, location_name: "regex"))
@@ -3048,6 +3086,7 @@ module ClientApi
GetIndexingConfigurationResponse.struct_class = Types::GetIndexingConfigurationResponse
GetJobDocumentRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: JobId, required: true, location: "uri", location_name: "jobId"))
+ GetJobDocumentRequest.add_member(:before_substitution, Shapes::ShapeRef.new(shape: BeforeSubstitutionFlag, location: "querystring", location_name: "beforeSubstitution"))
GetJobDocumentRequest.struct_class = Types::GetJobDocumentRequest
GetJobDocumentResponse.add_member(:document, Shapes::ShapeRef.new(shape: JobDocument, location_name: "document"))
@@ -3090,10 +3129,14 @@ module ClientApi
GetPackageVersionResponse.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
GetPackageVersionResponse.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
GetPackageVersionResponse.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
+ GetPackageVersionResponse.add_member(:artifact, Shapes::ShapeRef.new(shape: PackageVersionArtifact, location_name: "artifact"))
GetPackageVersionResponse.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "status"))
GetPackageVersionResponse.add_member(:error_reason, Shapes::ShapeRef.new(shape: PackageVersionErrorReason, location_name: "errorReason"))
GetPackageVersionResponse.add_member(:creation_date, Shapes::ShapeRef.new(shape: CreationDate, location_name: "creationDate"))
GetPackageVersionResponse.add_member(:last_modified_date, Shapes::ShapeRef.new(shape: LastModifiedDate, location_name: "lastModifiedDate"))
+ GetPackageVersionResponse.add_member(:sbom, Shapes::ShapeRef.new(shape: Sbom, location_name: "sbom"))
+ GetPackageVersionResponse.add_member(:sbom_validation_status, Shapes::ShapeRef.new(shape: SbomValidationStatus, location_name: "sbomValidationStatus"))
+ GetPackageVersionResponse.add_member(:recipe, Shapes::ShapeRef.new(shape: PackageVersionRecipe, location_name: "recipe"))
GetPackageVersionResponse.struct_class = Types::GetPackageVersionResponse
GetPercentilesRequest.add_member(:index_name, Shapes::ShapeRef.new(shape: IndexName, location_name: "indexName"))
@@ -3785,6 +3828,17 @@ module ClientApi
ListRoleAliasesResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: Marker, location_name: "nextMarker"))
ListRoleAliasesResponse.struct_class = Types::ListRoleAliasesResponse
+ ListSbomValidationResultsRequest.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, required: true, location: "uri", location_name: "packageName"))
+ ListSbomValidationResultsRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
+ ListSbomValidationResultsRequest.add_member(:validation_result, Shapes::ShapeRef.new(shape: SbomValidationResult, location: "querystring", location_name: "validationResult"))
+ ListSbomValidationResultsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: PackageCatalogMaxResults, location: "querystring", location_name: "maxResults"))
+ ListSbomValidationResultsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
+ ListSbomValidationResultsRequest.struct_class = Types::ListSbomValidationResultsRequest
+
+ ListSbomValidationResultsResponse.add_member(:validation_result_summaries, Shapes::ShapeRef.new(shape: SbomValidationResultSummaryList, location_name: "validationResultSummaries"))
+ ListSbomValidationResultsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
+ ListSbomValidationResultsResponse.struct_class = Types::ListSbomValidationResultsResponse
+
ListScheduledAuditsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
ListScheduledAuditsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
ListScheduledAuditsRequest.struct_class = Types::ListScheduledAuditsRequest
@@ -4167,6 +4221,9 @@ module ClientApi
PackageSummaryList.member = Shapes::ShapeRef.new(shape: PackageSummary)
+ PackageVersionArtifact.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
+ PackageVersionArtifact.struct_class = Types::PackageVersionArtifact
+
PackageVersionSummary.add_member(:package_name, Shapes::ShapeRef.new(shape: PackageName, location_name: "packageName"))
PackageVersionSummary.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, location_name: "versionName"))
PackageVersionSummary.add_member(:status, Shapes::ShapeRef.new(shape: PackageVersionStatus, location_name: "status"))
@@ -4436,6 +4493,17 @@ module ClientApi
SalesforceAction.add_member(:url, Shapes::ShapeRef.new(shape: SalesforceEndpoint, required: true, location_name: "url"))
SalesforceAction.struct_class = Types::SalesforceAction
+ Sbom.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
+ Sbom.struct_class = Types::Sbom
+
+ SbomValidationResultSummary.add_member(:file_name, Shapes::ShapeRef.new(shape: FileName, location_name: "fileName"))
+ SbomValidationResultSummary.add_member(:validation_result, Shapes::ShapeRef.new(shape: SbomValidationResult, location_name: "validationResult"))
+ SbomValidationResultSummary.add_member(:error_code, Shapes::ShapeRef.new(shape: SbomValidationErrorCode, location_name: "errorCode"))
+ SbomValidationResultSummary.add_member(:error_message, Shapes::ShapeRef.new(shape: SbomValidationErrorMessage, location_name: "errorMessage"))
+ SbomValidationResultSummary.struct_class = Types::SbomValidationResultSummary
+
+ SbomValidationResultSummaryList.member = Shapes::ShapeRef.new(shape: SbomValidationResultSummary)
+
ScheduledAuditMetadata.add_member(:scheduled_audit_name, Shapes::ShapeRef.new(shape: ScheduledAuditName, location_name: "scheduledAuditName"))
ScheduledAuditMetadata.add_member(:scheduled_audit_arn, Shapes::ShapeRef.new(shape: ScheduledAuditArn, location_name: "scheduledAuditArn"))
ScheduledAuditMetadata.add_member(:frequency, Shapes::ShapeRef.new(shape: AuditFrequency, location_name: "frequency"))
@@ -5092,7 +5160,9 @@ module ClientApi
UpdatePackageVersionRequest.add_member(:version_name, Shapes::ShapeRef.new(shape: VersionName, required: true, location: "uri", location_name: "versionName"))
UpdatePackageVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: ResourceDescription, location_name: "description"))
UpdatePackageVersionRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: ResourceAttributes, location_name: "attributes"))
+ UpdatePackageVersionRequest.add_member(:artifact, Shapes::ShapeRef.new(shape: PackageVersionArtifact, location_name: "artifact"))
UpdatePackageVersionRequest.add_member(:action, Shapes::ShapeRef.new(shape: PackageVersionAction, location_name: "action"))
+ UpdatePackageVersionRequest.add_member(:recipe, Shapes::ShapeRef.new(shape: PackageVersionRecipe, location_name: "recipe"))
UpdatePackageVersionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location: "querystring", location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
UpdatePackageVersionRequest.struct_class = Types::UpdatePackageVersionRequest
@@ -5326,6 +5396,20 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
end)
+ api.add_operation(:associate_sbom_with_package_version, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "AssociateSbomWithPackageVersion"
+ o.http_method = "PUT"
+ o.http_request_uri = "/packages/{packageName}/versions/{versionName}/sbom"
+ o.input = Shapes::ShapeRef.new(shape: AssociateSbomWithPackageVersionRequest)
+ o.output = Shapes::ShapeRef.new(shape: AssociateSbomWithPackageVersionResponse)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ end)
+
api.add_operation(:associate_targets_with_job, Seahorse::Model::Operation.new.tap do |o|
o.name = "AssociateTargetsWithJob"
o.http_method = "POST"
@@ -6904,6 +6988,19 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: ConflictingResourceUpdateException)
end)
+ api.add_operation(:disassociate_sbom_from_package_version, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DisassociateSbomFromPackageVersion"
+ o.http_method = "DELETE"
+ o.http_request_uri = "/packages/{packageName}/versions/{versionName}/sbom"
+ o.input = Shapes::ShapeRef.new(shape: DisassociateSbomFromPackageVersionRequest)
+ o.output = Shapes::ShapeRef.new(shape: DisassociateSbomFromPackageVersionResponse)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ end)
+
api.add_operation(:enable_topic_rule, Seahorse::Model::Operation.new.tap do |o|
o.name = "EnableTopicRule"
o.http_method = "POST"
@@ -7899,6 +7996,24 @@ module ClientApi
)
end)
+ api.add_operation(:list_sbom_validation_results, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListSbomValidationResults"
+ o.http_method = "GET"
+ o.http_request_uri = "/packages/{packageName}/versions/{versionName}/sbom-validation-results"
+ o.input = Shapes::ShapeRef.new(shape: ListSbomValidationResultsRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListSbomValidationResultsResponse)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
api.add_operation(:list_scheduled_audits, Seahorse::Model::Operation.new.tap do |o|
o.name = "ListScheduledAudits"
o.http_method = "GET"
@@ -8917,6 +9032,7 @@ module ClientApi
o.input = Shapes::ShapeRef.new(shape: UpdateStreamRequest)
o.output = Shapes::ShapeRef.new(shape: UpdateStreamResponse)
o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: LimitExceededException)
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
diff --git a/gems/aws-sdk-iot/lib/aws-sdk-iot/endpoints.rb b/gems/aws-sdk-iot/lib/aws-sdk-iot/endpoints.rb
index 013d766cc9e..aadc420bade 100644
--- a/gems/aws-sdk-iot/lib/aws-sdk-iot/endpoints.rb
+++ b/gems/aws-sdk-iot/lib/aws-sdk-iot/endpoints.rb
@@ -14,3570 +14,2838 @@ module Endpoints
class AcceptCertificateTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddThingToBillingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddThingToThingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class AssociateSbomWithPackageVersion
+ def self.build(context)
+ Aws::IoT::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateTargetsWithJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachPrincipalPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachSecurityProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachThingPrincipal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelAuditMitigationActionsTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelAuditTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelCertificateTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelDetectMitigationActionsTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelJobExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ClearDefaultAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfirmTopicRuleDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAuditSuppression
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBillingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCertificateFromCsr
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCertificateProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomMetric
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDimension
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomainConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDynamicThingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFleetMetric
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKeysAndCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMitigationAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOTAUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePackageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePolicyVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProvisioningClaim
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProvisioningTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProvisioningTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRoleAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateScheduledAudit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSecurityProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateThingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateThingType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTopicRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTopicRuleDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccountAuditConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAuditSuppression
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBillingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCACertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCertificateProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomMetric
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDimension
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomainConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDynamicThingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFleetMetric
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJobExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMitigationAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOTAUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePackageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicyVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProvisioningTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProvisioningTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegistrationCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoleAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScheduledAudit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSecurityProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteThingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteThingType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTopicRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTopicRuleDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteV2LoggingLevel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeprecateThingType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountAuditConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAuditFinding
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAuditMitigationActionsTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAuditSuppression
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAuditTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBillingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCACertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCertificateProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomMetric
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDefaultAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDetectMitigationActionsTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDimension
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomainConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleetMetric
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeManagedJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMitigationAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProvisioningTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProvisioningTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRoleAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScheduledAudit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSecurityProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeThingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeThingRegistrationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeThingType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachPrincipalPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachSecurityProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachThingPrincipal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableTopicRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DisassociateSbomFromPackageVersion
+ def self.build(context)
+ Aws::IoT::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableTopicRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBehaviorModelTrainingSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBucketsAggregation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCardinality
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEffectivePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIndexingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOTAUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPackageConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPackageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPercentiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicyVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegistrationCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTopicRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTopicRuleDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetV2LoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListActiveViolations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttachedPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAuditFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAuditMitigationActionsExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAuditMitigationActionsTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAuditSuppressions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAuditTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAuthorizers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBillingGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCACertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCertificateProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCertificatesByCA
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDetectMitigationActionsExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDetectMitigationActionsTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDimensions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFleetMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIndices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobExecutionsForJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobExecutionsForThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListManagedJobTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMetricValues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMitigationActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOTAUpdates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOutgoingCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackageVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicyPrincipals
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicyVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPrincipalPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPrincipalThings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProvisioningTemplateVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProvisioningTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRelatedResourcesForAuditFinding
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoleAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListSbomValidationResults
+ def self.build(context)
+ Aws::IoT::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListScheduledAudits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityProfilesForTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTargetsForPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTargetsForSecurityProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThingGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThingGroupsForThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThingPrincipals
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThingRegistrationTaskReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThingRegistrationTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThingTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThingsInBillingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThingsInThingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTopicRuleDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTopicRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListV2LoggingLevels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListViolationEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutVerificationStateOnViolation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterCACertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterCertificateWithoutCA
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectCertificateTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveThingFromBillingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveThingFromThingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplaceTopicRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetDefaultAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetDefaultPolicyVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetLoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetV2LoggingLevel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetV2LoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAuditMitigationActionsTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDetectMitigationActionsTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartOnDemandAuditTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartThingRegistrationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopThingRegistrationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestInvokeAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TransferCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountAuditConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAuditSuppression
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAuthorizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBillingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCACertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCertificateProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCustomMetric
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDimension
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDynamicThingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFleetMetric
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIndexingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMitigationAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePackageConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePackageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProvisioningTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoleAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateScheduledAudit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSecurityProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateThingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateThingGroupsForThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTopicRuleDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateSecurityProfileBehaviors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iot/lib/aws-sdk-iot/plugins/endpoints.rb b/gems/aws-sdk-iot/lib/aws-sdk-iot/plugins/endpoints.rb
index 3b2ba8dc3e7..7d3f60604cf 100644
--- a/gems/aws-sdk-iot/lib/aws-sdk-iot/plugins/endpoints.rb
+++ b/gems/aws-sdk-iot/lib/aws-sdk-iot/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
@@ -64,6 +73,8 @@ def parameters_for_operation(context)
Aws::IoT::Endpoints::AddThingToBillingGroup.build(context)
when :add_thing_to_thing_group
Aws::IoT::Endpoints::AddThingToThingGroup.build(context)
+ when :associate_sbom_with_package_version
+ Aws::IoT::Endpoints::AssociateSbomWithPackageVersion.build(context)
when :associate_targets_with_job
Aws::IoT::Endpoints::AssociateTargetsWithJob.build(context)
when :attach_policy
@@ -300,6 +311,8 @@ def parameters_for_operation(context)
Aws::IoT::Endpoints::DetachThingPrincipal.build(context)
when :disable_topic_rule
Aws::IoT::Endpoints::DisableTopicRule.build(context)
+ when :disassociate_sbom_from_package_version
+ Aws::IoT::Endpoints::DisassociateSbomFromPackageVersion.build(context)
when :enable_topic_rule
Aws::IoT::Endpoints::EnableTopicRule.build(context)
when :get_behavior_model_training_summaries
@@ -420,6 +433,8 @@ def parameters_for_operation(context)
Aws::IoT::Endpoints::ListRelatedResourcesForAuditFinding.build(context)
when :list_role_aliases
Aws::IoT::Endpoints::ListRoleAliases.build(context)
+ when :list_sbom_validation_results
+ Aws::IoT::Endpoints::ListSbomValidationResults.build(context)
when :list_scheduled_audits
Aws::IoT::Endpoints::ListScheduledAudits.build(context)
when :list_security_profiles
diff --git a/gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb b/gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb
index 179c9dd6111..c12cad38009 100644
--- a/gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb
+++ b/gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb
@@ -487,6 +487,65 @@ class AssetPropertyVariant < Struct.new(
include Aws::Structure
end
+ # @!attribute [rw] package_name
+ # The name of the new software package.
+ # @return [String]
+ #
+ # @!attribute [rw] version_name
+ # The name of the new package version.
+ # @return [String]
+ #
+ # @!attribute [rw] sbom
+ # The Amazon S3 location for the software bill of materials associated
+ # with a software package version.
+ # @return [Types::Sbom]
+ #
+ # @!attribute [rw] client_token
+ # A unique case-sensitive identifier that you can provide to ensure
+ # the idempotency of the request. Don't reuse this client token if a
+ # new idempotent request is required.
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ class AssociateSbomWithPackageVersionRequest < Struct.new(
+ :package_name,
+ :version_name,
+ :sbom,
+ :client_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] package_name
+ # The name of the new software package.
+ # @return [String]
+ #
+ # @!attribute [rw] version_name
+ # The name of the new package version.
+ # @return [String]
+ #
+ # @!attribute [rw] sbom
+ # The Amazon S3 location for the software bill of materials associated
+ # with a software package version.
+ # @return [Types::Sbom]
+ #
+ # @!attribute [rw] sbom_validation_status
+ # The status of the initial validation for the SBOM against the
+ # Software Package Data Exchange (SPDX) and CycloneDX industry
+ # standard format.
+ # @return [String]
+ #
+ class AssociateSbomWithPackageVersionResponse < Struct.new(
+ :package_name,
+ :version_name,
+ :sbom,
+ :sbom_validation_status)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# @!attribute [rw] targets
# A list of thing group ARNs that define the targets of the job.
# @return [Array]
@@ -3366,6 +3425,17 @@ class CreatePackageResponse < Struct.new(
# limited to 3KB.
# @return [Hash]
#
+ # @!attribute [rw] artifact
+ # The various build components created during the build process such
+ # as libraries and configuration files that make up a software package
+ # version.
+ # @return [Types::PackageVersionArtifact]
+ #
+ # @!attribute [rw] recipe
+ # The inline job document associated with a software package version
+ # used for a quick job deployment via IoT Jobs.
+ # @return [String]
+ #
# @!attribute [rw] tags
# Metadata that can be used to manage the package version.
# @return [Hash]
@@ -3384,9 +3454,11 @@ class CreatePackageVersionRequest < Struct.new(
:version_name,
:description,
:attributes,
+ :artifact,
+ :recipe,
:tags,
:client_token)
- SENSITIVE = [:description, :attributes]
+ SENSITIVE = [:description, :attributes, :recipe]
include Aws::Structure
end
@@ -5698,8 +5770,14 @@ class DescribeJobExecutionResponse < Struct.new(
# The unique identifier you assigned to this job when it was created.
# @return [String]
#
+ # @!attribute [rw] before_substitution
+ # A flag that provides a view of the job document before and after the
+ # substitution parameters have been resolved with their exact values.
+ # @return [Boolean]
+ #
class DescribeJobRequest < Struct.new(
- :job_id)
+ :job_id,
+ :before_substitution)
SENSITIVE = []
include Aws::Structure
end
@@ -6756,6 +6834,33 @@ class DisableTopicRuleRequest < Struct.new(
include Aws::Structure
end
+ # @!attribute [rw] package_name
+ # The name of the new software package.
+ # @return [String]
+ #
+ # @!attribute [rw] version_name
+ # The name of the new package version.
+ # @return [String]
+ #
+ # @!attribute [rw] client_token
+ # A unique case-sensitive identifier that you can provide to ensure
+ # the idempotency of the request. Don't reuse this client token if a
+ # new idempotent request is required.
+ #
+ # **A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ class DisassociateSbomFromPackageVersionRequest < Struct.new(
+ :package_name,
+ :version_name,
+ :client_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ class DisassociateSbomFromPackageVersionResponse < Aws::EmptyStructure; end
+
# A map of key-value pairs containing the patterns that need to be
# replaced in a managed template job document schema. You can use the
# description of each key as a guidance to specify the inputs during
@@ -7386,8 +7491,14 @@ class GetIndexingConfigurationResponse < Struct.new(
# The unique identifier you assigned to this job when it was created.
# @return [String]
#
+ # @!attribute [rw] before_substitution
+ # A flag that provides a view of the job document before and after the
+ # substitution parameters have been resolved with their exact values.
+ # @return [Boolean]
+ #
class GetJobDocumentRequest < Struct.new(
- :job_id)
+ :job_id,
+ :before_substitution)
SENSITIVE = []
include Aws::Structure
end
@@ -7540,6 +7651,10 @@ class GetPackageVersionRequest < Struct.new(
# define a package version’s configuration.
# @return [Hash]
#
+ # @!attribute [rw] artifact
+ # The various components that make up a software package version.
+ # @return [Types::PackageVersionArtifact]
+ #
# @!attribute [rw] status
# The status associated to the package version. For more information,
# see [Package version lifecycle][1].
@@ -7562,17 +7677,35 @@ class GetPackageVersionRequest < Struct.new(
# The date when the package version was last updated.
# @return [Time]
#
+ # @!attribute [rw] sbom
+ # The software bill of materials for a software package version.
+ # @return [Types::Sbom]
+ #
+ # @!attribute [rw] sbom_validation_status
+ # The status of the validation for a new software bill of materials
+ # added to a software package version.
+ # @return [String]
+ #
+ # @!attribute [rw] recipe
+ # The inline job document associated with a software package version
+ # used for a quick job deployment via IoT Jobs.
+ # @return [String]
+ #
class GetPackageVersionResponse < Struct.new(
:package_version_arn,
:package_name,
:version_name,
:description,
:attributes,
+ :artifact,
:status,
:error_reason,
:creation_date,
- :last_modified_date)
- SENSITIVE = [:description, :attributes]
+ :last_modified_date,
+ :sbom,
+ :sbom_validation_status,
+ :recipe)
+ SENSITIVE = [:description, :attributes, :recipe]
include Aws::Structure
end
@@ -10760,6 +10893,54 @@ class ListRoleAliasesResponse < Struct.new(
include Aws::Structure
end
+ # @!attribute [rw] package_name
+ # The name of the new software package.
+ # @return [String]
+ #
+ # @!attribute [rw] version_name
+ # The name of the new package version.
+ # @return [String]
+ #
+ # @!attribute [rw] validation_result
+ # The end result of the
+ # @return [String]
+ #
+ # @!attribute [rw] max_results
+ # The maximum number of results to return at one time.
+ # @return [Integer]
+ #
+ # @!attribute [rw] next_token
+ # A token that can be used to retrieve the next set of results, or
+ # null if there are no additional results.
+ # @return [String]
+ #
+ class ListSbomValidationResultsRequest < Struct.new(
+ :package_name,
+ :version_name,
+ :validation_result,
+ :max_results,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] validation_result_summaries
+ # A summary of the validation results for each software bill of
+ # materials attached to a software package version.
+ # @return [Array]
+ #
+ # @!attribute [rw] next_token
+ # A token that can be used to retrieve the next set of results, or
+ # null if there are no additional results.
+ # @return [String]
+ #
+ class ListSbomValidationResultsResponse < Struct.new(
+ :validation_result_summaries,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# @!attribute [rw] next_token
# The token for the next set of results.
# @return [String]
@@ -12442,6 +12623,19 @@ class PackageSummary < Struct.new(
include Aws::Structure
end
+ # The Amazon S3 location for the artifacts associated with a software
+ # package version.
+ #
+ # @!attribute [rw] s3_location
+ # The S3 location.
+ # @return [Types::S3Location]
+ #
+ class PackageVersionArtifact < Struct.new(
+ :s3_location)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# A summary of information about a package version.
#
# @!attribute [rw] package_name
@@ -13449,6 +13643,49 @@ class SalesforceAction < Struct.new(
include Aws::Structure
end
+ # The Amazon S3 location for the software bill of materials associated
+ # with a software package version.
+ #
+ # @!attribute [rw] s3_location
+ # The S3 location.
+ # @return [Types::S3Location]
+ #
+ class Sbom < Struct.new(
+ :s3_location)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # A summary of the validation results for a specific software bill of
+ # materials (SBOM) attached to a software package version.
+ #
+ # @!attribute [rw] file_name
+ # The name of the SBOM file.
+ # @return [String]
+ #
+ # @!attribute [rw] validation_result
+ # The end result of the SBOM validation.
+ # @return [String]
+ #
+ # @!attribute [rw] error_code
+ # The `errorCode` representing the validation failure error if the
+ # SBOM validation failed.
+ # @return [String]
+ #
+ # @!attribute [rw] error_message
+ # The `errorMessage` representing the validation failure error if the
+ # SBOM validation failed.
+ # @return [String]
+ #
+ class SbomValidationResultSummary < Struct.new(
+ :file_name,
+ :validation_result,
+ :error_code,
+ :error_message)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# Information about the scheduled audit.
#
# @!attribute [rw] scheduled_audit_name
@@ -13685,7 +13922,7 @@ class SecurityProfileTargetMapping < Struct.new(
#
#
#
- # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-domain-ocsp-config.html
+ # [1]: https://docs.aws.amazon.com/iot/latest/developerguide/iot-custom-endpoints-cert-config.html
# @return [Boolean]
#
class ServerCertificateConfig < Struct.new(
@@ -16393,6 +16630,10 @@ class UpdatePackageResponse < Aws::EmptyStructure; end
# limited to 3KB.
# @return [Hash]
#
+ # @!attribute [rw] artifact
+ # The various components that make up a software package version.
+ # @return [Types::PackageVersionArtifact]
+ #
# @!attribute [rw] action
# The status that the package version should be assigned. For more
# information, see [Package version lifecycle][1].
@@ -16402,6 +16643,11 @@ class UpdatePackageResponse < Aws::EmptyStructure; end
# [1]: https://docs.aws.amazon.com/iot/latest/developerguide/preparing-to-use-software-package-catalog.html#package-version-lifecycle
# @return [String]
#
+ # @!attribute [rw] recipe
+ # The inline job document associated with a software package version
+ # used for a quick job deployment via IoT Jobs.
+ # @return [String]
+ #
# @!attribute [rw] client_token
# A unique case-sensitive identifier that you can provide to ensure
# the idempotency of the request. Don't reuse this client token if a
@@ -16416,9 +16662,11 @@ class UpdatePackageVersionRequest < Struct.new(
:version_name,
:description,
:attributes,
+ :artifact,
:action,
+ :recipe,
:client_token)
- SENSITIVE = [:description, :attributes]
+ SENSITIVE = [:description, :attributes, :recipe]
include Aws::Structure
end
diff --git a/gems/aws-sdk-iot/sig/client.rbs b/gems/aws-sdk-iot/sig/client.rbs
index 696e21411b3..72b1e6827e2 100644
--- a/gems/aws-sdk-iot/sig/client.rbs
+++ b/gems/aws-sdk-iot/sig/client.rbs
@@ -106,6 +106,28 @@ module Aws
) -> _AddThingToThingGroupResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddThingToThingGroupResponseSuccess
+ interface _AssociateSbomWithPackageVersionResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::AssociateSbomWithPackageVersionResponse]
+ def package_name: () -> ::String
+ def version_name: () -> ::String
+ def sbom: () -> Types::Sbom
+ def sbom_validation_status: () -> ("IN_PROGRESS" | "FAILED" | "SUCCEEDED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#associate_sbom_with_package_version-instance_method
+ def associate_sbom_with_package_version: (
+ package_name: ::String,
+ version_name: ::String,
+ sbom: {
+ s3_location: {
+ bucket: ::String?,
+ key: ::String?,
+ version: ::String?
+ }?
+ },
+ ?client_token: ::String
+ ) -> _AssociateSbomWithPackageVersionResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateSbomWithPackageVersionResponseSuccess
+
interface _AssociateTargetsWithJobResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::AssociateTargetsWithJobResponse]
def job_arn: () -> ::String
@@ -791,6 +813,14 @@ module Aws
version_name: ::String,
?description: ::String,
?attributes: Hash[::String, ::String],
+ ?artifact: {
+ s3_location: {
+ bucket: ::String?,
+ key: ::String?,
+ version: ::String?
+ }?
+ },
+ ?recipe: ::String,
?tags: Hash[::String, ::String],
?client_token: ::String
) -> _CreatePackageVersionResponseSuccess
@@ -2139,7 +2169,8 @@ module Aws
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#describe_job-instance_method
def describe_job: (
- job_id: ::String
+ job_id: ::String,
+ ?before_substitution: bool
) -> _DescribeJobResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeJobResponseSuccess
@@ -2411,6 +2442,17 @@ module Aws
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
+ interface _DisassociateSbomFromPackageVersionResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateSbomFromPackageVersionResponse]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#disassociate_sbom_from_package_version-instance_method
+ def disassociate_sbom_from_package_version: (
+ package_name: ::String,
+ version_name: ::String,
+ ?client_token: ::String
+ ) -> _DisassociateSbomFromPackageVersionResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateSbomFromPackageVersionResponseSuccess
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#enable_topic_rule-instance_method
def enable_topic_rule: (
rule_name: ::String
@@ -2490,7 +2532,8 @@ module Aws
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#get_job_document-instance_method
def get_job_document: (
- job_id: ::String
+ job_id: ::String,
+ ?before_substitution: bool
) -> _GetJobDocumentResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetJobDocumentResponseSuccess
@@ -2545,10 +2588,14 @@ module Aws
def version_name: () -> ::String
def description: () -> ::String
def attributes: () -> ::Hash[::String, ::String]
+ def artifact: () -> Types::PackageVersionArtifact
def status: () -> ("DRAFT" | "PUBLISHED" | "DEPRECATED")
def error_reason: () -> ::String
def creation_date: () -> ::Time
def last_modified_date: () -> ::Time
+ def sbom: () -> Types::Sbom
+ def sbom_validation_status: () -> ("IN_PROGRESS" | "FAILED" | "SUCCEEDED")
+ def recipe: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#get_package_version-instance_method
def get_package_version: (
@@ -3249,6 +3296,21 @@ module Aws
) -> _ListRoleAliasesResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRoleAliasesResponseSuccess
+ interface _ListSbomValidationResultsResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSbomValidationResultsResponse]
+ def validation_result_summaries: () -> ::Array[Types::SbomValidationResultSummary]
+ def next_token: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/IoT/Client.html#list_sbom_validation_results-instance_method
+ def list_sbom_validation_results: (
+ package_name: ::String,
+ version_name: ::String,
+ ?validation_result: ("FAILED" | "SUCCEEDED"),
+ ?max_results: ::Integer,
+ ?next_token: ::String
+ ) -> _ListSbomValidationResultsResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSbomValidationResultsResponseSuccess
+
interface _ListScheduledAuditsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::ListScheduledAuditsResponse]
def scheduled_audits: () -> ::Array[Types::ScheduledAuditMetadata]
@@ -4649,7 +4711,15 @@ module Aws
version_name: ::String,
?description: ::String,
?attributes: Hash[::String, ::String],
+ ?artifact: {
+ s3_location: {
+ bucket: ::String?,
+ key: ::String?,
+ version: ::String?
+ }?
+ },
?action: ("PUBLISH" | "DEPRECATE"),
+ ?recipe: ::String,
?client_token: ::String
) -> _UpdatePackageVersionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdatePackageVersionResponseSuccess
diff --git a/gems/aws-sdk-iot/sig/types.rbs b/gems/aws-sdk-iot/sig/types.rbs
index 38665744b77..9c62d8f94df 100644
--- a/gems/aws-sdk-iot/sig/types.rbs
+++ b/gems/aws-sdk-iot/sig/types.rbs
@@ -135,6 +135,22 @@ module Aws::IoT
SENSITIVE: []
end
+ class AssociateSbomWithPackageVersionRequest
+ attr_accessor package_name: ::String
+ attr_accessor version_name: ::String
+ attr_accessor sbom: Types::Sbom
+ attr_accessor client_token: ::String
+ SENSITIVE: []
+ end
+
+ class AssociateSbomWithPackageVersionResponse
+ attr_accessor package_name: ::String
+ attr_accessor version_name: ::String
+ attr_accessor sbom: Types::Sbom
+ attr_accessor sbom_validation_status: ("IN_PROGRESS" | "FAILED" | "SUCCEEDED")
+ SENSITIVE: []
+ end
+
class AssociateTargetsWithJobRequest
attr_accessor targets: ::Array[::String]
attr_accessor job_id: ::String
@@ -892,9 +908,11 @@ module Aws::IoT
attr_accessor version_name: ::String
attr_accessor description: ::String
attr_accessor attributes: ::Hash[::String, ::String]
+ attr_accessor artifact: Types::PackageVersionArtifact
+ attr_accessor recipe: ::String
attr_accessor tags: ::Hash[::String, ::String]
attr_accessor client_token: ::String
- SENSITIVE: [:description, :attributes]
+ SENSITIVE: [:description, :attributes, :recipe]
end
class CreatePackageVersionResponse
@@ -1666,6 +1684,7 @@ module Aws::IoT
class DescribeJobRequest
attr_accessor job_id: ::String
+ attr_accessor before_substitution: bool
SENSITIVE: []
end
@@ -1972,6 +1991,16 @@ module Aws::IoT
SENSITIVE: []
end
+ class DisassociateSbomFromPackageVersionRequest
+ attr_accessor package_name: ::String
+ attr_accessor version_name: ::String
+ attr_accessor client_token: ::String
+ SENSITIVE: []
+ end
+
+ class DisassociateSbomFromPackageVersionResponse < Aws::EmptyStructure
+ end
+
class DocumentParameter
attr_accessor key: ::String
attr_accessor description: ::String
@@ -2149,6 +2178,7 @@ module Aws::IoT
class GetJobDocumentRequest
attr_accessor job_id: ::String
+ attr_accessor before_substitution: bool
SENSITIVE: []
end
@@ -2211,11 +2241,15 @@ module Aws::IoT
attr_accessor version_name: ::String
attr_accessor description: ::String
attr_accessor attributes: ::Hash[::String, ::String]
+ attr_accessor artifact: Types::PackageVersionArtifact
attr_accessor status: ("DRAFT" | "PUBLISHED" | "DEPRECATED")
attr_accessor error_reason: ::String
attr_accessor creation_date: ::Time
attr_accessor last_modified_date: ::Time
- SENSITIVE: [:description, :attributes]
+ attr_accessor sbom: Types::Sbom
+ attr_accessor sbom_validation_status: ("IN_PROGRESS" | "FAILED" | "SUCCEEDED")
+ attr_accessor recipe: ::String
+ SENSITIVE: [:description, :attributes, :recipe]
end
class GetPercentilesRequest
@@ -3158,6 +3192,21 @@ module Aws::IoT
SENSITIVE: []
end
+ class ListSbomValidationResultsRequest
+ attr_accessor package_name: ::String
+ attr_accessor version_name: ::String
+ attr_accessor validation_result: ("FAILED" | "SUCCEEDED")
+ attr_accessor max_results: ::Integer
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListSbomValidationResultsResponse
+ attr_accessor validation_result_summaries: ::Array[Types::SbomValidationResultSummary]
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
class ListScheduledAuditsRequest
attr_accessor next_token: ::String
attr_accessor max_results: ::Integer
@@ -3644,6 +3693,11 @@ module Aws::IoT
SENSITIVE: []
end
+ class PackageVersionArtifact
+ attr_accessor s3_location: Types::S3Location
+ SENSITIVE: []
+ end
+
class PackageVersionSummary
attr_accessor package_name: ::String
attr_accessor version_name: ::String
@@ -3939,6 +3993,19 @@ module Aws::IoT
SENSITIVE: []
end
+ class Sbom
+ attr_accessor s3_location: Types::S3Location
+ SENSITIVE: []
+ end
+
+ class SbomValidationResultSummary
+ attr_accessor file_name: ::String
+ attr_accessor validation_result: ("FAILED" | "SUCCEEDED")
+ attr_accessor error_code: ("INCOMPATIBLE_FORMAT" | "FILE_SIZE_LIMIT_EXCEEDED")
+ attr_accessor error_message: ::String
+ SENSITIVE: []
+ end
+
class ScheduledAuditMetadata
attr_accessor scheduled_audit_name: ::String
attr_accessor scheduled_audit_arn: ::String
@@ -4753,9 +4820,11 @@ module Aws::IoT
attr_accessor version_name: ::String
attr_accessor description: ::String
attr_accessor attributes: ::Hash[::String, ::String]
+ attr_accessor artifact: Types::PackageVersionArtifact
attr_accessor action: ("PUBLISH" | "DEPRECATE")
+ attr_accessor recipe: ::String
attr_accessor client_token: ::String
- SENSITIVE: [:description, :attributes]
+ SENSITIVE: [:description, :attributes, :recipe]
end
class UpdatePackageVersionResponse < Aws::EmptyStructure
diff --git a/gems/aws-sdk-iot/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iot/spec/endpoint_provider_spec.rb
index 4dd14b6728a..637d1614fea 100644
--- a/gems/aws-sdk-iot/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iot/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoT
describe EndpointProvider do
subject { Aws::IoT::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoT
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoT
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoT
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoT
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoT
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoT
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IoT
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::IoT
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::IoT
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IoT
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.eu-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::IoT
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.eu-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IoT
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.eu-west-3.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::IoT
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.me-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::IoT
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.sa-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::IoT
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::IoT
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::IoT
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.us-east-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::IoT
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::IoT
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::IoT
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::IoT
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::IoT
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.us-west-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::IoT
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::IoT
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::IoT
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::IoT
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::IoT
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::IoT
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::IoT
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::IoT
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::IoT
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::IoT
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::IoT
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::IoT
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::IoT
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::IoT
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -531,7 +531,7 @@ module Aws::IoT
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -545,7 +545,7 @@ module Aws::IoT
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -558,7 +558,7 @@ module Aws::IoT
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.us-iso-east-1.c2s.ic.gov"}}
end
@@ -572,7 +572,7 @@ module Aws::IoT
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -585,7 +585,7 @@ module Aws::IoT
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -599,7 +599,7 @@ module Aws::IoT
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -612,7 +612,7 @@ module Aws::IoT
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iot.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -626,7 +626,7 @@ module Aws::IoT
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::IoT
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::IoT
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -667,7 +667,7 @@ module Aws::IoT
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -680,7 +680,7 @@ module Aws::IoT
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iot1clickdevicesservice/CHANGELOG.md b/gems/aws-sdk-iot1clickdevicesservice/CHANGELOG.md
index eb55640c0b6..ed578d5a84d 100644
--- a/gems/aws-sdk-iot1clickdevicesservice/CHANGELOG.md
+++ b/gems/aws-sdk-iot1clickdevicesservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.58.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.57.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iot1clickdevicesservice/VERSION b/gems/aws-sdk-iot1clickdevicesservice/VERSION
index 373aea97570..79f82f6b8e0 100644
--- a/gems/aws-sdk-iot1clickdevicesservice/VERSION
+++ b/gems/aws-sdk-iot1clickdevicesservice/VERSION
@@ -1 +1 @@
-1.57.0
+1.58.0
diff --git a/gems/aws-sdk-iot1clickdevicesservice/aws-sdk-iot1clickdevicesservice.gemspec b/gems/aws-sdk-iot1clickdevicesservice/aws-sdk-iot1clickdevicesservice.gemspec
index 53667487e61..6b85ff068b8 100644
--- a/gems/aws-sdk-iot1clickdevicesservice/aws-sdk-iot1clickdevicesservice.gemspec
+++ b/gems/aws-sdk-iot1clickdevicesservice/aws-sdk-iot1clickdevicesservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iot1clickdevicesservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice.rb b/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice.rb
index be5b5d415b1..2dbd03904af 100644
--- a/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice.rb
+++ b/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoT1ClickDevicesService
- GEM_VERSION = '1.57.0'
+ GEM_VERSION = '1.58.0'
end
diff --git a/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/client.rb b/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/client.rb
index a38d31573c5..7dc89b3a67c 100644
--- a/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/client.rb
+++ b/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/client.rb
@@ -897,7 +897,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iot1clickdevicesservice'
- context[:gem_version] = '1.57.0'
+ context[:gem_version] = '1.58.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/endpoints.rb b/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/endpoints.rb
index 4096411df6b..12b3c00e261 100644
--- a/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/endpoints.rb
+++ b/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/endpoints.rb
@@ -14,182 +14,143 @@ module Endpoints
class ClaimDevicesByClaimCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FinalizeDeviceClaim
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeviceMethods
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InitiateDeviceClaim
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InvokeDeviceMethod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeviceEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnclaimDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeviceState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickDevicesService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/plugins/endpoints.rb b/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/plugins/endpoints.rb
index 7c9e1407bd2..e2bae334e2f 100644
--- a/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-iot1clickdevicesservice/lib/aws-sdk-iot1clickdevicesservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iot1clickdevicesservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iot1clickdevicesservice/spec/endpoint_provider_spec.rb
index 5228d012c28..f8582affac1 100644
--- a/gems/aws-sdk-iot1clickdevicesservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iot1clickdevicesservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoT1ClickDevicesService
describe EndpointProvider do
subject { Aws::IoT1ClickDevicesService::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://devices.iot1click.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::IoT1ClickDevicesService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iot1clickprojects/CHANGELOG.md b/gems/aws-sdk-iot1clickprojects/CHANGELOG.md
index e941fd0fe07..3cdcddae3d1 100644
--- a/gems/aws-sdk-iot1clickprojects/CHANGELOG.md
+++ b/gems/aws-sdk-iot1clickprojects/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.59.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.58.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iot1clickprojects/VERSION b/gems/aws-sdk-iot1clickprojects/VERSION
index 79f82f6b8e0..bb120e876c6 100644
--- a/gems/aws-sdk-iot1clickprojects/VERSION
+++ b/gems/aws-sdk-iot1clickprojects/VERSION
@@ -1 +1 @@
-1.58.0
+1.59.0
diff --git a/gems/aws-sdk-iot1clickprojects/aws-sdk-iot1clickprojects.gemspec b/gems/aws-sdk-iot1clickprojects/aws-sdk-iot1clickprojects.gemspec
index 07148c438d5..209b069a95b 100644
--- a/gems/aws-sdk-iot1clickprojects/aws-sdk-iot1clickprojects.gemspec
+++ b/gems/aws-sdk-iot1clickprojects/aws-sdk-iot1clickprojects.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iot1clickprojects/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects.rb b/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects.rb
index bcd7d24ad95..675d93c2398 100644
--- a/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects.rb
+++ b/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoT1ClickProjects
- GEM_VERSION = '1.58.0'
+ GEM_VERSION = '1.59.0'
end
diff --git a/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/client.rb b/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/client.rb
index 26a39262fa1..62b7518624c 100644
--- a/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/client.rb
+++ b/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/client.rb
@@ -1026,7 +1026,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iot1clickprojects'
- context[:gem_version] = '1.58.0'
+ context[:gem_version] = '1.59.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/endpoints.rb b/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/endpoints.rb
index cd974223654..053f9401879 100644
--- a/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/endpoints.rb
+++ b/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/endpoints.rb
@@ -14,224 +14,176 @@ module Endpoints
class AssociateDeviceWithPlacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePlacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePlacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePlacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateDeviceFromPlacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevicesInPlacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPlacements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePlacement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoT1ClickProjects::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/plugins/endpoints.rb b/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/plugins/endpoints.rb
index 6d61fd8fa51..83124e0f408 100644
--- a/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/plugins/endpoints.rb
+++ b/gems/aws-sdk-iot1clickprojects/lib/aws-sdk-iot1clickprojects/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iot1clickprojects/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iot1clickprojects/spec/endpoint_provider_spec.rb
index b8de1ca2f84..1a454be6626 100644
--- a/gems/aws-sdk-iot1clickprojects/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iot1clickprojects/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoT1ClickProjects
describe EndpointProvider do
subject { Aws::IoT1ClickProjects::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.eu-central-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.eu-west-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.eu-west-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.us-east-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click-fips.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click-fips.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://projects.iot1click.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::IoT1ClickProjects
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iotanalytics/CHANGELOG.md b/gems/aws-sdk-iotanalytics/CHANGELOG.md
index bc17c92f666..14c83cad3fa 100644
--- a/gems/aws-sdk-iotanalytics/CHANGELOG.md
+++ b/gems/aws-sdk-iotanalytics/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.71.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.70.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iotanalytics/VERSION b/gems/aws-sdk-iotanalytics/VERSION
index 832e9afb6c1..df484cbb1d9 100644
--- a/gems/aws-sdk-iotanalytics/VERSION
+++ b/gems/aws-sdk-iotanalytics/VERSION
@@ -1 +1 @@
-1.70.0
+1.71.0
diff --git a/gems/aws-sdk-iotanalytics/aws-sdk-iotanalytics.gemspec b/gems/aws-sdk-iotanalytics/aws-sdk-iotanalytics.gemspec
index 70b3f04bf42..560ac1fde67 100644
--- a/gems/aws-sdk-iotanalytics/aws-sdk-iotanalytics.gemspec
+++ b/gems/aws-sdk-iotanalytics/aws-sdk-iotanalytics.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotanalytics/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics.rb b/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics.rb
index 79462c922f0..d34fdf6a933 100644
--- a/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics.rb
+++ b/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoTAnalytics
- GEM_VERSION = '1.70.0'
+ GEM_VERSION = '1.71.0'
end
diff --git a/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/client.rb b/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/client.rb
index 6c5adf7399a..5b59b5c870f 100644
--- a/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/client.rb
+++ b/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/client.rb
@@ -2356,7 +2356,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iotanalytics'
- context[:gem_version] = '1.70.0'
+ context[:gem_version] = '1.71.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/endpoints.rb b/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/endpoints.rb
index d5a5ca1f5ae..f74d363670d 100644
--- a/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/endpoints.rb
+++ b/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/endpoints.rb
@@ -14,476 +14,374 @@ module Endpoints
class BatchPutMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelPipelineReprocessing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDatasetContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDatastore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDatasetContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDatastore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDatastore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDatasetContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasetContents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatastores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RunPipelineActivity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SampleChannelData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartPipelineReprocessing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDatastore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/plugins/endpoints.rb b/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/plugins/endpoints.rb
index 84b79a6ae35..b4ca69f9a09 100644
--- a/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/plugins/endpoints.rb
+++ b/gems/aws-sdk-iotanalytics/lib/aws-sdk-iotanalytics/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iotanalytics/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iotanalytics/spec/endpoint_provider_spec.rb
index 4591ed9bbb4..72971bd21f7 100644
--- a/gems/aws-sdk-iotanalytics/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iotanalytics/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTAnalytics
describe EndpointProvider do
subject { Aws::IoTAnalytics::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.ap-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.eu-west-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.us-east-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.us-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics-fips.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics-fips.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics-fips.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.us-gov-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -293,7 +293,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -307,7 +307,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -320,7 +320,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.us-iso-east-1.c2s.ic.gov"}}
end
@@ -334,7 +334,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -347,7 +347,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -361,7 +361,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -374,7 +374,7 @@ module Aws::IoTAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotanalytics.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -388,7 +388,7 @@ module Aws::IoTAnalytics
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::IoTAnalytics
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -416,7 +416,7 @@ module Aws::IoTAnalytics
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -429,7 +429,7 @@ module Aws::IoTAnalytics
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -442,7 +442,7 @@ module Aws::IoTAnalytics
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iotdataplane/CHANGELOG.md b/gems/aws-sdk-iotdataplane/CHANGELOG.md
index bf665f30b63..77245b8ff47 100644
--- a/gems/aws-sdk-iotdataplane/CHANGELOG.md
+++ b/gems/aws-sdk-iotdataplane/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.64.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.63.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iotdataplane/VERSION b/gems/aws-sdk-iotdataplane/VERSION
index af92bdd9f58..9405730420f 100644
--- a/gems/aws-sdk-iotdataplane/VERSION
+++ b/gems/aws-sdk-iotdataplane/VERSION
@@ -1 +1 @@
-1.63.0
+1.64.0
diff --git a/gems/aws-sdk-iotdataplane/aws-sdk-iotdataplane.gemspec b/gems/aws-sdk-iotdataplane/aws-sdk-iotdataplane.gemspec
index aa2988b9846..1d3bc770be8 100644
--- a/gems/aws-sdk-iotdataplane/aws-sdk-iotdataplane.gemspec
+++ b/gems/aws-sdk-iotdataplane/aws-sdk-iotdataplane.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotdataplane/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane.rb b/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane.rb
index c4ebd6098b9..c86409e24b2 100644
--- a/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane.rb
+++ b/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoTDataPlane
- GEM_VERSION = '1.63.0'
+ GEM_VERSION = '1.64.0'
end
diff --git a/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/client.rb b/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/client.rb
index bac5f0b3ca5..caaa1def6d9 100644
--- a/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/client.rb
+++ b/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/client.rb
@@ -850,7 +850,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iotdataplane'
- context[:gem_version] = '1.63.0'
+ context[:gem_version] = '1.64.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/endpoints.rb b/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/endpoints.rb
index 877d11d9aeb..d5ffe05fbe3 100644
--- a/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/endpoints.rb
+++ b/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/endpoints.rb
@@ -14,98 +14,77 @@ module Endpoints
class DeleteThingShadow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDataPlane::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRetainedMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDataPlane::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetThingShadow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDataPlane::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNamedShadowsForThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDataPlane::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRetainedMessages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDataPlane::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Publish
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDataPlane::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateThingShadow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDataPlane::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/plugins/endpoints.rb b/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/plugins/endpoints.rb
index aeff0609173..17c16effffc 100644
--- a/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/plugins/endpoints.rb
+++ b/gems/aws-sdk-iotdataplane/lib/aws-sdk-iotdataplane/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iotdataplane/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iotdataplane/spec/endpoint_provider_spec.rb
index a4d5fb3eee2..408b0e57452 100644
--- a/gems/aws-sdk-iotdataplane/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iotdataplane/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTDataPlane
describe EndpointProvider do
subject { Aws::IoTDataPlane::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iot-fips.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.eu-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.eu-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.eu-west-3.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.me-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.sa-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iot-fips.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.us-east-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iot-fips.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iot-fips.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iot-fips.us-west-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot-fips.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.ats.iot.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iot-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iot-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot-fips.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -531,7 +531,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -545,7 +545,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -558,7 +558,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.us-iso-east-1.c2s.ic.gov"}}
end
@@ -572,7 +572,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -585,7 +585,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -599,7 +599,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -612,7 +612,7 @@ module Aws::IoTDataPlane
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data-ats.iot.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -626,7 +626,7 @@ module Aws::IoTDataPlane
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::IoTDataPlane
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::IoTDataPlane
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -667,7 +667,7 @@ module Aws::IoTDataPlane
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -680,7 +680,7 @@ module Aws::IoTDataPlane
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iotdeviceadvisor/CHANGELOG.md b/gems/aws-sdk-iotdeviceadvisor/CHANGELOG.md
index 660c7471fef..32542f53de3 100644
--- a/gems/aws-sdk-iotdeviceadvisor/CHANGELOG.md
+++ b/gems/aws-sdk-iotdeviceadvisor/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iotdeviceadvisor/VERSION b/gems/aws-sdk-iotdeviceadvisor/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-iotdeviceadvisor/VERSION
+++ b/gems/aws-sdk-iotdeviceadvisor/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-iotdeviceadvisor/aws-sdk-iotdeviceadvisor.gemspec b/gems/aws-sdk-iotdeviceadvisor/aws-sdk-iotdeviceadvisor.gemspec
index e41f9f82538..bd6f65511ed 100644
--- a/gems/aws-sdk-iotdeviceadvisor/aws-sdk-iotdeviceadvisor.gemspec
+++ b/gems/aws-sdk-iotdeviceadvisor/aws-sdk-iotdeviceadvisor.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotdeviceadvisor/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor.rb b/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor.rb
index 04711c8ee37..03538ed8e1c 100644
--- a/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor.rb
+++ b/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoTDeviceAdvisor
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/client.rb b/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/client.rb
index d1c04bb2c5c..d738ef5553c 100644
--- a/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/client.rb
+++ b/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/client.rb
@@ -1122,7 +1122,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iotdeviceadvisor'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/endpoints.rb b/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/endpoints.rb
index fdc1f5feb98..545060399d9 100644
--- a/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/endpoints.rb
+++ b/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/endpoints.rb
@@ -14,196 +14,154 @@ module Endpoints
class CreateSuiteDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSuiteDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSuiteDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSuiteRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSuiteRunReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSuiteDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSuiteRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSuiteRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopSuiteRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSuiteDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTDeviceAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/plugins/endpoints.rb b/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/plugins/endpoints.rb
index b6f021aff43..0acf943ac21 100644
--- a/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/plugins/endpoints.rb
+++ b/gems/aws-sdk-iotdeviceadvisor/lib/aws-sdk-iotdeviceadvisor/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iotdeviceadvisor/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iotdeviceadvisor/spec/endpoint_provider_spec.rb
index 832eeb1d4a3..36078197842 100644
--- a/gems/aws-sdk-iotdeviceadvisor/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iotdeviceadvisor/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTDeviceAdvisor
describe EndpointProvider do
subject { Aws::IoTDeviceAdvisor::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor.eu-west-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor.us-west-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor-fips.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor-fips.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor-fips.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -237,7 +237,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -251,7 +251,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -264,7 +264,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor.us-iso-east-1.c2s.ic.gov"}}
end
@@ -278,7 +278,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -291,7 +291,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -305,7 +305,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -318,7 +318,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotdeviceadvisor.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -332,7 +332,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -360,7 +360,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -373,7 +373,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -386,7 +386,7 @@ module Aws::IoTDeviceAdvisor
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iotevents/CHANGELOG.md b/gems/aws-sdk-iotevents/CHANGELOG.md
index 7c4ebdaf2b4..cd61f87706d 100644
--- a/gems/aws-sdk-iotevents/CHANGELOG.md
+++ b/gems/aws-sdk-iotevents/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.56.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.55.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iotevents/VERSION b/gems/aws-sdk-iotevents/VERSION
index 094d6ad00ce..3ebf789f5a8 100644
--- a/gems/aws-sdk-iotevents/VERSION
+++ b/gems/aws-sdk-iotevents/VERSION
@@ -1 +1 @@
-1.55.0
+1.56.0
diff --git a/gems/aws-sdk-iotevents/aws-sdk-iotevents.gemspec b/gems/aws-sdk-iotevents/aws-sdk-iotevents.gemspec
index b9771712edd..9ee62894af3 100644
--- a/gems/aws-sdk-iotevents/aws-sdk-iotevents.gemspec
+++ b/gems/aws-sdk-iotevents/aws-sdk-iotevents.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotevents/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents.rb b/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents.rb
index a3f5c6064a2..7f34901280e 100644
--- a/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents.rb
+++ b/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoTEvents
- GEM_VERSION = '1.55.0'
+ GEM_VERSION = '1.56.0'
end
diff --git a/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/client.rb b/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/client.rb
index c3bd213170e..51ed54fd86f 100644
--- a/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/client.rb
+++ b/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/client.rb
@@ -3504,7 +3504,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iotevents'
- context[:gem_version] = '1.55.0'
+ context[:gem_version] = '1.56.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/endpoints.rb b/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/endpoints.rb
index a5c02f53d45..c86da868c62 100644
--- a/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/endpoints.rb
+++ b/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/endpoints.rb
@@ -14,364 +14,286 @@ module Endpoints
class CreateAlarmModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDetectorModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAlarmModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDetectorModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAlarmModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDetectorModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDetectorModelAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDetectorModelAnalysisResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAlarmModelVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAlarmModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDetectorModelVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDetectorModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInputRoutings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInputs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDetectorModelAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAlarmModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDetectorModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/plugins/endpoints.rb b/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/plugins/endpoints.rb
index 2ebd0cce651..678ce47593d 100644
--- a/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/plugins/endpoints.rb
+++ b/gems/aws-sdk-iotevents/lib/aws-sdk-iotevents/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iotevents/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iotevents/spec/endpoint_provider_spec.rb
index 9a1590d7e28..bc59c9ab0b1 100644
--- a/gems/aws-sdk-iotevents/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iotevents/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTEvents
describe EndpointProvider do
subject { Aws::IoTEvents::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTEvents
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTEvents
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTEvents
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTEvents
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTEvents
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTEvents
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTEvents
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTEvents
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.us-east-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.us-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents-fips.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents-fips.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::IoTEvents
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::IoTEvents
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::IoTEvents
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::IoTEvents
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.us-gov-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents-fips.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.us-gov-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.us-gov-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -363,7 +363,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -377,7 +377,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -390,7 +390,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.us-iso-east-1.c2s.ic.gov"}}
end
@@ -404,7 +404,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -417,7 +417,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -431,7 +431,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -444,7 +444,7 @@ module Aws::IoTEvents
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotevents.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -458,7 +458,7 @@ module Aws::IoTEvents
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -472,7 +472,7 @@ module Aws::IoTEvents
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -486,7 +486,7 @@ module Aws::IoTEvents
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -499,7 +499,7 @@ module Aws::IoTEvents
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -512,7 +512,7 @@ module Aws::IoTEvents
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ioteventsdata/CHANGELOG.md b/gems/aws-sdk-ioteventsdata/CHANGELOG.md
index fb87a04c1a4..2c16e89f817 100644
--- a/gems/aws-sdk-ioteventsdata/CHANGELOG.md
+++ b/gems/aws-sdk-ioteventsdata/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.49.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.48.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ioteventsdata/VERSION b/gems/aws-sdk-ioteventsdata/VERSION
index 9db5ea12f52..7f3a46a841e 100644
--- a/gems/aws-sdk-ioteventsdata/VERSION
+++ b/gems/aws-sdk-ioteventsdata/VERSION
@@ -1 +1 @@
-1.48.0
+1.49.0
diff --git a/gems/aws-sdk-ioteventsdata/aws-sdk-ioteventsdata.gemspec b/gems/aws-sdk-ioteventsdata/aws-sdk-ioteventsdata.gemspec
index bdecbb571fd..1c5e2344cb8 100644
--- a/gems/aws-sdk-ioteventsdata/aws-sdk-ioteventsdata.gemspec
+++ b/gems/aws-sdk-ioteventsdata/aws-sdk-ioteventsdata.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ioteventsdata/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata.rb b/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata.rb
index 95081ecf559..3323d7d4e74 100644
--- a/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata.rb
+++ b/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoTEventsData
- GEM_VERSION = '1.48.0'
+ GEM_VERSION = '1.49.0'
end
diff --git a/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/client.rb b/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/client.rb
index 55b579e9541..8caa982699e 100644
--- a/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/client.rb
+++ b/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/client.rb
@@ -977,7 +977,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ioteventsdata'
- context[:gem_version] = '1.48.0'
+ context[:gem_version] = '1.49.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/endpoints.rb b/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/endpoints.rb
index 90f104210d0..ca0a696d61e 100644
--- a/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/endpoints.rb
+++ b/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/endpoints.rb
@@ -14,168 +14,132 @@ module Endpoints
class BatchAcknowledgeAlarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisableAlarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchEnableAlarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchPutMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchResetAlarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchSnoozeAlarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAlarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAlarms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDetectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTEventsData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/plugins/endpoints.rb b/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/plugins/endpoints.rb
index 8c95085a884..7ee5b025477 100644
--- a/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/plugins/endpoints.rb
+++ b/gems/aws-sdk-ioteventsdata/lib/aws-sdk-ioteventsdata/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ioteventsdata/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ioteventsdata/spec/endpoint_provider_spec.rb
index dee244751b1..699c98ebdd7 100644
--- a/gems/aws-sdk-ioteventsdata/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ioteventsdata/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTEventsData
describe EndpointProvider do
subject { Aws::IoTEventsData::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTEventsData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTEventsData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTEventsData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTEventsData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::IoTEventsData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.iotevents.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::IoTEventsData
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::IoTEventsData
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::IoTEventsData
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::IoTEventsData
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::IoTEventsData
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iotfleethub/CHANGELOG.md b/gems/aws-sdk-iotfleethub/CHANGELOG.md
index a7e1585878b..0de7dccd771 100644
--- a/gems/aws-sdk-iotfleethub/CHANGELOG.md
+++ b/gems/aws-sdk-iotfleethub/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.34.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.33.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iotfleethub/VERSION b/gems/aws-sdk-iotfleethub/VERSION
index 7aa332e4163..2b17ffd5042 100644
--- a/gems/aws-sdk-iotfleethub/VERSION
+++ b/gems/aws-sdk-iotfleethub/VERSION
@@ -1 +1 @@
-1.33.0
+1.34.0
diff --git a/gems/aws-sdk-iotfleethub/aws-sdk-iotfleethub.gemspec b/gems/aws-sdk-iotfleethub/aws-sdk-iotfleethub.gemspec
index cc01d19f9f5..5ec05d7ae14 100644
--- a/gems/aws-sdk-iotfleethub/aws-sdk-iotfleethub.gemspec
+++ b/gems/aws-sdk-iotfleethub/aws-sdk-iotfleethub.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotfleethub/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub.rb b/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub.rb
index d5d47424b94..4e48ea3d164 100644
--- a/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub.rb
+++ b/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoTFleetHub
- GEM_VERSION = '1.33.0'
+ GEM_VERSION = '1.34.0'
end
diff --git a/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb b/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb
index 96f548ccbda..be29a9a6e44 100644
--- a/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb
+++ b/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/client.rb
@@ -764,7 +764,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iotfleethub'
- context[:gem_version] = '1.33.0'
+ context[:gem_version] = '1.34.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/endpoints.rb b/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/endpoints.rb
index 7ca5b412895..e2cb1aa93f9 100644
--- a/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/endpoints.rb
+++ b/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/endpoints.rb
@@ -14,112 +14,88 @@ module Endpoints
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/plugins/endpoints.rb b/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/plugins/endpoints.rb
index 37392f653a1..e19f8f04cfb 100644
--- a/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/plugins/endpoints.rb
+++ b/gems/aws-sdk-iotfleethub/lib/aws-sdk-iotfleethub/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iotfleethub/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iotfleethub/spec/endpoint_provider_spec.rb
index f982009a423..93ad8465d90 100644
--- a/gems/aws-sdk-iotfleethub/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iotfleethub/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTFleetHub
describe EndpointProvider do
subject { Aws::IoTFleetHub::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot-fips.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot-fips.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.us-east-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot-fips.us-east-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot-fips.us-west-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot-fips.us-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::IoTFleetHub
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.fleethub.iot.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::IoTFleetHub
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::IoTFleetHub
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::IoTFleetHub
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::IoTFleetHub
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::IoTFleetHub
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iotfleetwise/CHANGELOG.md b/gems/aws-sdk-iotfleetwise/CHANGELOG.md
index 642dc186683..2a70c2f94a4 100644
--- a/gems/aws-sdk-iotfleetwise/CHANGELOG.md
+++ b/gems/aws-sdk-iotfleetwise/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.31.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.30.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iotfleetwise/VERSION b/gems/aws-sdk-iotfleetwise/VERSION
index 034552a83ee..34aae156b19 100644
--- a/gems/aws-sdk-iotfleetwise/VERSION
+++ b/gems/aws-sdk-iotfleetwise/VERSION
@@ -1 +1 @@
-1.30.0
+1.31.0
diff --git a/gems/aws-sdk-iotfleetwise/aws-sdk-iotfleetwise.gemspec b/gems/aws-sdk-iotfleetwise/aws-sdk-iotfleetwise.gemspec
index e1b5416ff93..d600e7638ed 100644
--- a/gems/aws-sdk-iotfleetwise/aws-sdk-iotfleetwise.gemspec
+++ b/gems/aws-sdk-iotfleetwise/aws-sdk-iotfleetwise.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotfleetwise/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise.rb b/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise.rb
index 6379f8a3626..6bece3a9ea7 100644
--- a/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise.rb
+++ b/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::IoTFleetWise
- GEM_VERSION = '1.30.0'
+ GEM_VERSION = '1.31.0'
end
diff --git a/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/client.rb b/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/client.rb
index 85eb77896e8..7f1007376bf 100644
--- a/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/client.rb
+++ b/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/client.rb
@@ -3612,7 +3612,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iotfleetwise'
- context[:gem_version] = '1.30.0'
+ context[:gem_version] = '1.31.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/endpoints.rb b/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/endpoints.rb
index 8db5713ab2f..6097b531399 100644
--- a/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/endpoints.rb
+++ b/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/endpoints.rb
@@ -14,728 +14,572 @@ module Endpoints
class AssociateVehicleFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchCreateVehicle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateVehicle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDecoderManifest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelManifest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSignalCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVehicle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDecoderManifest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModelManifest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSignalCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVehicle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateVehicleFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDecoderManifest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEncryptionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModelManifest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegisterAccountStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSignalCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVehicle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVehicleStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportDecoderManifest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportSignalCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCampaigns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDecoderManifestNetworkInterfaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDecoderManifestSignals
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDecoderManifests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFleetsForVehicle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelManifestNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelManifests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSignalCatalogNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSignalCatalogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVehicles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVehiclesInFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEncryptionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDecoderManifest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateModelManifest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSignalCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVehicle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTFleetWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/plugins/endpoints.rb b/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/plugins/endpoints.rb
index ba048306cbe..e945ad662ce 100644
--- a/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/plugins/endpoints.rb
+++ b/gems/aws-sdk-iotfleetwise/lib/aws-sdk-iotfleetwise/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iotfleetwise/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iotfleetwise/spec/endpoint_provider_spec.rb
index 7a9e5e87192..851c9ca6146 100644
--- a/gems/aws-sdk-iotfleetwise/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iotfleetwise/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTFleetWise
describe EndpointProvider do
subject { Aws::IoTFleetWise::EndpointProvider.new }
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise.eu-central-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise-fips.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise-fips.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::IoTFleetWise
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotfleetwise.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::IoTFleetWise
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::IoTFleetWise
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::IoTFleetWise
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::IoTFleetWise
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::IoTFleetWise
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iotjobsdataplane/CHANGELOG.md b/gems/aws-sdk-iotjobsdataplane/CHANGELOG.md
index a623c4e76fd..650c1b67c19 100644
--- a/gems/aws-sdk-iotjobsdataplane/CHANGELOG.md
+++ b/gems/aws-sdk-iotjobsdataplane/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.58.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.57.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iotjobsdataplane/VERSION b/gems/aws-sdk-iotjobsdataplane/VERSION
index 373aea97570..79f82f6b8e0 100644
--- a/gems/aws-sdk-iotjobsdataplane/VERSION
+++ b/gems/aws-sdk-iotjobsdataplane/VERSION
@@ -1 +1 @@
-1.57.0
+1.58.0
diff --git a/gems/aws-sdk-iotjobsdataplane/aws-sdk-iotjobsdataplane.gemspec b/gems/aws-sdk-iotjobsdataplane/aws-sdk-iotjobsdataplane.gemspec
index ba2f64953a3..a682c72f003 100644
--- a/gems/aws-sdk-iotjobsdataplane/aws-sdk-iotjobsdataplane.gemspec
+++ b/gems/aws-sdk-iotjobsdataplane/aws-sdk-iotjobsdataplane.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotjobsdataplane/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane.rb b/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane.rb
index c557e2e6fd2..6ceecf259e8 100644
--- a/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane.rb
+++ b/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoTJobsDataPlane
- GEM_VERSION = '1.57.0'
+ GEM_VERSION = '1.58.0'
end
diff --git a/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/client.rb b/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/client.rb
index 82932e84973..8283060ede9 100644
--- a/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/client.rb
+++ b/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/client.rb
@@ -696,7 +696,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iotjobsdataplane'
- context[:gem_version] = '1.57.0'
+ context[:gem_version] = '1.58.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/endpoints.rb b/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/endpoints.rb
index 283ddbc9658..02697cb1748 100644
--- a/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/endpoints.rb
+++ b/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/endpoints.rb
@@ -14,56 +14,44 @@ module Endpoints
class DescribeJobExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTJobsDataPlane::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPendingJobExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTJobsDataPlane::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartNextPendingJobExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTJobsDataPlane::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateJobExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTJobsDataPlane::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/plugins/endpoints.rb b/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/plugins/endpoints.rb
index 33802cf97b6..11c5ecc3587 100644
--- a/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/plugins/endpoints.rb
+++ b/gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iotjobsdataplane/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iotjobsdataplane/spec/endpoint_provider_spec.rb
index 44276d2cf40..1dd5b347f17 100644
--- a/gems/aws-sdk-iotjobsdataplane/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iotjobsdataplane/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTJobsDataPlane
describe EndpointProvider do
subject { Aws::IoTJobsDataPlane::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.eu-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.eu-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.eu-west-3.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.me-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.sa-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.us-east-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.us-west-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -531,7 +531,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -545,7 +545,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -558,7 +558,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.us-iso-east-1.c2s.ic.gov"}}
end
@@ -572,7 +572,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -585,7 +585,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -599,7 +599,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -612,7 +612,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.jobs.iot.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -626,7 +626,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -667,7 +667,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -680,7 +680,7 @@ module Aws::IoTJobsDataPlane
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iotsecuretunneling/CHANGELOG.md b/gems/aws-sdk-iotsecuretunneling/CHANGELOG.md
index d7e162e7f1b..b36364a369e 100644
--- a/gems/aws-sdk-iotsecuretunneling/CHANGELOG.md
+++ b/gems/aws-sdk-iotsecuretunneling/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.43.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.42.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iotsecuretunneling/VERSION b/gems/aws-sdk-iotsecuretunneling/VERSION
index a50908ca3da..b978278f05f 100644
--- a/gems/aws-sdk-iotsecuretunneling/VERSION
+++ b/gems/aws-sdk-iotsecuretunneling/VERSION
@@ -1 +1 @@
-1.42.0
+1.43.0
diff --git a/gems/aws-sdk-iotsecuretunneling/aws-sdk-iotsecuretunneling.gemspec b/gems/aws-sdk-iotsecuretunneling/aws-sdk-iotsecuretunneling.gemspec
index d8f58e71b6a..f1e358861f7 100644
--- a/gems/aws-sdk-iotsecuretunneling/aws-sdk-iotsecuretunneling.gemspec
+++ b/gems/aws-sdk-iotsecuretunneling/aws-sdk-iotsecuretunneling.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotsecuretunneling/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling.rb b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling.rb
index 9ed22e64bac..37ed4df2f16 100644
--- a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling.rb
+++ b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoTSecureTunneling
- GEM_VERSION = '1.42.0'
+ GEM_VERSION = '1.43.0'
end
diff --git a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client.rb b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client.rb
index a84df580f15..40e027c3170 100644
--- a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client.rb
+++ b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/client.rb
@@ -801,7 +801,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iotsecuretunneling'
- context[:gem_version] = '1.42.0'
+ context[:gem_version] = '1.43.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/endpoints.rb b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/endpoints.rb
index 10dd77a02d4..7dd70dd4769 100644
--- a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/endpoints.rb
+++ b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/endpoints.rb
@@ -14,112 +14,88 @@ module Endpoints
class CloseTunnel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSecureTunneling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTunnel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSecureTunneling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSecureTunneling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTunnels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSecureTunneling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class OpenTunnel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSecureTunneling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RotateTunnelAccessToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSecureTunneling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSecureTunneling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSecureTunneling::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/plugins/endpoints.rb b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/plugins/endpoints.rb
index 21bb9016a0c..4692481b886 100644
--- a/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/plugins/endpoints.rb
+++ b/gems/aws-sdk-iotsecuretunneling/lib/aws-sdk-iotsecuretunneling/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iotsecuretunneling/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iotsecuretunneling/spec/endpoint_provider_spec.rb
index 24fe368f1ed..e09b4f571db 100644
--- a/gems/aws-sdk-iotsecuretunneling/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iotsecuretunneling/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTSecureTunneling
describe EndpointProvider do
subject { Aws::IoTSecureTunneling::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.eu-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.eu-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.eu-west-3.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.me-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.sa-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.us-east-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.us-west-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -531,7 +531,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -545,7 +545,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -558,7 +558,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.us-iso-east-1.c2s.ic.gov"}}
end
@@ -572,7 +572,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -585,7 +585,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -599,7 +599,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -612,7 +612,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.tunneling.iot.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -626,7 +626,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -667,7 +667,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -680,7 +680,7 @@ module Aws::IoTSecureTunneling
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iotsitewise/CHANGELOG.md b/gems/aws-sdk-iotsitewise/CHANGELOG.md
index b8e596d868c..f9ed4c8e651 100644
--- a/gems/aws-sdk-iotsitewise/CHANGELOG.md
+++ b/gems/aws-sdk-iotsitewise/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.72.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.71.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iotsitewise/VERSION b/gems/aws-sdk-iotsitewise/VERSION
index df484cbb1d9..0834888f558 100644
--- a/gems/aws-sdk-iotsitewise/VERSION
+++ b/gems/aws-sdk-iotsitewise/VERSION
@@ -1 +1 @@
-1.71.0
+1.72.0
diff --git a/gems/aws-sdk-iotsitewise/aws-sdk-iotsitewise.gemspec b/gems/aws-sdk-iotsitewise/aws-sdk-iotsitewise.gemspec
index f44be0accc2..cb95c3e847d 100644
--- a/gems/aws-sdk-iotsitewise/aws-sdk-iotsitewise.gemspec
+++ b/gems/aws-sdk-iotsitewise/aws-sdk-iotsitewise.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotsitewise/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise.rb b/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise.rb
index 3477d2f8c8d..5645ea25ae0 100644
--- a/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise.rb
+++ b/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::IoTSiteWise
- GEM_VERSION = '1.71.0'
+ GEM_VERSION = '1.72.0'
end
diff --git a/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/client.rb b/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/client.rb
index 37dd2e526e3..418d7acf06a 100644
--- a/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/client.rb
+++ b/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/client.rb
@@ -6776,7 +6776,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iotsitewise'
- context[:gem_version] = '1.71.0'
+ context[:gem_version] = '1.72.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/endpoints.rb b/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/endpoints.rb
index 7f7d580b4a5..f66eb2fc029 100644
--- a/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/endpoints.rb
+++ b/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/endpoints.rb
@@ -14,1176 +14,924 @@ module Endpoints
class AssociateAssets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateTimeSeriesToAssetProperty
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchAssociateProjectAssets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisassociateProjectAssets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetAssetPropertyAggregates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetAssetPropertyValue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetAssetPropertyValueHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchPutAssetPropertyValue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssetModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssetModelCompositeModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBulkImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDashboard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePortal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssetModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssetModelCompositeModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDashboard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePortal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTimeSeries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssetCompositeModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssetModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssetModelCompositeModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssetProperty
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBulkImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDashboard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDefaultEncryptionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGatewayCapabilityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePortal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStorageConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTimeSeries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateAssets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateTimeSeriesFromAssetProperty
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssetPropertyAggregates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssetPropertyValue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssetPropertyValueHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInterpolatedAssetPropertyValues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssetModelCompositeModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssetModelProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssetModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssetProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssetRelationships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociatedAssets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBulkImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCompositionRelationships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDashboards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPortals
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjectAssets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTimeSeries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDefaultEncryptionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLoggingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutStorageConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssetModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssetModelCompositeModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssetProperty
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDashboard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGatewayCapabilityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePortal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTSiteWise::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/plugins/endpoints.rb b/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/plugins/endpoints.rb
index ef181af0cd7..c83e446cdb2 100644
--- a/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/plugins/endpoints.rb
+++ b/gems/aws-sdk-iotsitewise/lib/aws-sdk-iotsitewise/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iotsitewise/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iotsitewise/spec/endpoint_provider_spec.rb
index 0da32315d89..02a203d8d64 100644
--- a/gems/aws-sdk-iotsitewise/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iotsitewise/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTSiteWise
describe EndpointProvider do
subject { Aws::IoTSiteWise::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.us-east-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.us-east-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.us-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.us-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.us-gov-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::IoTSiteWise
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotsitewise.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::IoTSiteWise
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::IoTSiteWise
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::IoTSiteWise
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::IoTSiteWise
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::IoTSiteWise
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iotthingsgraph/CHANGELOG.md b/gems/aws-sdk-iotthingsgraph/CHANGELOG.md
index b3459c2f5b3..f73c31177f4 100644
--- a/gems/aws-sdk-iotthingsgraph/CHANGELOG.md
+++ b/gems/aws-sdk-iotthingsgraph/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.46.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.45.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iotthingsgraph/VERSION b/gems/aws-sdk-iotthingsgraph/VERSION
index 50aceaa7b71..0a3db35b241 100644
--- a/gems/aws-sdk-iotthingsgraph/VERSION
+++ b/gems/aws-sdk-iotthingsgraph/VERSION
@@ -1 +1 @@
-1.45.0
+1.46.0
diff --git a/gems/aws-sdk-iotthingsgraph/aws-sdk-iotthingsgraph.gemspec b/gems/aws-sdk-iotthingsgraph/aws-sdk-iotthingsgraph.gemspec
index e6f0ada43e0..8944f1bc8e8 100644
--- a/gems/aws-sdk-iotthingsgraph/aws-sdk-iotthingsgraph.gemspec
+++ b/gems/aws-sdk-iotthingsgraph/aws-sdk-iotthingsgraph.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotthingsgraph/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph.rb b/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph.rb
index 3fa28b68d9f..761716556d2 100644
--- a/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph.rb
+++ b/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoTThingsGraph
- GEM_VERSION = '1.45.0'
+ GEM_VERSION = '1.46.0'
end
diff --git a/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/client.rb b/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/client.rb
index c878a81e6b3..d7fca86e1bc 100644
--- a/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/client.rb
+++ b/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/client.rb
@@ -2016,7 +2016,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iotthingsgraph'
- context[:gem_version] = '1.45.0'
+ context[:gem_version] = '1.46.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/endpoints.rb b/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/endpoints.rb
index 5c3a9810714..63654db3ca4 100644
--- a/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/endpoints.rb
+++ b/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/endpoints.rb
@@ -14,490 +14,385 @@ module Endpoints
class AssociateEntityToThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFlowTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSystemInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSystemTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFlowTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSystemInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSystemTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeploySystemInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeprecateFlowTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeprecateSystemTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DissociateEntityFromThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFlowTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFlowTemplateRevisions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNamespaceDeletionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSystemInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSystemTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSystemTemplateRevisions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUploadStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFlowExecutionMessages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchFlowExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchFlowTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchSystemInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchSystemTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchThings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UndeploySystemInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFlowTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSystemTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UploadEntityDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTThingsGraph::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/plugins/endpoints.rb b/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/plugins/endpoints.rb
index c3745a35215..aad0acb9166 100644
--- a/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/plugins/endpoints.rb
+++ b/gems/aws-sdk-iotthingsgraph/lib/aws-sdk-iotthingsgraph/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iotthingsgraph/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iotthingsgraph/spec/endpoint_provider_spec.rb
index aee3a2affd2..505192af41b 100644
--- a/gems/aws-sdk-iotthingsgraph/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iotthingsgraph/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTThingsGraph
describe EndpointProvider do
subject { Aws::IoTThingsGraph::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.eu-west-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.us-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph-fips.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph-fips.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.cn-north-1.amazonaws.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph-fips.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -265,7 +265,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -279,7 +279,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -292,7 +292,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.us-iso-east-1.c2s.ic.gov"}}
end
@@ -306,7 +306,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -319,7 +319,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -333,7 +333,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -346,7 +346,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iotthingsgraph.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -360,7 +360,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -401,7 +401,7 @@ module Aws::IoTThingsGraph
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -414,7 +414,7 @@ module Aws::IoTThingsGraph
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iottwinmaker/CHANGELOG.md b/gems/aws-sdk-iottwinmaker/CHANGELOG.md
index 4863faacfc6..dd20c9ca0f1 100644
--- a/gems/aws-sdk-iottwinmaker/CHANGELOG.md
+++ b/gems/aws-sdk-iottwinmaker/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.31.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.30.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iottwinmaker/VERSION b/gems/aws-sdk-iottwinmaker/VERSION
index 034552a83ee..34aae156b19 100644
--- a/gems/aws-sdk-iottwinmaker/VERSION
+++ b/gems/aws-sdk-iottwinmaker/VERSION
@@ -1 +1 @@
-1.30.0
+1.31.0
diff --git a/gems/aws-sdk-iottwinmaker/aws-sdk-iottwinmaker.gemspec b/gems/aws-sdk-iottwinmaker/aws-sdk-iottwinmaker.gemspec
index fa5c283f0bf..eb7349a266c 100644
--- a/gems/aws-sdk-iottwinmaker/aws-sdk-iottwinmaker.gemspec
+++ b/gems/aws-sdk-iottwinmaker/aws-sdk-iottwinmaker.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iottwinmaker/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker.rb b/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker.rb
index 1d3562d3192..f1b11a92b9d 100644
--- a/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker.rb
+++ b/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::IoTTwinMaker
- GEM_VERSION = '1.30.0'
+ GEM_VERSION = '1.31.0'
end
diff --git a/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/client.rb b/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/client.rb
index cb1914898b3..90e3b6a2207 100644
--- a/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/client.rb
+++ b/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/client.rb
@@ -3516,7 +3516,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iottwinmaker'
- context[:gem_version] = '1.30.0'
+ context[:gem_version] = '1.31.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/endpoints.rb b/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/endpoints.rb
index 35d2367b163..0f23df805e4 100644
--- a/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/endpoints.rb
+++ b/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/endpoints.rb
@@ -14,560 +14,440 @@ module Endpoints
class BatchPutPropertyValues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelMetadataTransferJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateComponentType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEntity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMetadataTransferJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateScene
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSyncJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteComponentType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEntity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScene
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSyncJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComponentType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEntity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetadataTransferJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPricingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPropertyValue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPropertyValueHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetScene
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSyncJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponentTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMetadataTransferJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListScenes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSyncJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSyncResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateComponentType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEntity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePricingPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateScene
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTTwinMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/plugins/endpoints.rb b/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/plugins/endpoints.rb
index 491d101ef7d..bbcfe7e80b1 100644
--- a/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/plugins/endpoints.rb
+++ b/gems/aws-sdk-iottwinmaker/lib/aws-sdk-iottwinmaker/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iottwinmaker/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iottwinmaker/spec/endpoint_provider_spec.rb
index 93285ea753c..ff3b2e7fb8f 100644
--- a/gems/aws-sdk-iottwinmaker/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iottwinmaker/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTTwinMaker
describe EndpointProvider do
subject { Aws::IoTTwinMaker::EndpointProvider.new }
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.ap-southeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.ap-southeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.eu-central-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.eu-west-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.us-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker-fips.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker-fips.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.cn-north-1.amazonaws.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker-fips.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -265,7 +265,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -279,7 +279,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -292,7 +292,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.us-iso-east-1.c2s.ic.gov"}}
end
@@ -306,7 +306,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -319,7 +319,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -333,7 +333,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -346,7 +346,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://iottwinmaker.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -360,7 +360,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -401,7 +401,7 @@ module Aws::IoTTwinMaker
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -414,7 +414,7 @@ module Aws::IoTTwinMaker
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-iotwireless/CHANGELOG.md b/gems/aws-sdk-iotwireless/CHANGELOG.md
index c37d158651d..67b80bbfc87 100644
--- a/gems/aws-sdk-iotwireless/CHANGELOG.md
+++ b/gems/aws-sdk-iotwireless/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.56.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.55.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-iotwireless/VERSION b/gems/aws-sdk-iotwireless/VERSION
index 094d6ad00ce..3ebf789f5a8 100644
--- a/gems/aws-sdk-iotwireless/VERSION
+++ b/gems/aws-sdk-iotwireless/VERSION
@@ -1 +1 @@
-1.55.0
+1.56.0
diff --git a/gems/aws-sdk-iotwireless/aws-sdk-iotwireless.gemspec b/gems/aws-sdk-iotwireless/aws-sdk-iotwireless.gemspec
index 1e33851fc47..8b40bb551f7 100644
--- a/gems/aws-sdk-iotwireless/aws-sdk-iotwireless.gemspec
+++ b/gems/aws-sdk-iotwireless/aws-sdk-iotwireless.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-iotwireless/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless.rb b/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless.rb
index edd81c7069d..defc491b5c2 100644
--- a/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless.rb
+++ b/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IoTWireless
- GEM_VERSION = '1.55.0'
+ GEM_VERSION = '1.56.0'
end
diff --git a/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/client.rb b/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/client.rb
index 3ab1ba173a9..0501b5df2b4 100644
--- a/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/client.rb
+++ b/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/client.rb
@@ -5317,7 +5317,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-iotwireless'
- context[:gem_version] = '1.55.0'
+ context[:gem_version] = '1.56.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/endpoints.rb b/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/endpoints.rb
index 69160fa6149..63d4c80fde0 100644
--- a/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/endpoints.rb
+++ b/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/endpoints.rb
@@ -14,1568 +14,1232 @@ module Endpoints
class AssociateAwsAccountWithPartnerAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateMulticastGroupWithFuotaTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateWirelessDeviceWithFuotaTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateWirelessDeviceWithMulticastGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateWirelessDeviceWithThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateWirelessGatewayWithCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateWirelessGatewayWithThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelMulticastGroupSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeviceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFuotaTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMulticastGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetworkAnalyzerConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServiceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWirelessDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWirelessGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWirelessGatewayTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWirelessGatewayTaskDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeviceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFuotaTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMulticastGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkAnalyzerConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueuedMessages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServiceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWirelessDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWirelessDeviceImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWirelessGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWirelessGatewayTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWirelessGatewayTaskDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterWirelessDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateAwsAccountFromPartnerAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMulticastGroupFromFuotaTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateWirelessDeviceFromFuotaTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateWirelessDeviceFromMulticastGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateWirelessDeviceFromThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateWirelessGatewayFromCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateWirelessGatewayFromThing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeviceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventConfigurationByResourceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFuotaTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLogLevelsByResourceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetricConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMulticastGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMulticastGroupSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkAnalyzerConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPartnerAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPosition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPositionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPositionEstimate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceEventConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceLogLevel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePosition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWirelessDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWirelessDeviceImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWirelessDeviceStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWirelessGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWirelessGatewayCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWirelessGatewayFirmwareInformation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWirelessGatewayStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWirelessGatewayTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWirelessGatewayTaskDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeviceProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevicesForWirelessDeviceImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFuotaTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMulticastGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMulticastGroupsByFuotaTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNetworkAnalyzerConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPartnerAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPositionConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueuedMessages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWirelessDeviceImportTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWirelessDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWirelessGatewayTaskDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWirelessGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPositionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourceLogLevel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetAllResourceLogLevels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetResourceLogLevel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendDataToMulticastGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendDataToWirelessDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBulkAssociateWirelessDeviceWithMulticastGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBulkDisassociateWirelessDeviceFromMulticastGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFuotaTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMulticastGroupSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSingleWirelessDeviceImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartWirelessDeviceImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestWirelessDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventConfigurationByResourceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFuotaTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLogLevelsByResourceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMetricConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMulticastGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNetworkAnalyzerConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePartnerAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePosition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResourceEventConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResourcePosition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWirelessDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWirelessDeviceImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWirelessGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IoTWireless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/plugins/endpoints.rb b/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/plugins/endpoints.rb
index 8fff11452ff..41094314122 100644
--- a/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/plugins/endpoints.rb
+++ b/gems/aws-sdk-iotwireless/lib/aws-sdk-iotwireless/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-iotwireless/spec/endpoint_provider_spec.rb b/gems/aws-sdk-iotwireless/spec/endpoint_provider_spec.rb
index 11825bf1c17..6b10713cc1c 100644
--- a/gems/aws-sdk-iotwireless/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-iotwireless/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IoTWireless
describe EndpointProvider do
subject { Aws::IoTWireless::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IoTWireless
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.ap-southeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IoTWireless
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.eu-west-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.us-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless-fips.us-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless-fips.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::IoTWireless
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::IoTWireless
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::IoTWireless
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::IoTWireless
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless-fips.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -251,7 +251,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -265,7 +265,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -278,7 +278,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.us-iso-east-1.c2s.ic.gov"}}
end
@@ -292,7 +292,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -305,7 +305,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -319,7 +319,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -332,7 +332,7 @@ module Aws::IoTWireless
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.iotwireless.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -346,7 +346,7 @@ module Aws::IoTWireless
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -360,7 +360,7 @@ module Aws::IoTWireless
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::IoTWireless
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -387,7 +387,7 @@ module Aws::IoTWireless
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -400,7 +400,7 @@ module Aws::IoTWireless
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ivs/CHANGELOG.md b/gems/aws-sdk-ivs/CHANGELOG.md
index eb9b9bd0f2e..98f5d0e5bab 100644
--- a/gems/aws-sdk-ivs/CHANGELOG.md
+++ b/gems/aws-sdk-ivs/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.58.0 (2024-09-13)
+------------------
+
+* Feature - Updates to all tags descriptions.
+
+1.57.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.56.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ivs/VERSION b/gems/aws-sdk-ivs/VERSION
index 3ebf789f5a8..79f82f6b8e0 100644
--- a/gems/aws-sdk-ivs/VERSION
+++ b/gems/aws-sdk-ivs/VERSION
@@ -1 +1 @@
-1.56.0
+1.58.0
diff --git a/gems/aws-sdk-ivs/aws-sdk-ivs.gemspec b/gems/aws-sdk-ivs/aws-sdk-ivs.gemspec
index 071b495ca02..9e6151526d7 100644
--- a/gems/aws-sdk-ivs/aws-sdk-ivs.gemspec
+++ b/gems/aws-sdk-ivs/aws-sdk-ivs.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ivs/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ivs/lib/aws-sdk-ivs.rb b/gems/aws-sdk-ivs/lib/aws-sdk-ivs.rb
index f4d6f2e631c..4ad9032c460 100644
--- a/gems/aws-sdk-ivs/lib/aws-sdk-ivs.rb
+++ b/gems/aws-sdk-ivs/lib/aws-sdk-ivs.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::IVS
- GEM_VERSION = '1.56.0'
+ GEM_VERSION = '1.58.0'
end
diff --git a/gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb b/gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb
index 3a17fb3a3d5..b8941e851d5 100644
--- a/gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb
+++ b/gems/aws-sdk-ivs/lib/aws-sdk-ivs/client.rb
@@ -599,14 +599,14 @@ def batch_start_viewer_session_revocation(params = {}, options = {})
#
# @option params [Hash] :tags
# Array of 1-50 maps, each of the form `string:string (key:value)`. See
- # [Tagging Amazon Web Services Resources][1] for more information,
- # including restrictions that apply to tags and "Tag naming limits and
- # requirements"; Amazon IVS has no service-specific constraints beyond
- # what is documented there.
+ # [Best practices and strategies][1] in *Tagging Amazon Web Services
+ # Resources and Tag Editor* for details, including restrictions that
+ # apply to tags and "Tag naming limits and requirements"; Amazon IVS
+ # has no service-specific constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
#
# @option params [Boolean] :insecure_ingest
# Whether the channel allows insecure RTMP and SRT ingest. Default:
@@ -709,14 +709,14 @@ def create_channel(params = {}, options = {})
#
# @option params [Hash] :tags
# Array of 1-50 maps, each of the form `string:string (key:value)`. See
- # [Tagging Amazon Web Services Resources][1] for more information,
- # including restrictions that apply to tags and "Tag naming limits and
- # requirements"; Amazon IVS has no service-specific constraints beyond
- # what is documented there.
+ # [Best practices and strategies][1] in *Tagging Amazon Web Services
+ # Resources and Tag Editor* for details, including restrictions that
+ # apply to tags and "Tag naming limits and requirements"; Amazon IVS
+ # has no service-specific constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
#
# @return [Types::CreatePlaybackRestrictionPolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
@@ -780,14 +780,14 @@ def create_playback_restriction_policy(params = {}, options = {})
#
# @option params [Hash] :tags
# Array of 1-50 maps, each of the form `string:string (key:value)`. See
- # [Tagging Amazon Web Services Resources][1] for more information,
- # including restrictions that apply to tags and "Tag naming limits and
- # requirements"; Amazon IVS has no service-specific constraints beyond
- # what is documented there.
+ # [Best practices and strategies][1] in *Tagging Amazon Web Services
+ # Resources and Tag Editor* for details, including restrictions that
+ # apply to tags and "Tag naming limits and requirements"; Amazon IVS
+ # has no service-specific constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
#
# @option params [Types::ThumbnailConfiguration] :thumbnail_configuration
# A complex type that allows you to enable/disable the recording of
@@ -873,14 +873,14 @@ def create_recording_configuration(params = {}, options = {})
#
# @option params [Hash] :tags
# Array of 1-50 maps, each of the form `string:string (key:value)`. See
- # [Tagging Amazon Web Services Resources][1] for more information,
- # including restrictions that apply to tags and "Tag naming limits and
- # requirements"; Amazon IVS has no service-specific constraints beyond
- # what is documented there.
+ # [Best practices and strategies][1] in *Tagging Amazon Web Services
+ # Resources and Tag Editor* for details, including restrictions that
+ # apply to tags and "Tag naming limits and requirements"; Amazon IVS
+ # has no service-specific constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
#
# @return [Types::CreateStreamKeyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
@@ -1374,14 +1374,15 @@ def get_stream_session(params = {}, options = {})
#
# @option params [Hash] :tags
# Any tags provided with the request are added to the playback key pair
- # tags. See [Tagging Amazon Web Services Resources][1] for more
- # information, including restrictions that apply to tags and "Tag
- # naming limits and requirements"; Amazon IVS has no service-specific
- # constraints beyond what is documented there.
+ # tags. See [Best practices and strategies][1] in *Tagging Amazon Web
+ # Services Resources and Tag Editor* for details, including restrictions
+ # that apply to tags and "Tag naming limits and requirements"; Amazon
+ # IVS has no service-specific constraints beyond what is documented
+ # there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
#
# @return [Types::ImportPlaybackKeyPairResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
@@ -1907,14 +1908,15 @@ def stop_stream(params = {}, options = {})
#
# @option params [required, Hash] :tags
# Array of tags to be added or updated. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that apply
- # to tags and "Tag naming limits and requirements"; Amazon IVS has no
- # service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1] in
+ # *Tagging Amazon Web Services Resources and Tag Editor* for details,
+ # including restrictions that apply to tags and "Tag naming limits and
+ # requirements"; Amazon IVS has no service-specific constraints beyond
+ # what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
@@ -1944,14 +1946,15 @@ def tag_resource(params = {}, options = {})
#
# @option params [required, Array] :tag_keys
# Array of tags to be removed. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that apply
- # to tags and "Tag naming limits and requirements"; Amazon IVS has no
- # service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1] in
+ # *Tagging Amazon Web Services Resources and Tag Editor* for details,
+ # including restrictions that apply to tags and "Tag naming limits and
+ # requirements"; Amazon IVS has no service-specific constraints beyond
+ # what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
@@ -2149,7 +2152,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ivs'
- context[:gem_version] = '1.56.0'
+ context[:gem_version] = '1.58.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ivs/lib/aws-sdk-ivs/endpoints.rb b/gems/aws-sdk-ivs/lib/aws-sdk-ivs/endpoints.rb
index 9fbf1994a3b..5c8372167b6 100644
--- a/gems/aws-sdk-ivs/lib/aws-sdk-ivs/endpoints.rb
+++ b/gems/aws-sdk-ivs/lib/aws-sdk-ivs/endpoints.rb
@@ -14,490 +14,385 @@ module Endpoints
class BatchGetChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetStreamKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchStartViewerSessionRevocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePlaybackRestrictionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRecordingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStreamKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePlaybackKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePlaybackRestrictionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRecordingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStreamKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPlaybackKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPlaybackRestrictionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecordingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStreamKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStreamSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportPlaybackKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPlaybackKeyPairs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPlaybackRestrictionPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecordingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStreamKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStreamSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartViewerSessionRevocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePlaybackRestrictionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ivs/lib/aws-sdk-ivs/plugins/endpoints.rb b/gems/aws-sdk-ivs/lib/aws-sdk-ivs/plugins/endpoints.rb
index d1285278ddc..c30966c98c2 100644
--- a/gems/aws-sdk-ivs/lib/aws-sdk-ivs/plugins/endpoints.rb
+++ b/gems/aws-sdk-ivs/lib/aws-sdk-ivs/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb b/gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb
index e0023c0cce1..0f60b2798c4 100644
--- a/gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb
+++ b/gems/aws-sdk-ivs/lib/aws-sdk-ivs/types.rb
@@ -267,14 +267,15 @@ class BatchStartViewerSessionRevocationViewerSession < Struct.new(
#
# @!attribute [rw] tags
# Tags attached to the resource. Array of 1-50 maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
+ # details, including restrictions that apply to tags and "Tag naming
+ # limits and requirements"; Amazon IVS has no service-specific
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @!attribute [rw] insecure_ingest
@@ -361,14 +362,15 @@ class ChannelNotBroadcasting < Struct.new(
#
# @!attribute [rw] tags
# Tags attached to the resource. Array of 1-50 maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
+ # details, including restrictions that apply to tags and "Tag naming
+ # limits and requirements"; Amazon IVS has no service-specific
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @!attribute [rw] insecure_ingest
@@ -463,14 +465,15 @@ class ConflictException < Struct.new(
#
# @!attribute [rw] tags
# Array of 1-50 maps, each of the form `string:string (key:value)`.
- # See [Tagging Amazon Web Services Resources][1] for more information,
- # including restrictions that apply to tags and "Tag naming limits
- # and requirements"; Amazon IVS has no service-specific constraints
+ # See [Best practices and strategies][1] in *Tagging Amazon Web
+ # Services Resources and Tag Editor* for details, including
+ # restrictions that apply to tags and "Tag naming limits and
+ # requirements"; Amazon IVS has no service-specific constraints
# beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @!attribute [rw] insecure_ingest
@@ -556,14 +559,15 @@ class CreateChannelResponse < Struct.new(
#
# @!attribute [rw] tags
# Array of 1-50 maps, each of the form `string:string (key:value)`.
- # See [Tagging Amazon Web Services Resources][1] for more information,
- # including restrictions that apply to tags and "Tag naming limits
- # and requirements"; Amazon IVS has no service-specific constraints
+ # See [Best practices and strategies][1] in *Tagging Amazon Web
+ # Services Resources and Tag Editor* for details, including
+ # restrictions that apply to tags and "Tag naming limits and
+ # requirements"; Amazon IVS has no service-specific constraints
# beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreatePlaybackRestrictionPolicyRequest AWS API Documentation
@@ -600,14 +604,15 @@ class CreatePlaybackRestrictionPolicyResponse < Struct.new(
#
# @!attribute [rw] tags
# Array of 1-50 maps, each of the form `string:string (key:value)`.
- # See [Tagging Amazon Web Services Resources][1] for more information,
- # including restrictions that apply to tags and "Tag naming limits
- # and requirements"; Amazon IVS has no service-specific constraints
+ # See [Best practices and strategies][1] in *Tagging Amazon Web
+ # Services Resources and Tag Editor* for details, including
+ # restrictions that apply to tags and "Tag naming limits and
+ # requirements"; Amazon IVS has no service-specific constraints
# beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @!attribute [rw] thumbnail_configuration
@@ -660,14 +665,15 @@ class CreateRecordingConfigurationResponse < Struct.new(
#
# @!attribute [rw] tags
# Array of 1-50 maps, each of the form `string:string (key:value)`.
- # See [Tagging Amazon Web Services Resources][1] for more information,
- # including restrictions that apply to tags and "Tag naming limits
- # and requirements"; Amazon IVS has no service-specific constraints
+ # See [Best practices and strategies][1] in *Tagging Amazon Web
+ # Services Resources and Tag Editor* for details, including
+ # restrictions that apply to tags and "Tag naming limits and
+ # requirements"; Amazon IVS has no service-specific constraints
# beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/CreateStreamKeyRequest AWS API Documentation
@@ -961,14 +967,15 @@ class GetStreamSessionResponse < Struct.new(
#
# @!attribute [rw] tags
# Any tags provided with the request are added to the playback key
- # pair tags. See [Tagging Amazon Web Services Resources][1] for more
- # information, including restrictions that apply to tags and "Tag
- # naming limits and requirements"; Amazon IVS has no service-specific
- # constraints beyond what is documented there.
+ # pair tags. See [Best practices and strategies][1] in *Tagging Amazon
+ # Web Services Resources and Tag Editor* for details, including
+ # restrictions that apply to tags and "Tag naming limits and
+ # requirements"; Amazon IVS has no service-specific constraints
+ # beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/ImportPlaybackKeyPairRequest AWS API Documentation
@@ -1363,14 +1370,15 @@ class PendingVerification < Struct.new(
#
# @!attribute [rw] tags
# Tags attached to the resource. Array of 1-50 maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
+ # details, including restrictions that apply to tags and "Tag naming
+ # limits and requirements"; Amazon IVS has no service-specific
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PlaybackKeyPair AWS API Documentation
@@ -1396,14 +1404,15 @@ class PlaybackKeyPair < Struct.new(
#
# @!attribute [rw] tags
# Tags attached to the resource. Array of 1-50 maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
+ # details, including restrictions that apply to tags and "Tag naming
+ # limits and requirements"; Amazon IVS has no service-specific
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PlaybackKeyPairSummary AWS API Documentation
@@ -1456,14 +1465,15 @@ class PlaybackKeyPairSummary < Struct.new(
#
# @!attribute [rw] tags
# Tags attached to the resource. Array of 1-50 maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
+ # details, including restrictions that apply to tags and "Tag naming
+ # limits and requirements"; Amazon IVS has no service-specific
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PlaybackRestrictionPolicy AWS API Documentation
@@ -1518,14 +1528,15 @@ class PlaybackRestrictionPolicy < Struct.new(
#
# @!attribute [rw] tags
# Tags attached to the resource. Array of 1-50 maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
+ # details, including restrictions that apply to tags and "Tag naming
+ # limits and requirements"; Amazon IVS has no service-specific
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/PlaybackRestrictionPolicySummary AWS API Documentation
@@ -1582,14 +1593,15 @@ class PutMetadataRequest < Struct.new(
#
# @!attribute [rw] tags
# Tags attached to the resource. Array of 1-50 maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
+ # details, including restrictions that apply to tags and "Tag naming
+ # limits and requirements"; Amazon IVS has no service-specific
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @!attribute [rw] thumbnail_configuration
@@ -1647,14 +1659,15 @@ class RecordingConfiguration < Struct.new(
#
# @!attribute [rw] tags
# Tags attached to the resource. Array of 1-50 maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
+ # details, including restrictions that apply to tags and "Tag naming
+ # limits and requirements"; Amazon IVS has no service-specific
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/RecordingConfigurationSummary AWS API Documentation
@@ -1922,14 +1935,15 @@ class StreamFilters < Struct.new(
#
# @!attribute [rw] tags
# Tags attached to the resource. Array of 1-50 maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
+ # details, including restrictions that apply to tags and "Tag naming
+ # limits and requirements"; Amazon IVS has no service-specific
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StreamKey AWS API Documentation
@@ -1955,14 +1969,15 @@ class StreamKey < Struct.new(
#
# @!attribute [rw] tags
# Tags attached to the resource. Array of 1-50 maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
+ # details, including restrictions that apply to tags and "Tag naming
+ # limits and requirements"; Amazon IVS has no service-specific
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/StreamKeySummary AWS API Documentation
@@ -2131,14 +2146,15 @@ class StreamUnavailable < Struct.new(
#
# @!attribute [rw] tags
# Array of tags to be added or updated. Array of maps, each of the
- # form `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # form `string:string (key:value)`. See [Best practices and
+ # strategies][1] in *Tagging Amazon Web Services Resources and Tag
+ # Editor* for details, including restrictions that apply to tags and
+ # "Tag naming limits and requirements"; Amazon IVS has no
+ # service-specific constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/TagResourceRequest AWS API Documentation
@@ -2233,14 +2249,15 @@ class ThumbnailConfiguration < Struct.new(
#
# @!attribute [rw] tag_keys
# Array of tags to be removed. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging Amazon Web Services
- # Resources][1] for more information, including restrictions that
- # apply to tags and "Tag naming limits and requirements"; Amazon IVS
- # has no service-specific constraints beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
+ # details, including restrictions that apply to tags and "Tag naming
+ # limits and requirements"; Amazon IVS has no service-specific
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Array]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivs-2020-07-14/UntagResourceRequest AWS API Documentation
diff --git a/gems/aws-sdk-ivs/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ivs/spec/endpoint_provider_spec.rb
index eef8ed2a44c..f1da7b42584 100644
--- a/gems/aws-sdk-ivs/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ivs/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IVS
describe EndpointProvider do
subject { Aws::IVS::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::IVS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IVS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::IVS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IVS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.eu-west-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::IVS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::IVS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::IVS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs-fips.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::IVS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::IVS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::IVS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::IVS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::IVS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::IVS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::IVS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs-fips.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::IVS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::IVS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::IVS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::IVS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::IVS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::IVS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::IVS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::IVS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::IVS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::IVS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::IVS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivs.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::IVS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::IVS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::IVS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::IVS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::IVS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ivschat/CHANGELOG.md b/gems/aws-sdk-ivschat/CHANGELOG.md
index 19a39a71069..434333e78c1 100644
--- a/gems/aws-sdk-ivschat/CHANGELOG.md
+++ b/gems/aws-sdk-ivschat/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.33.0 (2024-09-13)
+------------------
+
+* Feature - Updates to all tags descriptions.
+
+1.32.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.31.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ivschat/VERSION b/gems/aws-sdk-ivschat/VERSION
index 34aae156b19..7aa332e4163 100644
--- a/gems/aws-sdk-ivschat/VERSION
+++ b/gems/aws-sdk-ivschat/VERSION
@@ -1 +1 @@
-1.31.0
+1.33.0
diff --git a/gems/aws-sdk-ivschat/aws-sdk-ivschat.gemspec b/gems/aws-sdk-ivschat/aws-sdk-ivschat.gemspec
index d1f0394ebad..c88d330ee9e 100644
--- a/gems/aws-sdk-ivschat/aws-sdk-ivschat.gemspec
+++ b/gems/aws-sdk-ivschat/aws-sdk-ivschat.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ivschat/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat.rb b/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat.rb
index a1d7e735099..5caac3512fe 100644
--- a/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat.rb
+++ b/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Ivschat
- GEM_VERSION = '1.31.0'
+ GEM_VERSION = '1.33.0'
end
diff --git a/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/client.rb b/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/client.rb
index 91c0292889b..1b514e45bd3 100644
--- a/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/client.rb
+++ b/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/client.rb
@@ -530,14 +530,15 @@ def create_chat_token(params = {}, options = {})
#
# @option params [Hash] :tags
# Tags to attach to the resource. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging AWS Resources][1] for
- # details, including restrictions that apply to tags and "Tag naming
- # limits and requirements"; Amazon IVS Chat has no constraints on tags
- # beyond what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1] in
+ # *Tagging Amazon Web Services Resources and Tag Editor* for details,
+ # including restrictions that apply to tags and "Tag naming limits and
+ # requirements"; Amazon IVS Chat has no constraints on tags beyond what
+ # is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
#
# @return [Types::CreateLoggingConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
@@ -612,14 +613,15 @@ def create_logging_configuration(params = {}, options = {})
#
# @option params [Hash] :tags
# Tags to attach to the resource. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging AWS Resources][1] for
- # details, including restrictions that apply to tags and "Tag naming
- # limits and requirements"; Amazon IVS Chat has no constraints beyond
- # what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1] in
+ # *Tagging Amazon Web Services Resources and Tag Editor* for details,
+ # including restrictions that apply to tags and "Tag naming limits and
+ # requirements"; Amazon IVS Chat has no constraints beyond what is
+ # documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
#
# @option params [Array] :logging_configuration_identifiers
# Array of logging-configuration identifiers attached to the room.
@@ -1094,14 +1096,15 @@ def send_event(params = {}, options = {})
#
# @option params [required, Hash] :tags
# Array of tags to be added or updated. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging AWS Resources][1] for
- # details, including restrictions that apply to tags and "Tag naming
- # limits and requirements"; Amazon IVS Chat has no constraints beyond
- # what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1] in
+ # *Tagging Amazon Web Services Resources and Tag Editor* for details,
+ # including restrictions that apply to tags and "Tag naming limits and
+ # requirements"; Amazon IVS Chat has no constraints beyond what is
+ # documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
@@ -1130,14 +1133,15 @@ def tag_resource(params = {}, options = {})
#
# @option params [required, Array] :tag_keys
# Array of tags to be removed. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging AWS Resources][1] for
- # details, including restrictions that apply to tags and "Tag naming
- # limits and requirements"; Amazon IVS Chat has no constraints beyond
- # what is documented there.
+ # `string:string (key:value)`. See [Best practices and strategies][1] in
+ # *Tagging Amazon Web Services Resources and Tag Editor* for details,
+ # including restrictions that apply to tags and "Tag naming limits and
+ # requirements"; Amazon IVS Chat has no constraints beyond what is
+ # documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
@@ -1318,7 +1322,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ivschat'
- context[:gem_version] = '1.31.0'
+ context[:gem_version] = '1.33.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/endpoints.rb b/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/endpoints.rb
index 8c5d7aa92e3..4b603821fc0 100644
--- a/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/endpoints.rb
+++ b/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/endpoints.rb
@@ -14,238 +14,187 @@ module Endpoints
class CreateChatToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRoom
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoom
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisconnectUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRoom
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLoggingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRooms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoom
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Ivschat::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/plugins/endpoints.rb b/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/plugins/endpoints.rb
index 2674b93fea4..d84ce679252 100644
--- a/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/plugins/endpoints.rb
+++ b/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/types.rb b/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/types.rb
index d53b89eb75a..79efcc72ee1 100644
--- a/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/types.rb
+++ b/gems/aws-sdk-ivschat/lib/aws-sdk-ivschat/types.rb
@@ -132,14 +132,15 @@ class CreateChatTokenResponse < Struct.new(
#
# @!attribute [rw] tags
# Tags to attach to the resource. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging AWS Resources][1] for
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
# details, including restrictions that apply to tags and "Tag naming
# limits and requirements"; Amazon IVS Chat has no constraints on
# tags beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/CreateLoggingConfigurationRequest AWS API Documentation
@@ -229,14 +230,15 @@ class CreateLoggingConfigurationResponse < Struct.new(
#
# @!attribute [rw] tags
# Tags to attach to the resource. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging AWS Resources][1] for
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
# details, including restrictions that apply to tags and "Tag naming
# limits and requirements"; Amazon IVS Chat has no constraints beyond
# what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @!attribute [rw] logging_configuration_identifiers
@@ -777,14 +779,15 @@ class ListTagsForResourceResponse < Struct.new(
#
# @!attribute [rw] tags
# Tags to attach to the resource. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging AWS Resources][1] for
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
# details, including restrictions that apply to tags and "Tag naming
# limits and requirements"; Amazon IVS Chat has no constraints on
# tags beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/LoggingConfigurationSummary AWS API Documentation
@@ -892,14 +895,15 @@ class ResourceNotFoundException < Struct.new(
#
# @!attribute [rw] tags
# Tags attached to the resource. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging AWS Resources][1] for
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
# details, including restrictions that apply to tags and "Tag naming
# limits and requirements"; Amazon IVS Chat has no constraints beyond
# what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @!attribute [rw] logging_configuration_identifiers
@@ -1002,14 +1006,15 @@ class ServiceQuotaExceededException < Struct.new(
#
# @!attribute [rw] tags
# Array of tags to be added or updated. Array of maps, each of the
- # form `string:string (key:value)`. See [Tagging AWS Resources][1] for
- # details, including restrictions that apply to tags and "Tag naming
- # limits and requirements"; Amazon IVS Chat has no constraints beyond
- # what is documented there.
+ # form `string:string (key:value)`. See [Best practices and
+ # strategies][1] in *Tagging Amazon Web Services Resources and Tag
+ # Editor* for details, including restrictions that apply to tags and
+ # "Tag naming limits and requirements"; Amazon IVS Chat has no
+ # constraints beyond what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/TagResourceRequest AWS API Documentation
@@ -1054,14 +1059,15 @@ class ThrottlingException < Struct.new(
#
# @!attribute [rw] tag_keys
# Array of tags to be removed. Array of maps, each of the form
- # `string:string (key:value)`. See [Tagging AWS Resources][1] for
+ # `string:string (key:value)`. See [Best practices and strategies][1]
+ # in *Tagging Amazon Web Services Resources and Tag Editor* for
# details, including restrictions that apply to tags and "Tag naming
# limits and requirements"; Amazon IVS Chat has no constraints beyond
# what is documented there.
#
#
#
- # [1]: https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html
+ # [1]: https://docs.aws.amazon.com/tag-editor/latest/userguide/best-practices-and-strats.html
# @return [Array]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ivschat-2020-07-14/UntagResourceRequest AWS API Documentation
diff --git a/gems/aws-sdk-ivschat/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ivschat/spec/endpoint_provider_spec.rb
index e779034d5cf..9d255f4ce55 100644
--- a/gems/aws-sdk-ivschat/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ivschat/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Ivschat
describe EndpointProvider do
subject { Aws::Ivschat::EndpointProvider.new }
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat.eu-west-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Ivschat
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Ivschat
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat.us-west-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Ivschat
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat-fips.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::Ivschat
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat-fips.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Ivschat
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat.us-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::Ivschat
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Ivschat
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Ivschat
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Ivschat
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::Ivschat
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Ivschat
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Ivschat
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::Ivschat
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Ivschat
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::Ivschat
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::Ivschat
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::Ivschat
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::Ivschat
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::Ivschat
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::Ivschat
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::Ivschat
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivschat.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::Ivschat
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::Ivschat
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::Ivschat
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::Ivschat
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::Ivschat
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ivsrealtime/CHANGELOG.md b/gems/aws-sdk-ivsrealtime/CHANGELOG.md
index bac3805af85..643dfc76c14 100644
--- a/gems/aws-sdk-ivsrealtime/CHANGELOG.md
+++ b/gems/aws-sdk-ivsrealtime/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.29.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.28.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ivsrealtime/VERSION b/gems/aws-sdk-ivsrealtime/VERSION
index cfc730712d5..5e57fb89558 100644
--- a/gems/aws-sdk-ivsrealtime/VERSION
+++ b/gems/aws-sdk-ivsrealtime/VERSION
@@ -1 +1 @@
-1.28.0
+1.29.0
diff --git a/gems/aws-sdk-ivsrealtime/aws-sdk-ivsrealtime.gemspec b/gems/aws-sdk-ivsrealtime/aws-sdk-ivsrealtime.gemspec
index e9a4b8bd31c..50f8aaa99e3 100644
--- a/gems/aws-sdk-ivsrealtime/aws-sdk-ivsrealtime.gemspec
+++ b/gems/aws-sdk-ivsrealtime/aws-sdk-ivsrealtime.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ivsrealtime/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime.rb b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime.rb
index 691955737c0..a78245e328e 100644
--- a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime.rb
+++ b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::IVSRealTime
- GEM_VERSION = '1.28.0'
+ GEM_VERSION = '1.29.0'
end
diff --git a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client.rb b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client.rb
index d683028f373..9029db0defe 100644
--- a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client.rb
+++ b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/client.rb
@@ -2201,7 +2201,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ivsrealtime'
- context[:gem_version] = '1.28.0'
+ context[:gem_version] = '1.29.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/endpoints.rb b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/endpoints.rb
index bea5ffd9bae..afbe837429c 100644
--- a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/endpoints.rb
+++ b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/endpoints.rb
@@ -14,504 +14,396 @@ module Endpoints
class CreateEncoderConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIngestConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateParticipantToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStorageConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEncoderConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIngestConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStorageConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisconnectParticipant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComposition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEncoderConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIngestConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetParticipant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStageSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStorageConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCompositions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEncoderConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIngestConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListParticipantEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListParticipants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPublicKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStageSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStorageConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartComposition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopComposition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIngestConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::IVSRealTime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/plugins/endpoints.rb b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/plugins/endpoints.rb
index ebd109abc05..3d0e087bb83 100644
--- a/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/plugins/endpoints.rb
+++ b/gems/aws-sdk-ivsrealtime/lib/aws-sdk-ivsrealtime/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ivsrealtime/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ivsrealtime/spec/endpoint_provider_spec.rb
index 32ad3bb6cb5..f533a80651c 100644
--- a/gems/aws-sdk-ivsrealtime/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ivsrealtime/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::IVSRealTime
describe EndpointProvider do
subject { Aws::IVSRealTime::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::IVSRealTime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::IVSRealTime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::IVSRealTime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::IVSRealTime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::IVSRealTime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ivsrealtime.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::IVSRealTime
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::IVSRealTime
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::IVSRealTime
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::IVSRealTime
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::IVSRealTime
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kafka/CHANGELOG.md b/gems/aws-sdk-kafka/CHANGELOG.md
index 0a268326ab0..9334bd4b69b 100644
--- a/gems/aws-sdk-kafka/CHANGELOG.md
+++ b/gems/aws-sdk-kafka/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.81.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.80.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kafka/VERSION b/gems/aws-sdk-kafka/VERSION
index aaceec04e04..dbd41264aa9 100644
--- a/gems/aws-sdk-kafka/VERSION
+++ b/gems/aws-sdk-kafka/VERSION
@@ -1 +1 @@
-1.80.0
+1.81.0
diff --git a/gems/aws-sdk-kafka/aws-sdk-kafka.gemspec b/gems/aws-sdk-kafka/aws-sdk-kafka.gemspec
index 9f5a5906924..e157ccabad4 100644
--- a/gems/aws-sdk-kafka/aws-sdk-kafka.gemspec
+++ b/gems/aws-sdk-kafka/aws-sdk-kafka.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kafka/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kafka/lib/aws-sdk-kafka.rb b/gems/aws-sdk-kafka/lib/aws-sdk-kafka.rb
index 9af2a045674..900a9771435 100644
--- a/gems/aws-sdk-kafka/lib/aws-sdk-kafka.rb
+++ b/gems/aws-sdk-kafka/lib/aws-sdk-kafka.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Kafka
- GEM_VERSION = '1.80.0'
+ GEM_VERSION = '1.81.0'
end
diff --git a/gems/aws-sdk-kafka/lib/aws-sdk-kafka/client.rb b/gems/aws-sdk-kafka/lib/aws-sdk-kafka/client.rb
index 5ad50ef9710..fa9b6302b94 100644
--- a/gems/aws-sdk-kafka/lib/aws-sdk-kafka/client.rb
+++ b/gems/aws-sdk-kafka/lib/aws-sdk-kafka/client.rb
@@ -3396,7 +3396,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kafka'
- context[:gem_version] = '1.80.0'
+ context[:gem_version] = '1.81.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kafka/lib/aws-sdk-kafka/endpoints.rb b/gems/aws-sdk-kafka/lib/aws-sdk-kafka/endpoints.rb
index a701027f2c1..03fc5be968b 100644
--- a/gems/aws-sdk-kafka/lib/aws-sdk-kafka/endpoints.rb
+++ b/gems/aws-sdk-kafka/lib/aws-sdk-kafka/endpoints.rb
@@ -14,728 +14,572 @@ module Endpoints
class BatchAssociateScramSecret
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateClusterV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplicator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterOperationV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurationRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisassociateScramSecret
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBootstrapBrokers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCompatibleKafkaVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusterOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusterOperationsV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClustersV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurationRevisions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKafkaVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReplicators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListScramSecrets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClientVpcConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVpcConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectClientVpcConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteClusterPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetClusterPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutClusterPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootBroker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBrokerCount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBrokerType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBrokerStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateClusterConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateClusterKafkaVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnectivity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMonitoring
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReplicationInfo
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSecurity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kafka::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kafka/lib/aws-sdk-kafka/plugins/endpoints.rb b/gems/aws-sdk-kafka/lib/aws-sdk-kafka/plugins/endpoints.rb
index f8ab265a276..8d9d759fd74 100644
--- a/gems/aws-sdk-kafka/lib/aws-sdk-kafka/plugins/endpoints.rb
+++ b/gems/aws-sdk-kafka/lib/aws-sdk-kafka/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kafka/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kafka/spec/endpoint_provider_spec.rb
index 4ed1a3dc403..7fb3e36ab25 100644
--- a/gems/aws-sdk-kafka/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kafka/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Kafka
describe EndpointProvider do
subject { Aws::Kafka::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Kafka
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Kafka
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Kafka
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Kafka
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Kafka
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Kafka
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Kafka
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Kafka
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Kafka
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Kafka
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Kafka
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Kafka
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Kafka
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Kafka
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Kafka
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Kafka
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Kafka
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Kafka
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Kafka
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Kafka
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Kafka
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::Kafka
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Kafka
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::Kafka
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::Kafka
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::Kafka
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::Kafka
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::Kafka
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Kafka
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::Kafka
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::Kafka
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-gov-west-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::Kafka
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::Kafka
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka-fips.us-gov-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::Kafka
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::Kafka
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -517,7 +517,7 @@ module Aws::Kafka
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -531,7 +531,7 @@ module Aws::Kafka
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -544,7 +544,7 @@ module Aws::Kafka
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-iso-east-1.c2s.ic.gov"}}
end
@@ -558,7 +558,7 @@ module Aws::Kafka
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -571,7 +571,7 @@ module Aws::Kafka
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -585,7 +585,7 @@ module Aws::Kafka
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -598,7 +598,7 @@ module Aws::Kafka
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafka.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -612,7 +612,7 @@ module Aws::Kafka
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::Kafka
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::Kafka
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -653,7 +653,7 @@ module Aws::Kafka
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -666,7 +666,7 @@ module Aws::Kafka
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kafkaconnect/CHANGELOG.md b/gems/aws-sdk-kafkaconnect/CHANGELOG.md
index ce3cb733b9d..e9e055b4a6c 100644
--- a/gems/aws-sdk-kafkaconnect/CHANGELOG.md
+++ b/gems/aws-sdk-kafkaconnect/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.29.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.28.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kafkaconnect/VERSION b/gems/aws-sdk-kafkaconnect/VERSION
index cfc730712d5..5e57fb89558 100644
--- a/gems/aws-sdk-kafkaconnect/VERSION
+++ b/gems/aws-sdk-kafkaconnect/VERSION
@@ -1 +1 @@
-1.28.0
+1.29.0
diff --git a/gems/aws-sdk-kafkaconnect/aws-sdk-kafkaconnect.gemspec b/gems/aws-sdk-kafkaconnect/aws-sdk-kafkaconnect.gemspec
index bf1bf528a24..26a3153d17e 100644
--- a/gems/aws-sdk-kafkaconnect/aws-sdk-kafkaconnect.gemspec
+++ b/gems/aws-sdk-kafkaconnect/aws-sdk-kafkaconnect.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kafkaconnect/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect.rb b/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect.rb
index e2e4a697b45..7fec9f524d0 100644
--- a/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect.rb
+++ b/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::KafkaConnect
- GEM_VERSION = '1.28.0'
+ GEM_VERSION = '1.29.0'
end
diff --git a/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/client.rb b/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/client.rb
index 51647abf102..bb9aa5147d5 100644
--- a/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/client.rb
+++ b/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/client.rb
@@ -1323,7 +1323,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kafkaconnect'
- context[:gem_version] = '1.28.0'
+ context[:gem_version] = '1.29.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/endpoints.rb b/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/endpoints.rb
index 379755092ed..36b48e6d240 100644
--- a/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/endpoints.rb
+++ b/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/endpoints.rb
@@ -14,224 +14,176 @@ module Endpoints
class CreateConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomPlugin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkerConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomPlugin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkerConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomPlugin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkerConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomPlugins
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkerConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KafkaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/plugins/endpoints.rb b/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/plugins/endpoints.rb
index 210e6d1dafd..0efb4c666b7 100644
--- a/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/plugins/endpoints.rb
+++ b/gems/aws-sdk-kafkaconnect/lib/aws-sdk-kafkaconnect/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kafkaconnect/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kafkaconnect/spec/endpoint_provider_spec.rb
index 62cd9ebfd28..624ceb633aa 100644
--- a/gems/aws-sdk-kafkaconnect/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kafkaconnect/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::KafkaConnect
describe EndpointProvider do
subject { Aws::KafkaConnect::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::KafkaConnect
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::KafkaConnect
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::KafkaConnect
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::KafkaConnect
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::KafkaConnect
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::KafkaConnect
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::KafkaConnect
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::KafkaConnect
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::KafkaConnect
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::KafkaConnect
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::KafkaConnect
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.sa-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.us-east-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.us-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect-fips.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::KafkaConnect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::KafkaConnect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::KafkaConnect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::KafkaConnect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::KafkaConnect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kafkaconnect.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::KafkaConnect
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::KafkaConnect
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::KafkaConnect
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::KafkaConnect
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::KafkaConnect
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kendra/CHANGELOG.md b/gems/aws-sdk-kendra/CHANGELOG.md
index d07fffeb5ac..6f00ded4dad 100644
--- a/gems/aws-sdk-kendra/CHANGELOG.md
+++ b/gems/aws-sdk-kendra/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.88.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.87.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kendra/VERSION b/gems/aws-sdk-kendra/VERSION
index f6342716723..59be592144c 100644
--- a/gems/aws-sdk-kendra/VERSION
+++ b/gems/aws-sdk-kendra/VERSION
@@ -1 +1 @@
-1.87.0
+1.88.0
diff --git a/gems/aws-sdk-kendra/aws-sdk-kendra.gemspec b/gems/aws-sdk-kendra/aws-sdk-kendra.gemspec
index d444469ff0e..8963a9cb248 100644
--- a/gems/aws-sdk-kendra/aws-sdk-kendra.gemspec
+++ b/gems/aws-sdk-kendra/aws-sdk-kendra.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kendra/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kendra/lib/aws-sdk-kendra.rb b/gems/aws-sdk-kendra/lib/aws-sdk-kendra.rb
index d36dc161513..98d82158c30 100644
--- a/gems/aws-sdk-kendra/lib/aws-sdk-kendra.rb
+++ b/gems/aws-sdk-kendra/lib/aws-sdk-kendra.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Kendra
- GEM_VERSION = '1.87.0'
+ GEM_VERSION = '1.88.0'
end
diff --git a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client.rb b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client.rb
index 1108b776f30..33a28fd151f 100644
--- a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client.rb
+++ b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/client.rb
@@ -7365,7 +7365,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kendra'
- context[:gem_version] = '1.87.0'
+ context[:gem_version] = '1.88.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/endpoints.rb b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/endpoints.rb
index 44b2d064a92..3f99f425c66 100644
--- a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/endpoints.rb
+++ b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/endpoints.rb
@@ -14,924 +14,726 @@ module Endpoints
class AssociateEntitiesToExperience
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociatePersonasToEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteFeaturedResultsSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetDocumentStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchPutDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ClearQuerySuggestions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccessControlConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExperience
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFaq
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFeaturedResultsSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQuerySuggestionsBlockList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateThesaurus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccessControlConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExperience
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFaq
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePrincipalMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQuerySuggestionsBlockList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteThesaurus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccessControlConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExperience
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFaq
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFeaturedResultsSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePrincipalMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeQuerySuggestionsBlockList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeQuerySuggestionsConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeThesaurus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateEntitiesFromExperience
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociatePersonasFromEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQuerySuggestions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessControlConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSourceSyncJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEntityPersonas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExperienceEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExperiences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFaqs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFeaturedResultsSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupsOlderThanOrderingId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIndices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQuerySuggestionsBlockLists
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThesauri
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPrincipalMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Query
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Retrieve
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDataSourceSyncJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDataSourceSyncJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SubmitFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccessControlConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateExperience
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFeaturedResultsSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQuerySuggestionsBlockList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQuerySuggestionsConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateThesaurus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kendra::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/plugins/endpoints.rb b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/plugins/endpoints.rb
index b14b84b7991..bf454137e96 100644
--- a/gems/aws-sdk-kendra/lib/aws-sdk-kendra/plugins/endpoints.rb
+++ b/gems/aws-sdk-kendra/lib/aws-sdk-kendra/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kendra/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kendra/spec/endpoint_provider_spec.rb
index 5ea8ddb1690..8695a7055a3 100644
--- a/gems/aws-sdk-kendra/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kendra/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Kendra
describe EndpointProvider do
subject { Aws::Kendra::EndpointProvider.new }
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.ap-southeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Kendra
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.ap-southeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Kendra
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.ca-central-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Kendra
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.eu-west-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Kendra
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Kendra
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-fips.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Kendra
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.us-east-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Kendra
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-fips.us-east-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Kendra
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.us-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Kendra
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-fips.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Kendra
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Kendra
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::Kendra
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::Kendra
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::Kendra
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::Kendra
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::Kendra
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.us-gov-west-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Kendra
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Kendra
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::Kendra
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Kendra
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::Kendra
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Kendra
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::Kendra
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::Kendra
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::Kendra
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::Kendra
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::Kendra
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::Kendra
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::Kendra
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::Kendra
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::Kendra
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::Kendra
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::Kendra
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::Kendra
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kendraranking/CHANGELOG.md b/gems/aws-sdk-kendraranking/CHANGELOG.md
index e6fc0c1d83f..6ac09448dd0 100644
--- a/gems/aws-sdk-kendraranking/CHANGELOG.md
+++ b/gems/aws-sdk-kendraranking/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.21.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.20.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kendraranking/VERSION b/gems/aws-sdk-kendraranking/VERSION
index 39893559155..3500250a4b0 100644
--- a/gems/aws-sdk-kendraranking/VERSION
+++ b/gems/aws-sdk-kendraranking/VERSION
@@ -1 +1 @@
-1.20.0
+1.21.0
diff --git a/gems/aws-sdk-kendraranking/aws-sdk-kendraranking.gemspec b/gems/aws-sdk-kendraranking/aws-sdk-kendraranking.gemspec
index b51243991ac..59c6b9daf36 100644
--- a/gems/aws-sdk-kendraranking/aws-sdk-kendraranking.gemspec
+++ b/gems/aws-sdk-kendraranking/aws-sdk-kendraranking.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kendraranking/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking.rb b/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking.rb
index b311d9b4faa..2657d2aa79c 100644
--- a/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking.rb
+++ b/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::KendraRanking
- GEM_VERSION = '1.20.0'
+ GEM_VERSION = '1.21.0'
end
diff --git a/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/client.rb b/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/client.rb
index 73e6484ec07..e7ef548672a 100644
--- a/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/client.rb
+++ b/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/client.rb
@@ -869,7 +869,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kendraranking'
- context[:gem_version] = '1.20.0'
+ context[:gem_version] = '1.21.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/endpoints.rb b/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/endpoints.rb
index 6a91ba39535..ec500883368 100644
--- a/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/endpoints.rb
+++ b/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/endpoints.rb
@@ -14,117 +14,90 @@ module Endpoints
class CreateRescoreExecutionPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KendraRanking::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRescoreExecutionPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KendraRanking::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRescoreExecutionPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KendraRanking::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRescoreExecutionPlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KendraRanking::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KendraRanking::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Rescore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KendraRanking::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KendraRanking::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KendraRanking::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRescoreExecutionPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KendraRanking::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/plugins/endpoints.rb b/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/plugins/endpoints.rb
index 3e7bf45dc7d..d27572546a9 100644
--- a/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/plugins/endpoints.rb
+++ b/gems/aws-sdk-kendraranking/lib/aws-sdk-kendraranking/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kendraranking/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kendraranking/spec/endpoint_provider_spec.rb
index b6f8174a8d6..8f294bfa0b9 100644
--- a/gems/aws-sdk-kendraranking/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kendraranking/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::KendraRanking
describe EndpointProvider do
subject { Aws::KendraRanking::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-ranking-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::KendraRanking
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-ranking.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::KendraRanking
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-ranking-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -56,7 +56,7 @@ module Aws::KendraRanking
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-ranking.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -70,7 +70,7 @@ module Aws::KendraRanking
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-ranking-fips.us-gov-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::KendraRanking
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kendra-ranking.us-gov-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::KendraRanking
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -112,7 +112,7 @@ module Aws::KendraRanking
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -126,7 +126,7 @@ module Aws::KendraRanking
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -139,7 +139,7 @@ module Aws::KendraRanking
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-keyspaces/CHANGELOG.md b/gems/aws-sdk-keyspaces/CHANGELOG.md
index 250efe45eed..33f3445e622 100644
--- a/gems/aws-sdk-keyspaces/CHANGELOG.md
+++ b/gems/aws-sdk-keyspaces/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.27.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.26.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-keyspaces/VERSION b/gems/aws-sdk-keyspaces/VERSION
index 5ff8c4f5d2a..5db08bf2dc5 100644
--- a/gems/aws-sdk-keyspaces/VERSION
+++ b/gems/aws-sdk-keyspaces/VERSION
@@ -1 +1 @@
-1.26.0
+1.27.0
diff --git a/gems/aws-sdk-keyspaces/aws-sdk-keyspaces.gemspec b/gems/aws-sdk-keyspaces/aws-sdk-keyspaces.gemspec
index 7f83e0431ae..edfd9928636 100644
--- a/gems/aws-sdk-keyspaces/aws-sdk-keyspaces.gemspec
+++ b/gems/aws-sdk-keyspaces/aws-sdk-keyspaces.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-keyspaces/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces.rb b/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces.rb
index e50e702a7f0..5ab7b013721 100644
--- a/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces.rb
+++ b/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Keyspaces
- GEM_VERSION = '1.26.0'
+ GEM_VERSION = '1.27.0'
end
diff --git a/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/client.rb b/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/client.rb
index 641bdeb6b88..8cc30253a68 100644
--- a/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/client.rb
+++ b/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/client.rb
@@ -1833,7 +1833,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-keyspaces'
- context[:gem_version] = '1.26.0'
+ context[:gem_version] = '1.27.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/endpoints.rb b/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/endpoints.rb
index 60b1f9bea6b..32fe34db31a 100644
--- a/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/endpoints.rb
+++ b/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/endpoints.rb
@@ -14,196 +14,154 @@ module Endpoints
class CreateKeyspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKeyspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKeyspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTableAutoScalingSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKeyspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Keyspaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/plugins/endpoints.rb b/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/plugins/endpoints.rb
index 0c5c77df3d8..019da9d3ca4 100644
--- a/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/plugins/endpoints.rb
+++ b/gems/aws-sdk-keyspaces/lib/aws-sdk-keyspaces/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-keyspaces/spec/endpoint_provider_spec.rb b/gems/aws-sdk-keyspaces/spec/endpoint_provider_spec.rb
index 35fe377ddc7..1adff06032e 100644
--- a/gems/aws-sdk-keyspaces/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-keyspaces/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Keyspaces
describe EndpointProvider do
subject { Aws::Keyspaces::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Keyspaces
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Keyspaces
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Keyspaces
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Keyspaces
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Keyspaces
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Keyspaces
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Keyspaces
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Keyspaces
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Keyspaces
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Keyspaces
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Keyspaces
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Keyspaces
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.me-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Keyspaces
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.sa-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra-fips.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-east-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-west-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra-fips.us-west-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra-fips.us-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::Keyspaces
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::Keyspaces
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::Keyspaces
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::Keyspaces
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-gov-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-gov-west-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-gov-west-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra-fips.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -475,7 +475,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -489,7 +489,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -502,7 +502,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-iso-east-1.c2s.ic.gov"}}
end
@@ -516,7 +516,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -529,7 +529,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -543,7 +543,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -556,7 +556,7 @@ module Aws::Keyspaces
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cassandra.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -570,7 +570,7 @@ module Aws::Keyspaces
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::Keyspaces
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::Keyspaces
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -611,7 +611,7 @@ module Aws::Keyspaces
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -624,7 +624,7 @@ module Aws::Keyspaces
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kinesis/CHANGELOG.md b/gems/aws-sdk-kinesis/CHANGELOG.md
index 7711cbe3f68..ab51ddb14e5 100644
--- a/gems/aws-sdk-kinesis/CHANGELOG.md
+++ b/gems/aws-sdk-kinesis/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.66.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.65.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kinesis/VERSION b/gems/aws-sdk-kinesis/VERSION
index 902c74186fb..b6148bc0a75 100644
--- a/gems/aws-sdk-kinesis/VERSION
+++ b/gems/aws-sdk-kinesis/VERSION
@@ -1 +1 @@
-1.65.0
+1.66.0
diff --git a/gems/aws-sdk-kinesis/aws-sdk-kinesis.gemspec b/gems/aws-sdk-kinesis/aws-sdk-kinesis.gemspec
index 6518b3db19c..5ededa5d12b 100644
--- a/gems/aws-sdk-kinesis/aws-sdk-kinesis.gemspec
+++ b/gems/aws-sdk-kinesis/aws-sdk-kinesis.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesis/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis.rb b/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis.rb
index 08d9b05d035..fcea0956226 100644
--- a/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis.rb
+++ b/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis.rb
@@ -55,6 +55,6 @@
# @!group service
module Aws::Kinesis
- GEM_VERSION = '1.65.0'
+ GEM_VERSION = '1.66.0'
end
diff --git a/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/async_client.rb b/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/async_client.rb
index dcd549c7ada..18892e1af2f 100644
--- a/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/async_client.rb
+++ b/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/async_client.rb
@@ -681,7 +681,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kinesis'
- context[:gem_version] = '1.65.0'
+ context[:gem_version] = '1.66.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/client.rb b/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/client.rb
index 921810613a7..475e431bb10 100644
--- a/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/client.rb
+++ b/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/client.rb
@@ -2834,7 +2834,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kinesis'
- context[:gem_version] = '1.65.0'
+ context[:gem_version] = '1.66.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoints.rb b/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoints.rb
index 6fb1e53d049..0daca244acd 100644
--- a/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoints.rb
+++ b/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class AddTagsToStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -32,14 +29,11 @@ def self.build(context)
class CreateStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: nil,
operation_type: nil,
consumer_arn: nil,
@@ -50,14 +44,11 @@ def self.build(context)
class DecreaseStreamRetentionPeriod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -68,14 +59,11 @@ def self.build(context)
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: nil,
operation_type: "control",
consumer_arn: nil,
@@ -86,14 +74,11 @@ def self.build(context)
class DeleteStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -104,14 +89,11 @@ def self.build(context)
class DeregisterStreamConsumer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: context.params[:consumer_arn],
@@ -122,14 +104,11 @@ def self.build(context)
class DescribeLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: nil,
operation_type: nil,
consumer_arn: nil,
@@ -140,14 +119,11 @@ def self.build(context)
class DescribeStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -158,14 +134,11 @@ def self.build(context)
class DescribeStreamConsumer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: context.params[:consumer_arn],
@@ -176,14 +149,11 @@ def self.build(context)
class DescribeStreamSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -194,14 +164,11 @@ def self.build(context)
class DisableEnhancedMonitoring
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -212,14 +179,11 @@ def self.build(context)
class EnableEnhancedMonitoring
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -230,14 +194,11 @@ def self.build(context)
class GetRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "data",
consumer_arn: nil,
@@ -248,14 +209,11 @@ def self.build(context)
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: nil,
operation_type: "control",
consumer_arn: nil,
@@ -266,14 +224,11 @@ def self.build(context)
class GetShardIterator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "data",
consumer_arn: nil,
@@ -284,14 +239,11 @@ def self.build(context)
class IncreaseStreamRetentionPeriod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -302,14 +254,11 @@ def self.build(context)
class ListShards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -320,14 +269,11 @@ def self.build(context)
class ListStreamConsumers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -338,14 +284,11 @@ def self.build(context)
class ListStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: nil,
operation_type: nil,
consumer_arn: nil,
@@ -356,14 +299,11 @@ def self.build(context)
class ListTagsForStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -374,14 +314,11 @@ def self.build(context)
class MergeShards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -392,14 +329,11 @@ def self.build(context)
class PutRecord
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "data",
consumer_arn: nil,
@@ -410,14 +344,11 @@ def self.build(context)
class PutRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "data",
consumer_arn: nil,
@@ -428,14 +359,11 @@ def self.build(context)
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: nil,
operation_type: "control",
consumer_arn: nil,
@@ -446,14 +374,11 @@ def self.build(context)
class RegisterStreamConsumer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -464,14 +389,11 @@ def self.build(context)
class RemoveTagsFromStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -482,14 +404,11 @@ def self.build(context)
class SplitShard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -500,14 +419,11 @@ def self.build(context)
class StartStreamEncryption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -518,14 +434,11 @@ def self.build(context)
class StopStreamEncryption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -536,14 +449,11 @@ def self.build(context)
class SubscribeToShard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: nil,
operation_type: "data",
consumer_arn: context.params[:consumer_arn],
@@ -554,14 +464,11 @@ def self.build(context)
class UpdateShardCount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
@@ -572,14 +479,11 @@ def self.build(context)
class UpdateStreamMode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Kinesis::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
stream_arn: context.params[:stream_arn],
operation_type: "control",
consumer_arn: nil,
diff --git a/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/plugins/endpoints.rb b/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/plugins/endpoints.rb
index 51749a8fc7c..0266aaee887 100644
--- a/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/plugins/endpoints.rb
+++ b/gems/aws-sdk-kinesis/lib/aws-sdk-kinesis/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kinesis/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kinesis/spec/endpoint_provider_spec.rb
index 195dada44c5..2f9e6613eee 100644
--- a/gems/aws-sdk-kinesis/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kinesis/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Kinesis
describe EndpointProvider do
subject { Aws::Kinesis::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Kinesis
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Kinesis
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Kinesis
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Kinesis
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Kinesis
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Kinesis
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Kinesis
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Kinesis
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Kinesis
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Kinesis
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Kinesis
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Kinesis
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Kinesis
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Kinesis
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Kinesis
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Kinesis
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Kinesis
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Kinesis
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Kinesis
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Kinesis
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Kinesis
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Kinesis
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Kinesis
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Kinesis
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Kinesis
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Kinesis
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Kinesis
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Kinesis
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Kinesis
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Kinesis
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Kinesis
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::Kinesis
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::Kinesis
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Kinesis
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Kinesis
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Kinesis
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::Kinesis
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::Kinesis
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::Kinesis
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::Kinesis
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::Kinesis
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::Kinesis
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::Kinesis
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::Kinesis
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::Kinesis
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::Kinesis
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::Kinesis
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::Kinesis
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::Kinesis
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::Kinesis
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::Kinesis
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::Kinesis
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
@@ -749,7 +749,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Failed to parse ARN.' do
+ context "Invalid ARN: Failed to parse ARN." do
let(:expected) do
{"error"=>"Invalid ARN: Failed to parse ARN."}
end
@@ -762,7 +762,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: partition missing from ARN.' do
+ context "Invalid ARN: partition missing from ARN." do
let(:expected) do
{"error"=>"Invalid ARN: Failed to parse ARN."}
end
@@ -775,7 +775,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: partitions mismatch.' do
+ context "Invalid ARN: partitions mismatch." do
let(:expected) do
{"error"=>"Partition: aws from ARN doesn't match with partition name: aws-us-gov."}
end
@@ -788,7 +788,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Not Kinesis' do
+ context "Invalid ARN: Not Kinesis" do
let(:expected) do
{"error"=>"Invalid ARN: The ARN was not for the Kinesis service, found: s3."}
end
@@ -801,7 +801,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Region is missing in ARN' do
+ context "Invalid ARN: Region is missing in ARN" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid region."}
end
@@ -814,7 +814,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Region is empty string in ARN' do
+ context "Invalid ARN: Region is empty string in ARN" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid region."}
end
@@ -827,7 +827,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Invalid account id' do
+ context "Invalid ARN: Invalid account id" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid account id."}
end
@@ -840,7 +840,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Invalid account id' do
+ context "Invalid ARN: Invalid account id" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid account id."}
end
@@ -853,7 +853,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Kinesis ARNs only support stream arn types' do
+ context "Invalid ARN: Kinesis ARNs only support stream arn types" do
let(:expected) do
{"error"=>"Invalid ARN: Kinesis ARNs don't support `accesspoint` arn types."}
end
@@ -866,7 +866,7 @@ module Aws::Kinesis
end
end
- context 'Dual Stack not supported region.' do
+ context "Dual Stack not supported region." do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -879,7 +879,7 @@ module Aws::Kinesis
end
end
- context 'OperationType not set' do
+ context "OperationType not set" do
let(:expected) do
{"error"=>"Operation Type is not set. Please contact service team for resolution."}
end
@@ -892,7 +892,7 @@ module Aws::Kinesis
end
end
- context 'Custom Endpoint is specified' do
+ context "Custom Endpoint is specified" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -906,7 +906,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint targeting control operation type' do
+ context "Account endpoint targeting control operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis.us-east-1.amazonaws.com"}}
end
@@ -920,7 +920,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint targeting data operation type' do
+ context "Account endpoint targeting data operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-east-1.amazonaws.com"}}
end
@@ -934,7 +934,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with fips targeting data operation type' do
+ context "Account endpoint with fips targeting data operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.us-east-1.amazonaws.com"}}
end
@@ -948,7 +948,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with fips targeting control operation type' do
+ context "Account endpoint with fips targeting control operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis-fips.us-east-1.amazonaws.com"}}
end
@@ -962,7 +962,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with Dual Stack and FIPS enabled' do
+ context "Account endpoint with Dual Stack and FIPS enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis-fips.us-east-1.api.aws"}}
end
@@ -976,7 +976,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with Dual Stack enabled' do
+ context "Account endpoint with Dual Stack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-west-1.api.aws"}}
end
@@ -990,7 +990,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with FIPS and DualStack disabled' do
+ context "Account endpoint with FIPS and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis.us-west-1.amazonaws.com"}}
end
@@ -1004,7 +1004,7 @@ module Aws::Kinesis
end
end
- context 'RegionMismatch: client region should be used for endpoint region' do
+ context "RegionMismatch: client region should be used for endpoint region" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-east-1.amazonaws.com"}}
end
@@ -1018,7 +1018,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with FIPS enabled' do
+ context "Account endpoint with FIPS enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -1032,7 +1032,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with FIPS and DualStack enabled for cn regions.' do
+ context "Account endpoint with FIPS and DualStack enabled for cn regions." do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.cn-northwest-1.api.amazonwebservices.com.cn"}}
end
@@ -1046,7 +1046,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint targeting control operation type in ADC regions' do
+ context "Account endpoint targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-iso-east-1.c2s.ic.gov"}}
end
@@ -1060,7 +1060,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint targeting control operation type in ADC regions' do
+ context "Account endpoint targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-iso-west-1.c2s.ic.gov"}}
end
@@ -1074,7 +1074,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint targeting data operation type in ADC regions' do
+ context "Account endpoint targeting data operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -1088,7 +1088,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with fips targeting control operation type in ADC regions' do
+ context "Account endpoint with fips targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -1102,7 +1102,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with fips targeting data operation type in ADC regions' do
+ context "Account endpoint with fips targeting data operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -1116,7 +1116,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ConsumerARN: Failed to parse ARN.' do
+ context "Invalid ConsumerARN: Failed to parse ARN." do
let(:expected) do
{"error"=>"Invalid ARN: Failed to parse ARN."}
end
@@ -1129,7 +1129,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ConsumerARN: partition missing from ARN.' do
+ context "Invalid ConsumerARN: partition missing from ARN." do
let(:expected) do
{"error"=>"Invalid ARN: Failed to parse ARN."}
end
@@ -1142,7 +1142,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: partitions mismatch.' do
+ context "Invalid ARN: partitions mismatch." do
let(:expected) do
{"error"=>"Partition: aws from ARN doesn't match with partition name: aws-us-gov."}
end
@@ -1155,7 +1155,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Not Kinesis' do
+ context "Invalid ARN: Not Kinesis" do
let(:expected) do
{"error"=>"Invalid ARN: The ARN was not for the Kinesis service, found: s3."}
end
@@ -1168,7 +1168,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Region is missing in ARN' do
+ context "Invalid ARN: Region is missing in ARN" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid region."}
end
@@ -1181,7 +1181,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Region is empty string in ARN' do
+ context "Invalid ARN: Region is empty string in ARN" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid region."}
end
@@ -1194,7 +1194,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Invalid account id' do
+ context "Invalid ARN: Invalid account id" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid account id."}
end
@@ -1207,7 +1207,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Invalid account id' do
+ context "Invalid ARN: Invalid account id" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid account id."}
end
@@ -1220,7 +1220,7 @@ module Aws::Kinesis
end
end
- context 'Invalid ARN: Kinesis ARNs only support stream arn/consumer arn types' do
+ context "Invalid ARN: Kinesis ARNs only support stream arn/consumer arn types" do
let(:expected) do
{"error"=>"Invalid ARN: Kinesis ARNs don't support `accesspoint` arn types."}
end
@@ -1233,7 +1233,7 @@ module Aws::Kinesis
end
end
- context 'Dual Stack not supported region.' do
+ context "Dual Stack not supported region." do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -1246,7 +1246,7 @@ module Aws::Kinesis
end
end
- context 'OperationType not set' do
+ context "OperationType not set" do
let(:expected) do
{"error"=>"Operation Type is not set. Please contact service team for resolution."}
end
@@ -1259,7 +1259,7 @@ module Aws::Kinesis
end
end
- context 'Custom Endpoint is specified' do
+ context "Custom Endpoint is specified" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -1273,7 +1273,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint targeting control operation type' do
+ context "Account endpoint targeting control operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis.us-east-1.amazonaws.com"}}
end
@@ -1287,7 +1287,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint targeting data operation type' do
+ context "Account endpoint targeting data operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-east-1.amazonaws.com"}}
end
@@ -1301,7 +1301,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with fips targeting data operation type' do
+ context "Account endpoint with fips targeting data operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.us-east-1.amazonaws.com"}}
end
@@ -1315,7 +1315,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with fips targeting control operation type' do
+ context "Account endpoint with fips targeting control operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis-fips.us-east-1.amazonaws.com"}}
end
@@ -1329,7 +1329,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with Dual Stack and FIPS enabled' do
+ context "Account endpoint with Dual Stack and FIPS enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis-fips.us-east-1.api.aws"}}
end
@@ -1343,7 +1343,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with Dual Stack enabled' do
+ context "Account endpoint with Dual Stack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-west-1.api.aws"}}
end
@@ -1357,7 +1357,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with FIPS and DualStack disabled' do
+ context "Account endpoint with FIPS and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis.us-west-1.amazonaws.com"}}
end
@@ -1371,7 +1371,7 @@ module Aws::Kinesis
end
end
- context 'RegionMismatch: client region should be used for endpoint region' do
+ context "RegionMismatch: client region should be used for endpoint region" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-east-1.amazonaws.com"}}
end
@@ -1385,7 +1385,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with FIPS enabled' do
+ context "Account endpoint with FIPS enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -1399,7 +1399,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with FIPS and DualStack enabled for cn regions.' do
+ context "Account endpoint with FIPS and DualStack enabled for cn regions." do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.cn-northwest-1.api.amazonwebservices.com.cn"}}
end
@@ -1413,7 +1413,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint targeting control operation type in ADC regions' do
+ context "Account endpoint targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-iso-east-1.c2s.ic.gov"}}
end
@@ -1427,7 +1427,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint targeting control operation type in ADC regions' do
+ context "Account endpoint targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-iso-west-1.c2s.ic.gov"}}
end
@@ -1441,7 +1441,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint targeting data operation type in ADC regions' do
+ context "Account endpoint targeting data operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -1455,7 +1455,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with fips targeting control operation type in ADC regions' do
+ context "Account endpoint with fips targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -1469,7 +1469,7 @@ module Aws::Kinesis
end
end
- context 'Account endpoint with fips targeting data operation type in ADC regions' do
+ context "Account endpoint with fips targeting data operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -1483,7 +1483,7 @@ module Aws::Kinesis
end
end
- context 'ConsumerARN targeting US-EAST-1' do
+ context "ConsumerARN targeting US-EAST-1" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123456789123.data-kinesis.us-east-1.amazonaws.com"}}
end
@@ -1497,7 +1497,7 @@ module Aws::Kinesis
end
end
- context 'Both StreamARN and ConsumerARN specified. StreamARN should take precedence' do
+ context "Both StreamARN and ConsumerARN specified. StreamARN should take precedence" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-east-1.amazonaws.com"}}
end
@@ -1511,7 +1511,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN test: Invalid ARN: Failed to parse ARN.' do
+ context "ResourceARN test: Invalid ARN: Failed to parse ARN." do
let(:expected) do
{"error"=>"Invalid ARN: Failed to parse ARN."}
end
@@ -1524,7 +1524,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Invalid ARN: partition missing from ARN.' do
+ context "ResourceARN as StreamARN test: Invalid ARN: partition missing from ARN." do
let(:expected) do
{"error"=>"Invalid ARN: Failed to parse ARN."}
end
@@ -1537,7 +1537,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Invalid ARN: partitions mismatch.' do
+ context "ResourceARN as StreamARN test: Invalid ARN: partitions mismatch." do
let(:expected) do
{"error"=>"Partition: aws from ARN doesn't match with partition name: aws-us-gov."}
end
@@ -1550,7 +1550,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Invalid ARN: Not Kinesis' do
+ context "ResourceARN as StreamARN test: Invalid ARN: Not Kinesis" do
let(:expected) do
{"error"=>"Invalid ARN: The ARN was not for the Kinesis service, found: s3."}
end
@@ -1563,7 +1563,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Invalid ARN: Region is missing in ARN' do
+ context "ResourceARN as StreamARN test: Invalid ARN: Region is missing in ARN" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid region."}
end
@@ -1576,7 +1576,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Invalid ARN: Region is empty string in ARN' do
+ context "ResourceARN as StreamARN test: Invalid ARN: Region is empty string in ARN" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid region."}
end
@@ -1589,7 +1589,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Invalid ARN: Invalid account id' do
+ context "ResourceARN as StreamARN test: Invalid ARN: Invalid account id" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid account id."}
end
@@ -1602,7 +1602,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Invalid ARN: Invalid account id' do
+ context "ResourceARN as StreamARN test: Invalid ARN: Invalid account id" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid account id."}
end
@@ -1615,7 +1615,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Invalid ARN: Kinesis ARNs only support stream arn types' do
+ context "ResourceARN as StreamARN test: Invalid ARN: Kinesis ARNs only support stream arn types" do
let(:expected) do
{"error"=>"Invalid ARN: Kinesis ARNs don't support `accesspoint` arn types."}
end
@@ -1628,7 +1628,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Dual Stack not supported region.' do
+ context "ResourceARN as StreamARN test: Dual Stack not supported region." do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -1641,7 +1641,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: OperationType not set' do
+ context "ResourceARN as StreamARN test: OperationType not set" do
let(:expected) do
{"error"=>"Operation Type is not set. Please contact service team for resolution."}
end
@@ -1654,7 +1654,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Custom Endpoint is specified' do
+ context "ResourceARN as StreamARN test: Custom Endpoint is specified" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -1668,7 +1668,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint targeting control operation type' do
+ context "ResourceARN as StreamARN test: Account endpoint targeting control operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis.us-east-1.amazonaws.com"}}
end
@@ -1682,7 +1682,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint targeting data operation type' do
+ context "ResourceARN as StreamARN test: Account endpoint targeting data operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-east-1.amazonaws.com"}}
end
@@ -1696,7 +1696,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint with fips targeting data operation type' do
+ context "ResourceARN as StreamARN test: Account endpoint with fips targeting data operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.us-east-1.amazonaws.com"}}
end
@@ -1710,7 +1710,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint with fips targeting control operation type' do
+ context "ResourceARN as StreamARN test: Account endpoint with fips targeting control operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis-fips.us-east-1.amazonaws.com"}}
end
@@ -1724,7 +1724,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint with Dual Stack and FIPS enabled' do
+ context "ResourceARN as StreamARN test: Account endpoint with Dual Stack and FIPS enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis-fips.us-east-1.api.aws"}}
end
@@ -1738,7 +1738,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint with Dual Stack enabled' do
+ context "ResourceARN as StreamARN test: Account endpoint with Dual Stack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-west-1.api.aws"}}
end
@@ -1752,7 +1752,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint with FIPS and DualStack disabled' do
+ context "ResourceARN as StreamARN test: Account endpoint with FIPS and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis.us-west-1.amazonaws.com"}}
end
@@ -1766,7 +1766,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: RegionMismatch: client region should be used for endpoint region' do
+ context "ResourceARN as StreamARN test: RegionMismatch: client region should be used for endpoint region" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-east-1.amazonaws.com"}}
end
@@ -1780,7 +1780,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint with FIPS enabled' do
+ context "ResourceARN as StreamARN test: Account endpoint with FIPS enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -1794,7 +1794,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint with FIPS and DualStack enabled for cn regions.' do
+ context "ResourceARN as StreamARN test: Account endpoint with FIPS and DualStack enabled for cn regions." do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.cn-northwest-1.api.amazonwebservices.com.cn"}}
end
@@ -1808,7 +1808,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint targeting control operation type in ADC regions' do
+ context "ResourceARN as StreamARN test: Account endpoint targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-iso-east-1.c2s.ic.gov"}}
end
@@ -1822,7 +1822,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint targeting control operation type in ADC regions' do
+ context "ResourceARN as StreamARN test: Account endpoint targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-iso-west-1.c2s.ic.gov"}}
end
@@ -1836,7 +1836,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint targeting data operation type in ADC regions' do
+ context "ResourceARN as StreamARN test: Account endpoint targeting data operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -1850,7 +1850,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint with fips targeting control operation type in ADC regions' do
+ context "ResourceARN as StreamARN test: Account endpoint with fips targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -1864,7 +1864,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as StreamARN test: Account endpoint with fips targeting data operation type in ADC regions' do
+ context "ResourceARN as StreamARN test: Account endpoint with fips targeting data operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -1878,7 +1878,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Invalid ARN: partition missing from ARN.' do
+ context "ResourceARN as ConsumerARN test: Invalid ARN: partition missing from ARN." do
let(:expected) do
{"error"=>"Invalid ARN: Failed to parse ARN."}
end
@@ -1891,7 +1891,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Invalid ARN: partitions mismatch.' do
+ context "ResourceARN as ConsumerARN test: Invalid ARN: partitions mismatch." do
let(:expected) do
{"error"=>"Partition: aws from ARN doesn't match with partition name: aws-us-gov."}
end
@@ -1904,7 +1904,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Invalid ARN: Not Kinesis' do
+ context "ResourceARN as ConsumerARN test: Invalid ARN: Not Kinesis" do
let(:expected) do
{"error"=>"Invalid ARN: The ARN was not for the Kinesis service, found: s3."}
end
@@ -1917,7 +1917,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Invalid ARN: Region is missing in ARN' do
+ context "ResourceARN as ConsumerARN test: Invalid ARN: Region is missing in ARN" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid region."}
end
@@ -1930,7 +1930,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Invalid ARN: Region is empty string in ARN' do
+ context "ResourceARN as ConsumerARN test: Invalid ARN: Region is empty string in ARN" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid region."}
end
@@ -1943,7 +1943,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Invalid ARN: Invalid account id' do
+ context "ResourceARN as ConsumerARN test: Invalid ARN: Invalid account id" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid account id."}
end
@@ -1956,7 +1956,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Invalid ARN: Invalid account id' do
+ context "ResourceARN as ConsumerARN test: Invalid ARN: Invalid account id" do
let(:expected) do
{"error"=>"Invalid ARN: Invalid account id."}
end
@@ -1969,7 +1969,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Invalid ARN: Kinesis ARNs only support stream arn/consumer arn types' do
+ context "ResourceARN as ConsumerARN test: Invalid ARN: Kinesis ARNs only support stream arn/consumer arn types" do
let(:expected) do
{"error"=>"Invalid ARN: Kinesis ARNs don't support `accesspoint` arn types."}
end
@@ -1982,7 +1982,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Dual Stack not supported region.' do
+ context "ResourceARN as ConsumerARN test: Dual Stack not supported region." do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -1995,7 +1995,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: OperationType not set' do
+ context "ResourceARN as ConsumerARN test: OperationType not set" do
let(:expected) do
{"error"=>"Operation Type is not set. Please contact service team for resolution."}
end
@@ -2008,7 +2008,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Custom Endpoint is specified' do
+ context "ResourceARN as ConsumerARN test: Custom Endpoint is specified" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -2022,7 +2022,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint targeting control operation type' do
+ context "ResourceARN as ConsumerARN test: Account endpoint targeting control operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis.us-east-1.amazonaws.com"}}
end
@@ -2036,7 +2036,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint targeting data operation type' do
+ context "ResourceARN as ConsumerARN test: Account endpoint targeting data operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-east-1.amazonaws.com"}}
end
@@ -2050,7 +2050,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint with fips targeting data operation type' do
+ context "ResourceARN as ConsumerARN test: Account endpoint with fips targeting data operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.us-east-1.amazonaws.com"}}
end
@@ -2064,7 +2064,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint with fips targeting control operation type' do
+ context "ResourceARN as ConsumerARN test: Account endpoint with fips targeting control operation type" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis-fips.us-east-1.amazonaws.com"}}
end
@@ -2078,7 +2078,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint with Dual Stack and FIPS enabled' do
+ context "ResourceARN as ConsumerARN test: Account endpoint with Dual Stack and FIPS enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis-fips.us-east-1.api.aws"}}
end
@@ -2092,7 +2092,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint with Dual Stack enabled' do
+ context "ResourceARN as ConsumerARN test: Account endpoint with Dual Stack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-west-1.api.aws"}}
end
@@ -2106,7 +2106,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint with FIPS and DualStack disabled' do
+ context "ResourceARN as ConsumerARN test: Account endpoint with FIPS and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.control-kinesis.us-west-1.amazonaws.com"}}
end
@@ -2120,7 +2120,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: RegionMismatch: client region should be used for endpoint region' do
+ context "ResourceARN as ConsumerARN test: RegionMismatch: client region should be used for endpoint region" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis.us-east-1.amazonaws.com"}}
end
@@ -2134,7 +2134,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint with FIPS enabled' do
+ context "ResourceARN as ConsumerARN test: Account endpoint with FIPS enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -2148,7 +2148,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint with FIPS and DualStack enabled for cn regions.' do
+ context "ResourceARN as ConsumerARN test: Account endpoint with FIPS and DualStack enabled for cn regions." do
let(:expected) do
{"endpoint"=>{"url"=>"https://123.data-kinesis-fips.cn-northwest-1.api.amazonwebservices.com.cn"}}
end
@@ -2162,7 +2162,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint targeting control operation type in ADC regions' do
+ context "ResourceARN as ConsumerARN test: Account endpoint targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-iso-east-1.c2s.ic.gov"}}
end
@@ -2176,7 +2176,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint targeting control operation type in ADC regions' do
+ context "ResourceARN as ConsumerARN test: Account endpoint targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-iso-west-1.c2s.ic.gov"}}
end
@@ -2190,7 +2190,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint targeting data operation type in ADC regions' do
+ context "ResourceARN as ConsumerARN test: Account endpoint targeting data operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -2204,7 +2204,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint with fips targeting control operation type in ADC regions' do
+ context "ResourceARN as ConsumerARN test: Account endpoint with fips targeting control operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -2218,7 +2218,7 @@ module Aws::Kinesis
end
end
- context 'ResourceARN as ConsumerARN test: Account endpoint with fips targeting data operation type in ADC regions' do
+ context "ResourceARN as ConsumerARN test: Account endpoint with fips targeting data operation type in ADC regions" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesis-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
diff --git a/gems/aws-sdk-kinesisanalytics/CHANGELOG.md b/gems/aws-sdk-kinesisanalytics/CHANGELOG.md
index 5b5d942e5c7..1e5abe6bcde 100644
--- a/gems/aws-sdk-kinesisanalytics/CHANGELOG.md
+++ b/gems/aws-sdk-kinesisanalytics/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.62.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.61.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kinesisanalytics/VERSION b/gems/aws-sdk-kinesisanalytics/VERSION
index 91951fd8ad7..76d05362056 100644
--- a/gems/aws-sdk-kinesisanalytics/VERSION
+++ b/gems/aws-sdk-kinesisanalytics/VERSION
@@ -1 +1 @@
-1.61.0
+1.62.0
diff --git a/gems/aws-sdk-kinesisanalytics/aws-sdk-kinesisanalytics.gemspec b/gems/aws-sdk-kinesisanalytics/aws-sdk-kinesisanalytics.gemspec
index dca00812996..832d9355159 100644
--- a/gems/aws-sdk-kinesisanalytics/aws-sdk-kinesisanalytics.gemspec
+++ b/gems/aws-sdk-kinesisanalytics/aws-sdk-kinesisanalytics.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesisanalytics/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics.rb b/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics.rb
index d15586fc0f5..90e99ac91bc 100644
--- a/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics.rb
+++ b/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::KinesisAnalytics
- GEM_VERSION = '1.61.0'
+ GEM_VERSION = '1.62.0'
end
diff --git a/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/client.rb b/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/client.rb
index 6adefdfefb2..6eaadf1194d 100644
--- a/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/client.rb
+++ b/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/client.rb
@@ -2048,7 +2048,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kinesisanalytics'
- context[:gem_version] = '1.61.0'
+ context[:gem_version] = '1.62.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/endpoints.rb b/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/endpoints.rb
index c64645220a7..94667415032 100644
--- a/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/endpoints.rb
+++ b/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/endpoints.rb
@@ -14,280 +14,220 @@ module Endpoints
class AddApplicationCloudWatchLoggingOption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddApplicationInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddApplicationInputProcessingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddApplicationOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddApplicationReferenceDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationCloudWatchLoggingOption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationInputProcessingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationReferenceDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DiscoverInputSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/plugins/endpoints.rb b/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/plugins/endpoints.rb
index 7a45d395f0c..177ec158342 100644
--- a/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/plugins/endpoints.rb
+++ b/gems/aws-sdk-kinesisanalytics/lib/aws-sdk-kinesisanalytics/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kinesisanalytics/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kinesisanalytics/spec/endpoint_provider_spec.rb
index ed71c55ff61..46bffd2d4fb 100644
--- a/gems/aws-sdk-kinesisanalytics/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kinesisanalytics/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::KinesisAnalytics
describe EndpointProvider do
subject { Aws::KinesisAnalytics::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-gov-west-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-gov-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -503,7 +503,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -517,7 +517,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -530,7 +530,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-iso-east-1.c2s.ic.gov"}}
end
@@ -544,7 +544,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -557,7 +557,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -571,7 +571,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -584,7 +584,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -598,7 +598,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -639,7 +639,7 @@ module Aws::KinesisAnalytics
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -652,7 +652,7 @@ module Aws::KinesisAnalytics
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md b/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md
index 45e648069ee..451112c3d15 100644
--- a/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md
+++ b/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.66.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.65.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kinesisanalyticsv2/VERSION b/gems/aws-sdk-kinesisanalyticsv2/VERSION
index 902c74186fb..b6148bc0a75 100644
--- a/gems/aws-sdk-kinesisanalyticsv2/VERSION
+++ b/gems/aws-sdk-kinesisanalyticsv2/VERSION
@@ -1 +1 @@
-1.65.0
+1.66.0
diff --git a/gems/aws-sdk-kinesisanalyticsv2/aws-sdk-kinesisanalyticsv2.gemspec b/gems/aws-sdk-kinesisanalyticsv2/aws-sdk-kinesisanalyticsv2.gemspec
index dfd2d3b39ff..8804d4b770f 100644
--- a/gems/aws-sdk-kinesisanalyticsv2/aws-sdk-kinesisanalyticsv2.gemspec
+++ b/gems/aws-sdk-kinesisanalyticsv2/aws-sdk-kinesisanalyticsv2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesisanalyticsv2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb
index d9eafedb5cd..25cdae52930 100644
--- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb
+++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::KinesisAnalyticsV2
- GEM_VERSION = '1.65.0'
+ GEM_VERSION = '1.66.0'
end
diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb
index 026158d8540..a4227c23d9e 100644
--- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb
+++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/client.rb
@@ -3248,7 +3248,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kinesisanalyticsv2'
- context[:gem_version] = '1.65.0'
+ context[:gem_version] = '1.66.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/endpoints.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/endpoints.rb
index 97b68ca4f17..3c67121f817 100644
--- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/endpoints.rb
+++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/endpoints.rb
@@ -14,462 +14,363 @@ module Endpoints
class AddApplicationCloudWatchLoggingOption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddApplicationInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddApplicationInputProcessingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddApplicationOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddApplicationReferenceDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddApplicationVpcConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplicationPresignedUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplicationSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationCloudWatchLoggingOption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationInputProcessingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationReferenceDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationVpcConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicationOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicationSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DiscoverInputSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RollbackApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplicationMaintenanceConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisAnalyticsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/plugins/endpoints.rb b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/plugins/endpoints.rb
index 33d2fe2315f..34434be34c1 100644
--- a/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/plugins/endpoints.rb
+++ b/gems/aws-sdk-kinesisanalyticsv2/lib/aws-sdk-kinesisanalyticsv2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kinesisanalyticsv2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kinesisanalyticsv2/spec/endpoint_provider_spec.rb
index 686377b0d7e..63fd249f600 100644
--- a/gems/aws-sdk-kinesisanalyticsv2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kinesisanalyticsv2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::KinesisAnalyticsV2
describe EndpointProvider do
subject { Aws::KinesisAnalyticsV2::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-gov-west-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-gov-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -503,7 +503,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -517,7 +517,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -530,7 +530,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-iso-east-1.c2s.ic.gov"}}
end
@@ -544,7 +544,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -557,7 +557,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -571,7 +571,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -584,7 +584,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisanalytics.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -598,7 +598,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -639,7 +639,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -652,7 +652,7 @@ module Aws::KinesisAnalyticsV2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kinesisvideo/CHANGELOG.md b/gems/aws-sdk-kinesisvideo/CHANGELOG.md
index 968ad987514..3cf4875a6d3 100644
--- a/gems/aws-sdk-kinesisvideo/CHANGELOG.md
+++ b/gems/aws-sdk-kinesisvideo/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.70.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.69.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kinesisvideo/VERSION b/gems/aws-sdk-kinesisvideo/VERSION
index 49349856550..832e9afb6c1 100644
--- a/gems/aws-sdk-kinesisvideo/VERSION
+++ b/gems/aws-sdk-kinesisvideo/VERSION
@@ -1 +1 @@
-1.69.0
+1.70.0
diff --git a/gems/aws-sdk-kinesisvideo/aws-sdk-kinesisvideo.gemspec b/gems/aws-sdk-kinesisvideo/aws-sdk-kinesisvideo.gemspec
index 7436fbf54f5..e88440a23e3 100644
--- a/gems/aws-sdk-kinesisvideo/aws-sdk-kinesisvideo.gemspec
+++ b/gems/aws-sdk-kinesisvideo/aws-sdk-kinesisvideo.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesisvideo/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo.rb b/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo.rb
index 418a981c42a..ffd1b08122d 100644
--- a/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo.rb
+++ b/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::KinesisVideo
- GEM_VERSION = '1.69.0'
+ GEM_VERSION = '1.70.0'
end
diff --git a/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/client.rb b/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/client.rb
index 4e9b73ea220..927c8123b7f 100644
--- a/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/client.rb
+++ b/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/client.rb
@@ -1998,7 +1998,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kinesisvideo'
- context[:gem_version] = '1.69.0'
+ context[:gem_version] = '1.70.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/endpoints.rb b/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/endpoints.rb
index 50cb88d21e4..eb85bdb2d9a 100644
--- a/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/endpoints.rb
+++ b/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/endpoints.rb
@@ -14,420 +14,330 @@ module Endpoints
class CreateSignalingChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEdgeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSignalingChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEdgeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImageGenerationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMappedResourceConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMediaStorageConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNotificationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSignalingChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSignalingChannelEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEdgeAgentConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSignalingChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartEdgeConfigurationUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataRetention
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateImageGenerationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMediaStorageConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNotificationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSignalingChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideo::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/plugins/endpoints.rb b/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/plugins/endpoints.rb
index 956ee11ac4a..ac1b03f95f4 100644
--- a/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/plugins/endpoints.rb
+++ b/gems/aws-sdk-kinesisvideo/lib/aws-sdk-kinesisvideo/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kinesisvideo/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kinesisvideo/spec/endpoint_provider_spec.rb
index eb8221b6902..89a87aa6562 100644
--- a/gems/aws-sdk-kinesisvideo/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kinesisvideo/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::KinesisVideo
describe EndpointProvider do
subject { Aws::KinesisVideo::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::KinesisVideo
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::KinesisVideo
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::KinesisVideo
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::KinesisVideo
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::KinesisVideo
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::KinesisVideo
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::KinesisVideo
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::KinesisVideo
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::KinesisVideo
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::KinesisVideo
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::KinesisVideo
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::KinesisVideo
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::KinesisVideo
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::KinesisVideo
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::KinesisVideo
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::KinesisVideo
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::KinesisVideo
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::KinesisVideo
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::KinesisVideo
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::KinesisVideo
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::KinesisVideo
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::KinesisVideo
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kinesisvideoarchivedmedia/CHANGELOG.md b/gems/aws-sdk-kinesisvideoarchivedmedia/CHANGELOG.md
index b826d66e0a6..394894e03d3 100644
--- a/gems/aws-sdk-kinesisvideoarchivedmedia/CHANGELOG.md
+++ b/gems/aws-sdk-kinesisvideoarchivedmedia/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.67.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.66.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kinesisvideoarchivedmedia/VERSION b/gems/aws-sdk-kinesisvideoarchivedmedia/VERSION
index b6148bc0a75..65ee0959841 100644
--- a/gems/aws-sdk-kinesisvideoarchivedmedia/VERSION
+++ b/gems/aws-sdk-kinesisvideoarchivedmedia/VERSION
@@ -1 +1 @@
-1.66.0
+1.67.0
diff --git a/gems/aws-sdk-kinesisvideoarchivedmedia/aws-sdk-kinesisvideoarchivedmedia.gemspec b/gems/aws-sdk-kinesisvideoarchivedmedia/aws-sdk-kinesisvideoarchivedmedia.gemspec
index 10759e5fdc0..e3ef411faeb 100644
--- a/gems/aws-sdk-kinesisvideoarchivedmedia/aws-sdk-kinesisvideoarchivedmedia.gemspec
+++ b/gems/aws-sdk-kinesisvideoarchivedmedia/aws-sdk-kinesisvideoarchivedmedia.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesisvideoarchivedmedia/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia.rb b/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia.rb
index 12a34217d81..7bf95334ae5 100644
--- a/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia.rb
+++ b/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::KinesisVideoArchivedMedia
- GEM_VERSION = '1.66.0'
+ GEM_VERSION = '1.67.0'
end
diff --git a/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/client.rb b/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/client.rb
index 848713266d6..4046cac5a3c 100644
--- a/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/client.rb
+++ b/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/client.rb
@@ -1583,7 +1583,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kinesisvideoarchivedmedia'
- context[:gem_version] = '1.66.0'
+ context[:gem_version] = '1.67.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/endpoints.rb b/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/endpoints.rb
index b5eb283314a..6056e398a05 100644
--- a/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/endpoints.rb
+++ b/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/endpoints.rb
@@ -14,84 +14,66 @@ module Endpoints
class GetClip
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDASHStreamingSessionURL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHLSStreamingSessionURL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMediaForFragmentList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFragments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideoArchivedMedia::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/plugins/endpoints.rb b/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/plugins/endpoints.rb
index d75fc70e9fb..afe98e406e9 100644
--- a/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/plugins/endpoints.rb
+++ b/gems/aws-sdk-kinesisvideoarchivedmedia/lib/aws-sdk-kinesisvideoarchivedmedia/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kinesisvideoarchivedmedia/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kinesisvideoarchivedmedia/spec/endpoint_provider_spec.rb
index 141beb88edd..3948575ff81 100644
--- a/gems/aws-sdk-kinesisvideoarchivedmedia/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kinesisvideoarchivedmedia/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::KinesisVideoArchivedMedia
describe EndpointProvider do
subject { Aws::KinesisVideoArchivedMedia::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::KinesisVideoArchivedMedia
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kinesisvideomedia/CHANGELOG.md b/gems/aws-sdk-kinesisvideomedia/CHANGELOG.md
index b32062c3319..cb46c7eee7c 100644
--- a/gems/aws-sdk-kinesisvideomedia/CHANGELOG.md
+++ b/gems/aws-sdk-kinesisvideomedia/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.59.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.58.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kinesisvideomedia/VERSION b/gems/aws-sdk-kinesisvideomedia/VERSION
index 79f82f6b8e0..bb120e876c6 100644
--- a/gems/aws-sdk-kinesisvideomedia/VERSION
+++ b/gems/aws-sdk-kinesisvideomedia/VERSION
@@ -1 +1 @@
-1.58.0
+1.59.0
diff --git a/gems/aws-sdk-kinesisvideomedia/aws-sdk-kinesisvideomedia.gemspec b/gems/aws-sdk-kinesisvideomedia/aws-sdk-kinesisvideomedia.gemspec
index 49aad3d1d5b..d03c430e2b8 100644
--- a/gems/aws-sdk-kinesisvideomedia/aws-sdk-kinesisvideomedia.gemspec
+++ b/gems/aws-sdk-kinesisvideomedia/aws-sdk-kinesisvideomedia.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesisvideomedia/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia.rb b/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia.rb
index f4c47352c82..55b47f430af 100644
--- a/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia.rb
+++ b/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::KinesisVideoMedia
- GEM_VERSION = '1.58.0'
+ GEM_VERSION = '1.59.0'
end
diff --git a/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/client.rb b/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/client.rb
index 375f7f3a623..d778cb594f9 100644
--- a/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/client.rb
+++ b/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/client.rb
@@ -558,7 +558,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kinesisvideomedia'
- context[:gem_version] = '1.58.0'
+ context[:gem_version] = '1.59.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/endpoints.rb b/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/endpoints.rb
index fc8efa0ff06..33be53bfe2f 100644
--- a/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/endpoints.rb
+++ b/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class GetMedia
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideoMedia::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/plugins/endpoints.rb b/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/plugins/endpoints.rb
index 2826bf2d613..74497242829 100644
--- a/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/plugins/endpoints.rb
+++ b/gems/aws-sdk-kinesisvideomedia/lib/aws-sdk-kinesisvideomedia/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kinesisvideomedia/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kinesisvideomedia/spec/endpoint_provider_spec.rb
index 1704f894087..51d85dc4fe3 100644
--- a/gems/aws-sdk-kinesisvideomedia/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kinesisvideomedia/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::KinesisVideoMedia
describe EndpointProvider do
subject { Aws::KinesisVideoMedia::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::KinesisVideoMedia
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kinesisvideosignalingchannels/CHANGELOG.md b/gems/aws-sdk-kinesisvideosignalingchannels/CHANGELOG.md
index cc56a427bac..287fdef27c1 100644
--- a/gems/aws-sdk-kinesisvideosignalingchannels/CHANGELOG.md
+++ b/gems/aws-sdk-kinesisvideosignalingchannels/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.41.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.40.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kinesisvideosignalingchannels/VERSION b/gems/aws-sdk-kinesisvideosignalingchannels/VERSION
index 32b7211cb61..7d47e599800 100644
--- a/gems/aws-sdk-kinesisvideosignalingchannels/VERSION
+++ b/gems/aws-sdk-kinesisvideosignalingchannels/VERSION
@@ -1 +1 @@
-1.40.0
+1.41.0
diff --git a/gems/aws-sdk-kinesisvideosignalingchannels/aws-sdk-kinesisvideosignalingchannels.gemspec b/gems/aws-sdk-kinesisvideosignalingchannels/aws-sdk-kinesisvideosignalingchannels.gemspec
index 04f4742c2a5..93423ec3829 100644
--- a/gems/aws-sdk-kinesisvideosignalingchannels/aws-sdk-kinesisvideosignalingchannels.gemspec
+++ b/gems/aws-sdk-kinesisvideosignalingchannels/aws-sdk-kinesisvideosignalingchannels.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesisvideosignalingchannels/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels.rb b/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels.rb
index d40d68f15c1..d213b31ddab 100644
--- a/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels.rb
+++ b/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::KinesisVideoSignalingChannels
- GEM_VERSION = '1.40.0'
+ GEM_VERSION = '1.41.0'
end
diff --git a/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/client.rb b/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/client.rb
index d54b65ab971..2b5b5849742 100644
--- a/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/client.rb
+++ b/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/client.rb
@@ -572,7 +572,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kinesisvideosignalingchannels'
- context[:gem_version] = '1.40.0'
+ context[:gem_version] = '1.41.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/endpoints.rb b/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/endpoints.rb
index e52028867c7..886469340b3 100644
--- a/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/endpoints.rb
+++ b/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/endpoints.rb
@@ -14,28 +14,22 @@ module Endpoints
class GetIceServerConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideoSignalingChannels::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendAlexaOfferToMaster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideoSignalingChannels::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/plugins/endpoints.rb b/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/plugins/endpoints.rb
index 3ecdf003da7..cda5fce2442 100644
--- a/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/plugins/endpoints.rb
+++ b/gems/aws-sdk-kinesisvideosignalingchannels/lib/aws-sdk-kinesisvideosignalingchannels/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kinesisvideosignalingchannels/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kinesisvideosignalingchannels/spec/endpoint_provider_spec.rb
index 0c0f5f222df..917db567601 100644
--- a/gems/aws-sdk-kinesisvideosignalingchannels/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kinesisvideosignalingchannels/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::KinesisVideoSignalingChannels
describe EndpointProvider do
subject { Aws::KinesisVideoSignalingChannels::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::KinesisVideoSignalingChannels
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/CHANGELOG.md b/gems/aws-sdk-kinesisvideowebrtcstorage/CHANGELOG.md
index ae49ba86837..98d99931136 100644
--- a/gems/aws-sdk-kinesisvideowebrtcstorage/CHANGELOG.md
+++ b/gems/aws-sdk-kinesisvideowebrtcstorage/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.22.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.21.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/VERSION b/gems/aws-sdk-kinesisvideowebrtcstorage/VERSION
index 3500250a4b0..57807d6d0d0 100644
--- a/gems/aws-sdk-kinesisvideowebrtcstorage/VERSION
+++ b/gems/aws-sdk-kinesisvideowebrtcstorage/VERSION
@@ -1 +1 @@
-1.21.0
+1.22.0
diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/aws-sdk-kinesisvideowebrtcstorage.gemspec b/gems/aws-sdk-kinesisvideowebrtcstorage/aws-sdk-kinesisvideowebrtcstorage.gemspec
index b952885ca19..cebb6f9f912 100644
--- a/gems/aws-sdk-kinesisvideowebrtcstorage/aws-sdk-kinesisvideowebrtcstorage.gemspec
+++ b/gems/aws-sdk-kinesisvideowebrtcstorage/aws-sdk-kinesisvideowebrtcstorage.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kinesisvideowebrtcstorage/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage.rb
index f0f4bb445d5..f283ebb5f55 100644
--- a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage.rb
+++ b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::KinesisVideoWebRTCStorage
- GEM_VERSION = '1.21.0'
+ GEM_VERSION = '1.22.0'
end
diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client.rb
index 58d4e05513f..c3eb1caa5b8 100644
--- a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client.rb
+++ b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/client.rb
@@ -586,7 +586,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kinesisvideowebrtcstorage'
- context[:gem_version] = '1.21.0'
+ context[:gem_version] = '1.22.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoints.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoints.rb
index 6fd49d8efdd..a6775f2bbc0 100644
--- a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoints.rb
+++ b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/endpoints.rb
@@ -14,28 +14,22 @@ module Endpoints
class JoinStorageSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideoWebRTCStorage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class JoinStorageSessionAsViewer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KinesisVideoWebRTCStorage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/plugins/endpoints.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/plugins/endpoints.rb
index 4a7cefe8499..095d84d0623 100644
--- a/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/plugins/endpoints.rb
+++ b/gems/aws-sdk-kinesisvideowebrtcstorage/lib/aws-sdk-kinesisvideowebrtcstorage/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kinesisvideowebrtcstorage/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kinesisvideowebrtcstorage/spec/endpoint_provider_spec.rb
index 6496b07eee4..593490849aa 100644
--- a/gems/aws-sdk-kinesisvideowebrtcstorage/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kinesisvideowebrtcstorage/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::KinesisVideoWebRTCStorage
describe EndpointProvider do
subject { Aws::KinesisVideoWebRTCStorage::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kinesisvideo.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::KinesisVideoWebRTCStorage
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-kms/CHANGELOG.md b/gems/aws-sdk-kms/CHANGELOG.md
index ba272ee6201..b816f4e581c 100644
--- a/gems/aws-sdk-kms/CHANGELOG.md
+++ b/gems/aws-sdk-kms/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.91.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.90.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-kms/VERSION b/gems/aws-sdk-kms/VERSION
index 82e24bf241e..6979a6c0661 100644
--- a/gems/aws-sdk-kms/VERSION
+++ b/gems/aws-sdk-kms/VERSION
@@ -1 +1 @@
-1.90.0
+1.91.0
diff --git a/gems/aws-sdk-kms/aws-sdk-kms.gemspec b/gems/aws-sdk-kms/aws-sdk-kms.gemspec
index b5ac3a7202d..301a0850e29 100644
--- a/gems/aws-sdk-kms/aws-sdk-kms.gemspec
+++ b/gems/aws-sdk-kms/aws-sdk-kms.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-kms/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-kms/lib/aws-sdk-kms.rb b/gems/aws-sdk-kms/lib/aws-sdk-kms.rb
index 09dd2bd2ddc..77e471db689 100644
--- a/gems/aws-sdk-kms/lib/aws-sdk-kms.rb
+++ b/gems/aws-sdk-kms/lib/aws-sdk-kms.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::KMS
- GEM_VERSION = '1.90.0'
+ GEM_VERSION = '1.91.0'
end
diff --git a/gems/aws-sdk-kms/lib/aws-sdk-kms/client.rb b/gems/aws-sdk-kms/lib/aws-sdk-kms/client.rb
index dae825aca83..988664bf1b0 100644
--- a/gems/aws-sdk-kms/lib/aws-sdk-kms/client.rb
+++ b/gems/aws-sdk-kms/lib/aws-sdk-kms/client.rb
@@ -10778,7 +10778,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-kms'
- context[:gem_version] = '1.90.0'
+ context[:gem_version] = '1.91.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-kms/lib/aws-sdk-kms/endpoints.rb b/gems/aws-sdk-kms/lib/aws-sdk-kms/endpoints.rb
index f2bca06c9be..7acdb70c669 100644
--- a/gems/aws-sdk-kms/lib/aws-sdk-kms/endpoints.rb
+++ b/gems/aws-sdk-kms/lib/aws-sdk-kms/endpoints.rb
@@ -14,742 +14,583 @@ module Endpoints
class CancelKeyDeletion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConnectCustomKeyStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomKeyStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Decrypt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomKeyStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImportedKeyMaterial
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeriveSharedSecret
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomKeyStores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableKeyRotation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisconnectCustomKeyStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableKeyRotation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Encrypt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateDataKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateDataKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateDataKeyPairWithoutPlaintext
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateDataKeyWithoutPlaintext
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateMac
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateRandom
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKeyPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKeyRotationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetParametersForImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportKeyMaterial
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGrants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKeyPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKeyRotations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRetirableGrants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutKeyPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReEncrypt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplicateKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetireGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RotateKeyOnDemand
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ScheduleKeyDeletion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Sign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCustomKeyStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKeyDescription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePrimaryRegion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Verify
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyMac
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::KMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-kms/lib/aws-sdk-kms/plugins/endpoints.rb b/gems/aws-sdk-kms/lib/aws-sdk-kms/plugins/endpoints.rb
index 917b36567be..5b2e80b4b73 100644
--- a/gems/aws-sdk-kms/lib/aws-sdk-kms/plugins/endpoints.rb
+++ b/gems/aws-sdk-kms/lib/aws-sdk-kms/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-kms/spec/endpoint_provider_spec.rb b/gems/aws-sdk-kms/spec/endpoint_provider_spec.rb
index f9b48896f94..12e5fdfaac5 100644
--- a/gems/aws-sdk-kms/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-kms/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::KMS
describe EndpointProvider do
subject { Aws::KMS::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::KMS
end
end
- context 'For region af-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.af-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::KMS
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.ap-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::KMS
end
end
- context 'For region ap-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.ap-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::KMS
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.ap-northeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::KMS
end
end
- context 'For region ap-northeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.ap-northeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::KMS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.ap-northeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::KMS
end
end
- context 'For region ap-northeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.ap-northeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::KMS
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.ap-northeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::KMS
end
end
- context 'For region ap-northeast-3 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.ap-northeast-3.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::KMS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.ap-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::KMS
end
end
- context 'For region ap-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.ap-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::KMS
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.ap-southeast-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::KMS
end
end
- context 'For region ap-southeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.ap-southeast-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::KMS
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.ap-southeast-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::KMS
end
end
- context 'For region ap-southeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.ap-southeast-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::KMS
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.ap-southeast-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::KMS
end
end
- context 'For region ap-southeast-3 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.ap-southeast-3.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::KMS
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.ca-central-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::KMS
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.ca-central-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::KMS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.eu-central-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::KMS
end
end
- context 'For region eu-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.eu-central-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::KMS
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.eu-north-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::KMS
end
end
- context 'For region eu-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.eu-north-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::KMS
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.eu-south-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::KMS
end
end
- context 'For region eu-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.eu-south-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::KMS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.eu-west-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::KMS
end
end
- context 'For region eu-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.eu-west-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::KMS
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.eu-west-2.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::KMS
end
end
- context 'For region eu-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.eu-west-2.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::KMS
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.eu-west-3.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::KMS
end
end
- context 'For region eu-west-3 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.eu-west-3.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::KMS
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.me-south-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::KMS
end
end
- context 'For region me-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.me-south-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::KMS
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.sa-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::KMS
end
end
- context 'For region sa-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.sa-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::KMS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.us-east-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::KMS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.us-east-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::KMS
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.us-east-2.amazonaws.com"}}
end
@@ -560,7 +560,7 @@ module Aws::KMS
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.us-east-2.amazonaws.com"}}
end
@@ -574,7 +574,7 @@ module Aws::KMS
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.us-west-1.amazonaws.com"}}
end
@@ -588,7 +588,7 @@ module Aws::KMS
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.us-west-1.amazonaws.com"}}
end
@@ -602,7 +602,7 @@ module Aws::KMS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.us-west-2.amazonaws.com"}}
end
@@ -616,7 +616,7 @@ module Aws::KMS
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.us-west-2.amazonaws.com"}}
end
@@ -630,7 +630,7 @@ module Aws::KMS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.us-east-1.api.aws"}}
end
@@ -644,7 +644,7 @@ module Aws::KMS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.us-east-1.api.aws"}}
end
@@ -658,7 +658,7 @@ module Aws::KMS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.cn-north-1.amazonaws.com.cn"}}
end
@@ -672,7 +672,7 @@ module Aws::KMS
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -686,7 +686,7 @@ module Aws::KMS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -700,7 +700,7 @@ module Aws::KMS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -714,7 +714,7 @@ module Aws::KMS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -728,7 +728,7 @@ module Aws::KMS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.us-gov-east-1.amazonaws.com"}}
end
@@ -742,7 +742,7 @@ module Aws::KMS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -756,7 +756,7 @@ module Aws::KMS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.us-gov-west-1.amazonaws.com"}}
end
@@ -770,7 +770,7 @@ module Aws::KMS
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -784,7 +784,7 @@ module Aws::KMS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.us-gov-east-1.api.aws"}}
end
@@ -798,7 +798,7 @@ module Aws::KMS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.us-gov-east-1.api.aws"}}
end
@@ -812,7 +812,7 @@ module Aws::KMS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.us-iso-east-1.c2s.ic.gov"}}
end
@@ -826,7 +826,7 @@ module Aws::KMS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -840,7 +840,7 @@ module Aws::KMS
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.us-iso-west-1.c2s.ic.gov"}}
end
@@ -854,7 +854,7 @@ module Aws::KMS
end
end
- context 'For region us-iso-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.us-iso-west-1.c2s.ic.gov"}}
end
@@ -868,7 +868,7 @@ module Aws::KMS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -881,7 +881,7 @@ module Aws::KMS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -894,7 +894,7 @@ module Aws::KMS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -908,7 +908,7 @@ module Aws::KMS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://kms-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -922,7 +922,7 @@ module Aws::KMS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -935,7 +935,7 @@ module Aws::KMS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -948,7 +948,7 @@ module Aws::KMS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -962,7 +962,7 @@ module Aws::KMS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -976,7 +976,7 @@ module Aws::KMS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -989,7 +989,7 @@ module Aws::KMS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -1002,7 +1002,7 @@ module Aws::KMS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-lakeformation/CHANGELOG.md b/gems/aws-sdk-lakeformation/CHANGELOG.md
index 0d1e6428847..cf7b137f441 100644
--- a/gems/aws-sdk-lakeformation/CHANGELOG.md
+++ b/gems/aws-sdk-lakeformation/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.59.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.58.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-lakeformation/VERSION b/gems/aws-sdk-lakeformation/VERSION
index 79f82f6b8e0..bb120e876c6 100644
--- a/gems/aws-sdk-lakeformation/VERSION
+++ b/gems/aws-sdk-lakeformation/VERSION
@@ -1 +1 @@
-1.58.0
+1.59.0
diff --git a/gems/aws-sdk-lakeformation/aws-sdk-lakeformation.gemspec b/gems/aws-sdk-lakeformation/aws-sdk-lakeformation.gemspec
index 0660b9292a1..f8a7fd811ac 100644
--- a/gems/aws-sdk-lakeformation/aws-sdk-lakeformation.gemspec
+++ b/gems/aws-sdk-lakeformation/aws-sdk-lakeformation.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lakeformation/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation.rb b/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation.rb
index 8cae2bd2e68..daeffd80864 100644
--- a/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation.rb
+++ b/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::LakeFormation
- GEM_VERSION = '1.58.0'
+ GEM_VERSION = '1.59.0'
end
diff --git a/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/client.rb b/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/client.rb
index 154c5883eb3..4cf9dc2df12 100644
--- a/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/client.rb
+++ b/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/client.rb
@@ -3830,7 +3830,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-lakeformation'
- context[:gem_version] = '1.58.0'
+ context[:gem_version] = '1.59.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/endpoints.rb b/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/endpoints.rb
index bf370301079..664ada1e9c4 100644
--- a/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/endpoints.rb
+++ b/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/endpoints.rb
@@ -14,770 +14,605 @@ module Endpoints
class AddLFTagsToResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssumeDecoratedRoleWithSAML
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGrantPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchRevokePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelTransaction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CommitTransaction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataCellsFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLFTag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLakeFormationIdentityCenterConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLakeFormationOptIn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataCellsFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLFTag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLakeFormationIdentityCenterConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLakeFormationOptIn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteObjectsOnCancel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLakeFormationIdentityCenterConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransaction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExtendTransaction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataCellsFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataLakePrincipal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataLakeSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEffectivePermissionsForPath
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLFTag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueryState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueryStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceLFTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTableObjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemporaryGluePartitionCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemporaryGlueTableCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkUnitResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkUnits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GrantPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataCellsFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLFTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLakeFormationOptIns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTableStorageOptimizers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTransactions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDataLakeSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveLFTagsFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchDatabasesByLFTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchTablesByLFTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartQueryPlanning
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTransaction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataCellsFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLFTag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLakeFormationIdentityCenterConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTableObjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTableStorageOptimizer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LakeFormation::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/plugins/endpoints.rb b/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/plugins/endpoints.rb
index c0cdade3364..28261b3dabf 100644
--- a/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/plugins/endpoints.rb
+++ b/gems/aws-sdk-lakeformation/lib/aws-sdk-lakeformation/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-lakeformation/spec/endpoint_provider_spec.rb b/gems/aws-sdk-lakeformation/spec/endpoint_provider_spec.rb
index 19760d7aae0..4d89b18a0ad 100644
--- a/gems/aws-sdk-lakeformation/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-lakeformation/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LakeFormation
describe EndpointProvider do
subject { Aws::LakeFormation::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::LakeFormation
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LakeFormation
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::LakeFormation
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::LakeFormation
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::LakeFormation
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::LakeFormation
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::LakeFormation
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::LakeFormation
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::LakeFormation
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::LakeFormation
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::LakeFormation
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::LakeFormation
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::LakeFormation
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::LakeFormation
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::LakeFormation
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::LakeFormation
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.us-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.us-west-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.us-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::LakeFormation
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::LakeFormation
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::LakeFormation
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::LakeFormation
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::LakeFormation
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -559,7 +559,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -573,7 +573,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -586,7 +586,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.us-iso-east-1.c2s.ic.gov"}}
end
@@ -600,7 +600,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::LakeFormation
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lakeformation.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -654,7 +654,7 @@ module Aws::LakeFormation
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::LakeFormation
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::LakeFormation
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -695,7 +695,7 @@ module Aws::LakeFormation
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -708,7 +708,7 @@ module Aws::LakeFormation
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-lambda/CHANGELOG.md b/gems/aws-sdk-lambda/CHANGELOG.md
index cd8be89efea..f20b2b483f4 100644
--- a/gems/aws-sdk-lambda/CHANGELOG.md
+++ b/gems/aws-sdk-lambda/CHANGELOG.md
@@ -1,6 +1,21 @@
Unreleased Changes
------------------
+1.132.0 (2024-09-19)
+------------------
+
+* Feature - Tagging support for Lambda event source mapping, and code signing configuration resources.
+
+1.131.0 (2024-09-17)
+------------------
+
+* Feature - Support for JSON resource-based policies and block public access
+
+1.130.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.129.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-lambda/VERSION b/gems/aws-sdk-lambda/VERSION
index 365ef018e15..82c65d83bbc 100644
--- a/gems/aws-sdk-lambda/VERSION
+++ b/gems/aws-sdk-lambda/VERSION
@@ -1 +1 @@
-1.129.0
+1.132.0
diff --git a/gems/aws-sdk-lambda/aws-sdk-lambda.gemspec b/gems/aws-sdk-lambda/aws-sdk-lambda.gemspec
index 60900e2713b..8e624f8027d 100644
--- a/gems/aws-sdk-lambda/aws-sdk-lambda.gemspec
+++ b/gems/aws-sdk-lambda/aws-sdk-lambda.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lambda/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-lambda/lib/aws-sdk-lambda.rb b/gems/aws-sdk-lambda/lib/aws-sdk-lambda.rb
index 071e2cb01bb..93631c4d9e2 100644
--- a/gems/aws-sdk-lambda/lib/aws-sdk-lambda.rb
+++ b/gems/aws-sdk-lambda/lib/aws-sdk-lambda.rb
@@ -54,6 +54,6 @@
# @!group service
module Aws::Lambda
- GEM_VERSION = '1.129.0'
+ GEM_VERSION = '1.132.0'
end
diff --git a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/client.rb b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/client.rb
index 9973d473b4f..cf34302c6fb 100644
--- a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/client.rb
+++ b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/client.rb
@@ -501,6 +501,25 @@ def initialize(*args)
# * {Types::AddLayerVersionPermissionResponse#statement #statement} => String
# * {Types::AddLayerVersionPermissionResponse#revision_id #revision_id} => String
#
+ #
+ # @example Example: To add permissions to a layer version
+ #
+ # # The following example grants permission for the account 223456789012 to use version 1 of a layer named my-layer.
+ #
+ # resp = client.add_layer_version_permission({
+ # action: "lambda:GetLayerVersion",
+ # layer_name: "my-layer",
+ # principal: "223456789012",
+ # statement_id: "xaccount",
+ # version_number: 1,
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # revision_id: "35d87451-f796-4a3f-a618-95a3671b0a0c",
+ # statement: "{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::223456789012:root\"},\"Action\":\"lambda:GetLayerVersion\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1\"}",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.add_layer_version_permission({
@@ -527,13 +546,12 @@ def add_layer_version_permission(params = {}, options = {})
req.send_request(options)
end
- # Grants an Amazon Web Servicesservice, Amazon Web Services account, or
- # Amazon Web Services organization permission to use a function. You can
- # apply the policy at the function level, or specify a qualifier to
- # restrict access to a single version or alias. If you use a qualifier,
- # the invoker must use the full Amazon Resource Name (ARN) of that
- # version or alias to invoke the function. Note: Lambda does not support
- # adding policies to version $LATEST.
+ # Grants a [principal][1] permission to use a function. You can apply
+ # the policy at the function level, or specify a qualifier to restrict
+ # access to a single version or alias. If you use a qualifier, the
+ # invoker must use the full Amazon Resource Name (ARN) of that version
+ # or alias to invoke the function. Note: Lambda does not support adding
+ # policies to version $LATEST.
#
# To grant permission to another account, specify the account ID as the
# `Principal`. To grant permission to an organization defined in
@@ -548,11 +566,12 @@ def add_layer_version_permission(params = {}, options = {})
#
# This operation adds a statement to a resource-based permissions policy
# for the function. For more information about function policies, see
- # [Using resource-based policies for Lambda][1].
+ # [Using resource-based policies for Lambda][2].
#
#
#
- # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
+ # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_principal.html#Principal_specifying
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
#
# @option params [required, String] :function_name
# The name or ARN of the Lambda function, version, or alias.
@@ -580,10 +599,10 @@ def add_layer_version_permission(params = {}, options = {})
# `lambda:InvokeFunction` or `lambda:GetFunction`.
#
# @option params [required, String] :principal
- # The Amazon Web Servicesservice or Amazon Web Services account that
- # invokes the function. If you specify a service, use `SourceArn` or
- # `SourceAccount` to limit who can invoke the function through that
- # service.
+ # The Amazon Web Servicesservice, Amazon Web Services account, IAM user,
+ # or IAM role that invokes the function. If you specify a service, use
+ # `SourceArn` or `SourceAccount` to limit who can invoke the function
+ # through that service.
#
# @option params [String] :source_arn
# For Amazon Web Servicesservices, the ARN of the Amazon Web Services
@@ -632,6 +651,42 @@ def add_layer_version_permission(params = {}, options = {})
#
# * {Types::AddPermissionResponse#statement #statement} => String
#
+ #
+ # @example Example: To grant Amazon S3 permission to invoke a function
+ #
+ # # The following example adds permission for Amazon S3 to invoke a Lambda function named my-function for notifications from
+ # # a bucket named my-bucket-1xpuxmplzrlbh in account 123456789012.
+ #
+ # resp = client.add_permission({
+ # action: "lambda:InvokeFunction",
+ # function_name: "my-function",
+ # principal: "s3.amazonaws.com",
+ # source_account: "123456789012",
+ # source_arn: "arn:aws:s3:::my-bucket-1xpuxmplzrlbh/*",
+ # statement_id: "s3",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # statement: "{\"Sid\":\"s3\",\"Effect\":\"Allow\",\"Principal\":{\"Service\":\"s3.amazonaws.com\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function\",\"Condition\":{\"StringEquals\":{\"AWS:SourceAccount\":\"123456789012\"},\"ArnLike\":{\"AWS:SourceArn\":\"arn:aws:s3:::my-bucket-1xpuxmplzrlbh\"}}}",
+ # }
+ #
+ # @example Example: To grant another account permission to invoke a function
+ #
+ # # The following example adds permission for account 223456789012 invoke a Lambda function named my-function.
+ #
+ # resp = client.add_permission({
+ # action: "lambda:InvokeFunction",
+ # function_name: "my-function",
+ # principal: "223456789012",
+ # statement_id: "xaccount",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # statement: "{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::223456789012:root\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function\"}",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.add_permission({
@@ -713,6 +768,27 @@ def add_permission(params = {}, options = {})
# * {Types::AliasConfiguration#routing_config #routing_config} => Types::AliasRoutingConfiguration
# * {Types::AliasConfiguration#revision_id #revision_id} => String
#
+ #
+ # @example Example: To create an alias for a Lambda function
+ #
+ # # The following example creates an alias named LIVE that points to version 1 of the my-function Lambda function.
+ #
+ # resp = client.create_alias({
+ # description: "alias for live version of function",
+ # function_name: "my-function",
+ # function_version: "1",
+ # name: "LIVE",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # alias_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:LIVE",
+ # description: "alias for live version of function",
+ # function_version: "1",
+ # name: "LIVE",
+ # revision_id: "873282ed-xmpl-4dc8-a069-d0c647e470c6",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.create_alias({
@@ -765,6 +841,9 @@ def create_alias(params = {}, options = {})
# The code signing policies define the actions to take if the validation
# checks fail.
#
+ # @option params [Hash] :tags
+ # A list of tags to add to the code signing configuration.
+ #
# @return [Types::CreateCodeSigningConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateCodeSigningConfigResponse#code_signing_config #code_signing_config} => Types::CodeSigningConfig
@@ -779,6 +858,9 @@ def create_alias(params = {}, options = {})
# code_signing_policies: {
# untrusted_artifact_on_deployment: "Warn", # accepts Warn, Enforce
# },
+ # tags: {
+ # "TagKey" => "TagValue",
+ # },
# })
#
# @example Response structure
@@ -1003,6 +1085,9 @@ def create_code_signing_config(params = {}, options = {})
# set to infinite (-1), failed records are retried until the record
# expires.
#
+ # @option params [Hash] :tags
+ # A list of tags to apply to the event source mapping.
+ #
# @option params [Integer] :tumbling_window_in_seconds
# (Kinesis and DynamoDB Streams only) The duration in seconds of a
# processing window for DynamoDB and Kinesis Streams event sources. A
@@ -1086,6 +1171,29 @@ def create_code_signing_config(params = {}, options = {})
# * {Types::EventSourceMappingConfiguration#document_db_event_source_config #document_db_event_source_config} => Types::DocumentDBEventSourceConfig
# * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
# * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
+ # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
+ #
+ #
+ # @example Example: To create a mapping between an event source and an AWS Lambda function
+ #
+ # # The following example creates a mapping between an SQS queue and the my-function Lambda function.
+ #
+ # resp = client.create_event_source_mapping({
+ # batch_size: 5,
+ # event_source_arn: "arn:aws:sqs:us-west-2:123456789012:my-queue",
+ # function_name: "my-function",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # batch_size: 5,
+ # event_source_arn: "arn:aws:sqs:us-west-2:123456789012:my-queue",
+ # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # last_modified: Time.parse(1569284520.333),
+ # state: "Creating",
+ # state_transition_reason: "USER_INITIATED",
+ # uuid: "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE",
+ # }
#
# @example Request syntax with placeholder values
#
@@ -1116,6 +1224,9 @@ def create_code_signing_config(params = {}, options = {})
# maximum_record_age_in_seconds: 1,
# bisect_batch_on_function_error: false,
# maximum_retry_attempts: 1,
+ # tags: {
+ # "TagKey" => "TagValue",
+ # },
# tumbling_window_in_seconds: 1,
# topics: ["Topic"],
# queues: ["Queue"],
@@ -1191,6 +1302,7 @@ def create_code_signing_config(params = {}, options = {})
# resp.kms_key_arn #=> String
# resp.filter_criteria_error.error_code #=> String
# resp.filter_criteria_error.message #=> String
+ # resp.event_source_mapping_arn #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateEventSourceMapping AWS API Documentation
#
@@ -1498,6 +1610,69 @@ def create_event_source_mapping(params = {}, options = {})
# * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
# * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
#
+ #
+ # @example Example: To create a function
+ #
+ # # The following example creates a function with a deployment package in Amazon S3 and enables X-Ray tracing and
+ # # environment variable encryption.
+ #
+ # resp = client.create_function({
+ # code: {
+ # s3_bucket: "my-bucket-1xpuxmplzrlbh",
+ # s3_key: "function.zip",
+ # },
+ # description: "Process image objects from Amazon S3.",
+ # environment: {
+ # variables: {
+ # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
+ # "PREFIX" => "inbound",
+ # },
+ # },
+ # function_name: "my-function",
+ # handler: "index.handler",
+ # kms_key_arn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ # memory_size: 256,
+ # publish: true,
+ # role: "arn:aws:iam::123456789012:role/lambda-role",
+ # runtime: "nodejs12.x",
+ # tags: {
+ # "DEPARTMENT" => "Assets",
+ # },
+ # timeout: 15,
+ # tracing_config: {
+ # mode: "Active",
+ # },
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # code_sha_256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ # code_size: 5797206,
+ # description: "Process image objects from Amazon S3.",
+ # environment: {
+ # variables: {
+ # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
+ # "PREFIX" => "inbound",
+ # },
+ # },
+ # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # function_name: "my-function",
+ # handler: "index.handler",
+ # kms_key_arn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ # last_modified: Time.parse("2020-04-10T19:06:32.563+0000"),
+ # last_update_status: "Successful",
+ # memory_size: 256,
+ # revision_id: "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
+ # role: "arn:aws:iam::123456789012:role/lambda-role",
+ # runtime: "nodejs12.x",
+ # state: "Active",
+ # timeout: 15,
+ # tracing_config: {
+ # mode: "Active",
+ # },
+ # version: "1",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.create_function({
@@ -1778,6 +1953,16 @@ def create_function_url_config(params = {}, options = {})
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
+ #
+ # @example Example: To delete a Lambda function alias
+ #
+ # # The following example deletes an alias named BLUE from a function named my-function
+ #
+ # resp = client.delete_alias({
+ # function_name: "my-function",
+ # name: "BLUE",
+ # })
+ #
# @example Request syntax with placeholder values
#
# resp = client.delete_alias({
@@ -1861,6 +2046,27 @@ def delete_code_signing_config(params = {}, options = {})
# * {Types::EventSourceMappingConfiguration#document_db_event_source_config #document_db_event_source_config} => Types::DocumentDBEventSourceConfig
# * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
# * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
+ # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
+ #
+ #
+ # @example Example: To delete a Lambda function event source mapping
+ #
+ # # The following example deletes an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.
+ #
+ # resp = client.delete_event_source_mapping({
+ # uuid: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # batch_size: 5,
+ # event_source_arn: "arn:aws:sqs:us-west-2:123456789012:my-queue",
+ # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
+ # last_modified: Time.parse("${timestamp}"),
+ # state: "Enabled",
+ # state_transition_reason: "USER_INITIATED",
+ # uuid: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2",
+ # }
#
# @example Request syntax with placeholder values
#
@@ -1911,6 +2117,7 @@ def delete_code_signing_config(params = {}, options = {})
# resp.kms_key_arn #=> String
# resp.filter_criteria_error.error_code #=> String
# resp.filter_criteria_error.message #=> String
+ # resp.event_source_mapping_arn #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteEventSourceMapping AWS API Documentation
#
@@ -1954,6 +2161,16 @@ def delete_event_source_mapping(params = {}, options = {})
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
+ #
+ # @example Example: To delete a version of a Lambda function
+ #
+ # # The following example deletes version 1 of a Lambda function named my-function.
+ #
+ # resp = client.delete_function({
+ # function_name: "my-function",
+ # qualifier: "1",
+ # })
+ #
# @example Request syntax with placeholder values
#
# resp = client.delete_function({
@@ -2023,6 +2240,15 @@ def delete_function_code_signing_config(params = {}, options = {})
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
+ #
+ # @example Example: To remove the reserved concurrent execution limit from a function
+ #
+ # # The following example deletes the reserved concurrent execution limit from a function named my-function.
+ #
+ # resp = client.delete_function_concurrency({
+ # function_name: "my-function",
+ # })
+ #
# @example Request syntax with placeholder values
#
# resp = client.delete_function_concurrency({
@@ -2066,6 +2292,17 @@ def delete_function_concurrency(params = {}, options = {})
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
+ #
+ # @example Example: To delete an asynchronous invocation configuration
+ #
+ # # The following example deletes the asynchronous invocation configuration for the GREEN alias of a function named
+ # # my-function.
+ #
+ # resp = client.delete_function_event_invoke_config({
+ # function_name: "my-function",
+ # qualifier: "GREEN",
+ # })
+ #
# @example Request syntax with placeholder values
#
# resp = client.delete_function_event_invoke_config({
@@ -2138,6 +2375,16 @@ def delete_function_url_config(params = {}, options = {})
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
+ #
+ # @example Example: To delete a version of a Lambda layer
+ #
+ # # The following example deletes version 2 of a layer named my-layer.
+ #
+ # resp = client.delete_layer_version({
+ # layer_name: "my-layer",
+ # version_number: 2,
+ # })
+ #
# @example Request syntax with placeholder values
#
# resp = client.delete_layer_version({
@@ -2176,6 +2423,17 @@ def delete_layer_version(params = {}, options = {})
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
+ #
+ # @example Example: To delete a provisioned concurrency configuration
+ #
+ # # The following example deletes the provisioned concurrency configuration for the GREEN alias of a function named
+ # # my-function.
+ #
+ # resp = client.delete_provisioned_concurrency_config({
+ # function_name: "my-function",
+ # qualifier: "GREEN",
+ # })
+ #
# @example Request syntax with placeholder values
#
# resp = client.delete_provisioned_concurrency_config({
@@ -2192,6 +2450,48 @@ def delete_provisioned_concurrency_config(params = {}, options = {})
req.send_request(options)
end
+ # The option to create and modify full JSON resource-based policies, and
+ # to use the PutResourcePolicy, GetResourcePolicy, and
+ # DeleteResourcePolicy APIs, won't be available in all Amazon Web
+ # Services Regions until September 30, 2024.
+ #
+ #
+ #
+ # Deletes a [resource-based policy][1] from a function.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
+ #
+ # @option params [required, String] :resource_arn
+ # The Amazon Resource Name (ARN) of the function you want to delete the
+ # policy from. You can use either a qualified or an unqualified ARN, but
+ # the value you specify must be a complete ARN and wildcard characters
+ # are not accepted.
+ #
+ # @option params [String] :revision_id
+ # Delete the existing policy only if its revision ID matches the string
+ # you specify. To find the revision ID of the policy currently attached
+ # to your function, use the GetResourcePolicy action.
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.delete_resource_policy({
+ # resource_arn: "PolicyResourceArn", # required
+ # revision_id: "RevisionId",
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteResourcePolicy AWS API Documentation
+ #
+ # @overload delete_resource_policy(params = {})
+ # @param [Hash] params ({})
+ def delete_resource_policy(params = {}, options = {})
+ req = build_request(:delete_resource_policy, params)
+ req.send_request(options)
+ end
+
# Retrieves details about your account's [limits][1] and usage in an
# Amazon Web Services Region.
#
@@ -2204,6 +2504,29 @@ def delete_provisioned_concurrency_config(params = {}, options = {})
# * {Types::GetAccountSettingsResponse#account_limit #account_limit} => Types::AccountLimit
# * {Types::GetAccountSettingsResponse#account_usage #account_usage} => Types::AccountUsage
#
+ #
+ # @example Example: To get account settings
+ #
+ # # This operation takes no parameters and returns details about storage and concurrency quotas in the current Region.
+ #
+ # resp = client.get_account_settings({
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # account_limit: {
+ # code_size_unzipped: 262144000,
+ # code_size_zipped: 52428800,
+ # concurrent_executions: 1000,
+ # total_code_size: 80530636800,
+ # unreserved_concurrent_executions: 1000,
+ # },
+ # account_usage: {
+ # function_count: 4,
+ # total_code_size: 9426,
+ # },
+ # }
+ #
# @example Response structure
#
# resp.account_limit.total_code_size #=> Integer
@@ -2256,6 +2579,25 @@ def get_account_settings(params = {}, options = {})
# * {Types::AliasConfiguration#routing_config #routing_config} => Types::AliasRoutingConfiguration
# * {Types::AliasConfiguration#revision_id #revision_id} => String
#
+ #
+ # @example Example: To get a Lambda function alias
+ #
+ # # The following example returns details about an alias named BLUE for a function named my-function
+ #
+ # resp = client.get_alias({
+ # function_name: "my-function",
+ # name: "BLUE",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # alias_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE",
+ # description: "Production environment BLUE.",
+ # function_version: "3",
+ # name: "BLUE",
+ # revision_id: "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.get_alias({
@@ -2353,6 +2695,34 @@ def get_code_signing_config(params = {}, options = {})
# * {Types::EventSourceMappingConfiguration#document_db_event_source_config #document_db_event_source_config} => Types::DocumentDBEventSourceConfig
# * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
# * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
+ # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
+ #
+ #
+ # @example Example: To get a Lambda function's event source mapping
+ #
+ # # The following example returns details about an event source mapping. To get a mapping's UUID, use
+ # # ListEventSourceMappings.
+ #
+ # resp = client.get_event_source_mapping({
+ # uuid: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # batch_size: 500,
+ # bisect_batch_on_function_error: false,
+ # destination_config: {
+ # },
+ # event_source_arn: "arn:aws:sqs:us-east-2:123456789012:mySQSqueue",
+ # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:myFunction",
+ # last_modified: Time.parse("${timestamp}"),
+ # last_processing_result: "No records processed",
+ # maximum_record_age_in_seconds: 604800,
+ # maximum_retry_attempts: 10000,
+ # state: "Creating",
+ # state_transition_reason: "User action",
+ # uuid: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2",
+ # }
#
# @example Request syntax with placeholder values
#
@@ -2403,6 +2773,7 @@ def get_code_signing_config(params = {}, options = {})
# resp.kms_key_arn #=> String
# resp.filter_criteria_error.error_code #=> String
# resp.filter_criteria_error.message #=> String
+ # resp.event_source_mapping_arn #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetEventSourceMapping AWS API Documentation
#
@@ -2446,6 +2817,54 @@ def get_event_source_mapping(params = {}, options = {})
# * {Types::GetFunctionResponse#tags #tags} => Hash<String,String>
# * {Types::GetFunctionResponse#concurrency #concurrency} => Types::Concurrency
#
+ #
+ # @example Example: To get a Lambda function
+ #
+ # # The following example returns code and configuration details for version 1 of a function named my-function.
+ #
+ # resp = client.get_function({
+ # function_name: "my-function",
+ # qualifier: "1",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # code: {
+ # location: "https://awslambda-us-west-2-tasks.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-function-e7d9d1ed-xmpl-4f79-904a-4b87f2681f30?versionId=sH3TQwBOaUy...",
+ # repository_type: "S3",
+ # },
+ # configuration: {
+ # code_sha_256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ # code_size: 5797206,
+ # description: "Process image objects from Amazon S3.",
+ # environment: {
+ # variables: {
+ # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
+ # "PREFIX" => "inbound",
+ # },
+ # },
+ # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # function_name: "my-function",
+ # handler: "index.handler",
+ # kms_key_arn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ # last_modified: Time.parse("2020-04-10T19:06:32.563+0000"),
+ # last_update_status: "Successful",
+ # memory_size: 256,
+ # revision_id: "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
+ # role: "arn:aws:iam::123456789012:role/lambda-role",
+ # runtime: "nodejs12.x",
+ # state: "Active",
+ # timeout: 15,
+ # tracing_config: {
+ # mode: "Active",
+ # },
+ # version: "$LATEST",
+ # },
+ # tags: {
+ # "DEPARTMENT" => "Assets",
+ # },
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.get_function({
@@ -2607,6 +3026,20 @@ def get_function_code_signing_config(params = {}, options = {})
#
# * {Types::GetFunctionConcurrencyResponse#reserved_concurrent_executions #reserved_concurrent_executions} => Integer
#
+ #
+ # @example Example: To get the reserved concurrency setting for a function
+ #
+ # # The following example returns the reserved concurrency setting for a function named my-function.
+ #
+ # resp = client.get_function_concurrency({
+ # function_name: "my-function",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # reserved_concurrent_executions: 250,
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.get_function_concurrency({
@@ -2693,6 +3126,45 @@ def get_function_concurrency(params = {}, options = {})
# * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
# * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
#
+ #
+ # @example Example: To get a Lambda function's event source mapping
+ #
+ # # The following example returns and configuration details for version 1 of a function named my-function.
+ #
+ # resp = client.get_function_configuration({
+ # function_name: "my-function",
+ # qualifier: "1",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # code_sha_256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ # code_size: 5797206,
+ # description: "Process image objects from Amazon S3.",
+ # environment: {
+ # variables: {
+ # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
+ # "PREFIX" => "inbound",
+ # },
+ # },
+ # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # function_name: "my-function",
+ # handler: "index.handler",
+ # kms_key_arn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ # last_modified: Time.parse("2020-04-10T19:06:32.563+0000"),
+ # last_update_status: "Successful",
+ # memory_size: 256,
+ # revision_id: "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
+ # role: "arn:aws:iam::123456789012:role/lambda-role",
+ # runtime: "nodejs12.x",
+ # state: "Active",
+ # timeout: 15,
+ # tracing_config: {
+ # mode: "Active",
+ # },
+ # version: "$LATEST",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.get_function_configuration({
@@ -2816,6 +3288,32 @@ def get_function_configuration(params = {}, options = {})
# * {Types::FunctionEventInvokeConfig#maximum_event_age_in_seconds #maximum_event_age_in_seconds} => Integer
# * {Types::FunctionEventInvokeConfig#destination_config #destination_config} => Types::DestinationConfig
#
+ #
+ # @example Example: To get an asynchronous invocation configuration
+ #
+ # # The following example returns the asynchronous invocation configuration for the BLUE alias of a function named
+ # # my-function.
+ #
+ # resp = client.get_function_event_invoke_config({
+ # function_name: "my-function",
+ # qualifier: "BLUE",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # destination_config: {
+ # on_failure: {
+ # destination: "arn:aws:sqs:us-east-2:123456789012:failed-invocations",
+ # },
+ # on_success: {
+ # },
+ # },
+ # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
+ # last_modified: Time.parse("${timestamp}"),
+ # maximum_event_age_in_seconds: 3600,
+ # maximum_retry_attempts: 0,
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.get_function_event_invoke_config({
@@ -2962,6 +3460,35 @@ def get_function_url_config(params = {}, options = {})
# * {Types::GetLayerVersionResponse#license_info #license_info} => String
# * {Types::GetLayerVersionResponse#compatible_architectures #compatible_architectures} => Array<String>
#
+ #
+ # @example Example: To get information about a Lambda layer version
+ #
+ # # The following example returns information for version 1 of a layer named my-layer.
+ #
+ # resp = client.get_layer_version({
+ # layer_name: "my-layer",
+ # version_number: 1,
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # compatible_runtimes: [
+ # "python3.6",
+ # "python3.7",
+ # ],
+ # content: {
+ # code_sha_256: "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=",
+ # code_size: 169,
+ # location: "https://awslambda-us-east-2-layers.s3.us-east-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH...",
+ # },
+ # created_date: Time.parse("2018-11-14T23:03:52.894+0000"),
+ # description: "My Python layer",
+ # layer_arn: "arn:aws:lambda:us-east-2:123456789012:layer:my-layer",
+ # layer_version_arn: "arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1",
+ # license_info: "MIT",
+ # version: 1,
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.get_layer_version({
@@ -3018,6 +3545,32 @@ def get_layer_version(params = {}, options = {})
# * {Types::GetLayerVersionResponse#license_info #license_info} => String
# * {Types::GetLayerVersionResponse#compatible_architectures #compatible_architectures} => Array<String>
#
+ #
+ # @example Example: To get information about a Lambda layer version
+ #
+ # # The following example returns information about the layer version with the specified Amazon Resource Name (ARN).
+ #
+ # resp = client.get_layer_version_by_arn({
+ # arn: "arn:aws:lambda:ca-central-1:123456789012:layer:blank-python-lib:3",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # compatible_runtimes: [
+ # "python3.8",
+ # ],
+ # content: {
+ # code_sha_256: "6x+xmpl/M3BnQUk7gS9sGmfeFsR/npojXoA3fZUv4eU=",
+ # code_size: 9529009,
+ # location: "https://awslambda-us-east-2-layers.s3.us-east-2.amazonaws.com/snapshots/123456789012/blank-python-lib-e5212378-xmpl-44ee-8398-9d8ec5113949?versionId=WbZnvf...",
+ # },
+ # created_date: Time.parse("2020-03-31T00:35:18.949+0000"),
+ # description: "Dependencies for the blank-python sample app.",
+ # layer_arn: "arn:aws:lambda:us-east-2:123456789012:layer:blank-python-lib",
+ # layer_version_arn: "arn:aws:lambda:us-east-2:123456789012:layer:blank-python-lib:3",
+ # version: 3,
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.get_layer_version_by_arn({
@@ -3122,6 +3675,22 @@ def get_layer_version_policy(params = {}, options = {})
# * {Types::GetPolicyResponse#policy #policy} => String
# * {Types::GetPolicyResponse#revision_id #revision_id} => String
#
+ #
+ # @example Example: To retrieve a Lambda function policy
+ #
+ # # The following example returns the resource-based policy for version 1 of a Lambda function named my-function.
+ #
+ # resp = client.get_policy({
+ # function_name: "my-function",
+ # qualifier: "1",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # policy: "{\"Version\":\"2012-10-17\",\"Id\":\"default\",\"Statement\":[{\"Sid\":\"xaccount\",\"Effect\":\"Allow\",\"Principal\":{\"AWS\":\"arn:aws:iam::123456789012:root\"},\"Action\":\"lambda:InvokeFunction\",\"Resource\":\"arn:aws:lambda:us-east-2:123456789012:function:my-function:1\"}]}",
+ # revision_id: "4843f2f6-7c59-4fda-b484-afd0bc0e22b8",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.get_policy({
@@ -3173,6 +3742,45 @@ def get_policy(params = {}, options = {})
# * {Types::GetProvisionedConcurrencyConfigResponse#status_reason #status_reason} => String
# * {Types::GetProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
#
+ #
+ # @example Example: To view a provisioned concurrency configuration
+ #
+ # # The following example displays details for the provisioned concurrency configuration for the BLUE alias of the specified
+ # # function.
+ #
+ # resp = client.get_provisioned_concurrency_config({
+ # function_name: "my-function",
+ # qualifier: "BLUE",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # allocated_provisioned_concurrent_executions: 100,
+ # available_provisioned_concurrent_executions: 100,
+ # last_modified: Time.parse("2019-12-31T20:28:49+0000"),
+ # requested_provisioned_concurrent_executions: 100,
+ # status: "READY",
+ # }
+ #
+ # @example Example: To get a provisioned concurrency configuration
+ #
+ # # The following example returns details for the provisioned concurrency configuration for the BLUE alias of the specified
+ # # function.
+ #
+ # resp = client.get_provisioned_concurrency_config({
+ # function_name: "my-function",
+ # qualifier: "BLUE",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # allocated_provisioned_concurrent_executions: 100,
+ # available_provisioned_concurrent_executions: 100,
+ # last_modified: Time.parse("2019-12-31T20:28:49+0000"),
+ # requested_provisioned_concurrent_executions: 100,
+ # status: "READY",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.get_provisioned_concurrency_config({
@@ -3198,6 +3806,86 @@ def get_provisioned_concurrency_config(params = {}, options = {})
req.send_request(options)
end
+ # The option to configure public-access settings, and to use the
+ # PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be
+ # available in all Amazon Web Services Regions until September 30, 2024.
+ #
+ #
+ #
+ # Retrieve the public-access settings for a function.
+ #
+ # @option params [required, String] :resource_arn
+ # The Amazon Resource Name (ARN) of the function you want to retrieve
+ # public-access settings for.
+ #
+ # @return [Types::GetPublicAccessBlockConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::GetPublicAccessBlockConfigResponse#public_access_block_config #public_access_block_config} => Types::PublicAccessBlockConfig
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.get_public_access_block_config({
+ # resource_arn: "PublicAccessBlockResourceArn", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.public_access_block_config.block_public_policy #=> Boolean
+ # resp.public_access_block_config.restrict_public_resource #=> Boolean
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPublicAccessBlockConfig AWS API Documentation
+ #
+ # @overload get_public_access_block_config(params = {})
+ # @param [Hash] params ({})
+ def get_public_access_block_config(params = {}, options = {})
+ req = build_request(:get_public_access_block_config, params)
+ req.send_request(options)
+ end
+
+ # The option to create and modify full JSON resource-based policies, and
+ # to use the PutResourcePolicy, GetResourcePolicy, and
+ # DeleteResourcePolicy APIs, won't be available in all Amazon Web
+ # Services Regions until September 30, 2024.
+ #
+ #
+ #
+ # Retrieves the [resource-based policy][1] attached to a function.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
+ #
+ # @option params [required, String] :resource_arn
+ # The Amazon Resource Name (ARN) of the function you want to retrieve
+ # the policy for. You can use either a qualified or an unqualified ARN,
+ # but the value you specify must be a complete ARN and wildcard
+ # characters are not accepted.
+ #
+ # @return [Types::GetResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::GetResourcePolicyResponse#policy #policy} => String
+ # * {Types::GetResourcePolicyResponse#revision_id #revision_id} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.get_resource_policy({
+ # resource_arn: "PolicyResourceArn", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.policy #=> String
+ # resp.revision_id #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicy AWS API Documentation
+ #
+ # @overload get_resource_policy(params = {})
+ # @param [Hash] params ({})
+ def get_resource_policy(params = {}, options = {})
+ req = build_request(:get_resource_policy, params)
+ req.send_request(options)
+ end
+
# Retrieves the runtime management configuration for a function's
# version. If the runtime update mode is **Manual**, this includes the
# ARN of the runtime version and the runtime update mode. If the runtime
@@ -3374,6 +4062,40 @@ def get_runtime_management_config(params = {}, options = {})
# * {Types::InvocationResponse#payload #payload} => String
# * {Types::InvocationResponse#executed_version #executed_version} => String
#
+ #
+ # @example Example: To invoke a Lambda function
+ #
+ # # The following example invokes version 1 of a function named my-function with an empty event payload.
+ #
+ # resp = client.invoke({
+ # function_name: "my-function",
+ # payload: "{}",
+ # qualifier: "1",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # payload: "200 SUCCESS",
+ # status_code: 200,
+ # }
+ #
+ # @example Example: To invoke a Lambda function asynchronously
+ #
+ # # The following example invokes version 1 of a function named my-function asynchronously.
+ #
+ # resp = client.invoke({
+ # function_name: "my-function",
+ # invocation_type: "Event",
+ # payload: "{}",
+ # qualifier: "1",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # payload: "",
+ # status_code: 202,
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.invoke({
@@ -3430,9 +4152,24 @@ def invoke(params = {}, options = {})
# @option params [required, String, StringIO, File] :invoke_args
# The JSON that you want to provide to your Lambda function as input.
#
- # @return [Types::InvokeAsyncResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ # @return [Types::InvokeAsyncResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::InvokeAsyncResponse#status #status} => Integer
+ #
+ #
+ # @example Example: To invoke a Lambda function asynchronously
+ #
+ # # The following example invokes a Lambda function asynchronously
+ #
+ # resp = client.invoke_async({
+ # function_name: "my-function",
+ # invoke_args: "{}",
+ # })
#
- # * {Types::InvokeAsyncResponse#status #status} => Integer
+ # resp.to_h outputs the following:
+ # {
+ # status: 202,
+ # }
#
# @example Request syntax with placeholder values
#
@@ -3706,6 +4443,40 @@ def invoke_with_response_stream(params = {}, options = {}, &block)
#
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
#
+ #
+ # @example Example: To list a function's aliases
+ #
+ # # The following example returns a list of aliases for a function named my-function.
+ #
+ # resp = client.list_aliases({
+ # function_name: "my-function",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # aliases: [
+ # {
+ # alias_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function:BETA",
+ # description: "Production environment BLUE.",
+ # function_version: "2",
+ # name: "BLUE",
+ # revision_id: "a410117f-xmpl-494e-8035-7e204bb7933b",
+ # routing_config: {
+ # additional_version_weights: {
+ # "1" => 0.7,
+ # },
+ # },
+ # },
+ # {
+ # alias_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function:LIVE",
+ # description: "Production environment GREEN.",
+ # function_version: "1",
+ # name: "GREEN",
+ # revision_id: "21d40116-xmpl-40ba-9360-3ea284da1bb5",
+ # },
+ # ],
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.list_aliases({
@@ -3844,6 +4615,30 @@ def list_code_signing_configs(params = {}, options = {})
#
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
#
+ #
+ # @example Example: To list the event source mappings for a function
+ #
+ # # The following example returns a list of the event source mappings for a function named my-function.
+ #
+ # resp = client.list_event_source_mappings({
+ # function_name: "my-function",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # event_source_mappings: [
+ # {
+ # batch_size: 5,
+ # event_source_arn: "arn:aws:sqs:us-west-2:123456789012:mySQSqueue",
+ # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # last_modified: Time.parse(1569284520.333),
+ # state: "Enabled",
+ # state_transition_reason: "USER_INITIATED",
+ # uuid: "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE",
+ # },
+ # ],
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.list_event_source_mappings({
@@ -3898,6 +4693,7 @@ def list_code_signing_configs(params = {}, options = {})
# resp.event_source_mappings[0].kms_key_arn #=> String
# resp.event_source_mappings[0].filter_criteria_error.error_code #=> String
# resp.event_source_mappings[0].filter_criteria_error.message #=> String
+ # resp.event_source_mappings[0].event_source_mapping_arn #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListEventSourceMappings AWS API Documentation
#
@@ -3943,6 +4739,33 @@ def list_event_source_mappings(params = {}, options = {})
#
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
#
+ #
+ # @example Example: To view a list of asynchronous invocation configurations
+ #
+ # # The following example returns a list of asynchronous invocation configurations for a function named my-function.
+ #
+ # resp = client.list_function_event_invoke_configs({
+ # function_name: "my-function",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # function_event_invoke_configs: [
+ # {
+ # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:GREEN",
+ # last_modified: Time.parse(1577824406.719),
+ # maximum_event_age_in_seconds: 1800,
+ # maximum_retry_attempts: 2,
+ # },
+ # {
+ # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
+ # last_modified: Time.parse(1577824396.653),
+ # maximum_event_age_in_seconds: 3600,
+ # maximum_retry_attempts: 0,
+ # },
+ # ],
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.list_function_event_invoke_configs({
@@ -4083,6 +4906,64 @@ def list_function_url_configs(params = {}, options = {})
#
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
#
+ #
+ # @example Example: To get a list of Lambda functions
+ #
+ # # This operation returns a list of Lambda functions.
+ #
+ # resp = client.list_functions({
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # functions: [
+ # {
+ # code_sha_256: "dBG9m8SGdmlEjw/JYXlhhvCrAv5TxvXsbL/RMr0fT/I=",
+ # code_size: 294,
+ # description: "",
+ # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:helloworld",
+ # function_name: "helloworld",
+ # handler: "helloworld.handler",
+ # last_modified: Time.parse("2019-09-23T18:32:33.857+0000"),
+ # memory_size: 128,
+ # revision_id: "1718e831-badf-4253-9518-d0644210af7b",
+ # role: "arn:aws:iam::123456789012:role/service-role/MyTestFunction-role-zgur6bf4",
+ # runtime: "nodejs10.x",
+ # timeout: 3,
+ # tracing_config: {
+ # mode: "PassThrough",
+ # },
+ # version: "$LATEST",
+ # },
+ # {
+ # code_sha_256: "sU0cJ2/hOZevwV/lTxCuQqK3gDZP3i8gUoqUUVRmY6E=",
+ # code_size: 266,
+ # description: "",
+ # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # function_name: "my-function",
+ # handler: "index.handler",
+ # last_modified: Time.parse("2019-10-01T16:47:28.490+0000"),
+ # memory_size: 256,
+ # revision_id: "93017fc9-59cb-41dc-901b-4845ce4bf668",
+ # role: "arn:aws:iam::123456789012:role/service-role/helloWorldPython-role-uy3l9qyq",
+ # runtime: "nodejs10.x",
+ # timeout: 3,
+ # tracing_config: {
+ # mode: "PassThrough",
+ # },
+ # version: "$LATEST",
+ # vpc_config: {
+ # security_group_ids: [
+ # ],
+ # subnet_ids: [
+ # ],
+ # vpc_id: "",
+ # },
+ # },
+ # ],
+ # next_marker: "",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.list_functions({
@@ -4261,6 +5142,39 @@ def list_functions_by_code_signing_config(params = {}, options = {})
#
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
#
+ #
+ # @example Example: To list versions of a layer
+ #
+ # # The following example displays information about the versions for the layer named blank-java-lib
+ #
+ # resp = client.list_layer_versions({
+ # layer_name: "blank-java-lib",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # layer_versions: [
+ # {
+ # compatible_runtimes: [
+ # "java8",
+ # ],
+ # created_date: Time.parse("2020-03-18T23:38:42.284+0000"),
+ # description: "Dependencies for the blank-java sample app.",
+ # layer_version_arn: "arn:aws:lambda:us-east-2:123456789012:layer:blank-java-lib:7",
+ # version: 7,
+ # },
+ # {
+ # compatible_runtimes: [
+ # "java8",
+ # ],
+ # created_date: Time.parse("2020-03-17T07:24:21.960+0000"),
+ # description: "Dependencies for the blank-java sample app.",
+ # layer_version_arn: "arn:aws:lambda:us-east-2:123456789012:layer:blank-java-lib:6",
+ # version: 6,
+ # },
+ # ],
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.list_layer_versions({
@@ -4340,6 +5254,35 @@ def list_layer_versions(params = {}, options = {})
#
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
#
+ #
+ # @example Example: To list the layers that are compatible with your function's runtime
+ #
+ # # The following example returns information about layers that are compatible with the Python 3.7 runtime.
+ #
+ # resp = client.list_layers({
+ # compatible_runtime: "python3.7",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # layers: [
+ # {
+ # latest_matching_version: {
+ # compatible_runtimes: [
+ # "python3.6",
+ # "python3.7",
+ # ],
+ # created_date: Time.parse("2018-11-15T00:37:46.592+0000"),
+ # description: "My layer",
+ # layer_version_arn: "arn:aws:lambda:us-east-2:123456789012:layer:my-layer:2",
+ # version: 2,
+ # },
+ # layer_arn: "arn:aws:lambda:us-east-2:123456789012:layer:my-layer",
+ # layer_name: "my-layer",
+ # },
+ # ],
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.list_layers({
@@ -4406,6 +5349,37 @@ def list_layers(params = {}, options = {})
#
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
#
+ #
+ # @example Example: To get a list of provisioned concurrency configurations
+ #
+ # # The following example returns a list of provisioned concurrency configurations for a function named my-function.
+ #
+ # resp = client.list_provisioned_concurrency_configs({
+ # function_name: "my-function",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # provisioned_concurrency_configs: [
+ # {
+ # allocated_provisioned_concurrent_executions: 100,
+ # available_provisioned_concurrent_executions: 100,
+ # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:GREEN",
+ # last_modified: Time.parse("2019-12-31T20:29:00+0000"),
+ # requested_provisioned_concurrent_executions: 100,
+ # status: "READY",
+ # },
+ # {
+ # allocated_provisioned_concurrent_executions: 100,
+ # available_provisioned_concurrent_executions: 100,
+ # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:BLUE",
+ # last_modified: Time.parse("2019-12-31T20:28:49+0000"),
+ # requested_provisioned_concurrent_executions: 100,
+ # status: "READY",
+ # },
+ # ],
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.list_provisioned_concurrency_configs({
@@ -4435,7 +5409,8 @@ def list_provisioned_concurrency_configs(params = {}, options = {})
req.send_request(options)
end
- # Returns a function's [tags][1]. You can also view tags with
+ # Returns a function, event source mapping, or code signing
+ # configuration's [tags][1]. You can also view funciton tags with
# GetFunction.
#
#
@@ -4443,17 +5418,34 @@ def list_provisioned_concurrency_configs(params = {}, options = {})
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
#
# @option params [required, String] :resource
- # The function's Amazon Resource Name (ARN). Note: Lambda does not
- # support adding tags to aliases or versions.
+ # The resource's Amazon Resource Name (ARN). Note: Lambda does not
+ # support adding tags to function aliases or versions.
#
# @return [Types::ListTagsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::ListTagsResponse#tags #tags} => Hash<String,String>
#
+ #
+ # @example Example: To retrieve the list of tags for a Lambda function
+ #
+ # # The following example displays the tags attached to the my-function Lambda function.
+ #
+ # resp = client.list_tags({
+ # resource: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # tags: {
+ # "Category" => "Web Tools",
+ # "Department" => "Sales",
+ # },
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.list_tags({
- # resource: "FunctionArn", # required
+ # resource: "TaggableResource", # required
# })
#
# @example Response structure
@@ -4508,6 +5500,71 @@ def list_tags(params = {}, options = {})
#
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
#
+ #
+ # @example Example: To list versions of a function
+ #
+ # # The following example returns a list of versions of a function named my-function
+ #
+ # resp = client.list_versions_by_function({
+ # function_name: "my-function",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # versions: [
+ # {
+ # code_sha_256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ # code_size: 5797206,
+ # description: "Process image objects from Amazon S3.",
+ # environment: {
+ # variables: {
+ # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
+ # "PREFIX" => "inbound",
+ # },
+ # },
+ # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # function_name: "my-function",
+ # handler: "index.handler",
+ # kms_key_arn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ # last_modified: Time.parse("2020-04-10T19:06:32.563+0000"),
+ # memory_size: 256,
+ # revision_id: "850ca006-2d98-4ff4-86db-8766e9d32fe9",
+ # role: "arn:aws:iam::123456789012:role/lambda-role",
+ # runtime: "nodejs12.x",
+ # timeout: 15,
+ # tracing_config: {
+ # mode: "Active",
+ # },
+ # version: "$LATEST",
+ # },
+ # {
+ # code_sha_256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ # code_size: 5797206,
+ # description: "Process image objects from Amazon S3.",
+ # environment: {
+ # variables: {
+ # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
+ # "PREFIX" => "inbound",
+ # },
+ # },
+ # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # function_name: "my-function",
+ # handler: "index.handler",
+ # kms_key_arn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ # last_modified: Time.parse("2020-04-10T19:06:32.563+0000"),
+ # memory_size: 256,
+ # revision_id: "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
+ # role: "arn:aws:iam::123456789012:role/lambda-role",
+ # runtime: "nodejs12.x",
+ # timeout: 5,
+ # tracing_config: {
+ # mode: "Active",
+ # },
+ # version: "1",
+ # },
+ # ],
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.list_versions_by_function({
@@ -4658,6 +5715,45 @@ def list_versions_by_function(params = {}, options = {})
# * {Types::PublishLayerVersionResponse#license_info #license_info} => String
# * {Types::PublishLayerVersionResponse#compatible_architectures #compatible_architectures} => Array<String>
#
+ #
+ # @example Example: To create a Lambda layer version
+ #
+ # # The following example creates a new Python library layer version. The command retrieves the layer content a file named
+ # # layer.zip in the specified S3 bucket.
+ #
+ # resp = client.publish_layer_version({
+ # compatible_runtimes: [
+ # "python3.6",
+ # "python3.7",
+ # ],
+ # content: {
+ # s3_bucket: "lambda-layers-us-west-2-123456789012",
+ # s3_key: "layer.zip",
+ # },
+ # description: "My Python layer",
+ # layer_name: "my-layer",
+ # license_info: "MIT",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # compatible_runtimes: [
+ # "python3.6",
+ # "python3.7",
+ # ],
+ # content: {
+ # code_sha_256: "tv9jJO+rPbXUUXuRKi7CwHzKtLDkDRJLB3cC3Z/ouXo=",
+ # code_size: 169,
+ # location: "https://awslambda-us-west-2-layers.s3.us-west-2.amazonaws.com/snapshots/123456789012/my-layer-4aaa2fbb-ff77-4b0a-ad92-5b78a716a96a?versionId=27iWyA73cCAYqyH...",
+ # },
+ # created_date: Time.parse("2018-11-14T23:03:52.894+0000"),
+ # description: "My Python layer",
+ # layer_arn: "arn:aws:lambda:us-west-2:123456789012:layer:my-layer",
+ # layer_version_arn: "arn:aws:lambda:us-west-2:123456789012:layer:my-layer:1",
+ # license_info: "MIT",
+ # version: 1,
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.publish_layer_version({
@@ -4787,6 +5883,46 @@ def publish_layer_version(params = {}, options = {})
# * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
# * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
#
+ #
+ # @example Example: To publish a version of a Lambda function
+ #
+ # # This operation publishes a version of a Lambda function
+ #
+ # resp = client.publish_version({
+ # code_sha_256: "",
+ # description: "",
+ # function_name: "myFunction",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # code_sha_256: "YFgDgEKG3ugvF1+pX64gV6tu9qNuIYNUdgJm8nCxsm4=",
+ # code_size: 5797206,
+ # description: "Process image objects from Amazon S3.",
+ # environment: {
+ # variables: {
+ # "BUCKET" => "my-bucket-1xpuxmplzrlbh",
+ # "PREFIX" => "inbound",
+ # },
+ # },
+ # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # function_name: "my-function",
+ # handler: "index.handler",
+ # kms_key_arn: "arn:aws:kms:us-west-2:123456789012:key/b0844d6c-xmpl-4463-97a4-d49f50839966",
+ # last_modified: Time.parse("2020-04-10T19:06:32.563+0000"),
+ # last_update_status: "Successful",
+ # memory_size: 256,
+ # revision_id: "b75dcd81-xmpl-48a8-a75a-93ba8b5b9727",
+ # role: "arn:aws:iam::123456789012:role/lambda-role",
+ # runtime: "nodejs12.x",
+ # state: "Active",
+ # timeout: 5,
+ # tracing_config: {
+ # mode: "Active",
+ # },
+ # version: "1",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.publish_version({
@@ -4960,6 +6096,21 @@ def put_function_code_signing_config(params = {}, options = {})
#
# * {Types::Concurrency#reserved_concurrent_executions #reserved_concurrent_executions} => Integer
#
+ #
+ # @example Example: To configure a reserved concurrency limit for a function
+ #
+ # # The following example configures 100 reserved concurrent executions for the my-function function.
+ #
+ # resp = client.put_function_concurrency({
+ # function_name: "my-function",
+ # reserved_concurrent_executions: 100,
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # reserved_concurrent_executions: 100,
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.put_function_concurrency({
@@ -5055,6 +6206,31 @@ def put_function_concurrency(params = {}, options = {})
# * {Types::FunctionEventInvokeConfig#maximum_event_age_in_seconds #maximum_event_age_in_seconds} => Integer
# * {Types::FunctionEventInvokeConfig#destination_config #destination_config} => Types::DestinationConfig
#
+ #
+ # @example Example: To configure error handling for asynchronous invocation
+ #
+ # # The following example sets a maximum event age of one hour and disables retries for the specified function.
+ #
+ # resp = client.put_function_event_invoke_config({
+ # function_name: "my-function",
+ # maximum_event_age_in_seconds: 3600,
+ # maximum_retry_attempts: 0,
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # destination_config: {
+ # on_failure: {
+ # },
+ # on_success: {
+ # },
+ # },
+ # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
+ # last_modified: Time.parse("${timestamp}"),
+ # maximum_event_age_in_seconds: 3600,
+ # maximum_retry_attempts: 0,
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.put_function_event_invoke_config({
@@ -5209,6 +6385,25 @@ def put_function_recursion_config(params = {}, options = {})
# * {Types::PutProvisionedConcurrencyConfigResponse#status_reason #status_reason} => String
# * {Types::PutProvisionedConcurrencyConfigResponse#last_modified #last_modified} => Time
#
+ #
+ # @example Example: To allocate provisioned concurrency
+ #
+ # # The following example allocates 100 provisioned concurrency for the BLUE alias of the specified function.
+ #
+ # resp = client.put_provisioned_concurrency_config({
+ # function_name: "my-function",
+ # provisioned_concurrent_executions: 100,
+ # qualifier: "BLUE",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # allocated_provisioned_concurrent_executions: 0,
+ # last_modified: Time.parse("2019-11-21T19:32:12+0000"),
+ # requested_provisioned_concurrent_executions: 100,
+ # status: "IN_PROGRESS",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.put_provisioned_concurrency_config({
@@ -5235,6 +6430,148 @@ def put_provisioned_concurrency_config(params = {}, options = {})
req.send_request(options)
end
+ # The option to configure public-access settings, and to use the
+ # PutPublicAccessBlock and GetPublicAccessBlock APIs, won't be
+ # available in all Amazon Web Services Regions until September 30, 2024.
+ #
+ #
+ #
+ # Configure your function's public-access settings.
+ #
+ # To control public access to a Lambda function, you can choose whether
+ # to allow the creation of [resource-based policies][1] that allow
+ # public access to that function. You can also block public access to a
+ # function, even if it has an existing resource-based policy that allows
+ # it.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
+ #
+ # @option params [required, String] :resource_arn
+ # The Amazon Resource Name (ARN) of the function you want to configure
+ # public-access settings for. Public-access settings are applied at the
+ # function level, so you can't apply different settings to function
+ # versions or aliases.
+ #
+ # @option params [required, Types::PublicAccessBlockConfig] :public_access_block_config
+ # An object defining the public-access settings you want to apply.
+ #
+ # To block the creation of resource-based policies that would grant
+ # public access to your function, set `BlockPublicPolicy` to `true`. To
+ # allow the creation of resource-based policies that would grant public
+ # access to your function, set `BlockPublicPolicy` to `false`.
+ #
+ # To block public access to your function, even if its resource-based
+ # policy allows it, set `RestrictPublicResource` to `true`. To allow
+ # public access to a function with a resource-based policy that permits
+ # it, set `RestrictPublicResource` to `false`.
+ #
+ # The default setting for both `BlockPublicPolicy` and
+ # `RestrictPublicResource` is `true`.
+ #
+ # @return [Types::PutPublicAccessBlockConfigResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::PutPublicAccessBlockConfigResponse#public_access_block_config #public_access_block_config} => Types::PublicAccessBlockConfig
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.put_public_access_block_config({
+ # resource_arn: "PublicAccessBlockResourceArn", # required
+ # public_access_block_config: { # required
+ # block_public_policy: false,
+ # restrict_public_resource: false,
+ # },
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.public_access_block_config.block_public_policy #=> Boolean
+ # resp.public_access_block_config.restrict_public_resource #=> Boolean
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutPublicAccessBlockConfig AWS API Documentation
+ #
+ # @overload put_public_access_block_config(params = {})
+ # @param [Hash] params ({})
+ def put_public_access_block_config(params = {}, options = {})
+ req = build_request(:put_public_access_block_config, params)
+ req.send_request(options)
+ end
+
+ # The option to create and modify full JSON resource-based policies, and
+ # to use the PutResourcePolicy, GetResourcePolicy, and
+ # DeleteResourcePolicy APIs, won't be available in all Amazon Web
+ # Services Regions until September 30, 2024.
+ #
+ #
+ #
+ # Adds a [resource-based policy][1] to a function. You can use
+ # resource-based policies to grant access to other [Amazon Web Services
+ # accounts][2], [organizations][3], or [services][4]. Resource-based
+ # policies apply to a single function, version, or alias.
+ #
+ # Adding a resource-based policy using this API action replaces any
+ # existing policy you've previously created. This means that if you've
+ # previously added resource-based permissions to a function using the
+ # AddPermission action, those permissions will be overwritten by your
+ # new policy.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html
+ # [2]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-cross-account.html
+ # [3]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-organization.html
+ # [4]: https://docs.aws.amazon.com/lambda/latest/dg/permissions-function-services.html
+ #
+ # @option params [required, String] :resource_arn
+ # The Amazon Resource Name (ARN) of the function you want to add the
+ # policy to. You can use either a qualified or an unqualified ARN, but
+ # the value you specify must be a complete ARN and wildcard characters
+ # are not accepted.
+ #
+ # @option params [required, String] :policy
+ # The JSON resource-based policy you want to add to your function.
+ #
+ # To learn more about creating resource-based policies for controlling
+ # access to Lambda, see [Working with resource-based IAM policies in
+ # Lambda][1] in the *Lambda Developer Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/
+ #
+ # @option params [String] :revision_id
+ # Replace the existing policy only if its revision ID matches the string
+ # you specify. To find the revision ID of the policy currently attached
+ # to your function, use the GetResourcePolicy action.
+ #
+ # @return [Types::PutResourcePolicyResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::PutResourcePolicyResponse#policy #policy} => String
+ # * {Types::PutResourcePolicyResponse#revision_id #revision_id} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.put_resource_policy({
+ # resource_arn: "PolicyResourceArn", # required
+ # policy: "ResourcePolicy", # required
+ # revision_id: "RevisionId",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.policy #=> String
+ # resp.revision_id #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicy AWS API Documentation
+ #
+ # @overload put_resource_policy(params = {})
+ # @param [Hash] params ({})
+ def put_resource_policy(params = {}, options = {})
+ req = build_request(:put_resource_policy, params)
+ req.send_request(options)
+ end
+
# Sets the runtime management configuration for a function's version.
# For more information, see [Runtime updates][1].
#
@@ -5352,6 +6689,17 @@ def put_runtime_management_config(params = {}, options = {})
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
+ #
+ # @example Example: To delete layer-version permissions
+ #
+ # # The following example deletes permission for an account to configure a layer version.
+ #
+ # resp = client.remove_layer_version_permission({
+ # layer_name: "my-layer",
+ # statement_id: "xaccount",
+ # version_number: 1,
+ # })
+ #
# @example Request syntax with placeholder values
#
# resp = client.remove_layer_version_permission({
@@ -5405,6 +6753,18 @@ def remove_layer_version_permission(params = {}, options = {})
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
+ #
+ # @example Example: To remove a Lambda function's permissions
+ #
+ # # The following example removes a permissions statement named xaccount from the PROD alias of a function named
+ # # my-function.
+ #
+ # resp = client.remove_permission({
+ # function_name: "my-function",
+ # qualifier: "PROD",
+ # statement_id: "xaccount",
+ # })
+ #
# @example Request syntax with placeholder values
#
# resp = client.remove_permission({
@@ -5423,24 +6783,38 @@ def remove_permission(params = {}, options = {})
req.send_request(options)
end
- # Adds [tags][1] to a function.
+ # Adds [tags][1] to a function, event source mapping, or code signing
+ # configuration.
#
#
#
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
#
# @option params [required, String] :resource
- # The function's Amazon Resource Name (ARN).
+ # The resource's Amazon Resource Name (ARN).
#
# @option params [required, Hash] :tags
- # A list of tags to apply to the function.
+ # A list of tags to apply to the resource.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
+ #
+ # @example Example: To add tags to an existing Lambda function
+ #
+ # # The following example adds a tag with the key name DEPARTMENT and a value of 'Department A' to the specified Lambda
+ # # function.
+ #
+ # resp = client.tag_resource({
+ # resource: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # tags: {
+ # "DEPARTMENT" => "Department A",
+ # },
+ # })
+ #
# @example Request syntax with placeholder values
#
# resp = client.tag_resource({
- # resource: "FunctionArn", # required
+ # resource: "TaggableResource", # required
# tags: { # required
# "TagKey" => "TagValue",
# },
@@ -5455,24 +6829,37 @@ def tag_resource(params = {}, options = {})
req.send_request(options)
end
- # Removes [tags][1] from a function.
+ # Removes [tags][1] from a function, event source mapping, or code
+ # signing configuration.
#
#
#
# [1]: https://docs.aws.amazon.com/lambda/latest/dg/tagging.html
#
# @option params [required, String] :resource
- # The function's Amazon Resource Name (ARN).
+ # The resource's Amazon Resource Name (ARN).
#
# @option params [required, Array] :tag_keys
- # A list of tag keys to remove from the function.
+ # A list of tag keys to remove from the resource.
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
+ #
+ # @example Example: To remove tags from an existing Lambda function
+ #
+ # # The following example removes the tag with the key name DEPARTMENT tag from the my-function Lambda function.
+ #
+ # resp = client.untag_resource({
+ # resource: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
+ # tag_keys: [
+ # "DEPARTMENT",
+ # ],
+ # })
+ #
# @example Request syntax with placeholder values
#
# resp = client.untag_resource({
- # resource: "FunctionArn", # required
+ # resource: "TaggableResource", # required
# tag_keys: ["TagKey"], # required
# })
#
@@ -5536,6 +6923,36 @@ def untag_resource(params = {}, options = {})
# * {Types::AliasConfiguration#routing_config #routing_config} => Types::AliasRoutingConfiguration
# * {Types::AliasConfiguration#revision_id #revision_id} => String
#
+ #
+ # @example Example: To update a function alias
+ #
+ # # The following example updates the alias named BLUE to send 30% of traffic to version 2 and 70% to version 1.
+ #
+ # resp = client.update_alias({
+ # function_name: "my-function",
+ # function_version: "2",
+ # name: "BLUE",
+ # routing_config: {
+ # additional_version_weights: {
+ # "1" => 0.7,
+ # },
+ # },
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # alias_arn: "arn:aws:lambda:us-west-2:123456789012:function:my-function:BLUE",
+ # description: "Production environment BLUE.",
+ # function_version: "2",
+ # name: "BLUE",
+ # revision_id: "594f41fb-xmpl-4c20-95c7-6ca5f2a92c93",
+ # routing_config: {
+ # additional_version_weights: {
+ # "1" => 0.7,
+ # },
+ # },
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.update_alias({
@@ -5863,6 +7280,31 @@ def update_code_signing_config(params = {}, options = {})
# * {Types::EventSourceMappingConfiguration#document_db_event_source_config #document_db_event_source_config} => Types::DocumentDBEventSourceConfig
# * {Types::EventSourceMappingConfiguration#kms_key_arn #kms_key_arn} => String
# * {Types::EventSourceMappingConfiguration#filter_criteria_error #filter_criteria_error} => Types::FilterCriteriaError
+ # * {Types::EventSourceMappingConfiguration#event_source_mapping_arn #event_source_mapping_arn} => String
+ #
+ #
+ # @example Example: To update a Lambda function event source mapping
+ #
+ # # This operation updates a Lambda function event source mapping
+ #
+ # resp = client.update_event_source_mapping({
+ # batch_size: 123,
+ # enabled: true,
+ # function_name: "myFunction",
+ # uuid: "1234xCy789012",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # batch_size: 123,
+ # event_source_arn: "arn:aws:s3:::examplebucket/*",
+ # function_arn: "arn:aws:lambda:us-west-2:123456789012:function:myFunction",
+ # last_modified: Time.parse("2016-11-21T19:49:20.006+0000"),
+ # last_processing_result: "",
+ # state: "",
+ # state_transition_reason: "",
+ # uuid: "1234xCy789012",
+ # }
#
# @example Request syntax with placeholder values
#
@@ -5953,6 +7395,7 @@ def update_code_signing_config(params = {}, options = {})
# resp.kms_key_arn #=> String
# resp.filter_criteria_error.error_code #=> String
# resp.filter_criteria_error.message #=> String
+ # resp.event_source_mapping_arn #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UpdateEventSourceMapping AWS API Documentation
#
@@ -6090,6 +7533,38 @@ def update_event_source_mapping(params = {}, options = {})
# * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
# * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
#
+ #
+ # @example Example: To update a Lambda function's code
+ #
+ # # The following example replaces the code of the unpublished ($LATEST) version of a function named my-function with the
+ # # contents of the specified zip file in Amazon S3.
+ #
+ # resp = client.update_function_code({
+ # function_name: "my-function",
+ # s3_bucket: "my-bucket-1xpuxmplzrlbh",
+ # s3_key: "function.zip",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # code_sha_256: "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
+ # code_size: 308,
+ # description: "",
+ # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
+ # function_name: "my-function",
+ # handler: "index.handler",
+ # last_modified: Time.parse("2019-08-14T22:26:11.234+0000"),
+ # memory_size: 128,
+ # revision_id: "873282ed-xmpl-4dc8-a069-d0c647e470c6",
+ # role: "arn:aws:iam::123456789012:role/lambda-role",
+ # runtime: "nodejs12.x",
+ # timeout: 3,
+ # tracing_config: {
+ # mode: "PassThrough",
+ # },
+ # version: "$LATEST",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.update_function_code({
@@ -6405,6 +7880,37 @@ def update_function_code(params = {}, options = {})
# * {Types::FunctionConfiguration#runtime_version_config #runtime_version_config} => Types::RuntimeVersionConfig
# * {Types::FunctionConfiguration#logging_config #logging_config} => Types::LoggingConfig
#
+ #
+ # @example Example: To update a Lambda function's configuration
+ #
+ # # The following example modifies the memory size to be 256 MB for the unpublished ($LATEST) version of a function named
+ # # my-function.
+ #
+ # resp = client.update_function_configuration({
+ # function_name: "my-function",
+ # memory_size: 256,
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # code_sha_256: "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
+ # code_size: 308,
+ # description: "",
+ # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
+ # function_name: "my-function",
+ # handler: "index.handler",
+ # last_modified: Time.parse("2019-08-14T22:26:11.234+0000"),
+ # memory_size: 256,
+ # revision_id: "873282ed-xmpl-4dc8-a069-d0c647e470c6",
+ # role: "arn:aws:iam::123456789012:role/lambda-role",
+ # runtime: "nodejs12.x",
+ # timeout: 3,
+ # tracing_config: {
+ # mode: "PassThrough",
+ # },
+ # version: "$LATEST",
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.update_function_configuration({
@@ -6590,6 +8096,36 @@ def update_function_configuration(params = {}, options = {})
# * {Types::FunctionEventInvokeConfig#maximum_event_age_in_seconds #maximum_event_age_in_seconds} => Integer
# * {Types::FunctionEventInvokeConfig#destination_config #destination_config} => Types::DestinationConfig
#
+ #
+ # @example Example: To update an asynchronous invocation configuration
+ #
+ # # The following example adds an on-failure destination to the existing asynchronous invocation configuration for a
+ # # function named my-function.
+ #
+ # resp = client.update_function_event_invoke_config({
+ # destination_config: {
+ # on_failure: {
+ # destination: "arn:aws:sqs:us-east-2:123456789012:destination",
+ # },
+ # },
+ # function_name: "my-function",
+ # })
+ #
+ # resp.to_h outputs the following:
+ # {
+ # destination_config: {
+ # on_failure: {
+ # destination: "arn:aws:sqs:us-east-2:123456789012:destination",
+ # },
+ # on_success: {
+ # },
+ # },
+ # function_arn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
+ # last_modified: Time.parse(1573687896.493),
+ # maximum_event_age_in_seconds: 3600,
+ # maximum_retry_attempts: 0,
+ # }
+ #
# @example Request syntax with placeholder values
#
# resp = client.update_function_event_invoke_config({
@@ -6755,7 +8291,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-lambda'
- context[:gem_version] = '1.129.0'
+ context[:gem_version] = '1.132.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/client_api.rb b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/client_api.rb
index 4bb9b6dfc36..44d418f0468 100644
--- a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/client_api.rb
+++ b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/client_api.rb
@@ -75,6 +75,7 @@ module ClientApi
DeleteFunctionUrlConfigRequest = Shapes::StructureShape.new(name: 'DeleteFunctionUrlConfigRequest')
DeleteLayerVersionRequest = Shapes::StructureShape.new(name: 'DeleteLayerVersionRequest')
DeleteProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'DeleteProvisionedConcurrencyConfigRequest')
+ DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
Description = Shapes::StringShape.new(name: 'Description')
DestinationArn = Shapes::StringShape.new(name: 'DestinationArn')
DestinationConfig = Shapes::StructureShape.new(name: 'DestinationConfig')
@@ -100,6 +101,7 @@ module ClientApi
EnvironmentVariables = Shapes::MapShape.new(name: 'EnvironmentVariables')
EphemeralStorage = Shapes::StructureShape.new(name: 'EphemeralStorage')
EphemeralStorageSize = Shapes::IntegerShape.new(name: 'EphemeralStorageSize')
+ EventSourceMappingArn = Shapes::StringShape.new(name: 'EventSourceMappingArn')
EventSourceMappingConfiguration = Shapes::StructureShape.new(name: 'EventSourceMappingConfiguration')
EventSourceMappingsList = Shapes::ListShape.new(name: 'EventSourceMappingsList')
EventSourcePosition = Shapes::StringShape.new(name: 'EventSourcePosition')
@@ -158,6 +160,10 @@ module ClientApi
GetPolicyResponse = Shapes::StructureShape.new(name: 'GetPolicyResponse')
GetProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigRequest')
GetProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'GetProvisionedConcurrencyConfigResponse')
+ GetPublicAccessBlockConfigRequest = Shapes::StructureShape.new(name: 'GetPublicAccessBlockConfigRequest')
+ GetPublicAccessBlockConfigResponse = Shapes::StructureShape.new(name: 'GetPublicAccessBlockConfigResponse')
+ GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
+ GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
GetRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigRequest')
GetRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'GetRuntimeManagementConfigResponse')
Handler = Shapes::StringShape.new(name: 'Handler')
@@ -268,6 +274,7 @@ module ClientApi
ParallelizationFactor = Shapes::IntegerShape.new(name: 'ParallelizationFactor')
Pattern = Shapes::StringShape.new(name: 'Pattern')
PolicyLengthExceededException = Shapes::StructureShape.new(name: 'PolicyLengthExceededException')
+ PolicyResourceArn = Shapes::StringShape.new(name: 'PolicyResourceArn')
PositiveInteger = Shapes::IntegerShape.new(name: 'PositiveInteger')
PreconditionFailedException = Shapes::StructureShape.new(name: 'PreconditionFailedException')
Principal = Shapes::StringShape.new(name: 'Principal')
@@ -276,6 +283,9 @@ module ClientApi
ProvisionedConcurrencyConfigListItem = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigListItem')
ProvisionedConcurrencyConfigNotFoundException = Shapes::StructureShape.new(name: 'ProvisionedConcurrencyConfigNotFoundException')
ProvisionedConcurrencyStatusEnum = Shapes::StringShape.new(name: 'ProvisionedConcurrencyStatusEnum')
+ PublicAccessBlockConfig = Shapes::StructureShape.new(name: 'PublicAccessBlockConfig')
+ PublicAccessBlockResourceArn = Shapes::StringShape.new(name: 'PublicAccessBlockResourceArn')
+ PublicPolicyException = Shapes::StructureShape.new(name: 'PublicPolicyException')
PublishLayerVersionRequest = Shapes::StructureShape.new(name: 'PublishLayerVersionRequest')
PublishLayerVersionResponse = Shapes::StructureShape.new(name: 'PublishLayerVersionResponse')
PublishVersionRequest = Shapes::StructureShape.new(name: 'PublishVersionRequest')
@@ -287,6 +297,10 @@ module ClientApi
PutFunctionRecursionConfigResponse = Shapes::StructureShape.new(name: 'PutFunctionRecursionConfigResponse')
PutProvisionedConcurrencyConfigRequest = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigRequest')
PutProvisionedConcurrencyConfigResponse = Shapes::StructureShape.new(name: 'PutProvisionedConcurrencyConfigResponse')
+ PutPublicAccessBlockConfigRequest = Shapes::StructureShape.new(name: 'PutPublicAccessBlockConfigRequest')
+ PutPublicAccessBlockConfigResponse = Shapes::StructureShape.new(name: 'PutPublicAccessBlockConfigResponse')
+ PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
+ PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
PutRuntimeManagementConfigRequest = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigRequest')
PutRuntimeManagementConfigResponse = Shapes::StructureShape.new(name: 'PutRuntimeManagementConfigResponse')
Qualifier = Shapes::StringShape.new(name: 'Qualifier')
@@ -303,7 +317,9 @@ module ClientApi
ResourceInUseException = Shapes::StructureShape.new(name: 'ResourceInUseException')
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
ResourceNotReadyException = Shapes::StructureShape.new(name: 'ResourceNotReadyException')
+ ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
ResponseStreamingInvocationType = Shapes::StringShape.new(name: 'ResponseStreamingInvocationType')
+ RevisionId = Shapes::StringShape.new(name: 'RevisionId')
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
Runtime = Shapes::StringShape.new(name: 'Runtime')
RuntimeVersionArn = Shapes::StringShape.new(name: 'RuntimeVersionArn')
@@ -345,6 +361,7 @@ module ClientApi
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
TagValue = Shapes::StringShape.new(name: 'TagValue')
+ TaggableResource = Shapes::StringShape.new(name: 'TaggableResource')
Tags = Shapes::MapShape.new(name: 'Tags')
ThrottleReason = Shapes::StringShape.new(name: 'ThrottleReason')
Timeout = Shapes::IntegerShape.new(name: 'Timeout')
@@ -496,6 +513,7 @@ module ClientApi
CreateCodeSigningConfigRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
CreateCodeSigningConfigRequest.add_member(:allowed_publishers, Shapes::ShapeRef.new(shape: AllowedPublishers, required: true, location_name: "AllowedPublishers"))
CreateCodeSigningConfigRequest.add_member(:code_signing_policies, Shapes::ShapeRef.new(shape: CodeSigningPolicies, location_name: "CodeSigningPolicies"))
+ CreateCodeSigningConfigRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
CreateCodeSigningConfigRequest.struct_class = Types::CreateCodeSigningConfigRequest
CreateCodeSigningConfigResponse.add_member(:code_signing_config, Shapes::ShapeRef.new(shape: CodeSigningConfig, required: true, location_name: "CodeSigningConfig"))
@@ -514,6 +532,7 @@ module ClientApi
CreateEventSourceMappingRequest.add_member(:maximum_record_age_in_seconds, Shapes::ShapeRef.new(shape: MaximumRecordAgeInSeconds, location_name: "MaximumRecordAgeInSeconds"))
CreateEventSourceMappingRequest.add_member(:bisect_batch_on_function_error, Shapes::ShapeRef.new(shape: BisectBatchOnFunctionError, location_name: "BisectBatchOnFunctionError"))
CreateEventSourceMappingRequest.add_member(:maximum_retry_attempts, Shapes::ShapeRef.new(shape: MaximumRetryAttemptsEventSourceMapping, location_name: "MaximumRetryAttempts"))
+ CreateEventSourceMappingRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
CreateEventSourceMappingRequest.add_member(:tumbling_window_in_seconds, Shapes::ShapeRef.new(shape: TumblingWindowInSeconds, location_name: "TumblingWindowInSeconds"))
CreateEventSourceMappingRequest.add_member(:topics, Shapes::ShapeRef.new(shape: Topics, location_name: "Topics"))
CreateEventSourceMappingRequest.add_member(:queues, Shapes::ShapeRef.new(shape: Queues, location_name: "Queues"))
@@ -609,6 +628,10 @@ module ClientApi
DeleteProvisionedConcurrencyConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, required: true, location: "querystring", location_name: "Qualifier"))
DeleteProvisionedConcurrencyConfigRequest.struct_class = Types::DeleteProvisionedConcurrencyConfigRequest
+ DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
+ DeleteResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "RevisionId"))
+ DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
+
DestinationConfig.add_member(:on_success, Shapes::ShapeRef.new(shape: OnSuccess, location_name: "OnSuccess"))
DestinationConfig.add_member(:on_failure, Shapes::ShapeRef.new(shape: OnFailure, location_name: "OnFailure"))
DestinationConfig.struct_class = Types::DestinationConfig
@@ -702,6 +725,7 @@ module ClientApi
EventSourceMappingConfiguration.add_member(:document_db_event_source_config, Shapes::ShapeRef.new(shape: DocumentDBEventSourceConfig, location_name: "DocumentDBEventSourceConfig"))
EventSourceMappingConfiguration.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KMSKeyArn, location_name: "KMSKeyArn"))
EventSourceMappingConfiguration.add_member(:filter_criteria_error, Shapes::ShapeRef.new(shape: FilterCriteriaError, location_name: "FilterCriteriaError"))
+ EventSourceMappingConfiguration.add_member(:event_source_mapping_arn, Shapes::ShapeRef.new(shape: EventSourceMappingArn, location_name: "EventSourceMappingArn"))
EventSourceMappingConfiguration.struct_class = Types::EventSourceMappingConfiguration
EventSourceMappingsList.member = Shapes::ShapeRef.new(shape: EventSourceMappingConfiguration)
@@ -916,6 +940,19 @@ module ClientApi
GetProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
GetProvisionedConcurrencyConfigResponse.struct_class = Types::GetProvisionedConcurrencyConfigResponse
+ GetPublicAccessBlockConfigRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PublicAccessBlockResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
+ GetPublicAccessBlockConfigRequest.struct_class = Types::GetPublicAccessBlockConfigRequest
+
+ GetPublicAccessBlockConfigResponse.add_member(:public_access_block_config, Shapes::ShapeRef.new(shape: PublicAccessBlockConfig, location_name: "PublicAccessBlockConfig"))
+ GetPublicAccessBlockConfigResponse.struct_class = Types::GetPublicAccessBlockConfigResponse
+
+ GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
+ GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
+
+ GetResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "Policy"))
+ GetResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
+ GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
+
GetRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: NamespacedFunctionName, required: true, location: "uri", location_name: "FunctionName"))
GetRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
GetRuntimeManagementConfigRequest.struct_class = Types::GetRuntimeManagementConfigRequest
@@ -1178,7 +1215,7 @@ module ClientApi
ListProvisionedConcurrencyConfigsResponse.add_member(:next_marker, Shapes::ShapeRef.new(shape: String, location_name: "NextMarker"))
ListProvisionedConcurrencyConfigsResponse.struct_class = Types::ListProvisionedConcurrencyConfigsResponse
- ListTagsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location: "uri", location_name: "ARN"))
+ ListTagsRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "ARN"))
ListTagsRequest.struct_class = Types::ListTagsRequest
ListTagsResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "Tags"))
@@ -1228,6 +1265,14 @@ module ClientApi
ProvisionedConcurrencyConfigNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
ProvisionedConcurrencyConfigNotFoundException.struct_class = Types::ProvisionedConcurrencyConfigNotFoundException
+ PublicAccessBlockConfig.add_member(:block_public_policy, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "BlockPublicPolicy"))
+ PublicAccessBlockConfig.add_member(:restrict_public_resource, Shapes::ShapeRef.new(shape: NullableBoolean, location_name: "RestrictPublicResource"))
+ PublicAccessBlockConfig.struct_class = Types::PublicAccessBlockConfig
+
+ PublicPolicyException.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
+ PublicPolicyException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "Message"))
+ PublicPolicyException.struct_class = Types::PublicPolicyException
+
PublishLayerVersionRequest.add_member(:layer_name, Shapes::ShapeRef.new(shape: LayerName, required: true, location: "uri", location_name: "LayerName"))
PublishLayerVersionRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "Description"))
PublishLayerVersionRequest.add_member(:content, Shapes::ShapeRef.new(shape: LayerVersionContentInput, required: true, location_name: "Content"))
@@ -1292,6 +1337,22 @@ module ClientApi
PutProvisionedConcurrencyConfigResponse.add_member(:last_modified, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastModified"))
PutProvisionedConcurrencyConfigResponse.struct_class = Types::PutProvisionedConcurrencyConfigResponse
+ PutPublicAccessBlockConfigRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PublicAccessBlockResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
+ PutPublicAccessBlockConfigRequest.add_member(:public_access_block_config, Shapes::ShapeRef.new(shape: PublicAccessBlockConfig, required: true, location_name: "PublicAccessBlockConfig"))
+ PutPublicAccessBlockConfigRequest.struct_class = Types::PutPublicAccessBlockConfigRequest
+
+ PutPublicAccessBlockConfigResponse.add_member(:public_access_block_config, Shapes::ShapeRef.new(shape: PublicAccessBlockConfig, location_name: "PublicAccessBlockConfig"))
+ PutPublicAccessBlockConfigResponse.struct_class = Types::PutPublicAccessBlockConfigResponse
+
+ PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: PolicyResourceArn, required: true, location: "uri", location_name: "ResourceArn"))
+ PutResourcePolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "Policy"))
+ PutResourcePolicyRequest.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
+ PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
+
+ PutResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, location_name: "Policy"))
+ PutResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "RevisionId"))
+ PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
+
PutRuntimeManagementConfigRequest.add_member(:function_name, Shapes::ShapeRef.new(shape: FunctionName, required: true, location: "uri", location_name: "FunctionName"))
PutRuntimeManagementConfigRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: Qualifier, location: "querystring", location_name: "Qualifier"))
PutRuntimeManagementConfigRequest.add_member(:update_runtime_on, Shapes::ShapeRef.new(shape: UpdateRuntimeOn, required: true, location_name: "UpdateRuntimeOn"))
@@ -1401,7 +1462,7 @@ module ClientApi
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
- TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location: "uri", location_name: "ARN"))
+ TagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "ARN"))
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, required: true, location_name: "Tags"))
TagResourceRequest.struct_class = Types::TagResourceRequest
@@ -1426,7 +1487,7 @@ module ClientApi
UnsupportedMediaTypeException.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
UnsupportedMediaTypeException.struct_class = Types::UnsupportedMediaTypeException
- UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: FunctionArn, required: true, location: "uri", location_name: "ARN"))
+ UntagResourceRequest.add_member(:resource, Shapes::ShapeRef.new(shape: TaggableResource, required: true, location: "uri", location_name: "ARN"))
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1579,6 +1640,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
+ o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
end)
api.add_operation(:create_alias, Seahorse::Model::Operation.new.tap do |o|
@@ -1773,6 +1835,20 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
end)
+ api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DeleteResourcePolicy"
+ o.http_method = "DELETE"
+ o.http_request_uri = "/2024-09-16/resource-policy/{ResourceArn}"
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
+ o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
+ end)
+
api.add_operation(:get_account_settings, Seahorse::Model::Operation.new.tap do |o|
o.name = "GetAccountSettings"
o.http_method = "GET"
@@ -1963,6 +2039,30 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: ProvisionedConcurrencyConfigNotFoundException)
end)
+ api.add_operation(:get_public_access_block_config, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "GetPublicAccessBlockConfig"
+ o.http_method = "GET"
+ o.http_request_uri = "/2024-09-16/public-access-block/{ResourceArn}"
+ o.input = Shapes::ShapeRef.new(shape: GetPublicAccessBlockConfigRequest)
+ o.output = Shapes::ShapeRef.new(shape: GetPublicAccessBlockConfigResponse)
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
+ end)
+
+ api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "GetResourcePolicy"
+ o.http_method = "GET"
+ o.http_request_uri = "/2024-09-16/resource-policy/{ResourceArn}"
+ o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
+ o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
+ end)
+
api.add_operation(:get_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
o.name = "GetRuntimeManagementConfig"
o.http_method = "GET"
@@ -2364,6 +2464,35 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
end)
+ api.add_operation(:put_public_access_block_config, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "PutPublicAccessBlockConfig"
+ o.http_method = "PUT"
+ o.http_request_uri = "/2024-09-16/public-access-block/{ResourceArn}"
+ o.input = Shapes::ShapeRef.new(shape: PutPublicAccessBlockConfigRequest)
+ o.output = Shapes::ShapeRef.new(shape: PutPublicAccessBlockConfigResponse)
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ end)
+
+ api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "PutResourcePolicy"
+ o.http_method = "PUT"
+ o.http_request_uri = "/2024-09-16/resource-policy/{ResourceArn}"
+ o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
+ o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceConflictException)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
+ o.errors << Shapes::ShapeRef.new(shape: PolicyLengthExceededException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
+ o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
+ end)
+
api.add_operation(:put_runtime_management_config, Seahorse::Model::Operation.new.tap do |o|
o.name = "PutRuntimeManagementConfig"
o.http_method = "PUT"
@@ -2401,6 +2530,7 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailedException)
+ o.errors << Shapes::ShapeRef.new(shape: PublicPolicyException)
end)
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
diff --git a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/endpoints.rb b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/endpoints.rb
index ef122791d83..7c179c3691c 100644
--- a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/endpoints.rb
+++ b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/endpoints.rb
@@ -14,952 +14,803 @@ module Endpoints
class AddLayerVersionPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCodeSigningConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventSourceMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFunctionUrlConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCodeSigningConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventSourceMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFunctionCodeSigningConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFunctionConcurrency
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFunctionEventInvokeConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFunctionUrlConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLayerVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProvisionedConcurrencyConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DeleteResourcePolicy
+ def self.build(context)
+ Aws::Lambda::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCodeSigningConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventSourceMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFunctionCodeSigningConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFunctionConcurrency
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFunctionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFunctionEventInvokeConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFunctionRecursionConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFunctionUrlConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLayerVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLayerVersionByArn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLayerVersionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProvisionedConcurrencyConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class GetPublicAccessBlockConfig
+ def self.build(context)
+ Aws::Lambda::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class GetResourcePolicy
+ def self.build(context)
+ Aws::Lambda::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRuntimeManagementConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Invoke
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InvokeAsync
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InvokeWithResponseStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCodeSigningConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventSourceMappings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFunctionEventInvokeConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFunctionUrlConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFunctions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFunctionsByCodeSigningConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLayerVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLayers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProvisionedConcurrencyConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVersionsByFunction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PublishLayerVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PublishVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFunctionCodeSigningConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFunctionConcurrency
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFunctionEventInvokeConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFunctionRecursionConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutProvisionedConcurrencyConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class PutPublicAccessBlockConfig
+ def self.build(context)
+ Aws::Lambda::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class PutResourcePolicy
+ def self.build(context)
+ Aws::Lambda::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRuntimeManagementConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveLayerVersionPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemovePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCodeSigningConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventSourceMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFunctionCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFunctionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFunctionEventInvokeConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFunctionUrlConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lambda::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb
index 9c5ec6ecb8a..5f9e691f7bb 100644
--- a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb
+++ b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb
@@ -52,6 +52,7 @@ module Aws::Lambda
# * {PolicyLengthExceededException}
# * {PreconditionFailedException}
# * {ProvisionedConcurrencyConfigNotFoundException}
+ # * {PublicPolicyException}
# * {RecursiveInvocationException}
# * {RequestTooLargeException}
# * {ResourceConflictException}
@@ -577,6 +578,26 @@ def message
end
end
+ class PublicPolicyException < ServiceError
+
+ # @param [Seahorse::Client::RequestContext] context
+ # @param [String] message
+ # @param [Aws::Lambda::Types::PublicPolicyException] data
+ def initialize(context, message, data = Aws::EmptyStructure.new)
+ super(context, message, data)
+ end
+
+ # @return [String]
+ def type
+ @data[:type]
+ end
+
+ # @return [String]
+ def message
+ @message || @data[:message]
+ end
+ end
+
class RecursiveInvocationException < ServiceError
# @param [Seahorse::Client::RequestContext] context
diff --git a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/plugins/endpoints.rb b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/plugins/endpoints.rb
index 52d846c684a..4a5dbc1e5cd 100644
--- a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/plugins/endpoints.rb
+++ b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
@@ -92,6 +101,8 @@ def parameters_for_operation(context)
Aws::Lambda::Endpoints::DeleteLayerVersion.build(context)
when :delete_provisioned_concurrency_config
Aws::Lambda::Endpoints::DeleteProvisionedConcurrencyConfig.build(context)
+ when :delete_resource_policy
+ Aws::Lambda::Endpoints::DeleteResourcePolicy.build(context)
when :get_account_settings
Aws::Lambda::Endpoints::GetAccountSettings.build(context)
when :get_alias
@@ -124,6 +135,10 @@ def parameters_for_operation(context)
Aws::Lambda::Endpoints::GetPolicy.build(context)
when :get_provisioned_concurrency_config
Aws::Lambda::Endpoints::GetProvisionedConcurrencyConfig.build(context)
+ when :get_public_access_block_config
+ Aws::Lambda::Endpoints::GetPublicAccessBlockConfig.build(context)
+ when :get_resource_policy
+ Aws::Lambda::Endpoints::GetResourcePolicy.build(context)
when :get_runtime_management_config
Aws::Lambda::Endpoints::GetRuntimeManagementConfig.build(context)
when :invoke
@@ -170,6 +185,10 @@ def parameters_for_operation(context)
Aws::Lambda::Endpoints::PutFunctionRecursionConfig.build(context)
when :put_provisioned_concurrency_config
Aws::Lambda::Endpoints::PutProvisionedConcurrencyConfig.build(context)
+ when :put_public_access_block_config
+ Aws::Lambda::Endpoints::PutPublicAccessBlockConfig.build(context)
+ when :put_resource_policy
+ Aws::Lambda::Endpoints::PutResourcePolicy.build(context)
when :put_runtime_management_config
Aws::Lambda::Endpoints::PutRuntimeManagementConfig.build(context)
when :remove_layer_version_permission
diff --git a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb
index ffe9627a0ef..620b1ec3fe2 100644
--- a/gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb
+++ b/gems/aws-sdk-lambda/lib/aws-sdk-lambda/types.rb
@@ -167,10 +167,10 @@ class AddLayerVersionPermissionResponse < Struct.new(
# @return [String]
#
# @!attribute [rw] principal
- # The Amazon Web Servicesservice or Amazon Web Services account that
- # invokes the function. If you specify a service, use `SourceArn` or
- # `SourceAccount` to limit who can invoke the function through that
- # service.
+ # The Amazon Web Servicesservice, Amazon Web Services account, IAM
+ # user, or IAM role that invokes the function. If you specify a
+ # service, use `SourceArn` or `SourceAccount` to limit who can invoke
+ # the function through that service.
# @return [String]
#
# @!attribute [rw] source_arn
@@ -625,12 +625,17 @@ class CreateAliasRequest < Struct.new(
# validation checks fail.
# @return [Types::CodeSigningPolicies]
#
+ # @!attribute [rw] tags
+ # A list of tags to add to the code signing configuration.
+ # @return [Hash]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/CreateCodeSigningConfigRequest AWS API Documentation
#
class CreateCodeSigningConfigRequest < Struct.new(
:description,
:allowed_publishers,
- :code_signing_policies)
+ :code_signing_policies,
+ :tags)
SENSITIVE = []
include Aws::Structure
end
@@ -790,6 +795,10 @@ class CreateCodeSigningConfigResponse < Struct.new(
# record expires.
# @return [Integer]
#
+ # @!attribute [rw] tags
+ # A list of tags to apply to the event source mapping.
+ # @return [Hash]
+ #
# @!attribute [rw] tumbling_window_in_seconds
# (Kinesis and DynamoDB Streams only) The duration in seconds of a
# processing window for DynamoDB and Kinesis Streams event sources. A
@@ -870,6 +879,7 @@ class CreateEventSourceMappingRequest < Struct.new(
:maximum_record_age_in_seconds,
:bisect_batch_on_function_error,
:maximum_retry_attempts,
+ :tags,
:tumbling_window_in_seconds,
:topics,
:queues,
@@ -1532,6 +1542,28 @@ class DeleteProvisionedConcurrencyConfigRequest < Struct.new(
include Aws::Structure
end
+ # @!attribute [rw] resource_arn
+ # The Amazon Resource Name (ARN) of the function you want to delete
+ # the policy from. You can use either a qualified or an unqualified
+ # ARN, but the value you specify must be a complete ARN and wildcard
+ # characters are not accepted.
+ # @return [String]
+ #
+ # @!attribute [rw] revision_id
+ # Delete the existing policy only if its revision ID matches the
+ # string you specify. To find the revision ID of the policy currently
+ # attached to your function, use the GetResourcePolicy action.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/DeleteResourcePolicyRequest AWS API Documentation
+ #
+ class DeleteResourcePolicyRequest < Struct.new(
+ :resource_arn,
+ :revision_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# A configuration object that specifies the destination of an event
# after Lambda processes it.
#
@@ -2017,6 +2049,10 @@ class EphemeralStorage < Struct.new(
# criteria encryption.
# @return [Types::FilterCriteriaError]
#
+ # @!attribute [rw] event_source_mapping_arn
+ # The Amazon Resource Name (ARN) of the event source mapping.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/EventSourceMappingConfiguration AWS API Documentation
#
class EventSourceMappingConfiguration < Struct.new(
@@ -2048,7 +2084,8 @@ class EventSourceMappingConfiguration < Struct.new(
:scaling_config,
:document_db_event_source_config,
:kms_key_arn,
- :filter_criteria_error)
+ :filter_criteria_error,
+ :event_source_mapping_arn)
SENSITIVE = []
include Aws::Structure
end
@@ -3300,6 +3337,63 @@ class GetProvisionedConcurrencyConfigResponse < Struct.new(
include Aws::Structure
end
+ # @!attribute [rw] resource_arn
+ # The Amazon Resource Name (ARN) of the function you want to retrieve
+ # public-access settings for.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPublicAccessBlockConfigRequest AWS API Documentation
+ #
+ class GetPublicAccessBlockConfigRequest < Struct.new(
+ :resource_arn)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] public_access_block_config
+ # The public-access settings configured for the function you specified
+ # @return [Types::PublicAccessBlockConfig]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetPublicAccessBlockConfigResponse AWS API Documentation
+ #
+ class GetPublicAccessBlockConfigResponse < Struct.new(
+ :public_access_block_config)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] resource_arn
+ # The Amazon Resource Name (ARN) of the function you want to retrieve
+ # the policy for. You can use either a qualified or an unqualified
+ # ARN, but the value you specify must be a complete ARN and wildcard
+ # characters are not accepted.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicyRequest AWS API Documentation
+ #
+ class GetResourcePolicyRequest < Struct.new(
+ :resource_arn)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] policy
+ # The resource-based policy attached to the function you specified.
+ # @return [String]
+ #
+ # @!attribute [rw] revision_id
+ # The revision ID of the policy.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/GetResourcePolicyResponse AWS API Documentation
+ #
+ class GetResourcePolicyResponse < Struct.new(
+ :policy,
+ :revision_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# @!attribute [rw] function_name
# The name or ARN of the Lambda function.
#
@@ -4667,8 +4761,8 @@ class ListProvisionedConcurrencyConfigsResponse < Struct.new(
end
# @!attribute [rw] resource
- # The function's Amazon Resource Name (ARN). Note: Lambda does not
- # support adding tags to aliases or versions.
+ # The resource's Amazon Resource Name (ARN). Note: Lambda does not
+ # support adding tags to function aliases or versions.
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/ListTagsRequest AWS API Documentation
@@ -4951,6 +5045,52 @@ class ProvisionedConcurrencyConfigNotFoundException < Struct.new(
include Aws::Structure
end
+ # An object that defines the public-access settings for a function.
+ #
+ # @!attribute [rw] block_public_policy
+ # To block the creation of resource-based policies that would grant
+ # public access to your function, set `BlockPublicPolicy` to `true`.
+ # To allow the creation of resource-based policies that would grant
+ # public access to your function, set `BlockPublicPolicy` to `false`.
+ # @return [Boolean]
+ #
+ # @!attribute [rw] restrict_public_resource
+ # To block public access to your function, even if its resource-based
+ # policy allows it, set `RestrictPublicResource` to `true`. To allow
+ # public access to a function with a resource-based policy that
+ # permits it, set `RestrictPublicResource` to `false`.
+ # @return [Boolean]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublicAccessBlockConfig AWS API Documentation
+ #
+ class PublicAccessBlockConfig < Struct.new(
+ :block_public_policy,
+ :restrict_public_resource)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Lambda prevented your policy from being created because it would grant
+ # public access to your function. If you intended to create a public
+ # policy, use the PutPublicAccessBlockConfig API action to configure
+ # your function's public-access settings to allow public policies.
+ #
+ # @!attribute [rw] type
+ # The exception type.
+ # @return [String]
+ #
+ # @!attribute [rw] message
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PublicPolicyException AWS API Documentation
+ #
+ class PublicPolicyException < Struct.new(
+ :type,
+ :message)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# @!attribute [rw] layer_name
# The name or Amazon Resource Name (ARN) of the layer.
# @return [String]
@@ -5435,6 +5575,103 @@ class PutProvisionedConcurrencyConfigResponse < Struct.new(
include Aws::Structure
end
+ # @!attribute [rw] resource_arn
+ # The Amazon Resource Name (ARN) of the function you want to configure
+ # public-access settings for. Public-access settings are applied at
+ # the function level, so you can't apply different settings to
+ # function versions or aliases.
+ # @return [String]
+ #
+ # @!attribute [rw] public_access_block_config
+ # An object defining the public-access settings you want to apply.
+ #
+ # To block the creation of resource-based policies that would grant
+ # public access to your function, set `BlockPublicPolicy` to `true`.
+ # To allow the creation of resource-based policies that would grant
+ # public access to your function, set `BlockPublicPolicy` to `false`.
+ #
+ # To block public access to your function, even if its resource-based
+ # policy allows it, set `RestrictPublicResource` to `true`. To allow
+ # public access to a function with a resource-based policy that
+ # permits it, set `RestrictPublicResource` to `false`.
+ #
+ # The default setting for both `BlockPublicPolicy` and
+ # `RestrictPublicResource` is `true`.
+ # @return [Types::PublicAccessBlockConfig]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutPublicAccessBlockConfigRequest AWS API Documentation
+ #
+ class PutPublicAccessBlockConfigRequest < Struct.new(
+ :resource_arn,
+ :public_access_block_config)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] public_access_block_config
+ # The public-access settings Lambda applied to your function.
+ # @return [Types::PublicAccessBlockConfig]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutPublicAccessBlockConfigResponse AWS API Documentation
+ #
+ class PutPublicAccessBlockConfigResponse < Struct.new(
+ :public_access_block_config)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] resource_arn
+ # The Amazon Resource Name (ARN) of the function you want to add the
+ # policy to. You can use either a qualified or an unqualified ARN, but
+ # the value you specify must be a complete ARN and wildcard characters
+ # are not accepted.
+ # @return [String]
+ #
+ # @!attribute [rw] policy
+ # The JSON resource-based policy you want to add to your function.
+ #
+ # To learn more about creating resource-based policies for controlling
+ # access to Lambda, see [Working with resource-based IAM policies in
+ # Lambda][1] in the *Lambda Developer Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/
+ # @return [String]
+ #
+ # @!attribute [rw] revision_id
+ # Replace the existing policy only if its revision ID matches the
+ # string you specify. To find the revision ID of the policy currently
+ # attached to your function, use the GetResourcePolicy action.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicyRequest AWS API Documentation
+ #
+ class PutResourcePolicyRequest < Struct.new(
+ :resource_arn,
+ :policy,
+ :revision_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] policy
+ # The policy Lambda added to your function.
+ # @return [String]
+ #
+ # @!attribute [rw] revision_id
+ # The revision ID of the policy Lambda added to your function.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/PutResourcePolicyResponse AWS API Documentation
+ #
+ class PutResourcePolicyResponse < Struct.new(
+ :policy,
+ :revision_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# @!attribute [rw] function_name
# The name or ARN of the Lambda function.
#
@@ -6028,11 +6265,11 @@ class SubnetIPAddressLimitReachedException < Struct.new(
end
# @!attribute [rw] resource
- # The function's Amazon Resource Name (ARN).
+ # The resource's Amazon Resource Name (ARN).
# @return [String]
#
# @!attribute [rw] tags
- # A list of tags to apply to the function.
+ # A list of tags to apply to the resource.
# @return [Hash]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/TagResourceRequest AWS API Documentation
@@ -6126,11 +6363,11 @@ class UnsupportedMediaTypeException < Struct.new(
end
# @!attribute [rw] resource
- # The function's Amazon Resource Name (ARN).
+ # The resource's Amazon Resource Name (ARN).
# @return [String]
#
# @!attribute [rw] tag_keys
- # A list of tag keys to remove from the function.
+ # A list of tag keys to remove from the resource.
# @return [Array]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/lambda-2015-03-31/UntagResourceRequest AWS API Documentation
diff --git a/gems/aws-sdk-lambda/sig/client.rbs b/gems/aws-sdk-lambda/sig/client.rbs
index 8c2537023cd..cdbbd490ef2 100644
--- a/gems/aws-sdk-lambda/sig/client.rbs
+++ b/gems/aws-sdk-lambda/sig/client.rbs
@@ -147,7 +147,8 @@ module Aws
},
?code_signing_policies: {
untrusted_artifact_on_deployment: ("Warn" | "Enforce")?
- }
+ },
+ ?tags: Hash[::String, ::String]
) -> _CreateCodeSigningConfigResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCodeSigningConfigResponseSuccess
@@ -182,6 +183,7 @@ module Aws
def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig
def kms_key_arn: () -> ::String
def filter_criteria_error: () -> Types::FilterCriteriaError
+ def event_source_mapping_arn: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#create_event_source_mapping-instance_method
def create_event_source_mapping: (
@@ -211,6 +213,7 @@ module Aws
?maximum_record_age_in_seconds: ::Integer,
?bisect_batch_on_function_error: bool,
?maximum_retry_attempts: ::Integer,
+ ?tags: Hash[::String, ::String],
?tumbling_window_in_seconds: ::Integer,
?topics: Array[::String],
?queues: Array[::String],
@@ -417,6 +420,7 @@ module Aws
def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig
def kms_key_arn: () -> ::String
def filter_criteria_error: () -> Types::FilterCriteriaError
+ def event_source_mapping_arn: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_event_source_mapping-instance_method
def delete_event_source_mapping: (
@@ -471,6 +475,13 @@ module Aws
) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#delete_resource_policy-instance_method
+ def delete_resource_policy: (
+ resource_arn: ::String,
+ ?revision_id: ::String
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
+
interface _GetAccountSettingsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetAccountSettingsResponse]
def account_limit: () -> Types::AccountLimit
@@ -538,6 +549,7 @@ module Aws
def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig
def kms_key_arn: () -> ::String
def filter_criteria_error: () -> Types::FilterCriteriaError
+ def event_source_mapping_arn: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_event_source_mapping-instance_method
def get_event_source_mapping: (
@@ -745,6 +757,27 @@ module Aws
) -> _GetProvisionedConcurrencyConfigResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProvisionedConcurrencyConfigResponseSuccess
+ interface _GetPublicAccessBlockConfigResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetPublicAccessBlockConfigResponse]
+ def public_access_block_config: () -> Types::PublicAccessBlockConfig
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_public_access_block_config-instance_method
+ def get_public_access_block_config: (
+ resource_arn: ::String
+ ) -> _GetPublicAccessBlockConfigResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPublicAccessBlockConfigResponseSuccess
+
+ interface _GetResourcePolicyResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResponse]
+ def policy: () -> ::String
+ def revision_id: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#get_resource_policy-instance_method
+ def get_resource_policy: (
+ resource_arn: ::String
+ ) -> _GetResourcePolicyResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
+
interface _GetRuntimeManagementConfigResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetRuntimeManagementConfigResponse]
def update_runtime_on: () -> ("Auto" | "Manual" | "FunctionUpdate")
@@ -1116,6 +1149,33 @@ module Aws
) -> _PutProvisionedConcurrencyConfigResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutProvisionedConcurrencyConfigResponseSuccess
+ interface _PutPublicAccessBlockConfigResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutPublicAccessBlockConfigResponse]
+ def public_access_block_config: () -> Types::PublicAccessBlockConfig
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#put_public_access_block_config-instance_method
+ def put_public_access_block_config: (
+ resource_arn: ::String,
+ public_access_block_config: {
+ block_public_policy: bool?,
+ restrict_public_resource: bool?
+ }
+ ) -> _PutPublicAccessBlockConfigResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutPublicAccessBlockConfigResponseSuccess
+
+ interface _PutResourcePolicyResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResponse]
+ def policy: () -> ::String
+ def revision_id: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#put_resource_policy-instance_method
+ def put_resource_policy: (
+ resource_arn: ::String,
+ policy: ::String,
+ ?revision_id: ::String
+ ) -> _PutResourcePolicyResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
+
interface _PutRuntimeManagementConfigResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::PutRuntimeManagementConfigResponse]
def update_runtime_on: () -> ("Auto" | "Manual" | "FunctionUpdate")
@@ -1233,6 +1293,7 @@ module Aws
def document_db_event_source_config: () -> Types::DocumentDBEventSourceConfig
def kms_key_arn: () -> ::String
def filter_criteria_error: () -> Types::FilterCriteriaError
+ def event_source_mapping_arn: () -> ::String
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/Lambda/Client.html#update_event_source_mapping-instance_method
def update_event_source_mapping: (
diff --git a/gems/aws-sdk-lambda/sig/errors.rbs b/gems/aws-sdk-lambda/sig/errors.rbs
index e08e0243b9b..0e00520a8a3 100644
--- a/gems/aws-sdk-lambda/sig/errors.rbs
+++ b/gems/aws-sdk-lambda/sig/errors.rbs
@@ -112,6 +112,10 @@ module Aws
def type: () -> ::String
def message: () -> ::String
end
+ class PublicPolicyException < ::Aws::Errors::ServiceError
+ def type: () -> ::String
+ def message: () -> ::String
+ end
class RecursiveInvocationException < ::Aws::Errors::ServiceError
def type: () -> ::String
def message: () -> ::String
diff --git a/gems/aws-sdk-lambda/sig/types.rbs b/gems/aws-sdk-lambda/sig/types.rbs
index c2a649f5a84..040463b02ff 100644
--- a/gems/aws-sdk-lambda/sig/types.rbs
+++ b/gems/aws-sdk-lambda/sig/types.rbs
@@ -146,6 +146,7 @@ module Aws::Lambda
attr_accessor description: ::String
attr_accessor allowed_publishers: Types::AllowedPublishers
attr_accessor code_signing_policies: Types::CodeSigningPolicies
+ attr_accessor tags: ::Hash[::String, ::String]
SENSITIVE: []
end
@@ -168,6 +169,7 @@ module Aws::Lambda
attr_accessor maximum_record_age_in_seconds: ::Integer
attr_accessor bisect_batch_on_function_error: bool
attr_accessor maximum_retry_attempts: ::Integer
+ attr_accessor tags: ::Hash[::String, ::String]
attr_accessor tumbling_window_in_seconds: ::Integer
attr_accessor topics: ::Array[::String]
attr_accessor queues: ::Array[::String]
@@ -293,6 +295,12 @@ module Aws::Lambda
SENSITIVE: []
end
+ class DeleteResourcePolicyRequest
+ attr_accessor resource_arn: ::String
+ attr_accessor revision_id: ::String
+ SENSITIVE: []
+ end
+
class DestinationConfig
attr_accessor on_success: Types::OnSuccess
attr_accessor on_failure: Types::OnFailure
@@ -407,6 +415,7 @@ module Aws::Lambda
attr_accessor document_db_event_source_config: Types::DocumentDBEventSourceConfig
attr_accessor kms_key_arn: ::String
attr_accessor filter_criteria_error: Types::FilterCriteriaError
+ attr_accessor event_source_mapping_arn: ::String
SENSITIVE: []
end
@@ -677,6 +686,27 @@ module Aws::Lambda
SENSITIVE: []
end
+ class GetPublicAccessBlockConfigRequest
+ attr_accessor resource_arn: ::String
+ SENSITIVE: []
+ end
+
+ class GetPublicAccessBlockConfigResponse
+ attr_accessor public_access_block_config: Types::PublicAccessBlockConfig
+ SENSITIVE: []
+ end
+
+ class GetResourcePolicyRequest
+ attr_accessor resource_arn: ::String
+ SENSITIVE: []
+ end
+
+ class GetResourcePolicyResponse
+ attr_accessor policy: ::String
+ attr_accessor revision_id: ::String
+ SENSITIVE: []
+ end
+
class GetRuntimeManagementConfigRequest
attr_accessor function_name: ::String
attr_accessor qualifier: ::String
@@ -1085,6 +1115,18 @@ module Aws::Lambda
SENSITIVE: []
end
+ class PublicAccessBlockConfig
+ attr_accessor block_public_policy: bool
+ attr_accessor restrict_public_resource: bool
+ SENSITIVE: []
+ end
+
+ class PublicPolicyException
+ attr_accessor type: ::String
+ attr_accessor message: ::String
+ SENSITIVE: []
+ end
+
class PublishLayerVersionRequest
attr_accessor layer_name: ::String
attr_accessor description: ::String
@@ -1171,6 +1213,30 @@ module Aws::Lambda
SENSITIVE: []
end
+ class PutPublicAccessBlockConfigRequest
+ attr_accessor resource_arn: ::String
+ attr_accessor public_access_block_config: Types::PublicAccessBlockConfig
+ SENSITIVE: []
+ end
+
+ class PutPublicAccessBlockConfigResponse
+ attr_accessor public_access_block_config: Types::PublicAccessBlockConfig
+ SENSITIVE: []
+ end
+
+ class PutResourcePolicyRequest
+ attr_accessor resource_arn: ::String
+ attr_accessor policy: ::String
+ attr_accessor revision_id: ::String
+ SENSITIVE: []
+ end
+
+ class PutResourcePolicyResponse
+ attr_accessor policy: ::String
+ attr_accessor revision_id: ::String
+ SENSITIVE: []
+ end
+
class PutRuntimeManagementConfigRequest
attr_accessor function_name: ::String
attr_accessor qualifier: ::String
diff --git a/gems/aws-sdk-lambda/spec/endpoint_provider_spec.rb b/gems/aws-sdk-lambda/spec/endpoint_provider_spec.rb
index 90896e09ad8..5d377a33ab8 100644
--- a/gems/aws-sdk-lambda/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-lambda/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Lambda
describe EndpointProvider do
subject { Aws::Lambda::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Lambda
end
end
- context 'For region af-south-1 with FIPS disabled and DualStack enabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.af-south-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::Lambda
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Lambda
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::Lambda
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-northeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Lambda
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack enabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-northeast-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::Lambda
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-northeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Lambda
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack enabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-northeast-2.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::Lambda
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-northeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Lambda
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack enabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-northeast-3.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::Lambda
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Lambda
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack enabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-south-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::Lambda
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-southeast-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Lambda
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack enabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-southeast-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::Lambda
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-southeast-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Lambda
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack enabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-southeast-2.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::Lambda
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-southeast-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Lambda
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack enabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ap-southeast-3.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::Lambda
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ca-central-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Lambda
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack enabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.ca-central-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::Lambda
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-central-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Lambda
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack enabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-central-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::Lambda
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-north-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Lambda
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-north-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::Lambda
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-south-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Lambda
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack enabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-south-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::Lambda
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-west-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::Lambda
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack enabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-west-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Lambda
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-west-2.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::Lambda
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack enabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-west-2.api.aws"}}
end
@@ -434,7 +434,7 @@ module Aws::Lambda
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-west-3.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::Lambda
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack enabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.eu-west-3.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::Lambda
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.me-south-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::Lambda
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack enabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.me-south-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::Lambda
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.sa-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Lambda
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.sa-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::Lambda
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-east-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::Lambda
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.us-east-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::Lambda
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::Lambda
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-east-2.amazonaws.com"}}
end
@@ -574,7 +574,7 @@ module Aws::Lambda
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.us-east-2.amazonaws.com"}}
end
@@ -588,7 +588,7 @@ module Aws::Lambda
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-east-2.api.aws"}}
end
@@ -602,7 +602,7 @@ module Aws::Lambda
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-west-1.amazonaws.com"}}
end
@@ -616,7 +616,7 @@ module Aws::Lambda
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.us-west-1.amazonaws.com"}}
end
@@ -630,7 +630,7 @@ module Aws::Lambda
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-west-1.api.aws"}}
end
@@ -644,7 +644,7 @@ module Aws::Lambda
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-west-2.amazonaws.com"}}
end
@@ -658,7 +658,7 @@ module Aws::Lambda
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.us-west-2.amazonaws.com"}}
end
@@ -672,7 +672,7 @@ module Aws::Lambda
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack enabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-west-2.api.aws"}}
end
@@ -686,7 +686,7 @@ module Aws::Lambda
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.us-east-1.api.aws"}}
end
@@ -700,7 +700,7 @@ module Aws::Lambda
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.cn-north-1.amazonaws.com.cn"}}
end
@@ -714,7 +714,7 @@ module Aws::Lambda
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -728,7 +728,7 @@ module Aws::Lambda
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -742,7 +742,7 @@ module Aws::Lambda
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.cn-northwest-1.api.amazonwebservices.com.cn"}}
end
@@ -756,7 +756,7 @@ module Aws::Lambda
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -770,7 +770,7 @@ module Aws::Lambda
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -784,7 +784,7 @@ module Aws::Lambda
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-gov-east-1.amazonaws.com"}}
end
@@ -798,7 +798,7 @@ module Aws::Lambda
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -812,7 +812,7 @@ module Aws::Lambda
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-gov-west-1.amazonaws.com"}}
end
@@ -826,7 +826,7 @@ module Aws::Lambda
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -840,7 +840,7 @@ module Aws::Lambda
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.us-gov-east-1.api.aws"}}
end
@@ -854,7 +854,7 @@ module Aws::Lambda
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-gov-east-1.api.aws"}}
end
@@ -868,7 +868,7 @@ module Aws::Lambda
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-iso-east-1.c2s.ic.gov"}}
end
@@ -882,7 +882,7 @@ module Aws::Lambda
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-iso-west-1.c2s.ic.gov"}}
end
@@ -896,7 +896,7 @@ module Aws::Lambda
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -909,7 +909,7 @@ module Aws::Lambda
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -923,7 +923,7 @@ module Aws::Lambda
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -936,7 +936,7 @@ module Aws::Lambda
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -950,7 +950,7 @@ module Aws::Lambda
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -963,7 +963,7 @@ module Aws::Lambda
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lambda-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -977,7 +977,7 @@ module Aws::Lambda
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -990,7 +990,7 @@ module Aws::Lambda
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -1004,7 +1004,7 @@ module Aws::Lambda
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -1018,7 +1018,7 @@ module Aws::Lambda
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -1031,7 +1031,7 @@ module Aws::Lambda
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -1044,7 +1044,7 @@ module Aws::Lambda
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-launchwizard/CHANGELOG.md b/gems/aws-sdk-launchwizard/CHANGELOG.md
index 0f8d55c371d..5912ece0a1d 100644
--- a/gems/aws-sdk-launchwizard/CHANGELOG.md
+++ b/gems/aws-sdk-launchwizard/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.13.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.12.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-launchwizard/VERSION b/gems/aws-sdk-launchwizard/VERSION
index 0eed1a29efd..feaae22bac7 100644
--- a/gems/aws-sdk-launchwizard/VERSION
+++ b/gems/aws-sdk-launchwizard/VERSION
@@ -1 +1 @@
-1.12.0
+1.13.0
diff --git a/gems/aws-sdk-launchwizard/aws-sdk-launchwizard.gemspec b/gems/aws-sdk-launchwizard/aws-sdk-launchwizard.gemspec
index ee2a27d53fe..9e19651e7e4 100644
--- a/gems/aws-sdk-launchwizard/aws-sdk-launchwizard.gemspec
+++ b/gems/aws-sdk-launchwizard/aws-sdk-launchwizard.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-launchwizard/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard.rb b/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard.rb
index faad03419e8..929a6aa7f4e 100644
--- a/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard.rb
+++ b/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::LaunchWizard
- GEM_VERSION = '1.12.0'
+ GEM_VERSION = '1.13.0'
end
diff --git a/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb b/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb
index 2c877d74bdc..75b17d25d55 100644
--- a/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb
+++ b/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/client.rb
@@ -995,7 +995,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-launchwizard'
- context[:gem_version] = '1.12.0'
+ context[:gem_version] = '1.13.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/endpoints.rb b/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/endpoints.rb
index 951bbbae497..13c3aa2b0b5 100644
--- a/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/endpoints.rb
+++ b/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/endpoints.rb
@@ -14,168 +14,132 @@ module Endpoints
class CreateDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkloadDeploymentPattern
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeploymentEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkloadDeploymentPatterns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkloads
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LaunchWizard::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/plugins/endpoints.rb b/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/plugins/endpoints.rb
index eceab48127b..82d1641cc1d 100644
--- a/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/plugins/endpoints.rb
+++ b/gems/aws-sdk-launchwizard/lib/aws-sdk-launchwizard/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-launchwizard/spec/endpoint_provider_spec.rb b/gems/aws-sdk-launchwizard/spec/endpoint_provider_spec.rb
index 01ba5c41d4d..a3e19343e25 100644
--- a/gems/aws-sdk-launchwizard/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-launchwizard/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LaunchWizard
describe EndpointProvider do
subject { Aws::LaunchWizard::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::LaunchWizard
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::LaunchWizard
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::LaunchWizard
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::LaunchWizard
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::LaunchWizard
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://launchwizard.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::LaunchWizard
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::LaunchWizard
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::LaunchWizard
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::LaunchWizard
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::LaunchWizard
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-lex/CHANGELOG.md b/gems/aws-sdk-lex/CHANGELOG.md
index 235e230c2c3..823c3768033 100644
--- a/gems/aws-sdk-lex/CHANGELOG.md
+++ b/gems/aws-sdk-lex/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.68.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.67.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-lex/VERSION b/gems/aws-sdk-lex/VERSION
index 65ee0959841..ee2f4ca9130 100644
--- a/gems/aws-sdk-lex/VERSION
+++ b/gems/aws-sdk-lex/VERSION
@@ -1 +1 @@
-1.67.0
+1.68.0
diff --git a/gems/aws-sdk-lex/aws-sdk-lex.gemspec b/gems/aws-sdk-lex/aws-sdk-lex.gemspec
index 0e9d1232373..d24e6e5ed34 100644
--- a/gems/aws-sdk-lex/aws-sdk-lex.gemspec
+++ b/gems/aws-sdk-lex/aws-sdk-lex.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lex/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-lex/lib/aws-sdk-lex.rb b/gems/aws-sdk-lex/lib/aws-sdk-lex.rb
index 3e66bfacf5d..45801ea40b0 100644
--- a/gems/aws-sdk-lex/lib/aws-sdk-lex.rb
+++ b/gems/aws-sdk-lex/lib/aws-sdk-lex.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Lex
- GEM_VERSION = '1.67.0'
+ GEM_VERSION = '1.68.0'
end
diff --git a/gems/aws-sdk-lex/lib/aws-sdk-lex/client.rb b/gems/aws-sdk-lex/lib/aws-sdk-lex/client.rb
index 3339a61b368..1e4e3d628ec 100644
--- a/gems/aws-sdk-lex/lib/aws-sdk-lex/client.rb
+++ b/gems/aws-sdk-lex/lib/aws-sdk-lex/client.rb
@@ -1249,7 +1249,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-lex'
- context[:gem_version] = '1.67.0'
+ context[:gem_version] = '1.68.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-lex/lib/aws-sdk-lex/endpoints.rb b/gems/aws-sdk-lex/lib/aws-sdk-lex/endpoints.rb
index 92ab7decb34..5892dd0c9e4 100644
--- a/gems/aws-sdk-lex/lib/aws-sdk-lex/endpoints.rb
+++ b/gems/aws-sdk-lex/lib/aws-sdk-lex/endpoints.rb
@@ -14,70 +14,55 @@ module Endpoints
class DeleteSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lex::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lex::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PostContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lex::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PostText
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lex::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lex::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-lex/lib/aws-sdk-lex/plugins/endpoints.rb b/gems/aws-sdk-lex/lib/aws-sdk-lex/plugins/endpoints.rb
index 050d5eec69c..fde88b6b033 100644
--- a/gems/aws-sdk-lex/lib/aws-sdk-lex/plugins/endpoints.rb
+++ b/gems/aws-sdk-lex/lib/aws-sdk-lex/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-lex/spec/endpoint_provider_spec.rb b/gems/aws-sdk-lex/spec/endpoint_provider_spec.rb
index 94461a54c43..6ec9e88be32 100644
--- a/gems/aws-sdk-lex/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-lex/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Lex
describe EndpointProvider do
subject { Aws::Lex::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Lex
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Lex
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Lex
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Lex
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.eu-west-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Lex
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.eu-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Lex
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Lex
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-fips.lex.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Lex
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.us-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Lex
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-fips.lex.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Lex
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Lex
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::Lex
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::Lex
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::Lex
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::Lex
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::Lex
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.us-gov-west-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Lex
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-fips.lex.us-gov-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Lex
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::Lex
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-fips.lex.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Lex
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::Lex
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Lex
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::Lex
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::Lex
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::Lex
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::Lex
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::Lex
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::Lex
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::Lex
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.lex.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::Lex
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::Lex
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::Lex
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::Lex
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::Lex
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-lexmodelbuildingservice/CHANGELOG.md b/gems/aws-sdk-lexmodelbuildingservice/CHANGELOG.md
index 9797220094c..902554c8b78 100644
--- a/gems/aws-sdk-lexmodelbuildingservice/CHANGELOG.md
+++ b/gems/aws-sdk-lexmodelbuildingservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.79.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.78.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-lexmodelbuildingservice/VERSION b/gems/aws-sdk-lexmodelbuildingservice/VERSION
index 54227249d1f..b3a8c61e6a8 100644
--- a/gems/aws-sdk-lexmodelbuildingservice/VERSION
+++ b/gems/aws-sdk-lexmodelbuildingservice/VERSION
@@ -1 +1 @@
-1.78.0
+1.79.0
diff --git a/gems/aws-sdk-lexmodelbuildingservice/aws-sdk-lexmodelbuildingservice.gemspec b/gems/aws-sdk-lexmodelbuildingservice/aws-sdk-lexmodelbuildingservice.gemspec
index fac6bce2bb6..415a8d813aa 100644
--- a/gems/aws-sdk-lexmodelbuildingservice/aws-sdk-lexmodelbuildingservice.gemspec
+++ b/gems/aws-sdk-lexmodelbuildingservice/aws-sdk-lexmodelbuildingservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lexmodelbuildingservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice.rb b/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice.rb
index ed595532ace..a479bdd50f6 100644
--- a/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice.rb
+++ b/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::LexModelBuildingService
- GEM_VERSION = '1.78.0'
+ GEM_VERSION = '1.79.0'
end
diff --git a/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/client.rb b/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/client.rb
index 1ab24f5756c..cc88a12c888 100644
--- a/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/client.rb
+++ b/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/client.rb
@@ -4490,7 +4490,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-lexmodelbuildingservice'
- context[:gem_version] = '1.78.0'
+ context[:gem_version] = '1.79.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/endpoints.rb b/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/endpoints.rb
index bfec380b4c9..68bf21c5b5f 100644
--- a/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/endpoints.rb
+++ b/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/endpoints.rb
@@ -14,588 +14,462 @@ module Endpoints
class CreateBotVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIntentVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSlotTypeVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBotAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBotChannelAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBotVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIntent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIntentVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSlotType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSlotTypeVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUtterances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBotAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBotAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBotChannelAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBotChannelAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBotVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBuiltinIntent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBuiltinIntents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBuiltinSlotTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIntent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIntentVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIntents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMigration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMigrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSlotType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSlotTypeVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSlotTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUtterancesView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutBotAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutIntent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSlotType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMigration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelBuildingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/plugins/endpoints.rb b/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/plugins/endpoints.rb
index 98d62e84294..b145b9a6703 100644
--- a/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-lexmodelbuildingservice/lib/aws-sdk-lexmodelbuildingservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-lexmodelbuildingservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-lexmodelbuildingservice/spec/endpoint_provider_spec.rb
index 429b02cd7fe..ff63d555a25 100644
--- a/gems/aws-sdk-lexmodelbuildingservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-lexmodelbuildingservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LexModelBuildingService
describe EndpointProvider do
subject { Aws::LexModelBuildingService::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.eu-west-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.eu-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-fips.lex.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.us-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-fips.lex.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.us-gov-west-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-fips.lex.us-gov-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-fips.lex.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models.lex.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::LexModelBuildingService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::LexModelBuildingService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-lexmodelsv2/CHANGELOG.md b/gems/aws-sdk-lexmodelsv2/CHANGELOG.md
index 7c5d4492488..7571febf192 100644
--- a/gems/aws-sdk-lexmodelsv2/CHANGELOG.md
+++ b/gems/aws-sdk-lexmodelsv2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.60.0 (2024-09-11)
+------------------
+
+* Feature - Support new Polly voice engines in VoiceSettings: long-form and generative
+
1.59.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-lexmodelsv2/VERSION b/gems/aws-sdk-lexmodelsv2/VERSION
index bb120e876c6..4d5fde5bd16 100644
--- a/gems/aws-sdk-lexmodelsv2/VERSION
+++ b/gems/aws-sdk-lexmodelsv2/VERSION
@@ -1 +1 @@
-1.59.0
+1.60.0
diff --git a/gems/aws-sdk-lexmodelsv2/aws-sdk-lexmodelsv2.gemspec b/gems/aws-sdk-lexmodelsv2/aws-sdk-lexmodelsv2.gemspec
index b4891667875..2ccca1f699f 100644
--- a/gems/aws-sdk-lexmodelsv2/aws-sdk-lexmodelsv2.gemspec
+++ b/gems/aws-sdk-lexmodelsv2/aws-sdk-lexmodelsv2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lexmodelsv2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2.rb b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2.rb
index 61117fe0a7b..fc753b979d7 100644
--- a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2.rb
+++ b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::LexModelsV2
- GEM_VERSION = '1.59.0'
+ GEM_VERSION = '1.60.0'
end
diff --git a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb
index 5b8f65e1b86..62bdcfff953 100644
--- a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb
+++ b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/client.rb
@@ -1060,7 +1060,7 @@ def create_bot_alias(params = {}, options = {})
# nlu_intent_confidence_threshold: 1.0, # required
# voice_settings: {
# voice_id: "VoiceId", # required
- # engine: "standard", # accepts standard, neural
+ # engine: "standard", # accepts standard, neural, long-form, generative
# },
# generative_ai_settings: {
# runtime_settings: {
@@ -1115,7 +1115,7 @@ def create_bot_alias(params = {}, options = {})
# resp.description #=> String
# resp.nlu_intent_confidence_threshold #=> Float
# resp.voice_settings.voice_id #=> String
- # resp.voice_settings.engine #=> String, one of "standard", "neural"
+ # resp.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
# resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
# resp.creation_date_time #=> Time
# resp.generative_ai_settings.runtime_settings.slot_resolution_improvement.enabled #=> Boolean
@@ -3549,7 +3549,7 @@ def describe_bot_alias(params = {}, options = {})
# resp.description #=> String
# resp.nlu_intent_confidence_threshold #=> Float
# resp.voice_settings.voice_id #=> String
- # resp.voice_settings.engine #=> String, one of "standard", "neural"
+ # resp.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
# resp.intents_count #=> Integer
# resp.slot_types_count #=> Integer
# resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
@@ -4004,7 +4004,7 @@ def describe_export(params = {}, options = {})
# resp.resource_specification.bot_locale_import_specification.locale_id #=> String
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
- # resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural"
+ # resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
@@ -8425,7 +8425,7 @@ def start_bot_resource_generation(params = {}, options = {})
# nlu_intent_confidence_threshold: 1.0,
# voice_settings: {
# voice_id: "VoiceId", # required
- # engine: "standard", # accepts standard, neural
+ # engine: "standard", # accepts standard, neural, long-form, generative
# },
# },
# custom_vocabulary_import_specification: {
@@ -8472,7 +8472,7 @@ def start_bot_resource_generation(params = {}, options = {})
# resp.resource_specification.bot_locale_import_specification.locale_id #=> String
# resp.resource_specification.bot_locale_import_specification.nlu_intent_confidence_threshold #=> Float
# resp.resource_specification.bot_locale_import_specification.voice_settings.voice_id #=> String
- # resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural"
+ # resp.resource_specification.bot_locale_import_specification.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
# resp.resource_specification.custom_vocabulary_import_specification.bot_id #=> String
# resp.resource_specification.custom_vocabulary_import_specification.bot_version #=> String
# resp.resource_specification.custom_vocabulary_import_specification.locale_id #=> String
@@ -9066,7 +9066,7 @@ def update_bot_alias(params = {}, options = {})
# nlu_intent_confidence_threshold: 1.0, # required
# voice_settings: {
# voice_id: "VoiceId", # required
- # engine: "standard", # accepts standard, neural
+ # engine: "standard", # accepts standard, neural, long-form, generative
# },
# generative_ai_settings: {
# runtime_settings: {
@@ -9121,7 +9121,7 @@ def update_bot_alias(params = {}, options = {})
# resp.description #=> String
# resp.nlu_intent_confidence_threshold #=> Float
# resp.voice_settings.voice_id #=> String
- # resp.voice_settings.engine #=> String, one of "standard", "neural"
+ # resp.voice_settings.engine #=> String, one of "standard", "neural", "long-form", "generative"
# resp.bot_locale_status #=> String, one of "Creating", "Building", "Built", "ReadyExpressTesting", "Failed", "Deleting", "NotBuilt", "Importing", "Processing"
# resp.failure_reasons #=> Array
# resp.failure_reasons[0] #=> String
@@ -10494,7 +10494,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-lexmodelsv2'
- context[:gem_version] = '1.59.0'
+ context[:gem_version] = '1.60.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/endpoints.rb b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/endpoints.rb
index 25b9b305974..939ad934561 100644
--- a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/endpoints.rb
+++ b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/endpoints.rb
@@ -14,1428 +14,1122 @@ module Endpoints
class BatchCreateCustomVocabularyItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteCustomVocabularyItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateCustomVocabularyItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BuildBotLocale
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBotAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBotLocale
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBotReplica
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBotVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIntent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResourcePolicyStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSlot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSlotType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTestSetDiscrepancyReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUploadUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBotAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBotLocale
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBotReplica
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBotVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIntent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicyStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSlot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSlotType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTestSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUtterances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBotAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBotLocale
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBotRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBotReplica
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBotResourceGeneration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBotVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomVocabularyMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIntent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSlot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSlotType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTestExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTestSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTestSetDiscrepancyReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTestSetGeneration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateBotElement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTestExecutionArtifactsUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAggregatedUtterances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBotAliasReplicas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBotAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBotLocales
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBotRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBotReplicas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBotResourceGenerations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBotVersionReplicas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBotVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBuiltInIntents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBuiltInSlotTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomVocabularyItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIntentMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIntentPaths
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIntentStageMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIntents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommendedIntents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSessionAnalyticsData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSessionMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSlotTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSlots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestExecutionResultItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestSetRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUtteranceAnalyticsData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUtteranceMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchAssociatedTranscripts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBotRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBotResourceGeneration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTestExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTestSetGeneration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopBotRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBotAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBotLocale
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBotRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIntent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSlot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSlotType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTestSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexModelsV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb
index aa7b22e6126..d2a1e80763e 100644
--- a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb
+++ b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb
index 851c16c1052..0c8de8ecb63 100644
--- a/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb
+++ b/gems/aws-sdk-lexmodelsv2/lib/aws-sdk-lexmodelsv2/types.rb
@@ -2319,6 +2319,16 @@ class BotLocaleHistoryEvent < Struct.new(
# @!attribute [rw] voice_settings
# Defines settings for using an Amazon Polly voice to communicate with
# a user.
+ #
+ # Valid values include:
+ #
+ # * `standard`
+ #
+ # * `neural`
+ #
+ # * `long-form`
+ #
+ # * `generative`
# @return [Types::VoiceSettings]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/models.lex.v2-2020-08-07/BotLocaleImportSpecification AWS API Documentation
@@ -15928,6 +15938,16 @@ class ValidationException < Struct.new(
# Defines settings for using an Amazon Polly voice to communicate with a
# user.
#
+ # Valid values include:
+ #
+ # * `standard`
+ #
+ # * `neural`
+ #
+ # * `long-form`
+ #
+ # * `generative`
+ #
# @!attribute [rw] voice_id
# The identifier of the Amazon Polly voice to use.
# @return [String]
diff --git a/gems/aws-sdk-lexmodelsv2/sig/client.rbs b/gems/aws-sdk-lexmodelsv2/sig/client.rbs
index 2525fae9d4f..f0c7dc50f04 100644
--- a/gems/aws-sdk-lexmodelsv2/sig/client.rbs
+++ b/gems/aws-sdk-lexmodelsv2/sig/client.rbs
@@ -282,7 +282,7 @@ module Aws
nlu_intent_confidence_threshold: ::Float,
?voice_settings: {
voice_id: ::String,
- engine: ("standard" | "neural")?
+ engine: ("standard" | "neural" | "long-form" | "generative")?
},
?generative_ai_settings: {
runtime_settings: {
@@ -7275,7 +7275,7 @@ module Aws
nlu_intent_confidence_threshold: ::Float?,
voice_settings: {
voice_id: ::String,
- engine: ("standard" | "neural")?
+ engine: ("standard" | "neural" | "long-form" | "generative")?
}?
}?,
custom_vocabulary_import_specification: {
@@ -7529,7 +7529,7 @@ module Aws
nlu_intent_confidence_threshold: ::Float,
?voice_settings: {
voice_id: ::String,
- engine: ("standard" | "neural")?
+ engine: ("standard" | "neural" | "long-form" | "generative")?
},
?generative_ai_settings: {
runtime_settings: {
diff --git a/gems/aws-sdk-lexmodelsv2/sig/types.rbs b/gems/aws-sdk-lexmodelsv2/sig/types.rbs
index 6477a173a1c..e00323baf54 100644
--- a/gems/aws-sdk-lexmodelsv2/sig/types.rbs
+++ b/gems/aws-sdk-lexmodelsv2/sig/types.rbs
@@ -3685,7 +3685,7 @@ module Aws::LexModelsV2
class VoiceSettings
attr_accessor voice_id: ::String
- attr_accessor engine: ("standard" | "neural")
+ attr_accessor engine: ("standard" | "neural" | "long-form" | "generative")
SENSITIVE: []
end
diff --git a/gems/aws-sdk-lexmodelsv2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-lexmodelsv2/spec/endpoint_provider_spec.rb
index b4a945e2086..88b4cf7e849 100644
--- a/gems/aws-sdk-lexmodelsv2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-lexmodelsv2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LexModelsV2
describe EndpointProvider do
subject { Aws::LexModelsV2::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::LexModelsV2
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LexModelsV2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::LexModelsV2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::LexModelsV2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::LexModelsV2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::LexModelsV2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::LexModelsV2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::LexModelsV2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.us-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex-fips.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex-fips.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::LexModelsV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::LexModelsV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::LexModelsV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::LexModelsV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::LexModelsV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://models-v2-lex.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::LexModelsV2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::LexModelsV2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::LexModelsV2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::LexModelsV2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::LexModelsV2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-lexruntimev2/CHANGELOG.md b/gems/aws-sdk-lexruntimev2/CHANGELOG.md
index d9453d17d77..842eebbc639 100644
--- a/gems/aws-sdk-lexruntimev2/CHANGELOG.md
+++ b/gems/aws-sdk-lexruntimev2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.41.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.40.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-lexruntimev2/VERSION b/gems/aws-sdk-lexruntimev2/VERSION
index 32b7211cb61..7d47e599800 100644
--- a/gems/aws-sdk-lexruntimev2/VERSION
+++ b/gems/aws-sdk-lexruntimev2/VERSION
@@ -1 +1 @@
-1.40.0
+1.41.0
diff --git a/gems/aws-sdk-lexruntimev2/aws-sdk-lexruntimev2.gemspec b/gems/aws-sdk-lexruntimev2/aws-sdk-lexruntimev2.gemspec
index 8542d163588..e8bd979bd90 100644
--- a/gems/aws-sdk-lexruntimev2/aws-sdk-lexruntimev2.gemspec
+++ b/gems/aws-sdk-lexruntimev2/aws-sdk-lexruntimev2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lexruntimev2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2.rb b/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2.rb
index ab33e82b15e..c5ad21f7d33 100644
--- a/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2.rb
+++ b/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2.rb
@@ -54,6 +54,6 @@
# @!group service
module Aws::LexRuntimeV2
- GEM_VERSION = '1.40.0'
+ GEM_VERSION = '1.41.0'
end
diff --git a/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/async_client.rb b/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/async_client.rb
index d99d3b9d31d..3f1cbb4ab86 100644
--- a/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/async_client.rb
+++ b/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/async_client.rb
@@ -759,7 +759,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-lexruntimev2'
- context[:gem_version] = '1.40.0'
+ context[:gem_version] = '1.41.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/client.rb b/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/client.rb
index 0786fda1f43..60f2eb5b869 100644
--- a/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/client.rb
+++ b/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/client.rb
@@ -1229,7 +1229,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-lexruntimev2'
- context[:gem_version] = '1.40.0'
+ context[:gem_version] = '1.41.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/endpoints.rb b/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/endpoints.rb
index 8cf232299bc..b93c3e67533 100644
--- a/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/endpoints.rb
+++ b/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/endpoints.rb
@@ -14,84 +14,66 @@ module Endpoints
class DeleteSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexRuntimeV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexRuntimeV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexRuntimeV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RecognizeText
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexRuntimeV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RecognizeUtterance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexRuntimeV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartConversation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LexRuntimeV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/plugins/endpoints.rb b/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/plugins/endpoints.rb
index 79c12ed294f..4348690960c 100644
--- a/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/plugins/endpoints.rb
+++ b/gems/aws-sdk-lexruntimev2/lib/aws-sdk-lexruntimev2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-lexruntimev2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-lexruntimev2/spec/endpoint_provider_spec.rb
index d9f5c1a13cc..80e1eeb1b79 100644
--- a/gems/aws-sdk-lexruntimev2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-lexruntimev2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LexRuntimeV2
describe EndpointProvider do
subject { Aws::LexRuntimeV2::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.us-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex-fips.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex-fips.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-v2-lex.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::LexRuntimeV2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::LexRuntimeV2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-licensemanager/CHANGELOG.md b/gems/aws-sdk-licensemanager/CHANGELOG.md
index ecfe1a03356..1ac644f7f9c 100644
--- a/gems/aws-sdk-licensemanager/CHANGELOG.md
+++ b/gems/aws-sdk-licensemanager/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.63.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.62.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-licensemanager/VERSION b/gems/aws-sdk-licensemanager/VERSION
index 76d05362056..af92bdd9f58 100644
--- a/gems/aws-sdk-licensemanager/VERSION
+++ b/gems/aws-sdk-licensemanager/VERSION
@@ -1 +1 @@
-1.62.0
+1.63.0
diff --git a/gems/aws-sdk-licensemanager/aws-sdk-licensemanager.gemspec b/gems/aws-sdk-licensemanager/aws-sdk-licensemanager.gemspec
index 6d0ea3d4ae2..12fa2d8833d 100644
--- a/gems/aws-sdk-licensemanager/aws-sdk-licensemanager.gemspec
+++ b/gems/aws-sdk-licensemanager/aws-sdk-licensemanager.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-licensemanager/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager.rb b/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager.rb
index a7dc2685187..b644eb8680a 100644
--- a/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager.rb
+++ b/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::LicenseManager
- GEM_VERSION = '1.62.0'
+ GEM_VERSION = '1.63.0'
end
diff --git a/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb b/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb
index 4cc560b1d7c..fe82c099032 100644
--- a/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb
+++ b/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/client.rb
@@ -3274,7 +3274,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-licensemanager'
- context[:gem_version] = '1.62.0'
+ context[:gem_version] = '1.63.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/endpoints.rb b/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/endpoints.rb
index 730562e014c..c286fa7e388 100644
--- a/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/endpoints.rb
+++ b/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/endpoints.rb
@@ -14,700 +14,550 @@ module Endpoints
class AcceptGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckInLicense
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckoutBorrowLicense
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckoutLicense
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGrantVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLicense
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLicenseConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLicenseConversionTaskForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLicenseManagerReportGenerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLicenseVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLicense
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLicenseConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLicenseManagerReportGenerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExtendLicenseConsumption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccessToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLicense
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLicenseConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLicenseConversionTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLicenseManagerReportGenerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLicenseUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociationsForLicenseConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDistributedGrants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFailuresForLicenseConfigurationOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLicenseConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLicenseConversionTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLicenseManagerReportGenerators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLicenseSpecificationsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLicenseVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLicenses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReceivedGrants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReceivedGrantsForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReceivedLicenses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReceivedLicensesForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceInventory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTokens
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsageForLicenseConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLicenseConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLicenseManagerReportGenerator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLicenseSpecificationsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/plugins/endpoints.rb b/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/plugins/endpoints.rb
index 2a61e9f4410..2d815a7a38b 100644
--- a/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/plugins/endpoints.rb
+++ b/gems/aws-sdk-licensemanager/lib/aws-sdk-licensemanager/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-licensemanager/spec/endpoint_provider_spec.rb b/gems/aws-sdk-licensemanager/spec/endpoint_provider_spec.rb
index d80af510ca0..5f810bbcdaf 100644
--- a/gems/aws-sdk-licensemanager/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-licensemanager/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LicenseManager
describe EndpointProvider do
subject { Aws::LicenseManager::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::LicenseManager
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LicenseManager
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::LicenseManager
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::LicenseManager
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::LicenseManager
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::LicenseManager
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::LicenseManager
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::LicenseManager
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::LicenseManager
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::LicenseManager
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::LicenseManager
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::LicenseManager
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::LicenseManager
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::LicenseManager
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::LicenseManager
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::LicenseManager
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::LicenseManager
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::LicenseManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::LicenseManager
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::LicenseManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::LicenseManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::LicenseManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -587,7 +587,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -601,7 +601,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -614,7 +614,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -628,7 +628,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -641,7 +641,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -655,7 +655,7 @@ module Aws::LicenseManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -668,7 +668,7 @@ module Aws::LicenseManager
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::LicenseManager
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::LicenseManager
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::LicenseManager
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::LicenseManager
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-licensemanagerlinuxsubscriptions/CHANGELOG.md b/gems/aws-sdk-licensemanagerlinuxsubscriptions/CHANGELOG.md
index 939ef396d06..72cdc7b4c47 100644
--- a/gems/aws-sdk-licensemanagerlinuxsubscriptions/CHANGELOG.md
+++ b/gems/aws-sdk-licensemanagerlinuxsubscriptions/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.21.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.20.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-licensemanagerlinuxsubscriptions/VERSION b/gems/aws-sdk-licensemanagerlinuxsubscriptions/VERSION
index 39893559155..3500250a4b0 100644
--- a/gems/aws-sdk-licensemanagerlinuxsubscriptions/VERSION
+++ b/gems/aws-sdk-licensemanagerlinuxsubscriptions/VERSION
@@ -1 +1 @@
-1.20.0
+1.21.0
diff --git a/gems/aws-sdk-licensemanagerlinuxsubscriptions/aws-sdk-licensemanagerlinuxsubscriptions.gemspec b/gems/aws-sdk-licensemanagerlinuxsubscriptions/aws-sdk-licensemanagerlinuxsubscriptions.gemspec
index ced71815024..f1470962d4c 100644
--- a/gems/aws-sdk-licensemanagerlinuxsubscriptions/aws-sdk-licensemanagerlinuxsubscriptions.gemspec
+++ b/gems/aws-sdk-licensemanagerlinuxsubscriptions/aws-sdk-licensemanagerlinuxsubscriptions.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-licensemanagerlinuxsubscriptions/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions.rb b/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions.rb
index da5f8d16cdf..082276764d9 100644
--- a/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions.rb
+++ b/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::LicenseManagerLinuxSubscriptions
- GEM_VERSION = '1.20.0'
+ GEM_VERSION = '1.21.0'
end
diff --git a/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/client.rb b/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/client.rb
index 9431880ef9a..864eb0e2cf7 100644
--- a/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/client.rb
+++ b/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/client.rb
@@ -963,7 +963,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-licensemanagerlinuxsubscriptions'
- context[:gem_version] = '1.20.0'
+ context[:gem_version] = '1.21.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/endpoints.rb b/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/endpoints.rb
index f50c699f991..9f0d83c1221 100644
--- a/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/endpoints.rb
+++ b/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/endpoints.rb
@@ -14,154 +14,121 @@ module Endpoints
class DeregisterSubscriptionProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerLinuxSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegisteredSubscriptionProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerLinuxSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerLinuxSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLinuxSubscriptionInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerLinuxSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLinuxSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerLinuxSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRegisteredSubscriptionProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerLinuxSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerLinuxSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterSubscriptionProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerLinuxSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerLinuxSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerLinuxSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerLinuxSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/plugins/endpoints.rb b/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/plugins/endpoints.rb
index 2a6e169b09c..e5cf79d1cb0 100644
--- a/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/plugins/endpoints.rb
+++ b/gems/aws-sdk-licensemanagerlinuxsubscriptions/lib/aws-sdk-licensemanagerlinuxsubscriptions/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-licensemanagerlinuxsubscriptions/spec/endpoint_provider_spec.rb b/gems/aws-sdk-licensemanagerlinuxsubscriptions/spec/endpoint_provider_spec.rb
index 1cd9fa33f3d..643e887995f 100644
--- a/gems/aws-sdk-licensemanagerlinuxsubscriptions/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-licensemanagerlinuxsubscriptions/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LicenseManagerLinuxSubscriptions
describe EndpointProvider do
subject { Aws::LicenseManagerLinuxSubscriptions::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-linux-subscriptions.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::LicenseManagerLinuxSubscriptions
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-licensemanagerusersubscriptions/CHANGELOG.md b/gems/aws-sdk-licensemanagerusersubscriptions/CHANGELOG.md
index a2af2b61756..2591ad44677 100644
--- a/gems/aws-sdk-licensemanagerusersubscriptions/CHANGELOG.md
+++ b/gems/aws-sdk-licensemanagerusersubscriptions/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.22.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.21.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-licensemanagerusersubscriptions/VERSION b/gems/aws-sdk-licensemanagerusersubscriptions/VERSION
index 3500250a4b0..57807d6d0d0 100644
--- a/gems/aws-sdk-licensemanagerusersubscriptions/VERSION
+++ b/gems/aws-sdk-licensemanagerusersubscriptions/VERSION
@@ -1 +1 @@
-1.21.0
+1.22.0
diff --git a/gems/aws-sdk-licensemanagerusersubscriptions/aws-sdk-licensemanagerusersubscriptions.gemspec b/gems/aws-sdk-licensemanagerusersubscriptions/aws-sdk-licensemanagerusersubscriptions.gemspec
index b0a0a2bce30..660b3970d6e 100644
--- a/gems/aws-sdk-licensemanagerusersubscriptions/aws-sdk-licensemanagerusersubscriptions.gemspec
+++ b/gems/aws-sdk-licensemanagerusersubscriptions/aws-sdk-licensemanagerusersubscriptions.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-licensemanagerusersubscriptions/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions.rb b/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions.rb
index b9626b74eec..e185ac41147 100644
--- a/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions.rb
+++ b/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::LicenseManagerUserSubscriptions
- GEM_VERSION = '1.21.0'
+ GEM_VERSION = '1.22.0'
end
diff --git a/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb b/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb
index a13d25d3405..af1d07f776d 100644
--- a/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb
+++ b/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/client.rb
@@ -1076,7 +1076,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-licensemanagerusersubscriptions'
- context[:gem_version] = '1.21.0'
+ context[:gem_version] = '1.22.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/endpoints.rb b/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/endpoints.rb
index 78ef01cc77a..96ed9937dde 100644
--- a/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/endpoints.rb
+++ b/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/endpoints.rb
@@ -14,154 +14,121 @@ module Endpoints
class AssociateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterIdentityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentityProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProductSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterIdentityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartProductSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopProductSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIdentityProviderSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LicenseManagerUserSubscriptions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/plugins/endpoints.rb b/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/plugins/endpoints.rb
index db797f2dc08..e4322fff5bd 100644
--- a/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/plugins/endpoints.rb
+++ b/gems/aws-sdk-licensemanagerusersubscriptions/lib/aws-sdk-licensemanagerusersubscriptions/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-licensemanagerusersubscriptions/spec/endpoint_provider_spec.rb b/gems/aws-sdk-licensemanagerusersubscriptions/spec/endpoint_provider_spec.rb
index 29c2f6c55d6..07f121decaf 100644
--- a/gems/aws-sdk-licensemanagerusersubscriptions/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-licensemanagerusersubscriptions/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LicenseManagerUserSubscriptions
describe EndpointProvider do
subject { Aws::LicenseManagerUserSubscriptions::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://license-manager-user-subscriptions.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::LicenseManagerUserSubscriptions
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-lightsail/CHANGELOG.md b/gems/aws-sdk-lightsail/CHANGELOG.md
index 901b88718ae..3ac3c7da5a2 100644
--- a/gems/aws-sdk-lightsail/CHANGELOG.md
+++ b/gems/aws-sdk-lightsail/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.99.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.98.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-lightsail/VERSION b/gems/aws-sdk-lightsail/VERSION
index 783fda86436..9eb2e1ff9c2 100644
--- a/gems/aws-sdk-lightsail/VERSION
+++ b/gems/aws-sdk-lightsail/VERSION
@@ -1 +1 @@
-1.98.0
+1.99.0
diff --git a/gems/aws-sdk-lightsail/aws-sdk-lightsail.gemspec b/gems/aws-sdk-lightsail/aws-sdk-lightsail.gemspec
index cce451d7583..61f521cfb21 100644
--- a/gems/aws-sdk-lightsail/aws-sdk-lightsail.gemspec
+++ b/gems/aws-sdk-lightsail/aws-sdk-lightsail.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lightsail/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail.rb b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail.rb
index 7b6cc87e8be..60ec5eb7c88 100644
--- a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail.rb
+++ b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Lightsail
- GEM_VERSION = '1.98.0'
+ GEM_VERSION = '1.99.0'
end
diff --git a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/client.rb b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/client.rb
index afa6c58b024..b0c9ad94a4a 100644
--- a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/client.rb
+++ b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/client.rb
@@ -12444,7 +12444,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-lightsail'
- context[:gem_version] = '1.98.0'
+ context[:gem_version] = '1.99.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/endpoints.rb b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/endpoints.rb
index b19fcf91175..5b1e9ead4a6 100644
--- a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/endpoints.rb
+++ b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/endpoints.rb
@@ -14,2254 +14,1771 @@ module Endpoints
class AllocateStaticIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachCertificateToDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachDisk
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachInstancesToLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachLoadBalancerTlsCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachStaticIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CloseInstancePublicPorts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopySnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBucketAccessKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCloudFormationStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContactMethod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContainerService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContainerServiceDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContainerServiceRegistryLogin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDisk
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDiskFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDiskSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomainEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGUISessionAccessDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstanceSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstancesFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLoadBalancerTlsCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRelationalDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRelationalDatabaseFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRelationalDatabaseSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAlarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAutoSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBucketAccessKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContactMethod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContainerImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContainerService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDisk
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDiskSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomainEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstanceSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKnownHostKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoadBalancerTlsCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRelationalDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRelationalDatabaseSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachCertificateFromDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachDisk
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachInstancesFromLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachStaticIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableAddOn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DownloadDefaultKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableAddOn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetActiveNames
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAlarms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAutoSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBlueprints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBucketAccessKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBucketBundles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBucketMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBuckets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBundles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCloudFormationStackRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContactMethods
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContainerAPIMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContainerImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContainerLog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContainerServiceDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContainerServiceMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContainerServicePowers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContainerServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCostEstimate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDisk
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDiskSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDiskSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDisks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDistributionBundles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDistributionLatestCacheReset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDistributionMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDistributions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExportSnapshotRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceAccessDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstancePortStates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstanceState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKeyPairs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoadBalancerMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoadBalancerTlsCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoadBalancerTlsPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoadBalancers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOperationsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabaseBlueprints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabaseBundles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabaseEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabaseLogEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabaseLogStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabaseMasterUserPassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabaseMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabaseParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabaseSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabaseSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelationalDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSetupHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStaticIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStaticIps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportKeyPair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class IsVpcPeered
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class OpenInstancePublicPorts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PeerVpc
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAlarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutInstancePublicPorts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootRelationalDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterContainerImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReleaseStaticIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetDistributionCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendContactMethodVerification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetIpAddressType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetResourceAccessForBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetupInstanceHttps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartGUISession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartRelationalDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopGUISession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopRelationalDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestAlarm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnpeerVpc
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBucketBundle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContainerService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDistribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDistributionBundle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInstanceMetadataOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLoadBalancerAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRelationalDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRelationalDatabaseParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Lightsail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/plugins/endpoints.rb b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/plugins/endpoints.rb
index 24f5df41d86..086b5bb8252 100644
--- a/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/plugins/endpoints.rb
+++ b/gems/aws-sdk-lightsail/lib/aws-sdk-lightsail/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-lightsail/spec/endpoint_provider_spec.rb b/gems/aws-sdk-lightsail/spec/endpoint_provider_spec.rb
index 75784889243..d56917c56eb 100644
--- a/gems/aws-sdk-lightsail/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-lightsail/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Lightsail
describe EndpointProvider do
subject { Aws::Lightsail::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Lightsail
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Lightsail
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Lightsail
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Lightsail
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Lightsail
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Lightsail
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Lightsail
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Lightsail
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Lightsail
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Lightsail
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Lightsail
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Lightsail
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.us-east-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Lightsail
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.us-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Lightsail
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail-fips.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::Lightsail
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail-fips.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Lightsail
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::Lightsail
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::Lightsail
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::Lightsail
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::Lightsail
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::Lightsail
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail-fips.us-gov-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::Lightsail
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Lightsail
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::Lightsail
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Lightsail
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -377,7 +377,7 @@ module Aws::Lightsail
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -391,7 +391,7 @@ module Aws::Lightsail
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -404,7 +404,7 @@ module Aws::Lightsail
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.us-iso-east-1.c2s.ic.gov"}}
end
@@ -418,7 +418,7 @@ module Aws::Lightsail
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -431,7 +431,7 @@ module Aws::Lightsail
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -445,7 +445,7 @@ module Aws::Lightsail
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -458,7 +458,7 @@ module Aws::Lightsail
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lightsail.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -472,7 +472,7 @@ module Aws::Lightsail
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -486,7 +486,7 @@ module Aws::Lightsail
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -500,7 +500,7 @@ module Aws::Lightsail
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -513,7 +513,7 @@ module Aws::Lightsail
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -526,7 +526,7 @@ module Aws::Lightsail
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-locationservice/CHANGELOG.md b/gems/aws-sdk-locationservice/CHANGELOG.md
index 34acb261248..1afcbb663dc 100644
--- a/gems/aws-sdk-locationservice/CHANGELOG.md
+++ b/gems/aws-sdk-locationservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.58.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.57.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-locationservice/VERSION b/gems/aws-sdk-locationservice/VERSION
index 373aea97570..79f82f6b8e0 100644
--- a/gems/aws-sdk-locationservice/VERSION
+++ b/gems/aws-sdk-locationservice/VERSION
@@ -1 +1 @@
-1.57.0
+1.58.0
diff --git a/gems/aws-sdk-locationservice/aws-sdk-locationservice.gemspec b/gems/aws-sdk-locationservice/aws-sdk-locationservice.gemspec
index 5cc8bf92b3e..25ebe65f531 100644
--- a/gems/aws-sdk-locationservice/aws-sdk-locationservice.gemspec
+++ b/gems/aws-sdk-locationservice/aws-sdk-locationservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-locationservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice.rb b/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice.rb
index f17b8f30ff0..8ad2539dd25 100644
--- a/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice.rb
+++ b/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::LocationService
- GEM_VERSION = '1.57.0'
+ GEM_VERSION = '1.58.0'
end
diff --git a/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/client.rb b/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/client.rb
index c38ad6d3cec..b3c6b697477 100644
--- a/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/client.rb
+++ b/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/client.rb
@@ -4887,7 +4887,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-locationservice'
- context[:gem_version] = '1.57.0'
+ context[:gem_version] = '1.58.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/endpoints.rb b/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/endpoints.rb
index deba36cfb65..19940423729 100644
--- a/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/endpoints.rb
+++ b/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/endpoints.rb
@@ -14,840 +14,660 @@ module Endpoints
class AssociateTrackerConsumer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteDevicePositionHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteGeofence
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchEvaluateGeofences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetDevicePosition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchPutGeofence
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateDevicePosition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CalculateRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CalculateRouteMatrix
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGeofenceCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePlaceIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRouteCalculator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTracker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGeofenceCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePlaceIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRouteCalculator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTracker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGeofenceCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePlaceIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRouteCalculator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTracker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateTrackerConsumer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ForecastGeofenceEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevicePosition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevicePositionHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGeofence
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMapGlyphs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMapSprites
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMapStyleDescriptor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMapTile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPlace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevicePositions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGeofenceCollections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGeofences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMaps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPlaceIndexes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRouteCalculators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrackerConsumers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrackers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutGeofence
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchPlaceIndexForPosition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchPlaceIndexForSuggestions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchPlaceIndexForText
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGeofenceCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePlaceIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRouteCalculator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTracker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyDevicePosition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LocationService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/plugins/endpoints.rb b/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/plugins/endpoints.rb
index e649be098a4..91b3bdea3e8 100644
--- a/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-locationservice/lib/aws-sdk-locationservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-locationservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-locationservice/spec/endpoint_provider_spec.rb
index 8a420a71b21..c70e5d92975 100644
--- a/gems/aws-sdk-locationservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-locationservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LocationService
describe EndpointProvider do
subject { Aws::LocationService::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::LocationService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LocationService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::LocationService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::LocationService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::LocationService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::LocationService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::LocationService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::LocationService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::LocationService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::LocationService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::LocationService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::LocationService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::LocationService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::LocationService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::LocationService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::LocationService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::LocationService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::LocationService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::LocationService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://geo.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::LocationService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::LocationService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::LocationService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::LocationService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::LocationService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-lookoutequipment/CHANGELOG.md b/gems/aws-sdk-lookoutequipment/CHANGELOG.md
index 17caae35038..b07d257accf 100644
--- a/gems/aws-sdk-lookoutequipment/CHANGELOG.md
+++ b/gems/aws-sdk-lookoutequipment/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-lookoutequipment/VERSION b/gems/aws-sdk-lookoutequipment/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-lookoutequipment/VERSION
+++ b/gems/aws-sdk-lookoutequipment/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-lookoutequipment/aws-sdk-lookoutequipment.gemspec b/gems/aws-sdk-lookoutequipment/aws-sdk-lookoutequipment.gemspec
index dfc27c47348..77cf088df46 100644
--- a/gems/aws-sdk-lookoutequipment/aws-sdk-lookoutequipment.gemspec
+++ b/gems/aws-sdk-lookoutequipment/aws-sdk-lookoutequipment.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lookoutequipment/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment.rb b/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment.rb
index a78c9f3936c..ac2bffd6719 100644
--- a/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment.rb
+++ b/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::LookoutEquipment
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/client.rb b/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/client.rb
index 04fd98738ef..f59455c3ce8 100644
--- a/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/client.rb
+++ b/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/client.rb
@@ -3359,7 +3359,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-lookoutequipment'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/endpoints.rb b/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/endpoints.rb
index 87e95e13c7f..862ee8f03b3 100644
--- a/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/endpoints.rb
+++ b/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/endpoints.rb
@@ -14,686 +14,539 @@ module Endpoints
class CreateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInferenceScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLabel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLabelGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRetrainingScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInferenceScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLabel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLabelGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRetrainingScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataIngestionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInferenceScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLabel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLabelGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModelVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRetrainingScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportModelVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataIngestionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInferenceEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInferenceExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInferenceSchedulers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLabelGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLabels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRetrainingSchedulers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSensorStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDataIngestionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInferenceScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartRetrainingScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopInferenceScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopRetrainingScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateActiveModelVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInferenceScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLabelGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRetrainingScheduler
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutEquipment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/plugins/endpoints.rb b/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/plugins/endpoints.rb
index e2fc217ec62..a9f3a476ee8 100644
--- a/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/plugins/endpoints.rb
+++ b/gems/aws-sdk-lookoutequipment/lib/aws-sdk-lookoutequipment/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-lookoutequipment/spec/endpoint_provider_spec.rb b/gems/aws-sdk-lookoutequipment/spec/endpoint_provider_spec.rb
index a6c5cfae2fa..89e70bf915d 100644
--- a/gems/aws-sdk-lookoutequipment/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-lookoutequipment/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LookoutEquipment
describe EndpointProvider do
subject { Aws::LookoutEquipment::EndpointProvider.new }
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment.ap-northeast-2.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment.eu-west-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment-fips.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment-fips.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment.us-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::LookoutEquipment
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutequipment.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::LookoutEquipment
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::LookoutEquipment
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::LookoutEquipment
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::LookoutEquipment
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::LookoutEquipment
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-lookoutforvision/CHANGELOG.md b/gems/aws-sdk-lookoutforvision/CHANGELOG.md
index c31df64dae5..6918e2de54f 100644
--- a/gems/aws-sdk-lookoutforvision/CHANGELOG.md
+++ b/gems/aws-sdk-lookoutforvision/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-lookoutforvision/VERSION b/gems/aws-sdk-lookoutforvision/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-lookoutforvision/VERSION
+++ b/gems/aws-sdk-lookoutforvision/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-lookoutforvision/aws-sdk-lookoutforvision.gemspec b/gems/aws-sdk-lookoutforvision/aws-sdk-lookoutforvision.gemspec
index 25db18840bf..d6704c820c0 100644
--- a/gems/aws-sdk-lookoutforvision/aws-sdk-lookoutforvision.gemspec
+++ b/gems/aws-sdk-lookoutforvision/aws-sdk-lookoutforvision.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lookoutforvision/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision.rb b/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision.rb
index ecdf85fd89a..3357878c98c 100644
--- a/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision.rb
+++ b/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::LookoutforVision
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/client.rb b/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/client.rb
index 8f595559b18..60e49863bbc 100644
--- a/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/client.rb
+++ b/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/client.rb
@@ -1895,7 +1895,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-lookoutforvision'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/endpoints.rb b/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/endpoints.rb
index 8072c787aa9..b920006c297 100644
--- a/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/endpoints.rb
+++ b/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/endpoints.rb
@@ -14,308 +14,242 @@ module Endpoints
class CreateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModelPackagingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectAnomalies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasetEntries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelPackagingJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartModelPackagingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDatasetEntries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutforVision::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/plugins/endpoints.rb b/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/plugins/endpoints.rb
index c3cae09fd82..09a7770831c 100644
--- a/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/plugins/endpoints.rb
+++ b/gems/aws-sdk-lookoutforvision/lib/aws-sdk-lookoutforvision/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-lookoutforvision/spec/endpoint_provider_spec.rb b/gems/aws-sdk-lookoutforvision/spec/endpoint_provider_spec.rb
index d1a046c962a..09ef8099fe5 100644
--- a/gems/aws-sdk-lookoutforvision/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-lookoutforvision/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LookoutforVision
describe EndpointProvider do
subject { Aws::LookoutforVision::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::LookoutforVision
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LookoutforVision
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.eu-central-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::LookoutforVision
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.eu-west-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.us-east-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision-fips.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::LookoutforVision
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::LookoutforVision
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::LookoutforVision
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::LookoutforVision
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision-fips.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::LookoutforVision
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutvision.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::LookoutforVision
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::LookoutforVision
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::LookoutforVision
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::LookoutforVision
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::LookoutforVision
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-lookoutmetrics/CHANGELOG.md b/gems/aws-sdk-lookoutmetrics/CHANGELOG.md
index b6ca923187d..97410b2b004 100644
--- a/gems/aws-sdk-lookoutmetrics/CHANGELOG.md
+++ b/gems/aws-sdk-lookoutmetrics/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.44.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.43.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-lookoutmetrics/VERSION b/gems/aws-sdk-lookoutmetrics/VERSION
index b978278f05f..372cf402c73 100644
--- a/gems/aws-sdk-lookoutmetrics/VERSION
+++ b/gems/aws-sdk-lookoutmetrics/VERSION
@@ -1 +1 @@
-1.43.0
+1.44.0
diff --git a/gems/aws-sdk-lookoutmetrics/aws-sdk-lookoutmetrics.gemspec b/gems/aws-sdk-lookoutmetrics/aws-sdk-lookoutmetrics.gemspec
index 270ae911502..3053de1cd68 100644
--- a/gems/aws-sdk-lookoutmetrics/aws-sdk-lookoutmetrics.gemspec
+++ b/gems/aws-sdk-lookoutmetrics/aws-sdk-lookoutmetrics.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-lookoutmetrics/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics.rb b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics.rb
index 0e7f691d832..c138b6df265 100644
--- a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics.rb
+++ b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::LookoutMetrics
- GEM_VERSION = '1.43.0'
+ GEM_VERSION = '1.44.0'
end
diff --git a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client.rb b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client.rb
index a972d30e74a..831f3e835a1 100644
--- a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client.rb
+++ b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/client.rb
@@ -2111,7 +2111,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-lookoutmetrics'
- context[:gem_version] = '1.43.0'
+ context[:gem_version] = '1.44.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/endpoints.rb b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/endpoints.rb
index 4ee8a181e01..d7d98e1de11 100644
--- a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/endpoints.rb
+++ b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/endpoints.rb
@@ -14,420 +14,330 @@ module Endpoints
class ActivateAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BackTestAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAlert
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMetricSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeactivateAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAlert
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAlert
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAnomalyDetectionExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMetricSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectMetricSetConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAnomalyGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataQualityMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSampleData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAlerts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnomalyDetectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnomalyGroupRelatedMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnomalyGroupSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnomalyGroupTimeSeries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMetricSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAlert
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAnomalyDetector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMetricSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::LookoutMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/plugins/endpoints.rb b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/plugins/endpoints.rb
index 728d2183586..570f1fc6c34 100644
--- a/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/plugins/endpoints.rb
+++ b/gems/aws-sdk-lookoutmetrics/lib/aws-sdk-lookoutmetrics/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-lookoutmetrics/spec/endpoint_provider_spec.rb b/gems/aws-sdk-lookoutmetrics/spec/endpoint_provider_spec.rb
index 82a36adda35..02118cca699 100644
--- a/gems/aws-sdk-lookoutmetrics/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-lookoutmetrics/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::LookoutMetrics
describe EndpointProvider do
subject { Aws::LookoutMetrics::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.eu-north-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.us-east-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.us-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics-fips.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics-fips.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics-fips.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -307,7 +307,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -321,7 +321,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -334,7 +334,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.us-iso-east-1.c2s.ic.gov"}}
end
@@ -348,7 +348,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -361,7 +361,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -375,7 +375,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -388,7 +388,7 @@ module Aws::LookoutMetrics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://lookoutmetrics.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -402,7 +402,7 @@ module Aws::LookoutMetrics
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -416,7 +416,7 @@ module Aws::LookoutMetrics
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::LookoutMetrics
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -443,7 +443,7 @@ module Aws::LookoutMetrics
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -456,7 +456,7 @@ module Aws::LookoutMetrics
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-machinelearning/CHANGELOG.md b/gems/aws-sdk-machinelearning/CHANGELOG.md
index 050331a3c58..c6067c11976 100644
--- a/gems/aws-sdk-machinelearning/CHANGELOG.md
+++ b/gems/aws-sdk-machinelearning/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.60.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.59.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-machinelearning/VERSION b/gems/aws-sdk-machinelearning/VERSION
index bb120e876c6..4d5fde5bd16 100644
--- a/gems/aws-sdk-machinelearning/VERSION
+++ b/gems/aws-sdk-machinelearning/VERSION
@@ -1 +1 @@
-1.59.0
+1.60.0
diff --git a/gems/aws-sdk-machinelearning/aws-sdk-machinelearning.gemspec b/gems/aws-sdk-machinelearning/aws-sdk-machinelearning.gemspec
index 941573f5d07..43fc7e8b851 100644
--- a/gems/aws-sdk-machinelearning/aws-sdk-machinelearning.gemspec
+++ b/gems/aws-sdk-machinelearning/aws-sdk-machinelearning.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-machinelearning/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning.rb b/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning.rb
index 6c9032c986f..2431b31a06d 100644
--- a/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning.rb
+++ b/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::MachineLearning
- GEM_VERSION = '1.59.0'
+ GEM_VERSION = '1.60.0'
end
diff --git a/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/client.rb b/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/client.rb
index 144c322f15b..491eb2424ae 100644
--- a/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/client.rb
+++ b/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/client.rb
@@ -2484,7 +2484,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-machinelearning'
- context[:gem_version] = '1.59.0'
+ context[:gem_version] = '1.60.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/endpoints.rb b/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/endpoints.rb
index 6dcc44ddef0..318012c61bf 100644
--- a/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/endpoints.rb
+++ b/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/endpoints.rb
@@ -14,392 +14,308 @@ module Endpoints
class AddTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBatchPrediction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSourceFromRDS
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSourceFromRedshift
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSourceFromS3
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMLModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRealtimeEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBatchPrediction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMLModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRealtimeEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBatchPredictions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvaluations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMLModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBatchPrediction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMLModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Predict
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBatchPrediction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEvaluation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMLModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MachineLearning::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/plugins/endpoints.rb b/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/plugins/endpoints.rb
index a9d8c0167e5..b3d29756d45 100644
--- a/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/plugins/endpoints.rb
+++ b/gems/aws-sdk-machinelearning/lib/aws-sdk-machinelearning/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-machinelearning/spec/endpoint_provider_spec.rb b/gems/aws-sdk-machinelearning/spec/endpoint_provider_spec.rb
index 7d51eb1ba93..270decb350d 100644
--- a/gems/aws-sdk-machinelearning/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-machinelearning/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MachineLearning
describe EndpointProvider do
subject { Aws::MachineLearning::EndpointProvider.new }
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning.eu-west-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning-fips.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning-fips.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::MachineLearning
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MachineLearning
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MachineLearning
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MachineLearning
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::MachineLearning
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://machinelearning.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::MachineLearning
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MachineLearning
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::MachineLearning
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::MachineLearning
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::MachineLearning
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-macie2/CHANGELOG.md b/gems/aws-sdk-macie2/CHANGELOG.md
index a1c215bae22..6537df78a79 100644
--- a/gems/aws-sdk-macie2/CHANGELOG.md
+++ b/gems/aws-sdk-macie2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.76.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.75.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-macie2/VERSION b/gems/aws-sdk-macie2/VERSION
index 7c7053aa238..32a6ce3c719 100644
--- a/gems/aws-sdk-macie2/VERSION
+++ b/gems/aws-sdk-macie2/VERSION
@@ -1 +1 @@
-1.75.0
+1.76.0
diff --git a/gems/aws-sdk-macie2/aws-sdk-macie2.gemspec b/gems/aws-sdk-macie2/aws-sdk-macie2.gemspec
index 4a55c0871dd..74d96fefe92 100644
--- a/gems/aws-sdk-macie2/aws-sdk-macie2.gemspec
+++ b/gems/aws-sdk-macie2/aws-sdk-macie2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-macie2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-macie2/lib/aws-sdk-macie2.rb b/gems/aws-sdk-macie2/lib/aws-sdk-macie2.rb
index 695fe2e597e..fd945008802 100644
--- a/gems/aws-sdk-macie2/lib/aws-sdk-macie2.rb
+++ b/gems/aws-sdk-macie2/lib/aws-sdk-macie2.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Macie2
- GEM_VERSION = '1.75.0'
+ GEM_VERSION = '1.76.0'
end
diff --git a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb
index 355caad1c9b..c0631276211 100644
--- a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb
+++ b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/client.rb
@@ -4032,7 +4032,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-macie2'
- context[:gem_version] = '1.75.0'
+ context[:gem_version] = '1.76.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/endpoints.rb b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/endpoints.rb
index 825ff51ebf8..49f66adc0b2 100644
--- a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/endpoints.rb
+++ b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/endpoints.rb
@@ -14,1134 +14,891 @@ module Endpoints
class AcceptInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetCustomDataIdentifiers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateAutomatedDiscoveryAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAllowList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateClassificationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomDataIdentifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFindingsFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSampleFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeclineInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAllowList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomDataIdentifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFindingsFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBuckets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClassificationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableMacie
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFromAdministratorAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFromMasterAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableMacie
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAdministratorAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAllowList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAutomatedDiscoveryConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBucketStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetClassificationExportConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetClassificationScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCustomDataIdentifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindingStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindingsFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindingsPublicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInvitationsCount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMacieSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMasterAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRevealConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSensitiveDataOccurrences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSensitiveDataOccurrencesAvailability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSensitivityInspectionTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUsageStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUsageTotals
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAllowLists
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAutomatedDiscoveryAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClassificationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClassificationScopes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomDataIdentifiers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFindingsFilters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListManagedDataIdentifiers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizationAdminAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceProfileArtifacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceProfileDetections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSensitivityInspectionTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutClassificationExportConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFindingsPublicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestCustomDataIdentifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAllowList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAutomatedDiscoveryConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateClassificationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateClassificationScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFindingsFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMacieSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMemberSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResourceProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResourceProfileDetections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRevealConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSensitivityInspectionTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Macie2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/plugins/endpoints.rb b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/plugins/endpoints.rb
index c003dd30632..a630ca09f7d 100644
--- a/gems/aws-sdk-macie2/lib/aws-sdk-macie2/plugins/endpoints.rb
+++ b/gems/aws-sdk-macie2/lib/aws-sdk-macie2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-macie2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-macie2/spec/endpoint_provider_spec.rb
index 269fb3e252d..fbc975a7d0d 100644
--- a/gems/aws-sdk-macie2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-macie2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Macie2
describe EndpointProvider do
subject { Aws::Macie2::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Macie2
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Macie2
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Macie2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Macie2
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Macie2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Macie2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Macie2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Macie2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Macie2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Macie2
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Macie2
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Macie2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Macie2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Macie2
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Macie2
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Macie2
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Macie2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Macie2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2-fips.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Macie2
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Macie2
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2-fips.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Macie2
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.us-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Macie2
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2-fips.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Macie2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.us-west-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Macie2
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2-fips.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Macie2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2-fips.us-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::Macie2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Macie2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::Macie2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Macie2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Macie2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.cn-north-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Macie2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2-fips.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::Macie2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::Macie2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.us-gov-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::Macie2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Macie2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -517,7 +517,7 @@ module Aws::Macie2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -531,7 +531,7 @@ module Aws::Macie2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -544,7 +544,7 @@ module Aws::Macie2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.us-iso-east-1.c2s.ic.gov"}}
end
@@ -558,7 +558,7 @@ module Aws::Macie2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -571,7 +571,7 @@ module Aws::Macie2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -585,7 +585,7 @@ module Aws::Macie2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -598,7 +598,7 @@ module Aws::Macie2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://macie2.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -612,7 +612,7 @@ module Aws::Macie2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::Macie2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::Macie2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -653,7 +653,7 @@ module Aws::Macie2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -666,7 +666,7 @@ module Aws::Macie2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mailmanager/CHANGELOG.md b/gems/aws-sdk-mailmanager/CHANGELOG.md
index 91e22752001..ca76a558e91 100644
--- a/gems/aws-sdk-mailmanager/CHANGELOG.md
+++ b/gems/aws-sdk-mailmanager/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.9.0 (2024-09-18)
+------------------
+
+* Feature - Introduce a new RuleSet condition evaluation, where customers can set up a StringExpression with a MimeHeader condition. This condition will perform the necessary validation based on the X-header provided by customers.
+
+1.8.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.7.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mailmanager/VERSION b/gems/aws-sdk-mailmanager/VERSION
index bd8bf882d06..f8e233b2733 100644
--- a/gems/aws-sdk-mailmanager/VERSION
+++ b/gems/aws-sdk-mailmanager/VERSION
@@ -1 +1 @@
-1.7.0
+1.9.0
diff --git a/gems/aws-sdk-mailmanager/aws-sdk-mailmanager.gemspec b/gems/aws-sdk-mailmanager/aws-sdk-mailmanager.gemspec
index 9517a8544a5..7ca60d3d53b 100644
--- a/gems/aws-sdk-mailmanager/aws-sdk-mailmanager.gemspec
+++ b/gems/aws-sdk-mailmanager/aws-sdk-mailmanager.gemspec
@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mailmanager/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
- spec.add_dependency('aws-sigv4', '~> 1.1')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
+ spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
end
diff --git a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager.rb b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager.rb
index 572fa7640c3..a5fd757f4c3 100644
--- a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager.rb
+++ b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MailManager
- GEM_VERSION = '1.7.0'
+ GEM_VERSION = '1.9.0'
end
diff --git a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/client.rb b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/client.rb
index a9ffd2c936d..200af986a26 100644
--- a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/client.rb
+++ b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/client.rb
@@ -841,6 +841,7 @@ def create_relay(params = {}, options = {})
# string_expression: {
# evaluate: { # required
# attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
+ # mime_header_attribute: "MimeHeaderAttribute",
# },
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
# values: ["RuleStringValue"], # required
@@ -888,6 +889,7 @@ def create_relay(params = {}, options = {})
# string_expression: {
# evaluate: { # required
# attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
+ # mime_header_attribute: "MimeHeaderAttribute",
# },
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
# values: ["RuleStringValue"], # required
@@ -1667,6 +1669,7 @@ def get_relay(params = {}, options = {})
# resp.rules[0].conditions[0].number_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "LESS_THAN", "GREATER_THAN", "LESS_THAN_OR_EQUAL", "GREATER_THAN_OR_EQUAL"
# resp.rules[0].conditions[0].number_expression.value #=> Float
# resp.rules[0].conditions[0].string_expression.evaluate.attribute #=> String, one of "MAIL_FROM", "HELO", "RECIPIENT", "SENDER", "FROM", "SUBJECT", "TO", "CC"
+ # resp.rules[0].conditions[0].string_expression.evaluate.mime_header_attribute #=> String
# resp.rules[0].conditions[0].string_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS"
# resp.rules[0].conditions[0].string_expression.values #=> Array
# resp.rules[0].conditions[0].string_expression.values[0] #=> String
@@ -1691,6 +1694,7 @@ def get_relay(params = {}, options = {})
# resp.rules[0].unless[0].number_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "LESS_THAN", "GREATER_THAN", "LESS_THAN_OR_EQUAL", "GREATER_THAN_OR_EQUAL"
# resp.rules[0].unless[0].number_expression.value #=> Float
# resp.rules[0].unless[0].string_expression.evaluate.attribute #=> String, one of "MAIL_FROM", "HELO", "RECIPIENT", "SENDER", "FROM", "SUBJECT", "TO", "CC"
+ # resp.rules[0].unless[0].string_expression.evaluate.mime_header_attribute #=> String
# resp.rules[0].unless[0].string_expression.operator #=> String, one of "EQUALS", "NOT_EQUALS", "STARTS_WITH", "ENDS_WITH", "CONTAINS"
# resp.rules[0].unless[0].string_expression.values #=> Array
# resp.rules[0].unless[0].string_expression.values[0] #=> String
@@ -2240,7 +2244,7 @@ def list_traffic_policies(params = {}, options = {})
# attribute: "TO", # accepts TO, FROM, CC, SUBJECT
# },
# operator: "CONTAINS", # required, accepts CONTAINS
- # values: ["String"], # required
+ # values: ["StringValue"], # required
# },
# },
# ],
@@ -2257,7 +2261,7 @@ def list_traffic_policies(params = {}, options = {})
# attribute: "TO", # accepts TO, FROM, CC, SUBJECT
# },
# operator: "CONTAINS", # required, accepts CONTAINS
- # values: ["String"], # required
+ # values: ["StringValue"], # required
# },
# },
# ],
@@ -2319,7 +2323,7 @@ def start_archive_export(params = {}, options = {})
# attribute: "TO", # accepts TO, FROM, CC, SUBJECT
# },
# operator: "CONTAINS", # required, accepts CONTAINS
- # values: ["String"], # required
+ # values: ["StringValue"], # required
# },
# },
# ],
@@ -2336,7 +2340,7 @@ def start_archive_export(params = {}, options = {})
# attribute: "TO", # accepts TO, FROM, CC, SUBJECT
# },
# operator: "CONTAINS", # required, accepts CONTAINS
- # values: ["String"], # required
+ # values: ["StringValue"], # required
# },
# },
# ],
@@ -2586,7 +2590,7 @@ def update_relay(params = {}, options = {})
req.send_request(options)
end
- # >Update attributes of an already provisioned rule set.
+ # Update attributes of an already provisioned rule set.
#
# @option params [required, String] :rule_set_id
# The identifier of a rule set you want to update.
@@ -2674,6 +2678,7 @@ def update_relay(params = {}, options = {})
# string_expression: {
# evaluate: { # required
# attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
+ # mime_header_attribute: "MimeHeaderAttribute",
# },
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
# values: ["RuleStringValue"], # required
@@ -2721,6 +2726,7 @@ def update_relay(params = {}, options = {})
# string_expression: {
# evaluate: { # required
# attribute: "MAIL_FROM", # accepts MAIL_FROM, HELO, RECIPIENT, SENDER, FROM, SUBJECT, TO, CC
+ # mime_header_attribute: "MimeHeaderAttribute",
# },
# operator: "EQUALS", # required, accepts EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH, CONTAINS
# values: ["RuleStringValue"], # required
@@ -2848,7 +2854,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mailmanager'
- context[:gem_version] = '1.7.0'
+ context[:gem_version] = '1.9.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/client_api.rb b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/client_api.rb
index 2b50440034a..29ea580a4e2 100644
--- a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/client_api.rb
+++ b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/client_api.rb
@@ -178,6 +178,7 @@ module ClientApi
MailFrom = Shapes::StringShape.new(name: 'MailFrom')
MaxMessageSizeBytes = Shapes::IntegerShape.new(name: 'MaxMessageSizeBytes')
MessageBody = Shapes::StructureShape.new(name: 'MessageBody')
+ MimeHeaderAttribute = Shapes::StringShape.new(name: 'MimeHeaderAttribute')
NameOrArn = Shapes::StringShape.new(name: 'NameOrArn')
NoAuthentication = Shapes::StructureShape.new(name: 'NoAuthentication')
PageSize = Shapes::IntegerShape.new(name: 'PageSize')
@@ -270,6 +271,7 @@ module ClientApi
StopArchiveSearchResponse = Shapes::StructureShape.new(name: 'StopArchiveSearchResponse')
String = Shapes::StringShape.new(name: 'String')
StringList = Shapes::ListShape.new(name: 'StringList')
+ StringValue = Shapes::StringShape.new(name: 'StringValue')
StringValueList = Shapes::ListShape.new(name: 'StringValueList')
Tag = Shapes::StructureShape.new(name: 'Tag')
TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -968,8 +970,10 @@ module ClientApi
RuleStringList.member = Shapes::ShapeRef.new(shape: RuleStringValue)
RuleStringToEvaluate.add_member(:attribute, Shapes::ShapeRef.new(shape: RuleStringEmailAttribute, location_name: "Attribute"))
+ RuleStringToEvaluate.add_member(:mime_header_attribute, Shapes::ShapeRef.new(shape: MimeHeaderAttribute, location_name: "MimeHeaderAttribute"))
RuleStringToEvaluate.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
RuleStringToEvaluate.add_member_subclass(:attribute, Types::RuleStringToEvaluate::Attribute)
+ RuleStringToEvaluate.add_member_subclass(:mime_header_attribute, Types::RuleStringToEvaluate::MimeHeaderAttribute)
RuleStringToEvaluate.add_member_subclass(:unknown, Types::RuleStringToEvaluate::Unknown)
RuleStringToEvaluate.struct_class = Types::RuleStringToEvaluate
@@ -1052,7 +1056,7 @@ module ClientApi
StringList.member = Shapes::ShapeRef.new(shape: String)
- StringValueList.member = Shapes::ShapeRef.new(shape: String)
+ StringValueList.member = Shapes::ShapeRef.new(shape: StringValue)
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
Tag.add_member(:value, Shapes::ShapeRef.new(shape: TagValue, required: true, location_name: "Value"))
@@ -1137,6 +1141,7 @@ module ClientApi
api.metadata = {
"apiVersion" => "2023-10-17",
+ "auth" => ["aws.auth#sigv4"],
"endpointPrefix" => "mail-manager",
"jsonVersion" => "1.0",
"protocol" => "json",
diff --git a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/endpoints.rb b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/endpoints.rb
index 3c825ebcd0d..3ed9924274f 100644
--- a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/endpoints.rb
+++ b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/endpoints.rb
@@ -14,658 +14,517 @@ module Endpoints
class CreateAddonInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAddonSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIngressPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRelay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrafficPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAddonInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAddonSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIngressPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRelay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrafficPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAddonInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAddonSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetArchiveExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetArchiveMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetArchiveMessageContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetArchiveSearch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetArchiveSearchResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIngressPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRelay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrafficPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAddonInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAddonSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListArchiveExports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListArchiveSearches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListArchives
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIngressPoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRelays
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuleSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrafficPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartArchiveExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartArchiveSearch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopArchiveExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopArchiveSearch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIngressPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRelay
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrafficPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MailManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/plugins/endpoints.rb b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/plugins/endpoints.rb
index 1936aa3a431..5bb4b5f9f4e 100644
--- a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/plugins/endpoints.rb
+++ b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb
index 9739ccdff60..28183541321 100644
--- a/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb
+++ b/gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb
@@ -2972,16 +2972,23 @@ class RuleStringExpression < Struct.new(
# The email attribute to evaluate in a string condition expression.
# @return [String]
#
+ # @!attribute [rw] mime_header_attribute
+ # The email MIME X-Header attribute to evaluate in a string condition
+ # expression.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/mailmanager-2023-10-17/RuleStringToEvaluate AWS API Documentation
#
class RuleStringToEvaluate < Struct.new(
:attribute,
+ :mime_header_attribute,
:unknown)
SENSITIVE = []
include Aws::Structure
include Aws::Structure::Union
class Attribute < RuleStringToEvaluate; end
+ class MimeHeaderAttribute < RuleStringToEvaluate; end
class Unknown < RuleStringToEvaluate; end
end
diff --git a/gems/aws-sdk-mailmanager/sig/client.rbs b/gems/aws-sdk-mailmanager/sig/client.rbs
index 73ee4a75519..30fbaaae8fa 100644
--- a/gems/aws-sdk-mailmanager/sig/client.rbs
+++ b/gems/aws-sdk-mailmanager/sig/client.rbs
@@ -254,7 +254,8 @@ module Aws
}?,
string_expression: {
evaluate: {
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
+ mime_header_attribute: ::String?
},
operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
values: Array[::String]
@@ -301,7 +302,8 @@ module Aws
}?,
string_expression: {
evaluate: {
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
+ mime_header_attribute: ::String?
},
operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
values: Array[::String]
@@ -1011,7 +1013,8 @@ module Aws
}?,
string_expression: {
evaluate: {
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
+ mime_header_attribute: ::String?
},
operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
values: Array[::String]
@@ -1058,7 +1061,8 @@ module Aws
}?,
string_expression: {
evaluate: {
- attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?
+ attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")?,
+ mime_header_attribute: ::String?
},
operator: ("EQUALS" | "NOT_EQUALS" | "STARTS_WITH" | "ENDS_WITH" | "CONTAINS"),
values: Array[::String]
diff --git a/gems/aws-sdk-mailmanager/sig/types.rbs b/gems/aws-sdk-mailmanager/sig/types.rbs
index d9b33484dcc..51a5851034a 100644
--- a/gems/aws-sdk-mailmanager/sig/types.rbs
+++ b/gems/aws-sdk-mailmanager/sig/types.rbs
@@ -953,11 +953,14 @@ module Aws::MailManager
class RuleStringToEvaluate
attr_accessor attribute: ("MAIL_FROM" | "HELO" | "RECIPIENT" | "SENDER" | "FROM" | "SUBJECT" | "TO" | "CC")
+ attr_accessor mime_header_attribute: ::String
attr_accessor unknown: untyped
SENSITIVE: []
class Attribute < RuleStringToEvaluate
end
+ class MimeHeaderAttribute < RuleStringToEvaluate
+ end
class Unknown < RuleStringToEvaluate
end
end
diff --git a/gems/aws-sdk-mailmanager/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mailmanager/spec/endpoint_provider_spec.rb
index e599c9120a0..d15a29dc398 100644
--- a/gems/aws-sdk-mailmanager/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mailmanager/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MailManager
describe EndpointProvider do
subject { Aws::MailManager::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::MailManager
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MailManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::MailManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MailManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::MailManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MailManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MailManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MailManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::MailManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MailManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::MailManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MailManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::MailManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::MailManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::MailManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::MailManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::MailManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::MailManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::MailManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mail-manager.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::MailManager
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::MailManager
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MailManager
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::MailManager
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::MailManager
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mainframemodernization/CHANGELOG.md b/gems/aws-sdk-mainframemodernization/CHANGELOG.md
index fc46be0a1cf..19c95dd7b78 100644
--- a/gems/aws-sdk-mainframemodernization/CHANGELOG.md
+++ b/gems/aws-sdk-mainframemodernization/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.25.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.24.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mainframemodernization/VERSION b/gems/aws-sdk-mainframemodernization/VERSION
index 53cc1a6f929..ad2191947f7 100644
--- a/gems/aws-sdk-mainframemodernization/VERSION
+++ b/gems/aws-sdk-mainframemodernization/VERSION
@@ -1 +1 @@
-1.24.0
+1.25.0
diff --git a/gems/aws-sdk-mainframemodernization/aws-sdk-mainframemodernization.gemspec b/gems/aws-sdk-mainframemodernization/aws-sdk-mainframemodernization.gemspec
index bdfaf449dc8..df3d44f6c17 100644
--- a/gems/aws-sdk-mainframemodernization/aws-sdk-mainframemodernization.gemspec
+++ b/gems/aws-sdk-mainframemodernization/aws-sdk-mainframemodernization.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mainframemodernization/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization.rb b/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization.rb
index 722337b4be4..2e063ae852e 100644
--- a/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization.rb
+++ b/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MainframeModernization
- GEM_VERSION = '1.24.0'
+ GEM_VERSION = '1.25.0'
end
diff --git a/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/client.rb b/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/client.rb
index e06a4a245a4..94d64977de2 100644
--- a/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/client.rb
+++ b/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/client.rb
@@ -2221,7 +2221,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mainframemodernization'
- context[:gem_version] = '1.24.0'
+ context[:gem_version] = '1.25.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/endpoints.rb b/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/endpoints.rb
index 5335613bb6d..ff8d621572c 100644
--- a/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/endpoints.rb
+++ b/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/endpoints.rb
@@ -14,476 +14,374 @@ module Endpoints
class CancelBatchJobExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSetImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationFromEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplicationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBatchJobExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataSetDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataSetImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSignedBluinsightsUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBatchJobDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBatchJobExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBatchJobRestartPoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSetImportHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEngineVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartBatchJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MainframeModernization::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/plugins/endpoints.rb b/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/plugins/endpoints.rb
index 608587dbdd3..93a7710833a 100644
--- a/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/plugins/endpoints.rb
+++ b/gems/aws-sdk-mainframemodernization/lib/aws-sdk-mainframemodernization/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mainframemodernization/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mainframemodernization/spec/endpoint_provider_spec.rb
index 7293bdfcc51..6625799865c 100644
--- a/gems/aws-sdk-mainframemodernization/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mainframemodernization/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MainframeModernization
describe EndpointProvider do
subject { Aws::MainframeModernization::EndpointProvider.new }
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.ap-southeast-2.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MainframeModernization
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.ca-central-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MainframeModernization
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.eu-central-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MainframeModernization
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.eu-west-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MainframeModernization
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.sa-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2-fips.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::MainframeModernization
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::MainframeModernization
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::MainframeModernization
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::MainframeModernization
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2-fips.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::MainframeModernization
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://m2.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::MainframeModernization
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::MainframeModernization
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::MainframeModernization
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::MainframeModernization
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::MainframeModernization
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-managedblockchain/CHANGELOG.md b/gems/aws-sdk-managedblockchain/CHANGELOG.md
index 64428eded1e..4aec00d960a 100644
--- a/gems/aws-sdk-managedblockchain/CHANGELOG.md
+++ b/gems/aws-sdk-managedblockchain/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.60.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.59.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-managedblockchain/VERSION b/gems/aws-sdk-managedblockchain/VERSION
index bb120e876c6..4d5fde5bd16 100644
--- a/gems/aws-sdk-managedblockchain/VERSION
+++ b/gems/aws-sdk-managedblockchain/VERSION
@@ -1 +1 @@
-1.59.0
+1.60.0
diff --git a/gems/aws-sdk-managedblockchain/aws-sdk-managedblockchain.gemspec b/gems/aws-sdk-managedblockchain/aws-sdk-managedblockchain.gemspec
index d3d10cfb742..6df14396605 100644
--- a/gems/aws-sdk-managedblockchain/aws-sdk-managedblockchain.gemspec
+++ b/gems/aws-sdk-managedblockchain/aws-sdk-managedblockchain.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-managedblockchain/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain.rb b/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain.rb
index 0e0d5abb372..954b1e490a2 100644
--- a/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain.rb
+++ b/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ManagedBlockchain
- GEM_VERSION = '1.59.0'
+ GEM_VERSION = '1.60.0'
end
diff --git a/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/client.rb b/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/client.rb
index fc5a217869a..07939ce6858 100644
--- a/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/client.rb
+++ b/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/client.rb
@@ -1982,7 +1982,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-managedblockchain'
- context[:gem_version] = '1.59.0'
+ context[:gem_version] = '1.60.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/endpoints.rb b/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/endpoints.rb
index af48cc07094..674e2fcbcb5 100644
--- a/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/endpoints.rb
+++ b/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/endpoints.rb
@@ -14,378 +14,297 @@ module Endpoints
class CreateAccessor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProposal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccessor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccessor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProposal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNetworks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProposalVotes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProposals
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VoteOnProposal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/plugins/endpoints.rb b/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/plugins/endpoints.rb
index ce157c140dd..375b128ebef 100644
--- a/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/plugins/endpoints.rb
+++ b/gems/aws-sdk-managedblockchain/lib/aws-sdk-managedblockchain/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-managedblockchain/spec/endpoint_provider_spec.rb b/gems/aws-sdk-managedblockchain/spec/endpoint_provider_spec.rb
index 0a198fb6c81..86c7c80a93e 100644
--- a/gems/aws-sdk-managedblockchain/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-managedblockchain/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ManagedBlockchain
describe EndpointProvider do
subject { Aws::ManagedBlockchain::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.eu-west-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.eu-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-fips.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-fips.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.cn-north-1.amazonaws.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-fips.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -265,7 +265,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -279,7 +279,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -292,7 +292,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.us-iso-east-1.c2s.ic.gov"}}
end
@@ -306,7 +306,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -319,7 +319,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -333,7 +333,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -346,7 +346,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -360,7 +360,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -401,7 +401,7 @@ module Aws::ManagedBlockchain
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -414,7 +414,7 @@ module Aws::ManagedBlockchain
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-managedblockchainquery/CHANGELOG.md b/gems/aws-sdk-managedblockchainquery/CHANGELOG.md
index 54660ab4ae2..fd435943d05 100644
--- a/gems/aws-sdk-managedblockchainquery/CHANGELOG.md
+++ b/gems/aws-sdk-managedblockchainquery/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.19.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.18.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-managedblockchainquery/VERSION b/gems/aws-sdk-managedblockchainquery/VERSION
index 84cc529467b..815d5ca06d5 100644
--- a/gems/aws-sdk-managedblockchainquery/VERSION
+++ b/gems/aws-sdk-managedblockchainquery/VERSION
@@ -1 +1 @@
-1.18.0
+1.19.0
diff --git a/gems/aws-sdk-managedblockchainquery/aws-sdk-managedblockchainquery.gemspec b/gems/aws-sdk-managedblockchainquery/aws-sdk-managedblockchainquery.gemspec
index 1336b3d2561..7a688eb13a3 100644
--- a/gems/aws-sdk-managedblockchainquery/aws-sdk-managedblockchainquery.gemspec
+++ b/gems/aws-sdk-managedblockchainquery/aws-sdk-managedblockchainquery.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-managedblockchainquery/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery.rb b/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery.rb
index fa6e79d15fd..346e900b621 100644
--- a/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery.rb
+++ b/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::ManagedBlockchainQuery
- GEM_VERSION = '1.18.0'
+ GEM_VERSION = '1.19.0'
end
diff --git a/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/client.rb b/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/client.rb
index a087f07f3bc..35da2b0b346 100644
--- a/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/client.rb
+++ b/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/client.rb
@@ -1169,7 +1169,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-managedblockchainquery'
- context[:gem_version] = '1.18.0'
+ context[:gem_version] = '1.19.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/endpoints.rb b/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/endpoints.rb
index 11e9ba40972..def66f8093e 100644
--- a/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/endpoints.rb
+++ b/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/endpoints.rb
@@ -14,126 +14,99 @@ module Endpoints
class BatchGetTokenBalance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchainQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssetContract
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchainQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTokenBalance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchainQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransaction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchainQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssetContracts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchainQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFilteredTransactionEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchainQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTokenBalances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchainQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTransactionEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchainQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTransactions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedBlockchainQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/plugins/endpoints.rb b/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/plugins/endpoints.rb
index e7cae872d45..ed397fce4c3 100644
--- a/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/plugins/endpoints.rb
+++ b/gems/aws-sdk-managedblockchainquery/lib/aws-sdk-managedblockchainquery/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-managedblockchainquery/spec/endpoint_provider_spec.rb b/gems/aws-sdk-managedblockchainquery/spec/endpoint_provider_spec.rb
index 575b3cde7cf..d94467b334f 100644
--- a/gems/aws-sdk-managedblockchainquery/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-managedblockchainquery/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ManagedBlockchainQuery
describe EndpointProvider do
subject { Aws::ManagedBlockchainQuery::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://managedblockchain-query.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::ManagedBlockchainQuery
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-managedgrafana/CHANGELOG.md b/gems/aws-sdk-managedgrafana/CHANGELOG.md
index 815d515f2f1..4298e7a4873 100644
--- a/gems/aws-sdk-managedgrafana/CHANGELOG.md
+++ b/gems/aws-sdk-managedgrafana/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.36.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.35.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-managedgrafana/VERSION b/gems/aws-sdk-managedgrafana/VERSION
index 2aeaa11ee27..39fc130ef85 100644
--- a/gems/aws-sdk-managedgrafana/VERSION
+++ b/gems/aws-sdk-managedgrafana/VERSION
@@ -1 +1 @@
-1.35.0
+1.36.0
diff --git a/gems/aws-sdk-managedgrafana/aws-sdk-managedgrafana.gemspec b/gems/aws-sdk-managedgrafana/aws-sdk-managedgrafana.gemspec
index 321a052ae0b..d8adee00a32 100644
--- a/gems/aws-sdk-managedgrafana/aws-sdk-managedgrafana.gemspec
+++ b/gems/aws-sdk-managedgrafana/aws-sdk-managedgrafana.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-managedgrafana/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana.rb b/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana.rb
index 69af8dda5b5..8308c85857d 100644
--- a/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana.rb
+++ b/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ManagedGrafana
- GEM_VERSION = '1.35.0'
+ GEM_VERSION = '1.36.0'
end
diff --git a/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/client.rb b/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/client.rb
index e59ecaee3ce..db487c15623 100644
--- a/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/client.rb
+++ b/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/client.rb
@@ -2159,7 +2159,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-managedgrafana'
- context[:gem_version] = '1.35.0'
+ context[:gem_version] = '1.36.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/endpoints.rb b/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/endpoints.rb
index e46ce1ba86e..4922c7e5674 100644
--- a/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/endpoints.rb
+++ b/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/endpoints.rb
@@ -14,350 +14,275 @@ module Endpoints
class AssociateLicense
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkspaceApiKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkspaceServiceAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkspaceServiceAccountToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkspaceApiKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkspaceServiceAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkspaceServiceAccountToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspaceAuthentication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspaceConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateLicense
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkspaceServiceAccountTokens
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkspaceServiceAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkspaceAuthentication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkspaceConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ManagedGrafana::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/plugins/endpoints.rb b/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/plugins/endpoints.rb
index 684d52363d3..b8ba8fc2da5 100644
--- a/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/plugins/endpoints.rb
+++ b/gems/aws-sdk-managedgrafana/lib/aws-sdk-managedgrafana/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-managedgrafana/spec/endpoint_provider_spec.rb b/gems/aws-sdk-managedgrafana/spec/endpoint_provider_spec.rb
index 969db5479b7..3ccd75c6cba 100644
--- a/gems/aws-sdk-managedgrafana/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-managedgrafana/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ManagedGrafana
describe EndpointProvider do
subject { Aws::ManagedGrafana::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.eu-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.eu-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.us-east-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana-fips.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.us-gov-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -321,7 +321,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -335,7 +335,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -348,7 +348,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.us-iso-east-1.c2s.ic.gov"}}
end
@@ -362,7 +362,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -375,7 +375,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -389,7 +389,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -402,7 +402,7 @@ module Aws::ManagedGrafana
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://grafana.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -416,7 +416,7 @@ module Aws::ManagedGrafana
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::ManagedGrafana
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::ManagedGrafana
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -457,7 +457,7 @@ module Aws::ManagedGrafana
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -470,7 +470,7 @@ module Aws::ManagedGrafana
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-marketplaceagreement/CHANGELOG.md b/gems/aws-sdk-marketplaceagreement/CHANGELOG.md
index 8905d0faa41..fe59eda1a5a 100644
--- a/gems/aws-sdk-marketplaceagreement/CHANGELOG.md
+++ b/gems/aws-sdk-marketplaceagreement/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.10.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.9.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-marketplaceagreement/VERSION b/gems/aws-sdk-marketplaceagreement/VERSION
index f8e233b2733..81c871de46b 100644
--- a/gems/aws-sdk-marketplaceagreement/VERSION
+++ b/gems/aws-sdk-marketplaceagreement/VERSION
@@ -1 +1 @@
-1.9.0
+1.10.0
diff --git a/gems/aws-sdk-marketplaceagreement/aws-sdk-marketplaceagreement.gemspec b/gems/aws-sdk-marketplaceagreement/aws-sdk-marketplaceagreement.gemspec
index b76ef7d3bfa..2ebadc69eaa 100644
--- a/gems/aws-sdk-marketplaceagreement/aws-sdk-marketplaceagreement.gemspec
+++ b/gems/aws-sdk-marketplaceagreement/aws-sdk-marketplaceagreement.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-marketplaceagreement/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement.rb b/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement.rb
index 59d710bf8c0..d8f821a51d2 100644
--- a/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement.rb
+++ b/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MarketplaceAgreement
- GEM_VERSION = '1.9.0'
+ GEM_VERSION = '1.10.0'
end
diff --git a/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/client.rb b/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/client.rb
index 5e422e61e8b..01e2f43d008 100644
--- a/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/client.rb
+++ b/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/client.rb
@@ -776,7 +776,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-marketplaceagreement'
- context[:gem_version] = '1.9.0'
+ context[:gem_version] = '1.10.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/endpoints.rb b/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/endpoints.rb
index 387eb54abf2..48c5635d0e4 100644
--- a/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/endpoints.rb
+++ b/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/endpoints.rb
@@ -14,42 +14,33 @@ module Endpoints
class DescribeAgreement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceAgreement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAgreementTerms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceAgreement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchAgreements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceAgreement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/plugins/endpoints.rb b/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/plugins/endpoints.rb
index b8bb56ace39..c3d8130445e 100644
--- a/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/plugins/endpoints.rb
+++ b/gems/aws-sdk-marketplaceagreement/lib/aws-sdk-marketplaceagreement/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-marketplaceagreement/spec/endpoint_provider_spec.rb b/gems/aws-sdk-marketplaceagreement/spec/endpoint_provider_spec.rb
index 880f35de326..56ec84b4b9e 100644
--- a/gems/aws-sdk-marketplaceagreement/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-marketplaceagreement/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MarketplaceAgreement
describe EndpointProvider do
subject { Aws::MarketplaceAgreement::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://agreement-marketplace.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::MarketplaceAgreement
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-marketplacecatalog/CHANGELOG.md b/gems/aws-sdk-marketplacecatalog/CHANGELOG.md
index 477bbd673a3..be1cdfeaa82 100644
--- a/gems/aws-sdk-marketplacecatalog/CHANGELOG.md
+++ b/gems/aws-sdk-marketplacecatalog/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.50.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.49.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-marketplacecatalog/VERSION b/gems/aws-sdk-marketplacecatalog/VERSION
index 7f3a46a841e..5a5c7211dc6 100644
--- a/gems/aws-sdk-marketplacecatalog/VERSION
+++ b/gems/aws-sdk-marketplacecatalog/VERSION
@@ -1 +1 @@
-1.49.0
+1.50.0
diff --git a/gems/aws-sdk-marketplacecatalog/aws-sdk-marketplacecatalog.gemspec b/gems/aws-sdk-marketplacecatalog/aws-sdk-marketplacecatalog.gemspec
index 41ff597768f..4b4bb77d1e7 100644
--- a/gems/aws-sdk-marketplacecatalog/aws-sdk-marketplacecatalog.gemspec
+++ b/gems/aws-sdk-marketplacecatalog/aws-sdk-marketplacecatalog.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-marketplacecatalog/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog.rb b/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog.rb
index 444a8f12599..5544779d6a9 100644
--- a/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog.rb
+++ b/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MarketplaceCatalog
- GEM_VERSION = '1.49.0'
+ GEM_VERSION = '1.50.0'
end
diff --git a/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/client.rb b/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/client.rb
index 4aeeaa96b55..cdef5992964 100644
--- a/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/client.rb
+++ b/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/client.rb
@@ -1344,7 +1344,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-marketplacecatalog'
- context[:gem_version] = '1.49.0'
+ context[:gem_version] = '1.50.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/endpoints.rb b/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/endpoints.rb
index c499294293d..8d996744e80 100644
--- a/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/endpoints.rb
+++ b/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/endpoints.rb
@@ -14,182 +14,143 @@ module Endpoints
class BatchDescribeEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEntity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChangeSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEntities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/plugins/endpoints.rb b/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/plugins/endpoints.rb
index 7f48574daff..62363ea784b 100644
--- a/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/plugins/endpoints.rb
+++ b/gems/aws-sdk-marketplacecatalog/lib/aws-sdk-marketplacecatalog/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-marketplacecatalog/spec/endpoint_provider_spec.rb b/gems/aws-sdk-marketplacecatalog/spec/endpoint_provider_spec.rb
index 829884a5562..8a3c6d1780d 100644
--- a/gems/aws-sdk-marketplacecatalog/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-marketplacecatalog/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MarketplaceCatalog
describe EndpointProvider do
subject { Aws::MarketplaceCatalog::EndpointProvider.new }
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://catalog.marketplace.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::MarketplaceCatalog
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-marketplacecommerceanalytics/CHANGELOG.md b/gems/aws-sdk-marketplacecommerceanalytics/CHANGELOG.md
index 8326bddb40a..78f2bf0a38e 100644
--- a/gems/aws-sdk-marketplacecommerceanalytics/CHANGELOG.md
+++ b/gems/aws-sdk-marketplacecommerceanalytics/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.64.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.63.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-marketplacecommerceanalytics/VERSION b/gems/aws-sdk-marketplacecommerceanalytics/VERSION
index af92bdd9f58..9405730420f 100644
--- a/gems/aws-sdk-marketplacecommerceanalytics/VERSION
+++ b/gems/aws-sdk-marketplacecommerceanalytics/VERSION
@@ -1 +1 @@
-1.63.0
+1.64.0
diff --git a/gems/aws-sdk-marketplacecommerceanalytics/aws-sdk-marketplacecommerceanalytics.gemspec b/gems/aws-sdk-marketplacecommerceanalytics/aws-sdk-marketplacecommerceanalytics.gemspec
index bc6e2559b0a..c5ec21e3502 100644
--- a/gems/aws-sdk-marketplacecommerceanalytics/aws-sdk-marketplacecommerceanalytics.gemspec
+++ b/gems/aws-sdk-marketplacecommerceanalytics/aws-sdk-marketplacecommerceanalytics.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-marketplacecommerceanalytics/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics.rb b/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics.rb
index 93f537f6f9e..dae6283461e 100644
--- a/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics.rb
+++ b/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MarketplaceCommerceAnalytics
- GEM_VERSION = '1.63.0'
+ GEM_VERSION = '1.64.0'
end
diff --git a/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/client.rb b/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/client.rb
index 5aebd504fdc..0d328d7d15c 100644
--- a/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/client.rb
+++ b/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/client.rb
@@ -709,7 +709,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-marketplacecommerceanalytics'
- context[:gem_version] = '1.63.0'
+ context[:gem_version] = '1.64.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/endpoints.rb b/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/endpoints.rb
index 7afe7e7826f..fcfe49da837 100644
--- a/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/endpoints.rb
+++ b/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/endpoints.rb
@@ -14,28 +14,22 @@ module Endpoints
class GenerateDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCommerceAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSupportDataExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceCommerceAnalytics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/plugins/endpoints.rb b/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/plugins/endpoints.rb
index 8799fb186a7..28e5c4ca389 100644
--- a/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/plugins/endpoints.rb
+++ b/gems/aws-sdk-marketplacecommerceanalytics/lib/aws-sdk-marketplacecommerceanalytics/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-marketplacecommerceanalytics/spec/endpoint_provider_spec.rb b/gems/aws-sdk-marketplacecommerceanalytics/spec/endpoint_provider_spec.rb
index fc385744783..5243a6e8640 100644
--- a/gems/aws-sdk-marketplacecommerceanalytics/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-marketplacecommerceanalytics/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MarketplaceCommerceAnalytics
describe EndpointProvider do
subject { Aws::MarketplaceCommerceAnalytics::EndpointProvider.new }
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://marketplacecommerceanalytics.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::MarketplaceCommerceAnalytics
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-marketplacedeployment/CHANGELOG.md b/gems/aws-sdk-marketplacedeployment/CHANGELOG.md
index 84f0795c03a..0a6199469df 100644
--- a/gems/aws-sdk-marketplacedeployment/CHANGELOG.md
+++ b/gems/aws-sdk-marketplacedeployment/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.10.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.9.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-marketplacedeployment/VERSION b/gems/aws-sdk-marketplacedeployment/VERSION
index f8e233b2733..81c871de46b 100644
--- a/gems/aws-sdk-marketplacedeployment/VERSION
+++ b/gems/aws-sdk-marketplacedeployment/VERSION
@@ -1 +1 @@
-1.9.0
+1.10.0
diff --git a/gems/aws-sdk-marketplacedeployment/aws-sdk-marketplacedeployment.gemspec b/gems/aws-sdk-marketplacedeployment/aws-sdk-marketplacedeployment.gemspec
index b5ea8634954..9658c0d50e0 100644
--- a/gems/aws-sdk-marketplacedeployment/aws-sdk-marketplacedeployment.gemspec
+++ b/gems/aws-sdk-marketplacedeployment/aws-sdk-marketplacedeployment.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-marketplacedeployment/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment.rb b/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment.rb
index ee3f259cbe2..3dd5a1fbf5d 100644
--- a/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment.rb
+++ b/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MarketplaceDeployment
- GEM_VERSION = '1.9.0'
+ GEM_VERSION = '1.10.0'
end
diff --git a/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/client.rb b/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/client.rb
index 51afc84dd51..1c4bf0320b3 100644
--- a/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/client.rb
+++ b/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/client.rb
@@ -623,7 +623,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-marketplacedeployment'
- context[:gem_version] = '1.9.0'
+ context[:gem_version] = '1.10.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/endpoints.rb b/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/endpoints.rb
index c015d73b9e5..f7cbe4b73b9 100644
--- a/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/endpoints.rb
+++ b/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/endpoints.rb
@@ -14,56 +14,44 @@ module Endpoints
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceDeployment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDeploymentParameter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceDeployment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceDeployment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceDeployment::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/plugins/endpoints.rb b/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/plugins/endpoints.rb
index 9bcc337a7d7..2c48645bc20 100644
--- a/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/plugins/endpoints.rb
+++ b/gems/aws-sdk-marketplacedeployment/lib/aws-sdk-marketplacedeployment/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-marketplacedeployment/spec/endpoint_provider_spec.rb b/gems/aws-sdk-marketplacedeployment/spec/endpoint_provider_spec.rb
index 5844b534963..56c74a307f0 100644
--- a/gems/aws-sdk-marketplacedeployment/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-marketplacedeployment/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MarketplaceDeployment
describe EndpointProvider do
subject { Aws::MarketplaceDeployment::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://deployment-marketplace.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::MarketplaceDeployment
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-marketplaceentitlementservice/CHANGELOG.md b/gems/aws-sdk-marketplaceentitlementservice/CHANGELOG.md
index 1dace47b5f3..fde0b719584 100644
--- a/gems/aws-sdk-marketplaceentitlementservice/CHANGELOG.md
+++ b/gems/aws-sdk-marketplaceentitlementservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.59.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.58.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-marketplaceentitlementservice/VERSION b/gems/aws-sdk-marketplaceentitlementservice/VERSION
index 79f82f6b8e0..bb120e876c6 100644
--- a/gems/aws-sdk-marketplaceentitlementservice/VERSION
+++ b/gems/aws-sdk-marketplaceentitlementservice/VERSION
@@ -1 +1 @@
-1.58.0
+1.59.0
diff --git a/gems/aws-sdk-marketplaceentitlementservice/aws-sdk-marketplaceentitlementservice.gemspec b/gems/aws-sdk-marketplaceentitlementservice/aws-sdk-marketplaceentitlementservice.gemspec
index 3de90adcf25..d856de04622 100644
--- a/gems/aws-sdk-marketplaceentitlementservice/aws-sdk-marketplaceentitlementservice.gemspec
+++ b/gems/aws-sdk-marketplaceentitlementservice/aws-sdk-marketplaceentitlementservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-marketplaceentitlementservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice.rb b/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice.rb
index 2c0ff4c74c8..f5a1847f47c 100644
--- a/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice.rb
+++ b/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MarketplaceEntitlementService
- GEM_VERSION = '1.58.0'
+ GEM_VERSION = '1.59.0'
end
diff --git a/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/client.rb b/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/client.rb
index fec33b975ce..b0aa6923b8f 100644
--- a/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/client.rb
+++ b/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/client.rb
@@ -532,7 +532,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-marketplaceentitlementservice'
- context[:gem_version] = '1.58.0'
+ context[:gem_version] = '1.59.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/endpoints.rb b/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/endpoints.rb
index 2665410935d..3951abcc258 100644
--- a/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/endpoints.rb
+++ b/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class GetEntitlements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceEntitlementService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/plugins/endpoints.rb b/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/plugins/endpoints.rb
index 8d6f27e7efc..2dee85e2995 100644
--- a/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-marketplaceentitlementservice/lib/aws-sdk-marketplaceentitlementservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-marketplaceentitlementservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-marketplaceentitlementservice/spec/endpoint_provider_spec.rb
index a8dd1b1c247..161903c6f43 100644
--- a/gems/aws-sdk-marketplaceentitlementservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-marketplaceentitlementservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MarketplaceEntitlementService
describe EndpointProvider do
subject { Aws::MarketplaceEntitlementService::EndpointProvider.new }
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement-marketplace.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://entitlement.marketplace.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::MarketplaceEntitlementService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-marketplacemetering/CHANGELOG.md b/gems/aws-sdk-marketplacemetering/CHANGELOG.md
index 992ffaf1611..e8addd0e45c 100644
--- a/gems/aws-sdk-marketplacemetering/CHANGELOG.md
+++ b/gems/aws-sdk-marketplacemetering/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.66.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.65.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-marketplacemetering/VERSION b/gems/aws-sdk-marketplacemetering/VERSION
index 902c74186fb..b6148bc0a75 100644
--- a/gems/aws-sdk-marketplacemetering/VERSION
+++ b/gems/aws-sdk-marketplacemetering/VERSION
@@ -1 +1 @@
-1.65.0
+1.66.0
diff --git a/gems/aws-sdk-marketplacemetering/aws-sdk-marketplacemetering.gemspec b/gems/aws-sdk-marketplacemetering/aws-sdk-marketplacemetering.gemspec
index 47082b7e705..b043e5f497e 100644
--- a/gems/aws-sdk-marketplacemetering/aws-sdk-marketplacemetering.gemspec
+++ b/gems/aws-sdk-marketplacemetering/aws-sdk-marketplacemetering.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-marketplacemetering/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering.rb b/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering.rb
index e1a1800ace0..d45ac765e93 100644
--- a/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering.rb
+++ b/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MarketplaceMetering
- GEM_VERSION = '1.65.0'
+ GEM_VERSION = '1.66.0'
end
diff --git a/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/client.rb b/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/client.rb
index 64274440ba1..ac48dab83ce 100644
--- a/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/client.rb
+++ b/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/client.rb
@@ -787,7 +787,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-marketplacemetering'
- context[:gem_version] = '1.65.0'
+ context[:gem_version] = '1.66.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/endpoints.rb b/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/endpoints.rb
index ff4f518e521..1280dd9b4a8 100644
--- a/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/endpoints.rb
+++ b/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/endpoints.rb
@@ -14,56 +14,44 @@ module Endpoints
class BatchMeterUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceMetering::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MeterUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceMetering::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceMetering::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResolveCustomer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MarketplaceMetering::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/plugins/endpoints.rb b/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/plugins/endpoints.rb
index adf35296e85..7b727921714 100644
--- a/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/plugins/endpoints.rb
+++ b/gems/aws-sdk-marketplacemetering/lib/aws-sdk-marketplacemetering/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-marketplacemetering/spec/endpoint_provider_spec.rb b/gems/aws-sdk-marketplacemetering/spec/endpoint_provider_spec.rb
index 4b1c8c9d067..6a2b386718b 100644
--- a/gems/aws-sdk-marketplacemetering/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-marketplacemetering/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MarketplaceMetering
describe EndpointProvider do
subject { Aws::MarketplaceMetering::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace-fips.us-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.us-gov-west-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace-fips.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.us-gov-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -503,7 +503,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -517,7 +517,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -530,7 +530,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.us-iso-east-1.c2s.ic.gov"}}
end
@@ -544,7 +544,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -557,7 +557,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -571,7 +571,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -584,7 +584,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metering.marketplace.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -598,7 +598,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -639,7 +639,7 @@ module Aws::MarketplaceMetering
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -652,7 +652,7 @@ module Aws::MarketplaceMetering
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mediaconnect/CHANGELOG.md b/gems/aws-sdk-mediaconnect/CHANGELOG.md
index ddd07dca156..082954e7f55 100644
--- a/gems/aws-sdk-mediaconnect/CHANGELOG.md
+++ b/gems/aws-sdk-mediaconnect/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.68.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.67.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mediaconnect/VERSION b/gems/aws-sdk-mediaconnect/VERSION
index 65ee0959841..ee2f4ca9130 100644
--- a/gems/aws-sdk-mediaconnect/VERSION
+++ b/gems/aws-sdk-mediaconnect/VERSION
@@ -1 +1 @@
-1.67.0
+1.68.0
diff --git a/gems/aws-sdk-mediaconnect/aws-sdk-mediaconnect.gemspec b/gems/aws-sdk-mediaconnect/aws-sdk-mediaconnect.gemspec
index cb167d2b498..9141dda9d61 100644
--- a/gems/aws-sdk-mediaconnect/aws-sdk-mediaconnect.gemspec
+++ b/gems/aws-sdk-mediaconnect/aws-sdk-mediaconnect.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mediaconnect/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect.rb b/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect.rb
index 2295521bf58..c264969ba97 100644
--- a/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect.rb
+++ b/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::MediaConnect
- GEM_VERSION = '1.67.0'
+ GEM_VERSION = '1.68.0'
end
diff --git a/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/client.rb b/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/client.rb
index 9ec055d1dc9..e34b4930a80 100644
--- a/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/client.rb
+++ b/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/client.rb
@@ -4118,7 +4118,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mediaconnect'
- context[:gem_version] = '1.67.0'
+ context[:gem_version] = '1.68.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/endpoints.rb b/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/endpoints.rb
index e4611edabef..c4bfe3d595b 100644
--- a/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/endpoints.rb
+++ b/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/endpoints.rb
@@ -14,728 +14,572 @@ module Endpoints
class AddBridgeOutputs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddBridgeSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddFlowMediaStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddFlowOutputs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddFlowSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddFlowVpcInterfaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBridge
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBridge
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterGatewayInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBridge
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFlowSourceMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFlowSourceThumbnail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGatewayInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GrantFlowEntitlements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBridges
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEntitlements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFlows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGatewayInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReservations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveBridgeOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveBridgeSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveFlowMediaStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveFlowOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveFlowSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveFlowVpcInterface
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeFlowEntitlement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBridge
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBridgeOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBridgeSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBridgeState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFlow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFlowEntitlement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFlowMediaStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFlowOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFlowSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGatewayInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/plugins/endpoints.rb b/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/plugins/endpoints.rb
index ab56473daed..fa039b1a39a 100644
--- a/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/plugins/endpoints.rb
+++ b/gems/aws-sdk-mediaconnect/lib/aws-sdk-mediaconnect/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mediaconnect/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mediaconnect/spec/endpoint_provider_spec.rb
index 915da465ed3..8e693c7d24b 100644
--- a/gems/aws-sdk-mediaconnect/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mediaconnect/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MediaConnect
describe EndpointProvider do
subject { Aws::MediaConnect::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MediaConnect
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MediaConnect
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MediaConnect
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MediaConnect
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MediaConnect
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MediaConnect
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MediaConnect
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::MediaConnect
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MediaConnect
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MediaConnect
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MediaConnect
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.sa-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.us-east-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.us-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect-fips.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::MediaConnect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::MediaConnect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::MediaConnect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::MediaConnect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::MediaConnect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconnect.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::MediaConnect
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::MediaConnect
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::MediaConnect
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::MediaConnect
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::MediaConnect
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mediaconvert/CHANGELOG.md b/gems/aws-sdk-mediaconvert/CHANGELOG.md
index 0ce50c7c139..56bc19e7526 100644
--- a/gems/aws-sdk-mediaconvert/CHANGELOG.md
+++ b/gems/aws-sdk-mediaconvert/CHANGELOG.md
@@ -1,6 +1,21 @@
Unreleased Changes
------------------
+1.139.0 (2024-09-19)
+------------------
+
+* Feature - This release provides support for additional DRM configurations per SPEKE Version 2.0.
+
+1.138.0 (2024-09-12)
+------------------
+
+* Feature - This release includes support for dynamic video overlay workflows, including picture-in-picture and squeezeback
+
+1.137.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.136.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mediaconvert/VERSION b/gems/aws-sdk-mediaconvert/VERSION
index f69bce49e85..53d195fd9b0 100644
--- a/gems/aws-sdk-mediaconvert/VERSION
+++ b/gems/aws-sdk-mediaconvert/VERSION
@@ -1 +1 @@
-1.136.0
+1.139.0
diff --git a/gems/aws-sdk-mediaconvert/aws-sdk-mediaconvert.gemspec b/gems/aws-sdk-mediaconvert/aws-sdk-mediaconvert.gemspec
index d1973d6a65e..7111e4fda59 100644
--- a/gems/aws-sdk-mediaconvert/aws-sdk-mediaconvert.gemspec
+++ b/gems/aws-sdk-mediaconvert/aws-sdk-mediaconvert.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mediaconvert/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert.rb b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert.rb
index d58b79ed19a..0dd8078c105 100644
--- a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert.rb
+++ b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MediaConvert
- GEM_VERSION = '1.136.0'
+ GEM_VERSION = '1.139.0'
end
diff --git a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/client.rb b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/client.rb
index 534b5f5cd8d..6406699f3ca 100644
--- a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/client.rb
+++ b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/client.rb
@@ -519,6 +519,13 @@ def cancel_job(params = {}, options = {})
# before hopping. For more information about this feature, see the AWS
# Elemental MediaConvert User Guide.
#
+ # @option params [String] :job_engine_version
+ # Use Job engine versions to run jobs for your production workflow on
+ # one version, while you test and validate the latest version. To
+ # specify a Job engine version: Enter a date in a YYYY-MM-DD format. For
+ # a list of valid Job engine versions, submit a ListVersions request. To
+ # not specify a Job engine version: Leave blank.
+ #
# @option params [String] :job_template
# Optional. When you create a job, you can either specify a job template
# or specify the transcoding settings individually.
@@ -935,7 +942,7 @@ def create_job_template(params = {}, options = {})
# timed_metadata_scheme_id_uri: "__stringMax1000",
# timed_metadata_value: "__stringMax1000",
# },
- # container: "F4V", # accepts F4V, ISMV, M2TS, M3U8, CMFC, MOV, MP4, MPD, MXF, WEBM, RAW, Y4M
+ # container: "F4V", # accepts F4V, ISMV, M2TS, M3U8, CMFC, MOV, MP4, MPD, MXF, OGG, WEBM, RAW, Y4M
# f4v_settings: {
# moov_placement: "PROGRESSIVE_DOWNLOAD", # accepts PROGRESSIVE_DOWNLOAD, NORMAL
# },
@@ -1141,6 +1148,7 @@ def create_job_template(params = {}, options = {})
# },
# rate_control_mode: "VBR", # accepts VBR, CBR, QVBR
# repeat_pps: "DISABLED", # accepts DISABLED, ENABLED
+ # saliency_aware_encoding: "DISABLED", # accepts DISABLED, PREFERRED
# scan_type_conversion_mode: "INTERLACED", # accepts INTERLACED, INTERLACED_OPTIMIZE
# scene_change_detect: "DISABLED", # accepts DISABLED, ENABLED, TRANSITION_DETECTION
# slices: 1,
@@ -1682,7 +1690,7 @@ def create_job_template(params = {}, options = {})
# resp.preset.settings.container_settings.cmfc_settings.timed_metadata_box_version #=> String, one of "VERSION_0", "VERSION_1"
# resp.preset.settings.container_settings.cmfc_settings.timed_metadata_scheme_id_uri #=> String
# resp.preset.settings.container_settings.cmfc_settings.timed_metadata_value #=> String
- # resp.preset.settings.container_settings.container #=> String, one of "F4V", "ISMV", "M2TS", "M3U8", "CMFC", "MOV", "MP4", "MPD", "MXF", "WEBM", "RAW", "Y4M"
+ # resp.preset.settings.container_settings.container #=> String, one of "F4V", "ISMV", "M2TS", "M3U8", "CMFC", "MOV", "MP4", "MPD", "MXF", "OGG", "WEBM", "RAW", "Y4M"
# resp.preset.settings.container_settings.f4v_settings.moov_placement #=> String, one of "PROGRESSIVE_DOWNLOAD", "NORMAL"
# resp.preset.settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "DVB", "ATSC"
# resp.preset.settings.container_settings.m2ts_settings.audio_duration #=> String, one of "DEFAULT_CODEC_DURATION", "MATCH_VIDEO_DURATION"
@@ -1849,6 +1857,7 @@ def create_job_template(params = {}, options = {})
# resp.preset.settings.video_description.codec_settings.h264_settings.qvbr_settings.qvbr_quality_level_fine_tune #=> Float
# resp.preset.settings.video_description.codec_settings.h264_settings.rate_control_mode #=> String, one of "VBR", "CBR", "QVBR"
# resp.preset.settings.video_description.codec_settings.h264_settings.repeat_pps #=> String, one of "DISABLED", "ENABLED"
+ # resp.preset.settings.video_description.codec_settings.h264_settings.saliency_aware_encoding #=> String, one of "DISABLED", "PREFERRED"
# resp.preset.settings.video_description.codec_settings.h264_settings.scan_type_conversion_mode #=> String, one of "INTERLACED", "INTERLACED_OPTIMIZE"
# resp.preset.settings.video_description.codec_settings.h264_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED", "TRANSITION_DETECTION"
# resp.preset.settings.video_description.codec_settings.h264_settings.slices #=> Integer
@@ -2640,7 +2649,7 @@ def get_policy(params = {}, options = {})
# resp.preset.settings.container_settings.cmfc_settings.timed_metadata_box_version #=> String, one of "VERSION_0", "VERSION_1"
# resp.preset.settings.container_settings.cmfc_settings.timed_metadata_scheme_id_uri #=> String
# resp.preset.settings.container_settings.cmfc_settings.timed_metadata_value #=> String
- # resp.preset.settings.container_settings.container #=> String, one of "F4V", "ISMV", "M2TS", "M3U8", "CMFC", "MOV", "MP4", "MPD", "MXF", "WEBM", "RAW", "Y4M"
+ # resp.preset.settings.container_settings.container #=> String, one of "F4V", "ISMV", "M2TS", "M3U8", "CMFC", "MOV", "MP4", "MPD", "MXF", "OGG", "WEBM", "RAW", "Y4M"
# resp.preset.settings.container_settings.f4v_settings.moov_placement #=> String, one of "PROGRESSIVE_DOWNLOAD", "NORMAL"
# resp.preset.settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "DVB", "ATSC"
# resp.preset.settings.container_settings.m2ts_settings.audio_duration #=> String, one of "DEFAULT_CODEC_DURATION", "MATCH_VIDEO_DURATION"
@@ -2807,6 +2816,7 @@ def get_policy(params = {}, options = {})
# resp.preset.settings.video_description.codec_settings.h264_settings.qvbr_settings.qvbr_quality_level_fine_tune #=> Float
# resp.preset.settings.video_description.codec_settings.h264_settings.rate_control_mode #=> String, one of "VBR", "CBR", "QVBR"
# resp.preset.settings.video_description.codec_settings.h264_settings.repeat_pps #=> String, one of "DISABLED", "ENABLED"
+ # resp.preset.settings.video_description.codec_settings.h264_settings.saliency_aware_encoding #=> String, one of "DISABLED", "PREFERRED"
# resp.preset.settings.video_description.codec_settings.h264_settings.scan_type_conversion_mode #=> String, one of "INTERLACED", "INTERLACED_OPTIMIZE"
# resp.preset.settings.video_description.codec_settings.h264_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED", "TRANSITION_DETECTION"
# resp.preset.settings.video_description.codec_settings.h264_settings.slices #=> Integer
@@ -3475,7 +3485,7 @@ def list_jobs(params = {}, options = {})
# resp.presets[0].settings.container_settings.cmfc_settings.timed_metadata_box_version #=> String, one of "VERSION_0", "VERSION_1"
# resp.presets[0].settings.container_settings.cmfc_settings.timed_metadata_scheme_id_uri #=> String
# resp.presets[0].settings.container_settings.cmfc_settings.timed_metadata_value #=> String
- # resp.presets[0].settings.container_settings.container #=> String, one of "F4V", "ISMV", "M2TS", "M3U8", "CMFC", "MOV", "MP4", "MPD", "MXF", "WEBM", "RAW", "Y4M"
+ # resp.presets[0].settings.container_settings.container #=> String, one of "F4V", "ISMV", "M2TS", "M3U8", "CMFC", "MOV", "MP4", "MPD", "MXF", "OGG", "WEBM", "RAW", "Y4M"
# resp.presets[0].settings.container_settings.f4v_settings.moov_placement #=> String, one of "PROGRESSIVE_DOWNLOAD", "NORMAL"
# resp.presets[0].settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "DVB", "ATSC"
# resp.presets[0].settings.container_settings.m2ts_settings.audio_duration #=> String, one of "DEFAULT_CODEC_DURATION", "MATCH_VIDEO_DURATION"
@@ -3642,6 +3652,7 @@ def list_jobs(params = {}, options = {})
# resp.presets[0].settings.video_description.codec_settings.h264_settings.qvbr_settings.qvbr_quality_level_fine_tune #=> Float
# resp.presets[0].settings.video_description.codec_settings.h264_settings.rate_control_mode #=> String, one of "VBR", "CBR", "QVBR"
# resp.presets[0].settings.video_description.codec_settings.h264_settings.repeat_pps #=> String, one of "DISABLED", "ENABLED"
+ # resp.presets[0].settings.video_description.codec_settings.h264_settings.saliency_aware_encoding #=> String, one of "DISABLED", "PREFERRED"
# resp.presets[0].settings.video_description.codec_settings.h264_settings.scan_type_conversion_mode #=> String, one of "INTERLACED", "INTERLACED_OPTIMIZE"
# resp.presets[0].settings.video_description.codec_settings.h264_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED", "TRANSITION_DETECTION"
# resp.presets[0].settings.video_description.codec_settings.h264_settings.slices #=> Integer
@@ -4011,6 +4022,47 @@ def list_tags_for_resource(params = {}, options = {})
req.send_request(options)
end
+ # Retrieve a JSON array of all available Job engine versions and the
+ # date they expire.
+ #
+ # @option params [Integer] :max_results
+ # Optional. Number of valid Job engine versions, up to twenty, that will
+ # be returned at one time.
+ #
+ # @option params [String] :next_token
+ # Optional. Use this string, provided with the response to a previous
+ # request, to request the next batch of Job engine versions.
+ #
+ # @return [Types::ListVersionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListVersionsResponse#next_token #next_token} => String
+ # * {Types::ListVersionsResponse#versions #versions} => Array<Types::JobEngineVersion>
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_versions({
+ # max_results: 1,
+ # next_token: "__string",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.next_token #=> String
+ # resp.versions #=> Array
+ # resp.versions[0].expiration_date #=> Time
+ # resp.versions[0].version #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListVersions AWS API Documentation
+ #
+ # @overload list_versions(params = {})
+ # @param [Hash] params ({})
+ def list_versions(params = {}, options = {})
+ req = build_request(:list_versions, params)
+ req.send_request(options)
+ end
+
# Create or change your policy. For more information about policies, see
# the user guide at
# http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
@@ -4503,7 +4555,7 @@ def update_job_template(params = {}, options = {})
# timed_metadata_scheme_id_uri: "__stringMax1000",
# timed_metadata_value: "__stringMax1000",
# },
- # container: "F4V", # accepts F4V, ISMV, M2TS, M3U8, CMFC, MOV, MP4, MPD, MXF, WEBM, RAW, Y4M
+ # container: "F4V", # accepts F4V, ISMV, M2TS, M3U8, CMFC, MOV, MP4, MPD, MXF, OGG, WEBM, RAW, Y4M
# f4v_settings: {
# moov_placement: "PROGRESSIVE_DOWNLOAD", # accepts PROGRESSIVE_DOWNLOAD, NORMAL
# },
@@ -4709,6 +4761,7 @@ def update_job_template(params = {}, options = {})
# },
# rate_control_mode: "VBR", # accepts VBR, CBR, QVBR
# repeat_pps: "DISABLED", # accepts DISABLED, ENABLED
+ # saliency_aware_encoding: "DISABLED", # accepts DISABLED, PREFERRED
# scan_type_conversion_mode: "INTERLACED", # accepts INTERLACED, INTERLACED_OPTIMIZE
# scene_change_detect: "DISABLED", # accepts DISABLED, ENABLED, TRANSITION_DETECTION
# slices: 1,
@@ -5247,7 +5300,7 @@ def update_job_template(params = {}, options = {})
# resp.preset.settings.container_settings.cmfc_settings.timed_metadata_box_version #=> String, one of "VERSION_0", "VERSION_1"
# resp.preset.settings.container_settings.cmfc_settings.timed_metadata_scheme_id_uri #=> String
# resp.preset.settings.container_settings.cmfc_settings.timed_metadata_value #=> String
- # resp.preset.settings.container_settings.container #=> String, one of "F4V", "ISMV", "M2TS", "M3U8", "CMFC", "MOV", "MP4", "MPD", "MXF", "WEBM", "RAW", "Y4M"
+ # resp.preset.settings.container_settings.container #=> String, one of "F4V", "ISMV", "M2TS", "M3U8", "CMFC", "MOV", "MP4", "MPD", "MXF", "OGG", "WEBM", "RAW", "Y4M"
# resp.preset.settings.container_settings.f4v_settings.moov_placement #=> String, one of "PROGRESSIVE_DOWNLOAD", "NORMAL"
# resp.preset.settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "DVB", "ATSC"
# resp.preset.settings.container_settings.m2ts_settings.audio_duration #=> String, one of "DEFAULT_CODEC_DURATION", "MATCH_VIDEO_DURATION"
@@ -5414,6 +5467,7 @@ def update_job_template(params = {}, options = {})
# resp.preset.settings.video_description.codec_settings.h264_settings.qvbr_settings.qvbr_quality_level_fine_tune #=> Float
# resp.preset.settings.video_description.codec_settings.h264_settings.rate_control_mode #=> String, one of "VBR", "CBR", "QVBR"
# resp.preset.settings.video_description.codec_settings.h264_settings.repeat_pps #=> String, one of "DISABLED", "ENABLED"
+ # resp.preset.settings.video_description.codec_settings.h264_settings.saliency_aware_encoding #=> String, one of "DISABLED", "PREFERRED"
# resp.preset.settings.video_description.codec_settings.h264_settings.scan_type_conversion_mode #=> String, one of "INTERLACED", "INTERLACED_OPTIMIZE"
# resp.preset.settings.video_description.codec_settings.h264_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED", "TRANSITION_DETECTION"
# resp.preset.settings.video_description.codec_settings.h264_settings.slices #=> Integer
@@ -5769,7 +5823,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mediaconvert'
- context[:gem_version] = '1.136.0'
+ context[:gem_version] = '1.139.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/client_api.rb b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/client_api.rb
index 9331a013412..8357e73f335 100644
--- a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/client_api.rb
+++ b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/client_api.rb
@@ -108,6 +108,7 @@ module ClientApi
CaptionDestinationSettings = Shapes::StructureShape.new(name: 'CaptionDestinationSettings')
CaptionDestinationType = Shapes::StringShape.new(name: 'CaptionDestinationType')
CaptionSelector = Shapes::StructureShape.new(name: 'CaptionSelector')
+ CaptionSourceByteRateLimit = Shapes::StringShape.new(name: 'CaptionSourceByteRateLimit')
CaptionSourceConvertPaintOnToPopOn = Shapes::StringShape.new(name: 'CaptionSourceConvertPaintOnToPopOn')
CaptionSourceFramerate = Shapes::StructureShape.new(name: 'CaptionSourceFramerate')
CaptionSourceSettings = Shapes::StructureShape.new(name: 'CaptionSourceSettings')
@@ -257,6 +258,7 @@ module ClientApi
EmbeddedSourceSettings = Shapes::StructureShape.new(name: 'EmbeddedSourceSettings')
EmbeddedTerminateCaptions = Shapes::StringShape.new(name: 'EmbeddedTerminateCaptions')
EmbeddedTimecodeOverride = Shapes::StringShape.new(name: 'EmbeddedTimecodeOverride')
+ EncryptionContractConfiguration = Shapes::StructureShape.new(name: 'EncryptionContractConfiguration')
Endpoint = Shapes::StructureShape.new(name: 'Endpoint')
EsamManifestConfirmConditionNotification = Shapes::StructureShape.new(name: 'EsamManifestConfirmConditionNotification')
EsamSettings = Shapes::StructureShape.new(name: 'EsamSettings')
@@ -302,6 +304,7 @@ module ClientApi
H264QvbrSettings = Shapes::StructureShape.new(name: 'H264QvbrSettings')
H264RateControlMode = Shapes::StringShape.new(name: 'H264RateControlMode')
H264RepeatPps = Shapes::StringShape.new(name: 'H264RepeatPps')
+ H264SaliencyAwareEncoding = Shapes::StringShape.new(name: 'H264SaliencyAwareEncoding')
H264ScanTypeConversionMode = Shapes::StringShape.new(name: 'H264ScanTypeConversionMode')
H264SceneChangeDetect = Shapes::StringShape.new(name: 'H264SceneChangeDetect')
H264Settings = Shapes::StructureShape.new(name: 'H264Settings')
@@ -399,6 +402,7 @@ module ClientApi
InsertableImage = Shapes::StructureShape.new(name: 'InsertableImage')
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
Job = Shapes::StructureShape.new(name: 'Job')
+ JobEngineVersion = Shapes::StructureShape.new(name: 'JobEngineVersion')
JobMessages = Shapes::StructureShape.new(name: 'JobMessages')
JobPhase = Shapes::StringShape.new(name: 'JobPhase')
JobSettings = Shapes::StructureShape.new(name: 'JobSettings')
@@ -418,6 +422,8 @@ module ClientApi
ListQueuesResponse = Shapes::StructureShape.new(name: 'ListQueuesResponse')
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
+ ListVersionsRequest = Shapes::StructureShape.new(name: 'ListVersionsRequest')
+ ListVersionsResponse = Shapes::StructureShape.new(name: 'ListVersionsResponse')
M2tsAudioBufferModel = Shapes::StringShape.new(name: 'M2tsAudioBufferModel')
M2tsAudioDuration = Shapes::StringShape.new(name: 'M2tsAudioDuration')
M2tsBufferModel = Shapes::StringShape.new(name: 'M2tsBufferModel')
@@ -534,6 +540,8 @@ module ClientApi
Preset = Shapes::StructureShape.new(name: 'Preset')
PresetListBy = Shapes::StringShape.new(name: 'PresetListBy')
PresetSettings = Shapes::StructureShape.new(name: 'PresetSettings')
+ PresetSpeke20Audio = Shapes::StringShape.new(name: 'PresetSpeke20Audio')
+ PresetSpeke20Video = Shapes::StringShape.new(name: 'PresetSpeke20Video')
PricingPlan = Shapes::StringShape.new(name: 'PricingPlan')
ProresChromaSampling = Shapes::StringShape.new(name: 'ProresChromaSampling')
ProresCodecProfile = Shapes::StringShape.new(name: 'ProresCodecProfile')
@@ -630,6 +638,10 @@ module ClientApi
VideoOverlay = Shapes::StructureShape.new(name: 'VideoOverlay')
VideoOverlayInput = Shapes::StructureShape.new(name: 'VideoOverlayInput')
VideoOverlayInputClipping = Shapes::StructureShape.new(name: 'VideoOverlayInputClipping')
+ VideoOverlayPlayBackMode = Shapes::StringShape.new(name: 'VideoOverlayPlayBackMode')
+ VideoOverlayPosition = Shapes::StructureShape.new(name: 'VideoOverlayPosition')
+ VideoOverlayTransition = Shapes::StructureShape.new(name: 'VideoOverlayTransition')
+ VideoOverlayUnit = Shapes::StringShape.new(name: 'VideoOverlayUnit')
VideoPreprocessor = Shapes::StructureShape.new(name: 'VideoPreprocessor')
VideoSelector = Shapes::StructureShape.new(name: 'VideoSelector')
VideoTimecodeInsertion = Shapes::StringShape.new(name: 'VideoTimecodeInsertion')
@@ -785,6 +797,7 @@ module ClientApi
__integerMinNegative1000Max1000 = Shapes::IntegerShape.new(name: '__integerMinNegative1000Max1000')
__integerMinNegative180Max180 = Shapes::IntegerShape.new(name: '__integerMinNegative180Max180')
__integerMinNegative1Max10 = Shapes::IntegerShape.new(name: '__integerMinNegative1Max10')
+ __integerMinNegative1Max2147483647 = Shapes::IntegerShape.new(name: '__integerMinNegative1Max2147483647')
__integerMinNegative1Max3 = Shapes::IntegerShape.new(name: '__integerMinNegative1Max3')
__integerMinNegative2147483648Max2147483647 = Shapes::IntegerShape.new(name: '__integerMinNegative2147483648Max2147483647')
__integerMinNegative2Max3 = Shapes::IntegerShape.new(name: '__integerMinNegative2Max3')
@@ -813,6 +826,7 @@ module ClientApi
__listOfInputTemplate = Shapes::ListShape.new(name: '__listOfInputTemplate')
__listOfInsertableImage = Shapes::ListShape.new(name: '__listOfInsertableImage')
__listOfJob = Shapes::ListShape.new(name: '__listOfJob')
+ __listOfJobEngineVersion = Shapes::ListShape.new(name: '__listOfJobEngineVersion')
__listOfJobTemplate = Shapes::ListShape.new(name: '__listOfJobTemplate')
__listOfMsSmoothAdditionalManifest = Shapes::ListShape.new(name: '__listOfMsSmoothAdditionalManifest')
__listOfOutput = Shapes::ListShape.new(name: '__listOfOutput')
@@ -826,6 +840,7 @@ module ClientApi
__listOfTeletextPageType = Shapes::ListShape.new(name: '__listOfTeletextPageType')
__listOfVideoOverlay = Shapes::ListShape.new(name: '__listOfVideoOverlay')
__listOfVideoOverlayInputClipping = Shapes::ListShape.new(name: '__listOfVideoOverlayInputClipping')
+ __listOfVideoOverlayTransition = Shapes::ListShape.new(name: '__listOfVideoOverlayTransition')
__listOfWarningGroup = Shapes::ListShape.new(name: '__listOfWarningGroup')
__listOf__doubleMinNegative60Max6 = Shapes::ListShape.new(name: '__listOf__doubleMinNegative60Max6')
__listOf__integerMin1Max2147483647 = Shapes::ListShape.new(name: '__listOf__integerMin1Max2147483647')
@@ -1251,6 +1266,7 @@ module ClientApi
CreateJobRequest.add_member(:billing_tags_source, Shapes::ShapeRef.new(shape: BillingTagsSource, location_name: "billingTagsSource"))
CreateJobRequest.add_member(:client_request_token, Shapes::ShapeRef.new(shape: __string, location_name: "clientRequestToken", metadata: {"idempotencyToken"=>true}))
CreateJobRequest.add_member(:hop_destinations, Shapes::ShapeRef.new(shape: __listOfHopDestination, location_name: "hopDestinations"))
+ CreateJobRequest.add_member(:job_engine_version, Shapes::ShapeRef.new(shape: __string, location_name: "jobEngineVersion"))
CreateJobRequest.add_member(:job_template, Shapes::ShapeRef.new(shape: __string, location_name: "jobTemplate"))
CreateJobRequest.add_member(:priority, Shapes::ShapeRef.new(shape: __integerMinNegative50Max50, location_name: "priority"))
CreateJobRequest.add_member(:queue, Shapes::ShapeRef.new(shape: __string, location_name: "queue"))
@@ -1494,6 +1510,10 @@ module ClientApi
EmbeddedSourceSettings.add_member(:terminate_captions, Shapes::ShapeRef.new(shape: EmbeddedTerminateCaptions, location_name: "terminateCaptions"))
EmbeddedSourceSettings.struct_class = Types::EmbeddedSourceSettings
+ EncryptionContractConfiguration.add_member(:speke_audio_preset, Shapes::ShapeRef.new(shape: PresetSpeke20Audio, location_name: "spekeAudioPreset"))
+ EncryptionContractConfiguration.add_member(:speke_video_preset, Shapes::ShapeRef.new(shape: PresetSpeke20Video, location_name: "spekeVideoPreset"))
+ EncryptionContractConfiguration.struct_class = Types::EncryptionContractConfiguration
+
Endpoint.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "url"))
Endpoint.struct_class = Types::Endpoint
@@ -1522,6 +1542,7 @@ module ClientApi
FileGroupSettings.add_member(:destination_settings, Shapes::ShapeRef.new(shape: DestinationSettings, location_name: "destinationSettings"))
FileGroupSettings.struct_class = Types::FileGroupSettings
+ FileSourceSettings.add_member(:byte_rate_limit, Shapes::ShapeRef.new(shape: CaptionSourceByteRateLimit, location_name: "byteRateLimit"))
FileSourceSettings.add_member(:convert_608_to_708, Shapes::ShapeRef.new(shape: FileSourceConvert608To708, location_name: "convert608To708"))
FileSourceSettings.add_member(:convert_paint_to_pop, Shapes::ShapeRef.new(shape: CaptionSourceConvertPaintOnToPopOn, location_name: "convertPaintToPop"))
FileSourceSettings.add_member(:framerate, Shapes::ShapeRef.new(shape: CaptionSourceFramerate, location_name: "framerate"))
@@ -1615,6 +1636,7 @@ module ClientApi
H264Settings.add_member(:qvbr_settings, Shapes::ShapeRef.new(shape: H264QvbrSettings, location_name: "qvbrSettings"))
H264Settings.add_member(:rate_control_mode, Shapes::ShapeRef.new(shape: H264RateControlMode, location_name: "rateControlMode"))
H264Settings.add_member(:repeat_pps, Shapes::ShapeRef.new(shape: H264RepeatPps, location_name: "repeatPps"))
+ H264Settings.add_member(:saliency_aware_encoding, Shapes::ShapeRef.new(shape: H264SaliencyAwareEncoding, location_name: "saliencyAwareEncoding"))
H264Settings.add_member(:scan_type_conversion_mode, Shapes::ShapeRef.new(shape: H264ScanTypeConversionMode, location_name: "scanTypeConversionMode"))
H264Settings.add_member(:scene_change_detect, Shapes::ShapeRef.new(shape: H264SceneChangeDetect, location_name: "sceneChangeDetect"))
H264Settings.add_member(:slices, Shapes::ShapeRef.new(shape: __integerMin1Max32, location_name: "slices"))
@@ -1881,6 +1903,8 @@ module ClientApi
Job.add_member(:error_message, Shapes::ShapeRef.new(shape: __string, location_name: "errorMessage"))
Job.add_member(:hop_destinations, Shapes::ShapeRef.new(shape: __listOfHopDestination, location_name: "hopDestinations"))
Job.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ Job.add_member(:job_engine_version_requested, Shapes::ShapeRef.new(shape: __string, location_name: "jobEngineVersionRequested"))
+ Job.add_member(:job_engine_version_used, Shapes::ShapeRef.new(shape: __string, location_name: "jobEngineVersionUsed"))
Job.add_member(:job_percent_complete, Shapes::ShapeRef.new(shape: __integer, location_name: "jobPercentComplete"))
Job.add_member(:job_template, Shapes::ShapeRef.new(shape: __string, location_name: "jobTemplate"))
Job.add_member(:messages, Shapes::ShapeRef.new(shape: JobMessages, location_name: "messages"))
@@ -1899,6 +1923,10 @@ module ClientApi
Job.add_member(:warnings, Shapes::ShapeRef.new(shape: __listOfWarningGroup, location_name: "warnings"))
Job.struct_class = Types::Job
+ JobEngineVersion.add_member(:expiration_date, Shapes::ShapeRef.new(shape: __timestampUnix, location_name: "expirationDate"))
+ JobEngineVersion.add_member(:version, Shapes::ShapeRef.new(shape: __string, location_name: "version"))
+ JobEngineVersion.struct_class = Types::JobEngineVersion
+
JobMessages.add_member(:info, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "info"))
JobMessages.add_member(:warning, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "warning"))
JobMessages.struct_class = Types::JobMessages
@@ -2014,6 +2042,14 @@ module ClientApi
ListTagsForResourceResponse.add_member(:resource_tags, Shapes::ShapeRef.new(shape: ResourceTags, location_name: "resourceTags"))
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
+ ListVersionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: __integerMin1Max20, location: "querystring", location_name: "maxResults"))
+ ListVersionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
+ ListVersionsRequest.struct_class = Types::ListVersionsRequest
+
+ ListVersionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
+ ListVersionsResponse.add_member(:versions, Shapes::ShapeRef.new(shape: __listOfJobEngineVersion, location_name: "versions"))
+ ListVersionsResponse.struct_class = Types::ListVersionsResponse
+
M2tsScte35Esam.add_member(:scte_35_esam_pid, Shapes::ShapeRef.new(shape: __integerMin32Max8182, location_name: "scte35EsamPid"))
M2tsScte35Esam.struct_class = Types::M2tsScte35Esam
@@ -2422,6 +2458,7 @@ module ClientApi
SearchJobsResponse.struct_class = Types::SearchJobsResponse
SpekeKeyProvider.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: __stringPatternArnAwsUsGovAcm, location_name: "certificateArn"))
+ SpekeKeyProvider.add_member(:encryption_contract_configuration, Shapes::ShapeRef.new(shape: EncryptionContractConfiguration, location_name: "encryptionContractConfiguration"))
SpekeKeyProvider.add_member(:resource_id, Shapes::ShapeRef.new(shape: __string, location_name: "resourceId"))
SpekeKeyProvider.add_member(:system_ids, Shapes::ShapeRef.new(shape: __listOf__stringPattern09aFAF809aFAF409aFAF409aFAF409aFAF12, location_name: "systemIds"))
SpekeKeyProvider.add_member(:url, Shapes::ShapeRef.new(shape: __stringPatternHttpsD, location_name: "url"))
@@ -2429,6 +2466,7 @@ module ClientApi
SpekeKeyProviderCmaf.add_member(:certificate_arn, Shapes::ShapeRef.new(shape: __stringPatternArnAwsUsGovAcm, location_name: "certificateArn"))
SpekeKeyProviderCmaf.add_member(:dash_signaled_system_ids, Shapes::ShapeRef.new(shape: __listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12, location_name: "dashSignaledSystemIds"))
+ SpekeKeyProviderCmaf.add_member(:encryption_contract_configuration, Shapes::ShapeRef.new(shape: EncryptionContractConfiguration, location_name: "encryptionContractConfiguration"))
SpekeKeyProviderCmaf.add_member(:hls_signaled_system_ids, Shapes::ShapeRef.new(shape: __listOf__stringMin36Max36Pattern09aFAF809aFAF409aFAF409aFAF409aFAF12, location_name: "hlsSignaledSystemIds"))
SpekeKeyProviderCmaf.add_member(:resource_id, Shapes::ShapeRef.new(shape: __stringPatternW, location_name: "resourceId"))
SpekeKeyProviderCmaf.add_member(:url, Shapes::ShapeRef.new(shape: __stringPatternHttpsD, location_name: "url"))
@@ -2581,8 +2619,11 @@ module ClientApi
VideoDetail.struct_class = Types::VideoDetail
VideoOverlay.add_member(:end_timecode, Shapes::ShapeRef.new(shape: __stringPattern010920405090509092, location_name: "endTimecode"))
+ VideoOverlay.add_member(:initial_position, Shapes::ShapeRef.new(shape: VideoOverlayPosition, location_name: "initialPosition"))
VideoOverlay.add_member(:input, Shapes::ShapeRef.new(shape: VideoOverlayInput, location_name: "input"))
+ VideoOverlay.add_member(:playback, Shapes::ShapeRef.new(shape: VideoOverlayPlayBackMode, location_name: "playback"))
VideoOverlay.add_member(:start_timecode, Shapes::ShapeRef.new(shape: __stringPattern010920405090509092, location_name: "startTimecode"))
+ VideoOverlay.add_member(:transitions, Shapes::ShapeRef.new(shape: __listOfVideoOverlayTransition, location_name: "transitions"))
VideoOverlay.struct_class = Types::VideoOverlay
VideoOverlayInput.add_member(:file_input, Shapes::ShapeRef.new(shape: __stringPatternS3Https, location_name: "fileInput"))
@@ -2591,10 +2632,22 @@ module ClientApi
VideoOverlayInput.add_member(:timecode_start, Shapes::ShapeRef.new(shape: __stringMin11Max11Pattern01D20305D205D, location_name: "timecodeStart"))
VideoOverlayInput.struct_class = Types::VideoOverlayInput
- VideoOverlayInputClipping.add_member(:end_timecode, Shapes::ShapeRef.new(shape: __stringPattern010920405090509092, location_name: "endTimecode"))
- VideoOverlayInputClipping.add_member(:start_timecode, Shapes::ShapeRef.new(shape: __stringPattern010920405090509092, location_name: "startTimecode"))
+ VideoOverlayInputClipping.add_member(:end_timecode, Shapes::ShapeRef.new(shape: __stringPattern010920405090509092090909, location_name: "endTimecode"))
+ VideoOverlayInputClipping.add_member(:start_timecode, Shapes::ShapeRef.new(shape: __stringPattern010920405090509092090909, location_name: "startTimecode"))
VideoOverlayInputClipping.struct_class = Types::VideoOverlayInputClipping
+ VideoOverlayPosition.add_member(:height, Shapes::ShapeRef.new(shape: __integerMinNegative1Max2147483647, location_name: "height"))
+ VideoOverlayPosition.add_member(:unit, Shapes::ShapeRef.new(shape: VideoOverlayUnit, location_name: "unit"))
+ VideoOverlayPosition.add_member(:width, Shapes::ShapeRef.new(shape: __integerMinNegative1Max2147483647, location_name: "width"))
+ VideoOverlayPosition.add_member(:x_position, Shapes::ShapeRef.new(shape: __integerMinNegative2147483648Max2147483647, location_name: "xPosition"))
+ VideoOverlayPosition.add_member(:y_position, Shapes::ShapeRef.new(shape: __integerMinNegative2147483648Max2147483647, location_name: "yPosition"))
+ VideoOverlayPosition.struct_class = Types::VideoOverlayPosition
+
+ VideoOverlayTransition.add_member(:end_position, Shapes::ShapeRef.new(shape: VideoOverlayPosition, location_name: "endPosition"))
+ VideoOverlayTransition.add_member(:end_timecode, Shapes::ShapeRef.new(shape: __stringPattern010920405090509092, location_name: "endTimecode"))
+ VideoOverlayTransition.add_member(:start_timecode, Shapes::ShapeRef.new(shape: __stringPattern010920405090509092, location_name: "startTimecode"))
+ VideoOverlayTransition.struct_class = Types::VideoOverlayTransition
+
VideoPreprocessor.add_member(:color_corrector, Shapes::ShapeRef.new(shape: ColorCorrector, location_name: "colorCorrector"))
VideoPreprocessor.add_member(:deinterlacer, Shapes::ShapeRef.new(shape: Deinterlacer, location_name: "deinterlacer"))
VideoPreprocessor.add_member(:dolby_vision, Shapes::ShapeRef.new(shape: DolbyVision, location_name: "dolbyVision"))
@@ -2762,6 +2815,8 @@ module ClientApi
__listOfJob.member = Shapes::ShapeRef.new(shape: Job)
+ __listOfJobEngineVersion.member = Shapes::ShapeRef.new(shape: JobEngineVersion)
+
__listOfJobTemplate.member = Shapes::ShapeRef.new(shape: JobTemplate)
__listOfMsSmoothAdditionalManifest.member = Shapes::ShapeRef.new(shape: MsSmoothAdditionalManifest)
@@ -2788,6 +2843,8 @@ module ClientApi
__listOfVideoOverlayInputClipping.member = Shapes::ShapeRef.new(shape: VideoOverlayInputClipping)
+ __listOfVideoOverlayTransition.member = Shapes::ShapeRef.new(shape: VideoOverlayTransition)
+
__listOfWarningGroup.member = Shapes::ShapeRef.new(shape: WarningGroup)
__listOf__doubleMinNegative60Max6.member = Shapes::ShapeRef.new(shape: __doubleMinNegative60Max6)
@@ -3179,6 +3236,26 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
end)
+ api.add_operation(:list_versions, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListVersions"
+ o.http_method = "GET"
+ o.http_request_uri = "/2017-08-29/versions"
+ o.input = Shapes::ShapeRef.new(shape: ListVersionsRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListVersionsResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
api.add_operation(:put_policy, Seahorse::Model::Operation.new.tap do |o|
o.name = "PutPolicy"
o.http_method = "PUT"
diff --git a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/endpoints.rb b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/endpoints.rb
index f0be9ef9d54..76cc6e6f552 100644
--- a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/endpoints.rb
+++ b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/endpoints.rb
@@ -14,406 +14,330 @@ module Endpoints
class AssociateCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePreset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePreset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPreset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPresets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListVersions
+ def self.build(context)
+ Aws::MediaConvert::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateJobTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePreset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaConvert::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/plugins/endpoints.rb b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/plugins/endpoints.rb
index ae170604856..5891258b142 100644
--- a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/plugins/endpoints.rb
+++ b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
@@ -102,6 +111,8 @@ def parameters_for_operation(context)
Aws::MediaConvert::Endpoints::ListQueues.build(context)
when :list_tags_for_resource
Aws::MediaConvert::Endpoints::ListTagsForResource.build(context)
+ when :list_versions
+ Aws::MediaConvert::Endpoints::ListVersions.build(context)
when :put_policy
Aws::MediaConvert::Endpoints::PutPolicy.build(context)
when :search_jobs
diff --git a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb
index 6cdf0dbab70..86737442f3b 100644
--- a/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb
+++ b/gems/aws-sdk-mediaconvert/lib/aws-sdk-mediaconvert/types.rb
@@ -43,7 +43,13 @@ module Types
# @return [Integer]
#
# @!attribute [rw] codec_profile
- # AAC Profile.
+ # Specify the AAC profile. For the widest player compatibility and
+ # where higher bitrates are acceptable: Keep the default profile, LC
+ # (AAC-LC) For improved audio performance at lower bitrates: Choose
+ # HEV1 or HEV2. HEV1 (AAC-HE v1) adds spectral band replication to
+ # improve speech audio at low bitrates. HEV2 (AAC-HE v2) adds
+ # parametric stereo, which optimizes for encoding stereo audio at very
+ # low bitrates.
# @return [String]
#
# @!attribute [rw] coding_mode
@@ -59,7 +65,11 @@ module Types
# @return [String]
#
# @!attribute [rw] rate_control_mode
- # Rate Control Mode.
+ # Specify the AAC rate control mode. For a constant bitrate: Choose
+ # CBR. Your AAC output bitrate will be equal to the value that you
+ # choose for Bitrate. For a variable bitrate: Choose VBR. Your AAC
+ # output bitrate will vary according to your audio content and the
+ # value that you choose for Bitrate quality.
# @return [String]
#
# @!attribute [rw] raw_format
@@ -69,15 +79,10 @@ module Types
# @return [String]
#
# @!attribute [rw] sample_rate
- # Specify the Sample rate in Hz. Valid sample rates depend on the
- # Profile and Coding mode that you select. The following list shows
- # valid sample rates for each Profile and Coding mode. * LC Profile,
- # Coding mode 1.0, 2.0, and Receiver Mix: 8000, 12000, 16000, 22050,
- # 24000, 32000, 44100, 48000, 88200, 96000. * LC Profile, Coding mode
- # 5.1: 32000, 44100, 48000, 96000. * HEV1 Profile, Coding mode 1.0
- # and Receiver Mix: 22050, 24000, 32000, 44100, 48000. * HEV1
- # Profile, Coding mode 2.0 and 5.1: 32000, 44100, 48000, 96000. *
- # HEV2 Profile, Coding mode 2.0: 22050, 24000, 32000, 44100, 48000.
+ # Specify the AAC sample rate in samples per second (Hz). Valid sample
+ # rates depend on the AAC profile and Coding mode that you select. For
+ # a list of supported sample rates, see:
+ # https://docs.aws.amazon.com/mediaconvert/latest/ug/aac-support.html
# @return [Integer]
#
# @!attribute [rw] specification
@@ -86,7 +91,9 @@ module Types
# @return [String]
#
# @!attribute [rw] vbr_quality
- # VBR Quality Level - Only used if rate\_control\_mode is VBR.
+ # Specify the quality of your variable bitrate (VBR) AAC audio. For a
+ # list of approximate VBR bitrates, see:
+ # https://docs.aws.amazon.com/mediaconvert/latest/ug/aac-support.html#aac\_vbr
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/AacSettings AWS API Documentation
@@ -693,7 +700,10 @@ class AudioNormalizationSettings < Struct.new(
# timestamps. No corrections are made to already-aligned frames.
# Frame-level correction may affect the pitch of corrected frames, and
# is recommended for atonal audio content such as speech or
- # percussion.
+ # percussion. * Force: Apply audio duration correction, either Track
+ # or Frame depending on your input, regardless of the accuracy of your
+ # input's STTS table. Your output audio and video may not be aligned
+ # or it may contain audio artifacts.
# @return [String]
#
# @!attribute [rw] custom_language_code
@@ -2947,6 +2957,14 @@ class ContainerSettings < Struct.new(
# feature, see the AWS Elemental MediaConvert User Guide.
# @return [Array]
#
+ # @!attribute [rw] job_engine_version
+ # Use Job engine versions to run jobs for your production workflow on
+ # one version, while you test and validate the latest version. To
+ # specify a Job engine version: Enter a date in a YYYY-MM-DD format.
+ # For a list of valid Job engine versions, submit a ListVersions
+ # request. To not specify a Job engine version: Leave blank.
+ # @return [String]
+ #
# @!attribute [rw] job_template
# Optional. When you create a job, you can either specify a job
# template or specify the transcoding settings individually.
@@ -3014,6 +3032,7 @@ class CreateJobRequest < Struct.new(
:billing_tags_source,
:client_request_token,
:hop_destinations,
+ :job_engine_version,
:job_template,
:priority,
:queue,
@@ -4727,6 +4746,52 @@ class EmbeddedSourceSettings < Struct.new(
include Aws::Structure
end
+ # Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert uses
+ # when encrypting your output. For more information, see:
+ # https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html
+ # To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE
+ # v2.0 video preset and a SPEKE v2.0 audio preset.
+ #
+ # @!attribute [rw] speke_audio_preset
+ # Specify which SPEKE version 2.0 audio preset MediaConvert uses to
+ # request content keys from your SPEKE server. For more information,
+ # see:
+ # https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html
+ # To encrypt to your audio outputs, choose from the following: Audio
+ # preset 1, Audio preset 2, or Audio preset 3. To encrypt your audio
+ # outputs, using the same content key for both your audio and video
+ # outputs: Choose Shared. When you do, you must also set SPEKE v2.0
+ # video preset to Shared. To not encrypt your audio outputs: Choose
+ # Unencrypted. When you do, to encrypt your video outputs, you must
+ # also specify a SPEKE v2.0 video preset (other than Shared or
+ # Unencrypted).
+ # @return [String]
+ #
+ # @!attribute [rw] speke_video_preset
+ # Specify which SPEKE version 2.0 video preset MediaConvert uses to
+ # request content keys from your SPEKE server. For more information,
+ # see:
+ # https://docs.aws.amazon.com/mediaconvert/latest/ug/drm-content-speke-v2-presets.html
+ # To encrypt to your video outputs, choose from the following: Video
+ # preset 1, Video preset 2, Video preset 3, Video preset 4, Video
+ # preset 5, Video preset 6, Video preset 7, or Video preset 8. To
+ # encrypt your video outputs, using the same content key for both your
+ # video and audio outputs: Choose Shared. When you do, you must also
+ # set SPEKE v2.0 audio preset to Shared. To not encrypt your video
+ # outputs: Choose Unencrypted. When you do, to encrypt your audio
+ # outputs, you must also specify a SPEKE v2.0 audio preset (other than
+ # Shared or Unencrypted).
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/EncryptionContractConfiguration AWS API Documentation
+ #
+ class EncryptionContractConfiguration < Struct.new(
+ :speke_audio_preset,
+ :speke_video_preset)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# Describes an account-specific API endpoint.
#
# @!attribute [rw] url
@@ -4900,6 +4965,19 @@ class FileGroupSettings < Struct.new(
# If your caption source is IMSC in an IMF package, use
# TrackSourceSettings instead of FileSoureSettings.
#
+ # @!attribute [rw] byte_rate_limit
+ # Choose whether to limit the byte rate at which your SCC input
+ # captions are inserted into your output. To not limit the caption
+ # rate: We recommend that you keep the default value, Disabled.
+ # MediaConvert inserts captions in your output according to the byte
+ # rates listed in the EIA-608 specification, typically 2 or 3 caption
+ # bytes per frame depending on your output frame rate. To limit your
+ # output caption rate: Choose Enabled. Choose this option if your
+ # downstream systems require a maximum of 2 caption bytes per frame.
+ # Note that this setting has no effect when your output frame rate is
+ # 30 or 60.
+ # @return [String]
+ #
# @!attribute [rw] convert_608_to_708
# Specify whether this set of input captions appears in your outputs
# in both 608 and 708 format. If you choose Upconvert, MediaConvert
@@ -4959,6 +5037,7 @@ class FileGroupSettings < Struct.new(
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/FileSourceSettings AWS API Documentation
#
class FileSourceSettings < Struct.new(
+ :byte_rate_limit,
:convert_608_to_708,
:convert_paint_to_pop,
:framerate,
@@ -5508,23 +5587,25 @@ class H264QvbrSettings < Struct.new(
# @return [Integer]
#
# @!attribute [rw] min_i_interval
- # Use this setting only when you also enable Scene change detection.
- # This setting determines how the encoder manages the spacing between
- # I-frames that it inserts as part of the I-frame cadence and the
- # I-frames that it inserts for Scene change detection. We recommend
- # that you have the transcoder automatically choose this value for you
- # based on characteristics of your input video. To enable this
- # automatic behavior, do this by keeping the default empty value. When
- # you explicitly specify a value for this setting, the encoder
- # determines whether to skip a cadence-driven I-frame by the value you
- # set. For example, if you set Min I interval to 5 and a
- # cadence-driven I-frame would fall within 5 frames of a scene-change
- # I-frame, then the encoder skips the cadence-driven I-frame. In this
- # way, one GOP is shrunk slightly and one GOP is stretched slightly.
- # When the cadence-driven I-frames are farther from the scene-change
- # I-frame than the value you set, then the encoder leaves all I-frames
- # in place and the GOPs surrounding the scene change are smaller than
- # the usual cadence GOPs.
+ # Specify the minimum number of frames allowed between two IDR-frames
+ # in your output. This includes frames created at the start of a GOP
+ # or a scene change. Use Min I-Interval to improve video compression
+ # by varying GOP size when two IDR-frames would be created near each
+ # other. For example, if a regular cadence-driven IDR-frame would fall
+ # within 5 frames of a scene-change IDR-frame, and you set Min
+ # I-interval to 5, then the encoder would only write an IDR-frame for
+ # the scene-change. In this way, one GOP is shortened or extended. If
+ # a cadence-driven IDR-frame would be further than 5 frames from a
+ # scene-change IDR-frame, then the encoder leaves all IDR-frames in
+ # place. To use an automatically determined interval: We recommend
+ # that you keep this value blank. This allows for MediaConvert to use
+ # an optimal setting according to the characteristics of your input
+ # video, and results in better video compression. To manually specify
+ # an interval: Enter a value from 1 to 30. Use when your downstream
+ # systems have specific GOP size requirements. To disable GOP size
+ # variance: Enter 0. MediaConvert will only create IDR-frames at the
+ # start of your output's cadence-driven GOP. Use when your downstream
+ # systems require a regular GOP size.
# @return [Integer]
#
# @!attribute [rw] number_b_frames_between_reference_frames
@@ -5594,6 +5675,19 @@ class H264QvbrSettings < Struct.new(
# Places a PPS header on each encoded picture, even if repeated.
# @return [String]
#
+ # @!attribute [rw] saliency_aware_encoding
+ # Specify whether to apply Saliency aware encoding to your output. Use
+ # to improve the perceptual video quality of your output by allocating
+ # more encoding bits to the prominent or noticeable parts of your
+ # content. To apply saliency aware encoding, when possible: We
+ # recommend that you choose Preferred. The effects of Saliency aware
+ # encoding are best seen in lower bitrate outputs. When you choose
+ # Preferred, note that Saliency aware encoding will only apply to
+ # outputs that are 720p or higher in resolution. To not apply saliency
+ # aware encoding, prioritizing encoding speed over perceptual video
+ # quality: Choose Disabled.
+ # @return [String]
+ #
# @!attribute [rw] scan_type_conversion_mode
# Use this setting for interlaced outputs, when your output frame rate
# is half of your input frame rate. In this situation, choose
@@ -5764,6 +5858,7 @@ class H264Settings < Struct.new(
:qvbr_settings,
:rate_control_mode,
:repeat_pps,
+ :saliency_aware_encoding,
:scan_type_conversion_mode,
:scene_change_detect,
:slices,
@@ -6039,23 +6134,25 @@ class H265QvbrSettings < Struct.new(
# @return [Integer]
#
# @!attribute [rw] min_i_interval
- # Use this setting only when you also enable Scene change detection.
- # This setting determines how the encoder manages the spacing between
- # I-frames that it inserts as part of the I-frame cadence and the
- # I-frames that it inserts for Scene change detection. We recommend
- # that you have the transcoder automatically choose this value for you
- # based on characteristics of your input video. To enable this
- # automatic behavior, do this by keeping the default empty value. When
- # you explicitly specify a value for this setting, the encoder
- # determines whether to skip a cadence-driven I-frame by the value you
- # set. For example, if you set Min I interval to 5 and a
- # cadence-driven I-frame would fall within 5 frames of a scene-change
- # I-frame, then the encoder skips the cadence-driven I-frame. In this
- # way, one GOP is shrunk slightly and one GOP is stretched slightly.
- # When the cadence-driven I-frames are farther from the scene-change
- # I-frame than the value you set, then the encoder leaves all I-frames
- # in place and the GOPs surrounding the scene change are smaller than
- # the usual cadence GOPs.
+ # Specify the minimum number of frames allowed between two IDR-frames
+ # in your output. This includes frames created at the start of a GOP
+ # or a scene change. Use Min I-Interval to improve video compression
+ # by varying GOP size when two IDR-frames would be created near each
+ # other. For example, if a regular cadence-driven IDR-frame would fall
+ # within 5 frames of a scene-change IDR-frame, and you set Min
+ # I-interval to 5, then the encoder would only write an IDR-frame for
+ # the scene-change. In this way, one GOP is shortened or extended. If
+ # a cadence-driven IDR-frame would be further than 5 frames from a
+ # scene-change IDR-frame, then the encoder leaves all IDR-frames in
+ # place. To use an automatically determined interval: We recommend
+ # that you keep this value blank. This allows for MediaConvert to use
+ # an optimal setting according to the characteristics of your input
+ # video, and results in better video compression. To manually specify
+ # an interval: Enter a value from 1 to 30. Use when your downstream
+ # systems have specific GOP size requirements. To disable GOP size
+ # variance: Enter 0. MediaConvert will only create IDR-frames at the
+ # start of your output's cadence-driven GOP. Use when your downstream
+ # systems require a regular GOP size.
# @return [Integer]
#
# @!attribute [rw] number_b_frames_between_reference_frames
@@ -7888,6 +7985,22 @@ class InternalServerErrorException < Struct.new(
# MediaConvert resources
# @return [String]
#
+ # @!attribute [rw] job_engine_version_requested
+ # The Job engine version that you requested for your job. Valid
+ # versions are in a YYYY-MM-DD format.
+ # @return [String]
+ #
+ # @!attribute [rw] job_engine_version_used
+ # The Job engine version that your job used. Job engine versions are
+ # in a YYYY-MM-DD format. When you request an expired version, the
+ # response for this property will be empty. Requests to create jobs
+ # with an expired version result in a regular job, as if no specific
+ # Job engine version was requested. When you request an invalid
+ # version, the response for this property will be empty. Requests to
+ # create jobs with an invalid version result in a 400 error message,
+ # and no job is created.
+ # @return [String]
+ #
# @!attribute [rw] job_percent_complete
# An estimate of how far your job has progressed. This estimate is
# shown as a percentage of the total time from when your job leaves
@@ -7997,6 +8110,8 @@ class Job < Struct.new(
:error_message,
:hop_destinations,
:id,
+ :job_engine_version_requested,
+ :job_engine_version_used,
:job_percent_complete,
:job_template,
:messages,
@@ -8017,6 +8132,31 @@ class Job < Struct.new(
include Aws::Structure
end
+ # Use Job engine versions to run jobs for your production workflow on
+ # one version, while you test and validate the latest version. Job
+ # engine versions are in a YYYY-MM-DD format.
+ #
+ # @!attribute [rw] expiration_date
+ # The date that this Job engine version expires. Requests to create
+ # jobs with an expired version result in a regular job, as if no
+ # specific Job engine version was requested.
+ # @return [Time]
+ #
+ # @!attribute [rw] version
+ # Use Job engine versions to run jobs for your production workflow on
+ # one version, while you test and validate the latest version. Job
+ # engine versions are in a YYYY-MM-DD format.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/JobEngineVersion AWS API Documentation
+ #
+ class JobEngineVersion < Struct.new(
+ :expiration_date,
+ :version)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# Provides messages from the service about jobs that you have already
# successfully submitted.
#
@@ -8782,6 +8922,50 @@ class ListTagsForResourceResponse < Struct.new(
include Aws::Structure
end
+ # Retrieve a JSON array of all available Job engine versions and the
+ # date they expire. Job engine versions are in YYYY-MM-DD format.
+ #
+ # @!attribute [rw] max_results
+ # Optional. Number of valid Job engine versions, up to twenty, that
+ # will be returned at one time.
+ # @return [Integer]
+ #
+ # @!attribute [rw] next_token
+ # Optional. Use this string, provided with the response to a previous
+ # request, to request the next batch of Job engine versions.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListVersionsRequest AWS API Documentation
+ #
+ class ListVersionsRequest < Struct.new(
+ :max_results,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Successful list versions requests will return a JSON for available Job
+ # engine versions.
+ #
+ # @!attribute [rw] next_token
+ # Optional. Use this string, provided with the response to a previous
+ # request, to request the next batch of Job engine versions.
+ # @return [String]
+ #
+ # @!attribute [rw] versions
+ # Retrieve a JSON array of all available Job engine versions and the
+ # date they expire.
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/ListVersionsResponse AWS API Documentation
+ #
+ class ListVersionsResponse < Struct.new(
+ :next_token,
+ :versions)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# Settings for SCTE-35 signals from ESAM. Include this in your job
# settings to put SCTE-35 markers in your HLS and transport stream
# outputs at the insertion points that you specify in an ESAM XML
@@ -9951,20 +10135,22 @@ class MpdSettings < Struct.new(
# @return [Integer]
#
# @!attribute [rw] min_i_interval
- # Use this setting only when you also enable Scene change detection.
- # This setting determines how the encoder manages the spacing between
- # I-frames that it inserts as part of the I-frame cadence and the
- # I-frames that it inserts for Scene change detection. When you
- # specify a value for this setting, the encoder determines whether to
- # skip a cadence-driven I-frame by the value you set. For example, if
- # you set Min I interval to 5 and a cadence-driven I-frame would fall
- # within 5 frames of a scene-change I-frame, then the encoder skips
- # the cadence-driven I-frame. In this way, one GOP is shrunk slightly
- # and one GOP is stretched slightly. When the cadence-driven I-frames
- # are farther from the scene-change I-frame than the value you set,
- # then the encoder leaves all I-frames in place and the GOPs
- # surrounding the scene change are smaller than the usual cadence
- # GOPs.
+ # Specify the minimum number of frames allowed between two IDR-frames
+ # in your output. This includes frames created at the start of a GOP
+ # or a scene change. Use Min I-Interval to improve video compression
+ # by varying GOP size when two IDR-frames would be created near each
+ # other. For example, if a regular cadence-driven IDR-frame would fall
+ # within 5 frames of a scene-change IDR-frame, and you set Min
+ # I-interval to 5, then the encoder would only write an IDR-frame for
+ # the scene-change. In this way, one GOP is shortened or extended. If
+ # a cadence-driven IDR-frame would be further than 5 frames from a
+ # scene-change IDR-frame, then the encoder leaves all IDR-frames in
+ # place. To manually specify an interval: Enter a value from 1 to 30.
+ # Use when your downstream systems have specific GOP size
+ # requirements. To disable GOP size variance: Enter 0. MediaConvert
+ # will only create IDR-frames at the start of your output's
+ # cadence-driven GOP. Use when your downstream systems require a
+ # regular GOP size.
# @return [Integer]
#
# @!attribute [rw] number_b_frames_between_reference_frames
@@ -11792,6 +11978,14 @@ class SearchJobsResponse < Struct.new(
# Resource Name (ARN) here.
# @return [String]
#
+ # @!attribute [rw] encryption_contract_configuration
+ # Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert
+ # uses when encrypting your output. For more information, see:
+ # https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html
+ # To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE
+ # v2.0 video preset and a SPEKE v2.0 audio preset.
+ # @return [Types::EncryptionContractConfiguration]
+ #
# @!attribute [rw] resource_id
# Specify the resource ID that your SPEKE-compliant key provider uses
# to identify this content.
@@ -11814,6 +12008,7 @@ class SearchJobsResponse < Struct.new(
#
class SpekeKeyProvider < Struct.new(
:certificate_arn,
+ :encryption_contract_configuration,
:resource_id,
:system_ids,
:url)
@@ -11841,6 +12036,14 @@ class SpekeKeyProvider < Struct.new(
# https://dashif.org/identifiers/content\_protection/.
# @return [Array]
#
+ # @!attribute [rw] encryption_contract_configuration
+ # Specify the SPEKE version, either v1.0 or v2.0, that MediaConvert
+ # uses when encrypting your output. For more information, see:
+ # https://docs.aws.amazon.com/speke/latest/documentation/speke-api-specification.html
+ # To use SPEKE v1.0: Leave blank. To use SPEKE v2.0: Specify a SPEKE
+ # v2.0 video preset and a SPEKE v2.0 audio preset.
+ # @return [Types::EncryptionContractConfiguration]
+ #
# @!attribute [rw] hls_signaled_system_ids
# Specify the DRM system ID that you want signaled in the HLS manifest
# that MediaConvert creates as part of this CMAF package. The HLS
@@ -11864,6 +12067,7 @@ class SpekeKeyProvider < Struct.new(
class SpekeKeyProviderCmaf < Struct.new(
:certificate_arn,
:dash_signaled_system_ids,
+ :encryption_contract_configuration,
:hls_signaled_system_ids,
:resource_id,
:url)
@@ -12897,41 +13101,69 @@ class VideoDetail < Struct.new(
# https://docs.aws.amazon.com/mediaconvert/latest/ug/video-overlays.html
#
# @!attribute [rw] end_timecode
- # Enter the end timecode in the underlying input video for this
- # overlay. Your overlay will be active through this frame. To display
- # your video overlay for the duration of the underlying video: Leave
- # blank. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the
- # hour, MM is the minute, SS is the second, and FF is the frame
- # number. When entering this value, take into account your choice for
- # the underlying Input timecode source. For example, if you have
- # embedded timecodes that start at 01:00:00:00 and you want your
- # overlay to end ten minutes into the video, enter 01:10:00:00.
- # @return [String]
+ # Enter the end timecode in the base input video for this overlay.
+ # Your overlay will be active through this frame. To display your
+ # video overlay for the duration of the base input video: Leave blank.
+ # Use the format HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM
+ # is the minute, SS isthe second, and FF is the frame number. When
+ # entering this value, take into account your choice for the base
+ # input video's timecode source. For example, if you have embedded
+ # timecodes that start at 01:00:00:00 and you want your overlay to end
+ # ten minutes into the video, enter 01:10:00:00.
+ # @return [String]
+ #
+ # @!attribute [rw] initial_position
+ # Specify the Initial position of your video overlay. To specify the
+ # Initial position of your video overlay, including distance from the
+ # left or top edge of the base input video's frame, or size: Enter a
+ # value for X position, Y position, Width, or Height. To use the full
+ # frame of the base input video: Leave blank.
+ # @return [Types::VideoOverlayPosition]
#
# @!attribute [rw] input
# Input settings for Video overlay. You can include one or more video
# overlays in sequence at different times that you specify.
# @return [Types::VideoOverlayInput]
#
+ # @!attribute [rw] playback
+ # Specify whether your video overlay repeats or plays only once. To
+ # repeat your video overlay on a loop: Keep the default value, Repeat.
+ # Your overlay will repeat for the duration of the base input video.
+ # To playback your video overlay only once: Choose Once. With either
+ # option, you can end playback at a time that you specify by entering
+ # a value for End timecode.
+ # @return [String]
+ #
# @!attribute [rw] start_timecode
- # Enter the start timecode in the underlying input video for this
- # overlay. Your overlay will be active starting with this frame. To
- # display your video overlay starting at the beginning of the
- # underlying video: Leave blank. Use the format HH:MM:SS:FF or
- # HH:MM:SS;FF, where HH is the hour, MM is the minute, SS is the
- # second, and FF is the frame number. When entering this value, take
- # into account your choice for the underlying Input timecode source.
- # For example, if you have embedded timecodes that start at
- # 01:00:00:00 and you want your overlay to begin five minutes into the
- # video, enter 01:05:00:00.
+ # Enter the start timecode in the base input video for this overlay.
+ # Your overlay will be active starting with this frame. To display
+ # your video overlay starting at the beginning of the base input
+ # video: Leave blank. Use the format HH:MM:SS:FF or HH:MM:SS;FF, where
+ # HH is the hour, MM is the minute, SS is the second, and FF is the
+ # frame number. When entering this value, take into account your
+ # choice for the base input video's timecode source. For example, if
+ # you have embedded timecodes that start at 01:00:00:00 and you want
+ # your overlay to begin five minutes into the video, enter
+ # 01:05:00:00.
# @return [String]
#
+ # @!attribute [rw] transitions
+ # Specify one or more transitions for your video overlay. Use
+ # Transitions to reposition or resize your overlay over time. To use
+ # the same position and size for the duration of your video overlay:
+ # Leave blank. To specify a Transition: Enter a value for Start
+ # timecode, End Timecode, X Position, Y Position, Width, or Height.
+ # @return [Array]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoOverlay AWS API Documentation
#
class VideoOverlay < Struct.new(
:end_timecode,
+ :initial_position,
:input,
- :start_timecode)
+ :playback,
+ :start_timecode,
+ :transitions)
SENSITIVE = []
include Aws::Structure
end
@@ -12940,10 +13172,9 @@ class VideoOverlay < Struct.new(
# overlays in sequence at different times that you specify.
#
# @!attribute [rw] file_input
- # Specify the input file S3, HTTP, or HTTPS URI for your video
- # overlay. For consistency in color and formatting in your output
- # video image, we recommend that you specify a video with similar
- # characteristics as the underlying input video.
+ # Specify the input file S3, HTTP, or HTTPS URL for your video
+ # overlay. To specify one or more Transitions for your base input
+ # video instead: Leave blank.
# @return [String]
#
# @!attribute [rw] input_clippings
@@ -13005,6 +13236,116 @@ class VideoOverlayInputClipping < Struct.new(
include Aws::Structure
end
+ # position of video overlay
+ #
+ # @!attribute [rw] height
+ # To scale your video overlay to the same height as the base input
+ # video: Leave blank. To scale the height of your video overlay to a
+ # different height: Enter an integer representing the Unit type that
+ # you choose, either Pixels or Percentage. For example, when you enter
+ # 360 and choose Pixels, your video overlay will be rendered with a
+ # height of 360. When you enter 50, choose Percentage, and your
+ # overlay's source has a height of 1080, your video overlay will be
+ # rendered with a height of 540. To scale your overlay to a specific
+ # height while automatically maintaining its original aspect ratio,
+ # enter a value for Height and leave Width blank.
+ # @return [Integer]
+ #
+ # @!attribute [rw] unit
+ # Specify the Unit type to use when you enter a value for X position,
+ # Y position, Width, or Height. You can choose Pixels or Percentage.
+ # Leave blank to use the default value, Pixels.
+ # @return [String]
+ #
+ # @!attribute [rw] width
+ # To scale your video overlay to the same width as the base input
+ # video: Leave blank. To scale the width of your video overlay to a
+ # different width: Enter an integer representing the Unit type that
+ # you choose, either Pixels or Percentage. For example, when you enter
+ # 640 and choose Pixels, your video overlay will scale to a height of
+ # 640 pixels. When you enter 50, choose Percentage, and your
+ # overlay's source has a width of 1920, your video overlay will scale
+ # to a width of 960. To scale your overlay to a specific width while
+ # automatically maintaining its original aspect ratio, enter a value
+ # for Width and leave Height blank.
+ # @return [Integer]
+ #
+ # @!attribute [rw] x_position
+ # To position the left edge of your video overlay along the left edge
+ # of the base input video's frame: Keep blank, or enter 0. To
+ # position the left edge of your video overlay to the right, relative
+ # to the left edge of the base input video's frame: Enter an integer
+ # representing the Unit type that you choose, either Pixels or
+ # Percentage. For example, when you enter 10 and choose Pixels, your
+ # video overlay will be positioned 10 pixels from the left edge of the
+ # base input video's frame. When you enter 10, choose Percentage, and
+ # your base input video is 1920x1080, your video overlay will be
+ # positioned 192 pixels from the left edge of the base input video's
+ # frame.
+ # @return [Integer]
+ #
+ # @!attribute [rw] y_position
+ # To position the top edge of your video overlay along the top edge of
+ # the base input video's frame: Keep blank, or enter 0. To position
+ # the top edge of your video overlay down, relative to the top edge of
+ # the base input video's frame: Enter an integer representing the
+ # Unit type that you choose, either Pixels or Percentage. For example,
+ # when you enter 10 and choose Pixels, your video overlay will be
+ # positioned 10 pixels from the top edge of the base input video's
+ # frame. When you enter 10, choose Percentage, and your underlying
+ # video is 1920x1080, your video overlay will be positioned 108 pixels
+ # from the top edge of the base input video's frame.
+ # @return [Integer]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoOverlayPosition AWS API Documentation
+ #
+ class VideoOverlayPosition < Struct.new(
+ :height,
+ :unit,
+ :width,
+ :x_position,
+ :y_position)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Specify one or more Transitions for your video overlay. Use
+ # Transitions to reposition or resize your overlay over time. To use the
+ # same position and size for the duration of your video overlay: Leave
+ # blank. To specify a Transition: Enter a value for Start timecode, End
+ # Timecode, X Position, Y Position, Width, or Height.
+ #
+ # @!attribute [rw] end_position
+ # Specify the ending position for this transition, relative to the
+ # base input video's frame. Your video overlay will move smoothly to
+ # this position, beginning at this transition's Start timecode and
+ # ending at this transition's End timecode.
+ # @return [Types::VideoOverlayPosition]
+ #
+ # @!attribute [rw] end_timecode
+ # Specify the timecode for when this transition ends. Use the format
+ # HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute,
+ # SS is the second, and FF is the frame number. When entering this
+ # value, take into account your choice for Timecode source.
+ # @return [String]
+ #
+ # @!attribute [rw] start_timecode
+ # Specify the timecode for when this transition begins. Use the format
+ # HH:MM:SS:FF or HH:MM:SS;FF, where HH is the hour, MM is the minute,
+ # SS is the second, and FF is the frame number. When entering this
+ # value, take into account your choice for Timecode source.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/mediaconvert-2017-08-29/VideoOverlayTransition AWS API Documentation
+ #
+ class VideoOverlayTransition < Struct.new(
+ :end_position,
+ :end_timecode,
+ :start_timecode)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# Find additional transcoding features under Preprocessors. Enable the
# features at each output individually. These features are disabled by
# default.
diff --git a/gems/aws-sdk-mediaconvert/sig/client.rbs b/gems/aws-sdk-mediaconvert/sig/client.rbs
index 39b1323f873..44ec0257968 100644
--- a/gems/aws-sdk-mediaconvert/sig/client.rbs
+++ b/gems/aws-sdk-mediaconvert/sig/client.rbs
@@ -110,6 +110,7 @@ module Aws
wait_minutes: ::Integer?
},
],
+ ?job_engine_version: ::String,
?job_template: ::String,
?priority: ::Integer,
?queue: ::String,
@@ -153,7 +154,7 @@ module Aws
audio_selector_names: Array[::String]?
}]?,
audio_selectors: Hash[::String, {
- audio_duration_correction: ("DISABLED" | "AUTO" | "TRACK" | "FRAME")?,
+ audio_duration_correction: ("DISABLED" | "AUTO" | "TRACK" | "FRAME" | "FORCE")?,
custom_language_code: ::String?,
default_selection: ("DEFAULT" | "NOT_DEFAULT")?,
external_audio_file_input: ::String?,
@@ -202,6 +203,7 @@ module Aws
terminate_captions: ("END_OF_INPUT" | "DISABLED")?
}?,
file_source_settings: {
+ byte_rate_limit: ("ENABLED" | "DISABLED")?,
convert_608_to_708: ("UPCONVERT" | "DISABLED")?,
convert_paint_to_pop: ("ENABLED" | "DISABLED")?,
framerate: {
@@ -290,6 +292,13 @@ module Aws
video_overlays: Array[
{
end_timecode: ::String?,
+ initial_position: {
+ height: ::Integer?,
+ unit: ("PIXELS" | "PERCENTAGE")?,
+ width: ::Integer?,
+ x_position: ::Integer?,
+ y_position: ::Integer?
+ }?,
input: {
file_input: ::String?,
input_clippings: Array[
@@ -301,7 +310,21 @@ module Aws
timecode_source: ("EMBEDDED" | "ZEROBASED" | "SPECIFIEDSTART")?,
timecode_start: ::String?
}?,
- start_timecode: ::String?
+ playback: ("ONCE" | "REPEAT")?,
+ start_timecode: ::String?,
+ transitions: Array[
+ {
+ end_position: {
+ height: ::Integer?,
+ unit: ("PIXELS" | "PERCENTAGE")?,
+ width: ::Integer?,
+ x_position: ::Integer?,
+ y_position: ::Integer?
+ }?,
+ end_timecode: ::String?,
+ start_timecode: ::String?
+ },
+ ]?
},
]?,
video_selector: {
@@ -449,6 +472,10 @@ module Aws
speke_key_provider: {
certificate_arn: ::String?,
dash_signaled_system_ids: Array[::String]?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
hls_signaled_system_ids: Array[::String]?,
resource_id: ::String?,
url: ::String?
@@ -517,6 +544,10 @@ module Aws
playback_device_compatibility: ("CENC_V1" | "UNENCRYPTED_SEI")?,
speke_key_provider: {
certificate_arn: ::String?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
resource_id: ::String?,
system_ids: Array[::String]?,
url: ::String?
@@ -604,6 +635,10 @@ module Aws
offline_encrypted: ("ENABLED" | "DISABLED")?,
speke_key_provider: {
certificate_arn: ::String?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
resource_id: ::String?,
system_ids: Array[::String]?,
url: ::String?
@@ -668,6 +703,10 @@ module Aws
encryption: {
speke_key_provider: {
certificate_arn: ::String?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
resource_id: ::String?,
system_ids: Array[::String]?,
url: ::String?
@@ -938,7 +977,7 @@ module Aws
timed_metadata_scheme_id_uri: ::String?,
timed_metadata_value: ::String?
}?,
- container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "WEBM" | "RAW" | "Y4M")?,
+ container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "OGG" | "WEBM" | "RAW" | "Y4M")?,
f4v_settings: {
moov_placement: ("PROGRESSIVE_DOWNLOAD" | "NORMAL")?
}?,
@@ -1158,6 +1197,7 @@ module Aws
}?,
rate_control_mode: ("VBR" | "CBR" | "QVBR")?,
repeat_pps: ("DISABLED" | "ENABLED")?,
+ saliency_aware_encoding: ("DISABLED" | "PREFERRED")?,
scan_type_conversion_mode: ("INTERLACED" | "INTERLACED_OPTIMIZE")?,
scene_change_detect: ("DISABLED" | "ENABLED" | "TRANSITION_DETECTION")?,
slices: ::Integer?,
@@ -1575,7 +1615,7 @@ module Aws
audio_selector_names: Array[::String]?
}]?,
audio_selectors: Hash[::String, {
- audio_duration_correction: ("DISABLED" | "AUTO" | "TRACK" | "FRAME")?,
+ audio_duration_correction: ("DISABLED" | "AUTO" | "TRACK" | "FRAME" | "FORCE")?,
custom_language_code: ::String?,
default_selection: ("DEFAULT" | "NOT_DEFAULT")?,
external_audio_file_input: ::String?,
@@ -1624,6 +1664,7 @@ module Aws
terminate_captions: ("END_OF_INPUT" | "DISABLED")?
}?,
file_source_settings: {
+ byte_rate_limit: ("ENABLED" | "DISABLED")?,
convert_608_to_708: ("UPCONVERT" | "DISABLED")?,
convert_paint_to_pop: ("ENABLED" | "DISABLED")?,
framerate: {
@@ -1697,6 +1738,13 @@ module Aws
video_overlays: Array[
{
end_timecode: ::String?,
+ initial_position: {
+ height: ::Integer?,
+ unit: ("PIXELS" | "PERCENTAGE")?,
+ width: ::Integer?,
+ x_position: ::Integer?,
+ y_position: ::Integer?
+ }?,
input: {
file_input: ::String?,
input_clippings: Array[
@@ -1708,7 +1756,21 @@ module Aws
timecode_source: ("EMBEDDED" | "ZEROBASED" | "SPECIFIEDSTART")?,
timecode_start: ::String?
}?,
- start_timecode: ::String?
+ playback: ("ONCE" | "REPEAT")?,
+ start_timecode: ::String?,
+ transitions: Array[
+ {
+ end_position: {
+ height: ::Integer?,
+ unit: ("PIXELS" | "PERCENTAGE")?,
+ width: ::Integer?,
+ x_position: ::Integer?,
+ y_position: ::Integer?
+ }?,
+ end_timecode: ::String?,
+ start_timecode: ::String?
+ },
+ ]?
},
]?,
video_selector: {
@@ -1856,6 +1918,10 @@ module Aws
speke_key_provider: {
certificate_arn: ::String?,
dash_signaled_system_ids: Array[::String]?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
hls_signaled_system_ids: Array[::String]?,
resource_id: ::String?,
url: ::String?
@@ -1924,6 +1990,10 @@ module Aws
playback_device_compatibility: ("CENC_V1" | "UNENCRYPTED_SEI")?,
speke_key_provider: {
certificate_arn: ::String?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
resource_id: ::String?,
system_ids: Array[::String]?,
url: ::String?
@@ -2011,6 +2081,10 @@ module Aws
offline_encrypted: ("ENABLED" | "DISABLED")?,
speke_key_provider: {
certificate_arn: ::String?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
resource_id: ::String?,
system_ids: Array[::String]?,
url: ::String?
@@ -2075,6 +2149,10 @@ module Aws
encryption: {
speke_key_provider: {
certificate_arn: ::String?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
resource_id: ::String?,
system_ids: Array[::String]?,
url: ::String?
@@ -2345,7 +2423,7 @@ module Aws
timed_metadata_scheme_id_uri: ::String?,
timed_metadata_value: ::String?
}?,
- container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "WEBM" | "RAW" | "Y4M")?,
+ container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "OGG" | "WEBM" | "RAW" | "Y4M")?,
f4v_settings: {
moov_placement: ("PROGRESSIVE_DOWNLOAD" | "NORMAL")?
}?,
@@ -2565,6 +2643,7 @@ module Aws
}?,
rate_control_mode: ("VBR" | "CBR" | "QVBR")?,
repeat_pps: ("DISABLED" | "ENABLED")?,
+ saliency_aware_encoding: ("DISABLED" | "PREFERRED")?,
scan_type_conversion_mode: ("INTERLACED" | "INTERLACED_OPTIMIZE")?,
scene_change_detect: ("DISABLED" | "ENABLED" | "TRANSITION_DETECTION")?,
slices: ::Integer?,
@@ -3186,7 +3265,7 @@ module Aws
timed_metadata_scheme_id_uri: ::String?,
timed_metadata_value: ::String?
}?,
- container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "WEBM" | "RAW" | "Y4M")?,
+ container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "OGG" | "WEBM" | "RAW" | "Y4M")?,
f4v_settings: {
moov_placement: ("PROGRESSIVE_DOWNLOAD" | "NORMAL")?
}?,
@@ -3392,6 +3471,7 @@ module Aws
}?,
rate_control_mode: ("VBR" | "CBR" | "QVBR")?,
repeat_pps: ("DISABLED" | "ENABLED")?,
+ saliency_aware_encoding: ("DISABLED" | "PREFERRED")?,
scan_type_conversion_mode: ("INTERLACED" | "INTERLACED_OPTIMIZE")?,
scene_change_detect: ("DISABLED" | "ENABLED" | "TRANSITION_DETECTION")?,
slices: ::Integer?,
@@ -3922,6 +4002,18 @@ module Aws
) -> _ListTagsForResourceResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
+ interface _ListVersionsResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListVersionsResponse]
+ def next_token: () -> ::String
+ def versions: () -> ::Array[Types::JobEngineVersion]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaConvert/Client.html#list_versions-instance_method
+ def list_versions: (
+ ?max_results: ::Integer,
+ ?next_token: ::String
+ ) -> _ListVersionsResponseSuccess
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListVersionsResponseSuccess
+
interface _PutPolicyResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::PutPolicyResponse]
def policy: () -> Types::Policy
@@ -4032,7 +4124,7 @@ module Aws
audio_selector_names: Array[::String]?
}]?,
audio_selectors: Hash[::String, {
- audio_duration_correction: ("DISABLED" | "AUTO" | "TRACK" | "FRAME")?,
+ audio_duration_correction: ("DISABLED" | "AUTO" | "TRACK" | "FRAME" | "FORCE")?,
custom_language_code: ::String?,
default_selection: ("DEFAULT" | "NOT_DEFAULT")?,
external_audio_file_input: ::String?,
@@ -4081,6 +4173,7 @@ module Aws
terminate_captions: ("END_OF_INPUT" | "DISABLED")?
}?,
file_source_settings: {
+ byte_rate_limit: ("ENABLED" | "DISABLED")?,
convert_608_to_708: ("UPCONVERT" | "DISABLED")?,
convert_paint_to_pop: ("ENABLED" | "DISABLED")?,
framerate: {
@@ -4154,6 +4247,13 @@ module Aws
video_overlays: Array[
{
end_timecode: ::String?,
+ initial_position: {
+ height: ::Integer?,
+ unit: ("PIXELS" | "PERCENTAGE")?,
+ width: ::Integer?,
+ x_position: ::Integer?,
+ y_position: ::Integer?
+ }?,
input: {
file_input: ::String?,
input_clippings: Array[
@@ -4165,7 +4265,21 @@ module Aws
timecode_source: ("EMBEDDED" | "ZEROBASED" | "SPECIFIEDSTART")?,
timecode_start: ::String?
}?,
- start_timecode: ::String?
+ playback: ("ONCE" | "REPEAT")?,
+ start_timecode: ::String?,
+ transitions: Array[
+ {
+ end_position: {
+ height: ::Integer?,
+ unit: ("PIXELS" | "PERCENTAGE")?,
+ width: ::Integer?,
+ x_position: ::Integer?,
+ y_position: ::Integer?
+ }?,
+ end_timecode: ::String?,
+ start_timecode: ::String?
+ },
+ ]?
},
]?,
video_selector: {
@@ -4313,6 +4427,10 @@ module Aws
speke_key_provider: {
certificate_arn: ::String?,
dash_signaled_system_ids: Array[::String]?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
hls_signaled_system_ids: Array[::String]?,
resource_id: ::String?,
url: ::String?
@@ -4381,6 +4499,10 @@ module Aws
playback_device_compatibility: ("CENC_V1" | "UNENCRYPTED_SEI")?,
speke_key_provider: {
certificate_arn: ::String?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
resource_id: ::String?,
system_ids: Array[::String]?,
url: ::String?
@@ -4468,6 +4590,10 @@ module Aws
offline_encrypted: ("ENABLED" | "DISABLED")?,
speke_key_provider: {
certificate_arn: ::String?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
resource_id: ::String?,
system_ids: Array[::String]?,
url: ::String?
@@ -4532,6 +4658,10 @@ module Aws
encryption: {
speke_key_provider: {
certificate_arn: ::String?,
+ encryption_contract_configuration: {
+ speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")?,
+ speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")?
+ }?,
resource_id: ::String?,
system_ids: Array[::String]?,
url: ::String?
@@ -4802,7 +4932,7 @@ module Aws
timed_metadata_scheme_id_uri: ::String?,
timed_metadata_value: ::String?
}?,
- container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "WEBM" | "RAW" | "Y4M")?,
+ container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "OGG" | "WEBM" | "RAW" | "Y4M")?,
f4v_settings: {
moov_placement: ("PROGRESSIVE_DOWNLOAD" | "NORMAL")?
}?,
@@ -5022,6 +5152,7 @@ module Aws
}?,
rate_control_mode: ("VBR" | "CBR" | "QVBR")?,
repeat_pps: ("DISABLED" | "ENABLED")?,
+ saliency_aware_encoding: ("DISABLED" | "PREFERRED")?,
scan_type_conversion_mode: ("INTERLACED" | "INTERLACED_OPTIMIZE")?,
scene_change_detect: ("DISABLED" | "ENABLED" | "TRANSITION_DETECTION")?,
slices: ::Integer?,
@@ -5642,7 +5773,7 @@ module Aws
timed_metadata_scheme_id_uri: ::String?,
timed_metadata_value: ::String?
}?,
- container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "WEBM" | "RAW" | "Y4M")?,
+ container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "OGG" | "WEBM" | "RAW" | "Y4M")?,
f4v_settings: {
moov_placement: ("PROGRESSIVE_DOWNLOAD" | "NORMAL")?
}?,
@@ -5848,6 +5979,7 @@ module Aws
}?,
rate_control_mode: ("VBR" | "CBR" | "QVBR")?,
repeat_pps: ("DISABLED" | "ENABLED")?,
+ saliency_aware_encoding: ("DISABLED" | "PREFERRED")?,
scan_type_conversion_mode: ("INTERLACED" | "INTERLACED_OPTIMIZE")?,
scene_change_detect: ("DISABLED" | "ENABLED" | "TRANSITION_DETECTION")?,
slices: ::Integer?,
diff --git a/gems/aws-sdk-mediaconvert/sig/types.rbs b/gems/aws-sdk-mediaconvert/sig/types.rbs
index 46ce4e8b322..99745e18ebe 100644
--- a/gems/aws-sdk-mediaconvert/sig/types.rbs
+++ b/gems/aws-sdk-mediaconvert/sig/types.rbs
@@ -124,7 +124,7 @@ module Aws::MediaConvert
end
class AudioSelector
- attr_accessor audio_duration_correction: ("DISABLED" | "AUTO" | "TRACK" | "FRAME")
+ attr_accessor audio_duration_correction: ("DISABLED" | "AUTO" | "TRACK" | "FRAME" | "FORCE")
attr_accessor custom_language_code: ::String
attr_accessor default_selection: ("DEFAULT" | "NOT_DEFAULT")
attr_accessor external_audio_file_input: ::String
@@ -438,7 +438,7 @@ module Aws::MediaConvert
class ContainerSettings
attr_accessor cmfc_settings: Types::CmfcSettings
- attr_accessor container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "WEBM" | "RAW" | "Y4M")
+ attr_accessor container: ("F4V" | "ISMV" | "M2TS" | "M3U8" | "CMFC" | "MOV" | "MP4" | "MPD" | "MXF" | "OGG" | "WEBM" | "RAW" | "Y4M")
attr_accessor f4v_settings: Types::F4vSettings
attr_accessor m2ts_settings: Types::M2tsSettings
attr_accessor m3u_8_settings: Types::M3u8Settings
@@ -454,6 +454,7 @@ module Aws::MediaConvert
attr_accessor billing_tags_source: ("QUEUE" | "PRESET" | "JOB_TEMPLATE" | "JOB")
attr_accessor client_request_token: ::String
attr_accessor hop_destinations: ::Array[Types::HopDestination]
+ attr_accessor job_engine_version: ::String
attr_accessor job_template: ::String
attr_accessor priority: ::Integer
attr_accessor queue: ::String
@@ -764,6 +765,12 @@ module Aws::MediaConvert
SENSITIVE: []
end
+ class EncryptionContractConfiguration
+ attr_accessor speke_audio_preset: ("PRESET_AUDIO_1" | "PRESET_AUDIO_2" | "PRESET_AUDIO_3" | "SHARED" | "UNENCRYPTED")
+ attr_accessor speke_video_preset: ("PRESET_VIDEO_1" | "PRESET_VIDEO_2" | "PRESET_VIDEO_3" | "PRESET_VIDEO_4" | "PRESET_VIDEO_5" | "PRESET_VIDEO_6" | "PRESET_VIDEO_7" | "PRESET_VIDEO_8" | "SHARED" | "UNENCRYPTED")
+ SENSITIVE: []
+ end
+
class Endpoint
attr_accessor url: ::String
SENSITIVE: []
@@ -809,6 +816,7 @@ module Aws::MediaConvert
end
class FileSourceSettings
+ attr_accessor byte_rate_limit: ("ENABLED" | "DISABLED")
attr_accessor convert_608_to_708: ("UPCONVERT" | "DISABLED")
attr_accessor convert_paint_to_pop: ("ENABLED" | "DISABLED")
attr_accessor framerate: Types::CaptionSourceFramerate
@@ -933,6 +941,7 @@ module Aws::MediaConvert
attr_accessor qvbr_settings: Types::H264QvbrSettings
attr_accessor rate_control_mode: ("VBR" | "CBR" | "QVBR")
attr_accessor repeat_pps: ("DISABLED" | "ENABLED")
+ attr_accessor saliency_aware_encoding: ("DISABLED" | "PREFERRED")
attr_accessor scan_type_conversion_mode: ("INTERLACED" | "INTERLACED_OPTIMIZE")
attr_accessor scene_change_detect: ("DISABLED" | "ENABLED" | "TRANSITION_DETECTION")
attr_accessor slices: ::Integer
@@ -1245,6 +1254,8 @@ module Aws::MediaConvert
attr_accessor error_message: ::String
attr_accessor hop_destinations: ::Array[Types::HopDestination]
attr_accessor id: ::String
+ attr_accessor job_engine_version_requested: ::String
+ attr_accessor job_engine_version_used: ::String
attr_accessor job_percent_complete: ::Integer
attr_accessor job_template: ::String
attr_accessor messages: Types::JobMessages
@@ -1264,6 +1275,12 @@ module Aws::MediaConvert
SENSITIVE: []
end
+ class JobEngineVersion
+ attr_accessor expiration_date: ::Time
+ attr_accessor version: ::String
+ SENSITIVE: []
+ end
+
class JobMessages
attr_accessor info: ::Array[::String]
attr_accessor warning: ::Array[::String]
@@ -1409,6 +1426,18 @@ module Aws::MediaConvert
SENSITIVE: []
end
+ class ListVersionsRequest
+ attr_accessor max_results: ::Integer
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListVersionsResponse
+ attr_accessor next_token: ::String
+ attr_accessor versions: ::Array[Types::JobEngineVersion]
+ SENSITIVE: []
+ end
+
class M2tsScte35Esam
attr_accessor scte_35_esam_pid: ::Integer
SENSITIVE: []
@@ -1928,6 +1957,7 @@ module Aws::MediaConvert
class SpekeKeyProvider
attr_accessor certificate_arn: ::String
+ attr_accessor encryption_contract_configuration: Types::EncryptionContractConfiguration
attr_accessor resource_id: ::String
attr_accessor system_ids: ::Array[::String]
attr_accessor url: ::String
@@ -1937,6 +1967,7 @@ module Aws::MediaConvert
class SpekeKeyProviderCmaf
attr_accessor certificate_arn: ::String
attr_accessor dash_signaled_system_ids: ::Array[::String]
+ attr_accessor encryption_contract_configuration: Types::EncryptionContractConfiguration
attr_accessor hls_signaled_system_ids: ::Array[::String]
attr_accessor resource_id: ::String
attr_accessor url: ::String
@@ -2141,8 +2172,11 @@ module Aws::MediaConvert
class VideoOverlay
attr_accessor end_timecode: ::String
+ attr_accessor initial_position: Types::VideoOverlayPosition
attr_accessor input: Types::VideoOverlayInput
+ attr_accessor playback: ("ONCE" | "REPEAT")
attr_accessor start_timecode: ::String
+ attr_accessor transitions: ::Array[Types::VideoOverlayTransition]
SENSITIVE: []
end
@@ -2160,6 +2194,22 @@ module Aws::MediaConvert
SENSITIVE: []
end
+ class VideoOverlayPosition
+ attr_accessor height: ::Integer
+ attr_accessor unit: ("PIXELS" | "PERCENTAGE")
+ attr_accessor width: ::Integer
+ attr_accessor x_position: ::Integer
+ attr_accessor y_position: ::Integer
+ SENSITIVE: []
+ end
+
+ class VideoOverlayTransition
+ attr_accessor end_position: Types::VideoOverlayPosition
+ attr_accessor end_timecode: ::String
+ attr_accessor start_timecode: ::String
+ SENSITIVE: []
+ end
+
class VideoPreprocessor
attr_accessor color_corrector: Types::ColorCorrector
attr_accessor deinterlacer: Types::Deinterlacer
diff --git a/gems/aws-sdk-mediaconvert/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mediaconvert/spec/endpoint_provider_spec.rb
index 0a5d7b88108..e2e90602679 100644
--- a/gems/aws-sdk-mediaconvert/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mediaconvert/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MediaConvert
describe EndpointProvider do
subject { Aws::MediaConvert::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MediaConvert
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MediaConvert
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MediaConvert
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MediaConvert
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MediaConvert
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MediaConvert
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert-fips.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MediaConvert
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::MediaConvert
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MediaConvert
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MediaConvert
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MediaConvert
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MediaConvert
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert-fips.us-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-east-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert-fips.us-east-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert-fips.us-west-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-west-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert-fips.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::MediaConvert
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://subscribe.mediaconvert.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::MediaConvert
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::MediaConvert
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::MediaConvert
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::MediaConvert
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-gov-west-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-gov-west-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert-fips.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -503,7 +503,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -517,7 +517,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -530,7 +530,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-iso-east-1.c2s.ic.gov"}}
end
@@ -544,7 +544,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -557,7 +557,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -571,7 +571,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -584,7 +584,7 @@ module Aws::MediaConvert
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediaconvert.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -598,7 +598,7 @@ module Aws::MediaConvert
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::MediaConvert
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::MediaConvert
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -639,7 +639,7 @@ module Aws::MediaConvert
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -652,7 +652,7 @@ module Aws::MediaConvert
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-medialive/CHANGELOG.md b/gems/aws-sdk-medialive/CHANGELOG.md
index 4dfe9ae41d6..5a9e90f2551 100644
--- a/gems/aws-sdk-medialive/CHANGELOG.md
+++ b/gems/aws-sdk-medialive/CHANGELOG.md
@@ -1,6 +1,21 @@
Unreleased Changes
------------------
+1.133.0 (2024-09-19)
+------------------
+
+* Feature - Adds Bandwidth Reduction Filtering for HD AVC and HEVC encodes, multiplex container settings.
+
+1.132.0 (2024-09-16)
+------------------
+
+* Feature - Removing the ON_PREMISE enum from the input settings field.
+
+1.131.0 (2024-09-11)
+------------------
+
+* Feature - Adds AV1 Codec support, SRT ouputs, and MediaLive Anywhere support.
+
1.130.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-medialive/VERSION b/gems/aws-sdk-medialive/VERSION
index e4861cbfb71..445cade7793 100644
--- a/gems/aws-sdk-medialive/VERSION
+++ b/gems/aws-sdk-medialive/VERSION
@@ -1 +1 @@
-1.130.0
+1.133.0
diff --git a/gems/aws-sdk-medialive/aws-sdk-medialive.gemspec b/gems/aws-sdk-medialive/aws-sdk-medialive.gemspec
index 25329e81a0e..c3c68385897 100644
--- a/gems/aws-sdk-medialive/aws-sdk-medialive.gemspec
+++ b/gems/aws-sdk-medialive/aws-sdk-medialive.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-medialive/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-medialive/lib/aws-sdk-medialive.rb b/gems/aws-sdk-medialive/lib/aws-sdk-medialive.rb
index 43bbaad207b..af759c73309 100644
--- a/gems/aws-sdk-medialive/lib/aws-sdk-medialive.rb
+++ b/gems/aws-sdk-medialive/lib/aws-sdk-medialive.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::MediaLive
- GEM_VERSION = '1.130.0'
+ GEM_VERSION = '1.133.0'
end
diff --git a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/client.rb b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/client.rb
index 597771dc25b..e14bc4ba2fb 100644
--- a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/client.rb
+++ b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/client.rb
@@ -1017,6 +1017,9 @@ def claim_device(params = {}, options = {})
# specified, the output egress addresses will be created in a user
# specified VPC
#
+ # @option params [Types::AnywhereSettings] :anywhere_settings
+ # Elemental anywhere settings
+ #
# @return [Types::CreateChannelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateChannelResponse#channel #channel} => Types::Channel
@@ -1037,6 +1040,10 @@ def claim_device(params = {}, options = {})
# resp.channel.destinations[0].settings[0].stream_name #=> String
# resp.channel.destinations[0].settings[0].url #=> String
# resp.channel.destinations[0].settings[0].username #=> String
+ # resp.channel.destinations[0].srt_settings #=> Array
+ # resp.channel.destinations[0].srt_settings[0].encryption_passphrase_secret_arn #=> String
+ # resp.channel.destinations[0].srt_settings[0].stream_id #=> String
+ # resp.channel.destinations[0].srt_settings[0].url #=> String
# resp.channel.egress_endpoints #=> Array
# resp.channel.egress_endpoints[0].source_ip #=> String
# resp.channel.encoder_settings.audio_descriptions #=> Array
@@ -1331,6 +1338,7 @@ def claim_device(params = {}, options = {})
# resp.channel.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length #=> Integer
# resp.channel.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length_units #=> String, one of "MILLISECONDS", "SECONDS"
# resp.channel.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.send_delay_ms #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].output_group_settings.srt_group_settings.input_loss_action #=> String, one of "DROP_PROGRAM", "DROP_TS", "EMIT_PROGRAM"
# resp.channel.encoder_settings.output_groups[0].outputs #=> Array
# resp.channel.encoder_settings.output_groups[0].outputs[0].audio_description_names #=> Array
# resp.channel.encoder_settings.output_groups[0].outputs[0].audio_description_names[0] #=> String
@@ -1428,6 +1436,20 @@ def claim_device(params = {}, options = {})
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.h265_packaging_type #=> String, one of "HEV1", "HVC1"
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.name_modifier #=> String
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.destination.destination_ref_id #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_period #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.certificate_mode #=> String, one of "SELF_SIGNED", "VERIFY_AUTHENTICITY"
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.connection_retry_interval #=> Integer
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.destination.destination_ref_id #=> String
@@ -1491,6 +1513,63 @@ def claim_device(params = {}, options = {})
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.include_fec #=> String, one of "COLUMN", "COLUMN_AND_ROW"
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.row_length #=> Integer
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.cmaf_ingest_output_settings.name_modifier #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.buffer_msec #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid_control #=> String, one of "AUTO", "USE_CONFIGURED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.bitrate #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.buffer_model #=> String, one of "MULTIPLEX", "NONE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_id #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_name #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.rep_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.output_sdt #=> String, one of "SDT_FOLLOW", "SDT_FOLLOW_IF_PRESENT", "SDT_MANUAL", "SDT_NONE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.rep_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_name #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_provider_name #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sub_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_tdt_settings.rep_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_teletext_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_audio_interval #=> String, one of "VIDEO_AND_FIXED_INTERVALS", "VIDEO_INTERVAL"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_lookahead_ms #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_placement #=> String, one of "VIDEO_AND_AUDIO_PIDS", "VIDEO_PID"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ecm_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_platform_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_signal_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.fragment_time #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv_data_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.null_packet_bitrate #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pat_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_period #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.program_num #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.rate_mode #=> String, one of "CBR", "VBR"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_27_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_markers #=> String, one of "EBP", "EBP_LEGACY", "NONE", "PSI_SEGSTART", "RAI_ADAPT", "RAI_SEGSTART"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_style #=> String, one of "MAINTAIN_CADENCE", "RESET_CADENCE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_time #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.transport_stream_id #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.video_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.destination.destination_ref_id #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.encryption_type #=> String, one of "AES128", "AES192", "AES256"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.latency #=> Integer
# resp.channel.encoder_settings.output_groups[0].outputs[0].video_description_name #=> String
# resp.channel.encoder_settings.timecode_config.source #=> String, one of "EMBEDDED", "SYSTEMCLOCK", "ZEROBASED"
# resp.channel.encoder_settings.timecode_config.sync_threshold #=> Integer
@@ -1509,6 +1588,8 @@ def claim_device(params = {}, options = {})
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
@@ -1555,6 +1636,8 @@ def claim_device(params = {}, options = {})
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.framerate_denominator #=> Integer
@@ -1606,6 +1689,26 @@ def claim_device(params = {}, options = {})
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.prefix #=> String
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.afd_signaling #=> String, one of "AUTO", "FIXED", "NONE"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.buf_size #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_cll #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_denominator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_numerator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size #=> Float
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size_units #=> String, one of "FRAMES", "SECONDS"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.level #=> String, one of "AV1_LEVEL_2", "AV1_LEVEL_2_1", "AV1_LEVEL_3", "AV1_LEVEL_3_1", "AV1_LEVEL_4", "AV1_LEVEL_4_1", "AV1_LEVEL_5", "AV1_LEVEL_5_1", "AV1_LEVEL_5_2", "AV1_LEVEL_5_3", "AV1_LEVEL_6", "AV1_LEVEL_6_1", "AV1_LEVEL_6_2", "AV1_LEVEL_6_3", "AV1_LEVEL_AUTO"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.look_ahead_rate_control #=> String, one of "HIGH", "LOW", "MEDIUM"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.max_bitrate #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.min_i_interval #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_denominator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_numerator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.qvbr_quality_level #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.prefix #=> String
# resp.channel.encoder_settings.video_descriptions[0].height #=> Integer
# resp.channel.encoder_settings.video_descriptions[0].name #=> String
# resp.channel.encoder_settings.video_descriptions[0].respond_to_afd #=> String, one of "NONE", "PASSTHROUGH", "RESPOND"
@@ -1669,6 +1772,7 @@ def claim_device(params = {}, options = {})
# resp.channel.input_attachments[0].input_settings.network_input_settings.hls_input_settings.retry_interval #=> Integer
# resp.channel.input_attachments[0].input_settings.network_input_settings.hls_input_settings.scte_35_source #=> String, one of "MANIFEST", "SEGMENTS"
# resp.channel.input_attachments[0].input_settings.network_input_settings.server_validation #=> String, one of "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", "CHECK_CRYPTOGRAPHY_ONLY"
+ # resp.channel.input_attachments[0].input_settings.network_input_settings.multicast_input_settings.source_ip_address #=> String
# resp.channel.input_attachments[0].input_settings.scte_35_pid #=> Integer
# resp.channel.input_attachments[0].input_settings.smpte_2038_data_preference #=> String, one of "IGNORE", "PREFER"
# resp.channel.input_attachments[0].input_settings.source_end_behavior #=> String, one of "CONTINUE", "LOOP"
@@ -1678,6 +1782,8 @@ def claim_device(params = {}, options = {})
# resp.channel.input_attachments[0].input_settings.video_selector.color_space_usage #=> String, one of "FALLBACK", "FORCE"
# resp.channel.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_pid.pid #=> Integer
# resp.channel.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_program_id.program_id #=> Integer
+ # resp.channel.input_attachments[0].logical_interface_names #=> Array
+ # resp.channel.input_attachments[0].logical_interface_names[0] #=> String
# resp.channel.input_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC"
# resp.channel.input_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.channel.input_specification.resolution #=> String, one of "SD", "HD", "UHD"
@@ -1706,6 +1812,8 @@ def claim_device(params = {}, options = {})
# resp.channel.vpc.security_group_ids[0] #=> String
# resp.channel.vpc.subnet_ids #=> Array
# resp.channel.vpc.subnet_ids[0] #=> String
+ # resp.channel.anywhere_settings.channel_placement_group_id #=> String
+ # resp.channel.anywhere_settings.cluster_id #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannel AWS API Documentation
#
@@ -1753,6 +1861,15 @@ def create_channel(params = {}, options = {})
# input, include one srtCallerSource in the array. For a
# standard-pipeline input, include two srtCallerSource.
#
+ # @option params [String] :input_network_location
+ # With the introduction of MediaLive Anywhere, a MediaLive input can now
+ # exist in two different places: AWS or inside an on-premises
+ # datacenter. By default all inputs will continue to be AWS inputs.
+ #
+ # @option params [Types::MulticastSettingsCreateRequest] :multicast_settings
+ # Settings for a Multicast input. Contains a list of multicast Urls and
+ # optional source ip addresses.
+ #
# @return [Types::CreateInputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateInputResponse#input #input} => Types::Input
@@ -1763,6 +1880,14 @@ def create_channel(params = {}, options = {})
# destinations: [
# {
# stream_name: "__string",
+ # network: "__string",
+ # network_routes: [
+ # {
+ # cidr: "__string",
+ # gateway: "__string",
+ # },
+ # ],
+ # static_ip_address: "__string",
# },
# ],
# input_devices: [
@@ -1789,7 +1914,7 @@ def create_channel(params = {}, options = {})
# tags: {
# "__string" => "__string",
# },
- # type: "UDP_PUSH", # accepts UDP_PUSH, RTP_PUSH, RTMP_PUSH, RTMP_PULL, URL_PULL, MP4_FILE, MEDIACONNECT, INPUT_DEVICE, AWS_CDI, TS_FILE, SRT_CALLER
+ # type: "UDP_PUSH", # accepts UDP_PUSH, RTP_PUSH, RTMP_PUSH, RTMP_PULL, URL_PULL, MP4_FILE, MEDIACONNECT, INPUT_DEVICE, AWS_CDI, TS_FILE, SRT_CALLER, MULTICAST
# vpc: {
# security_group_ids: ["__string"],
# subnet_ids: ["__string"], # required
@@ -1808,6 +1933,15 @@ def create_channel(params = {}, options = {})
# },
# ],
# },
+ # input_network_location: "AWS", # accepts AWS, ON_PREMISES
+ # multicast_settings: {
+ # sources: [
+ # {
+ # source_ip: "__string",
+ # url: "__string", # required
+ # },
+ # ],
+ # },
# })
#
# @example Response structure
@@ -1821,6 +1955,10 @@ def create_channel(params = {}, options = {})
# resp.input.destinations[0].url #=> String
# resp.input.destinations[0].vpc.availability_zone #=> String
# resp.input.destinations[0].vpc.network_interface_id #=> String
+ # resp.input.destinations[0].network #=> String
+ # resp.input.destinations[0].network_routes #=> Array
+ # resp.input.destinations[0].network_routes[0].cidr #=> String
+ # resp.input.destinations[0].network_routes[0].gateway #=> String
# resp.input.id #=> String
# resp.input.input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
# resp.input.input_devices #=> Array
@@ -1841,7 +1979,7 @@ def create_channel(params = {}, options = {})
# resp.input.state #=> String, one of "CREATING", "DETACHED", "ATTACHED", "DELETING", "DELETED"
# resp.input.tags #=> Hash
# resp.input.tags["__string"] #=> String
- # resp.input.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI", "TS_FILE", "SRT_CALLER"
+ # resp.input.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI", "TS_FILE", "SRT_CALLER", "MULTICAST"
# resp.input.srt_settings.srt_caller_sources #=> Array
# resp.input.srt_settings.srt_caller_sources[0].decryption.algorithm #=> String, one of "AES128", "AES192", "AES256"
# resp.input.srt_settings.srt_caller_sources[0].decryption.passphrase_secret_arn #=> String
@@ -1849,6 +1987,10 @@ def create_channel(params = {}, options = {})
# resp.input.srt_settings.srt_caller_sources[0].srt_listener_address #=> String
# resp.input.srt_settings.srt_caller_sources[0].srt_listener_port #=> String
# resp.input.srt_settings.srt_caller_sources[0].stream_id #=> String
+ # resp.input.input_network_location #=> String, one of "AWS", "ON_PREMISES"
+ # resp.input.multicast_settings.sources #=> Array
+ # resp.input.multicast_settings.sources[0].source_ip #=> String
+ # resp.input.multicast_settings.sources[0].url #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInput AWS API Documentation
#
@@ -2090,6 +2232,10 @@ def create_multiplex_program(params = {}, options = {})
# resp.input.destinations[0].url #=> String
# resp.input.destinations[0].vpc.availability_zone #=> String
# resp.input.destinations[0].vpc.network_interface_id #=> String
+ # resp.input.destinations[0].network #=> String
+ # resp.input.destinations[0].network_routes #=> Array
+ # resp.input.destinations[0].network_routes[0].cidr #=> String
+ # resp.input.destinations[0].network_routes[0].gateway #=> String
# resp.input.id #=> String
# resp.input.input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
# resp.input.input_devices #=> Array
@@ -2110,7 +2256,7 @@ def create_multiplex_program(params = {}, options = {})
# resp.input.state #=> String, one of "CREATING", "DETACHED", "ATTACHED", "DELETING", "DELETED"
# resp.input.tags #=> Hash
# resp.input.tags["__string"] #=> String
- # resp.input.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI", "TS_FILE", "SRT_CALLER"
+ # resp.input.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI", "TS_FILE", "SRT_CALLER", "MULTICAST"
# resp.input.srt_settings.srt_caller_sources #=> Array
# resp.input.srt_settings.srt_caller_sources[0].decryption.algorithm #=> String, one of "AES128", "AES192", "AES256"
# resp.input.srt_settings.srt_caller_sources[0].decryption.passphrase_secret_arn #=> String
@@ -2118,6 +2264,10 @@ def create_multiplex_program(params = {}, options = {})
# resp.input.srt_settings.srt_caller_sources[0].srt_listener_address #=> String
# resp.input.srt_settings.srt_caller_sources[0].srt_listener_port #=> String
# resp.input.srt_settings.srt_caller_sources[0].stream_id #=> String
+ # resp.input.input_network_location #=> String, one of "AWS", "ON_PREMISES"
+ # resp.input.multicast_settings.sources #=> Array
+ # resp.input.multicast_settings.sources[0].source_ip #=> String
+ # resp.input.multicast_settings.sources[0].url #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreatePartnerInput AWS API Documentation
#
@@ -2178,6 +2328,7 @@ def create_tags(params = {}, options = {})
# * {Types::DeleteChannelResponse#state #state} => String
# * {Types::DeleteChannelResponse#tags #tags} => Hash<String,String>
# * {Types::DeleteChannelResponse#vpc #vpc} => Types::VpcOutputSettingsDescription
+ # * {Types::DeleteChannelResponse#anywhere_settings #anywhere_settings} => Types::DescribeAnywhereSettings
#
# @example Request syntax with placeholder values
#
@@ -2201,6 +2352,10 @@ def create_tags(params = {}, options = {})
# resp.destinations[0].settings[0].stream_name #=> String
# resp.destinations[0].settings[0].url #=> String
# resp.destinations[0].settings[0].username #=> String
+ # resp.destinations[0].srt_settings #=> Array
+ # resp.destinations[0].srt_settings[0].encryption_passphrase_secret_arn #=> String
+ # resp.destinations[0].srt_settings[0].stream_id #=> String
+ # resp.destinations[0].srt_settings[0].url #=> String
# resp.egress_endpoints #=> Array
# resp.egress_endpoints[0].source_ip #=> String
# resp.encoder_settings.audio_descriptions #=> Array
@@ -2495,6 +2650,7 @@ def create_tags(params = {}, options = {})
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length #=> Integer
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length_units #=> String, one of "MILLISECONDS", "SECONDS"
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.send_delay_ms #=> Integer
+ # resp.encoder_settings.output_groups[0].output_group_settings.srt_group_settings.input_loss_action #=> String, one of "DROP_PROGRAM", "DROP_TS", "EMIT_PROGRAM"
# resp.encoder_settings.output_groups[0].outputs #=> Array
# resp.encoder_settings.output_groups[0].outputs[0].audio_description_names #=> Array
# resp.encoder_settings.output_groups[0].outputs[0].audio_description_names[0] #=> String
@@ -2592,6 +2748,20 @@ def create_tags(params = {}, options = {})
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.h265_packaging_type #=> String, one of "HEV1", "HVC1"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.name_modifier #=> String
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.destination.destination_ref_id #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_period #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.certificate_mode #=> String, one of "SELF_SIGNED", "VERIFY_AUTHENTICITY"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.connection_retry_interval #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.destination.destination_ref_id #=> String
@@ -2655,6 +2825,63 @@ def create_tags(params = {}, options = {})
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.include_fec #=> String, one of "COLUMN", "COLUMN_AND_ROW"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.row_length #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.cmaf_ingest_output_settings.name_modifier #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.buffer_msec #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid_control #=> String, one of "AUTO", "USE_CONFIGURED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.bitrate #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.buffer_model #=> String, one of "MULTIPLEX", "NONE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_id #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.output_sdt #=> String, one of "SDT_FOLLOW", "SDT_FOLLOW_IF_PRESENT", "SDT_MANUAL", "SDT_NONE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_provider_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sub_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_tdt_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_teletext_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_audio_interval #=> String, one of "VIDEO_AND_FIXED_INTERVALS", "VIDEO_INTERVAL"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_lookahead_ms #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_placement #=> String, one of "VIDEO_AND_AUDIO_PIDS", "VIDEO_PID"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ecm_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_platform_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_signal_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.fragment_time #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv_data_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.null_packet_bitrate #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pat_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_period #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.program_num #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.rate_mode #=> String, one of "CBR", "VBR"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_27_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_markers #=> String, one of "EBP", "EBP_LEGACY", "NONE", "PSI_SEGSTART", "RAI_ADAPT", "RAI_SEGSTART"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_style #=> String, one of "MAINTAIN_CADENCE", "RESET_CADENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_time #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.transport_stream_id #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.video_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.destination.destination_ref_id #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.encryption_type #=> String, one of "AES128", "AES192", "AES256"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.latency #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].video_description_name #=> String
# resp.encoder_settings.timecode_config.source #=> String, one of "EMBEDDED", "SYSTEMCLOCK", "ZEROBASED"
# resp.encoder_settings.timecode_config.sync_threshold #=> Integer
@@ -2673,6 +2900,8 @@ def create_tags(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
@@ -2719,6 +2948,8 @@ def create_tags(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.framerate_denominator #=> Integer
@@ -2770,6 +3001,26 @@ def create_tags(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.prefix #=> String
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.afd_signaling #=> String, one of "AUTO", "FIXED", "NONE"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.buf_size #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_cll #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_denominator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_numerator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size #=> Float
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size_units #=> String, one of "FRAMES", "SECONDS"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.level #=> String, one of "AV1_LEVEL_2", "AV1_LEVEL_2_1", "AV1_LEVEL_3", "AV1_LEVEL_3_1", "AV1_LEVEL_4", "AV1_LEVEL_4_1", "AV1_LEVEL_5", "AV1_LEVEL_5_1", "AV1_LEVEL_5_2", "AV1_LEVEL_5_3", "AV1_LEVEL_6", "AV1_LEVEL_6_1", "AV1_LEVEL_6_2", "AV1_LEVEL_6_3", "AV1_LEVEL_AUTO"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.look_ahead_rate_control #=> String, one of "HIGH", "LOW", "MEDIUM"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.max_bitrate #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.min_i_interval #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_denominator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_numerator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.qvbr_quality_level #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.prefix #=> String
# resp.encoder_settings.video_descriptions[0].height #=> Integer
# resp.encoder_settings.video_descriptions[0].name #=> String
# resp.encoder_settings.video_descriptions[0].respond_to_afd #=> String, one of "NONE", "PASSTHROUGH", "RESPOND"
@@ -2833,6 +3084,7 @@ def create_tags(params = {}, options = {})
# resp.input_attachments[0].input_settings.network_input_settings.hls_input_settings.retry_interval #=> Integer
# resp.input_attachments[0].input_settings.network_input_settings.hls_input_settings.scte_35_source #=> String, one of "MANIFEST", "SEGMENTS"
# resp.input_attachments[0].input_settings.network_input_settings.server_validation #=> String, one of "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", "CHECK_CRYPTOGRAPHY_ONLY"
+ # resp.input_attachments[0].input_settings.network_input_settings.multicast_input_settings.source_ip_address #=> String
# resp.input_attachments[0].input_settings.scte_35_pid #=> Integer
# resp.input_attachments[0].input_settings.smpte_2038_data_preference #=> String, one of "IGNORE", "PREFER"
# resp.input_attachments[0].input_settings.source_end_behavior #=> String, one of "CONTINUE", "LOOP"
@@ -2842,6 +3094,8 @@ def create_tags(params = {}, options = {})
# resp.input_attachments[0].input_settings.video_selector.color_space_usage #=> String, one of "FALLBACK", "FORCE"
# resp.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_pid.pid #=> Integer
# resp.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_program_id.program_id #=> Integer
+ # resp.input_attachments[0].logical_interface_names #=> Array
+ # resp.input_attachments[0].logical_interface_names[0] #=> String
# resp.input_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC"
# resp.input_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.input_specification.resolution #=> String, one of "SD", "HD", "UHD"
@@ -2870,6 +3124,8 @@ def create_tags(params = {}, options = {})
# resp.vpc.security_group_ids[0] #=> String
# resp.vpc.subnet_ids #=> Array
# resp.vpc.subnet_ids[0] #=> String
+ # resp.anywhere_settings.channel_placement_group_id #=> String
+ # resp.anywhere_settings.cluster_id #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannel AWS API Documentation
#
@@ -3091,7 +3347,7 @@ def delete_multiplex_program(params = {}, options = {})
# resp.renewal_settings.renewal_count #=> Integer
# resp.reservation_id #=> String
# resp.resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
- # resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK"
+ # resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK", "AV1"
# resp.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
# resp.resource_specification.resolution #=> String, one of "SD", "HD", "FHD", "UHD"
@@ -3201,6 +3457,7 @@ def describe_account_configuration(params = {}, options = {})
# * {Types::DescribeChannelResponse#state #state} => String
# * {Types::DescribeChannelResponse#tags #tags} => Hash<String,String>
# * {Types::DescribeChannelResponse#vpc #vpc} => Types::VpcOutputSettingsDescription
+ # * {Types::DescribeChannelResponse#anywhere_settings #anywhere_settings} => Types::DescribeAnywhereSettings
#
# @example Request syntax with placeholder values
#
@@ -3224,6 +3481,10 @@ def describe_account_configuration(params = {}, options = {})
# resp.destinations[0].settings[0].stream_name #=> String
# resp.destinations[0].settings[0].url #=> String
# resp.destinations[0].settings[0].username #=> String
+ # resp.destinations[0].srt_settings #=> Array
+ # resp.destinations[0].srt_settings[0].encryption_passphrase_secret_arn #=> String
+ # resp.destinations[0].srt_settings[0].stream_id #=> String
+ # resp.destinations[0].srt_settings[0].url #=> String
# resp.egress_endpoints #=> Array
# resp.egress_endpoints[0].source_ip #=> String
# resp.encoder_settings.audio_descriptions #=> Array
@@ -3518,6 +3779,7 @@ def describe_account_configuration(params = {}, options = {})
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length #=> Integer
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length_units #=> String, one of "MILLISECONDS", "SECONDS"
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.send_delay_ms #=> Integer
+ # resp.encoder_settings.output_groups[0].output_group_settings.srt_group_settings.input_loss_action #=> String, one of "DROP_PROGRAM", "DROP_TS", "EMIT_PROGRAM"
# resp.encoder_settings.output_groups[0].outputs #=> Array
# resp.encoder_settings.output_groups[0].outputs[0].audio_description_names #=> Array
# resp.encoder_settings.output_groups[0].outputs[0].audio_description_names[0] #=> String
@@ -3615,6 +3877,20 @@ def describe_account_configuration(params = {}, options = {})
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.h265_packaging_type #=> String, one of "HEV1", "HVC1"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.name_modifier #=> String
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.destination.destination_ref_id #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_period #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.certificate_mode #=> String, one of "SELF_SIGNED", "VERIFY_AUTHENTICITY"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.connection_retry_interval #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.destination.destination_ref_id #=> String
@@ -3678,6 +3954,63 @@ def describe_account_configuration(params = {}, options = {})
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.include_fec #=> String, one of "COLUMN", "COLUMN_AND_ROW"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.row_length #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.cmaf_ingest_output_settings.name_modifier #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.buffer_msec #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid_control #=> String, one of "AUTO", "USE_CONFIGURED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.bitrate #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.buffer_model #=> String, one of "MULTIPLEX", "NONE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_id #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.output_sdt #=> String, one of "SDT_FOLLOW", "SDT_FOLLOW_IF_PRESENT", "SDT_MANUAL", "SDT_NONE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_provider_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sub_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_tdt_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_teletext_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_audio_interval #=> String, one of "VIDEO_AND_FIXED_INTERVALS", "VIDEO_INTERVAL"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_lookahead_ms #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_placement #=> String, one of "VIDEO_AND_AUDIO_PIDS", "VIDEO_PID"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ecm_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_platform_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_signal_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.fragment_time #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv_data_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.null_packet_bitrate #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pat_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_period #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.program_num #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.rate_mode #=> String, one of "CBR", "VBR"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_27_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_markers #=> String, one of "EBP", "EBP_LEGACY", "NONE", "PSI_SEGSTART", "RAI_ADAPT", "RAI_SEGSTART"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_style #=> String, one of "MAINTAIN_CADENCE", "RESET_CADENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_time #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.transport_stream_id #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.video_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.destination.destination_ref_id #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.encryption_type #=> String, one of "AES128", "AES192", "AES256"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.latency #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].video_description_name #=> String
# resp.encoder_settings.timecode_config.source #=> String, one of "EMBEDDED", "SYSTEMCLOCK", "ZEROBASED"
# resp.encoder_settings.timecode_config.sync_threshold #=> Integer
@@ -3696,6 +4029,8 @@ def describe_account_configuration(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
@@ -3742,6 +4077,8 @@ def describe_account_configuration(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.framerate_denominator #=> Integer
@@ -3793,6 +4130,26 @@ def describe_account_configuration(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.prefix #=> String
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.afd_signaling #=> String, one of "AUTO", "FIXED", "NONE"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.buf_size #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_cll #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_denominator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_numerator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size #=> Float
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size_units #=> String, one of "FRAMES", "SECONDS"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.level #=> String, one of "AV1_LEVEL_2", "AV1_LEVEL_2_1", "AV1_LEVEL_3", "AV1_LEVEL_3_1", "AV1_LEVEL_4", "AV1_LEVEL_4_1", "AV1_LEVEL_5", "AV1_LEVEL_5_1", "AV1_LEVEL_5_2", "AV1_LEVEL_5_3", "AV1_LEVEL_6", "AV1_LEVEL_6_1", "AV1_LEVEL_6_2", "AV1_LEVEL_6_3", "AV1_LEVEL_AUTO"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.look_ahead_rate_control #=> String, one of "HIGH", "LOW", "MEDIUM"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.max_bitrate #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.min_i_interval #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_denominator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_numerator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.qvbr_quality_level #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.prefix #=> String
# resp.encoder_settings.video_descriptions[0].height #=> Integer
# resp.encoder_settings.video_descriptions[0].name #=> String
# resp.encoder_settings.video_descriptions[0].respond_to_afd #=> String, one of "NONE", "PASSTHROUGH", "RESPOND"
@@ -3856,6 +4213,7 @@ def describe_account_configuration(params = {}, options = {})
# resp.input_attachments[0].input_settings.network_input_settings.hls_input_settings.retry_interval #=> Integer
# resp.input_attachments[0].input_settings.network_input_settings.hls_input_settings.scte_35_source #=> String, one of "MANIFEST", "SEGMENTS"
# resp.input_attachments[0].input_settings.network_input_settings.server_validation #=> String, one of "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", "CHECK_CRYPTOGRAPHY_ONLY"
+ # resp.input_attachments[0].input_settings.network_input_settings.multicast_input_settings.source_ip_address #=> String
# resp.input_attachments[0].input_settings.scte_35_pid #=> Integer
# resp.input_attachments[0].input_settings.smpte_2038_data_preference #=> String, one of "IGNORE", "PREFER"
# resp.input_attachments[0].input_settings.source_end_behavior #=> String, one of "CONTINUE", "LOOP"
@@ -3865,6 +4223,8 @@ def describe_account_configuration(params = {}, options = {})
# resp.input_attachments[0].input_settings.video_selector.color_space_usage #=> String, one of "FALLBACK", "FORCE"
# resp.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_pid.pid #=> Integer
# resp.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_program_id.program_id #=> Integer
+ # resp.input_attachments[0].logical_interface_names #=> Array
+ # resp.input_attachments[0].logical_interface_names[0] #=> String
# resp.input_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC"
# resp.input_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.input_specification.resolution #=> String, one of "SD", "HD", "UHD"
@@ -3893,6 +4253,8 @@ def describe_account_configuration(params = {}, options = {})
# resp.vpc.security_group_ids[0] #=> String
# resp.vpc.subnet_ids #=> Array
# resp.vpc.subnet_ids[0] #=> String
+ # resp.anywhere_settings.channel_placement_group_id #=> String
+ # resp.anywhere_settings.cluster_id #=> String
#
#
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -3934,6 +4296,8 @@ def describe_channel(params = {}, options = {})
# * {Types::DescribeInputResponse#tags #tags} => Hash<String,String>
# * {Types::DescribeInputResponse#type #type} => String
# * {Types::DescribeInputResponse#srt_settings #srt_settings} => Types::SrtSettings
+ # * {Types::DescribeInputResponse#input_network_location #input_network_location} => String
+ # * {Types::DescribeInputResponse#multicast_settings #multicast_settings} => Types::MulticastSettings
#
# @example Request syntax with placeholder values
#
@@ -3952,6 +4316,10 @@ def describe_channel(params = {}, options = {})
# resp.destinations[0].url #=> String
# resp.destinations[0].vpc.availability_zone #=> String
# resp.destinations[0].vpc.network_interface_id #=> String
+ # resp.destinations[0].network #=> String
+ # resp.destinations[0].network_routes #=> Array
+ # resp.destinations[0].network_routes[0].cidr #=> String
+ # resp.destinations[0].network_routes[0].gateway #=> String
# resp.id #=> String
# resp.input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
# resp.input_devices #=> Array
@@ -3972,7 +4340,7 @@ def describe_channel(params = {}, options = {})
# resp.state #=> String, one of "CREATING", "DETACHED", "ATTACHED", "DELETING", "DELETED"
# resp.tags #=> Hash
# resp.tags["__string"] #=> String
- # resp.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI", "TS_FILE", "SRT_CALLER"
+ # resp.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI", "TS_FILE", "SRT_CALLER", "MULTICAST"
# resp.srt_settings.srt_caller_sources #=> Array
# resp.srt_settings.srt_caller_sources[0].decryption.algorithm #=> String, one of "AES128", "AES192", "AES256"
# resp.srt_settings.srt_caller_sources[0].decryption.passphrase_secret_arn #=> String
@@ -3980,6 +4348,10 @@ def describe_channel(params = {}, options = {})
# resp.srt_settings.srt_caller_sources[0].srt_listener_address #=> String
# resp.srt_settings.srt_caller_sources[0].srt_listener_port #=> String
# resp.srt_settings.srt_caller_sources[0].stream_id #=> String
+ # resp.input_network_location #=> String, one of "AWS", "ON_PREMISES"
+ # resp.multicast_settings.sources #=> Array
+ # resp.multicast_settings.sources[0].source_ip #=> String
+ # resp.multicast_settings.sources[0].url #=> String
#
#
# The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
@@ -4327,7 +4699,7 @@ def describe_multiplex_program(params = {}, options = {})
# resp.offering_type #=> String, one of "NO_UPFRONT"
# resp.region #=> String
# resp.resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
- # resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK"
+ # resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK", "AV1"
# resp.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
# resp.resource_specification.resolution #=> String, one of "SD", "HD", "FHD", "UHD"
@@ -4395,7 +4767,7 @@ def describe_offering(params = {}, options = {})
# resp.renewal_settings.renewal_count #=> Integer
# resp.reservation_id #=> String
# resp.resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
- # resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK"
+ # resp.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK", "AV1"
# resp.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
# resp.resource_specification.resolution #=> String, one of "SD", "HD", "FHD", "UHD"
@@ -4609,6 +4981,10 @@ def describe_thumbnails(params = {}, options = {})
# resp.channels[0].destinations[0].settings[0].stream_name #=> String
# resp.channels[0].destinations[0].settings[0].url #=> String
# resp.channels[0].destinations[0].settings[0].username #=> String
+ # resp.channels[0].destinations[0].srt_settings #=> Array
+ # resp.channels[0].destinations[0].srt_settings[0].encryption_passphrase_secret_arn #=> String
+ # resp.channels[0].destinations[0].srt_settings[0].stream_id #=> String
+ # resp.channels[0].destinations[0].srt_settings[0].url #=> String
# resp.channels[0].egress_endpoints #=> Array
# resp.channels[0].egress_endpoints[0].source_ip #=> String
# resp.channels[0].id #=> String
@@ -4663,6 +5039,7 @@ def describe_thumbnails(params = {}, options = {})
# resp.channels[0].input_attachments[0].input_settings.network_input_settings.hls_input_settings.retry_interval #=> Integer
# resp.channels[0].input_attachments[0].input_settings.network_input_settings.hls_input_settings.scte_35_source #=> String, one of "MANIFEST", "SEGMENTS"
# resp.channels[0].input_attachments[0].input_settings.network_input_settings.server_validation #=> String, one of "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", "CHECK_CRYPTOGRAPHY_ONLY"
+ # resp.channels[0].input_attachments[0].input_settings.network_input_settings.multicast_input_settings.source_ip_address #=> String
# resp.channels[0].input_attachments[0].input_settings.scte_35_pid #=> Integer
# resp.channels[0].input_attachments[0].input_settings.smpte_2038_data_preference #=> String, one of "IGNORE", "PREFER"
# resp.channels[0].input_attachments[0].input_settings.source_end_behavior #=> String, one of "CONTINUE", "LOOP"
@@ -4672,6 +5049,8 @@ def describe_thumbnails(params = {}, options = {})
# resp.channels[0].input_attachments[0].input_settings.video_selector.color_space_usage #=> String, one of "FALLBACK", "FORCE"
# resp.channels[0].input_attachments[0].input_settings.video_selector.selector_settings.video_selector_pid.pid #=> Integer
# resp.channels[0].input_attachments[0].input_settings.video_selector.selector_settings.video_selector_program_id.program_id #=> Integer
+ # resp.channels[0].input_attachments[0].logical_interface_names #=> Array
+ # resp.channels[0].input_attachments[0].logical_interface_names[0] #=> String
# resp.channels[0].input_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC"
# resp.channels[0].input_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.channels[0].input_specification.resolution #=> String, one of "SD", "HD", "UHD"
@@ -4694,6 +5073,8 @@ def describe_thumbnails(params = {}, options = {})
# resp.channels[0].vpc.security_group_ids[0] #=> String
# resp.channels[0].vpc.subnet_ids #=> Array
# resp.channels[0].vpc.subnet_ids[0] #=> String
+ # resp.channels[0].anywhere_settings.channel_placement_group_id #=> String
+ # resp.channels[0].anywhere_settings.cluster_id #=> String
# resp.next_token #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannels AWS API Documentation
@@ -4904,6 +5285,10 @@ def list_input_security_groups(params = {}, options = {})
# resp.inputs[0].destinations[0].url #=> String
# resp.inputs[0].destinations[0].vpc.availability_zone #=> String
# resp.inputs[0].destinations[0].vpc.network_interface_id #=> String
+ # resp.inputs[0].destinations[0].network #=> String
+ # resp.inputs[0].destinations[0].network_routes #=> Array
+ # resp.inputs[0].destinations[0].network_routes[0].cidr #=> String
+ # resp.inputs[0].destinations[0].network_routes[0].gateway #=> String
# resp.inputs[0].id #=> String
# resp.inputs[0].input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
# resp.inputs[0].input_devices #=> Array
@@ -4924,7 +5309,7 @@ def list_input_security_groups(params = {}, options = {})
# resp.inputs[0].state #=> String, one of "CREATING", "DETACHED", "ATTACHED", "DELETING", "DELETED"
# resp.inputs[0].tags #=> Hash
# resp.inputs[0].tags["__string"] #=> String
- # resp.inputs[0].type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI", "TS_FILE", "SRT_CALLER"
+ # resp.inputs[0].type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI", "TS_FILE", "SRT_CALLER", "MULTICAST"
# resp.inputs[0].srt_settings.srt_caller_sources #=> Array
# resp.inputs[0].srt_settings.srt_caller_sources[0].decryption.algorithm #=> String, one of "AES128", "AES192", "AES256"
# resp.inputs[0].srt_settings.srt_caller_sources[0].decryption.passphrase_secret_arn #=> String
@@ -4932,6 +5317,10 @@ def list_input_security_groups(params = {}, options = {})
# resp.inputs[0].srt_settings.srt_caller_sources[0].srt_listener_address #=> String
# resp.inputs[0].srt_settings.srt_caller_sources[0].srt_listener_port #=> String
# resp.inputs[0].srt_settings.srt_caller_sources[0].stream_id #=> String
+ # resp.inputs[0].input_network_location #=> String, one of "AWS", "ON_PREMISES"
+ # resp.inputs[0].multicast_settings.sources #=> Array
+ # resp.inputs[0].multicast_settings.sources[0].source_ip #=> String
+ # resp.inputs[0].multicast_settings.sources[0].url #=> String
# resp.next_token #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListInputs AWS API Documentation
@@ -5091,7 +5480,7 @@ def list_multiplexes(params = {}, options = {})
# resp.offerings[0].offering_type #=> String, one of "NO_UPFRONT"
# resp.offerings[0].region #=> String
# resp.offerings[0].resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
- # resp.offerings[0].resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK"
+ # resp.offerings[0].resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK", "AV1"
# resp.offerings[0].resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.offerings[0].resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
# resp.offerings[0].resource_specification.resolution #=> String, one of "SD", "HD", "FHD", "UHD"
@@ -5173,7 +5562,7 @@ def list_offerings(params = {}, options = {})
# resp.reservations[0].renewal_settings.renewal_count #=> Integer
# resp.reservations[0].reservation_id #=> String
# resp.reservations[0].resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
- # resp.reservations[0].resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK"
+ # resp.reservations[0].resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK", "AV1"
# resp.reservations[0].resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.reservations[0].resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
# resp.reservations[0].resource_specification.resolution #=> String, one of "SD", "HD", "FHD", "UHD"
@@ -5281,7 +5670,7 @@ def list_tags_for_resource(params = {}, options = {})
# resp.reservation.renewal_settings.renewal_count #=> Integer
# resp.reservation.reservation_id #=> String
# resp.reservation.resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
- # resp.reservation.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK"
+ # resp.reservation.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK", "AV1"
# resp.reservation.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.reservation.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
# resp.reservation.resource_specification.resolution #=> String, one of "SD", "HD", "FHD", "UHD"
@@ -5376,6 +5765,7 @@ def reject_input_device_transfer(params = {}, options = {})
# * {Types::StartChannelResponse#state #state} => String
# * {Types::StartChannelResponse#tags #tags} => Hash<String,String>
# * {Types::StartChannelResponse#vpc #vpc} => Types::VpcOutputSettingsDescription
+ # * {Types::StartChannelResponse#anywhere_settings #anywhere_settings} => Types::DescribeAnywhereSettings
#
# @example Request syntax with placeholder values
#
@@ -5399,6 +5789,10 @@ def reject_input_device_transfer(params = {}, options = {})
# resp.destinations[0].settings[0].stream_name #=> String
# resp.destinations[0].settings[0].url #=> String
# resp.destinations[0].settings[0].username #=> String
+ # resp.destinations[0].srt_settings #=> Array
+ # resp.destinations[0].srt_settings[0].encryption_passphrase_secret_arn #=> String
+ # resp.destinations[0].srt_settings[0].stream_id #=> String
+ # resp.destinations[0].srt_settings[0].url #=> String
# resp.egress_endpoints #=> Array
# resp.egress_endpoints[0].source_ip #=> String
# resp.encoder_settings.audio_descriptions #=> Array
@@ -5693,6 +6087,7 @@ def reject_input_device_transfer(params = {}, options = {})
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length #=> Integer
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length_units #=> String, one of "MILLISECONDS", "SECONDS"
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.send_delay_ms #=> Integer
+ # resp.encoder_settings.output_groups[0].output_group_settings.srt_group_settings.input_loss_action #=> String, one of "DROP_PROGRAM", "DROP_TS", "EMIT_PROGRAM"
# resp.encoder_settings.output_groups[0].outputs #=> Array
# resp.encoder_settings.output_groups[0].outputs[0].audio_description_names #=> Array
# resp.encoder_settings.output_groups[0].outputs[0].audio_description_names[0] #=> String
@@ -5790,6 +6185,20 @@ def reject_input_device_transfer(params = {}, options = {})
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.h265_packaging_type #=> String, one of "HEV1", "HVC1"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.name_modifier #=> String
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.destination.destination_ref_id #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_period #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.certificate_mode #=> String, one of "SELF_SIGNED", "VERIFY_AUTHENTICITY"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.connection_retry_interval #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.destination.destination_ref_id #=> String
@@ -5853,6 +6262,63 @@ def reject_input_device_transfer(params = {}, options = {})
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.include_fec #=> String, one of "COLUMN", "COLUMN_AND_ROW"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.row_length #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.cmaf_ingest_output_settings.name_modifier #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.buffer_msec #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid_control #=> String, one of "AUTO", "USE_CONFIGURED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.bitrate #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.buffer_model #=> String, one of "MULTIPLEX", "NONE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_id #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.output_sdt #=> String, one of "SDT_FOLLOW", "SDT_FOLLOW_IF_PRESENT", "SDT_MANUAL", "SDT_NONE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_provider_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sub_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_tdt_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_teletext_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_audio_interval #=> String, one of "VIDEO_AND_FIXED_INTERVALS", "VIDEO_INTERVAL"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_lookahead_ms #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_placement #=> String, one of "VIDEO_AND_AUDIO_PIDS", "VIDEO_PID"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ecm_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_platform_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_signal_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.fragment_time #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv_data_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.null_packet_bitrate #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pat_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_period #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.program_num #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.rate_mode #=> String, one of "CBR", "VBR"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_27_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_markers #=> String, one of "EBP", "EBP_LEGACY", "NONE", "PSI_SEGSTART", "RAI_ADAPT", "RAI_SEGSTART"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_style #=> String, one of "MAINTAIN_CADENCE", "RESET_CADENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_time #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.transport_stream_id #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.video_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.destination.destination_ref_id #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.encryption_type #=> String, one of "AES128", "AES192", "AES256"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.latency #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].video_description_name #=> String
# resp.encoder_settings.timecode_config.source #=> String, one of "EMBEDDED", "SYSTEMCLOCK", "ZEROBASED"
# resp.encoder_settings.timecode_config.sync_threshold #=> Integer
@@ -5871,6 +6337,8 @@ def reject_input_device_transfer(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
@@ -5917,6 +6385,8 @@ def reject_input_device_transfer(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.framerate_denominator #=> Integer
@@ -5968,6 +6438,26 @@ def reject_input_device_transfer(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.prefix #=> String
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.afd_signaling #=> String, one of "AUTO", "FIXED", "NONE"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.buf_size #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_cll #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_denominator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_numerator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size #=> Float
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size_units #=> String, one of "FRAMES", "SECONDS"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.level #=> String, one of "AV1_LEVEL_2", "AV1_LEVEL_2_1", "AV1_LEVEL_3", "AV1_LEVEL_3_1", "AV1_LEVEL_4", "AV1_LEVEL_4_1", "AV1_LEVEL_5", "AV1_LEVEL_5_1", "AV1_LEVEL_5_2", "AV1_LEVEL_5_3", "AV1_LEVEL_6", "AV1_LEVEL_6_1", "AV1_LEVEL_6_2", "AV1_LEVEL_6_3", "AV1_LEVEL_AUTO"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.look_ahead_rate_control #=> String, one of "HIGH", "LOW", "MEDIUM"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.max_bitrate #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.min_i_interval #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_denominator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_numerator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.qvbr_quality_level #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.prefix #=> String
# resp.encoder_settings.video_descriptions[0].height #=> Integer
# resp.encoder_settings.video_descriptions[0].name #=> String
# resp.encoder_settings.video_descriptions[0].respond_to_afd #=> String, one of "NONE", "PASSTHROUGH", "RESPOND"
@@ -6031,6 +6521,7 @@ def reject_input_device_transfer(params = {}, options = {})
# resp.input_attachments[0].input_settings.network_input_settings.hls_input_settings.retry_interval #=> Integer
# resp.input_attachments[0].input_settings.network_input_settings.hls_input_settings.scte_35_source #=> String, one of "MANIFEST", "SEGMENTS"
# resp.input_attachments[0].input_settings.network_input_settings.server_validation #=> String, one of "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", "CHECK_CRYPTOGRAPHY_ONLY"
+ # resp.input_attachments[0].input_settings.network_input_settings.multicast_input_settings.source_ip_address #=> String
# resp.input_attachments[0].input_settings.scte_35_pid #=> Integer
# resp.input_attachments[0].input_settings.smpte_2038_data_preference #=> String, one of "IGNORE", "PREFER"
# resp.input_attachments[0].input_settings.source_end_behavior #=> String, one of "CONTINUE", "LOOP"
@@ -6040,6 +6531,8 @@ def reject_input_device_transfer(params = {}, options = {})
# resp.input_attachments[0].input_settings.video_selector.color_space_usage #=> String, one of "FALLBACK", "FORCE"
# resp.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_pid.pid #=> Integer
# resp.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_program_id.program_id #=> Integer
+ # resp.input_attachments[0].logical_interface_names #=> Array
+ # resp.input_attachments[0].logical_interface_names[0] #=> String
# resp.input_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC"
# resp.input_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.input_specification.resolution #=> String, one of "SD", "HD", "UHD"
@@ -6068,6 +6561,8 @@ def reject_input_device_transfer(params = {}, options = {})
# resp.vpc.security_group_ids[0] #=> String
# resp.vpc.subnet_ids #=> Array
# resp.vpc.subnet_ids[0] #=> String
+ # resp.anywhere_settings.channel_placement_group_id #=> String
+ # resp.anywhere_settings.cluster_id #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannel AWS API Documentation
#
@@ -6206,6 +6701,7 @@ def start_multiplex(params = {}, options = {})
# * {Types::StopChannelResponse#state #state} => String
# * {Types::StopChannelResponse#tags #tags} => Hash<String,String>
# * {Types::StopChannelResponse#vpc #vpc} => Types::VpcOutputSettingsDescription
+ # * {Types::StopChannelResponse#anywhere_settings #anywhere_settings} => Types::DescribeAnywhereSettings
#
# @example Request syntax with placeholder values
#
@@ -6229,6 +6725,10 @@ def start_multiplex(params = {}, options = {})
# resp.destinations[0].settings[0].stream_name #=> String
# resp.destinations[0].settings[0].url #=> String
# resp.destinations[0].settings[0].username #=> String
+ # resp.destinations[0].srt_settings #=> Array
+ # resp.destinations[0].srt_settings[0].encryption_passphrase_secret_arn #=> String
+ # resp.destinations[0].srt_settings[0].stream_id #=> String
+ # resp.destinations[0].srt_settings[0].url #=> String
# resp.egress_endpoints #=> Array
# resp.egress_endpoints[0].source_ip #=> String
# resp.encoder_settings.audio_descriptions #=> Array
@@ -6523,6 +7023,7 @@ def start_multiplex(params = {}, options = {})
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length #=> Integer
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length_units #=> String, one of "MILLISECONDS", "SECONDS"
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.send_delay_ms #=> Integer
+ # resp.encoder_settings.output_groups[0].output_group_settings.srt_group_settings.input_loss_action #=> String, one of "DROP_PROGRAM", "DROP_TS", "EMIT_PROGRAM"
# resp.encoder_settings.output_groups[0].outputs #=> Array
# resp.encoder_settings.output_groups[0].outputs[0].audio_description_names #=> Array
# resp.encoder_settings.output_groups[0].outputs[0].audio_description_names[0] #=> String
@@ -6620,6 +7121,20 @@ def start_multiplex(params = {}, options = {})
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.h265_packaging_type #=> String, one of "HEV1", "HVC1"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.name_modifier #=> String
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.destination.destination_ref_id #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_period #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.certificate_mode #=> String, one of "SELF_SIGNED", "VERIFY_AUTHENTICITY"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.connection_retry_interval #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.destination.destination_ref_id #=> String
@@ -6683,6 +7198,63 @@ def start_multiplex(params = {}, options = {})
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.include_fec #=> String, one of "COLUMN", "COLUMN_AND_ROW"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.row_length #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.cmaf_ingest_output_settings.name_modifier #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.buffer_msec #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid_control #=> String, one of "AUTO", "USE_CONFIGURED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.bitrate #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.buffer_model #=> String, one of "MULTIPLEX", "NONE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_id #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.output_sdt #=> String, one of "SDT_FOLLOW", "SDT_FOLLOW_IF_PRESENT", "SDT_MANUAL", "SDT_NONE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_provider_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sub_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_tdt_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_teletext_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_audio_interval #=> String, one of "VIDEO_AND_FIXED_INTERVALS", "VIDEO_INTERVAL"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_lookahead_ms #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_placement #=> String, one of "VIDEO_AND_AUDIO_PIDS", "VIDEO_PID"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ecm_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_platform_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_signal_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.fragment_time #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv_data_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.null_packet_bitrate #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pat_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_period #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.program_num #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.rate_mode #=> String, one of "CBR", "VBR"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_27_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_markers #=> String, one of "EBP", "EBP_LEGACY", "NONE", "PSI_SEGSTART", "RAI_ADAPT", "RAI_SEGSTART"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_style #=> String, one of "MAINTAIN_CADENCE", "RESET_CADENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_time #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.transport_stream_id #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.video_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.destination.destination_ref_id #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.encryption_type #=> String, one of "AES128", "AES192", "AES256"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.latency #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].video_description_name #=> String
# resp.encoder_settings.timecode_config.source #=> String, one of "EMBEDDED", "SYSTEMCLOCK", "ZEROBASED"
# resp.encoder_settings.timecode_config.sync_threshold #=> Integer
@@ -6701,6 +7273,8 @@ def start_multiplex(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
@@ -6747,6 +7321,8 @@ def start_multiplex(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.framerate_denominator #=> Integer
@@ -6798,6 +7374,26 @@ def start_multiplex(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.prefix #=> String
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.afd_signaling #=> String, one of "AUTO", "FIXED", "NONE"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.buf_size #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_cll #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_denominator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_numerator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size #=> Float
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size_units #=> String, one of "FRAMES", "SECONDS"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.level #=> String, one of "AV1_LEVEL_2", "AV1_LEVEL_2_1", "AV1_LEVEL_3", "AV1_LEVEL_3_1", "AV1_LEVEL_4", "AV1_LEVEL_4_1", "AV1_LEVEL_5", "AV1_LEVEL_5_1", "AV1_LEVEL_5_2", "AV1_LEVEL_5_3", "AV1_LEVEL_6", "AV1_LEVEL_6_1", "AV1_LEVEL_6_2", "AV1_LEVEL_6_3", "AV1_LEVEL_AUTO"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.look_ahead_rate_control #=> String, one of "HIGH", "LOW", "MEDIUM"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.max_bitrate #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.min_i_interval #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_denominator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_numerator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.qvbr_quality_level #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.prefix #=> String
# resp.encoder_settings.video_descriptions[0].height #=> Integer
# resp.encoder_settings.video_descriptions[0].name #=> String
# resp.encoder_settings.video_descriptions[0].respond_to_afd #=> String, one of "NONE", "PASSTHROUGH", "RESPOND"
@@ -6861,6 +7457,7 @@ def start_multiplex(params = {}, options = {})
# resp.input_attachments[0].input_settings.network_input_settings.hls_input_settings.retry_interval #=> Integer
# resp.input_attachments[0].input_settings.network_input_settings.hls_input_settings.scte_35_source #=> String, one of "MANIFEST", "SEGMENTS"
# resp.input_attachments[0].input_settings.network_input_settings.server_validation #=> String, one of "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", "CHECK_CRYPTOGRAPHY_ONLY"
+ # resp.input_attachments[0].input_settings.network_input_settings.multicast_input_settings.source_ip_address #=> String
# resp.input_attachments[0].input_settings.scte_35_pid #=> Integer
# resp.input_attachments[0].input_settings.smpte_2038_data_preference #=> String, one of "IGNORE", "PREFER"
# resp.input_attachments[0].input_settings.source_end_behavior #=> String, one of "CONTINUE", "LOOP"
@@ -6870,6 +7467,8 @@ def start_multiplex(params = {}, options = {})
# resp.input_attachments[0].input_settings.video_selector.color_space_usage #=> String, one of "FALLBACK", "FORCE"
# resp.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_pid.pid #=> Integer
# resp.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_program_id.program_id #=> Integer
+ # resp.input_attachments[0].logical_interface_names #=> Array
+ # resp.input_attachments[0].logical_interface_names[0] #=> String
# resp.input_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC"
# resp.input_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.input_specification.resolution #=> String, one of "SD", "HD", "UHD"
@@ -6898,6 +7497,8 @@ def start_multiplex(params = {}, options = {})
# resp.vpc.security_group_ids[0] #=> String
# resp.vpc.subnet_ids #=> Array
# resp.vpc.subnet_ids[0] #=> String
+ # resp.anywhere_settings.channel_placement_group_id #=> String
+ # resp.anywhere_settings.cluster_id #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannel AWS API Documentation
#
@@ -7087,6 +7688,10 @@ def update_account_configuration(params = {}, options = {})
# resp.channel.destinations[0].settings[0].stream_name #=> String
# resp.channel.destinations[0].settings[0].url #=> String
# resp.channel.destinations[0].settings[0].username #=> String
+ # resp.channel.destinations[0].srt_settings #=> Array
+ # resp.channel.destinations[0].srt_settings[0].encryption_passphrase_secret_arn #=> String
+ # resp.channel.destinations[0].srt_settings[0].stream_id #=> String
+ # resp.channel.destinations[0].srt_settings[0].url #=> String
# resp.channel.egress_endpoints #=> Array
# resp.channel.egress_endpoints[0].source_ip #=> String
# resp.channel.encoder_settings.audio_descriptions #=> Array
@@ -7381,6 +7986,7 @@ def update_account_configuration(params = {}, options = {})
# resp.channel.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length #=> Integer
# resp.channel.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length_units #=> String, one of "MILLISECONDS", "SECONDS"
# resp.channel.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.send_delay_ms #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].output_group_settings.srt_group_settings.input_loss_action #=> String, one of "DROP_PROGRAM", "DROP_TS", "EMIT_PROGRAM"
# resp.channel.encoder_settings.output_groups[0].outputs #=> Array
# resp.channel.encoder_settings.output_groups[0].outputs[0].audio_description_names #=> Array
# resp.channel.encoder_settings.output_groups[0].outputs[0].audio_description_names[0] #=> String
@@ -7478,6 +8084,20 @@ def update_account_configuration(params = {}, options = {})
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.h265_packaging_type #=> String, one of "HEV1", "HVC1"
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.name_modifier #=> String
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.destination.destination_ref_id #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_period #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.certificate_mode #=> String, one of "SELF_SIGNED", "VERIFY_AUTHENTICITY"
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.connection_retry_interval #=> Integer
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.destination.destination_ref_id #=> String
@@ -7541,6 +8161,63 @@ def update_account_configuration(params = {}, options = {})
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.include_fec #=> String, one of "COLUMN", "COLUMN_AND_ROW"
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.row_length #=> Integer
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.cmaf_ingest_output_settings.name_modifier #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.buffer_msec #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid_control #=> String, one of "AUTO", "USE_CONFIGURED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.bitrate #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.buffer_model #=> String, one of "MULTIPLEX", "NONE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_id #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_name #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.rep_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.output_sdt #=> String, one of "SDT_FOLLOW", "SDT_FOLLOW_IF_PRESENT", "SDT_MANUAL", "SDT_NONE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.rep_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_name #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_provider_name #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sub_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_tdt_settings.rep_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_teletext_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_audio_interval #=> String, one of "VIDEO_AND_FIXED_INTERVALS", "VIDEO_INTERVAL"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_lookahead_ms #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_placement #=> String, one of "VIDEO_AND_AUDIO_PIDS", "VIDEO_PID"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ecm_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_platform_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_signal_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.fragment_time #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv_data_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.null_packet_bitrate #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pat_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_period #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.program_num #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.rate_mode #=> String, one of "CBR", "VBR"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_27_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_markers #=> String, one of "EBP", "EBP_LEGACY", "NONE", "PSI_SEGSTART", "RAI_ADAPT", "RAI_SEGSTART"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_style #=> String, one of "MAINTAIN_CADENCE", "RESET_CADENCE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_time #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.transport_stream_id #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.video_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.destination.destination_ref_id #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.encryption_type #=> String, one of "AES128", "AES192", "AES256"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.latency #=> Integer
# resp.channel.encoder_settings.output_groups[0].outputs[0].video_description_name #=> String
# resp.channel.encoder_settings.timecode_config.source #=> String, one of "EMBEDDED", "SYSTEMCLOCK", "ZEROBASED"
# resp.channel.encoder_settings.timecode_config.sync_threshold #=> Integer
@@ -7559,6 +8236,8 @@ def update_account_configuration(params = {}, options = {})
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
@@ -7605,6 +8284,8 @@ def update_account_configuration(params = {}, options = {})
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.framerate_denominator #=> Integer
@@ -7656,6 +8337,26 @@ def update_account_configuration(params = {}, options = {})
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.prefix #=> String
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.afd_signaling #=> String, one of "AUTO", "FIXED", "NONE"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.buf_size #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_cll #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_denominator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_numerator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size #=> Float
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size_units #=> String, one of "FRAMES", "SECONDS"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.level #=> String, one of "AV1_LEVEL_2", "AV1_LEVEL_2_1", "AV1_LEVEL_3", "AV1_LEVEL_3_1", "AV1_LEVEL_4", "AV1_LEVEL_4_1", "AV1_LEVEL_5", "AV1_LEVEL_5_1", "AV1_LEVEL_5_2", "AV1_LEVEL_5_3", "AV1_LEVEL_6", "AV1_LEVEL_6_1", "AV1_LEVEL_6_2", "AV1_LEVEL_6_3", "AV1_LEVEL_AUTO"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.look_ahead_rate_control #=> String, one of "HIGH", "LOW", "MEDIUM"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.max_bitrate #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.min_i_interval #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_denominator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_numerator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.qvbr_quality_level #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.prefix #=> String
# resp.channel.encoder_settings.video_descriptions[0].height #=> Integer
# resp.channel.encoder_settings.video_descriptions[0].name #=> String
# resp.channel.encoder_settings.video_descriptions[0].respond_to_afd #=> String, one of "NONE", "PASSTHROUGH", "RESPOND"
@@ -7719,6 +8420,7 @@ def update_account_configuration(params = {}, options = {})
# resp.channel.input_attachments[0].input_settings.network_input_settings.hls_input_settings.retry_interval #=> Integer
# resp.channel.input_attachments[0].input_settings.network_input_settings.hls_input_settings.scte_35_source #=> String, one of "MANIFEST", "SEGMENTS"
# resp.channel.input_attachments[0].input_settings.network_input_settings.server_validation #=> String, one of "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", "CHECK_CRYPTOGRAPHY_ONLY"
+ # resp.channel.input_attachments[0].input_settings.network_input_settings.multicast_input_settings.source_ip_address #=> String
# resp.channel.input_attachments[0].input_settings.scte_35_pid #=> Integer
# resp.channel.input_attachments[0].input_settings.smpte_2038_data_preference #=> String, one of "IGNORE", "PREFER"
# resp.channel.input_attachments[0].input_settings.source_end_behavior #=> String, one of "CONTINUE", "LOOP"
@@ -7728,6 +8430,8 @@ def update_account_configuration(params = {}, options = {})
# resp.channel.input_attachments[0].input_settings.video_selector.color_space_usage #=> String, one of "FALLBACK", "FORCE"
# resp.channel.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_pid.pid #=> Integer
# resp.channel.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_program_id.program_id #=> Integer
+ # resp.channel.input_attachments[0].logical_interface_names #=> Array
+ # resp.channel.input_attachments[0].logical_interface_names[0] #=> String
# resp.channel.input_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC"
# resp.channel.input_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.channel.input_specification.resolution #=> String, one of "SD", "HD", "UHD"
@@ -7756,6 +8460,8 @@ def update_account_configuration(params = {}, options = {})
# resp.channel.vpc.security_group_ids[0] #=> String
# resp.channel.vpc.subnet_ids #=> Array
# resp.channel.vpc.subnet_ids[0] #=> String
+ # resp.channel.anywhere_settings.channel_placement_group_id #=> String
+ # resp.channel.anywhere_settings.cluster_id #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannel AWS API Documentation
#
@@ -7805,6 +8511,13 @@ def update_channel(params = {}, options = {})
# username: "__string",
# },
# ],
+ # srt_settings: [
+ # {
+ # encryption_passphrase_secret_arn: "__string",
+ # stream_id: "__string",
+ # url: "__string",
+ # },
+ # ],
# },
# ],
# })
@@ -7825,6 +8538,10 @@ def update_channel(params = {}, options = {})
# resp.channel.destinations[0].settings[0].stream_name #=> String
# resp.channel.destinations[0].settings[0].url #=> String
# resp.channel.destinations[0].settings[0].username #=> String
+ # resp.channel.destinations[0].srt_settings #=> Array
+ # resp.channel.destinations[0].srt_settings[0].encryption_passphrase_secret_arn #=> String
+ # resp.channel.destinations[0].srt_settings[0].stream_id #=> String
+ # resp.channel.destinations[0].srt_settings[0].url #=> String
# resp.channel.egress_endpoints #=> Array
# resp.channel.egress_endpoints[0].source_ip #=> String
# resp.channel.encoder_settings.audio_descriptions #=> Array
@@ -8119,6 +8836,7 @@ def update_channel(params = {}, options = {})
# resp.channel.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length #=> Integer
# resp.channel.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length_units #=> String, one of "MILLISECONDS", "SECONDS"
# resp.channel.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.send_delay_ms #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].output_group_settings.srt_group_settings.input_loss_action #=> String, one of "DROP_PROGRAM", "DROP_TS", "EMIT_PROGRAM"
# resp.channel.encoder_settings.output_groups[0].outputs #=> Array
# resp.channel.encoder_settings.output_groups[0].outputs[0].audio_description_names #=> Array
# resp.channel.encoder_settings.output_groups[0].outputs[0].audio_description_names[0] #=> String
@@ -8216,6 +8934,20 @@ def update_channel(params = {}, options = {})
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.h265_packaging_type #=> String, one of "HEV1", "HVC1"
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.name_modifier #=> String
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.destination.destination_ref_id #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_period #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.certificate_mode #=> String, one of "SELF_SIGNED", "VERIFY_AUTHENTICITY"
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.connection_retry_interval #=> Integer
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.destination.destination_ref_id #=> String
@@ -8279,6 +9011,63 @@ def update_channel(params = {}, options = {})
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.include_fec #=> String, one of "COLUMN", "COLUMN_AND_ROW"
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.row_length #=> Integer
# resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.cmaf_ingest_output_settings.name_modifier #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.buffer_msec #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid_control #=> String, one of "AUTO", "USE_CONFIGURED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.bitrate #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.buffer_model #=> String, one of "MULTIPLEX", "NONE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_id #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_name #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.rep_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.output_sdt #=> String, one of "SDT_FOLLOW", "SDT_FOLLOW_IF_PRESENT", "SDT_MANUAL", "SDT_NONE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.rep_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_name #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_provider_name #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sub_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_tdt_settings.rep_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_teletext_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_audio_interval #=> String, one of "VIDEO_AND_FIXED_INTERVALS", "VIDEO_INTERVAL"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_lookahead_ms #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_placement #=> String, one of "VIDEO_AND_AUDIO_PIDS", "VIDEO_PID"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ecm_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_platform_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_signal_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.fragment_time #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv_data_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.null_packet_bitrate #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pat_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_period #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_interval #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.program_num #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.rate_mode #=> String, one of "CBR", "VBR"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_27_pids #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_markers #=> String, one of "EBP", "EBP_LEGACY", "NONE", "PSI_SEGSTART", "RAI_ADAPT", "RAI_SEGSTART"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_style #=> String, one of "MAINTAIN_CADENCE", "RESET_CADENCE"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_time #=> Float
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.transport_stream_id #=> Integer
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.video_pid #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.destination.destination_ref_id #=> String
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.encryption_type #=> String, one of "AES128", "AES192", "AES256"
+ # resp.channel.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.latency #=> Integer
# resp.channel.encoder_settings.output_groups[0].outputs[0].video_description_name #=> String
# resp.channel.encoder_settings.timecode_config.source #=> String, one of "EMBEDDED", "SYSTEMCLOCK", "ZEROBASED"
# resp.channel.encoder_settings.timecode_config.sync_threshold #=> Integer
@@ -8297,6 +9086,8 @@ def update_channel(params = {}, options = {})
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
@@ -8343,6 +9134,8 @@ def update_channel(params = {}, options = {})
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.h265_settings.framerate_denominator #=> Integer
@@ -8394,6 +9187,26 @@ def update_channel(params = {}, options = {})
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
# resp.channel.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.prefix #=> String
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.afd_signaling #=> String, one of "AUTO", "FIXED", "NONE"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.buf_size #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_cll #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_denominator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_numerator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size #=> Float
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size_units #=> String, one of "FRAMES", "SECONDS"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.level #=> String, one of "AV1_LEVEL_2", "AV1_LEVEL_2_1", "AV1_LEVEL_3", "AV1_LEVEL_3_1", "AV1_LEVEL_4", "AV1_LEVEL_4_1", "AV1_LEVEL_5", "AV1_LEVEL_5_1", "AV1_LEVEL_5_2", "AV1_LEVEL_5_3", "AV1_LEVEL_6", "AV1_LEVEL_6_1", "AV1_LEVEL_6_2", "AV1_LEVEL_6_3", "AV1_LEVEL_AUTO"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.look_ahead_rate_control #=> String, one of "HIGH", "LOW", "MEDIUM"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.max_bitrate #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.min_i_interval #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_denominator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_numerator #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.qvbr_quality_level #=> Integer
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
+ # resp.channel.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.prefix #=> String
# resp.channel.encoder_settings.video_descriptions[0].height #=> Integer
# resp.channel.encoder_settings.video_descriptions[0].name #=> String
# resp.channel.encoder_settings.video_descriptions[0].respond_to_afd #=> String, one of "NONE", "PASSTHROUGH", "RESPOND"
@@ -8457,6 +9270,7 @@ def update_channel(params = {}, options = {})
# resp.channel.input_attachments[0].input_settings.network_input_settings.hls_input_settings.retry_interval #=> Integer
# resp.channel.input_attachments[0].input_settings.network_input_settings.hls_input_settings.scte_35_source #=> String, one of "MANIFEST", "SEGMENTS"
# resp.channel.input_attachments[0].input_settings.network_input_settings.server_validation #=> String, one of "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", "CHECK_CRYPTOGRAPHY_ONLY"
+ # resp.channel.input_attachments[0].input_settings.network_input_settings.multicast_input_settings.source_ip_address #=> String
# resp.channel.input_attachments[0].input_settings.scte_35_pid #=> Integer
# resp.channel.input_attachments[0].input_settings.smpte_2038_data_preference #=> String, one of "IGNORE", "PREFER"
# resp.channel.input_attachments[0].input_settings.source_end_behavior #=> String, one of "CONTINUE", "LOOP"
@@ -8466,6 +9280,8 @@ def update_channel(params = {}, options = {})
# resp.channel.input_attachments[0].input_settings.video_selector.color_space_usage #=> String, one of "FALLBACK", "FORCE"
# resp.channel.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_pid.pid #=> Integer
# resp.channel.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_program_id.program_id #=> Integer
+ # resp.channel.input_attachments[0].logical_interface_names #=> Array
+ # resp.channel.input_attachments[0].logical_interface_names[0] #=> String
# resp.channel.input_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC"
# resp.channel.input_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.channel.input_specification.resolution #=> String, one of "SD", "HD", "UHD"
@@ -8494,6 +9310,8 @@ def update_channel(params = {}, options = {})
# resp.channel.vpc.security_group_ids[0] #=> String
# resp.channel.vpc.subnet_ids #=> Array
# resp.channel.vpc.subnet_ids[0] #=> String
+ # resp.channel.anywhere_settings.channel_placement_group_id #=> String
+ # resp.channel.anywhere_settings.cluster_id #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelClass AWS API Documentation
#
@@ -8527,6 +9345,10 @@ def update_channel_class(params = {}, options = {})
# input, include one srtCallerSource in the array. For a
# standard-pipeline input, include two srtCallerSource.
#
+ # @option params [Types::MulticastSettingsUpdateRequest] :multicast_settings
+ # Settings for a Multicast input. Contains a list of multicast Urls and
+ # optional source ip addresses.
+ #
# @return [Types::UpdateInputResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::UpdateInputResponse#input #input} => Types::Input
@@ -8537,6 +9359,14 @@ def update_channel_class(params = {}, options = {})
# destinations: [
# {
# stream_name: "__string",
+ # network: "__string",
+ # network_routes: [
+ # {
+ # cidr: "__string",
+ # gateway: "__string",
+ # },
+ # ],
+ # static_ip_address: "__string",
# },
# ],
# input_devices: [
@@ -8574,6 +9404,14 @@ def update_channel_class(params = {}, options = {})
# },
# ],
# },
+ # multicast_settings: {
+ # sources: [
+ # {
+ # source_ip: "__string",
+ # url: "__string", # required
+ # },
+ # ],
+ # },
# })
#
# @example Response structure
@@ -8587,6 +9425,10 @@ def update_channel_class(params = {}, options = {})
# resp.input.destinations[0].url #=> String
# resp.input.destinations[0].vpc.availability_zone #=> String
# resp.input.destinations[0].vpc.network_interface_id #=> String
+ # resp.input.destinations[0].network #=> String
+ # resp.input.destinations[0].network_routes #=> Array
+ # resp.input.destinations[0].network_routes[0].cidr #=> String
+ # resp.input.destinations[0].network_routes[0].gateway #=> String
# resp.input.id #=> String
# resp.input.input_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
# resp.input.input_devices #=> Array
@@ -8607,7 +9449,7 @@ def update_channel_class(params = {}, options = {})
# resp.input.state #=> String, one of "CREATING", "DETACHED", "ATTACHED", "DELETING", "DELETED"
# resp.input.tags #=> Hash
# resp.input.tags["__string"] #=> String
- # resp.input.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI", "TS_FILE", "SRT_CALLER"
+ # resp.input.type #=> String, one of "UDP_PUSH", "RTP_PUSH", "RTMP_PUSH", "RTMP_PULL", "URL_PULL", "MP4_FILE", "MEDIACONNECT", "INPUT_DEVICE", "AWS_CDI", "TS_FILE", "SRT_CALLER", "MULTICAST"
# resp.input.srt_settings.srt_caller_sources #=> Array
# resp.input.srt_settings.srt_caller_sources[0].decryption.algorithm #=> String, one of "AES128", "AES192", "AES256"
# resp.input.srt_settings.srt_caller_sources[0].decryption.passphrase_secret_arn #=> String
@@ -8615,6 +9457,10 @@ def update_channel_class(params = {}, options = {})
# resp.input.srt_settings.srt_caller_sources[0].srt_listener_address #=> String
# resp.input.srt_settings.srt_caller_sources[0].srt_listener_port #=> String
# resp.input.srt_settings.srt_caller_sources[0].stream_id #=> String
+ # resp.input.input_network_location #=> String, one of "AWS", "ON_PREMISES"
+ # resp.input.multicast_settings.sources #=> Array
+ # resp.input.multicast_settings.sources[0].source_ip #=> String
+ # resp.input.multicast_settings.sources[0].url #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput AWS API Documentation
#
@@ -9010,7 +9856,7 @@ def update_multiplex_program(params = {}, options = {})
# resp.reservation.renewal_settings.renewal_count #=> Integer
# resp.reservation.reservation_id #=> String
# resp.reservation.resource_specification.channel_class #=> String, one of "STANDARD", "SINGLE_PIPELINE"
- # resp.reservation.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK"
+ # resp.reservation.resource_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC", "AUDIO", "LINK", "AV1"
# resp.reservation.resource_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.reservation.resource_specification.maximum_framerate #=> String, one of "MAX_30_FPS", "MAX_60_FPS"
# resp.reservation.resource_specification.resolution #=> String, one of "SD", "HD", "FHD", "UHD"
@@ -9061,6 +9907,7 @@ def update_reservation(params = {}, options = {})
# * {Types::RestartChannelPipelinesResponse#state #state} => String
# * {Types::RestartChannelPipelinesResponse#tags #tags} => Hash<String,String>
# * {Types::RestartChannelPipelinesResponse#vpc #vpc} => Types::VpcOutputSettingsDescription
+ # * {Types::RestartChannelPipelinesResponse#anywhere_settings #anywhere_settings} => Types::DescribeAnywhereSettings
#
# @example Request syntax with placeholder values
#
@@ -9085,6 +9932,10 @@ def update_reservation(params = {}, options = {})
# resp.destinations[0].settings[0].stream_name #=> String
# resp.destinations[0].settings[0].url #=> String
# resp.destinations[0].settings[0].username #=> String
+ # resp.destinations[0].srt_settings #=> Array
+ # resp.destinations[0].srt_settings[0].encryption_passphrase_secret_arn #=> String
+ # resp.destinations[0].srt_settings[0].stream_id #=> String
+ # resp.destinations[0].srt_settings[0].url #=> String
# resp.egress_endpoints #=> Array
# resp.egress_endpoints[0].source_ip #=> String
# resp.encoder_settings.audio_descriptions #=> Array
@@ -9379,6 +10230,7 @@ def update_reservation(params = {}, options = {})
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length #=> Integer
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.segment_length_units #=> String, one of "MILLISECONDS", "SECONDS"
# resp.encoder_settings.output_groups[0].output_group_settings.cmaf_ingest_group_settings.send_delay_ms #=> Integer
+ # resp.encoder_settings.output_groups[0].output_group_settings.srt_group_settings.input_loss_action #=> String, one of "DROP_PROGRAM", "DROP_TS", "EMIT_PROGRAM"
# resp.encoder_settings.output_groups[0].outputs #=> Array
# resp.encoder_settings.output_groups[0].outputs[0].audio_description_names #=> Array
# resp.encoder_settings.output_groups[0].outputs[0].audio_description_names[0] #=> String
@@ -9476,6 +10328,20 @@ def update_reservation(params = {}, options = {})
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.h265_packaging_type #=> String, one of "HEV1", "HVC1"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.ms_smooth_output_settings.name_modifier #=> String
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.destination.destination_ref_id #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.pcr_period #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.multiplex_output_settings.container_settings.multiplex_m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.certificate_mode #=> String, one of "SELF_SIGNED", "VERIFY_AUTHENTICITY"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.connection_retry_interval #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.rtmp_output_settings.destination.destination_ref_id #=> String
@@ -9539,6 +10405,63 @@ def update_reservation(params = {}, options = {})
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.include_fec #=> String, one of "COLUMN", "COLUMN_AND_ROW"
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.udp_output_settings.fec_output_settings.row_length #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].output_settings.cmaf_ingest_output_settings.name_modifier #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.buffer_msec #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.absent_input_audio_behavior #=> String, one of "DROP", "ENCODE_SILENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.arib_captions_pid_control #=> String, one of "AUTO", "USE_CONFIGURED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_buffer_model #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_frames_per_pes #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.audio_stream_type #=> String, one of "ATSC", "DVB"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.bitrate #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.buffer_model #=> String, one of "MULTIPLEX", "NONE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.cc_descriptor #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_id #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.network_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_nit_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.output_sdt #=> String, one of "SDT_FOLLOW", "SDT_FOLLOW_IF_PRESENT", "SDT_MANUAL", "SDT_NONE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sdt_settings.service_provider_name #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_sub_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_tdt_settings.rep_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.dvb_teletext_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebif #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_audio_interval #=> String, one of "VIDEO_AND_FIXED_INTERVALS", "VIDEO_INTERVAL"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_lookahead_ms #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ebp_placement #=> String, one of "VIDEO_AND_AUDIO_PIDS", "VIDEO_PID"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.ecm_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.es_rate_in_pes #=> String, one of "EXCLUDE", "INCLUDE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_platform_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.etv_signal_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.fragment_time #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.klv_data_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.nielsen_id_3_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.null_packet_bitrate #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pat_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_control #=> String, one of "CONFIGURED_PCR_PERIOD", "PCR_EVERY_PES_PACKET"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_period #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pcr_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_interval #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.pmt_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.program_num #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.rate_mode #=> String, one of "CBR", "VBR"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_27_pids #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_control #=> String, one of "NONE", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.scte_35_preroll_pullup_milliseconds #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_markers #=> String, one of "EBP", "EBP_LEGACY", "NONE", "PSI_SEGSTART", "RAI_ADAPT", "RAI_SEGSTART"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_style #=> String, one of "MAINTAIN_CADENCE", "RESET_CADENCE"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.segmentation_time #=> Float
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_behavior #=> String, one of "NO_PASSTHROUGH", "PASSTHROUGH"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.timed_metadata_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.transport_stream_id #=> Integer
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.container_settings.m2ts_settings.video_pid #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.destination.destination_ref_id #=> String
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.encryption_type #=> String, one of "AES128", "AES192", "AES256"
+ # resp.encoder_settings.output_groups[0].outputs[0].output_settings.srt_output_settings.latency #=> Integer
# resp.encoder_settings.output_groups[0].outputs[0].video_description_name #=> String
# resp.encoder_settings.timecode_config.source #=> String, one of "EMBEDDED", "SYSTEMCLOCK", "ZEROBASED"
# resp.encoder_settings.timecode_config.sync_threshold #=> Integer
@@ -9557,6 +10480,8 @@ def update_reservation(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.entropy_encoding #=> String, one of "CABAC", "CAVLC"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h264_settings.force_field_pictures #=> String, one of "DISABLED", "ENABLED"
@@ -9603,6 +10528,8 @@ def update_reservation(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.post_filter_sharpening #=> String, one of "AUTO", "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.temporal_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4", "STRENGTH_5", "STRENGTH_6", "STRENGTH_7", "STRENGTH_8", "STRENGTH_9", "STRENGTH_10", "STRENGTH_11", "STRENGTH_12", "STRENGTH_13", "STRENGTH_14", "STRENGTH_15", "STRENGTH_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.post_filter_sharpening #=> String, one of "DISABLED", "SHARPENING_1", "SHARPENING_2", "SHARPENING_3"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.filter_settings.bandwidth_reduction_filter_settings.strength #=> String, one of "AUTO", "STRENGTH_1", "STRENGTH_2", "STRENGTH_3", "STRENGTH_4"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.flicker_aq #=> String, one of "DISABLED", "ENABLED"
# resp.encoder_settings.video_descriptions[0].codec_settings.h265_settings.framerate_denominator #=> Integer
@@ -9654,6 +10581,26 @@ def update_reservation(params = {}, options = {})
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
# resp.encoder_settings.video_descriptions[0].codec_settings.mpeg_2_settings.timecode_burnin_settings.prefix #=> String
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.afd_signaling #=> String, one of "AUTO", "FIXED", "NONE"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.buf_size #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_cll #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.color_space_settings.hdr_10_settings.max_fall #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.fixed_afd #=> String, one of "AFD_0000", "AFD_0010", "AFD_0011", "AFD_0100", "AFD_1000", "AFD_1001", "AFD_1010", "AFD_1011", "AFD_1101", "AFD_1110", "AFD_1111"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_denominator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.framerate_numerator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size #=> Float
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.gop_size_units #=> String, one of "FRAMES", "SECONDS"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.level #=> String, one of "AV1_LEVEL_2", "AV1_LEVEL_2_1", "AV1_LEVEL_3", "AV1_LEVEL_3_1", "AV1_LEVEL_4", "AV1_LEVEL_4_1", "AV1_LEVEL_5", "AV1_LEVEL_5_1", "AV1_LEVEL_5_2", "AV1_LEVEL_5_3", "AV1_LEVEL_6", "AV1_LEVEL_6_1", "AV1_LEVEL_6_2", "AV1_LEVEL_6_3", "AV1_LEVEL_AUTO"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.look_ahead_rate_control #=> String, one of "HIGH", "LOW", "MEDIUM"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.max_bitrate #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.min_i_interval #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_denominator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.par_numerator #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.qvbr_quality_level #=> Integer
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.scene_change_detect #=> String, one of "DISABLED", "ENABLED"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.font_size #=> String, one of "EXTRA_SMALL_10", "LARGE_48", "MEDIUM_32", "SMALL_16"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.position #=> String, one of "BOTTOM_CENTER", "BOTTOM_LEFT", "BOTTOM_RIGHT", "MIDDLE_CENTER", "MIDDLE_LEFT", "MIDDLE_RIGHT", "TOP_CENTER", "TOP_LEFT", "TOP_RIGHT"
+ # resp.encoder_settings.video_descriptions[0].codec_settings.av_1_settings.timecode_burnin_settings.prefix #=> String
# resp.encoder_settings.video_descriptions[0].height #=> Integer
# resp.encoder_settings.video_descriptions[0].name #=> String
# resp.encoder_settings.video_descriptions[0].respond_to_afd #=> String, one of "NONE", "PASSTHROUGH", "RESPOND"
@@ -9717,6 +10664,7 @@ def update_reservation(params = {}, options = {})
# resp.input_attachments[0].input_settings.network_input_settings.hls_input_settings.retry_interval #=> Integer
# resp.input_attachments[0].input_settings.network_input_settings.hls_input_settings.scte_35_source #=> String, one of "MANIFEST", "SEGMENTS"
# resp.input_attachments[0].input_settings.network_input_settings.server_validation #=> String, one of "CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME", "CHECK_CRYPTOGRAPHY_ONLY"
+ # resp.input_attachments[0].input_settings.network_input_settings.multicast_input_settings.source_ip_address #=> String
# resp.input_attachments[0].input_settings.scte_35_pid #=> Integer
# resp.input_attachments[0].input_settings.smpte_2038_data_preference #=> String, one of "IGNORE", "PREFER"
# resp.input_attachments[0].input_settings.source_end_behavior #=> String, one of "CONTINUE", "LOOP"
@@ -9726,6 +10674,8 @@ def update_reservation(params = {}, options = {})
# resp.input_attachments[0].input_settings.video_selector.color_space_usage #=> String, one of "FALLBACK", "FORCE"
# resp.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_pid.pid #=> Integer
# resp.input_attachments[0].input_settings.video_selector.selector_settings.video_selector_program_id.program_id #=> Integer
+ # resp.input_attachments[0].logical_interface_names #=> Array
+ # resp.input_attachments[0].logical_interface_names[0] #=> String
# resp.input_specification.codec #=> String, one of "MPEG2", "AVC", "HEVC"
# resp.input_specification.maximum_bitrate #=> String, one of "MAX_10_MBPS", "MAX_20_MBPS", "MAX_50_MBPS"
# resp.input_specification.resolution #=> String, one of "SD", "HD", "UHD"
@@ -9755,6 +10705,8 @@ def update_reservation(params = {}, options = {})
# resp.vpc.security_group_ids[0] #=> String
# resp.vpc.subnet_ids #=> Array
# resp.vpc.subnet_ids[0] #=> String
+ # resp.anywhere_settings.channel_placement_group_id #=> String
+ # resp.anywhere_settings.cluster_id #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RestartChannelPipelines AWS API Documentation
#
@@ -11310,6 +12262,1301 @@ def update_event_bridge_rule_template_group(params = {}, options = {})
req.send_request(options)
end
+ # Create a ChannelPlacementGroup in the specified Cluster. As part of
+ # the create operation, you specify the Nodes to attach the group
+ # to.After you create a ChannelPlacementGroup, you add Channels to the
+ # group (you do this by modifying the Channels to add them to a specific
+ # group). You now have an association of Channels to
+ # ChannelPlacementGroup, and ChannelPlacementGroup to Nodes. This
+ # association means that all the Channels in the group are able to run
+ # on any of the Nodes associated with the group.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @option params [String] :name
+ # Specify a name that is unique in the Cluster. You can't change the
+ # name. Names are case-sensitive.
+ #
+ # @option params [Array] :nodes
+ # An array of one ID for the Node that you want to associate with the
+ # ChannelPlacementGroup. (You can't associate more than one Node with
+ # the ChannelPlacementGroup.) The Node and the ChannelPlacementGroup
+ # must be in the same Cluster.
+ #
+ # @option params [String] :request_id
+ # An ID that you assign to a create request. This ID ensures idempotency when creating resources. the request.**A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [Hash] :tags
+ # A collection of key-value pairs.
+ #
+ # @return [Types::CreateChannelPlacementGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::CreateChannelPlacementGroupResponse#arn #arn} => String
+ # * {Types::CreateChannelPlacementGroupResponse#channels #channels} => Array<String>
+ # * {Types::CreateChannelPlacementGroupResponse#cluster_id #cluster_id} => String
+ # * {Types::CreateChannelPlacementGroupResponse#id #id} => String
+ # * {Types::CreateChannelPlacementGroupResponse#name #name} => String
+ # * {Types::CreateChannelPlacementGroupResponse#nodes #nodes} => Array<String>
+ # * {Types::CreateChannelPlacementGroupResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.create_channel_placement_group({
+ # cluster_id: "__string", # required
+ # name: "__string",
+ # nodes: ["__string"],
+ # request_id: "__string",
+ # tags: {
+ # "__string" => "__string",
+ # },
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channels #=> Array
+ # resp.channels[0] #=> String
+ # resp.cluster_id #=> String
+ # resp.id #=> String
+ # resp.name #=> String
+ # resp.nodes #=> Array
+ # resp.nodes[0] #=> String
+ # resp.state #=> String, one of "UNASSIGNED", "ASSIGNING", "ASSIGNED", "DELETING", "DELETE_FAILED", "DELETED", "UNASSIGNING"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannelPlacementGroup AWS API Documentation
+ #
+ # @overload create_channel_placement_group(params = {})
+ # @param [Hash] params ({})
+ def create_channel_placement_group(params = {}, options = {})
+ req = build_request(:create_channel_placement_group, params)
+ req.send_request(options)
+ end
+
+ # Create a new Cluster.
+ #
+ # @option params [String] :cluster_type
+ # Specify a type. All the Nodes that you later add to this Cluster must
+ # be this type of hardware. One Cluster instance can't contain
+ # different hardware types. You won't be able to change this parameter
+ # after you create the Cluster.
+ #
+ # @option params [String] :instance_role_arn
+ # The ARN of the IAM role for the Node in this Cluster. The role must
+ # include all the operations that you expect these Node to perform. If
+ # necessary, create a role in IAM, then attach it here.
+ #
+ # @option params [String] :name
+ # Specify a name that is unique in the AWS account. We recommend that
+ # you assign a name that hints at the types of Nodes in the Cluster.
+ # Names are case-sensitive.
+ #
+ # @option params [Types::ClusterNetworkSettingsCreateRequest] :network_settings
+ # Network settings that connect the Nodes in the Cluster to one or more
+ # of the Networks that the Cluster is associated with.
+ #
+ # @option params [String] :request_id
+ # The unique ID of the request.**A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [Hash] :tags
+ # A collection of key-value pairs.
+ #
+ # @return [Types::CreateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::CreateClusterResponse#arn #arn} => String
+ # * {Types::CreateClusterResponse#channel_ids #channel_ids} => Array<String>
+ # * {Types::CreateClusterResponse#cluster_type #cluster_type} => String
+ # * {Types::CreateClusterResponse#id #id} => String
+ # * {Types::CreateClusterResponse#instance_role_arn #instance_role_arn} => String
+ # * {Types::CreateClusterResponse#name #name} => String
+ # * {Types::CreateClusterResponse#network_settings #network_settings} => Types::ClusterNetworkSettings
+ # * {Types::CreateClusterResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.create_cluster({
+ # cluster_type: "ON_PREMISES", # accepts ON_PREMISES
+ # instance_role_arn: "__string",
+ # name: "__string",
+ # network_settings: {
+ # default_route: "__string",
+ # interface_mappings: [
+ # {
+ # logical_interface_name: "__string",
+ # network_id: "__string",
+ # },
+ # ],
+ # },
+ # request_id: "__string",
+ # tags: {
+ # "__string" => "__string",
+ # },
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channel_ids #=> Array
+ # resp.channel_ids[0] #=> String
+ # resp.cluster_type #=> String, one of "ON_PREMISES"
+ # resp.id #=> String
+ # resp.instance_role_arn #=> String
+ # resp.name #=> String
+ # resp.network_settings.default_route #=> String
+ # resp.network_settings.interface_mappings #=> Array
+ # resp.network_settings.interface_mappings[0].logical_interface_name #=> String
+ # resp.network_settings.interface_mappings[0].network_id #=> String
+ # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "DELETE_FAILED", "DELETED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateCluster AWS API Documentation
+ #
+ # @overload create_cluster(params = {})
+ # @param [Hash] params ({})
+ def create_cluster(params = {}, options = {})
+ req = build_request(:create_cluster, params)
+ req.send_request(options)
+ end
+
+ # Create as many Networks as you need. You will associate one or more
+ # Clusters with each Network.Each Network provides MediaLive Anywhere
+ # with required information about the network in your organization that
+ # you are using for video encoding using MediaLive.
+ #
+ # @option params [Array] :ip_pools
+ # An array of IpPoolCreateRequests that identify a collection of IP
+ # addresses in your network that you want to reserve for use in
+ # MediaLive Anywhere. MediaLiveAnywhere uses these IP addresses for Push
+ # inputs (in both Bridge and NATnetworks) and for output destinations
+ # (only in Bridge networks). EachIpPoolUpdateRequest specifies one CIDR
+ # block.
+ #
+ # @option params [String] :name
+ # Specify a name that is unique in the AWS account. We recommend that
+ # you assign a name that hints at the type of traffic on the network.
+ # Names are case-sensitive.
+ #
+ # @option params [String] :request_id
+ # An ID that you assign to a create request. This ID ensures idempotency when creating resources.**A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [Array] :routes
+ # An array of routes that MediaLive Anywhere needs to know about in
+ # order to route encoding traffic.
+ #
+ # @option params [Hash] :tags
+ # A collection of key-value pairs.
+ #
+ # @return [Types::CreateNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::CreateNetworkResponse#arn #arn} => String
+ # * {Types::CreateNetworkResponse#associated_cluster_ids #associated_cluster_ids} => Array<String>
+ # * {Types::CreateNetworkResponse#id #id} => String
+ # * {Types::CreateNetworkResponse#ip_pools #ip_pools} => Array<Types::IpPool>
+ # * {Types::CreateNetworkResponse#name #name} => String
+ # * {Types::CreateNetworkResponse#routes #routes} => Array<Types::Route>
+ # * {Types::CreateNetworkResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.create_network({
+ # ip_pools: [
+ # {
+ # cidr: "__string",
+ # },
+ # ],
+ # name: "__string",
+ # request_id: "__string",
+ # routes: [
+ # {
+ # cidr: "__string",
+ # gateway: "__string",
+ # },
+ # ],
+ # tags: {
+ # "__string" => "__string",
+ # },
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.associated_cluster_ids #=> Array
+ # resp.associated_cluster_ids[0] #=> String
+ # resp.id #=> String
+ # resp.ip_pools #=> Array
+ # resp.ip_pools[0].cidr #=> String
+ # resp.name #=> String
+ # resp.routes #=> Array
+ # resp.routes[0].cidr #=> String
+ # resp.routes[0].gateway #=> String
+ # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "IDLE", "IN_USE", "UPDATING", "DELETE_FAILED", "DELETED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateNetwork AWS API Documentation
+ #
+ # @overload create_network(params = {})
+ # @param [Hash] params ({})
+ def create_network(params = {}, options = {})
+ req = build_request(:create_network, params)
+ req.send_request(options)
+ end
+
+ # Create a Node in the specified Cluster. You can also create Nodes
+ # using the CreateNodeRegistrationScript. Note that you can't move a
+ # Node to another Cluster.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @option params [String] :name
+ # The user-specified name of the Node to be created.
+ #
+ # @option params [Array] :node_interface_mappings
+ # An array of interface mappings for the Node. Each mapping logically
+ # connects one physical interface on the node hardware with one logical
+ # interface name. You created the logical names in the
+ # logicalInterfaceName parameter when you created the Cluster. Create
+ # one mapping for each physical interface on the node, but only for node
+ # interfaces that you plan to use for encoding content traffic (and not
+ # for any management-only interface). In each mapping pair, we recommend
+ # that you specify the logical name first, then assign the physical name
+ # that applies.The physicalInterfaceName is the final piece of data that
+ # associates a node interface with a network. The association works as
+ # follows: Node physicalInterfaceName > Node logicalInterfaceName =
+ # Cluster logicalInterfaceName > networkId.
+ #
+ # @option params [String] :request_id
+ # An ID that you assign to a create request. This ID ensures idempotency when creating resources.**A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [String] :role
+ # The initial role of the Node in the Cluster. ACTIVE means the Node is
+ # available for encoding. BACKUP means the Node is a redundant Node and
+ # might get used if an ACTIVE Node fails.
+ #
+ # @option params [Hash] :tags
+ # A collection of key-value pairs.
+ #
+ # @return [Types::CreateNodeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::CreateNodeResponse#arn #arn} => String
+ # * {Types::CreateNodeResponse#channel_placement_groups #channel_placement_groups} => Array<String>
+ # * {Types::CreateNodeResponse#cluster_id #cluster_id} => String
+ # * {Types::CreateNodeResponse#connection_state #connection_state} => String
+ # * {Types::CreateNodeResponse#id #id} => String
+ # * {Types::CreateNodeResponse#instance_arn #instance_arn} => String
+ # * {Types::CreateNodeResponse#name #name} => String
+ # * {Types::CreateNodeResponse#node_interface_mappings #node_interface_mappings} => Array<Types::NodeInterfaceMapping>
+ # * {Types::CreateNodeResponse#role #role} => String
+ # * {Types::CreateNodeResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.create_node({
+ # cluster_id: "__string", # required
+ # name: "__string",
+ # node_interface_mappings: [
+ # {
+ # logical_interface_name: "__string",
+ # network_interface_mode: "NAT", # accepts NAT, BRIDGE
+ # physical_interface_name: "__string",
+ # },
+ # ],
+ # request_id: "__string",
+ # role: "BACKUP", # accepts BACKUP, ACTIVE
+ # tags: {
+ # "__string" => "__string",
+ # },
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channel_placement_groups #=> Array
+ # resp.channel_placement_groups[0] #=> String
+ # resp.cluster_id #=> String
+ # resp.connection_state #=> String, one of "CONNECTED", "DISCONNECTED"
+ # resp.id #=> String
+ # resp.instance_arn #=> String
+ # resp.name #=> String
+ # resp.node_interface_mappings #=> Array
+ # resp.node_interface_mappings[0].logical_interface_name #=> String
+ # resp.node_interface_mappings[0].network_interface_mode #=> String, one of "NAT", "BRIDGE"
+ # resp.node_interface_mappings[0].physical_interface_name #=> String
+ # resp.role #=> String, one of "BACKUP", "ACTIVE"
+ # resp.state #=> String, one of "CREATED", "REGISTERING", "READY_TO_ACTIVATE", "REGISTRATION_FAILED", "ACTIVATION_FAILED", "ACTIVE", "READY", "IN_USE", "DEREGISTERING", "DRAINING", "DEREGISTRATION_FAILED", "DEREGISTERED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateNode AWS API Documentation
+ #
+ # @overload create_node(params = {})
+ # @param [Hash] params ({})
+ def create_node(params = {}, options = {})
+ req = build_request(:create_node, params)
+ req.send_request(options)
+ end
+
+ # Create the Register Node script for all the nodes intended for a
+ # specific Cluster. You will then run the script on each hardware unit
+ # that is intended for that Cluster. The script creates a Node in the
+ # specified Cluster. It then binds the Node to this hardware unit, and
+ # activates the node hardware for use with MediaLive Anywhere.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @option params [String] :id
+ # If you're generating a re-registration script for an already existing
+ # node, this is where you provide the id.
+ #
+ # @option params [String] :name
+ # Specify a pattern for MediaLive Anywhere to use to assign a name to
+ # each Node in the Cluster. The pattern can include the variables $hn
+ # (hostname of the node hardware) and $ts for the date and time that the
+ # Node is created, in UTC (for example, 2024-08-20T23:35:12Z).
+ #
+ # @option params [Array] :node_interface_mappings
+ # An array of interface mappings for the Node. Each mapping logically
+ # connects one physical interface on the node hardware with one logical
+ # interface name. This mapping associates a node interface with a
+ # network. The association works as follows: Node physicalInterfaceName
+ # > Node logicalInterfaceName = Cluster logicalInterfaceName >
+ # networkId.
+ #
+ # @option params [String] :request_id
+ # An ID that you assign to a create request. This ID ensures idempotency when creating resources.**A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.**
+ #
+ # @option params [String] :role
+ # The initial role of the Node in the Cluster. ACTIVE means the Node is
+ # available for encoding. BACKUP means the Node is a redundant Node and
+ # might get used if an ACTIVE Node fails.
+ #
+ # @return [Types::CreateNodeRegistrationScriptResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::CreateNodeRegistrationScriptResponse#node_registration_script #node_registration_script} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.create_node_registration_script({
+ # cluster_id: "__string", # required
+ # id: "__string",
+ # name: "__string",
+ # node_interface_mappings: [
+ # {
+ # logical_interface_name: "__string",
+ # network_interface_mode: "NAT", # accepts NAT, BRIDGE
+ # physical_interface_name: "__string",
+ # },
+ # ],
+ # request_id: "__string",
+ # role: "BACKUP", # accepts BACKUP, ACTIVE
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.node_registration_script #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateNodeRegistrationScript AWS API Documentation
+ #
+ # @overload create_node_registration_script(params = {})
+ # @param [Hash] params ({})
+ def create_node_registration_script(params = {}, options = {})
+ req = build_request(:create_node_registration_script, params)
+ req.send_request(options)
+ end
+
+ # Delete the specified ChannelPlacementGroup that exists in the
+ # specified Cluster.
+ #
+ # @option params [required, String] :channel_placement_group_id
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @return [Types::DeleteChannelPlacementGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DeleteChannelPlacementGroupResponse#arn #arn} => String
+ # * {Types::DeleteChannelPlacementGroupResponse#channels #channels} => Array<String>
+ # * {Types::DeleteChannelPlacementGroupResponse#cluster_id #cluster_id} => String
+ # * {Types::DeleteChannelPlacementGroupResponse#id #id} => String
+ # * {Types::DeleteChannelPlacementGroupResponse#name #name} => String
+ # * {Types::DeleteChannelPlacementGroupResponse#nodes #nodes} => Array<String>
+ # * {Types::DeleteChannelPlacementGroupResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.delete_channel_placement_group({
+ # channel_placement_group_id: "__string", # required
+ # cluster_id: "__string", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channels #=> Array
+ # resp.channels[0] #=> String
+ # resp.cluster_id #=> String
+ # resp.id #=> String
+ # resp.name #=> String
+ # resp.nodes #=> Array
+ # resp.nodes[0] #=> String
+ # resp.state #=> String, one of "UNASSIGNED", "ASSIGNING", "ASSIGNED", "DELETING", "DELETE_FAILED", "DELETED", "UNASSIGNING"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannelPlacementGroup AWS API Documentation
+ #
+ # @overload delete_channel_placement_group(params = {})
+ # @param [Hash] params ({})
+ def delete_channel_placement_group(params = {}, options = {})
+ req = build_request(:delete_channel_placement_group, params)
+ req.send_request(options)
+ end
+
+ # Delete a Cluster. The Cluster must be idle.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @return [Types::DeleteClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DeleteClusterResponse#arn #arn} => String
+ # * {Types::DeleteClusterResponse#channel_ids #channel_ids} => Array<String>
+ # * {Types::DeleteClusterResponse#cluster_type #cluster_type} => String
+ # * {Types::DeleteClusterResponse#id #id} => String
+ # * {Types::DeleteClusterResponse#instance_role_arn #instance_role_arn} => String
+ # * {Types::DeleteClusterResponse#name #name} => String
+ # * {Types::DeleteClusterResponse#network_settings #network_settings} => Types::ClusterNetworkSettings
+ # * {Types::DeleteClusterResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.delete_cluster({
+ # cluster_id: "__string", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channel_ids #=> Array
+ # resp.channel_ids[0] #=> String
+ # resp.cluster_type #=> String, one of "ON_PREMISES"
+ # resp.id #=> String
+ # resp.instance_role_arn #=> String
+ # resp.name #=> String
+ # resp.network_settings.default_route #=> String
+ # resp.network_settings.interface_mappings #=> Array
+ # resp.network_settings.interface_mappings[0].logical_interface_name #=> String
+ # resp.network_settings.interface_mappings[0].network_id #=> String
+ # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "DELETE_FAILED", "DELETED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteCluster AWS API Documentation
+ #
+ # @overload delete_cluster(params = {})
+ # @param [Hash] params ({})
+ def delete_cluster(params = {}, options = {})
+ req = build_request(:delete_cluster, params)
+ req.send_request(options)
+ end
+
+ # Delete a Network. The Network must have no resources associated with
+ # it.
+ #
+ # @option params [required, String] :network_id
+ #
+ # @return [Types::DeleteNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DeleteNetworkResponse#arn #arn} => String
+ # * {Types::DeleteNetworkResponse#associated_cluster_ids #associated_cluster_ids} => Array<String>
+ # * {Types::DeleteNetworkResponse#id #id} => String
+ # * {Types::DeleteNetworkResponse#ip_pools #ip_pools} => Array<Types::IpPool>
+ # * {Types::DeleteNetworkResponse#name #name} => String
+ # * {Types::DeleteNetworkResponse#routes #routes} => Array<Types::Route>
+ # * {Types::DeleteNetworkResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.delete_network({
+ # network_id: "__string", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.associated_cluster_ids #=> Array
+ # resp.associated_cluster_ids[0] #=> String
+ # resp.id #=> String
+ # resp.ip_pools #=> Array
+ # resp.ip_pools[0].cidr #=> String
+ # resp.name #=> String
+ # resp.routes #=> Array
+ # resp.routes[0].cidr #=> String
+ # resp.routes[0].gateway #=> String
+ # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "IDLE", "IN_USE", "UPDATING", "DELETE_FAILED", "DELETED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteNetwork AWS API Documentation
+ #
+ # @overload delete_network(params = {})
+ # @param [Hash] params ({})
+ def delete_network(params = {}, options = {})
+ req = build_request(:delete_network, params)
+ req.send_request(options)
+ end
+
+ # Delete a Node. The Node must be IDLE.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @option params [required, String] :node_id
+ #
+ # @return [Types::DeleteNodeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DeleteNodeResponse#arn #arn} => String
+ # * {Types::DeleteNodeResponse#channel_placement_groups #channel_placement_groups} => Array<String>
+ # * {Types::DeleteNodeResponse#cluster_id #cluster_id} => String
+ # * {Types::DeleteNodeResponse#connection_state #connection_state} => String
+ # * {Types::DeleteNodeResponse#id #id} => String
+ # * {Types::DeleteNodeResponse#instance_arn #instance_arn} => String
+ # * {Types::DeleteNodeResponse#name #name} => String
+ # * {Types::DeleteNodeResponse#node_interface_mappings #node_interface_mappings} => Array<Types::NodeInterfaceMapping>
+ # * {Types::DeleteNodeResponse#role #role} => String
+ # * {Types::DeleteNodeResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.delete_node({
+ # cluster_id: "__string", # required
+ # node_id: "__string", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channel_placement_groups #=> Array
+ # resp.channel_placement_groups[0] #=> String
+ # resp.cluster_id #=> String
+ # resp.connection_state #=> String, one of "CONNECTED", "DISCONNECTED"
+ # resp.id #=> String
+ # resp.instance_arn #=> String
+ # resp.name #=> String
+ # resp.node_interface_mappings #=> Array
+ # resp.node_interface_mappings[0].logical_interface_name #=> String
+ # resp.node_interface_mappings[0].network_interface_mode #=> String, one of "NAT", "BRIDGE"
+ # resp.node_interface_mappings[0].physical_interface_name #=> String
+ # resp.role #=> String, one of "BACKUP", "ACTIVE"
+ # resp.state #=> String, one of "CREATED", "REGISTERING", "READY_TO_ACTIVATE", "REGISTRATION_FAILED", "ACTIVATION_FAILED", "ACTIVE", "READY", "IN_USE", "DEREGISTERING", "DRAINING", "DEREGISTRATION_FAILED", "DEREGISTERED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteNode AWS API Documentation
+ #
+ # @overload delete_node(params = {})
+ # @param [Hash] params ({})
+ def delete_node(params = {}, options = {})
+ req = build_request(:delete_node, params)
+ req.send_request(options)
+ end
+
+ # Get details about a ChannelPlacementGroup.
+ #
+ # @option params [required, String] :channel_placement_group_id
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @return [Types::DescribeChannelPlacementGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DescribeChannelPlacementGroupResponse#arn #arn} => String
+ # * {Types::DescribeChannelPlacementGroupResponse#channels #channels} => Array<String>
+ # * {Types::DescribeChannelPlacementGroupResponse#cluster_id #cluster_id} => String
+ # * {Types::DescribeChannelPlacementGroupResponse#id #id} => String
+ # * {Types::DescribeChannelPlacementGroupResponse#name #name} => String
+ # * {Types::DescribeChannelPlacementGroupResponse#nodes #nodes} => Array<String>
+ # * {Types::DescribeChannelPlacementGroupResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.describe_channel_placement_group({
+ # channel_placement_group_id: "__string", # required
+ # cluster_id: "__string", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channels #=> Array
+ # resp.channels[0] #=> String
+ # resp.cluster_id #=> String
+ # resp.id #=> String
+ # resp.name #=> String
+ # resp.nodes #=> Array
+ # resp.nodes[0] #=> String
+ # resp.state #=> String, one of "UNASSIGNED", "ASSIGNING", "ASSIGNED", "DELETING", "DELETE_FAILED", "DELETED", "UNASSIGNING"
+ #
+ #
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
+ #
+ # * channel_placement_group_assigned
+ # * channel_placement_group_deleted
+ # * channel_placement_group_unassigned
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannelPlacementGroup AWS API Documentation
+ #
+ # @overload describe_channel_placement_group(params = {})
+ # @param [Hash] params ({})
+ def describe_channel_placement_group(params = {}, options = {})
+ req = build_request(:describe_channel_placement_group, params)
+ req.send_request(options)
+ end
+
+ # Get details about a Cluster.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @return [Types::DescribeClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DescribeClusterResponse#arn #arn} => String
+ # * {Types::DescribeClusterResponse#channel_ids #channel_ids} => Array<String>
+ # * {Types::DescribeClusterResponse#cluster_type #cluster_type} => String
+ # * {Types::DescribeClusterResponse#id #id} => String
+ # * {Types::DescribeClusterResponse#instance_role_arn #instance_role_arn} => String
+ # * {Types::DescribeClusterResponse#name #name} => String
+ # * {Types::DescribeClusterResponse#network_settings #network_settings} => Types::ClusterNetworkSettings
+ # * {Types::DescribeClusterResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.describe_cluster({
+ # cluster_id: "__string", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channel_ids #=> Array
+ # resp.channel_ids[0] #=> String
+ # resp.cluster_type #=> String, one of "ON_PREMISES"
+ # resp.id #=> String
+ # resp.instance_role_arn #=> String
+ # resp.name #=> String
+ # resp.network_settings.default_route #=> String
+ # resp.network_settings.interface_mappings #=> Array
+ # resp.network_settings.interface_mappings[0].logical_interface_name #=> String
+ # resp.network_settings.interface_mappings[0].network_id #=> String
+ # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "DELETE_FAILED", "DELETED"
+ #
+ #
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
+ #
+ # * cluster_created
+ # * cluster_deleted
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeCluster AWS API Documentation
+ #
+ # @overload describe_cluster(params = {})
+ # @param [Hash] params ({})
+ def describe_cluster(params = {}, options = {})
+ req = build_request(:describe_cluster, params)
+ req.send_request(options)
+ end
+
+ # Get details about a Network.
+ #
+ # @option params [required, String] :network_id
+ #
+ # @return [Types::DescribeNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DescribeNetworkResponse#arn #arn} => String
+ # * {Types::DescribeNetworkResponse#associated_cluster_ids #associated_cluster_ids} => Array<String>
+ # * {Types::DescribeNetworkResponse#id #id} => String
+ # * {Types::DescribeNetworkResponse#ip_pools #ip_pools} => Array<Types::IpPool>
+ # * {Types::DescribeNetworkResponse#name #name} => String
+ # * {Types::DescribeNetworkResponse#routes #routes} => Array<Types::Route>
+ # * {Types::DescribeNetworkResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.describe_network({
+ # network_id: "__string", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.associated_cluster_ids #=> Array
+ # resp.associated_cluster_ids[0] #=> String
+ # resp.id #=> String
+ # resp.ip_pools #=> Array
+ # resp.ip_pools[0].cidr #=> String
+ # resp.name #=> String
+ # resp.routes #=> Array
+ # resp.routes[0].cidr #=> String
+ # resp.routes[0].gateway #=> String
+ # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "IDLE", "IN_USE", "UPDATING", "DELETE_FAILED", "DELETED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeNetwork AWS API Documentation
+ #
+ # @overload describe_network(params = {})
+ # @param [Hash] params ({})
+ def describe_network(params = {}, options = {})
+ req = build_request(:describe_network, params)
+ req.send_request(options)
+ end
+
+ # Get details about a Node in the specified Cluster.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @option params [required, String] :node_id
+ #
+ # @return [Types::DescribeNodeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::DescribeNodeResponse#arn #arn} => String
+ # * {Types::DescribeNodeResponse#channel_placement_groups #channel_placement_groups} => Array<String>
+ # * {Types::DescribeNodeResponse#cluster_id #cluster_id} => String
+ # * {Types::DescribeNodeResponse#connection_state #connection_state} => String
+ # * {Types::DescribeNodeResponse#id #id} => String
+ # * {Types::DescribeNodeResponse#instance_arn #instance_arn} => String
+ # * {Types::DescribeNodeResponse#name #name} => String
+ # * {Types::DescribeNodeResponse#node_interface_mappings #node_interface_mappings} => Array<Types::NodeInterfaceMapping>
+ # * {Types::DescribeNodeResponse#role #role} => String
+ # * {Types::DescribeNodeResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.describe_node({
+ # cluster_id: "__string", # required
+ # node_id: "__string", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channel_placement_groups #=> Array
+ # resp.channel_placement_groups[0] #=> String
+ # resp.cluster_id #=> String
+ # resp.connection_state #=> String, one of "CONNECTED", "DISCONNECTED"
+ # resp.id #=> String
+ # resp.instance_arn #=> String
+ # resp.name #=> String
+ # resp.node_interface_mappings #=> Array
+ # resp.node_interface_mappings[0].logical_interface_name #=> String
+ # resp.node_interface_mappings[0].network_interface_mode #=> String, one of "NAT", "BRIDGE"
+ # resp.node_interface_mappings[0].physical_interface_name #=> String
+ # resp.role #=> String, one of "BACKUP", "ACTIVE"
+ # resp.state #=> String, one of "CREATED", "REGISTERING", "READY_TO_ACTIVATE", "REGISTRATION_FAILED", "ACTIVATION_FAILED", "ACTIVE", "READY", "IN_USE", "DEREGISTERING", "DRAINING", "DEREGISTRATION_FAILED", "DEREGISTERED"
+ #
+ #
+ # The following waiters are defined for this operation (see {Client#wait_until} for detailed usage):
+ #
+ # * node_deregistered
+ # * node_registered
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeNode AWS API Documentation
+ #
+ # @overload describe_node(params = {})
+ # @param [Hash] params ({})
+ def describe_node(params = {}, options = {})
+ req = build_request(:describe_node, params)
+ req.send_request(options)
+ end
+
+ # Retrieve the list of ChannelPlacementGroups in the specified Cluster.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @option params [Integer] :max_results
+ #
+ # @option params [String] :next_token
+ #
+ # @return [Types::ListChannelPlacementGroupsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListChannelPlacementGroupsResponse#channel_placement_groups #channel_placement_groups} => Array<Types::DescribeChannelPlacementGroupSummary>
+ # * {Types::ListChannelPlacementGroupsResponse#next_token #next_token} => String
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_channel_placement_groups({
+ # cluster_id: "__string", # required
+ # max_results: 1,
+ # next_token: "__string",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.channel_placement_groups #=> Array
+ # resp.channel_placement_groups[0].arn #=> String
+ # resp.channel_placement_groups[0].channels #=> Array
+ # resp.channel_placement_groups[0].channels[0] #=> String
+ # resp.channel_placement_groups[0].cluster_id #=> String
+ # resp.channel_placement_groups[0].id #=> String
+ # resp.channel_placement_groups[0].name #=> String
+ # resp.channel_placement_groups[0].nodes #=> Array
+ # resp.channel_placement_groups[0].nodes[0] #=> String
+ # resp.channel_placement_groups[0].state #=> String, one of "UNASSIGNED", "ASSIGNING", "ASSIGNED", "DELETING", "DELETE_FAILED", "DELETED", "UNASSIGNING"
+ # resp.next_token #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannelPlacementGroups AWS API Documentation
+ #
+ # @overload list_channel_placement_groups(params = {})
+ # @param [Hash] params ({})
+ def list_channel_placement_groups(params = {}, options = {})
+ req = build_request(:list_channel_placement_groups, params)
+ req.send_request(options)
+ end
+
+ # Retrieve the list of Clusters.
+ #
+ # @option params [Integer] :max_results
+ #
+ # @option params [String] :next_token
+ #
+ # @return [Types::ListClustersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListClustersResponse#clusters #clusters} => Array<Types::DescribeClusterSummary>
+ # * {Types::ListClustersResponse#next_token #next_token} => String
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_clusters({
+ # max_results: 1,
+ # next_token: "__string",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.clusters #=> Array
+ # resp.clusters[0].arn #=> String
+ # resp.clusters[0].channel_ids #=> Array
+ # resp.clusters[0].channel_ids[0] #=> String
+ # resp.clusters[0].cluster_type #=> String, one of "ON_PREMISES"
+ # resp.clusters[0].id #=> String
+ # resp.clusters[0].instance_role_arn #=> String
+ # resp.clusters[0].name #=> String
+ # resp.clusters[0].network_settings.default_route #=> String
+ # resp.clusters[0].network_settings.interface_mappings #=> Array
+ # resp.clusters[0].network_settings.interface_mappings[0].logical_interface_name #=> String
+ # resp.clusters[0].network_settings.interface_mappings[0].network_id #=> String
+ # resp.clusters[0].state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "DELETE_FAILED", "DELETED"
+ # resp.next_token #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListClusters AWS API Documentation
+ #
+ # @overload list_clusters(params = {})
+ # @param [Hash] params ({})
+ def list_clusters(params = {}, options = {})
+ req = build_request(:list_clusters, params)
+ req.send_request(options)
+ end
+
+ # Retrieve the list of Networks.
+ #
+ # @option params [Integer] :max_results
+ #
+ # @option params [String] :next_token
+ #
+ # @return [Types::ListNetworksResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListNetworksResponse#networks #networks} => Array<Types::DescribeNetworkSummary>
+ # * {Types::ListNetworksResponse#next_token #next_token} => String
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_networks({
+ # max_results: 1,
+ # next_token: "__string",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.networks #=> Array
+ # resp.networks[0].arn #=> String
+ # resp.networks[0].associated_cluster_ids #=> Array
+ # resp.networks[0].associated_cluster_ids[0] #=> String
+ # resp.networks[0].id #=> String
+ # resp.networks[0].ip_pools #=> Array
+ # resp.networks[0].ip_pools[0].cidr #=> String
+ # resp.networks[0].name #=> String
+ # resp.networks[0].routes #=> Array
+ # resp.networks[0].routes[0].cidr #=> String
+ # resp.networks[0].routes[0].gateway #=> String
+ # resp.networks[0].state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "IDLE", "IN_USE", "UPDATING", "DELETE_FAILED", "DELETED"
+ # resp.next_token #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListNetworks AWS API Documentation
+ #
+ # @overload list_networks(params = {})
+ # @param [Hash] params ({})
+ def list_networks(params = {}, options = {})
+ req = build_request(:list_networks, params)
+ req.send_request(options)
+ end
+
+ # Retrieve the list of Nodes.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @option params [Integer] :max_results
+ #
+ # @option params [String] :next_token
+ #
+ # @return [Types::ListNodesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListNodesResponse#next_token #next_token} => String
+ # * {Types::ListNodesResponse#nodes #nodes} => Array<Types::DescribeNodeSummary>
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_nodes({
+ # cluster_id: "__string", # required
+ # max_results: 1,
+ # next_token: "__string",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.next_token #=> String
+ # resp.nodes #=> Array
+ # resp.nodes[0].arn #=> String
+ # resp.nodes[0].channel_placement_groups #=> Array
+ # resp.nodes[0].channel_placement_groups[0] #=> String
+ # resp.nodes[0].cluster_id #=> String
+ # resp.nodes[0].connection_state #=> String, one of "CONNECTED", "DISCONNECTED"
+ # resp.nodes[0].id #=> String
+ # resp.nodes[0].instance_arn #=> String
+ # resp.nodes[0].managed_instance_id #=> String
+ # resp.nodes[0].name #=> String
+ # resp.nodes[0].node_interface_mappings #=> Array
+ # resp.nodes[0].node_interface_mappings[0].logical_interface_name #=> String
+ # resp.nodes[0].node_interface_mappings[0].network_interface_mode #=> String, one of "NAT", "BRIDGE"
+ # resp.nodes[0].node_interface_mappings[0].physical_interface_name #=> String
+ # resp.nodes[0].role #=> String, one of "BACKUP", "ACTIVE"
+ # resp.nodes[0].state #=> String, one of "CREATED", "REGISTERING", "READY_TO_ACTIVATE", "REGISTRATION_FAILED", "ACTIVATION_FAILED", "ACTIVE", "READY", "IN_USE", "DEREGISTERING", "DRAINING", "DEREGISTRATION_FAILED", "DEREGISTERED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListNodes AWS API Documentation
+ #
+ # @overload list_nodes(params = {})
+ # @param [Hash] params ({})
+ def list_nodes(params = {}, options = {})
+ req = build_request(:list_nodes, params)
+ req.send_request(options)
+ end
+
+ # Change the settings for a ChannelPlacementGroup.
+ #
+ # @option params [required, String] :channel_placement_group_id
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @option params [String] :name
+ # Include this parameter only if you want to change the current name of
+ # the ChannelPlacementGroup. Specify a name that is unique in the
+ # Cluster. You can't change the name. Names are case-sensitive.
+ #
+ # @option params [Array] :nodes
+ # Include this parameter only if you want to change the list of Nodes
+ # that are associated with the ChannelPlacementGroup.
+ #
+ # @return [Types::UpdateChannelPlacementGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::UpdateChannelPlacementGroupResponse#arn #arn} => String
+ # * {Types::UpdateChannelPlacementGroupResponse#channels #channels} => Array<String>
+ # * {Types::UpdateChannelPlacementGroupResponse#cluster_id #cluster_id} => String
+ # * {Types::UpdateChannelPlacementGroupResponse#id #id} => String
+ # * {Types::UpdateChannelPlacementGroupResponse#name #name} => String
+ # * {Types::UpdateChannelPlacementGroupResponse#nodes #nodes} => Array<String>
+ # * {Types::UpdateChannelPlacementGroupResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.update_channel_placement_group({
+ # channel_placement_group_id: "__string", # required
+ # cluster_id: "__string", # required
+ # name: "__string",
+ # nodes: ["__string"],
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channels #=> Array
+ # resp.channels[0] #=> String
+ # resp.cluster_id #=> String
+ # resp.id #=> String
+ # resp.name #=> String
+ # resp.nodes #=> Array
+ # resp.nodes[0] #=> String
+ # resp.state #=> String, one of "UNASSIGNED", "ASSIGNING", "ASSIGNED", "DELETING", "DELETE_FAILED", "DELETED", "UNASSIGNING"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelPlacementGroup AWS API Documentation
+ #
+ # @overload update_channel_placement_group(params = {})
+ # @param [Hash] params ({})
+ def update_channel_placement_group(params = {}, options = {})
+ req = build_request(:update_channel_placement_group, params)
+ req.send_request(options)
+ end
+
+ # Change the settings for a Cluster.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @option params [String] :name
+ # Include this parameter only if you want to change the current name of
+ # the Cluster. Specify a name that is unique in the AWS account. You
+ # can't change the name. Names are case-sensitive.
+ #
+ # @option params [Types::ClusterNetworkSettingsUpdateRequest] :network_settings
+ # Include this property only if you want to change the current
+ # connections between the Nodes in the Cluster and the Networks the
+ # Cluster is associated with.
+ #
+ # @return [Types::UpdateClusterResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::UpdateClusterResponse#arn #arn} => String
+ # * {Types::UpdateClusterResponse#channel_ids #channel_ids} => Array<String>
+ # * {Types::UpdateClusterResponse#cluster_type #cluster_type} => String
+ # * {Types::UpdateClusterResponse#id #id} => String
+ # * {Types::UpdateClusterResponse#name #name} => String
+ # * {Types::UpdateClusterResponse#network_settings #network_settings} => Types::ClusterNetworkSettings
+ # * {Types::UpdateClusterResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.update_cluster({
+ # cluster_id: "__string", # required
+ # name: "__string",
+ # network_settings: {
+ # default_route: "__string",
+ # interface_mappings: [
+ # {
+ # logical_interface_name: "__string",
+ # network_id: "__string",
+ # },
+ # ],
+ # },
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channel_ids #=> Array
+ # resp.channel_ids[0] #=> String
+ # resp.cluster_type #=> String, one of "ON_PREMISES"
+ # resp.id #=> String
+ # resp.name #=> String
+ # resp.network_settings.default_route #=> String
+ # resp.network_settings.interface_mappings #=> Array
+ # resp.network_settings.interface_mappings[0].logical_interface_name #=> String
+ # resp.network_settings.interface_mappings[0].network_id #=> String
+ # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "DELETE_FAILED", "DELETED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateCluster AWS API Documentation
+ #
+ # @overload update_cluster(params = {})
+ # @param [Hash] params ({})
+ def update_cluster(params = {}, options = {})
+ req = build_request(:update_cluster, params)
+ req.send_request(options)
+ end
+
+ # Change the settings for a Network.
+ #
+ # @option params [Array] :ip_pools
+ # Include this parameter only if you want to change the pool of IP
+ # addresses in the network. An array of IpPoolCreateRequests that
+ # identify a collection of IP addresses in this network that you want to
+ # reserve for use in MediaLive Anywhere. MediaLive Anywhere uses these
+ # IP addresses for Push inputs (in both Bridge and NAT networks) and for
+ # output destinations (only in Bridge networks). Each
+ # IpPoolUpdateRequest specifies one CIDR block.
+ #
+ # @option params [String] :name
+ # Include this parameter only if you want to change the name of the
+ # Network. Specify a name that is unique in the AWS account. Names are
+ # case-sensitive.
+ #
+ # @option params [required, String] :network_id
+ #
+ # @option params [Array] :routes
+ # Include this parameter only if you want to change or add routes in the
+ # Network. An array of Routes that MediaLive Anywhere needs to know
+ # about in order to route encoding traffic.
+ #
+ # @return [Types::UpdateNetworkResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::UpdateNetworkResponse#arn #arn} => String
+ # * {Types::UpdateNetworkResponse#associated_cluster_ids #associated_cluster_ids} => Array<String>
+ # * {Types::UpdateNetworkResponse#id #id} => String
+ # * {Types::UpdateNetworkResponse#ip_pools #ip_pools} => Array<Types::IpPool>
+ # * {Types::UpdateNetworkResponse#name #name} => String
+ # * {Types::UpdateNetworkResponse#routes #routes} => Array<Types::Route>
+ # * {Types::UpdateNetworkResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.update_network({
+ # ip_pools: [
+ # {
+ # cidr: "__string",
+ # },
+ # ],
+ # name: "__string",
+ # network_id: "__string", # required
+ # routes: [
+ # {
+ # cidr: "__string",
+ # gateway: "__string",
+ # },
+ # ],
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.associated_cluster_ids #=> Array
+ # resp.associated_cluster_ids[0] #=> String
+ # resp.id #=> String
+ # resp.ip_pools #=> Array
+ # resp.ip_pools[0].cidr #=> String
+ # resp.name #=> String
+ # resp.routes #=> Array
+ # resp.routes[0].cidr #=> String
+ # resp.routes[0].gateway #=> String
+ # resp.state #=> String, one of "CREATING", "CREATE_FAILED", "ACTIVE", "DELETING", "IDLE", "IN_USE", "UPDATING", "DELETE_FAILED", "DELETED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateNetwork AWS API Documentation
+ #
+ # @overload update_network(params = {})
+ # @param [Hash] params ({})
+ def update_network(params = {}, options = {})
+ req = build_request(:update_network, params)
+ req.send_request(options)
+ end
+
+ # Change the settings for a Node.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @option params [String] :name
+ # Include this parameter only if you want to change the current name of
+ # the Node. Specify a name that is unique in the Cluster. You can't
+ # change the name. Names are case-sensitive.
+ #
+ # @option params [required, String] :node_id
+ #
+ # @option params [String] :role
+ # The initial role of the Node in the Cluster. ACTIVE means the Node is
+ # available for encoding. BACKUP means the Node is a redundant Node and
+ # might get used if an ACTIVE Node fails.
+ #
+ # @return [Types::UpdateNodeResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::UpdateNodeResponse#arn #arn} => String
+ # * {Types::UpdateNodeResponse#channel_placement_groups #channel_placement_groups} => Array<String>
+ # * {Types::UpdateNodeResponse#cluster_id #cluster_id} => String
+ # * {Types::UpdateNodeResponse#connection_state #connection_state} => String
+ # * {Types::UpdateNodeResponse#id #id} => String
+ # * {Types::UpdateNodeResponse#instance_arn #instance_arn} => String
+ # * {Types::UpdateNodeResponse#name #name} => String
+ # * {Types::UpdateNodeResponse#node_interface_mappings #node_interface_mappings} => Array<Types::NodeInterfaceMapping>
+ # * {Types::UpdateNodeResponse#role #role} => String
+ # * {Types::UpdateNodeResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.update_node({
+ # cluster_id: "__string", # required
+ # name: "__string",
+ # node_id: "__string", # required
+ # role: "BACKUP", # accepts BACKUP, ACTIVE
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channel_placement_groups #=> Array
+ # resp.channel_placement_groups[0] #=> String
+ # resp.cluster_id #=> String
+ # resp.connection_state #=> String, one of "CONNECTED", "DISCONNECTED"
+ # resp.id #=> String
+ # resp.instance_arn #=> String
+ # resp.name #=> String
+ # resp.node_interface_mappings #=> Array
+ # resp.node_interface_mappings[0].logical_interface_name #=> String
+ # resp.node_interface_mappings[0].network_interface_mode #=> String, one of "NAT", "BRIDGE"
+ # resp.node_interface_mappings[0].physical_interface_name #=> String
+ # resp.role #=> String, one of "BACKUP", "ACTIVE"
+ # resp.state #=> String, one of "CREATED", "REGISTERING", "READY_TO_ACTIVATE", "REGISTRATION_FAILED", "ACTIVATION_FAILED", "ACTIVE", "READY", "IN_USE", "DEREGISTERING", "DRAINING", "DEREGISTRATION_FAILED", "DEREGISTERED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateNode AWS API Documentation
+ #
+ # @overload update_node(params = {})
+ # @param [Hash] params ({})
+ def update_node(params = {}, options = {})
+ req = build_request(:update_node, params)
+ req.send_request(options)
+ end
+
+ # Update the state of a node.
+ #
+ # @option params [required, String] :cluster_id
+ #
+ # @option params [required, String] :node_id
+ #
+ # @option params [String] :state
+ # The state to apply to the Node. Set to ACTIVE (COMMISSIONED) to
+ # indicate that the Node is deployable. MediaLive Anywhere will consider
+ # this node it needs a Node to run a Channel on, or when it needs a Node
+ # to promote from a backup node to an active node. Set to DRAINING to
+ # isolate the Node so that MediaLive Anywhere won't use it.
+ #
+ # @return [Types::UpdateNodeStateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::UpdateNodeStateResponse#arn #arn} => String
+ # * {Types::UpdateNodeStateResponse#channel_placement_groups #channel_placement_groups} => Array<String>
+ # * {Types::UpdateNodeStateResponse#cluster_id #cluster_id} => String
+ # * {Types::UpdateNodeStateResponse#connection_state #connection_state} => String
+ # * {Types::UpdateNodeStateResponse#id #id} => String
+ # * {Types::UpdateNodeStateResponse#instance_arn #instance_arn} => String
+ # * {Types::UpdateNodeStateResponse#name #name} => String
+ # * {Types::UpdateNodeStateResponse#node_interface_mappings #node_interface_mappings} => Array<Types::NodeInterfaceMapping>
+ # * {Types::UpdateNodeStateResponse#role #role} => String
+ # * {Types::UpdateNodeStateResponse#state #state} => String
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.update_node_state({
+ # cluster_id: "__string", # required
+ # node_id: "__string", # required
+ # state: "ACTIVE", # accepts ACTIVE, DRAINING
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.arn #=> String
+ # resp.channel_placement_groups #=> Array
+ # resp.channel_placement_groups[0] #=> String
+ # resp.cluster_id #=> String
+ # resp.connection_state #=> String, one of "CONNECTED", "DISCONNECTED"
+ # resp.id #=> String
+ # resp.instance_arn #=> String
+ # resp.name #=> String
+ # resp.node_interface_mappings #=> Array
+ # resp.node_interface_mappings[0].logical_interface_name #=> String
+ # resp.node_interface_mappings[0].network_interface_mode #=> String, one of "NAT", "BRIDGE"
+ # resp.node_interface_mappings[0].physical_interface_name #=> String
+ # resp.role #=> String, one of "BACKUP", "ACTIVE"
+ # resp.state #=> String, one of "CREATED", "REGISTERING", "READY_TO_ACTIVATE", "REGISTRATION_FAILED", "ACTIVATION_FAILED", "ACTIVE", "READY", "IN_USE", "DEREGISTERING", "DRAINING", "DEREGISTRATION_FAILED", "DEREGISTERED"
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateNodeState AWS API Documentation
+ #
+ # @overload update_node_state(params = {})
+ # @param [Hash] params ({})
+ def update_node_state(params = {}, options = {})
+ req = build_request(:update_node_state, params)
+ req.send_request(options)
+ end
+
# @!endgroup
# @param params ({})
@@ -11328,7 +13575,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-medialive'
- context[:gem_version] = '1.130.0'
+ context[:gem_version] = '1.133.0'
Seahorse::Client::Request.new(handlers, context)
end
@@ -11394,23 +13641,30 @@ def build_request(operation_name, params = {})
# The following table lists the valid waiter names, the operations they call,
# and the default `:delay` and `:max_attempts` values.
#
- # | waiter_name | params | :delay | :max_attempts |
- # | --------------------------- | --------------------------- | -------- | ------------- |
- # | channel_created | {Client#describe_channel} | 3 | 5 |
- # | channel_deleted | {Client#describe_channel} | 5 | 84 |
- # | channel_running | {Client#describe_channel} | 5 | 120 |
- # | channel_stopped | {Client#describe_channel} | 5 | 60 |
- # | input_attached | {Client#describe_input} | 5 | 20 |
- # | input_deleted | {Client#describe_input} | 5 | 20 |
- # | input_detached | {Client#describe_input} | 5 | 84 |
- # | multiplex_created | {Client#describe_multiplex} | 3 | 5 |
- # | multiplex_deleted | {Client#describe_multiplex} | 5 | 20 |
- # | multiplex_running | {Client#describe_multiplex} | 5 | 120 |
- # | multiplex_stopped | {Client#describe_multiplex} | 5 | 28 |
- # | signal_map_created | {Client#get_signal_map} | 5 | 60 |
- # | signal_map_monitor_deleted | {Client#get_signal_map} | 5 | 120 |
- # | signal_map_monitor_deployed | {Client#get_signal_map} | 5 | 120 |
- # | signal_map_updated | {Client#get_signal_map} | 5 | 60 |
+ # | waiter_name | params | :delay | :max_attempts |
+ # | ---------------------------------- | ----------------------------------------- | -------- | ------------- |
+ # | channel_created | {Client#describe_channel} | 3 | 5 |
+ # | channel_deleted | {Client#describe_channel} | 5 | 84 |
+ # | channel_placement_group_assigned | {Client#describe_channel_placement_group} | 3 | 5 |
+ # | channel_placement_group_deleted | {Client#describe_channel_placement_group} | 5 | 20 |
+ # | channel_placement_group_unassigned | {Client#describe_channel_placement_group} | 5 | 20 |
+ # | channel_running | {Client#describe_channel} | 5 | 120 |
+ # | channel_stopped | {Client#describe_channel} | 5 | 60 |
+ # | cluster_created | {Client#describe_cluster} | 3 | 5 |
+ # | cluster_deleted | {Client#describe_cluster} | 5 | 20 |
+ # | input_attached | {Client#describe_input} | 5 | 20 |
+ # | input_deleted | {Client#describe_input} | 5 | 20 |
+ # | input_detached | {Client#describe_input} | 5 | 84 |
+ # | multiplex_created | {Client#describe_multiplex} | 3 | 5 |
+ # | multiplex_deleted | {Client#describe_multiplex} | 5 | 20 |
+ # | multiplex_running | {Client#describe_multiplex} | 5 | 120 |
+ # | multiplex_stopped | {Client#describe_multiplex} | 5 | 28 |
+ # | node_deregistered | {Client#describe_node} | 5 | 20 |
+ # | node_registered | {Client#describe_node} | 3 | 5 |
+ # | signal_map_created | {Client#get_signal_map} | 5 | 60 |
+ # | signal_map_monitor_deleted | {Client#get_signal_map} | 5 | 120 |
+ # | signal_map_monitor_deployed | {Client#get_signal_map} | 5 | 120 |
+ # | signal_map_updated | {Client#get_signal_map} | 5 | 60 |
#
# @raise [Errors::FailureStateError] Raised when the waiter terminates
# because the waiter has entered a state that it will not transition
@@ -11463,8 +13717,13 @@ def waiters
{
channel_created: Waiters::ChannelCreated,
channel_deleted: Waiters::ChannelDeleted,
+ channel_placement_group_assigned: Waiters::ChannelPlacementGroupAssigned,
+ channel_placement_group_deleted: Waiters::ChannelPlacementGroupDeleted,
+ channel_placement_group_unassigned: Waiters::ChannelPlacementGroupUnassigned,
channel_running: Waiters::ChannelRunning,
channel_stopped: Waiters::ChannelStopped,
+ cluster_created: Waiters::ClusterCreated,
+ cluster_deleted: Waiters::ClusterDeleted,
input_attached: Waiters::InputAttached,
input_deleted: Waiters::InputDeleted,
input_detached: Waiters::InputDetached,
@@ -11472,6 +13731,8 @@ def waiters
multiplex_deleted: Waiters::MultiplexDeleted,
multiplex_running: Waiters::MultiplexRunning,
multiplex_stopped: Waiters::MultiplexStopped,
+ node_deregistered: Waiters::NodeDeregistered,
+ node_registered: Waiters::NodeRegistered,
signal_map_created: Waiters::SignalMapCreated,
signal_map_monitor_deleted: Waiters::SignalMapMonitorDeleted,
signal_map_monitor_deployed: Waiters::SignalMapMonitorDeployed,
diff --git a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/client_api.rb b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/client_api.rb
index aed26639ead..a760924e0c8 100644
--- a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/client_api.rb
+++ b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/client_api.rb
@@ -37,6 +37,7 @@ module ClientApi
AfdSignaling = Shapes::StringShape.new(name: 'AfdSignaling')
Algorithm = Shapes::StringShape.new(name: 'Algorithm')
AncillarySourceSettings = Shapes::StructureShape.new(name: 'AncillarySourceSettings')
+ AnywhereSettings = Shapes::StructureShape.new(name: 'AnywhereSettings')
ArchiveCdnSettings = Shapes::StructureShape.new(name: 'ArchiveCdnSettings')
ArchiveContainerSettings = Shapes::StructureShape.new(name: 'ArchiveContainerSettings')
ArchiveGroupSettings = Shapes::StructureShape.new(name: 'ArchiveGroupSettings')
@@ -70,6 +71,12 @@ module ClientApi
AudioWatermarkSettings = Shapes::StructureShape.new(name: 'AudioWatermarkSettings')
AuthenticationScheme = Shapes::StringShape.new(name: 'AuthenticationScheme')
AutomaticInputFailoverSettings = Shapes::StructureShape.new(name: 'AutomaticInputFailoverSettings')
+ Av1ColorSpaceSettings = Shapes::StructureShape.new(name: 'Av1ColorSpaceSettings')
+ Av1GopSizeUnits = Shapes::StringShape.new(name: 'Av1GopSizeUnits')
+ Av1Level = Shapes::StringShape.new(name: 'Av1Level')
+ Av1LookAheadRateControl = Shapes::StringShape.new(name: 'Av1LookAheadRateControl')
+ Av1SceneChangeDetect = Shapes::StringShape.new(name: 'Av1SceneChangeDetect')
+ Av1Settings = Shapes::StructureShape.new(name: 'Av1Settings')
AvailBlanking = Shapes::StructureShape.new(name: 'AvailBlanking')
AvailBlankingState = Shapes::StringShape.new(name: 'AvailBlankingState')
AvailConfiguration = Shapes::StructureShape.new(name: 'AvailConfiguration')
@@ -77,6 +84,9 @@ module ClientApi
BadGatewayException = Shapes::StructureShape.new(name: 'BadGatewayException')
BadRequestException = Shapes::StructureShape.new(name: 'BadRequestException')
BadRequestExceptionResponseContent = Shapes::StructureShape.new(name: 'BadRequestExceptionResponseContent')
+ BandwidthReductionFilterSettings = Shapes::StructureShape.new(name: 'BandwidthReductionFilterSettings')
+ BandwidthReductionFilterStrength = Shapes::StringShape.new(name: 'BandwidthReductionFilterStrength')
+ BandwidthReductionPostFilterSharpening = Shapes::StringShape.new(name: 'BandwidthReductionPostFilterSharpening')
BatchDelete = Shapes::StructureShape.new(name: 'BatchDelete')
BatchDeleteRequest = Shapes::StructureShape.new(name: 'BatchDeleteRequest')
BatchDeleteResponse = Shapes::StructureShape.new(name: 'BatchDeleteResponse')
@@ -123,6 +133,7 @@ module ClientApi
ChannelConfigurationValidationError = Shapes::StructureShape.new(name: 'ChannelConfigurationValidationError')
ChannelEgressEndpoint = Shapes::StructureShape.new(name: 'ChannelEgressEndpoint')
ChannelPipelineIdToRestart = Shapes::StringShape.new(name: 'ChannelPipelineIdToRestart')
+ ChannelPlacementGroupState = Shapes::StringShape.new(name: 'ChannelPlacementGroupState')
ChannelState = Shapes::StringShape.new(name: 'ChannelState')
ChannelSummary = Shapes::StructureShape.new(name: 'ChannelSummary')
ClaimDeviceRequest = Shapes::StructureShape.new(name: 'ClaimDeviceRequest')
@@ -133,6 +144,11 @@ module ClientApi
CloudWatchAlarmTemplateSummary = Shapes::StructureShape.new(name: 'CloudWatchAlarmTemplateSummary')
CloudWatchAlarmTemplateTargetResourceType = Shapes::StringShape.new(name: 'CloudWatchAlarmTemplateTargetResourceType')
CloudWatchAlarmTemplateTreatMissingData = Shapes::StringShape.new(name: 'CloudWatchAlarmTemplateTreatMissingData')
+ ClusterNetworkSettings = Shapes::StructureShape.new(name: 'ClusterNetworkSettings')
+ ClusterNetworkSettingsCreateRequest = Shapes::StructureShape.new(name: 'ClusterNetworkSettingsCreateRequest')
+ ClusterNetworkSettingsUpdateRequest = Shapes::StructureShape.new(name: 'ClusterNetworkSettingsUpdateRequest')
+ ClusterState = Shapes::StringShape.new(name: 'ClusterState')
+ ClusterType = Shapes::StringShape.new(name: 'ClusterType')
CmafIngestGroupSettings = Shapes::StructureShape.new(name: 'CmafIngestGroupSettings')
CmafIngestOutputSettings = Shapes::StructureShape.new(name: 'CmafIngestOutputSettings')
CmafIngestSegmentLengthUnits = Shapes::StringShape.new(name: 'CmafIngestSegmentLengthUnits')
@@ -145,6 +161,8 @@ module ClientApi
ConflictExceptionResponseContent = Shapes::StructureShape.new(name: 'ConflictExceptionResponseContent')
ContentType = Shapes::StringShape.new(name: 'ContentType')
CreateChannel = Shapes::StructureShape.new(name: 'CreateChannel')
+ CreateChannelPlacementGroupRequest = Shapes::StructureShape.new(name: 'CreateChannelPlacementGroupRequest')
+ CreateChannelPlacementGroupResponse = Shapes::StructureShape.new(name: 'CreateChannelPlacementGroupResponse')
CreateChannelRequest = Shapes::StructureShape.new(name: 'CreateChannelRequest')
CreateChannelResponse = Shapes::StructureShape.new(name: 'CreateChannelResponse')
CreateChannelResultModel = Shapes::StructureShape.new(name: 'CreateChannelResultModel')
@@ -156,6 +174,8 @@ module ClientApi
CreateCloudWatchAlarmTemplateRequestContent = Shapes::StructureShape.new(name: 'CreateCloudWatchAlarmTemplateRequestContent')
CreateCloudWatchAlarmTemplateResponse = Shapes::StructureShape.new(name: 'CreateCloudWatchAlarmTemplateResponse')
CreateCloudWatchAlarmTemplateResponseContent = Shapes::StructureShape.new(name: 'CreateCloudWatchAlarmTemplateResponseContent')
+ CreateClusterRequest = Shapes::StructureShape.new(name: 'CreateClusterRequest')
+ CreateClusterResponse = Shapes::StructureShape.new(name: 'CreateClusterResponse')
CreateEventBridgeRuleTemplateGroupRequest = Shapes::StructureShape.new(name: 'CreateEventBridgeRuleTemplateGroupRequest')
CreateEventBridgeRuleTemplateGroupRequestContent = Shapes::StructureShape.new(name: 'CreateEventBridgeRuleTemplateGroupRequestContent')
CreateEventBridgeRuleTemplateGroupResponse = Shapes::StructureShape.new(name: 'CreateEventBridgeRuleTemplateGroupResponse')
@@ -179,6 +199,13 @@ module ClientApi
CreateMultiplexRequest = Shapes::StructureShape.new(name: 'CreateMultiplexRequest')
CreateMultiplexResponse = Shapes::StructureShape.new(name: 'CreateMultiplexResponse')
CreateMultiplexResultModel = Shapes::StructureShape.new(name: 'CreateMultiplexResultModel')
+ CreateNetworkRequest = Shapes::StructureShape.new(name: 'CreateNetworkRequest')
+ CreateNetworkResponse = Shapes::StructureShape.new(name: 'CreateNetworkResponse')
+ CreateNodeRegistrationScriptRequest = Shapes::StructureShape.new(name: 'CreateNodeRegistrationScriptRequest')
+ CreateNodeRegistrationScriptResponse = Shapes::StructureShape.new(name: 'CreateNodeRegistrationScriptResponse')
+ CreateNodeRegistrationScriptResult = Shapes::StructureShape.new(name: 'CreateNodeRegistrationScriptResult')
+ CreateNodeRequest = Shapes::StructureShape.new(name: 'CreateNodeRequest')
+ CreateNodeResponse = Shapes::StructureShape.new(name: 'CreateNodeResponse')
CreatePartnerInput = Shapes::StructureShape.new(name: 'CreatePartnerInput')
CreatePartnerInputRequest = Shapes::StructureShape.new(name: 'CreatePartnerInputRequest')
CreatePartnerInputResponse = Shapes::StructureShape.new(name: 'CreatePartnerInputResponse')
@@ -190,10 +217,14 @@ module ClientApi
CreateTagsRequest = Shapes::StructureShape.new(name: 'CreateTagsRequest')
DashRoleAudio = Shapes::StringShape.new(name: 'DashRoleAudio')
DashRoleCaption = Shapes::StringShape.new(name: 'DashRoleCaption')
+ DeleteChannelPlacementGroupRequest = Shapes::StructureShape.new(name: 'DeleteChannelPlacementGroupRequest')
+ DeleteChannelPlacementGroupResponse = Shapes::StructureShape.new(name: 'DeleteChannelPlacementGroupResponse')
DeleteChannelRequest = Shapes::StructureShape.new(name: 'DeleteChannelRequest')
DeleteChannelResponse = Shapes::StructureShape.new(name: 'DeleteChannelResponse')
DeleteCloudWatchAlarmTemplateGroupRequest = Shapes::StructureShape.new(name: 'DeleteCloudWatchAlarmTemplateGroupRequest')
DeleteCloudWatchAlarmTemplateRequest = Shapes::StructureShape.new(name: 'DeleteCloudWatchAlarmTemplateRequest')
+ DeleteClusterRequest = Shapes::StructureShape.new(name: 'DeleteClusterRequest')
+ DeleteClusterResponse = Shapes::StructureShape.new(name: 'DeleteClusterResponse')
DeleteEventBridgeRuleTemplateGroupRequest = Shapes::StructureShape.new(name: 'DeleteEventBridgeRuleTemplateGroupRequest')
DeleteEventBridgeRuleTemplateRequest = Shapes::StructureShape.new(name: 'DeleteEventBridgeRuleTemplateRequest')
DeleteInputRequest = Shapes::StructureShape.new(name: 'DeleteInputRequest')
@@ -204,6 +235,10 @@ module ClientApi
DeleteMultiplexProgramResponse = Shapes::StructureShape.new(name: 'DeleteMultiplexProgramResponse')
DeleteMultiplexRequest = Shapes::StructureShape.new(name: 'DeleteMultiplexRequest')
DeleteMultiplexResponse = Shapes::StructureShape.new(name: 'DeleteMultiplexResponse')
+ DeleteNetworkRequest = Shapes::StructureShape.new(name: 'DeleteNetworkRequest')
+ DeleteNetworkResponse = Shapes::StructureShape.new(name: 'DeleteNetworkResponse')
+ DeleteNodeRequest = Shapes::StructureShape.new(name: 'DeleteNodeRequest')
+ DeleteNodeResponse = Shapes::StructureShape.new(name: 'DeleteNodeResponse')
DeleteReservationRequest = Shapes::StructureShape.new(name: 'DeleteReservationRequest')
DeleteReservationResponse = Shapes::StructureShape.new(name: 'DeleteReservationResponse')
DeleteScheduleRequest = Shapes::StructureShape.new(name: 'DeleteScheduleRequest')
@@ -213,8 +248,17 @@ module ClientApi
DescribeAccountConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeAccountConfigurationRequest')
DescribeAccountConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeAccountConfigurationResponse')
DescribeAccountConfigurationResultModel = Shapes::StructureShape.new(name: 'DescribeAccountConfigurationResultModel')
+ DescribeAnywhereSettings = Shapes::StructureShape.new(name: 'DescribeAnywhereSettings')
+ DescribeChannelPlacementGroupRequest = Shapes::StructureShape.new(name: 'DescribeChannelPlacementGroupRequest')
+ DescribeChannelPlacementGroupResponse = Shapes::StructureShape.new(name: 'DescribeChannelPlacementGroupResponse')
+ DescribeChannelPlacementGroupResult = Shapes::StructureShape.new(name: 'DescribeChannelPlacementGroupResult')
+ DescribeChannelPlacementGroupSummary = Shapes::StructureShape.new(name: 'DescribeChannelPlacementGroupSummary')
DescribeChannelRequest = Shapes::StructureShape.new(name: 'DescribeChannelRequest')
DescribeChannelResponse = Shapes::StructureShape.new(name: 'DescribeChannelResponse')
+ DescribeClusterRequest = Shapes::StructureShape.new(name: 'DescribeClusterRequest')
+ DescribeClusterResponse = Shapes::StructureShape.new(name: 'DescribeClusterResponse')
+ DescribeClusterResult = Shapes::StructureShape.new(name: 'DescribeClusterResult')
+ DescribeClusterSummary = Shapes::StructureShape.new(name: 'DescribeClusterSummary')
DescribeInputDeviceRequest = Shapes::StructureShape.new(name: 'DescribeInputDeviceRequest')
DescribeInputDeviceResponse = Shapes::StructureShape.new(name: 'DescribeInputDeviceResponse')
DescribeInputDeviceThumbnailRequest = Shapes::StructureShape.new(name: 'DescribeInputDeviceThumbnailRequest')
@@ -227,6 +271,14 @@ module ClientApi
DescribeMultiplexProgramResponse = Shapes::StructureShape.new(name: 'DescribeMultiplexProgramResponse')
DescribeMultiplexRequest = Shapes::StructureShape.new(name: 'DescribeMultiplexRequest')
DescribeMultiplexResponse = Shapes::StructureShape.new(name: 'DescribeMultiplexResponse')
+ DescribeNetworkRequest = Shapes::StructureShape.new(name: 'DescribeNetworkRequest')
+ DescribeNetworkResponse = Shapes::StructureShape.new(name: 'DescribeNetworkResponse')
+ DescribeNetworkResult = Shapes::StructureShape.new(name: 'DescribeNetworkResult')
+ DescribeNetworkSummary = Shapes::StructureShape.new(name: 'DescribeNetworkSummary')
+ DescribeNodeRequest = Shapes::StructureShape.new(name: 'DescribeNodeRequest')
+ DescribeNodeResponse = Shapes::StructureShape.new(name: 'DescribeNodeResponse')
+ DescribeNodeResult = Shapes::StructureShape.new(name: 'DescribeNodeResult')
+ DescribeNodeSummary = Shapes::StructureShape.new(name: 'DescribeNodeSummary')
DescribeOfferingRequest = Shapes::StructureShape.new(name: 'DescribeOfferingRequest')
DescribeOfferingResponse = Shapes::StructureShape.new(name: 'DescribeOfferingResponse')
DescribeReservationRequest = Shapes::StructureShape.new(name: 'DescribeReservationRequest')
@@ -434,6 +486,7 @@ module ClientApi
InputDenoiseFilter = Shapes::StringShape.new(name: 'InputDenoiseFilter')
InputDestination = Shapes::StructureShape.new(name: 'InputDestination')
InputDestinationRequest = Shapes::StructureShape.new(name: 'InputDestinationRequest')
+ InputDestinationRoute = Shapes::StructureShape.new(name: 'InputDestinationRoute')
InputDestinationVpc = Shapes::StructureShape.new(name: 'InputDestinationVpc')
InputDevice = Shapes::StructureShape.new(name: 'InputDevice')
InputDeviceActiveInput = Shapes::StringShape.new(name: 'InputDeviceActiveInput')
@@ -471,8 +524,10 @@ module ClientApi
InputLossFailoverSettings = Shapes::StructureShape.new(name: 'InputLossFailoverSettings')
InputLossImageType = Shapes::StringShape.new(name: 'InputLossImageType')
InputMaximumBitrate = Shapes::StringShape.new(name: 'InputMaximumBitrate')
+ InputNetworkLocation = Shapes::StringShape.new(name: 'InputNetworkLocation')
InputPreference = Shapes::StringShape.new(name: 'InputPreference')
InputPrepareScheduleActionSettings = Shapes::StructureShape.new(name: 'InputPrepareScheduleActionSettings')
+ InputRequestDestinationRoute = Shapes::StructureShape.new(name: 'InputRequestDestinationRoute')
InputResolution = Shapes::StringShape.new(name: 'InputResolution')
InputSecurityGroup = Shapes::StructureShape.new(name: 'InputSecurityGroup')
InputSecurityGroupState = Shapes::StringShape.new(name: 'InputSecurityGroupState')
@@ -490,13 +545,22 @@ module ClientApi
InputVpcRequest = Shapes::StructureShape.new(name: 'InputVpcRequest')
InputWhitelistRule = Shapes::StructureShape.new(name: 'InputWhitelistRule')
InputWhitelistRuleCidr = Shapes::StructureShape.new(name: 'InputWhitelistRuleCidr')
+ InterfaceMapping = Shapes::StructureShape.new(name: 'InterfaceMapping')
+ InterfaceMappingCreateRequest = Shapes::StructureShape.new(name: 'InterfaceMappingCreateRequest')
+ InterfaceMappingUpdateRequest = Shapes::StructureShape.new(name: 'InterfaceMappingUpdateRequest')
InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
InternalServerErrorExceptionResponseContent = Shapes::StructureShape.new(name: 'InternalServerErrorExceptionResponseContent')
InternalServiceError = Shapes::StructureShape.new(name: 'InternalServiceError')
InvalidRequest = Shapes::StructureShape.new(name: 'InvalidRequest')
+ IpPool = Shapes::StructureShape.new(name: 'IpPool')
+ IpPoolCreateRequest = Shapes::StructureShape.new(name: 'IpPoolCreateRequest')
+ IpPoolUpdateRequest = Shapes::StructureShape.new(name: 'IpPoolUpdateRequest')
KeyProviderSettings = Shapes::StructureShape.new(name: 'KeyProviderSettings')
LastFrameClippingBehavior = Shapes::StringShape.new(name: 'LastFrameClippingBehavior')
LimitExceeded = Shapes::StructureShape.new(name: 'LimitExceeded')
+ ListChannelPlacementGroupsRequest = Shapes::StructureShape.new(name: 'ListChannelPlacementGroupsRequest')
+ ListChannelPlacementGroupsResponse = Shapes::StructureShape.new(name: 'ListChannelPlacementGroupsResponse')
+ ListChannelPlacementGroupsResult = Shapes::StructureShape.new(name: 'ListChannelPlacementGroupsResult')
ListChannelsRequest = Shapes::StructureShape.new(name: 'ListChannelsRequest')
ListChannelsResponse = Shapes::StructureShape.new(name: 'ListChannelsResponse')
ListChannelsResultModel = Shapes::StructureShape.new(name: 'ListChannelsResultModel')
@@ -506,6 +570,9 @@ module ClientApi
ListCloudWatchAlarmTemplatesRequest = Shapes::StructureShape.new(name: 'ListCloudWatchAlarmTemplatesRequest')
ListCloudWatchAlarmTemplatesResponse = Shapes::StructureShape.new(name: 'ListCloudWatchAlarmTemplatesResponse')
ListCloudWatchAlarmTemplatesResponseContent = Shapes::StructureShape.new(name: 'ListCloudWatchAlarmTemplatesResponseContent')
+ ListClustersRequest = Shapes::StructureShape.new(name: 'ListClustersRequest')
+ ListClustersResponse = Shapes::StructureShape.new(name: 'ListClustersResponse')
+ ListClustersResult = Shapes::StructureShape.new(name: 'ListClustersResult')
ListEventBridgeRuleTemplateGroupsRequest = Shapes::StructureShape.new(name: 'ListEventBridgeRuleTemplateGroupsRequest')
ListEventBridgeRuleTemplateGroupsResponse = Shapes::StructureShape.new(name: 'ListEventBridgeRuleTemplateGroupsResponse')
ListEventBridgeRuleTemplateGroupsResponseContent = Shapes::StructureShape.new(name: 'ListEventBridgeRuleTemplateGroupsResponseContent')
@@ -530,6 +597,12 @@ module ClientApi
ListMultiplexesRequest = Shapes::StructureShape.new(name: 'ListMultiplexesRequest')
ListMultiplexesResponse = Shapes::StructureShape.new(name: 'ListMultiplexesResponse')
ListMultiplexesResultModel = Shapes::StructureShape.new(name: 'ListMultiplexesResultModel')
+ ListNetworksRequest = Shapes::StructureShape.new(name: 'ListNetworksRequest')
+ ListNetworksResponse = Shapes::StructureShape.new(name: 'ListNetworksResponse')
+ ListNetworksResult = Shapes::StructureShape.new(name: 'ListNetworksResult')
+ ListNodesRequest = Shapes::StructureShape.new(name: 'ListNodesRequest')
+ ListNodesResponse = Shapes::StructureShape.new(name: 'ListNodesResponse')
+ ListNodesResult = Shapes::StructureShape.new(name: 'ListNodesResult')
ListOfferingsRequest = Shapes::StructureShape.new(name: 'ListOfferingsRequest')
ListOfferingsResponse = Shapes::StructureShape.new(name: 'ListOfferingsResponse')
ListOfferingsResultModel = Shapes::StructureShape.new(name: 'ListOfferingsResultModel')
@@ -602,9 +675,18 @@ module ClientApi
MsSmoothGroupSettings = Shapes::StructureShape.new(name: 'MsSmoothGroupSettings')
MsSmoothH265PackagingType = Shapes::StringShape.new(name: 'MsSmoothH265PackagingType')
MsSmoothOutputSettings = Shapes::StructureShape.new(name: 'MsSmoothOutputSettings')
+ MulticastInputSettings = Shapes::StructureShape.new(name: 'MulticastInputSettings')
+ MulticastSettings = Shapes::StructureShape.new(name: 'MulticastSettings')
+ MulticastSettingsCreateRequest = Shapes::StructureShape.new(name: 'MulticastSettingsCreateRequest')
+ MulticastSettingsUpdateRequest = Shapes::StructureShape.new(name: 'MulticastSettingsUpdateRequest')
+ MulticastSource = Shapes::StructureShape.new(name: 'MulticastSource')
+ MulticastSourceCreateRequest = Shapes::StructureShape.new(name: 'MulticastSourceCreateRequest')
+ MulticastSourceUpdateRequest = Shapes::StructureShape.new(name: 'MulticastSourceUpdateRequest')
Multiplex = Shapes::StructureShape.new(name: 'Multiplex')
MultiplexConfigurationValidationError = Shapes::StructureShape.new(name: 'MultiplexConfigurationValidationError')
+ MultiplexContainerSettings = Shapes::StructureShape.new(name: 'MultiplexContainerSettings')
MultiplexGroupSettings = Shapes::StructureShape.new(name: 'MultiplexGroupSettings')
+ MultiplexM2tsSettings = Shapes::StructureShape.new(name: 'MultiplexM2tsSettings')
MultiplexMediaConnectOutputDestinationSettings = Shapes::StructureShape.new(name: 'MultiplexMediaConnectOutputDestinationSettings')
MultiplexOutputDestination = Shapes::StructureShape.new(name: 'MultiplexOutputDestination')
MultiplexOutputSettings = Shapes::StructureShape.new(name: 'MultiplexOutputSettings')
@@ -624,6 +706,8 @@ module ClientApi
MultiplexVideoSettings = Shapes::StructureShape.new(name: 'MultiplexVideoSettings')
NetworkInputServerValidation = Shapes::StringShape.new(name: 'NetworkInputServerValidation')
NetworkInputSettings = Shapes::StructureShape.new(name: 'NetworkInputSettings')
+ NetworkInterfaceMode = Shapes::StringShape.new(name: 'NetworkInterfaceMode')
+ NetworkState = Shapes::StringShape.new(name: 'NetworkState')
NielsenCBET = Shapes::StructureShape.new(name: 'NielsenCBET')
NielsenConfiguration = Shapes::StructureShape.new(name: 'NielsenConfiguration')
NielsenNaesIiNw = Shapes::StructureShape.new(name: 'NielsenNaesIiNw')
@@ -632,6 +716,12 @@ module ClientApi
NielsenWatermarksCbetStepaside = Shapes::StringShape.new(name: 'NielsenWatermarksCbetStepaside')
NielsenWatermarksDistributionTypes = Shapes::StringShape.new(name: 'NielsenWatermarksDistributionTypes')
NielsenWatermarksSettings = Shapes::StructureShape.new(name: 'NielsenWatermarksSettings')
+ NodeConfigurationValidationError = Shapes::StructureShape.new(name: 'NodeConfigurationValidationError')
+ NodeConnectionState = Shapes::StringShape.new(name: 'NodeConnectionState')
+ NodeInterfaceMapping = Shapes::StructureShape.new(name: 'NodeInterfaceMapping')
+ NodeInterfaceMappingCreateRequest = Shapes::StructureShape.new(name: 'NodeInterfaceMappingCreateRequest')
+ NodeRole = Shapes::StringShape.new(name: 'NodeRole')
+ NodeState = Shapes::StringShape.new(name: 'NodeState')
NotFoundException = Shapes::StructureShape.new(name: 'NotFoundException')
NotFoundExceptionResponseContent = Shapes::StructureShape.new(name: 'NotFoundExceptionResponseContent')
Offering = Shapes::StructureShape.new(name: 'Offering')
@@ -682,6 +772,9 @@ module ClientApi
ResourceNotFound = Shapes::StructureShape.new(name: 'ResourceNotFound')
RestartChannelPipelinesRequest = Shapes::StructureShape.new(name: 'RestartChannelPipelinesRequest')
RestartChannelPipelinesResponse = Shapes::StructureShape.new(name: 'RestartChannelPipelinesResponse')
+ Route = Shapes::StructureShape.new(name: 'Route')
+ RouteCreateRequest = Shapes::StructureShape.new(name: 'RouteCreateRequest')
+ RouteUpdateRequest = Shapes::StructureShape.new(name: 'RouteUpdateRequest')
RtmpAdMarkers = Shapes::StringShape.new(name: 'RtmpAdMarkers')
RtmpCacheFullBehavior = Shapes::StringShape.new(name: 'RtmpCacheFullBehavior')
RtmpCaptionData = Shapes::StringShape.new(name: 'RtmpCaptionData')
@@ -740,6 +833,10 @@ module ClientApi
SrtCallerDecryptionRequest = Shapes::StructureShape.new(name: 'SrtCallerDecryptionRequest')
SrtCallerSource = Shapes::StructureShape.new(name: 'SrtCallerSource')
SrtCallerSourceRequest = Shapes::StructureShape.new(name: 'SrtCallerSourceRequest')
+ SrtEncryptionType = Shapes::StringShape.new(name: 'SrtEncryptionType')
+ SrtGroupSettings = Shapes::StructureShape.new(name: 'SrtGroupSettings')
+ SrtOutputDestinationSettings = Shapes::StructureShape.new(name: 'SrtOutputDestinationSettings')
+ SrtOutputSettings = Shapes::StructureShape.new(name: 'SrtOutputSettings')
SrtSettings = Shapes::StructureShape.new(name: 'SrtSettings')
SrtSettingsRequest = Shapes::StructureShape.new(name: 'SrtSettingsRequest')
StandardHlsSettings = Shapes::StructureShape.new(name: 'StandardHlsSettings')
@@ -817,6 +914,8 @@ module ClientApi
UpdateChannelClass = Shapes::StructureShape.new(name: 'UpdateChannelClass')
UpdateChannelClassRequest = Shapes::StructureShape.new(name: 'UpdateChannelClassRequest')
UpdateChannelClassResponse = Shapes::StructureShape.new(name: 'UpdateChannelClassResponse')
+ UpdateChannelPlacementGroupRequest = Shapes::StructureShape.new(name: 'UpdateChannelPlacementGroupRequest')
+ UpdateChannelPlacementGroupResponse = Shapes::StructureShape.new(name: 'UpdateChannelPlacementGroupResponse')
UpdateChannelRequest = Shapes::StructureShape.new(name: 'UpdateChannelRequest')
UpdateChannelResponse = Shapes::StructureShape.new(name: 'UpdateChannelResponse')
UpdateChannelResultModel = Shapes::StructureShape.new(name: 'UpdateChannelResultModel')
@@ -828,6 +927,9 @@ module ClientApi
UpdateCloudWatchAlarmTemplateRequestContent = Shapes::StructureShape.new(name: 'UpdateCloudWatchAlarmTemplateRequestContent')
UpdateCloudWatchAlarmTemplateResponse = Shapes::StructureShape.new(name: 'UpdateCloudWatchAlarmTemplateResponse')
UpdateCloudWatchAlarmTemplateResponseContent = Shapes::StructureShape.new(name: 'UpdateCloudWatchAlarmTemplateResponseContent')
+ UpdateClusterRequest = Shapes::StructureShape.new(name: 'UpdateClusterRequest')
+ UpdateClusterResponse = Shapes::StructureShape.new(name: 'UpdateClusterResponse')
+ UpdateClusterResult = Shapes::StructureShape.new(name: 'UpdateClusterResult')
UpdateEventBridgeRuleTemplateGroupRequest = Shapes::StructureShape.new(name: 'UpdateEventBridgeRuleTemplateGroupRequest')
UpdateEventBridgeRuleTemplateGroupRequestContent = Shapes::StructureShape.new(name: 'UpdateEventBridgeRuleTemplateGroupRequestContent')
UpdateEventBridgeRuleTemplateGroupResponse = Shapes::StructureShape.new(name: 'UpdateEventBridgeRuleTemplateGroupResponse')
@@ -854,6 +956,14 @@ module ClientApi
UpdateMultiplexRequest = Shapes::StructureShape.new(name: 'UpdateMultiplexRequest')
UpdateMultiplexResponse = Shapes::StructureShape.new(name: 'UpdateMultiplexResponse')
UpdateMultiplexResultModel = Shapes::StructureShape.new(name: 'UpdateMultiplexResultModel')
+ UpdateNetworkRequest = Shapes::StructureShape.new(name: 'UpdateNetworkRequest')
+ UpdateNetworkResponse = Shapes::StructureShape.new(name: 'UpdateNetworkResponse')
+ UpdateNetworkResult = Shapes::StructureShape.new(name: 'UpdateNetworkResult')
+ UpdateNodeRequest = Shapes::StructureShape.new(name: 'UpdateNodeRequest')
+ UpdateNodeResponse = Shapes::StructureShape.new(name: 'UpdateNodeResponse')
+ UpdateNodeState = Shapes::StringShape.new(name: 'UpdateNodeState')
+ UpdateNodeStateRequest = Shapes::StructureShape.new(name: 'UpdateNodeStateRequest')
+ UpdateNodeStateResponse = Shapes::StructureShape.new(name: 'UpdateNodeStateResponse')
UpdateReservation = Shapes::StructureShape.new(name: 'UpdateReservation')
UpdateReservationRequest = Shapes::StructureShape.new(name: 'UpdateReservationRequest')
UpdateReservationResponse = Shapes::StructureShape.new(name: 'UpdateReservationResponse')
@@ -939,7 +1049,10 @@ module ClientApi
__integerMin3 = Shapes::IntegerShape.new(name: '__integerMin3')
__integerMin30 = Shapes::IntegerShape.new(name: '__integerMin30')
__integerMin32Max8191 = Shapes::IntegerShape.new(name: '__integerMin32Max8191')
+ __integerMin40Max16000 = Shapes::IntegerShape.new(name: '__integerMin40Max16000')
__integerMin4Max20 = Shapes::IntegerShape.new(name: '__integerMin4Max20')
+ __integerMin50000Max16000000 = Shapes::IntegerShape.new(name: '__integerMin50000Max16000000')
+ __integerMin50000Max8000000 = Shapes::IntegerShape.new(name: '__integerMin50000Max8000000')
__integerMin64Max2160 = Shapes::IntegerShape.new(name: '__integerMin64Max2160')
__integerMin800Max3000 = Shapes::IntegerShape.new(name: '__integerMin800Max3000')
__integerMin96Max600 = Shapes::IntegerShape.new(name: '__integerMin96Max600')
@@ -964,6 +1077,10 @@ module ClientApi
__listOfColorCorrection = Shapes::ListShape.new(name: '__listOfColorCorrection')
__listOfDashRoleAudio = Shapes::ListShape.new(name: '__listOfDashRoleAudio')
__listOfDashRoleCaption = Shapes::ListShape.new(name: '__listOfDashRoleCaption')
+ __listOfDescribeChannelPlacementGroupSummary = Shapes::ListShape.new(name: '__listOfDescribeChannelPlacementGroupSummary')
+ __listOfDescribeClusterSummary = Shapes::ListShape.new(name: '__listOfDescribeClusterSummary')
+ __listOfDescribeNetworkSummary = Shapes::ListShape.new(name: '__listOfDescribeNetworkSummary')
+ __listOfDescribeNodeSummary = Shapes::ListShape.new(name: '__listOfDescribeNodeSummary')
__listOfEventBridgeRuleTemplateGroupSummary = Shapes::ListShape.new(name: '__listOfEventBridgeRuleTemplateGroupSummary')
__listOfEventBridgeRuleTemplateSummary = Shapes::ListShape.new(name: '__listOfEventBridgeRuleTemplateSummary')
__listOfEventBridgeRuleTemplateTarget = Shapes::ListShape.new(name: '__listOfEventBridgeRuleTemplateTarget')
@@ -974,24 +1091,37 @@ module ClientApi
__listOfInputChannelLevel = Shapes::ListShape.new(name: '__listOfInputChannelLevel')
__listOfInputDestination = Shapes::ListShape.new(name: '__listOfInputDestination')
__listOfInputDestinationRequest = Shapes::ListShape.new(name: '__listOfInputDestinationRequest')
+ __listOfInputDestinationRoute = Shapes::ListShape.new(name: '__listOfInputDestinationRoute')
__listOfInputDeviceConfigurableAudioChannelPairConfig = Shapes::ListShape.new(name: '__listOfInputDeviceConfigurableAudioChannelPairConfig')
__listOfInputDeviceRequest = Shapes::ListShape.new(name: '__listOfInputDeviceRequest')
__listOfInputDeviceSettings = Shapes::ListShape.new(name: '__listOfInputDeviceSettings')
__listOfInputDeviceSummary = Shapes::ListShape.new(name: '__listOfInputDeviceSummary')
__listOfInputDeviceUhdAudioChannelPairConfig = Shapes::ListShape.new(name: '__listOfInputDeviceUhdAudioChannelPairConfig')
+ __listOfInputRequestDestinationRoute = Shapes::ListShape.new(name: '__listOfInputRequestDestinationRoute')
__listOfInputSecurityGroup = Shapes::ListShape.new(name: '__listOfInputSecurityGroup')
__listOfInputSource = Shapes::ListShape.new(name: '__listOfInputSource')
__listOfInputSourceRequest = Shapes::ListShape.new(name: '__listOfInputSourceRequest')
__listOfInputWhitelistRule = Shapes::ListShape.new(name: '__listOfInputWhitelistRule')
__listOfInputWhitelistRuleCidr = Shapes::ListShape.new(name: '__listOfInputWhitelistRuleCidr')
+ __listOfInterfaceMapping = Shapes::ListShape.new(name: '__listOfInterfaceMapping')
+ __listOfInterfaceMappingCreateRequest = Shapes::ListShape.new(name: '__listOfInterfaceMappingCreateRequest')
+ __listOfInterfaceMappingUpdateRequest = Shapes::ListShape.new(name: '__listOfInterfaceMappingUpdateRequest')
+ __listOfIpPool = Shapes::ListShape.new(name: '__listOfIpPool')
+ __listOfIpPoolCreateRequest = Shapes::ListShape.new(name: '__listOfIpPoolCreateRequest')
+ __listOfIpPoolUpdateRequest = Shapes::ListShape.new(name: '__listOfIpPoolUpdateRequest')
__listOfMediaConnectFlow = Shapes::ListShape.new(name: '__listOfMediaConnectFlow')
__listOfMediaConnectFlowRequest = Shapes::ListShape.new(name: '__listOfMediaConnectFlowRequest')
__listOfMediaPackageOutputDestinationSettings = Shapes::ListShape.new(name: '__listOfMediaPackageOutputDestinationSettings')
__listOfMediaResourceNeighbor = Shapes::ListShape.new(name: '__listOfMediaResourceNeighbor')
+ __listOfMulticastSource = Shapes::ListShape.new(name: '__listOfMulticastSource')
+ __listOfMulticastSourceCreateRequest = Shapes::ListShape.new(name: '__listOfMulticastSourceCreateRequest')
+ __listOfMulticastSourceUpdateRequest = Shapes::ListShape.new(name: '__listOfMulticastSourceUpdateRequest')
__listOfMultiplexOutputDestination = Shapes::ListShape.new(name: '__listOfMultiplexOutputDestination')
__listOfMultiplexProgramPipelineDetail = Shapes::ListShape.new(name: '__listOfMultiplexProgramPipelineDetail')
__listOfMultiplexProgramSummary = Shapes::ListShape.new(name: '__listOfMultiplexProgramSummary')
__listOfMultiplexSummary = Shapes::ListShape.new(name: '__listOfMultiplexSummary')
+ __listOfNodeInterfaceMapping = Shapes::ListShape.new(name: '__listOfNodeInterfaceMapping')
+ __listOfNodeInterfaceMappingCreateRequest = Shapes::ListShape.new(name: '__listOfNodeInterfaceMappingCreateRequest')
__listOfOffering = Shapes::ListShape.new(name: '__listOfOffering')
__listOfOutput = Shapes::ListShape.new(name: '__listOfOutput')
__listOfOutputDestination = Shapes::ListShape.new(name: '__listOfOutputDestination')
@@ -1000,12 +1130,16 @@ module ClientApi
__listOfPipelineDetail = Shapes::ListShape.new(name: '__listOfPipelineDetail')
__listOfPipelinePauseStateSettings = Shapes::ListShape.new(name: '__listOfPipelinePauseStateSettings')
__listOfReservation = Shapes::ListShape.new(name: '__listOfReservation')
+ __listOfRoute = Shapes::ListShape.new(name: '__listOfRoute')
+ __listOfRouteCreateRequest = Shapes::ListShape.new(name: '__listOfRouteCreateRequest')
+ __listOfRouteUpdateRequest = Shapes::ListShape.new(name: '__listOfRouteUpdateRequest')
__listOfRtmpAdMarkers = Shapes::ListShape.new(name: '__listOfRtmpAdMarkers')
__listOfScheduleAction = Shapes::ListShape.new(name: '__listOfScheduleAction')
__listOfScte35Descriptor = Shapes::ListShape.new(name: '__listOfScte35Descriptor')
__listOfSignalMapSummary = Shapes::ListShape.new(name: '__listOfSignalMapSummary')
__listOfSrtCallerSource = Shapes::ListShape.new(name: '__listOfSrtCallerSource')
__listOfSrtCallerSourceRequest = Shapes::ListShape.new(name: '__listOfSrtCallerSourceRequest')
+ __listOfSrtOutputDestinationSettings = Shapes::ListShape.new(name: '__listOfSrtOutputDestinationSettings')
__listOfThumbnail = Shapes::ListShape.new(name: '__listOfThumbnail')
__listOfThumbnailDetail = Shapes::ListShape.new(name: '__listOfThumbnailDetail')
__listOfTransferringInputDeviceSummary = Shapes::ListShape.new(name: '__listOfTransferringInputDeviceSummary')
@@ -1088,6 +1222,10 @@ module ClientApi
AncillarySourceSettings.add_member(:source_ancillary_channel_number, Shapes::ShapeRef.new(shape: __integerMin1Max4, location_name: "sourceAncillaryChannelNumber"))
AncillarySourceSettings.struct_class = Types::AncillarySourceSettings
+ AnywhereSettings.add_member(:channel_placement_group_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelPlacementGroupId"))
+ AnywhereSettings.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ AnywhereSettings.struct_class = Types::AnywhereSettings
+
ArchiveCdnSettings.add_member(:archive_s3_settings, Shapes::ShapeRef.new(shape: ArchiveS3Settings, location_name: "archiveS3Settings"))
ArchiveCdnSettings.struct_class = Types::ArchiveCdnSettings
@@ -1195,6 +1333,31 @@ module ClientApi
AutomaticInputFailoverSettings.add_member(:secondary_input_id, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "secondaryInputId"))
AutomaticInputFailoverSettings.struct_class = Types::AutomaticInputFailoverSettings
+ Av1ColorSpaceSettings.add_member(:color_space_passthrough_settings, Shapes::ShapeRef.new(shape: ColorSpacePassthroughSettings, location_name: "colorSpacePassthroughSettings"))
+ Av1ColorSpaceSettings.add_member(:hdr_10_settings, Shapes::ShapeRef.new(shape: Hdr10Settings, location_name: "hdr10Settings"))
+ Av1ColorSpaceSettings.add_member(:rec_601_settings, Shapes::ShapeRef.new(shape: Rec601Settings, location_name: "rec601Settings"))
+ Av1ColorSpaceSettings.add_member(:rec_709_settings, Shapes::ShapeRef.new(shape: Rec709Settings, location_name: "rec709Settings"))
+ Av1ColorSpaceSettings.struct_class = Types::Av1ColorSpaceSettings
+
+ Av1Settings.add_member(:afd_signaling, Shapes::ShapeRef.new(shape: AfdSignaling, location_name: "afdSignaling"))
+ Av1Settings.add_member(:buf_size, Shapes::ShapeRef.new(shape: __integerMin50000Max16000000, location_name: "bufSize"))
+ Av1Settings.add_member(:color_space_settings, Shapes::ShapeRef.new(shape: Av1ColorSpaceSettings, location_name: "colorSpaceSettings"))
+ Av1Settings.add_member(:fixed_afd, Shapes::ShapeRef.new(shape: FixedAfd, location_name: "fixedAfd"))
+ Av1Settings.add_member(:framerate_denominator, Shapes::ShapeRef.new(shape: __integerMin1Max3003, required: true, location_name: "framerateDenominator"))
+ Av1Settings.add_member(:framerate_numerator, Shapes::ShapeRef.new(shape: __integerMin1, required: true, location_name: "framerateNumerator"))
+ Av1Settings.add_member(:gop_size, Shapes::ShapeRef.new(shape: __doubleMin0, location_name: "gopSize"))
+ Av1Settings.add_member(:gop_size_units, Shapes::ShapeRef.new(shape: Av1GopSizeUnits, location_name: "gopSizeUnits"))
+ Av1Settings.add_member(:level, Shapes::ShapeRef.new(shape: Av1Level, location_name: "level"))
+ Av1Settings.add_member(:look_ahead_rate_control, Shapes::ShapeRef.new(shape: Av1LookAheadRateControl, location_name: "lookAheadRateControl"))
+ Av1Settings.add_member(:max_bitrate, Shapes::ShapeRef.new(shape: __integerMin50000Max8000000, location_name: "maxBitrate"))
+ Av1Settings.add_member(:min_i_interval, Shapes::ShapeRef.new(shape: __integerMin0Max30, location_name: "minIInterval"))
+ Av1Settings.add_member(:par_denominator, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "parDenominator"))
+ Av1Settings.add_member(:par_numerator, Shapes::ShapeRef.new(shape: __integerMin1, location_name: "parNumerator"))
+ Av1Settings.add_member(:qvbr_quality_level, Shapes::ShapeRef.new(shape: __integerMin1Max10, location_name: "qvbrQualityLevel"))
+ Av1Settings.add_member(:scene_change_detect, Shapes::ShapeRef.new(shape: Av1SceneChangeDetect, location_name: "sceneChangeDetect"))
+ Av1Settings.add_member(:timecode_burnin_settings, Shapes::ShapeRef.new(shape: TimecodeBurninSettings, location_name: "timecodeBurninSettings"))
+ Av1Settings.struct_class = Types::Av1Settings
+
AvailBlanking.add_member(:avail_blanking_image, Shapes::ShapeRef.new(shape: InputLocation, location_name: "availBlankingImage"))
AvailBlanking.add_member(:state, Shapes::ShapeRef.new(shape: AvailBlankingState, location_name: "state"))
AvailBlanking.struct_class = Types::AvailBlanking
@@ -1217,6 +1380,10 @@ module ClientApi
BadRequestExceptionResponseContent.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
BadRequestExceptionResponseContent.struct_class = Types::BadRequestExceptionResponseContent
+ BandwidthReductionFilterSettings.add_member(:post_filter_sharpening, Shapes::ShapeRef.new(shape: BandwidthReductionPostFilterSharpening, location_name: "postFilterSharpening"))
+ BandwidthReductionFilterSettings.add_member(:strength, Shapes::ShapeRef.new(shape: BandwidthReductionFilterStrength, location_name: "strength"))
+ BandwidthReductionFilterSettings.struct_class = Types::BandwidthReductionFilterSettings
+
BatchDelete.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
BatchDelete.add_member(:input_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputIds"))
BatchDelete.add_member(:input_security_group_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputSecurityGroupIds"))
@@ -1407,6 +1574,7 @@ module ClientApi
Channel.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
Channel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
Channel.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcOutputSettingsDescription, location_name: "vpc"))
+ Channel.add_member(:anywhere_settings, Shapes::ShapeRef.new(shape: DescribeAnywhereSettings, location_name: "anywhereSettings"))
Channel.struct_class = Types::Channel
ChannelConfigurationValidationError.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
@@ -1432,6 +1600,7 @@ module ClientApi
ChannelSummary.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
ChannelSummary.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
ChannelSummary.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcOutputSettingsDescription, location_name: "vpc"))
+ ChannelSummary.add_member(:anywhere_settings, Shapes::ShapeRef.new(shape: DescribeAnywhereSettings, location_name: "anywhereSettings"))
ChannelSummary.struct_class = Types::ChannelSummary
ClaimDeviceRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
@@ -1468,6 +1637,18 @@ module ClientApi
CloudWatchAlarmTemplateSummary.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: CloudWatchAlarmTemplateTreatMissingData, required: true, location_name: "treatMissingData"))
CloudWatchAlarmTemplateSummary.struct_class = Types::CloudWatchAlarmTemplateSummary
+ ClusterNetworkSettings.add_member(:default_route, Shapes::ShapeRef.new(shape: __string, location_name: "defaultRoute"))
+ ClusterNetworkSettings.add_member(:interface_mappings, Shapes::ShapeRef.new(shape: __listOfInterfaceMapping, location_name: "interfaceMappings"))
+ ClusterNetworkSettings.struct_class = Types::ClusterNetworkSettings
+
+ ClusterNetworkSettingsCreateRequest.add_member(:default_route, Shapes::ShapeRef.new(shape: __string, location_name: "defaultRoute"))
+ ClusterNetworkSettingsCreateRequest.add_member(:interface_mappings, Shapes::ShapeRef.new(shape: __listOfInterfaceMappingCreateRequest, location_name: "interfaceMappings"))
+ ClusterNetworkSettingsCreateRequest.struct_class = Types::ClusterNetworkSettingsCreateRequest
+
+ ClusterNetworkSettingsUpdateRequest.add_member(:default_route, Shapes::ShapeRef.new(shape: __string, location_name: "defaultRoute"))
+ ClusterNetworkSettingsUpdateRequest.add_member(:interface_mappings, Shapes::ShapeRef.new(shape: __listOfInterfaceMappingUpdateRequest, location_name: "interfaceMappings"))
+ ClusterNetworkSettingsUpdateRequest.struct_class = Types::ClusterNetworkSettingsUpdateRequest
+
CmafIngestGroupSettings.add_member(:destination, Shapes::ShapeRef.new(shape: OutputLocationRef, required: true, location_name: "destination"))
CmafIngestGroupSettings.add_member(:nielsen_id_3_behavior, Shapes::ShapeRef.new(shape: CmafNielsenId3Behavior, location_name: "nielsenId3Behavior"))
CmafIngestGroupSettings.add_member(:scte_35_type, Shapes::ShapeRef.new(shape: Scte35Type, location_name: "scte35Type"))
@@ -1509,8 +1690,25 @@ module ClientApi
CreateChannel.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
CreateChannel.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
CreateChannel.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcOutputSettings, location_name: "vpc"))
+ CreateChannel.add_member(:anywhere_settings, Shapes::ShapeRef.new(shape: AnywhereSettings, location_name: "anywhereSettings"))
CreateChannel.struct_class = Types::CreateChannel
+ CreateChannelPlacementGroupRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ CreateChannelPlacementGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ CreateChannelPlacementGroupRequest.add_member(:nodes, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "nodes"))
+ CreateChannelPlacementGroupRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
+ CreateChannelPlacementGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
+ CreateChannelPlacementGroupRequest.struct_class = Types::CreateChannelPlacementGroupRequest
+
+ CreateChannelPlacementGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ CreateChannelPlacementGroupResponse.add_member(:channels, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channels"))
+ CreateChannelPlacementGroupResponse.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ CreateChannelPlacementGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ CreateChannelPlacementGroupResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ CreateChannelPlacementGroupResponse.add_member(:nodes, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "nodes"))
+ CreateChannelPlacementGroupResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelPlacementGroupState, location_name: "state"))
+ CreateChannelPlacementGroupResponse.struct_class = Types::CreateChannelPlacementGroupResponse
+
CreateChannelRequest.add_member(:cdi_input_specification, Shapes::ShapeRef.new(shape: CdiInputSpecification, location_name: "cdiInputSpecification"))
CreateChannelRequest.add_member(:channel_class, Shapes::ShapeRef.new(shape: ChannelClass, location_name: "channelClass"))
CreateChannelRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
@@ -1525,6 +1723,7 @@ module ClientApi
CreateChannelRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
CreateChannelRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
CreateChannelRequest.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcOutputSettings, location_name: "vpc"))
+ CreateChannelRequest.add_member(:anywhere_settings, Shapes::ShapeRef.new(shape: AnywhereSettings, location_name: "anywhereSettings"))
CreateChannelRequest.struct_class = Types::CreateChannelRequest
CreateChannelResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
@@ -1629,6 +1828,24 @@ module ClientApi
CreateCloudWatchAlarmTemplateResponseContent.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: CloudWatchAlarmTemplateTreatMissingData, required: true, location_name: "treatMissingData"))
CreateCloudWatchAlarmTemplateResponseContent.struct_class = Types::CreateCloudWatchAlarmTemplateResponseContent
+ CreateClusterRequest.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
+ CreateClusterRequest.add_member(:instance_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceRoleArn"))
+ CreateClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ CreateClusterRequest.add_member(:network_settings, Shapes::ShapeRef.new(shape: ClusterNetworkSettingsCreateRequest, location_name: "networkSettings"))
+ CreateClusterRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
+ CreateClusterRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
+ CreateClusterRequest.struct_class = Types::CreateClusterRequest
+
+ CreateClusterResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ CreateClusterResponse.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
+ CreateClusterResponse.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
+ CreateClusterResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ CreateClusterResponse.add_member(:instance_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceRoleArn"))
+ CreateClusterResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ CreateClusterResponse.add_member(:network_settings, Shapes::ShapeRef.new(shape: ClusterNetworkSettings, location_name: "networkSettings"))
+ CreateClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
+ CreateClusterResponse.struct_class = Types::CreateClusterResponse
+
CreateEventBridgeRuleTemplateGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: __stringMin0Max1024, location_name: "description"))
CreateEventBridgeRuleTemplateGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: __stringMin1Max255PatternS, required: true, location_name: "name"))
CreateEventBridgeRuleTemplateGroupRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
@@ -1709,6 +1926,8 @@ module ClientApi
CreateInput.add_member(:type, Shapes::ShapeRef.new(shape: InputType, location_name: "type"))
CreateInput.add_member(:vpc, Shapes::ShapeRef.new(shape: InputVpcRequest, location_name: "vpc"))
CreateInput.add_member(:srt_settings, Shapes::ShapeRef.new(shape: SrtSettingsRequest, location_name: "srtSettings"))
+ CreateInput.add_member(:input_network_location, Shapes::ShapeRef.new(shape: InputNetworkLocation, location_name: "inputNetworkLocation"))
+ CreateInput.add_member(:multicast_settings, Shapes::ShapeRef.new(shape: MulticastSettingsCreateRequest, location_name: "multicastSettings"))
CreateInput.struct_class = Types::CreateInput
CreateInputRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfInputDestinationRequest, location_name: "destinations"))
@@ -1723,6 +1942,8 @@ module ClientApi
CreateInputRequest.add_member(:type, Shapes::ShapeRef.new(shape: InputType, location_name: "type"))
CreateInputRequest.add_member(:vpc, Shapes::ShapeRef.new(shape: InputVpcRequest, location_name: "vpc"))
CreateInputRequest.add_member(:srt_settings, Shapes::ShapeRef.new(shape: SrtSettingsRequest, location_name: "srtSettings"))
+ CreateInputRequest.add_member(:input_network_location, Shapes::ShapeRef.new(shape: InputNetworkLocation, location_name: "inputNetworkLocation"))
+ CreateInputRequest.add_member(:multicast_settings, Shapes::ShapeRef.new(shape: MulticastSettingsCreateRequest, location_name: "multicastSettings"))
CreateInputRequest.struct_class = Types::CreateInputRequest
CreateInputResponse.add_member(:input, Shapes::ShapeRef.new(shape: Input, location_name: "input"))
@@ -1778,6 +1999,56 @@ module ClientApi
CreateMultiplexResultModel.add_member(:multiplex, Shapes::ShapeRef.new(shape: Multiplex, location_name: "multiplex"))
CreateMultiplexResultModel.struct_class = Types::CreateMultiplexResultModel
+ CreateNetworkRequest.add_member(:ip_pools, Shapes::ShapeRef.new(shape: __listOfIpPoolCreateRequest, location_name: "ipPools"))
+ CreateNetworkRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ CreateNetworkRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
+ CreateNetworkRequest.add_member(:routes, Shapes::ShapeRef.new(shape: __listOfRouteCreateRequest, location_name: "routes"))
+ CreateNetworkRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
+ CreateNetworkRequest.struct_class = Types::CreateNetworkRequest
+
+ CreateNetworkResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ CreateNetworkResponse.add_member(:associated_cluster_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "associatedClusterIds"))
+ CreateNetworkResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ CreateNetworkResponse.add_member(:ip_pools, Shapes::ShapeRef.new(shape: __listOfIpPool, location_name: "ipPools"))
+ CreateNetworkResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ CreateNetworkResponse.add_member(:routes, Shapes::ShapeRef.new(shape: __listOfRoute, location_name: "routes"))
+ CreateNetworkResponse.add_member(:state, Shapes::ShapeRef.new(shape: NetworkState, location_name: "state"))
+ CreateNetworkResponse.struct_class = Types::CreateNetworkResponse
+
+ CreateNodeRegistrationScriptRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ CreateNodeRegistrationScriptRequest.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ CreateNodeRegistrationScriptRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ CreateNodeRegistrationScriptRequest.add_member(:node_interface_mappings, Shapes::ShapeRef.new(shape: __listOfNodeInterfaceMapping, location_name: "nodeInterfaceMappings"))
+ CreateNodeRegistrationScriptRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
+ CreateNodeRegistrationScriptRequest.add_member(:role, Shapes::ShapeRef.new(shape: NodeRole, location_name: "role"))
+ CreateNodeRegistrationScriptRequest.struct_class = Types::CreateNodeRegistrationScriptRequest
+
+ CreateNodeRegistrationScriptResponse.add_member(:node_registration_script, Shapes::ShapeRef.new(shape: __string, location_name: "nodeRegistrationScript"))
+ CreateNodeRegistrationScriptResponse.struct_class = Types::CreateNodeRegistrationScriptResponse
+
+ CreateNodeRegistrationScriptResult.add_member(:node_registration_script, Shapes::ShapeRef.new(shape: __string, location_name: "nodeRegistrationScript"))
+ CreateNodeRegistrationScriptResult.struct_class = Types::CreateNodeRegistrationScriptResult
+
+ CreateNodeRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ CreateNodeRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ CreateNodeRequest.add_member(:node_interface_mappings, Shapes::ShapeRef.new(shape: __listOfNodeInterfaceMappingCreateRequest, location_name: "nodeInterfaceMappings"))
+ CreateNodeRequest.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
+ CreateNodeRequest.add_member(:role, Shapes::ShapeRef.new(shape: NodeRole, location_name: "role"))
+ CreateNodeRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
+ CreateNodeRequest.struct_class = Types::CreateNodeRequest
+
+ CreateNodeResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ CreateNodeResponse.add_member(:channel_placement_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelPlacementGroups"))
+ CreateNodeResponse.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ CreateNodeResponse.add_member(:connection_state, Shapes::ShapeRef.new(shape: NodeConnectionState, location_name: "connectionState"))
+ CreateNodeResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ CreateNodeResponse.add_member(:instance_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceArn"))
+ CreateNodeResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ CreateNodeResponse.add_member(:node_interface_mappings, Shapes::ShapeRef.new(shape: __listOfNodeInterfaceMapping, location_name: "nodeInterfaceMappings"))
+ CreateNodeResponse.add_member(:role, Shapes::ShapeRef.new(shape: NodeRole, location_name: "role"))
+ CreateNodeResponse.add_member(:state, Shapes::ShapeRef.new(shape: NodeState, location_name: "state"))
+ CreateNodeResponse.struct_class = Types::CreateNodeResponse
+
CreatePartnerInput.add_member(:request_id, Shapes::ShapeRef.new(shape: __string, location_name: "requestId", metadata: {"idempotencyToken"=>true}))
CreatePartnerInput.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
CreatePartnerInput.struct_class = Types::CreatePartnerInput
@@ -1853,6 +2124,19 @@ module ClientApi
CreateTagsRequest.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
CreateTagsRequest.struct_class = Types::CreateTagsRequest
+ DeleteChannelPlacementGroupRequest.add_member(:channel_placement_group_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelPlacementGroupId"))
+ DeleteChannelPlacementGroupRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ DeleteChannelPlacementGroupRequest.struct_class = Types::DeleteChannelPlacementGroupRequest
+
+ DeleteChannelPlacementGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DeleteChannelPlacementGroupResponse.add_member(:channels, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channels"))
+ DeleteChannelPlacementGroupResponse.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ DeleteChannelPlacementGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DeleteChannelPlacementGroupResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DeleteChannelPlacementGroupResponse.add_member(:nodes, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "nodes"))
+ DeleteChannelPlacementGroupResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelPlacementGroupState, location_name: "state"))
+ DeleteChannelPlacementGroupResponse.struct_class = Types::DeleteChannelPlacementGroupResponse
+
DeleteChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelId"))
DeleteChannelRequest.struct_class = Types::DeleteChannelRequest
@@ -1874,6 +2158,7 @@ module ClientApi
DeleteChannelResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
DeleteChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
DeleteChannelResponse.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcOutputSettingsDescription, location_name: "vpc"))
+ DeleteChannelResponse.add_member(:anywhere_settings, Shapes::ShapeRef.new(shape: DescribeAnywhereSettings, location_name: "anywhereSettings"))
DeleteChannelResponse.struct_class = Types::DeleteChannelResponse
DeleteCloudWatchAlarmTemplateGroupRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "identifier"))
@@ -1882,6 +2167,19 @@ module ClientApi
DeleteCloudWatchAlarmTemplateRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "identifier"))
DeleteCloudWatchAlarmTemplateRequest.struct_class = Types::DeleteCloudWatchAlarmTemplateRequest
+ DeleteClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ DeleteClusterRequest.struct_class = Types::DeleteClusterRequest
+
+ DeleteClusterResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DeleteClusterResponse.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
+ DeleteClusterResponse.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
+ DeleteClusterResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DeleteClusterResponse.add_member(:instance_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceRoleArn"))
+ DeleteClusterResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DeleteClusterResponse.add_member(:network_settings, Shapes::ShapeRef.new(shape: ClusterNetworkSettings, location_name: "networkSettings"))
+ DeleteClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
+ DeleteClusterResponse.struct_class = Types::DeleteClusterResponse
+
DeleteEventBridgeRuleTemplateGroupRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "identifier"))
DeleteEventBridgeRuleTemplateGroupRequest.struct_class = Types::DeleteEventBridgeRuleTemplateGroupRequest
@@ -1924,6 +2222,34 @@ module ClientApi
DeleteMultiplexResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
DeleteMultiplexResponse.struct_class = Types::DeleteMultiplexResponse
+ DeleteNetworkRequest.add_member(:network_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "networkId"))
+ DeleteNetworkRequest.struct_class = Types::DeleteNetworkRequest
+
+ DeleteNetworkResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DeleteNetworkResponse.add_member(:associated_cluster_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "associatedClusterIds"))
+ DeleteNetworkResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DeleteNetworkResponse.add_member(:ip_pools, Shapes::ShapeRef.new(shape: __listOfIpPool, location_name: "ipPools"))
+ DeleteNetworkResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DeleteNetworkResponse.add_member(:routes, Shapes::ShapeRef.new(shape: __listOfRoute, location_name: "routes"))
+ DeleteNetworkResponse.add_member(:state, Shapes::ShapeRef.new(shape: NetworkState, location_name: "state"))
+ DeleteNetworkResponse.struct_class = Types::DeleteNetworkResponse
+
+ DeleteNodeRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ DeleteNodeRequest.add_member(:node_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "nodeId"))
+ DeleteNodeRequest.struct_class = Types::DeleteNodeRequest
+
+ DeleteNodeResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DeleteNodeResponse.add_member(:channel_placement_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelPlacementGroups"))
+ DeleteNodeResponse.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ DeleteNodeResponse.add_member(:connection_state, Shapes::ShapeRef.new(shape: NodeConnectionState, location_name: "connectionState"))
+ DeleteNodeResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DeleteNodeResponse.add_member(:instance_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceArn"))
+ DeleteNodeResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DeleteNodeResponse.add_member(:node_interface_mappings, Shapes::ShapeRef.new(shape: __listOfNodeInterfaceMapping, location_name: "nodeInterfaceMappings"))
+ DeleteNodeResponse.add_member(:role, Shapes::ShapeRef.new(shape: NodeRole, location_name: "role"))
+ DeleteNodeResponse.add_member(:state, Shapes::ShapeRef.new(shape: NodeState, location_name: "state"))
+ DeleteNodeResponse.struct_class = Types::DeleteNodeResponse
+
DeleteReservationRequest.add_member(:reservation_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "reservationId"))
DeleteReservationRequest.struct_class = Types::DeleteReservationRequest
@@ -1968,6 +2294,41 @@ module ClientApi
DescribeAccountConfigurationResultModel.add_member(:account_configuration, Shapes::ShapeRef.new(shape: AccountConfiguration, location_name: "accountConfiguration"))
DescribeAccountConfigurationResultModel.struct_class = Types::DescribeAccountConfigurationResultModel
+ DescribeAnywhereSettings.add_member(:channel_placement_group_id, Shapes::ShapeRef.new(shape: __string, location_name: "channelPlacementGroupId"))
+ DescribeAnywhereSettings.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ DescribeAnywhereSettings.struct_class = Types::DescribeAnywhereSettings
+
+ DescribeChannelPlacementGroupRequest.add_member(:channel_placement_group_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelPlacementGroupId"))
+ DescribeChannelPlacementGroupRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ DescribeChannelPlacementGroupRequest.struct_class = Types::DescribeChannelPlacementGroupRequest
+
+ DescribeChannelPlacementGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeChannelPlacementGroupResponse.add_member(:channels, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channels"))
+ DescribeChannelPlacementGroupResponse.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ DescribeChannelPlacementGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeChannelPlacementGroupResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeChannelPlacementGroupResponse.add_member(:nodes, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "nodes"))
+ DescribeChannelPlacementGroupResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelPlacementGroupState, location_name: "state"))
+ DescribeChannelPlacementGroupResponse.struct_class = Types::DescribeChannelPlacementGroupResponse
+
+ DescribeChannelPlacementGroupResult.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeChannelPlacementGroupResult.add_member(:channels, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channels"))
+ DescribeChannelPlacementGroupResult.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ DescribeChannelPlacementGroupResult.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeChannelPlacementGroupResult.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeChannelPlacementGroupResult.add_member(:nodes, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "nodes"))
+ DescribeChannelPlacementGroupResult.add_member(:state, Shapes::ShapeRef.new(shape: ChannelPlacementGroupState, location_name: "state"))
+ DescribeChannelPlacementGroupResult.struct_class = Types::DescribeChannelPlacementGroupResult
+
+ DescribeChannelPlacementGroupSummary.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeChannelPlacementGroupSummary.add_member(:channels, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channels"))
+ DescribeChannelPlacementGroupSummary.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ DescribeChannelPlacementGroupSummary.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeChannelPlacementGroupSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeChannelPlacementGroupSummary.add_member(:nodes, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "nodes"))
+ DescribeChannelPlacementGroupSummary.add_member(:state, Shapes::ShapeRef.new(shape: ChannelPlacementGroupState, location_name: "state"))
+ DescribeChannelPlacementGroupSummary.struct_class = Types::DescribeChannelPlacementGroupSummary
+
DescribeChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelId"))
DescribeChannelRequest.struct_class = Types::DescribeChannelRequest
@@ -1989,8 +2350,42 @@ module ClientApi
DescribeChannelResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
DescribeChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
DescribeChannelResponse.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcOutputSettingsDescription, location_name: "vpc"))
+ DescribeChannelResponse.add_member(:anywhere_settings, Shapes::ShapeRef.new(shape: DescribeAnywhereSettings, location_name: "anywhereSettings"))
DescribeChannelResponse.struct_class = Types::DescribeChannelResponse
+ DescribeClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ DescribeClusterRequest.struct_class = Types::DescribeClusterRequest
+
+ DescribeClusterResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeClusterResponse.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
+ DescribeClusterResponse.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
+ DescribeClusterResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeClusterResponse.add_member(:instance_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceRoleArn"))
+ DescribeClusterResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeClusterResponse.add_member(:network_settings, Shapes::ShapeRef.new(shape: ClusterNetworkSettings, location_name: "networkSettings"))
+ DescribeClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
+ DescribeClusterResponse.struct_class = Types::DescribeClusterResponse
+
+ DescribeClusterResult.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeClusterResult.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
+ DescribeClusterResult.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
+ DescribeClusterResult.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeClusterResult.add_member(:instance_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceRoleArn"))
+ DescribeClusterResult.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeClusterResult.add_member(:network_settings, Shapes::ShapeRef.new(shape: ClusterNetworkSettings, location_name: "networkSettings"))
+ DescribeClusterResult.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
+ DescribeClusterResult.struct_class = Types::DescribeClusterResult
+
+ DescribeClusterSummary.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeClusterSummary.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
+ DescribeClusterSummary.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
+ DescribeClusterSummary.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeClusterSummary.add_member(:instance_role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceRoleArn"))
+ DescribeClusterSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeClusterSummary.add_member(:network_settings, Shapes::ShapeRef.new(shape: ClusterNetworkSettings, location_name: "networkSettings"))
+ DescribeClusterSummary.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
+ DescribeClusterSummary.struct_class = Types::DescribeClusterSummary
+
DescribeInputDeviceRequest.add_member(:input_device_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "inputDeviceId"))
DescribeInputDeviceRequest.struct_class = Types::DescribeInputDeviceRequest
@@ -2045,6 +2440,8 @@ module ClientApi
DescribeInputResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
DescribeInputResponse.add_member(:type, Shapes::ShapeRef.new(shape: InputType, location_name: "type"))
DescribeInputResponse.add_member(:srt_settings, Shapes::ShapeRef.new(shape: SrtSettings, location_name: "srtSettings"))
+ DescribeInputResponse.add_member(:input_network_location, Shapes::ShapeRef.new(shape: InputNetworkLocation, location_name: "inputNetworkLocation"))
+ DescribeInputResponse.add_member(:multicast_settings, Shapes::ShapeRef.new(shape: MulticastSettings, location_name: "multicastSettings"))
DescribeInputResponse.struct_class = Types::DescribeInputResponse
DescribeInputSecurityGroupRequest.add_member(:input_security_group_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "inputSecurityGroupId"))
@@ -2084,6 +2481,77 @@ module ClientApi
DescribeMultiplexResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
DescribeMultiplexResponse.struct_class = Types::DescribeMultiplexResponse
+ DescribeNetworkRequest.add_member(:network_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "networkId"))
+ DescribeNetworkRequest.struct_class = Types::DescribeNetworkRequest
+
+ DescribeNetworkResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeNetworkResponse.add_member(:associated_cluster_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "associatedClusterIds"))
+ DescribeNetworkResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeNetworkResponse.add_member(:ip_pools, Shapes::ShapeRef.new(shape: __listOfIpPool, location_name: "ipPools"))
+ DescribeNetworkResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeNetworkResponse.add_member(:routes, Shapes::ShapeRef.new(shape: __listOfRoute, location_name: "routes"))
+ DescribeNetworkResponse.add_member(:state, Shapes::ShapeRef.new(shape: NetworkState, location_name: "state"))
+ DescribeNetworkResponse.struct_class = Types::DescribeNetworkResponse
+
+ DescribeNetworkResult.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeNetworkResult.add_member(:associated_cluster_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "associatedClusterIds"))
+ DescribeNetworkResult.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeNetworkResult.add_member(:ip_pools, Shapes::ShapeRef.new(shape: __listOfIpPool, location_name: "ipPools"))
+ DescribeNetworkResult.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeNetworkResult.add_member(:routes, Shapes::ShapeRef.new(shape: __listOfRoute, location_name: "routes"))
+ DescribeNetworkResult.add_member(:state, Shapes::ShapeRef.new(shape: NetworkState, location_name: "state"))
+ DescribeNetworkResult.struct_class = Types::DescribeNetworkResult
+
+ DescribeNetworkSummary.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeNetworkSummary.add_member(:associated_cluster_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "associatedClusterIds"))
+ DescribeNetworkSummary.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeNetworkSummary.add_member(:ip_pools, Shapes::ShapeRef.new(shape: __listOfIpPool, location_name: "ipPools"))
+ DescribeNetworkSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeNetworkSummary.add_member(:routes, Shapes::ShapeRef.new(shape: __listOfRoute, location_name: "routes"))
+ DescribeNetworkSummary.add_member(:state, Shapes::ShapeRef.new(shape: NetworkState, location_name: "state"))
+ DescribeNetworkSummary.struct_class = Types::DescribeNetworkSummary
+
+ DescribeNodeRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ DescribeNodeRequest.add_member(:node_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "nodeId"))
+ DescribeNodeRequest.struct_class = Types::DescribeNodeRequest
+
+ DescribeNodeResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeNodeResponse.add_member(:channel_placement_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelPlacementGroups"))
+ DescribeNodeResponse.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ DescribeNodeResponse.add_member(:connection_state, Shapes::ShapeRef.new(shape: NodeConnectionState, location_name: "connectionState"))
+ DescribeNodeResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeNodeResponse.add_member(:instance_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceArn"))
+ DescribeNodeResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeNodeResponse.add_member(:node_interface_mappings, Shapes::ShapeRef.new(shape: __listOfNodeInterfaceMapping, location_name: "nodeInterfaceMappings"))
+ DescribeNodeResponse.add_member(:role, Shapes::ShapeRef.new(shape: NodeRole, location_name: "role"))
+ DescribeNodeResponse.add_member(:state, Shapes::ShapeRef.new(shape: NodeState, location_name: "state"))
+ DescribeNodeResponse.struct_class = Types::DescribeNodeResponse
+
+ DescribeNodeResult.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeNodeResult.add_member(:channel_placement_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelPlacementGroups"))
+ DescribeNodeResult.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ DescribeNodeResult.add_member(:connection_state, Shapes::ShapeRef.new(shape: NodeConnectionState, location_name: "connectionState"))
+ DescribeNodeResult.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeNodeResult.add_member(:instance_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceArn"))
+ DescribeNodeResult.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeNodeResult.add_member(:node_interface_mappings, Shapes::ShapeRef.new(shape: __listOfNodeInterfaceMapping, location_name: "nodeInterfaceMappings"))
+ DescribeNodeResult.add_member(:role, Shapes::ShapeRef.new(shape: NodeRole, location_name: "role"))
+ DescribeNodeResult.add_member(:state, Shapes::ShapeRef.new(shape: NodeState, location_name: "state"))
+ DescribeNodeResult.struct_class = Types::DescribeNodeResult
+
+ DescribeNodeSummary.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ DescribeNodeSummary.add_member(:channel_placement_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelPlacementGroups"))
+ DescribeNodeSummary.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ DescribeNodeSummary.add_member(:connection_state, Shapes::ShapeRef.new(shape: NodeConnectionState, location_name: "connectionState"))
+ DescribeNodeSummary.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ DescribeNodeSummary.add_member(:instance_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceArn"))
+ DescribeNodeSummary.add_member(:managed_instance_id, Shapes::ShapeRef.new(shape: __string, location_name: "managedInstanceId"))
+ DescribeNodeSummary.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ DescribeNodeSummary.add_member(:node_interface_mappings, Shapes::ShapeRef.new(shape: __listOfNodeInterfaceMapping, location_name: "nodeInterfaceMappings"))
+ DescribeNodeSummary.add_member(:role, Shapes::ShapeRef.new(shape: NodeRole, location_name: "role"))
+ DescribeNodeSummary.add_member(:state, Shapes::ShapeRef.new(shape: NodeState, location_name: "state"))
+ DescribeNodeSummary.struct_class = Types::DescribeNodeSummary
+
DescribeOfferingRequest.add_member(:offering_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "offeringId"))
DescribeOfferingRequest.struct_class = Types::DescribeOfferingRequest
@@ -2514,6 +2982,7 @@ module ClientApi
H264ColorSpaceSettings.struct_class = Types::H264ColorSpaceSettings
H264FilterSettings.add_member(:temporal_filter_settings, Shapes::ShapeRef.new(shape: TemporalFilterSettings, location_name: "temporalFilterSettings"))
+ H264FilterSettings.add_member(:bandwidth_reduction_filter_settings, Shapes::ShapeRef.new(shape: BandwidthReductionFilterSettings, location_name: "bandwidthReductionFilterSettings"))
H264FilterSettings.struct_class = Types::H264FilterSettings
H264Settings.add_member(:adaptive_quantization, Shapes::ShapeRef.new(shape: H264AdaptiveQuantization, location_name: "adaptiveQuantization"))
@@ -2569,6 +3038,7 @@ module ClientApi
H265ColorSpaceSettings.struct_class = Types::H265ColorSpaceSettings
H265FilterSettings.add_member(:temporal_filter_settings, Shapes::ShapeRef.new(shape: TemporalFilterSettings, location_name: "temporalFilterSettings"))
+ H265FilterSettings.add_member(:bandwidth_reduction_filter_settings, Shapes::ShapeRef.new(shape: BandwidthReductionFilterSettings, location_name: "bandwidthReductionFilterSettings"))
H265FilterSettings.struct_class = Types::H265FilterSettings
H265Settings.add_member(:adaptive_quantization, Shapes::ShapeRef.new(shape: H265AdaptiveQuantization, location_name: "adaptiveQuantization"))
@@ -2745,12 +3215,15 @@ module ClientApi
Input.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
Input.add_member(:type, Shapes::ShapeRef.new(shape: InputType, location_name: "type"))
Input.add_member(:srt_settings, Shapes::ShapeRef.new(shape: SrtSettings, location_name: "srtSettings"))
+ Input.add_member(:input_network_location, Shapes::ShapeRef.new(shape: InputNetworkLocation, location_name: "inputNetworkLocation"))
+ Input.add_member(:multicast_settings, Shapes::ShapeRef.new(shape: MulticastSettings, location_name: "multicastSettings"))
Input.struct_class = Types::Input
InputAttachment.add_member(:automatic_input_failover_settings, Shapes::ShapeRef.new(shape: AutomaticInputFailoverSettings, location_name: "automaticInputFailoverSettings"))
InputAttachment.add_member(:input_attachment_name, Shapes::ShapeRef.new(shape: __string, location_name: "inputAttachmentName"))
InputAttachment.add_member(:input_id, Shapes::ShapeRef.new(shape: __string, location_name: "inputId"))
InputAttachment.add_member(:input_settings, Shapes::ShapeRef.new(shape: InputSettings, location_name: "inputSettings"))
+ InputAttachment.add_member(:logical_interface_names, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "logicalInterfaceNames"))
InputAttachment.struct_class = Types::InputAttachment
InputChannelLevel.add_member(:gain, Shapes::ShapeRef.new(shape: __integerMinNegative60Max6, required: true, location_name: "gain"))
@@ -2766,11 +3239,20 @@ module ClientApi
InputDestination.add_member(:port, Shapes::ShapeRef.new(shape: __string, location_name: "port"))
InputDestination.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "url"))
InputDestination.add_member(:vpc, Shapes::ShapeRef.new(shape: InputDestinationVpc, location_name: "vpc"))
+ InputDestination.add_member(:network, Shapes::ShapeRef.new(shape: __string, location_name: "network"))
+ InputDestination.add_member(:network_routes, Shapes::ShapeRef.new(shape: __listOfInputDestinationRoute, location_name: "networkRoutes"))
InputDestination.struct_class = Types::InputDestination
InputDestinationRequest.add_member(:stream_name, Shapes::ShapeRef.new(shape: __string, location_name: "streamName"))
+ InputDestinationRequest.add_member(:network, Shapes::ShapeRef.new(shape: __string, location_name: "network"))
+ InputDestinationRequest.add_member(:network_routes, Shapes::ShapeRef.new(shape: __listOfInputRequestDestinationRoute, location_name: "networkRoutes"))
+ InputDestinationRequest.add_member(:static_ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "staticIpAddress"))
InputDestinationRequest.struct_class = Types::InputDestinationRequest
+ InputDestinationRoute.add_member(:cidr, Shapes::ShapeRef.new(shape: __string, location_name: "cidr"))
+ InputDestinationRoute.add_member(:gateway, Shapes::ShapeRef.new(shape: __string, location_name: "gateway"))
+ InputDestinationRoute.struct_class = Types::InputDestinationRoute
+
InputDestinationVpc.add_member(:availability_zone, Shapes::ShapeRef.new(shape: __string, location_name: "availabilityZone"))
InputDestinationVpc.add_member(:network_interface_id, Shapes::ShapeRef.new(shape: __string, location_name: "networkInterfaceId"))
InputDestinationVpc.struct_class = Types::InputDestinationVpc
@@ -2901,6 +3383,10 @@ module ClientApi
InputPrepareScheduleActionSettings.add_member(:url_path, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "urlPath"))
InputPrepareScheduleActionSettings.struct_class = Types::InputPrepareScheduleActionSettings
+ InputRequestDestinationRoute.add_member(:cidr, Shapes::ShapeRef.new(shape: __string, location_name: "cidr"))
+ InputRequestDestinationRoute.add_member(:gateway, Shapes::ShapeRef.new(shape: __string, location_name: "gateway"))
+ InputRequestDestinationRoute.struct_class = Types::InputRequestDestinationRoute
+
InputSecurityGroup.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
InputSecurityGroup.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
InputSecurityGroup.add_member(:inputs, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "inputs"))
@@ -2956,6 +3442,18 @@ module ClientApi
InputWhitelistRuleCidr.add_member(:cidr, Shapes::ShapeRef.new(shape: __string, location_name: "cidr"))
InputWhitelistRuleCidr.struct_class = Types::InputWhitelistRuleCidr
+ InterfaceMapping.add_member(:logical_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "logicalInterfaceName"))
+ InterfaceMapping.add_member(:network_id, Shapes::ShapeRef.new(shape: __string, location_name: "networkId"))
+ InterfaceMapping.struct_class = Types::InterfaceMapping
+
+ InterfaceMappingCreateRequest.add_member(:logical_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "logicalInterfaceName"))
+ InterfaceMappingCreateRequest.add_member(:network_id, Shapes::ShapeRef.new(shape: __string, location_name: "networkId"))
+ InterfaceMappingCreateRequest.struct_class = Types::InterfaceMappingCreateRequest
+
+ InterfaceMappingUpdateRequest.add_member(:logical_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "logicalInterfaceName"))
+ InterfaceMappingUpdateRequest.add_member(:network_id, Shapes::ShapeRef.new(shape: __string, location_name: "networkId"))
+ InterfaceMappingUpdateRequest.struct_class = Types::InterfaceMappingUpdateRequest
+
InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
InternalServerErrorException.struct_class = Types::InternalServerErrorException
@@ -2968,12 +3466,34 @@ module ClientApi
InvalidRequest.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
InvalidRequest.struct_class = Types::InvalidRequest
+ IpPool.add_member(:cidr, Shapes::ShapeRef.new(shape: __string, location_name: "cidr"))
+ IpPool.struct_class = Types::IpPool
+
+ IpPoolCreateRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: __string, location_name: "cidr"))
+ IpPoolCreateRequest.struct_class = Types::IpPoolCreateRequest
+
+ IpPoolUpdateRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: __string, location_name: "cidr"))
+ IpPoolUpdateRequest.struct_class = Types::IpPoolUpdateRequest
+
KeyProviderSettings.add_member(:static_key_settings, Shapes::ShapeRef.new(shape: StaticKeySettings, location_name: "staticKeySettings"))
KeyProviderSettings.struct_class = Types::KeyProviderSettings
LimitExceeded.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
LimitExceeded.struct_class = Types::LimitExceeded
+ ListChannelPlacementGroupsRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ ListChannelPlacementGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
+ ListChannelPlacementGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
+ ListChannelPlacementGroupsRequest.struct_class = Types::ListChannelPlacementGroupsRequest
+
+ ListChannelPlacementGroupsResponse.add_member(:channel_placement_groups, Shapes::ShapeRef.new(shape: __listOfDescribeChannelPlacementGroupSummary, location_name: "channelPlacementGroups"))
+ ListChannelPlacementGroupsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
+ ListChannelPlacementGroupsResponse.struct_class = Types::ListChannelPlacementGroupsResponse
+
+ ListChannelPlacementGroupsResult.add_member(:channel_placement_groups, Shapes::ShapeRef.new(shape: __listOfDescribeChannelPlacementGroupSummary, location_name: "channelPlacementGroups"))
+ ListChannelPlacementGroupsResult.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
+ ListChannelPlacementGroupsResult.struct_class = Types::ListChannelPlacementGroupsResult
+
ListChannelsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
ListChannelsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
ListChannelsRequest.struct_class = Types::ListChannelsRequest
@@ -3015,6 +3535,18 @@ module ClientApi
ListCloudWatchAlarmTemplatesResponseContent.add_member(:next_token, Shapes::ShapeRef.new(shape: __stringMin1Max2048, location_name: "nextToken"))
ListCloudWatchAlarmTemplatesResponseContent.struct_class = Types::ListCloudWatchAlarmTemplatesResponseContent
+ ListClustersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
+ ListClustersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
+ ListClustersRequest.struct_class = Types::ListClustersRequest
+
+ ListClustersResponse.add_member(:clusters, Shapes::ShapeRef.new(shape: __listOfDescribeClusterSummary, location_name: "clusters"))
+ ListClustersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
+ ListClustersResponse.struct_class = Types::ListClustersResponse
+
+ ListClustersResult.add_member(:clusters, Shapes::ShapeRef.new(shape: __listOfDescribeClusterSummary, location_name: "clusters"))
+ ListClustersResult.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
+ ListClustersResult.struct_class = Types::ListClustersResult
+
ListEventBridgeRuleTemplateGroupsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
ListEventBridgeRuleTemplateGroupsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
ListEventBridgeRuleTemplateGroupsRequest.add_member(:signal_map_identifier, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "signalMapIdentifier"))
@@ -3116,6 +3648,31 @@ module ClientApi
ListMultiplexesResultModel.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
ListMultiplexesResultModel.struct_class = Types::ListMultiplexesResultModel
+ ListNetworksRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
+ ListNetworksRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
+ ListNetworksRequest.struct_class = Types::ListNetworksRequest
+
+ ListNetworksResponse.add_member(:networks, Shapes::ShapeRef.new(shape: __listOfDescribeNetworkSummary, location_name: "networks"))
+ ListNetworksResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
+ ListNetworksResponse.struct_class = Types::ListNetworksResponse
+
+ ListNetworksResult.add_member(:networks, Shapes::ShapeRef.new(shape: __listOfDescribeNetworkSummary, location_name: "networks"))
+ ListNetworksResult.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
+ ListNetworksResult.struct_class = Types::ListNetworksResult
+
+ ListNodesRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ ListNodesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
+ ListNodesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "nextToken"))
+ ListNodesRequest.struct_class = Types::ListNodesRequest
+
+ ListNodesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
+ ListNodesResponse.add_member(:nodes, Shapes::ShapeRef.new(shape: __listOfDescribeNodeSummary, location_name: "nodes"))
+ ListNodesResponse.struct_class = Types::ListNodesResponse
+
+ ListNodesResult.add_member(:next_token, Shapes::ShapeRef.new(shape: __string, location_name: "nextToken"))
+ ListNodesResult.add_member(:nodes, Shapes::ShapeRef.new(shape: __listOfDescribeNodeSummary, location_name: "nodes"))
+ ListNodesResult.struct_class = Types::ListNodesResult
+
ListOfferingsRequest.add_member(:channel_class, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "channelClass"))
ListOfferingsRequest.add_member(:channel_configuration, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "channelConfiguration"))
ListOfferingsRequest.add_member(:codec, Shapes::ShapeRef.new(shape: __string, location: "querystring", location_name: "codec"))
@@ -3362,6 +3919,30 @@ module ClientApi
MsSmoothOutputSettings.add_member(:name_modifier, Shapes::ShapeRef.new(shape: __string, location_name: "nameModifier"))
MsSmoothOutputSettings.struct_class = Types::MsSmoothOutputSettings
+ MulticastInputSettings.add_member(:source_ip_address, Shapes::ShapeRef.new(shape: __string, location_name: "sourceIpAddress"))
+ MulticastInputSettings.struct_class = Types::MulticastInputSettings
+
+ MulticastSettings.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfMulticastSource, location_name: "sources"))
+ MulticastSettings.struct_class = Types::MulticastSettings
+
+ MulticastSettingsCreateRequest.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfMulticastSourceCreateRequest, location_name: "sources"))
+ MulticastSettingsCreateRequest.struct_class = Types::MulticastSettingsCreateRequest
+
+ MulticastSettingsUpdateRequest.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfMulticastSourceUpdateRequest, location_name: "sources"))
+ MulticastSettingsUpdateRequest.struct_class = Types::MulticastSettingsUpdateRequest
+
+ MulticastSource.add_member(:source_ip, Shapes::ShapeRef.new(shape: __string, location_name: "sourceIp"))
+ MulticastSource.add_member(:url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "url"))
+ MulticastSource.struct_class = Types::MulticastSource
+
+ MulticastSourceCreateRequest.add_member(:source_ip, Shapes::ShapeRef.new(shape: __string, location_name: "sourceIp"))
+ MulticastSourceCreateRequest.add_member(:url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "url"))
+ MulticastSourceCreateRequest.struct_class = Types::MulticastSourceCreateRequest
+
+ MulticastSourceUpdateRequest.add_member(:source_ip, Shapes::ShapeRef.new(shape: __string, location_name: "sourceIp"))
+ MulticastSourceUpdateRequest.add_member(:url, Shapes::ShapeRef.new(shape: __string, required: true, location_name: "url"))
+ MulticastSourceUpdateRequest.struct_class = Types::MulticastSourceUpdateRequest
+
Multiplex.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
Multiplex.add_member(:availability_zones, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "availabilityZones"))
Multiplex.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfMultiplexOutputDestination, location_name: "destinations"))
@@ -3378,8 +3959,27 @@ module ClientApi
MultiplexConfigurationValidationError.add_member(:validation_errors, Shapes::ShapeRef.new(shape: __listOfValidationError, location_name: "validationErrors"))
MultiplexConfigurationValidationError.struct_class = Types::MultiplexConfigurationValidationError
+ MultiplexContainerSettings.add_member(:multiplex_m2ts_settings, Shapes::ShapeRef.new(shape: MultiplexM2tsSettings, location_name: "multiplexM2tsSettings"))
+ MultiplexContainerSettings.struct_class = Types::MultiplexContainerSettings
+
MultiplexGroupSettings.struct_class = Types::MultiplexGroupSettings
+ MultiplexM2tsSettings.add_member(:absent_input_audio_behavior, Shapes::ShapeRef.new(shape: M2tsAbsentInputAudioBehavior, location_name: "absentInputAudioBehavior"))
+ MultiplexM2tsSettings.add_member(:arib, Shapes::ShapeRef.new(shape: M2tsArib, location_name: "arib"))
+ MultiplexM2tsSettings.add_member(:audio_buffer_model, Shapes::ShapeRef.new(shape: M2tsAudioBufferModel, location_name: "audioBufferModel"))
+ MultiplexM2tsSettings.add_member(:audio_frames_per_pes, Shapes::ShapeRef.new(shape: __integerMin0, location_name: "audioFramesPerPes"))
+ MultiplexM2tsSettings.add_member(:audio_stream_type, Shapes::ShapeRef.new(shape: M2tsAudioStreamType, location_name: "audioStreamType"))
+ MultiplexM2tsSettings.add_member(:cc_descriptor, Shapes::ShapeRef.new(shape: M2tsCcDescriptor, location_name: "ccDescriptor"))
+ MultiplexM2tsSettings.add_member(:ebif, Shapes::ShapeRef.new(shape: M2tsEbifControl, location_name: "ebif"))
+ MultiplexM2tsSettings.add_member(:es_rate_in_pes, Shapes::ShapeRef.new(shape: M2tsEsRateInPes, location_name: "esRateInPes"))
+ MultiplexM2tsSettings.add_member(:klv, Shapes::ShapeRef.new(shape: M2tsKlv, location_name: "klv"))
+ MultiplexM2tsSettings.add_member(:nielsen_id_3_behavior, Shapes::ShapeRef.new(shape: M2tsNielsenId3Behavior, location_name: "nielsenId3Behavior"))
+ MultiplexM2tsSettings.add_member(:pcr_control, Shapes::ShapeRef.new(shape: M2tsPcrControl, location_name: "pcrControl"))
+ MultiplexM2tsSettings.add_member(:pcr_period, Shapes::ShapeRef.new(shape: __integerMin0Max500, location_name: "pcrPeriod"))
+ MultiplexM2tsSettings.add_member(:scte_35_control, Shapes::ShapeRef.new(shape: M2tsScte35Control, location_name: "scte35Control"))
+ MultiplexM2tsSettings.add_member(:scte_35_preroll_pullup_milliseconds, Shapes::ShapeRef.new(shape: __doubleMin0Max5000, location_name: "scte35PrerollPullupMilliseconds"))
+ MultiplexM2tsSettings.struct_class = Types::MultiplexM2tsSettings
+
MultiplexMediaConnectOutputDestinationSettings.add_member(:entitlement_arn, Shapes::ShapeRef.new(shape: __stringMin1, location_name: "entitlementArn"))
MultiplexMediaConnectOutputDestinationSettings.struct_class = Types::MultiplexMediaConnectOutputDestinationSettings
@@ -3387,6 +3987,7 @@ module ClientApi
MultiplexOutputDestination.struct_class = Types::MultiplexOutputDestination
MultiplexOutputSettings.add_member(:destination, Shapes::ShapeRef.new(shape: OutputLocationRef, required: true, location_name: "destination"))
+ MultiplexOutputSettings.add_member(:container_settings, Shapes::ShapeRef.new(shape: MultiplexContainerSettings, location_name: "containerSettings"))
MultiplexOutputSettings.struct_class = Types::MultiplexOutputSettings
MultiplexPacketIdentifiersMapping.key = Shapes::ShapeRef.new(shape: __string)
@@ -3471,6 +4072,7 @@ module ClientApi
NetworkInputSettings.add_member(:hls_input_settings, Shapes::ShapeRef.new(shape: HlsInputSettings, location_name: "hlsInputSettings"))
NetworkInputSettings.add_member(:server_validation, Shapes::ShapeRef.new(shape: NetworkInputServerValidation, location_name: "serverValidation"))
+ NetworkInputSettings.add_member(:multicast_input_settings, Shapes::ShapeRef.new(shape: MulticastInputSettings, location_name: "multicastInputSettings"))
NetworkInputSettings.struct_class = Types::NetworkInputSettings
NielsenCBET.add_member(:cbet_check_digit_string, Shapes::ShapeRef.new(shape: __stringMin2Max2, required: true, location_name: "cbetCheckDigitString"))
@@ -3492,6 +4094,20 @@ module ClientApi
NielsenWatermarksSettings.add_member(:nielsen_naes_ii_nw_settings, Shapes::ShapeRef.new(shape: NielsenNaesIiNw, location_name: "nielsenNaesIiNwSettings"))
NielsenWatermarksSettings.struct_class = Types::NielsenWatermarksSettings
+ NodeConfigurationValidationError.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
+ NodeConfigurationValidationError.add_member(:validation_errors, Shapes::ShapeRef.new(shape: __listOfValidationError, location_name: "validationErrors"))
+ NodeConfigurationValidationError.struct_class = Types::NodeConfigurationValidationError
+
+ NodeInterfaceMapping.add_member(:logical_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "logicalInterfaceName"))
+ NodeInterfaceMapping.add_member(:network_interface_mode, Shapes::ShapeRef.new(shape: NetworkInterfaceMode, location_name: "networkInterfaceMode"))
+ NodeInterfaceMapping.add_member(:physical_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "physicalInterfaceName"))
+ NodeInterfaceMapping.struct_class = Types::NodeInterfaceMapping
+
+ NodeInterfaceMappingCreateRequest.add_member(:logical_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "logicalInterfaceName"))
+ NodeInterfaceMappingCreateRequest.add_member(:network_interface_mode, Shapes::ShapeRef.new(shape: NetworkInterfaceMode, location_name: "networkInterfaceMode"))
+ NodeInterfaceMappingCreateRequest.add_member(:physical_interface_name, Shapes::ShapeRef.new(shape: __string, location_name: "physicalInterfaceName"))
+ NodeInterfaceMappingCreateRequest.struct_class = Types::NodeInterfaceMappingCreateRequest
+
NotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: __string, location_name: "message"))
NotFoundException.struct_class = Types::NotFoundException
@@ -3522,6 +4138,7 @@ module ClientApi
OutputDestination.add_member(:media_package_settings, Shapes::ShapeRef.new(shape: __listOfMediaPackageOutputDestinationSettings, location_name: "mediaPackageSettings"))
OutputDestination.add_member(:multiplex_settings, Shapes::ShapeRef.new(shape: MultiplexProgramChannelDestinationSettings, location_name: "multiplexSettings"))
OutputDestination.add_member(:settings, Shapes::ShapeRef.new(shape: __listOfOutputDestinationSettings, location_name: "settings"))
+ OutputDestination.add_member(:srt_settings, Shapes::ShapeRef.new(shape: __listOfSrtOutputDestinationSettings, location_name: "srtSettings"))
OutputDestination.struct_class = Types::OutputDestination
OutputDestinationSettings.add_member(:password_param, Shapes::ShapeRef.new(shape: __string, location_name: "passwordParam"))
@@ -3544,6 +4161,7 @@ module ClientApi
OutputGroupSettings.add_member(:rtmp_group_settings, Shapes::ShapeRef.new(shape: RtmpGroupSettings, location_name: "rtmpGroupSettings"))
OutputGroupSettings.add_member(:udp_group_settings, Shapes::ShapeRef.new(shape: UdpGroupSettings, location_name: "udpGroupSettings"))
OutputGroupSettings.add_member(:cmaf_ingest_group_settings, Shapes::ShapeRef.new(shape: CmafIngestGroupSettings, location_name: "cmafIngestGroupSettings"))
+ OutputGroupSettings.add_member(:srt_group_settings, Shapes::ShapeRef.new(shape: SrtGroupSettings, location_name: "srtGroupSettings"))
OutputGroupSettings.struct_class = Types::OutputGroupSettings
OutputLocationRef.add_member(:destination_ref_id, Shapes::ShapeRef.new(shape: __string, location_name: "destinationRefId"))
@@ -3562,6 +4180,7 @@ module ClientApi
OutputSettings.add_member(:rtmp_output_settings, Shapes::ShapeRef.new(shape: RtmpOutputSettings, location_name: "rtmpOutputSettings"))
OutputSettings.add_member(:udp_output_settings, Shapes::ShapeRef.new(shape: UdpOutputSettings, location_name: "udpOutputSettings"))
OutputSettings.add_member(:cmaf_ingest_output_settings, Shapes::ShapeRef.new(shape: CmafIngestOutputSettings, location_name: "cmafIngestOutputSettings"))
+ OutputSettings.add_member(:srt_output_settings, Shapes::ShapeRef.new(shape: SrtOutputSettings, location_name: "srtOutputSettings"))
OutputSettings.struct_class = Types::OutputSettings
PassThroughSettings.struct_class = Types::PassThroughSettings
@@ -3693,8 +4312,21 @@ module ClientApi
RestartChannelPipelinesResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
RestartChannelPipelinesResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
RestartChannelPipelinesResponse.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcOutputSettingsDescription, location_name: "vpc"))
+ RestartChannelPipelinesResponse.add_member(:anywhere_settings, Shapes::ShapeRef.new(shape: DescribeAnywhereSettings, location_name: "anywhereSettings"))
RestartChannelPipelinesResponse.struct_class = Types::RestartChannelPipelinesResponse
+ Route.add_member(:cidr, Shapes::ShapeRef.new(shape: __string, location_name: "cidr"))
+ Route.add_member(:gateway, Shapes::ShapeRef.new(shape: __string, location_name: "gateway"))
+ Route.struct_class = Types::Route
+
+ RouteCreateRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: __string, location_name: "cidr"))
+ RouteCreateRequest.add_member(:gateway, Shapes::ShapeRef.new(shape: __string, location_name: "gateway"))
+ RouteCreateRequest.struct_class = Types::RouteCreateRequest
+
+ RouteUpdateRequest.add_member(:cidr, Shapes::ShapeRef.new(shape: __string, location_name: "cidr"))
+ RouteUpdateRequest.add_member(:gateway, Shapes::ShapeRef.new(shape: __string, location_name: "gateway"))
+ RouteUpdateRequest.struct_class = Types::RouteUpdateRequest
+
RtmpCaptionInfoDestinationSettings.struct_class = Types::RtmpCaptionInfoDestinationSettings
RtmpGroupSettings.add_member(:ad_markers, Shapes::ShapeRef.new(shape: __listOfRtmpAdMarkers, location_name: "adMarkers"))
@@ -3842,6 +4474,21 @@ module ClientApi
SrtCallerSourceRequest.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
SrtCallerSourceRequest.struct_class = Types::SrtCallerSourceRequest
+ SrtGroupSettings.add_member(:input_loss_action, Shapes::ShapeRef.new(shape: InputLossActionForUdpOut, location_name: "inputLossAction"))
+ SrtGroupSettings.struct_class = Types::SrtGroupSettings
+
+ SrtOutputDestinationSettings.add_member(:encryption_passphrase_secret_arn, Shapes::ShapeRef.new(shape: __string, location_name: "encryptionPassphraseSecretArn"))
+ SrtOutputDestinationSettings.add_member(:stream_id, Shapes::ShapeRef.new(shape: __string, location_name: "streamId"))
+ SrtOutputDestinationSettings.add_member(:url, Shapes::ShapeRef.new(shape: __string, location_name: "url"))
+ SrtOutputDestinationSettings.struct_class = Types::SrtOutputDestinationSettings
+
+ SrtOutputSettings.add_member(:buffer_msec, Shapes::ShapeRef.new(shape: __integerMin0Max10000, location_name: "bufferMsec"))
+ SrtOutputSettings.add_member(:container_settings, Shapes::ShapeRef.new(shape: UdpContainerSettings, required: true, location_name: "containerSettings"))
+ SrtOutputSettings.add_member(:destination, Shapes::ShapeRef.new(shape: OutputLocationRef, required: true, location_name: "destination"))
+ SrtOutputSettings.add_member(:encryption_type, Shapes::ShapeRef.new(shape: SrtEncryptionType, location_name: "encryptionType"))
+ SrtOutputSettings.add_member(:latency, Shapes::ShapeRef.new(shape: __integerMin40Max16000, location_name: "latency"))
+ SrtOutputSettings.struct_class = Types::SrtOutputSettings
+
SrtSettings.add_member(:srt_caller_sources, Shapes::ShapeRef.new(shape: __listOfSrtCallerSource, location_name: "srtCallerSources"))
SrtSettings.struct_class = Types::SrtSettings
@@ -3873,6 +4520,7 @@ module ClientApi
StartChannelResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
StartChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
StartChannelResponse.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcOutputSettingsDescription, location_name: "vpc"))
+ StartChannelResponse.add_member(:anywhere_settings, Shapes::ShapeRef.new(shape: DescribeAnywhereSettings, location_name: "anywhereSettings"))
StartChannelResponse.struct_class = Types::StartChannelResponse
StartDeleteMonitorDeploymentRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "identifier"))
@@ -4109,6 +4757,7 @@ module ClientApi
StopChannelResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelState, location_name: "state"))
StopChannelResponse.add_member(:tags, Shapes::ShapeRef.new(shape: Tags, location_name: "tags"))
StopChannelResponse.add_member(:vpc, Shapes::ShapeRef.new(shape: VpcOutputSettingsDescription, location_name: "vpc"))
+ StopChannelResponse.add_member(:anywhere_settings, Shapes::ShapeRef.new(shape: DescribeAnywhereSettings, location_name: "anywhereSettings"))
StopChannelResponse.struct_class = Types::StopChannelResponse
StopInputDeviceRequest.add_member(:input_device_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "inputDeviceId"))
@@ -4266,6 +4915,21 @@ module ClientApi
UpdateChannelClassResponse.add_member(:channel, Shapes::ShapeRef.new(shape: Channel, location_name: "channel"))
UpdateChannelClassResponse.struct_class = Types::UpdateChannelClassResponse
+ UpdateChannelPlacementGroupRequest.add_member(:channel_placement_group_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelPlacementGroupId"))
+ UpdateChannelPlacementGroupRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ UpdateChannelPlacementGroupRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ UpdateChannelPlacementGroupRequest.add_member(:nodes, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "nodes"))
+ UpdateChannelPlacementGroupRequest.struct_class = Types::UpdateChannelPlacementGroupRequest
+
+ UpdateChannelPlacementGroupResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ UpdateChannelPlacementGroupResponse.add_member(:channels, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channels"))
+ UpdateChannelPlacementGroupResponse.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ UpdateChannelPlacementGroupResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ UpdateChannelPlacementGroupResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ UpdateChannelPlacementGroupResponse.add_member(:nodes, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "nodes"))
+ UpdateChannelPlacementGroupResponse.add_member(:state, Shapes::ShapeRef.new(shape: ChannelPlacementGroupState, location_name: "state"))
+ UpdateChannelPlacementGroupResponse.struct_class = Types::UpdateChannelPlacementGroupResponse
+
UpdateChannelRequest.add_member(:cdi_input_specification, Shapes::ShapeRef.new(shape: CdiInputSpecification, location_name: "cdiInputSpecification"))
UpdateChannelRequest.add_member(:channel_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "channelId"))
UpdateChannelRequest.add_member(:destinations, Shapes::ShapeRef.new(shape: __listOfOutputDestination, location_name: "destinations"))
@@ -4376,6 +5040,29 @@ module ClientApi
UpdateCloudWatchAlarmTemplateResponseContent.add_member(:treat_missing_data, Shapes::ShapeRef.new(shape: CloudWatchAlarmTemplateTreatMissingData, required: true, location_name: "treatMissingData"))
UpdateCloudWatchAlarmTemplateResponseContent.struct_class = Types::UpdateCloudWatchAlarmTemplateResponseContent
+ UpdateClusterRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ UpdateClusterRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ UpdateClusterRequest.add_member(:network_settings, Shapes::ShapeRef.new(shape: ClusterNetworkSettingsUpdateRequest, location_name: "networkSettings"))
+ UpdateClusterRequest.struct_class = Types::UpdateClusterRequest
+
+ UpdateClusterResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ UpdateClusterResponse.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
+ UpdateClusterResponse.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
+ UpdateClusterResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ UpdateClusterResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ UpdateClusterResponse.add_member(:network_settings, Shapes::ShapeRef.new(shape: ClusterNetworkSettings, location_name: "networkSettings"))
+ UpdateClusterResponse.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
+ UpdateClusterResponse.struct_class = Types::UpdateClusterResponse
+
+ UpdateClusterResult.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ UpdateClusterResult.add_member(:channel_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelIds"))
+ UpdateClusterResult.add_member(:cluster_type, Shapes::ShapeRef.new(shape: ClusterType, location_name: "clusterType"))
+ UpdateClusterResult.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ UpdateClusterResult.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ UpdateClusterResult.add_member(:network_settings, Shapes::ShapeRef.new(shape: ClusterNetworkSettings, location_name: "networkSettings"))
+ UpdateClusterResult.add_member(:state, Shapes::ShapeRef.new(shape: ClusterState, location_name: "state"))
+ UpdateClusterResult.struct_class = Types::UpdateClusterResult
+
UpdateEventBridgeRuleTemplateGroupRequest.add_member(:description, Shapes::ShapeRef.new(shape: __stringMin0Max1024, location_name: "description"))
UpdateEventBridgeRuleTemplateGroupRequest.add_member(:identifier, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "identifier"))
UpdateEventBridgeRuleTemplateGroupRequest.struct_class = Types::UpdateEventBridgeRuleTemplateGroupRequest
@@ -4448,6 +5135,7 @@ module ClientApi
UpdateInput.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
UpdateInput.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfInputSourceRequest, location_name: "sources"))
UpdateInput.add_member(:srt_settings, Shapes::ShapeRef.new(shape: SrtSettingsRequest, location_name: "srtSettings"))
+ UpdateInput.add_member(:multicast_settings, Shapes::ShapeRef.new(shape: MulticastSettingsUpdateRequest, location_name: "multicastSettings"))
UpdateInput.struct_class = Types::UpdateInput
UpdateInputDevice.add_member(:hd_device_settings, Shapes::ShapeRef.new(shape: InputDeviceConfigurableSettings, location_name: "hdDeviceSettings"))
@@ -4490,6 +5178,7 @@ module ClientApi
UpdateInputRequest.add_member(:role_arn, Shapes::ShapeRef.new(shape: __string, location_name: "roleArn"))
UpdateInputRequest.add_member(:sources, Shapes::ShapeRef.new(shape: __listOfInputSourceRequest, location_name: "sources"))
UpdateInputRequest.add_member(:srt_settings, Shapes::ShapeRef.new(shape: SrtSettingsRequest, location_name: "srtSettings"))
+ UpdateInputRequest.add_member(:multicast_settings, Shapes::ShapeRef.new(shape: MulticastSettingsUpdateRequest, location_name: "multicastSettings"))
UpdateInputRequest.struct_class = Types::UpdateInputRequest
UpdateInputResponse.add_member(:input, Shapes::ShapeRef.new(shape: Input, location_name: "input"))
@@ -4540,6 +5229,65 @@ module ClientApi
UpdateMultiplexResultModel.add_member(:multiplex, Shapes::ShapeRef.new(shape: Multiplex, location_name: "multiplex"))
UpdateMultiplexResultModel.struct_class = Types::UpdateMultiplexResultModel
+ UpdateNetworkRequest.add_member(:ip_pools, Shapes::ShapeRef.new(shape: __listOfIpPoolUpdateRequest, location_name: "ipPools"))
+ UpdateNetworkRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ UpdateNetworkRequest.add_member(:network_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "networkId"))
+ UpdateNetworkRequest.add_member(:routes, Shapes::ShapeRef.new(shape: __listOfRouteUpdateRequest, location_name: "routes"))
+ UpdateNetworkRequest.struct_class = Types::UpdateNetworkRequest
+
+ UpdateNetworkResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ UpdateNetworkResponse.add_member(:associated_cluster_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "associatedClusterIds"))
+ UpdateNetworkResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ UpdateNetworkResponse.add_member(:ip_pools, Shapes::ShapeRef.new(shape: __listOfIpPool, location_name: "ipPools"))
+ UpdateNetworkResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ UpdateNetworkResponse.add_member(:routes, Shapes::ShapeRef.new(shape: __listOfRoute, location_name: "routes"))
+ UpdateNetworkResponse.add_member(:state, Shapes::ShapeRef.new(shape: NetworkState, location_name: "state"))
+ UpdateNetworkResponse.struct_class = Types::UpdateNetworkResponse
+
+ UpdateNetworkResult.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ UpdateNetworkResult.add_member(:associated_cluster_ids, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "associatedClusterIds"))
+ UpdateNetworkResult.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ UpdateNetworkResult.add_member(:ip_pools, Shapes::ShapeRef.new(shape: __listOfIpPool, location_name: "ipPools"))
+ UpdateNetworkResult.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ UpdateNetworkResult.add_member(:routes, Shapes::ShapeRef.new(shape: __listOfRoute, location_name: "routes"))
+ UpdateNetworkResult.add_member(:state, Shapes::ShapeRef.new(shape: NetworkState, location_name: "state"))
+ UpdateNetworkResult.struct_class = Types::UpdateNetworkResult
+
+ UpdateNodeRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ UpdateNodeRequest.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ UpdateNodeRequest.add_member(:node_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "nodeId"))
+ UpdateNodeRequest.add_member(:role, Shapes::ShapeRef.new(shape: NodeRole, location_name: "role"))
+ UpdateNodeRequest.struct_class = Types::UpdateNodeRequest
+
+ UpdateNodeResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ UpdateNodeResponse.add_member(:channel_placement_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelPlacementGroups"))
+ UpdateNodeResponse.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ UpdateNodeResponse.add_member(:connection_state, Shapes::ShapeRef.new(shape: NodeConnectionState, location_name: "connectionState"))
+ UpdateNodeResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ UpdateNodeResponse.add_member(:instance_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceArn"))
+ UpdateNodeResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ UpdateNodeResponse.add_member(:node_interface_mappings, Shapes::ShapeRef.new(shape: __listOfNodeInterfaceMapping, location_name: "nodeInterfaceMappings"))
+ UpdateNodeResponse.add_member(:role, Shapes::ShapeRef.new(shape: NodeRole, location_name: "role"))
+ UpdateNodeResponse.add_member(:state, Shapes::ShapeRef.new(shape: NodeState, location_name: "state"))
+ UpdateNodeResponse.struct_class = Types::UpdateNodeResponse
+
+ UpdateNodeStateRequest.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "clusterId"))
+ UpdateNodeStateRequest.add_member(:node_id, Shapes::ShapeRef.new(shape: __string, required: true, location: "uri", location_name: "nodeId"))
+ UpdateNodeStateRequest.add_member(:state, Shapes::ShapeRef.new(shape: UpdateNodeState, location_name: "state"))
+ UpdateNodeStateRequest.struct_class = Types::UpdateNodeStateRequest
+
+ UpdateNodeStateResponse.add_member(:arn, Shapes::ShapeRef.new(shape: __string, location_name: "arn"))
+ UpdateNodeStateResponse.add_member(:channel_placement_groups, Shapes::ShapeRef.new(shape: __listOf__string, location_name: "channelPlacementGroups"))
+ UpdateNodeStateResponse.add_member(:cluster_id, Shapes::ShapeRef.new(shape: __string, location_name: "clusterId"))
+ UpdateNodeStateResponse.add_member(:connection_state, Shapes::ShapeRef.new(shape: NodeConnectionState, location_name: "connectionState"))
+ UpdateNodeStateResponse.add_member(:id, Shapes::ShapeRef.new(shape: __string, location_name: "id"))
+ UpdateNodeStateResponse.add_member(:instance_arn, Shapes::ShapeRef.new(shape: __string, location_name: "instanceArn"))
+ UpdateNodeStateResponse.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
+ UpdateNodeStateResponse.add_member(:node_interface_mappings, Shapes::ShapeRef.new(shape: __listOfNodeInterfaceMapping, location_name: "nodeInterfaceMappings"))
+ UpdateNodeStateResponse.add_member(:role, Shapes::ShapeRef.new(shape: NodeRole, location_name: "role"))
+ UpdateNodeStateResponse.add_member(:state, Shapes::ShapeRef.new(shape: NodeState, location_name: "state"))
+ UpdateNodeStateResponse.struct_class = Types::UpdateNodeStateResponse
+
UpdateReservation.add_member(:name, Shapes::ShapeRef.new(shape: __string, location_name: "name"))
UpdateReservation.add_member(:renewal_settings, Shapes::ShapeRef.new(shape: RenewalSettings, location_name: "renewalSettings"))
UpdateReservation.struct_class = Types::UpdateReservation
@@ -4567,6 +5315,7 @@ module ClientApi
VideoCodecSettings.add_member(:h264_settings, Shapes::ShapeRef.new(shape: H264Settings, location_name: "h264Settings"))
VideoCodecSettings.add_member(:h265_settings, Shapes::ShapeRef.new(shape: H265Settings, location_name: "h265Settings"))
VideoCodecSettings.add_member(:mpeg_2_settings, Shapes::ShapeRef.new(shape: Mpeg2Settings, location_name: "mpeg2Settings"))
+ VideoCodecSettings.add_member(:av_1_settings, Shapes::ShapeRef.new(shape: Av1Settings, location_name: "av1Settings"))
VideoCodecSettings.struct_class = Types::VideoCodecSettings
VideoDescription.add_member(:codec_settings, Shapes::ShapeRef.new(shape: VideoCodecSettings, location_name: "codecSettings"))
@@ -4650,6 +5399,14 @@ module ClientApi
__listOfDashRoleCaption.member = Shapes::ShapeRef.new(shape: DashRoleCaption)
+ __listOfDescribeChannelPlacementGroupSummary.member = Shapes::ShapeRef.new(shape: DescribeChannelPlacementGroupSummary)
+
+ __listOfDescribeClusterSummary.member = Shapes::ShapeRef.new(shape: DescribeClusterSummary)
+
+ __listOfDescribeNetworkSummary.member = Shapes::ShapeRef.new(shape: DescribeNetworkSummary)
+
+ __listOfDescribeNodeSummary.member = Shapes::ShapeRef.new(shape: DescribeNodeSummary)
+
__listOfEventBridgeRuleTemplateGroupSummary.member = Shapes::ShapeRef.new(shape: EventBridgeRuleTemplateGroupSummary)
__listOfEventBridgeRuleTemplateSummary.member = Shapes::ShapeRef.new(shape: EventBridgeRuleTemplateSummary)
@@ -4670,6 +5427,8 @@ module ClientApi
__listOfInputDestinationRequest.member = Shapes::ShapeRef.new(shape: InputDestinationRequest)
+ __listOfInputDestinationRoute.member = Shapes::ShapeRef.new(shape: InputDestinationRoute)
+
__listOfInputDeviceConfigurableAudioChannelPairConfig.member = Shapes::ShapeRef.new(shape: InputDeviceConfigurableAudioChannelPairConfig)
__listOfInputDeviceRequest.member = Shapes::ShapeRef.new(shape: InputDeviceRequest)
@@ -4680,6 +5439,8 @@ module ClientApi
__listOfInputDeviceUhdAudioChannelPairConfig.member = Shapes::ShapeRef.new(shape: InputDeviceUhdAudioChannelPairConfig)
+ __listOfInputRequestDestinationRoute.member = Shapes::ShapeRef.new(shape: InputRequestDestinationRoute)
+
__listOfInputSecurityGroup.member = Shapes::ShapeRef.new(shape: InputSecurityGroup)
__listOfInputSource.member = Shapes::ShapeRef.new(shape: InputSource)
@@ -4690,6 +5451,18 @@ module ClientApi
__listOfInputWhitelistRuleCidr.member = Shapes::ShapeRef.new(shape: InputWhitelistRuleCidr)
+ __listOfInterfaceMapping.member = Shapes::ShapeRef.new(shape: InterfaceMapping)
+
+ __listOfInterfaceMappingCreateRequest.member = Shapes::ShapeRef.new(shape: InterfaceMappingCreateRequest)
+
+ __listOfInterfaceMappingUpdateRequest.member = Shapes::ShapeRef.new(shape: InterfaceMappingUpdateRequest)
+
+ __listOfIpPool.member = Shapes::ShapeRef.new(shape: IpPool)
+
+ __listOfIpPoolCreateRequest.member = Shapes::ShapeRef.new(shape: IpPoolCreateRequest)
+
+ __listOfIpPoolUpdateRequest.member = Shapes::ShapeRef.new(shape: IpPoolUpdateRequest)
+
__listOfMediaConnectFlow.member = Shapes::ShapeRef.new(shape: MediaConnectFlow)
__listOfMediaConnectFlowRequest.member = Shapes::ShapeRef.new(shape: MediaConnectFlowRequest)
@@ -4698,6 +5471,12 @@ module ClientApi
__listOfMediaResourceNeighbor.member = Shapes::ShapeRef.new(shape: MediaResourceNeighbor)
+ __listOfMulticastSource.member = Shapes::ShapeRef.new(shape: MulticastSource)
+
+ __listOfMulticastSourceCreateRequest.member = Shapes::ShapeRef.new(shape: MulticastSourceCreateRequest)
+
+ __listOfMulticastSourceUpdateRequest.member = Shapes::ShapeRef.new(shape: MulticastSourceUpdateRequest)
+
__listOfMultiplexOutputDestination.member = Shapes::ShapeRef.new(shape: MultiplexOutputDestination)
__listOfMultiplexProgramPipelineDetail.member = Shapes::ShapeRef.new(shape: MultiplexProgramPipelineDetail)
@@ -4706,6 +5485,10 @@ module ClientApi
__listOfMultiplexSummary.member = Shapes::ShapeRef.new(shape: MultiplexSummary)
+ __listOfNodeInterfaceMapping.member = Shapes::ShapeRef.new(shape: NodeInterfaceMapping)
+
+ __listOfNodeInterfaceMappingCreateRequest.member = Shapes::ShapeRef.new(shape: NodeInterfaceMappingCreateRequest)
+
__listOfOffering.member = Shapes::ShapeRef.new(shape: Offering)
__listOfOutput.member = Shapes::ShapeRef.new(shape: Output)
@@ -4722,6 +5505,12 @@ module ClientApi
__listOfReservation.member = Shapes::ShapeRef.new(shape: Reservation)
+ __listOfRoute.member = Shapes::ShapeRef.new(shape: Route)
+
+ __listOfRouteCreateRequest.member = Shapes::ShapeRef.new(shape: RouteCreateRequest)
+
+ __listOfRouteUpdateRequest.member = Shapes::ShapeRef.new(shape: RouteUpdateRequest)
+
__listOfRtmpAdMarkers.member = Shapes::ShapeRef.new(shape: RtmpAdMarkers)
__listOfScheduleAction.member = Shapes::ShapeRef.new(shape: ScheduleAction)
@@ -4734,6 +5523,8 @@ module ClientApi
__listOfSrtCallerSourceRequest.member = Shapes::ShapeRef.new(shape: SrtCallerSourceRequest)
+ __listOfSrtOutputDestinationSettings.member = Shapes::ShapeRef.new(shape: SrtOutputDestinationSettings)
+
__listOfThumbnail.member = Shapes::ShapeRef.new(shape: Thumbnail)
__listOfThumbnailDetail.member = Shapes::ShapeRef.new(shape: ThumbnailDetail)
@@ -6222,6 +7013,362 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
end)
+
+ api.add_operation(:create_channel_placement_group, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "CreateChannelPlacementGroup"
+ o.http_method = "POST"
+ o.http_request_uri = "/prod/clusters/{clusterId}/channelplacementgroups"
+ o.input = Shapes::ShapeRef.new(shape: CreateChannelPlacementGroupRequest)
+ o.output = Shapes::ShapeRef.new(shape: CreateChannelPlacementGroupResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ end)
+
+ api.add_operation(:create_cluster, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "CreateCluster"
+ o.http_method = "POST"
+ o.http_request_uri = "/prod/clusters"
+ o.input = Shapes::ShapeRef.new(shape: CreateClusterRequest)
+ o.output = Shapes::ShapeRef.new(shape: CreateClusterResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
+
+ api.add_operation(:create_network, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "CreateNetwork"
+ o.http_method = "POST"
+ o.http_request_uri = "/prod/networks"
+ o.input = Shapes::ShapeRef.new(shape: CreateNetworkRequest)
+ o.output = Shapes::ShapeRef.new(shape: CreateNetworkResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
+
+ api.add_operation(:create_node, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "CreateNode"
+ o.http_method = "POST"
+ o.http_request_uri = "/prod/clusters/{clusterId}/nodes"
+ o.input = Shapes::ShapeRef.new(shape: CreateNodeRequest)
+ o.output = Shapes::ShapeRef.new(shape: CreateNodeResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ end)
+
+ api.add_operation(:create_node_registration_script, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "CreateNodeRegistrationScript"
+ o.http_method = "POST"
+ o.http_request_uri = "/prod/clusters/{clusterId}/nodeRegistrationScript"
+ o.input = Shapes::ShapeRef.new(shape: CreateNodeRegistrationScriptRequest)
+ o.output = Shapes::ShapeRef.new(shape: CreateNodeRegistrationScriptResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
+
+ api.add_operation(:delete_channel_placement_group, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DeleteChannelPlacementGroup"
+ o.http_method = "DELETE"
+ o.http_request_uri = "/prod/clusters/{clusterId}/channelplacementgroups/{channelPlacementGroupId}"
+ o.input = Shapes::ShapeRef.new(shape: DeleteChannelPlacementGroupRequest)
+ o.output = Shapes::ShapeRef.new(shape: DeleteChannelPlacementGroupResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
+
+ api.add_operation(:delete_cluster, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DeleteCluster"
+ o.http_method = "DELETE"
+ o.http_request_uri = "/prod/clusters/{clusterId}"
+ o.input = Shapes::ShapeRef.new(shape: DeleteClusterRequest)
+ o.output = Shapes::ShapeRef.new(shape: DeleteClusterResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
+
+ api.add_operation(:delete_network, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DeleteNetwork"
+ o.http_method = "DELETE"
+ o.http_request_uri = "/prod/networks/{networkId}"
+ o.input = Shapes::ShapeRef.new(shape: DeleteNetworkRequest)
+ o.output = Shapes::ShapeRef.new(shape: DeleteNetworkResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
+
+ api.add_operation(:delete_node, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DeleteNode"
+ o.http_method = "DELETE"
+ o.http_request_uri = "/prod/clusters/{clusterId}/nodes/{nodeId}"
+ o.input = Shapes::ShapeRef.new(shape: DeleteNodeRequest)
+ o.output = Shapes::ShapeRef.new(shape: DeleteNodeResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
+
+ api.add_operation(:describe_channel_placement_group, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DescribeChannelPlacementGroup"
+ o.http_method = "GET"
+ o.http_request_uri = "/prod/clusters/{clusterId}/channelplacementgroups/{channelPlacementGroupId}"
+ o.input = Shapes::ShapeRef.new(shape: DescribeChannelPlacementGroupRequest)
+ o.output = Shapes::ShapeRef.new(shape: DescribeChannelPlacementGroupResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ end)
+
+ api.add_operation(:describe_cluster, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DescribeCluster"
+ o.http_method = "GET"
+ o.http_request_uri = "/prod/clusters/{clusterId}"
+ o.input = Shapes::ShapeRef.new(shape: DescribeClusterRequest)
+ o.output = Shapes::ShapeRef.new(shape: DescribeClusterResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ end)
+
+ api.add_operation(:describe_network, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DescribeNetwork"
+ o.http_method = "GET"
+ o.http_request_uri = "/prod/networks/{networkId}"
+ o.input = Shapes::ShapeRef.new(shape: DescribeNetworkRequest)
+ o.output = Shapes::ShapeRef.new(shape: DescribeNetworkResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ end)
+
+ api.add_operation(:describe_node, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "DescribeNode"
+ o.http_method = "GET"
+ o.http_request_uri = "/prod/clusters/{clusterId}/nodes/{nodeId}"
+ o.input = Shapes::ShapeRef.new(shape: DescribeNodeRequest)
+ o.output = Shapes::ShapeRef.new(shape: DescribeNodeResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: NotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ end)
+
+ api.add_operation(:list_channel_placement_groups, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListChannelPlacementGroups"
+ o.http_method = "GET"
+ o.http_request_uri = "/prod/clusters/{clusterId}/channelplacementgroups"
+ o.input = Shapes::ShapeRef.new(shape: ListChannelPlacementGroupsRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListChannelPlacementGroupsResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
+ api.add_operation(:list_clusters, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListClusters"
+ o.http_method = "GET"
+ o.http_request_uri = "/prod/clusters"
+ o.input = Shapes::ShapeRef.new(shape: ListClustersRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListClustersResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
+ api.add_operation(:list_networks, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListNetworks"
+ o.http_method = "GET"
+ o.http_request_uri = "/prod/networks"
+ o.input = Shapes::ShapeRef.new(shape: ListNetworksRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListNetworksResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
+ api.add_operation(:list_nodes, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListNodes"
+ o.http_method = "GET"
+ o.http_request_uri = "/prod/clusters/{clusterId}/nodes"
+ o.input = Shapes::ShapeRef.new(shape: ListNodesRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListNodesResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
+ api.add_operation(:update_channel_placement_group, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "UpdateChannelPlacementGroup"
+ o.http_method = "PUT"
+ o.http_request_uri = "/prod/clusters/{clusterId}/channelplacementgroups/{channelPlacementGroupId}"
+ o.input = Shapes::ShapeRef.new(shape: UpdateChannelPlacementGroupRequest)
+ o.output = Shapes::ShapeRef.new(shape: UpdateChannelPlacementGroupResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
+
+ api.add_operation(:update_cluster, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "UpdateCluster"
+ o.http_method = "PUT"
+ o.http_request_uri = "/prod/clusters/{clusterId}"
+ o.input = Shapes::ShapeRef.new(shape: UpdateClusterRequest)
+ o.output = Shapes::ShapeRef.new(shape: UpdateClusterResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
+
+ api.add_operation(:update_network, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "UpdateNetwork"
+ o.http_method = "PUT"
+ o.http_request_uri = "/prod/networks/{networkId}"
+ o.input = Shapes::ShapeRef.new(shape: UpdateNetworkRequest)
+ o.output = Shapes::ShapeRef.new(shape: UpdateNetworkResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
+
+ api.add_operation(:update_node, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "UpdateNode"
+ o.http_method = "PUT"
+ o.http_request_uri = "/prod/clusters/{clusterId}/nodes/{nodeId}"
+ o.input = Shapes::ShapeRef.new(shape: UpdateNodeRequest)
+ o.output = Shapes::ShapeRef.new(shape: UpdateNodeResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
+
+ api.add_operation(:update_node_state, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "UpdateNodeState"
+ o.http_method = "PUT"
+ o.http_request_uri = "/prod/clusters/{clusterId}/nodes/{nodeId}/state"
+ o.input = Shapes::ShapeRef.new(shape: UpdateNodeStateRequest)
+ o.output = Shapes::ShapeRef.new(shape: UpdateNodeStateResponse)
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
+ o.errors << Shapes::ShapeRef.new(shape: UnprocessableEntityException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
+ o.errors << Shapes::ShapeRef.new(shape: ForbiddenException)
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
+ o.errors << Shapes::ShapeRef.new(shape: GatewayTimeoutException)
+ o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
+ end)
end
end
diff --git a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/endpoints.rb b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/endpoints.rb
index fa02053a74f..eee8b436a49 100644
--- a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/endpoints.rb
+++ b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/endpoints.rb
@@ -14,1288 +14,1254 @@ module Endpoints
class AcceptInputDeviceTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDelete
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchStart
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchStop
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelInputDeviceTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ClaimDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInputSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMultiplexProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePartnerInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInputSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMultiplexProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInputDeviceThumbnail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInputSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMultiplexProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeThumbnails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInputDeviceTransfers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInputDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInputSecurityGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInputs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMultiplexPrograms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMultiplexes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReservations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectInputDeviceTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInputDeviceMaintenanceWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TransferInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannelClass
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInputDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInputSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMultiplex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMultiplexProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReservation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestartChannelPipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCloudWatchAlarmTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCloudWatchAlarmTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventBridgeRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventBridgeRuleTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSignalMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCloudWatchAlarmTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCloudWatchAlarmTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventBridgeRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventBridgeRuleTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSignalMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCloudWatchAlarmTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCloudWatchAlarmTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventBridgeRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventBridgeRuleTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSignalMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCloudWatchAlarmTemplateGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCloudWatchAlarmTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventBridgeRuleTemplateGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventBridgeRuleTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSignalMaps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDeleteMonitorDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMonitorDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartUpdateSignalMap
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCloudWatchAlarmTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCloudWatchAlarmTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventBridgeRuleTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventBridgeRuleTemplateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaLive::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class CreateChannelPlacementGroup
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class CreateCluster
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class CreateNetwork
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class CreateNode
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class CreateNodeRegistrationScript
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DeleteChannelPlacementGroup
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DeleteCluster
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DeleteNetwork
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DeleteNode
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DescribeChannelPlacementGroup
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DescribeCluster
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DescribeNetwork
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class DescribeNode
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListChannelPlacementGroups
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListClusters
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListNetworks
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListNodes
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class UpdateChannelPlacementGroup
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class UpdateCluster
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class UpdateNetwork
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class UpdateNode
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class UpdateNodeState
+ def self.build(context)
+ Aws::MediaLive::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/plugins/endpoints.rb b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/plugins/endpoints.rb
index d256bcc295c..7c368e04266 100644
--- a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/plugins/endpoints.rb
+++ b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
@@ -242,6 +251,50 @@ def parameters_for_operation(context)
Aws::MediaLive::Endpoints::UpdateEventBridgeRuleTemplate.build(context)
when :update_event_bridge_rule_template_group
Aws::MediaLive::Endpoints::UpdateEventBridgeRuleTemplateGroup.build(context)
+ when :create_channel_placement_group
+ Aws::MediaLive::Endpoints::CreateChannelPlacementGroup.build(context)
+ when :create_cluster
+ Aws::MediaLive::Endpoints::CreateCluster.build(context)
+ when :create_network
+ Aws::MediaLive::Endpoints::CreateNetwork.build(context)
+ when :create_node
+ Aws::MediaLive::Endpoints::CreateNode.build(context)
+ when :create_node_registration_script
+ Aws::MediaLive::Endpoints::CreateNodeRegistrationScript.build(context)
+ when :delete_channel_placement_group
+ Aws::MediaLive::Endpoints::DeleteChannelPlacementGroup.build(context)
+ when :delete_cluster
+ Aws::MediaLive::Endpoints::DeleteCluster.build(context)
+ when :delete_network
+ Aws::MediaLive::Endpoints::DeleteNetwork.build(context)
+ when :delete_node
+ Aws::MediaLive::Endpoints::DeleteNode.build(context)
+ when :describe_channel_placement_group
+ Aws::MediaLive::Endpoints::DescribeChannelPlacementGroup.build(context)
+ when :describe_cluster
+ Aws::MediaLive::Endpoints::DescribeCluster.build(context)
+ when :describe_network
+ Aws::MediaLive::Endpoints::DescribeNetwork.build(context)
+ when :describe_node
+ Aws::MediaLive::Endpoints::DescribeNode.build(context)
+ when :list_channel_placement_groups
+ Aws::MediaLive::Endpoints::ListChannelPlacementGroups.build(context)
+ when :list_clusters
+ Aws::MediaLive::Endpoints::ListClusters.build(context)
+ when :list_networks
+ Aws::MediaLive::Endpoints::ListNetworks.build(context)
+ when :list_nodes
+ Aws::MediaLive::Endpoints::ListNodes.build(context)
+ when :update_channel_placement_group
+ Aws::MediaLive::Endpoints::UpdateChannelPlacementGroup.build(context)
+ when :update_cluster
+ Aws::MediaLive::Endpoints::UpdateCluster.build(context)
+ when :update_network
+ Aws::MediaLive::Endpoints::UpdateNetwork.build(context)
+ when :update_node
+ Aws::MediaLive::Endpoints::UpdateNode.build(context)
+ when :update_node_state
+ Aws::MediaLive::Endpoints::UpdateNodeState.build(context)
end
end
end
diff --git a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb
index 2ca0481ed6a..ae979e0a7c3 100644
--- a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb
+++ b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/types.rb
@@ -1863,6 +1863,10 @@ class CdiInputSpecification < Struct.new(
# Settings for VPC output
# @return [Types::VpcOutputSettingsDescription]
#
+ # @!attribute [rw] anywhere_settings
+ # Anywhere settings for this channel.
+ # @return [Types::DescribeAnywhereSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Channel AWS API Documentation
#
class Channel < Struct.new(
@@ -1883,7 +1887,8 @@ class Channel < Struct.new(
:role_arn,
:state,
:tags,
- :vpc)
+ :vpc,
+ :anywhere_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -1983,6 +1988,10 @@ class ChannelEgressEndpoint < Struct.new(
# Settings for any VPC outputs.
# @return [Types::VpcOutputSettingsDescription]
#
+ # @!attribute [rw] anywhere_settings
+ # AnywhereSettings settings for this channel.
+ # @return [Types::DescribeAnywhereSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ChannelSummary AWS API Documentation
#
class ChannelSummary < Struct.new(
@@ -2001,7 +2010,8 @@ class ChannelSummary < Struct.new(
:role_arn,
:state,
:tags,
- :vpc)
+ :vpc,
+ :anywhere_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -2151,6 +2161,10 @@ class ConflictException < Struct.new(
# Settings for the VPC outputs
# @return [Types::VpcOutputSettings]
#
+ # @!attribute [rw] anywhere_settings
+ # The Elemental Anywhere settings for this channel.
+ # @return [Types::AnywhereSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannel AWS API Documentation
#
class CreateChannel < Struct.new(
@@ -2167,7 +2181,8 @@ class CreateChannel < Struct.new(
:reserved,
:role_arn,
:tags,
- :vpc)
+ :vpc,
+ :anywhere_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -2223,6 +2238,10 @@ class CreateChannel < Struct.new(
# specified VPC
# @return [Types::VpcOutputSettings]
#
+ # @!attribute [rw] anywhere_settings
+ # Elemental anywhere settings
+ # @return [Types::AnywhereSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannelRequest AWS API Documentation
#
class CreateChannelRequest < Struct.new(
@@ -2239,7 +2258,8 @@ class CreateChannelRequest < Struct.new(
:reserved,
:role_arn,
:tags,
- :vpc)
+ :vpc,
+ :anywhere_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -2326,6 +2346,15 @@ class CreateChannelResultModel < Struct.new(
# The settings associated with an SRT input.
# @return [Types::SrtSettingsRequest]
#
+ # @!attribute [rw] input_network_location
+ # The location of this input. AWS, for an input existing in the AWS
+ # Cloud, On-Prem for an input in a customer network.
+ # @return [String]
+ #
+ # @!attribute [rw] multicast_settings
+ # Multicast Input settings.
+ # @return [Types::MulticastSettingsCreateRequest]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInput AWS API Documentation
#
class CreateInput < Struct.new(
@@ -2340,7 +2369,9 @@ class CreateInput < Struct.new(
:tags,
:type,
:vpc,
- :srt_settings)
+ :srt_settings,
+ :input_network_location,
+ :multicast_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -2392,6 +2423,17 @@ class CreateInput < Struct.new(
# standard-pipeline input, include two srtCallerSource.
# @return [Types::SrtSettingsRequest]
#
+ # @!attribute [rw] input_network_location
+ # With the introduction of MediaLive Anywhere, a MediaLive input can
+ # now exist in two different places: AWS or inside an on-premises
+ # datacenter. By default all inputs will continue to be AWS inputs.
+ # @return [String]
+ #
+ # @!attribute [rw] multicast_settings
+ # Settings for a Multicast input. Contains a list of multicast Urls
+ # and optional source ip addresses.
+ # @return [Types::MulticastSettingsCreateRequest]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateInputRequest AWS API Documentation
#
class CreateInputRequest < Struct.new(
@@ -2406,7 +2448,9 @@ class CreateInputRequest < Struct.new(
:tags,
:type,
:vpc,
- :srt_settings)
+ :srt_settings,
+ :input_network_location,
+ :multicast_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -2779,6 +2823,10 @@ class DeleteChannelRequest < Struct.new(
# The properties for a private VPC Output
# @return [Types::VpcOutputSettingsDescription]
#
+ # @!attribute [rw] anywhere_settings
+ # Elemental anywhere settings
+ # @return [Types::DescribeAnywhereSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannelResponse AWS API Documentation
#
class DeleteChannelResponse < Struct.new(
@@ -2799,7 +2847,8 @@ class DeleteChannelResponse < Struct.new(
:role_arn,
:state,
:tags,
- :vpc)
+ :vpc,
+ :anywhere_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -3167,6 +3216,10 @@ class DescribeChannelRequest < Struct.new(
# The properties for a private VPC Output
# @return [Types::VpcOutputSettingsDescription]
#
+ # @!attribute [rw] anywhere_settings
+ # Elemental anywhere settings
+ # @return [Types::DescribeAnywhereSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannelResponse AWS API Documentation
#
class DescribeChannelResponse < Struct.new(
@@ -3187,7 +3240,8 @@ class DescribeChannelResponse < Struct.new(
:role_arn,
:state,
:tags,
- :vpc)
+ :vpc,
+ :anywhere_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -3409,6 +3463,17 @@ class DescribeInputRequest < Struct.new(
# The configured sources for this SRT input.
# @return [Types::SrtSettings]
#
+ # @!attribute [rw] input_network_location
+ # With the introduction of MediaLive Anywhere, a MediaLive input can
+ # now exist in two different places: AWS or inside an on-premises
+ # datacenter. By default all inputs will continue to be AWS inputs.
+ # @return [String]
+ #
+ # @!attribute [rw] multicast_settings
+ # Settings for a Multicast input. Contains a list of multicast Urls
+ # and optional source ip addresses.
+ # @return [Types::MulticastSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeInputResponse AWS API Documentation
#
class DescribeInputResponse < Struct.new(
@@ -3428,7 +3493,9 @@ class DescribeInputResponse < Struct.new(
:state,
:tags,
:type,
- :srt_settings)
+ :srt_settings,
+ :input_network_location,
+ :multicast_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -4910,10 +4977,15 @@ class H264ColorSpaceSettings < Struct.new(
# Temporal Filter Settings
# @return [Types::TemporalFilterSettings]
#
+ # @!attribute [rw] bandwidth_reduction_filter_settings
+ # Bandwidth Reduction Filter Settings
+ # @return [Types::BandwidthReductionFilterSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/H264FilterSettings AWS API Documentation
#
class H264FilterSettings < Struct.new(
- :temporal_filter_settings)
+ :temporal_filter_settings,
+ :bandwidth_reduction_filter_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -5324,10 +5396,15 @@ class H265ColorSpaceSettings < Struct.new(
# Temporal Filter Settings
# @return [Types::TemporalFilterSettings]
#
+ # @!attribute [rw] bandwidth_reduction_filter_settings
+ # Bandwidth Reduction Filter Settings
+ # @return [Types::BandwidthReductionFilterSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/H265FilterSettings AWS API Documentation
#
class H265FilterSettings < Struct.new(
- :temporal_filter_settings)
+ :temporal_filter_settings,
+ :bandwidth_reduction_filter_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -6426,6 +6503,15 @@ class ImmediateModeScheduleActionStartSettings < Aws::EmptyStructure; end
# The settings associated with an SRT input.
# @return [Types::SrtSettings]
#
+ # @!attribute [rw] input_network_location
+ # The location of this input. AWS, for an input existing in the AWS
+ # Cloud, On-Prem for an input in a customer network.
+ # @return [String]
+ #
+ # @!attribute [rw] multicast_settings
+ # Multicast Input settings.
+ # @return [Types::MulticastSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Input AWS API Documentation
#
class Input < Struct.new(
@@ -6445,7 +6531,9 @@ class Input < Struct.new(
:state,
:tags,
:type,
- :srt_settings)
+ :srt_settings,
+ :input_network_location,
+ :multicast_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -6468,13 +6556,19 @@ class Input < Struct.new(
# Settings of an input (caption selector, etc.)
# @return [Types::InputSettings]
#
+ # @!attribute [rw] logical_interface_names
+ # Optional assignment of an input to a logical interface on the Node.
+ # Only applies to on premises channels.
+ # @return [Array]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputAttachment AWS API Documentation
#
class InputAttachment < Struct.new(
:automatic_input_failover_settings,
:input_attachment_name,
:input_id,
- :input_settings)
+ :input_settings,
+ :logical_interface_names)
SENSITIVE = []
include Aws::Structure
end
@@ -6544,13 +6638,25 @@ class InputClippingSettings < Struct.new(
# The properties for a VPC type input destination.
# @return [Types::InputDestinationVpc]
#
+ # @!attribute [rw] network
+ # The ID of the attached network.
+ # @return [String]
+ #
+ # @!attribute [rw] network_routes
+ # If the push input has an input location of ON-PREM it's a
+ # requirement to specify what the route of the input is going to be on
+ # the customer local network.
+ # @return [Array]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputDestination AWS API Documentation
#
class InputDestination < Struct.new(
:ip,
:port,
:url,
- :vpc)
+ :vpc,
+ :network,
+ :network_routes)
SENSITIVE = []
include Aws::Structure
end
@@ -6561,10 +6667,30 @@ class InputDestination < Struct.new(
# A unique name for the location the RTMP stream is being pushed to.
# @return [String]
#
+ # @!attribute [rw] network
+ # If the push input has an input location of ON-PREM, ID the ID of the
+ # attached network.
+ # @return [String]
+ #
+ # @!attribute [rw] network_routes
+ # If the push input has an input location of ON-PREM it's a
+ # requirement to specify what the route of the input is going to be on
+ # the customer local network.
+ # @return [Array]
+ #
+ # @!attribute [rw] static_ip_address
+ # If the push input has an input location of ON-PREM it's optional to
+ # specify what the ip address of the input is going to be on the
+ # customer local network.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputDestinationRequest AWS API Documentation
#
class InputDestinationRequest < Struct.new(
- :stream_name)
+ :stream_name,
+ :network,
+ :network_routes,
+ :static_ip_address)
SENSITIVE = []
include Aws::Structure
end
@@ -9295,10 +9421,15 @@ class MultiplexOutputDestination < Struct.new(
# Destination is a Multiplex.
# @return [Types::OutputLocationRef]
#
+ # @!attribute [rw] container_settings
+ # Multiplex Container Settings
+ # @return [Types::MultiplexContainerSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MultiplexOutputSettings AWS API Documentation
#
class MultiplexOutputSettings < Struct.new(
- :destination)
+ :destination,
+ :container_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -9693,11 +9824,17 @@ class MultiplexVideoSettings < Struct.new(
# https.
# @return [String]
#
+ # @!attribute [rw] multicast_input_settings
+ # Specifies multicast input settings when the uri is for a multicast
+ # event.
+ # @return [Types::MulticastInputSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/NetworkInputSettings AWS API Documentation
#
class NetworkInputSettings < Struct.new(
:hls_input_settings,
- :server_validation)
+ :server_validation,
+ :multicast_input_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -9932,13 +10069,19 @@ class Output < Struct.new(
# redundant encoder.
# @return [Array]
#
+ # @!attribute [rw] srt_settings
+ # SRT settings for an SRT output; one destination for each redundant
+ # encoder.
+ # @return [Array]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputDestination AWS API Documentation
#
class OutputDestination < Struct.new(
:id,
:media_package_settings,
:multiplex_settings,
- :settings)
+ :settings,
+ :srt_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -10032,6 +10175,10 @@ class OutputGroup < Struct.new(
# Cmaf Ingest Group Settings
# @return [Types::CmafIngestGroupSettings]
#
+ # @!attribute [rw] srt_group_settings
+ # Srt Group Settings
+ # @return [Types::SrtGroupSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputGroupSettings AWS API Documentation
#
class OutputGroupSettings < Struct.new(
@@ -10043,7 +10190,8 @@ class OutputGroupSettings < Struct.new(
:multiplex_group_settings,
:rtmp_group_settings,
:udp_group_settings,
- :cmaf_ingest_group_settings)
+ :cmaf_ingest_group_settings,
+ :srt_group_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -10118,6 +10266,10 @@ class OutputLockingSettings < Struct.new(
# Cmaf Ingest Output Settings
# @return [Types::CmafIngestOutputSettings]
#
+ # @!attribute [rw] srt_output_settings
+ # Srt Output Settings
+ # @return [Types::SrtOutputSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/OutputSettings AWS API Documentation
#
class OutputSettings < Struct.new(
@@ -10129,7 +10281,8 @@ class OutputSettings < Struct.new(
:multiplex_output_settings,
:rtmp_output_settings,
:udp_output_settings,
- :cmaf_ingest_output_settings)
+ :cmaf_ingest_output_settings,
+ :srt_output_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -11352,6 +11505,10 @@ class StartChannelRequest < Struct.new(
# The properties for a private VPC Output
# @return [Types::VpcOutputSettingsDescription]
#
+ # @!attribute [rw] anywhere_settings
+ # Elemental anywhere settings
+ # @return [Types::DescribeAnywhereSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StartChannelResponse AWS API Documentation
#
class StartChannelResponse < Struct.new(
@@ -11372,7 +11529,8 @@ class StartChannelResponse < Struct.new(
:role_arn,
:state,
:tags,
- :vpc)
+ :vpc,
+ :anywhere_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -11790,6 +11948,10 @@ class StopChannelRequest < Struct.new(
# The properties for a private VPC Output
# @return [Types::VpcOutputSettingsDescription]
#
+ # @!attribute [rw] anywhere_settings
+ # Elemental anywhere settings
+ # @return [Types::DescribeAnywhereSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/StopChannelResponse AWS API Documentation
#
class StopChannelResponse < Struct.new(
@@ -11810,7 +11972,8 @@ class StopChannelResponse < Struct.new(
:role_arn,
:state,
:tags,
- :vpc)
+ :vpc,
+ :anywhere_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -12582,6 +12745,10 @@ class UpdateChannelResultModel < Struct.new(
# The settings associated with an SRT input.
# @return [Types::SrtSettingsRequest]
#
+ # @!attribute [rw] multicast_settings
+ # Multicast Input settings.
+ # @return [Types::MulticastSettingsUpdateRequest]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInput AWS API Documentation
#
class UpdateInput < Struct.new(
@@ -12592,7 +12759,8 @@ class UpdateInput < Struct.new(
:name,
:role_arn,
:sources,
- :srt_settings)
+ :srt_settings,
+ :multicast_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -12772,6 +12940,11 @@ class UpdateInputDeviceResponse < Struct.new(
# standard-pipeline input, include two srtCallerSource.
# @return [Types::SrtSettingsRequest]
#
+ # @!attribute [rw] multicast_settings
+ # Settings for a Multicast input. Contains a list of multicast Urls
+ # and optional source ip addresses.
+ # @return [Types::MulticastSettingsUpdateRequest]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateInputRequest AWS API Documentation
#
class UpdateInputRequest < Struct.new(
@@ -12783,7 +12956,8 @@ class UpdateInputRequest < Struct.new(
:name,
:role_arn,
:sources,
- :srt_settings)
+ :srt_settings,
+ :multicast_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -13106,13 +13280,18 @@ class VideoBlackFailoverSettings < Struct.new(
# Mpeg2 Settings
# @return [Types::Mpeg2Settings]
#
+ # @!attribute [rw] av_1_settings
+ # Av1 Settings
+ # @return [Types::Av1Settings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/VideoCodecSettings AWS API Documentation
#
class VideoCodecSettings < Struct.new(
:frame_capture_settings,
:h264_settings,
:h265_settings,
- :mpeg_2_settings)
+ :mpeg_2_settings,
+ :av_1_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -13527,6 +13706,10 @@ class RestartChannelPipelinesRequest < Struct.new(
# The properties for a private VPC Output
# @return [Types::VpcOutputSettingsDescription]
#
+ # @!attribute [rw] anywhere_settings
+ # Elemental anywhere settings
+ # @return [Types::DescribeAnywhereSettings]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RestartChannelPipelinesResponse AWS API Documentation
#
class RestartChannelPipelinesResponse < Struct.new(
@@ -13548,7 +13731,8 @@ class RestartChannelPipelinesResponse < Struct.new(
:role_arn,
:state,
:tags,
- :vpc)
+ :vpc,
+ :anywhere_settings)
SENSITIVE = []
include Aws::Structure
end
@@ -17639,5 +17823,2939 @@ class SrtSettingsRequest < Struct.new(
include Aws::Structure
end
+ # Elemental anywhere settings
+ #
+ # @!attribute [rw] channel_placement_group_id
+ # The ID of the channel placement group for the channel.
+ # @return [String]
+ #
+ # @!attribute [rw] cluster_id
+ # The ID of the cluster for the channel.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/AnywhereSettings AWS API Documentation
+ #
+ class AnywhereSettings < Struct.new(
+ :channel_placement_group_id,
+ :cluster_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Av1 Color Space Settings
+ #
+ # @!attribute [rw] color_space_passthrough_settings
+ # Passthrough applies no color space conversion to the output
+ # @return [Types::ColorSpacePassthroughSettings]
+ #
+ # @!attribute [rw] hdr_10_settings
+ # Hdr10 Settings
+ # @return [Types::Hdr10Settings]
+ #
+ # @!attribute [rw] rec_601_settings
+ # Rec601 Settings
+ # @return [Types::Rec601Settings]
+ #
+ # @!attribute [rw] rec_709_settings
+ # Rec709 Settings
+ # @return [Types::Rec709Settings]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Av1ColorSpaceSettings AWS API Documentation
+ #
+ class Av1ColorSpaceSettings < Struct.new(
+ :color_space_passthrough_settings,
+ :hdr_10_settings,
+ :rec_601_settings,
+ :rec_709_settings)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Av1 Settings
+ #
+ # @!attribute [rw] afd_signaling
+ # Configures whether MediaLive will write AFD values into the video.
+ # AUTO: MediaLive will try to preserve the input AFD value (in cases
+ # where multiple AFD values are valid). FIXED: the AFD value will be
+ # the value configured in the fixedAfd parameter. NONE: MediaLive
+ # won't write AFD into the video
+ # @return [String]
+ #
+ # @!attribute [rw] buf_size
+ # The size of the buffer (HRD buffer model) in bits.
+ # @return [Integer]
+ #
+ # @!attribute [rw] color_space_settings
+ # Color Space settings
+ # @return [Types::Av1ColorSpaceSettings]
+ #
+ # @!attribute [rw] fixed_afd
+ # Complete this property only if you set the afdSignaling property to
+ # FIXED. Choose the AFD value (4 bits) to write on all frames of the
+ # video encode.
+ # @return [String]
+ #
+ # @!attribute [rw] framerate_denominator
+ # The denominator for the framerate. Framerate is a fraction, for
+ # example, 24000 / 1001.
+ # @return [Integer]
+ #
+ # @!attribute [rw] framerate_numerator
+ # The numerator for the framerate. Framerate is a fraction, for
+ # example, 24000 / 1001.
+ # @return [Integer]
+ #
+ # @!attribute [rw] gop_size
+ # The GOP size (keyframe interval). If GopSizeUnits is frames, GopSize
+ # must be a whole number and must be greater than or equal to 1. If
+ # GopSizeUnits is seconds, GopSize must be greater than 0, but it can
+ # be a decimal.
+ # @return [Float]
+ #
+ # @!attribute [rw] gop_size_units
+ # Choose the units for the GOP size: FRAMES or SECONDS. For SECONDS,
+ # MediaLive converts the size into a frame count at run time.
+ # @return [String]
+ #
+ # @!attribute [rw] level
+ # Sets the level. This parameter is one of the properties of the
+ # encoding scheme for AV1.
+ # @return [String]
+ #
+ # @!attribute [rw] look_ahead_rate_control
+ # Sets the amount of lookahead. A value of LOW can decrease latency
+ # and memory usage. A value of HIGH can produce better quality for
+ # certain content.
+ # @return [String]
+ #
+ # @!attribute [rw] max_bitrate
+ # The maximum bitrate to assign. For recommendations, see the
+ # description for qvbrQualityLevel.
+ # @return [Integer]
+ #
+ # @!attribute [rw] min_i_interval
+ # Applies only if you enable SceneChangeDetect. Sets the interval
+ # between frames. This property ensures a minimum separation between
+ # repeated (cadence) I-frames and any I-frames inserted by scene
+ # change detection (SCD frames). Enter a number for the interval,
+ # measured in number of frames. If an SCD frame and a cadence frame
+ # are closer than the specified number of frames, MediaLive shrinks or
+ # stretches the GOP to include the SCD frame. Then normal cadence
+ # resumes in the next GOP. For GOP stretch to succeed, you must enable
+ # LookAheadRateControl. Note that the maximum GOP stretch = (GOP size)
+ # + (Minimum I-interval) - 1
+ # @return [Integer]
+ #
+ # @!attribute [rw] par_denominator
+ # The denominator for the output pixel aspect ratio (PAR).
+ # @return [Integer]
+ #
+ # @!attribute [rw] par_numerator
+ # The numerator for the output pixel aspect ratio (PAR).
+ # @return [Integer]
+ #
+ # @!attribute [rw] qvbr_quality_level
+ # Controls the target quality for the video encode. With QVBR rate
+ # control mode, the final quality is the target quality, constrained
+ # by the maxBitrate. Set values for the qvbrQualityLevel property and
+ # maxBitrate property that suit your most important viewing devices.
+ # To let MediaLive set the quality level (AUTO mode), leave the
+ # qvbrQualityLevel field empty. In this case, MediaLive uses the
+ # maximum bitrate, and the quality follows from that: more complex
+ # content might have a lower quality. Or set a target quality level
+ # and a maximum bitrate. With more complex content, MediaLive will try
+ # to achieve the target quality, but it won't exceed the maximum
+ # bitrate. With less complex content, This option will use only the
+ # bitrate needed to reach the target quality. Recommended values are:
+ # Primary screen: qvbrQualityLevel: Leave empty. maxBitrate: 4,000,000
+ # PC or tablet: qvbrQualityLevel: Leave empty. maxBitrate: 1,500,000
+ # to 3,000,000 Smartphone: qvbrQualityLevel: Leave empty. maxBitrate:
+ # 1,000,000 to 1,500,000
+ # @return [Integer]
+ #
+ # @!attribute [rw] scene_change_detect
+ # Controls whether MediaLive inserts I-frames when it detects a scene
+ # change. ENABLED or DISABLED.
+ # @return [String]
+ #
+ # @!attribute [rw] timecode_burnin_settings
+ # Configures the timecode burn-in feature. If you enable this feature,
+ # the timecode will become part of the video.
+ # @return [Types::TimecodeBurninSettings]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Av1Settings AWS API Documentation
+ #
+ class Av1Settings < Struct.new(
+ :afd_signaling,
+ :buf_size,
+ :color_space_settings,
+ :fixed_afd,
+ :framerate_denominator,
+ :framerate_numerator,
+ :gop_size,
+ :gop_size_units,
+ :level,
+ :look_ahead_rate_control,
+ :max_bitrate,
+ :min_i_interval,
+ :par_denominator,
+ :par_numerator,
+ :qvbr_quality_level,
+ :scene_change_detect,
+ :timecode_burnin_settings)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in DescribeClusterResult, DescribeClusterSummary,
+ # UpdateClusterResult.
+ #
+ # @!attribute [rw] default_route
+ # The network interface that is the default route for traffic to and
+ # from the node. MediaLive Anywhere uses this default when the
+ # destination for the traffic isn't covered by the route table for
+ # any of the networks. Specify the value of the appropriate
+ # logicalInterfaceName parameter that you create in the
+ # interfaceMappings.
+ # @return [String]
+ #
+ # @!attribute [rw] interface_mappings
+ # An array of interfaceMapping objects for this Cluster. Each mapping
+ # logically connects one interface on the nodes with one Network. You
+ # need only one mapping for each interface because all the Nodes share
+ # the mapping.
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ClusterNetworkSettings AWS API Documentation
+ #
+ class ClusterNetworkSettings < Struct.new(
+ :default_route,
+ :interface_mappings)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in a CreateClusterRequest.
+ #
+ # @!attribute [rw] default_route
+ # Specify one network interface as the default route for traffic to
+ # and from the Node. MediaLive Anywhere uses this default when the
+ # destination for the traffic isn't covered by the route table for
+ # any of the networks. Specify the value of the appropriate
+ # logicalInterfaceName parameter that you create in the
+ # interfaceMappings.
+ # @return [String]
+ #
+ # @!attribute [rw] interface_mappings
+ # An array of interfaceMapping objects for this Cluster. You must
+ # create a mapping for node interfaces that you plan to use for
+ # encoding traffic. You typically don't create a mapping for the
+ # management interface. You define this mapping in the Cluster so that
+ # the mapping can be used by all the Nodes. Each mapping logically
+ # connects one interface on the nodes with one Network. Each mapping
+ # consists of a pair of parameters. The logicalInterfaceName parameter
+ # creates a logical name for the Node interface that handles a
+ # specific type of traffic. For example, my-Inputs-Interface. The
+ # networkID parameter refers to the ID of the network. When you create
+ # the Nodes in this Cluster, you will associate the
+ # logicalInterfaceName with the appropriate physical interface.
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ClusterNetworkSettingsCreateRequest AWS API Documentation
+ #
+ class ClusterNetworkSettingsCreateRequest < Struct.new(
+ :default_route,
+ :interface_mappings)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] default_route
+ # Include this parameter only if you want to change the default route
+ # for the Cluster. Specify one network interface as the default route
+ # for traffic to and from the node. MediaLive Anywhere uses this
+ # default when the destination for the traffic isn't covered by the
+ # route table for any of the networks. Specify the value of the
+ # appropriate logicalInterfaceName parameter that you create in the
+ # interfaceMappings.
+ # @return [String]
+ #
+ # @!attribute [rw] interface_mappings
+ # An array of interfaceMapping objects for this Cluster. Include this
+ # parameter only if you want to change the interface mappings for the
+ # Cluster. Typically, you change the interface mappings only to fix an
+ # error you made when creating the mapping. In an update request, make
+ # sure that you enter the entire set of mappings again, not just the
+ # mappings that you want to add or change. You define this mapping so
+ # that the mapping can be used by all the Nodes. Each mapping
+ # logically connects one interface on the nodes with one Network. Each
+ # mapping consists of a pair of parameters. The logicalInterfaceName
+ # parameter creates a logical name for the Node interface that handles
+ # a specific type of traffic. For example, my-Inputs-Interface. The
+ # networkID parameter refers to the ID of the network. When you create
+ # the Nodes in this Cluster, you will associate the
+ # logicalInterfaceName with the appropriate physical interface.
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ClusterNetworkSettingsUpdateRequest AWS API Documentation
+ #
+ class ClusterNetworkSettingsUpdateRequest < Struct.new(
+ :default_route,
+ :interface_mappings)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # Specify a name that is unique in the Cluster. You can't change the
+ # name. Names are case-sensitive.
+ # @return [String]
+ #
+ # @!attribute [rw] nodes
+ # An array of one ID for the Node that you want to associate with the
+ # ChannelPlacementGroup. (You can't associate more than one Node with
+ # the ChannelPlacementGroup.) The Node and the ChannelPlacementGroup
+ # must be in the same Cluster.
+ # @return [Array]
+ #
+ # @!attribute [rw] request_id
+ # An ID that you assign to a create request. This ID ensures idempotency when creating resources. the request.**A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] tags
+ # A collection of key-value pairs.
+ # @return [Hash]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannelPlacementGroupRequest AWS API Documentation
+ #
+ class CreateChannelPlacementGroupRequest < Struct.new(
+ :cluster_id,
+ :name,
+ :nodes,
+ :request_id,
+ :tags)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channels
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] nodes
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeChannelPlacementGroupResult
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateChannelPlacementGroupResponse AWS API Documentation
+ #
+ class CreateChannelPlacementGroupResponse < Struct.new(
+ :arn,
+ :channels,
+ :cluster_id,
+ :id,
+ :name,
+ :nodes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in the CreateCluster operation.
+ #
+ # @!attribute [rw] cluster_type
+ # Specify a type. All the Nodes that you later add to this Cluster
+ # must be this type of hardware. One Cluster instance can't contain
+ # different hardware types. You won't be able to change this
+ # parameter after you create the Cluster.
+ # @return [String]
+ #
+ # @!attribute [rw] instance_role_arn
+ # The ARN of the IAM role for the Node in this Cluster. The role must
+ # include all the operations that you expect these Node to perform. If
+ # necessary, create a role in IAM, then attach it here.
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # Specify a name that is unique in the AWS account. We recommend that
+ # you assign a name that hints at the types of Nodes in the Cluster.
+ # Names are case-sensitive.
+ # @return [String]
+ #
+ # @!attribute [rw] network_settings
+ # Network settings that connect the Nodes in the Cluster to one or
+ # more of the Networks that the Cluster is associated with.
+ # @return [Types::ClusterNetworkSettingsCreateRequest]
+ #
+ # @!attribute [rw] request_id
+ # The unique ID of the request.**A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] tags
+ # A collection of key-value pairs.
+ # @return [Hash]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateClusterRequest AWS API Documentation
+ #
+ class CreateClusterRequest < Struct.new(
+ :cluster_type,
+ :instance_role_arn,
+ :name,
+ :network_settings,
+ :request_id,
+ :tags)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channel_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_type
+ # Used in CreateClusterSummary, DescribeClusterSummary,
+ # DescribeClusterResult, UpdateClusterResult.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] instance_role_arn
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] network_settings
+ # Used in DescribeClusterResult, DescribeClusterSummary,
+ # UpdateClusterResult.
+ # @return [Types::ClusterNetworkSettings]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeClusterSummary, DescribeClusterResult,
+ # UpdateClusterResult.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateClusterResponse AWS API Documentation
+ #
+ class CreateClusterResponse < Struct.new(
+ :arn,
+ :channel_ids,
+ :cluster_type,
+ :id,
+ :instance_role_arn,
+ :name,
+ :network_settings,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in the CreateNetwork operation.
+ #
+ # @!attribute [rw] ip_pools
+ # An array of IpPoolCreateRequests that identify a collection of IP
+ # addresses in your network that you want to reserve for use in
+ # MediaLive Anywhere. MediaLiveAnywhere uses these IP addresses for
+ # Push inputs (in both Bridge and NATnetworks) and for output
+ # destinations (only in Bridge networks). EachIpPoolUpdateRequest
+ # specifies one CIDR block.
+ # @return [Array]
+ #
+ # @!attribute [rw] name
+ # Specify a name that is unique in the AWS account. We recommend that
+ # you assign a name that hints at the type of traffic on the network.
+ # Names are case-sensitive.
+ # @return [String]
+ #
+ # @!attribute [rw] request_id
+ # An ID that you assign to a create request. This ID ensures idempotency when creating resources.**A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] routes
+ # An array of routes that MediaLive Anywhere needs to know about in
+ # order to route encoding traffic.
+ # @return [Array]
+ #
+ # @!attribute [rw] tags
+ # A collection of key-value pairs.
+ # @return [Hash]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateNetworkRequest AWS API Documentation
+ #
+ class CreateNetworkRequest < Struct.new(
+ :ip_pools,
+ :name,
+ :request_id,
+ :routes,
+ :tags)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] associated_cluster_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] ip_pools
+ # @return [Array]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] routes
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeNetworkResult, DescribeNetworkSummary,
+ # UpdateNetworkResult.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateNetworkResponse AWS API Documentation
+ #
+ class CreateNetworkResponse < Struct.new(
+ :arn,
+ :associated_cluster_ids,
+ :id,
+ :ip_pools,
+ :name,
+ :routes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in the CreateNodeRegistrationScript operation.
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # If you're generating a re-registration script for an already
+ # existing node, this is where you provide the id.
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # Specify a pattern for MediaLive Anywhere to use to assign a name to
+ # each Node in the Cluster. The pattern can include the variables $hn
+ # (hostname of the node hardware) and $ts for the date and time that
+ # the Node is created, in UTC (for example, 2024-08-20T23:35:12Z).
+ # @return [String]
+ #
+ # @!attribute [rw] node_interface_mappings
+ # An array of interface mappings for the Node. Each mapping logically
+ # connects one physical interface on the node hardware with one
+ # logical interface name. This mapping associates a node interface
+ # with a network. The association works as follows: Node
+ # physicalInterfaceName > Node logicalInterfaceName = Cluster
+ # logicalInterfaceName > networkId.
+ # @return [Array]
+ #
+ # @!attribute [rw] request_id
+ # An ID that you assign to a create request. This ID ensures idempotency when creating resources.**A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] role
+ # The initial role of the Node in the Cluster. ACTIVE means the Node
+ # is available for encoding. BACKUP means the Node is a redundant Node
+ # and might get used if an ACTIVE Node fails.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateNodeRegistrationScriptRequest AWS API Documentation
+ #
+ class CreateNodeRegistrationScriptRequest < Struct.new(
+ :cluster_id,
+ :id,
+ :name,
+ :node_interface_mappings,
+ :request_id,
+ :role)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] node_registration_script
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateNodeRegistrationScriptResponse AWS API Documentation
+ #
+ class CreateNodeRegistrationScriptResponse < Struct.new(
+ :node_registration_script)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Contains the response for CreateNodeRegistrationScript.
+ #
+ # @!attribute [rw] node_registration_script
+ # A script that can be run on a Bring Your Own Device Elemental
+ # Anywhere system to create a node in a cluster.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateNodeRegistrationScriptResult AWS API Documentation
+ #
+ class CreateNodeRegistrationScriptResult < Struct.new(
+ :node_registration_script)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # The user-specified name of the Node to be created.
+ # @return [String]
+ #
+ # @!attribute [rw] node_interface_mappings
+ # An array of interface mappings for the Node. Each mapping logically
+ # connects one physical interface on the node hardware with one
+ # logical interface name. You created the logical names in the
+ # logicalInterfaceName parameter when you created the Cluster. Create
+ # one mapping for each physical interface on the node, but only for
+ # node interfaces that you plan to use for encoding content traffic
+ # (and not for any management-only interface). In each mapping pair,
+ # we recommend that you specify the logical name first, then assign
+ # the physical name that applies.The physicalInterfaceName is the
+ # final piece of data that associates a node interface with a network.
+ # The association works as follows: Node physicalInterfaceName > Node
+ # logicalInterfaceName = Cluster logicalInterfaceName > networkId.
+ # @return [Array]
+ #
+ # @!attribute [rw] request_id
+ # An ID that you assign to a create request. This ID ensures idempotency when creating resources.**A suitable default value is auto-generated.** You should normally
+ # not need to pass this option.
+ # @return [String]
+ #
+ # @!attribute [rw] role
+ # The initial role of the Node in the Cluster. ACTIVE means the Node
+ # is available for encoding. BACKUP means the Node is a redundant Node
+ # and might get used if an ACTIVE Node fails.
+ # @return [String]
+ #
+ # @!attribute [rw] tags
+ # A collection of key-value pairs.
+ # @return [Hash]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateNodeRequest AWS API Documentation
+ #
+ class CreateNodeRequest < Struct.new(
+ :cluster_id,
+ :name,
+ :node_interface_mappings,
+ :request_id,
+ :role,
+ :tags)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channel_placement_groups
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] connection_state
+ # Used in DescribeNodeSummary.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] instance_arn
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] node_interface_mappings
+ # @return [Array]
+ #
+ # @!attribute [rw] role
+ # Used in CreateNodeRequest, CreateNodeRegistrationScriptRequest,
+ # DescribeNodeResult, DescribeNodeSummary, UpdateNodeRequest.
+ # @return [String]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeNodeSummary.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/CreateNodeResponse AWS API Documentation
+ #
+ class CreateNodeResponse < Struct.new(
+ :arn,
+ :channel_placement_groups,
+ :cluster_id,
+ :connection_state,
+ :id,
+ :instance_arn,
+ :name,
+ :node_interface_mappings,
+ :role,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] channel_placement_group_id
+ # @return [String]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannelPlacementGroupRequest AWS API Documentation
+ #
+ class DeleteChannelPlacementGroupRequest < Struct.new(
+ :channel_placement_group_id,
+ :cluster_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channels
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] nodes
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeChannelPlacementGroupResult
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteChannelPlacementGroupResponse AWS API Documentation
+ #
+ class DeleteChannelPlacementGroupResponse < Struct.new(
+ :arn,
+ :channels,
+ :cluster_id,
+ :id,
+ :name,
+ :nodes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteClusterRequest AWS API Documentation
+ #
+ class DeleteClusterRequest < Struct.new(
+ :cluster_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channel_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_type
+ # Used in CreateClusterSummary, DescribeClusterSummary,
+ # DescribeClusterResult, UpdateClusterResult.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] instance_role_arn
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] network_settings
+ # Used in DescribeClusterResult, DescribeClusterSummary,
+ # UpdateClusterResult.
+ # @return [Types::ClusterNetworkSettings]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeClusterSummary, DescribeClusterResult,
+ # UpdateClusterResult.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteClusterResponse AWS API Documentation
+ #
+ class DeleteClusterResponse < Struct.new(
+ :arn,
+ :channel_ids,
+ :cluster_type,
+ :id,
+ :instance_role_arn,
+ :name,
+ :network_settings,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] network_id
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteNetworkRequest AWS API Documentation
+ #
+ class DeleteNetworkRequest < Struct.new(
+ :network_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] associated_cluster_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] ip_pools
+ # @return [Array]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] routes
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeNetworkResult, DescribeNetworkSummary,
+ # UpdateNetworkResult.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteNetworkResponse AWS API Documentation
+ #
+ class DeleteNetworkResponse < Struct.new(
+ :arn,
+ :associated_cluster_ids,
+ :id,
+ :ip_pools,
+ :name,
+ :routes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] node_id
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteNodeRequest AWS API Documentation
+ #
+ class DeleteNodeRequest < Struct.new(
+ :cluster_id,
+ :node_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channel_placement_groups
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] connection_state
+ # Used in DescribeNodeSummary.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] instance_arn
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] node_interface_mappings
+ # @return [Array]
+ #
+ # @!attribute [rw] role
+ # Used in CreateNodeRequest, CreateNodeRegistrationScriptRequest,
+ # DescribeNodeResult, DescribeNodeSummary, UpdateNodeRequest.
+ # @return [String]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeNodeSummary.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DeleteNodeResponse AWS API Documentation
+ #
+ class DeleteNodeResponse < Struct.new(
+ :arn,
+ :channel_placement_groups,
+ :cluster_id,
+ :connection_state,
+ :id,
+ :instance_arn,
+ :name,
+ :node_interface_mappings,
+ :role,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Elemental anywhere settings
+ #
+ # @!attribute [rw] channel_placement_group_id
+ # The ID of the channel placement group for the channel.
+ # @return [String]
+ #
+ # @!attribute [rw] cluster_id
+ # The ID of the cluster for the channel.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeAnywhereSettings AWS API Documentation
+ #
+ class DescribeAnywhereSettings < Struct.new(
+ :channel_placement_group_id,
+ :cluster_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] channel_placement_group_id
+ # @return [String]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannelPlacementGroupRequest AWS API Documentation
+ #
+ class DescribeChannelPlacementGroupRequest < Struct.new(
+ :channel_placement_group_id,
+ :cluster_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channels
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] nodes
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeChannelPlacementGroupResult
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannelPlacementGroupResponse AWS API Documentation
+ #
+ class DescribeChannelPlacementGroupResponse < Struct.new(
+ :arn,
+ :channels,
+ :cluster_id,
+ :id,
+ :name,
+ :nodes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Contains the response for CreateChannelPlacementGroup,
+ # DescribeChannelPlacementGroup, DeleteChannelPlacementGroup,
+ # UpdateChannelPlacementGroup
+ #
+ # @!attribute [rw] arn
+ # The ARN of this ChannelPlacementGroup. It is automatically assigned
+ # when the ChannelPlacementGroup is created.
+ # @return [String]
+ #
+ # @!attribute [rw] channels
+ # Used in ListChannelPlacementGroupsResult
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # The ID of the Cluster that the Node belongs to.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # The ID of the ChannelPlacementGroup. Unique in the AWS account. The
+ # ID is the resource-id portion of the ARN.
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # The name that you specified for the ChannelPlacementGroup.
+ # @return [String]
+ #
+ # @!attribute [rw] nodes
+ # An array with one item, which is the signle Node that is associated
+ # with the ChannelPlacementGroup.
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # The current state of the ChannelPlacementGroup.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannelPlacementGroupResult AWS API Documentation
+ #
+ class DescribeChannelPlacementGroupResult < Struct.new(
+ :arn,
+ :channels,
+ :cluster_id,
+ :id,
+ :name,
+ :nodes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Contains the response for ListChannelPlacementGroups
+ #
+ # @!attribute [rw] arn
+ # The ARN of this ChannelPlacementGroup. It is automatically assigned
+ # when the ChannelPlacementGroup is created.
+ # @return [String]
+ #
+ # @!attribute [rw] channels
+ # Used in ListChannelPlacementGroupsResult
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # The ID of the Cluster that the Node belongs to.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # The ID of the ChannelPlacementGroup. Unique in the AWS account. The
+ # ID is the resource-id portion of the ARN.
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # The name that you specified for the ChannelPlacementGroup.
+ # @return [String]
+ #
+ # @!attribute [rw] nodes
+ # An array with one item, which is the signle Node that is associated
+ # with the ChannelPlacementGroup.
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # The current state of the ChannelPlacementGroup.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeChannelPlacementGroupSummary AWS API Documentation
+ #
+ class DescribeChannelPlacementGroupSummary < Struct.new(
+ :arn,
+ :channels,
+ :cluster_id,
+ :id,
+ :name,
+ :nodes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeClusterRequest AWS API Documentation
+ #
+ class DescribeClusterRequest < Struct.new(
+ :cluster_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channel_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_type
+ # Used in CreateClusterSummary, DescribeClusterSummary,
+ # DescribeClusterResult, UpdateClusterResult.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] instance_role_arn
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] network_settings
+ # Used in DescribeClusterResult, DescribeClusterSummary,
+ # UpdateClusterResult.
+ # @return [Types::ClusterNetworkSettings]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeClusterSummary, DescribeClusterResult,
+ # UpdateClusterResult.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeClusterResponse AWS API Documentation
+ #
+ class DescribeClusterResponse < Struct.new(
+ :arn,
+ :channel_ids,
+ :cluster_type,
+ :id,
+ :instance_role_arn,
+ :name,
+ :network_settings,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Contains the response for CreateCluster, DescribeCluster,
+ # DeleteCluster, UpdateCluster
+ #
+ # @!attribute [rw] arn
+ # The ARN of this Cluster. It is automatically assigned when the
+ # Cluster is created.
+ # @return [String]
+ #
+ # @!attribute [rw] channel_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_type
+ # The hardware type for the Cluster
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # The ID of the Cluster. Unique in the AWS account. The ID is the
+ # resource-id portion of the ARN.
+ # @return [String]
+ #
+ # @!attribute [rw] instance_role_arn
+ # The ARN of the IAM role for the Node in this Cluster. Any Nodes that
+ # are associated with this Cluster assume this role. The role gives
+ # permissions to the operations that you expect these Node to perform.
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # The name that you specified for the Cluster.
+ # @return [String]
+ #
+ # @!attribute [rw] network_settings
+ # Network settings that connect the Nodes in the Cluster to one or
+ # more of the Networks that the Cluster is associated with.
+ # @return [Types::ClusterNetworkSettings]
+ #
+ # @!attribute [rw] state
+ # The current state of the Cluster.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeClusterResult AWS API Documentation
+ #
+ class DescribeClusterResult < Struct.new(
+ :arn,
+ :channel_ids,
+ :cluster_type,
+ :id,
+ :instance_role_arn,
+ :name,
+ :network_settings,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in ListClustersResult.
+ #
+ # @!attribute [rw] arn
+ # The ARN of this Cluster. It is automatically assigned when the
+ # Cluster is created.
+ # @return [String]
+ #
+ # @!attribute [rw] channel_ids
+ # An array of the IDs of the Channels that are associated with this
+ # Cluster. One Channel is associated with the Cluster as follows: A
+ # Channel belongs to a ChannelPlacementGroup. A ChannelPlacementGroup
+ # is attached to a Node. A Node belongs to a Cluster.
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_type
+ # The hardware type for the Cluster.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # The ID of the Cluster. Unique in the AWS account. The ID is the
+ # resource-id portion of the ARN.
+ # @return [String]
+ #
+ # @!attribute [rw] instance_role_arn
+ # The ARN of the IAM role for the Node in this Cluster. Any Nodes that
+ # are associated with this Cluster assume this role. The role gives
+ # permissions to the operations that you expect these Node to perform.
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # The name that you specified for the Cluster.
+ # @return [String]
+ #
+ # @!attribute [rw] network_settings
+ # Network settings that connect the Nodes in the Cluster to one or
+ # more of the Networks that the Cluster is associated with.
+ # @return [Types::ClusterNetworkSettings]
+ #
+ # @!attribute [rw] state
+ # The current state of the Cluster.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeClusterSummary AWS API Documentation
+ #
+ class DescribeClusterSummary < Struct.new(
+ :arn,
+ :channel_ids,
+ :cluster_type,
+ :id,
+ :instance_role_arn,
+ :name,
+ :network_settings,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] network_id
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeNetworkRequest AWS API Documentation
+ #
+ class DescribeNetworkRequest < Struct.new(
+ :network_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] associated_cluster_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] ip_pools
+ # @return [Array]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] routes
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeNetworkResult, DescribeNetworkSummary,
+ # UpdateNetworkResult.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeNetworkResponse AWS API Documentation
+ #
+ class DescribeNetworkResponse < Struct.new(
+ :arn,
+ :associated_cluster_ids,
+ :id,
+ :ip_pools,
+ :name,
+ :routes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Contains the response for CreateNetwork, DescribeNetwork,
+ # DeleteNetwork, UpdateNetwork.
+ #
+ # @!attribute [rw] arn
+ # The ARN of this Network. It is automatically assigned when the
+ # Network is created.
+ # @return [String]
+ #
+ # @!attribute [rw] associated_cluster_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] id
+ # The ID of the Network. Unique in the AWS account. The ID is the
+ # resource-id portion of the ARN.
+ # @return [String]
+ #
+ # @!attribute [rw] ip_pools
+ # An array of IpPools in your organization's network that identify a
+ # collection of IP addresses in this network that are reserved for use
+ # in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses
+ # for Push inputs (in both Bridge and NAT networks) and for output
+ # destinations (only in Bridge networks). Each IpPool specifies one
+ # CIDR block.
+ # @return [Array]
+ #
+ # @!attribute [rw] name
+ # The name that you specified for the Network.
+ # @return [String]
+ #
+ # @!attribute [rw] routes
+ # An array of routes that MediaLive Anywhere needs to know about in
+ # order to route encoding traffic.
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # The current state of the Network. Only MediaLive Anywhere can change
+ # the state.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeNetworkResult AWS API Documentation
+ #
+ class DescribeNetworkResult < Struct.new(
+ :arn,
+ :associated_cluster_ids,
+ :id,
+ :ip_pools,
+ :name,
+ :routes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in ListNetworksResult.
+ #
+ # @!attribute [rw] arn
+ # The ARN of this Network. It is automatically assigned when the
+ # Network is created.
+ # @return [String]
+ #
+ # @!attribute [rw] associated_cluster_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] id
+ # The ID of the Network. Unique in the AWS account. The ID is the
+ # resource-id portion of the ARN.
+ # @return [String]
+ #
+ # @!attribute [rw] ip_pools
+ # An array of IpPools in your organization's network that identify a
+ # collection of IP addresses in your organization's network that are
+ # reserved for use in MediaLive Anywhere. MediaLive Anywhere uses
+ # these IP addresses for Push inputs (in both Bridge and NAT networks)
+ # and for output destinations (only in Bridge networks). Each IpPool
+ # specifies one CIDR block.
+ # @return [Array]
+ #
+ # @!attribute [rw] name
+ # The name that you specified for this Network.
+ # @return [String]
+ #
+ # @!attribute [rw] routes
+ # An array of routes that MediaLive Anywhere needs to know about in
+ # order to route encoding traffic.
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # The current state of the Network. Only MediaLive Anywhere can change
+ # the state.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeNetworkSummary AWS API Documentation
+ #
+ class DescribeNetworkSummary < Struct.new(
+ :arn,
+ :associated_cluster_ids,
+ :id,
+ :ip_pools,
+ :name,
+ :routes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] node_id
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeNodeRequest AWS API Documentation
+ #
+ class DescribeNodeRequest < Struct.new(
+ :cluster_id,
+ :node_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channel_placement_groups
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] connection_state
+ # Used in DescribeNodeSummary.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] instance_arn
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] node_interface_mappings
+ # @return [Array]
+ #
+ # @!attribute [rw] role
+ # Used in CreateNodeRequest, CreateNodeRegistrationScriptRequest,
+ # DescribeNodeResult, DescribeNodeSummary, UpdateNodeRequest.
+ # @return [String]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeNodeSummary.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeNodeResponse AWS API Documentation
+ #
+ class DescribeNodeResponse < Struct.new(
+ :arn,
+ :channel_placement_groups,
+ :cluster_id,
+ :connection_state,
+ :id,
+ :instance_arn,
+ :name,
+ :node_interface_mappings,
+ :role,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Contains the response for CreateNode, DescribeNode, DeleteNode,
+ # UpdateNode
+ #
+ # @!attribute [rw] arn
+ # The ARN of the Node. It is automatically assigned when the Node is
+ # created.
+ # @return [String]
+ #
+ # @!attribute [rw] channel_placement_groups
+ # An array of IDs. Each ID is one ChannelPlacementGroup that is
+ # associated with this Node. Empty if the Node is not yet associated
+ # with any groups.
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # The ID of the Cluster that the Node belongs to.
+ # @return [String]
+ #
+ # @!attribute [rw] connection_state
+ # The current connection state of the Node.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # The unique ID of the Node. Unique in the Cluster. The ID is the
+ # resource-id portion of the ARN.
+ # @return [String]
+ #
+ # @!attribute [rw] instance_arn
+ # The ARN of the EC2 instance hosting the Node.
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # The name that you specified for the Node.
+ # @return [String]
+ #
+ # @!attribute [rw] node_interface_mappings
+ # An array of interface mappings for the Node. Each mapping logically
+ # connects one physical interface on the node hardware with one
+ # logical interface name. This mapping associates a node interface
+ # with a network. The association works as follows: Node
+ # physicalInterfaceName > Node logicalInterfaceName = Cluster
+ # logicalInterfaceName > networkId.
+ # @return [Array]
+ #
+ # @!attribute [rw] role
+ # The initial role current role of the Node in the Cluster. ACTIVE
+ # means the Node is available for encoding. BACKUP means the Node is a
+ # redundant Node and might get used if an ACTIVE Node fails.
+ # @return [String]
+ #
+ # @!attribute [rw] state
+ # The current state of the Node.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeNodeResult AWS API Documentation
+ #
+ class DescribeNodeResult < Struct.new(
+ :arn,
+ :channel_placement_groups,
+ :cluster_id,
+ :connection_state,
+ :id,
+ :instance_arn,
+ :name,
+ :node_interface_mappings,
+ :role,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # The ARN of the Node. It is automatically assigned when the Node is
+ # created.
+ # @return [String]
+ #
+ # @!attribute [rw] channel_placement_groups
+ # An array of IDs. Each ID is one ChannelPlacementGroup that is
+ # associated with this Node. Empty if the Node is not yet associated
+ # with any groups.
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # The ID of the Cluster that the Node belongs to.
+ # @return [String]
+ #
+ # @!attribute [rw] connection_state
+ # The current connection state of the Node.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # The unique ID of the Node. Unique in the Cluster. The ID is the
+ # resource-id portion of the ARN.
+ # @return [String]
+ #
+ # @!attribute [rw] instance_arn
+ # The EC2 ARN of the Instance associated with the Node.
+ # @return [String]
+ #
+ # @!attribute [rw] managed_instance_id
+ # At the routing layer will get it from the callerId/context for use
+ # with bring your own device.
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # The name that you specified for the Node.
+ # @return [String]
+ #
+ # @!attribute [rw] node_interface_mappings
+ # An array of interface mappings for the Node. Each mapping logically
+ # connects one physical interface on the node hardware with one
+ # logical interface name. This mapping associates a node interface
+ # with a network. The association works as follows: Node
+ # physicalInterfaceName > Node logicalInterfaceName = Cluster
+ # logicalInterfaceName > networkId.
+ # @return [Array]
+ #
+ # @!attribute [rw] role
+ # The initial role current role of the Node in the Cluster. ACTIVE
+ # means the Node is available for encoding. BACKUP means the Node is a
+ # redundant Node and might get used if an ACTIVE Node fails.
+ # @return [String]
+ #
+ # @!attribute [rw] state
+ # The current state of the Node.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/DescribeNodeSummary AWS API Documentation
+ #
+ class DescribeNodeSummary < Struct.new(
+ :arn,
+ :channel_placement_groups,
+ :cluster_id,
+ :connection_state,
+ :id,
+ :instance_arn,
+ :managed_instance_id,
+ :name,
+ :node_interface_mappings,
+ :role,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # A network route configuration.
+ #
+ # @!attribute [rw] cidr
+ # The CIDR of the route.
+ # @return [String]
+ #
+ # @!attribute [rw] gateway
+ # An optional gateway for the route.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputDestinationRoute AWS API Documentation
+ #
+ class InputDestinationRoute < Struct.new(
+ :cidr,
+ :gateway)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # A network route configuration.
+ #
+ # @!attribute [rw] cidr
+ # The CIDR of the route.
+ # @return [String]
+ #
+ # @!attribute [rw] gateway
+ # An optional gateway for the route.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InputRequestDestinationRoute AWS API Documentation
+ #
+ class InputRequestDestinationRoute < Struct.new(
+ :cidr,
+ :gateway)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in ClusterNetworkSettings
+ #
+ # @!attribute [rw] logical_interface_name
+ # The logical name for one interface (on every Node) that handles a
+ # specific type of traffic. We recommend that the name hints at the
+ # physical interface it applies to. For example, it could refer to the
+ # traffic that the physical interface handles. For example,
+ # my-Inputs-Interface.
+ # @return [String]
+ #
+ # @!attribute [rw] network_id
+ # The ID of the network that you want to connect to the specified
+ # logicalInterfaceName.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InterfaceMapping AWS API Documentation
+ #
+ class InterfaceMapping < Struct.new(
+ :logical_interface_name,
+ :network_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in ClusterNetworkSettingsCreateRequest.
+ #
+ # @!attribute [rw] logical_interface_name
+ # The logical name for one interface (on every Node) that handles a
+ # specific type of traffic. We recommend that the name hints at the
+ # physical interface it applies to. For example, it could refer to the
+ # traffic that the physical interface handles. For example,
+ # my-Inputs-Interface.
+ # @return [String]
+ #
+ # @!attribute [rw] network_id
+ # The ID of the network that you want to connect to the specified
+ # logicalInterfaceName.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InterfaceMappingCreateRequest AWS API Documentation
+ #
+ class InterfaceMappingCreateRequest < Struct.new(
+ :logical_interface_name,
+ :network_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] logical_interface_name
+ # The logical name for one interface (on every Node) that handles a
+ # specific type of traffic. We recommend that the name hints at the
+ # physical interface it applies to. For example, it could refer to the
+ # traffic that the physical interface handles. For example,
+ # my-Inputs-Interface.
+ # @return [String]
+ #
+ # @!attribute [rw] network_id
+ # The ID of the network that you want to connect to the specified
+ # logicalInterfaceName. You can use the ListNetworks operation to
+ # discover all the IDs.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/InterfaceMappingUpdateRequest AWS API Documentation
+ #
+ class InterfaceMappingUpdateRequest < Struct.new(
+ :logical_interface_name,
+ :network_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in DescribeNetworkResult, DescribeNetworkSummary,
+ # UpdateNetworkResult.
+ #
+ # @!attribute [rw] cidr
+ # A CIDR block of IP addresses that are reserved for MediaLive
+ # Anywhere.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/IpPool AWS API Documentation
+ #
+ class IpPool < Struct.new(
+ :cidr)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in CreateNetworkRequest.
+ #
+ # @!attribute [rw] cidr
+ # A CIDR block of IP addresses to reserve for MediaLive Anywhere.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/IpPoolCreateRequest AWS API Documentation
+ #
+ class IpPoolCreateRequest < Struct.new(
+ :cidr)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in UpdateNetworkRequest.
+ #
+ # @!attribute [rw] cidr
+ # A CIDR block of IP addresses to reserve for MediaLive Anywhere.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/IpPoolUpdateRequest AWS API Documentation
+ #
+ class IpPoolUpdateRequest < Struct.new(
+ :cidr)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] max_results
+ # @return [Integer]
+ #
+ # @!attribute [rw] next_token
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannelPlacementGroupsRequest AWS API Documentation
+ #
+ class ListChannelPlacementGroupsRequest < Struct.new(
+ :cluster_id,
+ :max_results,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] channel_placement_groups
+ # @return [Array]
+ #
+ # @!attribute [rw] next_token
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannelPlacementGroupsResponse AWS API Documentation
+ #
+ class ListChannelPlacementGroupsResponse < Struct.new(
+ :channel_placement_groups,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Contains the response for ListChannelPlacementGroups.
+ #
+ # @!attribute [rw] channel_placement_groups
+ # An array of ChannelPlacementGroups that exist in the Cluster.
+ # @return [Array]
+ #
+ # @!attribute [rw] next_token
+ # Token for the next result.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListChannelPlacementGroupsResult AWS API Documentation
+ #
+ class ListChannelPlacementGroupsResult < Struct.new(
+ :channel_placement_groups,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] max_results
+ # @return [Integer]
+ #
+ # @!attribute [rw] next_token
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListClustersRequest AWS API Documentation
+ #
+ class ListClustersRequest < Struct.new(
+ :max_results,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] clusters
+ # @return [Array]
+ #
+ # @!attribute [rw] next_token
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListClustersResponse AWS API Documentation
+ #
+ class ListClustersResponse < Struct.new(
+ :clusters,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Contains the response for ListClusters.
+ #
+ # @!attribute [rw] clusters
+ # A list of the Clusters that exist in your AWS account.
+ # @return [Array]
+ #
+ # @!attribute [rw] next_token
+ # Token for the next result.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListClustersResult AWS API Documentation
+ #
+ class ListClustersResult < Struct.new(
+ :clusters,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] max_results
+ # @return [Integer]
+ #
+ # @!attribute [rw] next_token
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListNetworksRequest AWS API Documentation
+ #
+ class ListNetworksRequest < Struct.new(
+ :max_results,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] networks
+ # @return [Array]
+ #
+ # @!attribute [rw] next_token
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListNetworksResponse AWS API Documentation
+ #
+ class ListNetworksResponse < Struct.new(
+ :networks,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Contains the response for ListNetworks
+ #
+ # @!attribute [rw] networks
+ # An array of networks that you have created.
+ # @return [Array]
+ #
+ # @!attribute [rw] next_token
+ # Token for the next ListNetworks request.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListNetworksResult AWS API Documentation
+ #
+ class ListNetworksResult < Struct.new(
+ :networks,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] max_results
+ # @return [Integer]
+ #
+ # @!attribute [rw] next_token
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListNodesRequest AWS API Documentation
+ #
+ class ListNodesRequest < Struct.new(
+ :cluster_id,
+ :max_results,
+ :next_token)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] next_token
+ # @return [String]
+ #
+ # @!attribute [rw] nodes
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListNodesResponse AWS API Documentation
+ #
+ class ListNodesResponse < Struct.new(
+ :next_token,
+ :nodes)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Contains the response for ListNodes.
+ #
+ # @!attribute [rw] next_token
+ # Token for the next result.
+ # @return [String]
+ #
+ # @!attribute [rw] nodes
+ # An array of Nodes that exist in the Cluster.
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/ListNodesResult AWS API Documentation
+ #
+ class ListNodesResult < Struct.new(
+ :next_token,
+ :nodes)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Multicast-specific input settings.
+ #
+ # @!attribute [rw] source_ip_address
+ # Optionally, a source ip address to filter by for Source-specific
+ # Multicast (SSM)
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MulticastInputSettings AWS API Documentation
+ #
+ class MulticastInputSettings < Struct.new(
+ :source_ip_address)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Settings for a Multicast input. Contains a list of multicast Urls and
+ # optional source ip addresses.
+ #
+ # @!attribute [rw] sources
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MulticastSettings AWS API Documentation
+ #
+ class MulticastSettings < Struct.new(
+ :sources)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Settings for a Multicast input. Contains a list of multicast Urls and
+ # optional source ip addresses.
+ #
+ # @!attribute [rw] sources
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MulticastSettingsCreateRequest AWS API Documentation
+ #
+ class MulticastSettingsCreateRequest < Struct.new(
+ :sources)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Settings for a Multicast input. Contains a list of multicast Urls and
+ # optional source ip addresses.
+ #
+ # @!attribute [rw] sources
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MulticastSettingsUpdateRequest AWS API Documentation
+ #
+ class MulticastSettingsUpdateRequest < Struct.new(
+ :sources)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Pair of multicast url and source ip address (optional) that make up a
+ # multicast source.
+ #
+ # @!attribute [rw] source_ip
+ # This represents the ip address of the device sending the multicast
+ # stream.
+ # @return [String]
+ #
+ # @!attribute [rw] url
+ # This represents the customer's source URL where multicast stream is
+ # pulled from.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MulticastSource AWS API Documentation
+ #
+ class MulticastSource < Struct.new(
+ :source_ip,
+ :url)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Pair of multicast url and source ip address (optional) that make up a
+ # multicast source.
+ #
+ # @!attribute [rw] source_ip
+ # This represents the ip address of the device sending the multicast
+ # stream.
+ # @return [String]
+ #
+ # @!attribute [rw] url
+ # This represents the customer's source URL where multicast stream is
+ # pulled from.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MulticastSourceCreateRequest AWS API Documentation
+ #
+ class MulticastSourceCreateRequest < Struct.new(
+ :source_ip,
+ :url)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Pair of multicast url and source ip address (optional) that make up a
+ # multicast source.
+ #
+ # @!attribute [rw] source_ip
+ # This represents the ip address of the device sending the multicast
+ # stream.
+ # @return [String]
+ #
+ # @!attribute [rw] url
+ # This represents the customer's source URL where multicast stream is
+ # pulled from.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MulticastSourceUpdateRequest AWS API Documentation
+ #
+ class MulticastSourceUpdateRequest < Struct.new(
+ :source_ip,
+ :url)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Details about a configuration error on the Node.
+ #
+ # @!attribute [rw] message
+ # The error message.
+ # @return [String]
+ #
+ # @!attribute [rw] validation_errors
+ # A collection of validation error responses.
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/NodeConfigurationValidationError AWS API Documentation
+ #
+ class NodeConfigurationValidationError < Struct.new(
+ :message,
+ :validation_errors)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # A mapping that's used to pair a logical network interface name on a
+ # Node with the physical interface name exposed in the operating system.
+ #
+ # @!attribute [rw] logical_interface_name
+ # A uniform logical interface name to address in a MediaLive channel
+ # configuration.
+ # @return [String]
+ #
+ # @!attribute [rw] network_interface_mode
+ # Used in NodeInterfaceMapping and NodeInterfaceMappingCreateRequest
+ # @return [String]
+ #
+ # @!attribute [rw] physical_interface_name
+ # The name of the physical interface on the hardware that will be
+ # running Elemental anywhere.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/NodeInterfaceMapping AWS API Documentation
+ #
+ class NodeInterfaceMapping < Struct.new(
+ :logical_interface_name,
+ :network_interface_mode,
+ :physical_interface_name)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in CreateNodeRequest.
+ #
+ # @!attribute [rw] logical_interface_name
+ # Specify one of the logicalInterfaceNames that you created in the
+ # Cluster that this node belongs to. For example, my-Inputs-Interface.
+ # @return [String]
+ #
+ # @!attribute [rw] network_interface_mode
+ # The style of the network -- NAT or BRIDGE.
+ # @return [String]
+ #
+ # @!attribute [rw] physical_interface_name
+ # Specify the physical name that corresponds to the
+ # logicalInterfaceName that you specified in this interface mapping.
+ # For example, Eth1 or ENO1234EXAMPLE.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/NodeInterfaceMappingCreateRequest AWS API Documentation
+ #
+ class NodeInterfaceMappingCreateRequest < Struct.new(
+ :logical_interface_name,
+ :network_interface_mode,
+ :physical_interface_name)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in DescribeNetworkResult, DescribeNetworkSummary,
+ # UpdateNetworkResult.
+ #
+ # @!attribute [rw] cidr
+ # A CIDR block for one Route.
+ # @return [String]
+ #
+ # @!attribute [rw] gateway
+ # The IP address of the Gateway for this route, if applicable.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/Route AWS API Documentation
+ #
+ class Route < Struct.new(
+ :cidr,
+ :gateway)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in CreateNetworkRequest.
+ #
+ # @!attribute [rw] cidr
+ # A CIDR block for one Route.
+ # @return [String]
+ #
+ # @!attribute [rw] gateway
+ # The IP address of the Gateway for this route, if applicable.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RouteCreateRequest AWS API Documentation
+ #
+ class RouteCreateRequest < Struct.new(
+ :cidr,
+ :gateway)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in UpdateNetworkRequest.
+ #
+ # @!attribute [rw] cidr
+ # A CIDR block for one Route.
+ # @return [String]
+ #
+ # @!attribute [rw] gateway
+ # The IP address of the Gateway for this route, if applicable.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/RouteUpdateRequest AWS API Documentation
+ #
+ class RouteUpdateRequest < Struct.new(
+ :cidr,
+ :gateway)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Srt Group Settings
+ #
+ # @!attribute [rw] input_loss_action
+ # Specifies behavior of last resort when input video is lost, and no
+ # more backup inputs are available. When dropTs is selected the entire
+ # transport stream will stop being emitted. When dropProgram is
+ # selected the program can be dropped from the transport stream (and
+ # replaced with null packets to meet the TS bitrate requirement). Or,
+ # when emitProgram is chosen the transport stream will continue to be
+ # produced normally with repeat frames, black frames, or slate frames
+ # substituted for the absent input video.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/SrtGroupSettings AWS API Documentation
+ #
+ class SrtGroupSettings < Struct.new(
+ :input_loss_action)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] encryption_passphrase_secret_arn
+ # Arn used to extract the password from Secrets Manager
+ # @return [String]
+ #
+ # @!attribute [rw] stream_id
+ # Stream id for SRT destinations (URLs of type srt://)
+ # @return [String]
+ #
+ # @!attribute [rw] url
+ # A URL specifying a destination
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/SrtOutputDestinationSettings AWS API Documentation
+ #
+ class SrtOutputDestinationSettings < Struct.new(
+ :encryption_passphrase_secret_arn,
+ :stream_id,
+ :url)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Srt Output Settings
+ #
+ # @!attribute [rw] buffer_msec
+ # SRT output buffering in milliseconds. A higher value increases
+ # latency through the encoder. But the benefits are that it helps to
+ # maintain a constant, low-jitter SRT output, and it accommodates
+ # clock recovery, input switching, input disruptions, picture
+ # reordering, and so on. Range: 0-10000 milliseconds.
+ # @return [Integer]
+ #
+ # @!attribute [rw] container_settings
+ # Udp Container Settings
+ # @return [Types::UdpContainerSettings]
+ #
+ # @!attribute [rw] destination
+ # Reference to an OutputDestination ID defined in the channel
+ # @return [Types::OutputLocationRef]
+ #
+ # @!attribute [rw] encryption_type
+ # The encryption level for the content. Valid values are AES128,
+ # AES192, AES256. You and the downstream system should plan how to set
+ # this field because the values must not conflict with each other.
+ # @return [String]
+ #
+ # @!attribute [rw] latency
+ # The latency value, in milliseconds, that is proposed during the SRT
+ # connection handshake. SRT will choose the maximum of the values
+ # proposed by the sender and receiver. On the sender side, latency is
+ # the amount of time a packet is held to give it a chance to be
+ # delivered successfully. On the receiver side, latency is the amount
+ # of time the packet is held before delivering to the application,
+ # aiding in packet recovery and matching as closely as possible the
+ # packet timing of the sender. Range: 40-16000 milliseconds.
+ # @return [Integer]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/SrtOutputSettings AWS API Documentation
+ #
+ class SrtOutputSettings < Struct.new(
+ :buffer_msec,
+ :container_settings,
+ :destination,
+ :encryption_type,
+ :latency)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in the UpdateChannelPlacementGroup operation.
+ #
+ # @!attribute [rw] channel_placement_group_id
+ # @return [String]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # Include this parameter only if you want to change the current name
+ # of the ChannelPlacementGroup. Specify a name that is unique in the
+ # Cluster. You can't change the name. Names are case-sensitive.
+ # @return [String]
+ #
+ # @!attribute [rw] nodes
+ # Include this parameter only if you want to change the list of Nodes
+ # that are associated with the ChannelPlacementGroup.
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelPlacementGroupRequest AWS API Documentation
+ #
+ class UpdateChannelPlacementGroupRequest < Struct.new(
+ :channel_placement_group_id,
+ :cluster_id,
+ :name,
+ :nodes)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channels
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] nodes
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeChannelPlacementGroupResult
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateChannelPlacementGroupResponse AWS API Documentation
+ #
+ class UpdateChannelPlacementGroupResponse < Struct.new(
+ :arn,
+ :channels,
+ :cluster_id,
+ :id,
+ :name,
+ :nodes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in the UpdatedCluster operation.
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # Include this parameter only if you want to change the current name
+ # of the Cluster. Specify a name that is unique in the AWS account.
+ # You can't change the name. Names are case-sensitive.
+ # @return [String]
+ #
+ # @!attribute [rw] network_settings
+ # Include this property only if you want to change the current
+ # connections between the Nodes in the Cluster and the Networks the
+ # Cluster is associated with.
+ # @return [Types::ClusterNetworkSettingsUpdateRequest]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateClusterRequest AWS API Documentation
+ #
+ class UpdateClusterRequest < Struct.new(
+ :cluster_id,
+ :name,
+ :network_settings)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channel_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_type
+ # Used in CreateClusterSummary, DescribeClusterSummary,
+ # DescribeClusterResult, UpdateClusterResult.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] network_settings
+ # Used in DescribeClusterResult, DescribeClusterSummary,
+ # UpdateClusterResult.
+ # @return [Types::ClusterNetworkSettings]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeClusterSummary, DescribeClusterResult,
+ # UpdateClusterResult.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateClusterResponse AWS API Documentation
+ #
+ class UpdateClusterResponse < Struct.new(
+ :arn,
+ :channel_ids,
+ :cluster_type,
+ :id,
+ :name,
+ :network_settings,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # The name that you specified for the Cluster.
+ #
+ # @!attribute [rw] arn
+ # The ARN of the Cluster.
+ # @return [String]
+ #
+ # @!attribute [rw] channel_ids
+ # An array of the IDs of the Channels that are associated with this
+ # Cluster. One Channel is associated with the Cluster as follows: A
+ # Channel belongs to a ChannelPlacementGroup. A ChannelPlacementGroup
+ # is attached to a Node. A Node belongs to a Cluster.
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_type
+ # The hardware type for the Cluster
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # The unique ID of the Cluster.
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # The user-specified name of the Cluster.
+ # @return [String]
+ #
+ # @!attribute [rw] network_settings
+ # Network settings that connect the Nodes in the Cluster to one or
+ # more of the Networks that the Cluster is associated with.
+ # @return [Types::ClusterNetworkSettings]
+ #
+ # @!attribute [rw] state
+ # The current state of the Cluster.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateClusterResult AWS API Documentation
+ #
+ class UpdateClusterResult < Struct.new(
+ :arn,
+ :channel_ids,
+ :cluster_type,
+ :id,
+ :name,
+ :network_settings,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in the UpdateNetwork operation.
+ #
+ # @!attribute [rw] ip_pools
+ # Include this parameter only if you want to change the pool of IP
+ # addresses in the network. An array of IpPoolCreateRequests that
+ # identify a collection of IP addresses in this network that you want
+ # to reserve for use in MediaLive Anywhere. MediaLive Anywhere uses
+ # these IP addresses for Push inputs (in both Bridge and NAT networks)
+ # and for output destinations (only in Bridge networks). Each
+ # IpPoolUpdateRequest specifies one CIDR block.
+ # @return [Array]
+ #
+ # @!attribute [rw] name
+ # Include this parameter only if you want to change the name of the
+ # Network. Specify a name that is unique in the AWS account. Names are
+ # case-sensitive.
+ # @return [String]
+ #
+ # @!attribute [rw] network_id
+ # @return [String]
+ #
+ # @!attribute [rw] routes
+ # Include this parameter only if you want to change or add routes in
+ # the Network. An array of Routes that MediaLive Anywhere needs to
+ # know about in order to route encoding traffic.
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateNetworkRequest AWS API Documentation
+ #
+ class UpdateNetworkRequest < Struct.new(
+ :ip_pools,
+ :name,
+ :network_id,
+ :routes)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] associated_cluster_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] ip_pools
+ # @return [Array]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] routes
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeNetworkResult, DescribeNetworkSummary,
+ # UpdateNetworkResult.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateNetworkResponse AWS API Documentation
+ #
+ class UpdateNetworkResponse < Struct.new(
+ :arn,
+ :associated_cluster_ids,
+ :id,
+ :ip_pools,
+ :name,
+ :routes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Contains the response for the UpdateNetwork
+ #
+ # @!attribute [rw] arn
+ # The ARN of this Network. It is automatically assigned when the
+ # Network is created.
+ # @return [String]
+ #
+ # @!attribute [rw] associated_cluster_ids
+ # @return [Array]
+ #
+ # @!attribute [rw] id
+ # The ID of the Network. Unique in the AWS account. The ID is the
+ # resource-id portion of the ARN.
+ # @return [String]
+ #
+ # @!attribute [rw] ip_pools
+ # An array of IpPools in your organization's network that identify a
+ # collection of IP addresses in this network that are reserved for use
+ # in MediaLive Anywhere. MediaLive Anywhere uses these IP addresses
+ # for Push inputs (in both Bridge and NAT networks) and for output
+ # destinations (only in Bridge networks). Each IpPool specifies one
+ # CIDR block.
+ # @return [Array]
+ #
+ # @!attribute [rw] name
+ # The name that you specified for the Network.
+ # @return [String]
+ #
+ # @!attribute [rw] routes
+ # An array of Routes that MediaLive Anywhere needs to know about in
+ # order to route encoding traffic.
+ # @return [Array]
+ #
+ # @!attribute [rw] state
+ # The current state of the Network. Only MediaLive Anywhere can change
+ # the state.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateNetworkResult AWS API Documentation
+ #
+ class UpdateNetworkResult < Struct.new(
+ :arn,
+ :associated_cluster_ids,
+ :id,
+ :ip_pools,
+ :name,
+ :routes,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in the UpdateNode operation.
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # Include this parameter only if you want to change the current name
+ # of the Node. Specify a name that is unique in the Cluster. You
+ # can't change the name. Names are case-sensitive.
+ # @return [String]
+ #
+ # @!attribute [rw] node_id
+ # @return [String]
+ #
+ # @!attribute [rw] role
+ # The initial role of the Node in the Cluster. ACTIVE means the Node
+ # is available for encoding. BACKUP means the Node is a redundant Node
+ # and might get used if an ACTIVE Node fails.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateNodeRequest AWS API Documentation
+ #
+ class UpdateNodeRequest < Struct.new(
+ :cluster_id,
+ :name,
+ :node_id,
+ :role)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channel_placement_groups
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] connection_state
+ # Used in DescribeNodeSummary.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] instance_arn
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] node_interface_mappings
+ # @return [Array]
+ #
+ # @!attribute [rw] role
+ # Used in CreateNodeRequest, CreateNodeRegistrationScriptRequest,
+ # DescribeNodeResult, DescribeNodeSummary, UpdateNodeRequest.
+ # @return [String]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeNodeSummary.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateNodeResponse AWS API Documentation
+ #
+ class UpdateNodeResponse < Struct.new(
+ :arn,
+ :channel_placement_groups,
+ :cluster_id,
+ :connection_state,
+ :id,
+ :instance_arn,
+ :name,
+ :node_interface_mappings,
+ :role,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Used in the UpdateNode operation.
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] node_id
+ # @return [String]
+ #
+ # @!attribute [rw] state
+ # The state to apply to the Node. Set to ACTIVE (COMMISSIONED) to
+ # indicate that the Node is deployable. MediaLive Anywhere will
+ # consider this node it needs a Node to run a Channel on, or when it
+ # needs a Node to promote from a backup node to an active node. Set to
+ # DRAINING to isolate the Node so that MediaLive Anywhere won't use
+ # it.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateNodeStateRequest AWS API Documentation
+ #
+ class UpdateNodeStateRequest < Struct.new(
+ :cluster_id,
+ :node_id,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] arn
+ # @return [String]
+ #
+ # @!attribute [rw] channel_placement_groups
+ # @return [Array]
+ #
+ # @!attribute [rw] cluster_id
+ # @return [String]
+ #
+ # @!attribute [rw] connection_state
+ # Used in DescribeNodeSummary.
+ # @return [String]
+ #
+ # @!attribute [rw] id
+ # @return [String]
+ #
+ # @!attribute [rw] instance_arn
+ # @return [String]
+ #
+ # @!attribute [rw] name
+ # @return [String]
+ #
+ # @!attribute [rw] node_interface_mappings
+ # @return [Array]
+ #
+ # @!attribute [rw] role
+ # Used in CreateNodeRequest, CreateNodeRegistrationScriptRequest,
+ # DescribeNodeResult, DescribeNodeSummary, UpdateNodeRequest.
+ # @return [String]
+ #
+ # @!attribute [rw] state
+ # Used in DescribeNodeSummary.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/UpdateNodeStateResponse AWS API Documentation
+ #
+ class UpdateNodeStateResponse < Struct.new(
+ :arn,
+ :channel_placement_groups,
+ :cluster_id,
+ :connection_state,
+ :id,
+ :instance_arn,
+ :name,
+ :node_interface_mappings,
+ :role,
+ :state)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Bandwidth Reduction Filter Settings
+ #
+ # @!attribute [rw] post_filter_sharpening
+ # Configures the sharpening control, which is available when the
+ # bandwidth reduction filter is enabled. This control sharpens edges
+ # and contours, which produces a specific artistic effect that you
+ # might want. We recommend that you test each of the values (including
+ # DISABLED) to observe the sharpening effect on the content.
+ # @return [String]
+ #
+ # @!attribute [rw] strength
+ # Enables the bandwidth reduction filter. The filter strengths range
+ # from 1 to 4. We recommend that you always enable this filter and use
+ # AUTO, to let MediaLive apply the optimum filtering for the context.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/BandwidthReductionFilterSettings AWS API Documentation
+ #
+ class BandwidthReductionFilterSettings < Struct.new(
+ :post_filter_sharpening,
+ :strength)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Multiplex Container Settings
+ #
+ # @!attribute [rw] multiplex_m2ts_settings
+ # Multiplex M2ts Settings
+ # @return [Types::MultiplexM2tsSettings]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MultiplexContainerSettings AWS API Documentation
+ #
+ class MultiplexContainerSettings < Struct.new(
+ :multiplex_m2ts_settings)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # Multiplex M2ts Settings
+ #
+ # @!attribute [rw] absent_input_audio_behavior
+ # When set to drop, output audio streams will be removed from the
+ # program if the selected input audio stream is removed from the
+ # input. This allows the output audio configuration to dynamically
+ # change based on input configuration. If this is set to
+ # encodeSilence, all output audio streams will output encoded silence
+ # when not connected to an active input stream.
+ # @return [String]
+ #
+ # @!attribute [rw] arib
+ # When set to enabled, uses ARIB-compliant field muxing and removes
+ # video descriptor.
+ # @return [String]
+ #
+ # @!attribute [rw] audio_buffer_model
+ # When set to dvb, uses DVB buffer model for Dolby Digital audio. When
+ # set to atsc, the ATSC model is used.
+ # @return [String]
+ #
+ # @!attribute [rw] audio_frames_per_pes
+ # The number of audio frames to insert for each PES packet.
+ # @return [Integer]
+ #
+ # @!attribute [rw] audio_stream_type
+ # When set to atsc, uses stream type = 0x81 for AC3 and stream type =
+ # 0x87 for EAC3. When set to dvb, uses stream type = 0x06.
+ # @return [String]
+ #
+ # @!attribute [rw] cc_descriptor
+ # When set to enabled, generates captionServiceDescriptor in PMT.
+ # @return [String]
+ #
+ # @!attribute [rw] ebif
+ # If set to passthrough, passes any EBIF data from the input source to
+ # this output.
+ # @return [String]
+ #
+ # @!attribute [rw] es_rate_in_pes
+ # Include or exclude the ES Rate field in the PES header.
+ # @return [String]
+ #
+ # @!attribute [rw] klv
+ # If set to passthrough, passes any KLV data from the input source to
+ # this output.
+ # @return [String]
+ #
+ # @!attribute [rw] nielsen_id_3_behavior
+ # If set to passthrough, Nielsen inaudible tones for media tracking
+ # will be detected in the input audio and an equivalent ID3 tag will
+ # be inserted in the output.
+ # @return [String]
+ #
+ # @!attribute [rw] pcr_control
+ # When set to pcrEveryPesPacket, a Program Clock Reference value is
+ # inserted for every Packetized Elementary Stream (PES) header. This
+ # parameter is effective only when the PCR PID is the same as the
+ # video or audio elementary stream.
+ # @return [String]
+ #
+ # @!attribute [rw] pcr_period
+ # Maximum time in milliseconds between Program Clock Reference (PCRs)
+ # inserted into the transport stream.
+ # @return [Integer]
+ #
+ # @!attribute [rw] scte_35_control
+ # Optionally pass SCTE-35 signals from the input source to this
+ # output.
+ # @return [String]
+ #
+ # @!attribute [rw] scte_35_preroll_pullup_milliseconds
+ # Defines the amount SCTE-35 preroll will be increased (in
+ # milliseconds) on the output. Preroll is the amount of time between
+ # the presence of a SCTE-35 indication in a transport stream and the
+ # PTS of the video frame it references. Zero means don't add pullup
+ # (it doesn't mean set the preroll to zero). Negative pullup is not
+ # supported, which means that you can't make the preroll shorter. Be
+ # aware that latency in the output will increase by the pullup amount.
+ # @return [Float]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/medialive-2017-10-14/MultiplexM2tsSettings AWS API Documentation
+ #
+ class MultiplexM2tsSettings < Struct.new(
+ :absent_input_audio_behavior,
+ :arib,
+ :audio_buffer_model,
+ :audio_frames_per_pes,
+ :audio_stream_type,
+ :cc_descriptor,
+ :ebif,
+ :es_rate_in_pes,
+ :klv,
+ :nielsen_id_3_behavior,
+ :pcr_control,
+ :pcr_period,
+ :scte_35_control,
+ :scte_35_preroll_pullup_milliseconds)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
end
end
diff --git a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/waiters.rb b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/waiters.rb
index 457d36a1940..32277cf8694 100644
--- a/gems/aws-sdk-medialive/lib/aws-sdk-medialive/waiters.rb
+++ b/gems/aws-sdk-medialive/lib/aws-sdk-medialive/waiters.rb
@@ -67,23 +67,30 @@ module Aws::MediaLive
# The following table lists the valid waiter names, the operations they call,
# and the default `:delay` and `:max_attempts` values.
#
- # | waiter_name | params | :delay | :max_attempts |
- # | --------------------------- | --------------------------- | -------- | ------------- |
- # | channel_created | {Client#describe_channel} | 3 | 5 |
- # | channel_deleted | {Client#describe_channel} | 5 | 84 |
- # | channel_running | {Client#describe_channel} | 5 | 120 |
- # | channel_stopped | {Client#describe_channel} | 5 | 60 |
- # | input_attached | {Client#describe_input} | 5 | 20 |
- # | input_deleted | {Client#describe_input} | 5 | 20 |
- # | input_detached | {Client#describe_input} | 5 | 84 |
- # | multiplex_created | {Client#describe_multiplex} | 3 | 5 |
- # | multiplex_deleted | {Client#describe_multiplex} | 5 | 20 |
- # | multiplex_running | {Client#describe_multiplex} | 5 | 120 |
- # | multiplex_stopped | {Client#describe_multiplex} | 5 | 28 |
- # | signal_map_created | {Client#get_signal_map} | 5 | 60 |
- # | signal_map_monitor_deleted | {Client#get_signal_map} | 5 | 120 |
- # | signal_map_monitor_deployed | {Client#get_signal_map} | 5 | 120 |
- # | signal_map_updated | {Client#get_signal_map} | 5 | 60 |
+ # | waiter_name | params | :delay | :max_attempts |
+ # | ---------------------------------- | ----------------------------------------- | -------- | ------------- |
+ # | channel_created | {Client#describe_channel} | 3 | 5 |
+ # | channel_deleted | {Client#describe_channel} | 5 | 84 |
+ # | channel_placement_group_assigned | {Client#describe_channel_placement_group} | 3 | 5 |
+ # | channel_placement_group_deleted | {Client#describe_channel_placement_group} | 5 | 20 |
+ # | channel_placement_group_unassigned | {Client#describe_channel_placement_group} | 5 | 20 |
+ # | channel_running | {Client#describe_channel} | 5 | 120 |
+ # | channel_stopped | {Client#describe_channel} | 5 | 60 |
+ # | cluster_created | {Client#describe_cluster} | 3 | 5 |
+ # | cluster_deleted | {Client#describe_cluster} | 5 | 20 |
+ # | input_attached | {Client#describe_input} | 5 | 20 |
+ # | input_deleted | {Client#describe_input} | 5 | 20 |
+ # | input_detached | {Client#describe_input} | 5 | 84 |
+ # | multiplex_created | {Client#describe_multiplex} | 3 | 5 |
+ # | multiplex_deleted | {Client#describe_multiplex} | 5 | 20 |
+ # | multiplex_running | {Client#describe_multiplex} | 5 | 120 |
+ # | multiplex_stopped | {Client#describe_multiplex} | 5 | 28 |
+ # | node_deregistered | {Client#describe_node} | 5 | 20 |
+ # | node_registered | {Client#describe_node} | 3 | 5 |
+ # | signal_map_created | {Client#get_signal_map} | 5 | 60 |
+ # | signal_map_monitor_deleted | {Client#get_signal_map} | 5 | 120 |
+ # | signal_map_monitor_deployed | {Client#get_signal_map} | 5 | 120 |
+ # | signal_map_updated | {Client#get_signal_map} | 5 | 60 |
#
module Waiters
@@ -193,6 +200,156 @@ def wait(params = {})
end
+ # Wait until the channel placement group has been assigned
+ class ChannelPlacementGroupAssigned
+
+ # @param [Hash] options
+ # @option options [required, Client] :client
+ # @option options [Integer] :max_attempts (5)
+ # @option options [Integer] :delay (3)
+ # @option options [Proc] :before_attempt
+ # @option options [Proc] :before_wait
+ def initialize(options)
+ @client = options.fetch(:client)
+ @waiter = Aws::Waiters::Waiter.new({
+ max_attempts: 5,
+ delay: 3,
+ poller: Aws::Waiters::Poller.new(
+ operation_name: :describe_channel_placement_group,
+ acceptors: [
+ {
+ "state" => "success",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "ASSIGNED"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "ASSIGNING"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "status",
+ "expected" => 500
+ }
+ ]
+ )
+ }.merge(options))
+ end
+
+ # @option (see Client#describe_channel_placement_group)
+ # @return (see Client#describe_channel_placement_group)
+ def wait(params = {})
+ @waiter.wait(client: @client, params: params)
+ end
+
+ # @api private
+ attr_reader :waiter
+
+ end
+
+ # Wait until the channel placement group has been deleted
+ class ChannelPlacementGroupDeleted
+
+ # @param [Hash] options
+ # @option options [required, Client] :client
+ # @option options [Integer] :max_attempts (20)
+ # @option options [Integer] :delay (5)
+ # @option options [Proc] :before_attempt
+ # @option options [Proc] :before_wait
+ def initialize(options)
+ @client = options.fetch(:client)
+ @waiter = Aws::Waiters::Waiter.new({
+ max_attempts: 20,
+ delay: 5,
+ poller: Aws::Waiters::Poller.new(
+ operation_name: :describe_channel_placement_group,
+ acceptors: [
+ {
+ "state" => "success",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "DELETED"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "DELETING"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "status",
+ "expected" => 500
+ }
+ ]
+ )
+ }.merge(options))
+ end
+
+ # @option (see Client#describe_channel_placement_group)
+ # @return (see Client#describe_channel_placement_group)
+ def wait(params = {})
+ @waiter.wait(client: @client, params: params)
+ end
+
+ # @api private
+ attr_reader :waiter
+
+ end
+
+ # Wait until the channel placement group has been unassigned
+ class ChannelPlacementGroupUnassigned
+
+ # @param [Hash] options
+ # @option options [required, Client] :client
+ # @option options [Integer] :max_attempts (20)
+ # @option options [Integer] :delay (5)
+ # @option options [Proc] :before_attempt
+ # @option options [Proc] :before_wait
+ def initialize(options)
+ @client = options.fetch(:client)
+ @waiter = Aws::Waiters::Waiter.new({
+ max_attempts: 20,
+ delay: 5,
+ poller: Aws::Waiters::Poller.new(
+ operation_name: :describe_channel_placement_group,
+ acceptors: [
+ {
+ "state" => "success",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "UNASSIGNED"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "UNASSIGNING"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "status",
+ "expected" => 500
+ }
+ ]
+ )
+ }.merge(options))
+ end
+
+ # @option (see Client#describe_channel_placement_group)
+ # @return (see Client#describe_channel_placement_group)
+ def wait(params = {})
+ @waiter.wait(client: @client, params: params)
+ end
+
+ # @api private
+ attr_reader :waiter
+
+ end
+
# Wait until a channel is running
class ChannelRunning
@@ -293,6 +450,112 @@ def wait(params = {})
end
+ # Wait until a cluster has been created
+ class ClusterCreated
+
+ # @param [Hash] options
+ # @option options [required, Client] :client
+ # @option options [Integer] :max_attempts (5)
+ # @option options [Integer] :delay (3)
+ # @option options [Proc] :before_attempt
+ # @option options [Proc] :before_wait
+ def initialize(options)
+ @client = options.fetch(:client)
+ @waiter = Aws::Waiters::Waiter.new({
+ max_attempts: 5,
+ delay: 3,
+ poller: Aws::Waiters::Poller.new(
+ operation_name: :describe_cluster,
+ acceptors: [
+ {
+ "state" => "success",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "ACTIVE"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "CREATING"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "status",
+ "expected" => 500
+ },
+ {
+ "state" => "failure",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "CREATE_FAILED"
+ }
+ ]
+ )
+ }.merge(options))
+ end
+
+ # @option (see Client#describe_cluster)
+ # @return (see Client#describe_cluster)
+ def wait(params = {})
+ @waiter.wait(client: @client, params: params)
+ end
+
+ # @api private
+ attr_reader :waiter
+
+ end
+
+ # Wait until a cluster has been deleted
+ class ClusterDeleted
+
+ # @param [Hash] options
+ # @option options [required, Client] :client
+ # @option options [Integer] :max_attempts (20)
+ # @option options [Integer] :delay (5)
+ # @option options [Proc] :before_attempt
+ # @option options [Proc] :before_wait
+ def initialize(options)
+ @client = options.fetch(:client)
+ @waiter = Aws::Waiters::Waiter.new({
+ max_attempts: 20,
+ delay: 5,
+ poller: Aws::Waiters::Poller.new(
+ operation_name: :describe_cluster,
+ acceptors: [
+ {
+ "state" => "success",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "DELETED"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "DELETING"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "status",
+ "expected" => 500
+ }
+ ]
+ )
+ }.merge(options))
+ end
+
+ # @option (see Client#describe_cluster)
+ # @return (see Client#describe_cluster)
+ def wait(params = {})
+ @waiter.wait(client: @client, params: params)
+ end
+
+ # @api private
+ attr_reader :waiter
+
+ end
+
# Wait until an input has been attached
class InputAttached
@@ -655,6 +918,123 @@ def wait(params = {})
end
+ # Wait until a node has been deregistered
+ class NodeDeregistered
+
+ # @param [Hash] options
+ # @option options [required, Client] :client
+ # @option options [Integer] :max_attempts (20)
+ # @option options [Integer] :delay (5)
+ # @option options [Proc] :before_attempt
+ # @option options [Proc] :before_wait
+ def initialize(options)
+ @client = options.fetch(:client)
+ @waiter = Aws::Waiters::Waiter.new({
+ max_attempts: 20,
+ delay: 5,
+ poller: Aws::Waiters::Poller.new(
+ operation_name: :describe_node,
+ acceptors: [
+ {
+ "state" => "success",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "DEREGISTERED"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "DEREGISTERING"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "DRAINING"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "status",
+ "expected" => 500
+ }
+ ]
+ )
+ }.merge(options))
+ end
+
+ # @option (see Client#describe_node)
+ # @return (see Client#describe_node)
+ def wait(params = {})
+ @waiter.wait(client: @client, params: params)
+ end
+
+ # @api private
+ attr_reader :waiter
+
+ end
+
+ # Wait until a node has been registered
+ class NodeRegistered
+
+ # @param [Hash] options
+ # @option options [required, Client] :client
+ # @option options [Integer] :max_attempts (5)
+ # @option options [Integer] :delay (3)
+ # @option options [Proc] :before_attempt
+ # @option options [Proc] :before_wait
+ def initialize(options)
+ @client = options.fetch(:client)
+ @waiter = Aws::Waiters::Waiter.new({
+ max_attempts: 5,
+ delay: 3,
+ poller: Aws::Waiters::Poller.new(
+ operation_name: :describe_node,
+ acceptors: [
+ {
+ "state" => "success",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "ACTIVE"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "REGISTERING"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "status",
+ "expected" => 404
+ },
+ {
+ "state" => "failure",
+ "matcher" => "path",
+ "argument" => "state",
+ "expected" => "REGISTRATION_FAILED"
+ },
+ {
+ "state" => "retry",
+ "matcher" => "status",
+ "expected" => 500
+ }
+ ]
+ )
+ }.merge(options))
+ end
+
+ # @option (see Client#describe_node)
+ # @return (see Client#describe_node)
+ def wait(params = {})
+ @waiter.wait(client: @client, params: params)
+ end
+
+ # @api private
+ attr_reader :waiter
+
+ end
+
# Wait until a signal map has been created
class SignalMapCreated
diff --git a/gems/aws-sdk-medialive/sig/client.rbs b/gems/aws-sdk-medialive/sig/client.rbs
index be979438c65..3edcd3d19e5 100644
--- a/gems/aws-sdk-medialive/sig/client.rbs
+++ b/gems/aws-sdk-medialive/sig/client.rbs
@@ -331,6 +331,13 @@ module Aws
url: ::String?,
username: ::String?
},
+ ]?,
+ srt_settings: Array[
+ {
+ encryption_passphrase_secret_arn: ::String?,
+ stream_id: ::String?,
+ url: ::String?
+ },
]?
},
],
@@ -797,6 +804,9 @@ module Aws
segment_length: ::Integer?,
segment_length_units: ("MILLISECONDS" | "SECONDS")?,
send_delay_ms: ::Integer?
+ }?,
+ srt_group_settings: {
+ input_loss_action: ("DROP_PROGRAM" | "DROP_TS" | "EMIT_PROGRAM")?
}?
},
outputs: Array[
@@ -934,7 +944,25 @@ module Aws
multiplex_output_settings: {
destination: {
destination_ref_id: ::String?
- }
+ },
+ container_settings: {
+ multiplex_m2ts_settings: {
+ absent_input_audio_behavior: ("DROP" | "ENCODE_SILENCE")?,
+ arib: ("DISABLED" | "ENABLED")?,
+ audio_buffer_model: ("ATSC" | "DVB")?,
+ audio_frames_per_pes: ::Integer?,
+ audio_stream_type: ("ATSC" | "DVB")?,
+ cc_descriptor: ("DISABLED" | "ENABLED")?,
+ ebif: ("NONE" | "PASSTHROUGH")?,
+ es_rate_in_pes: ("EXCLUDE" | "INCLUDE")?,
+ klv: ("NONE" | "PASSTHROUGH")?,
+ nielsen_id_3_behavior: ("NO_PASSTHROUGH" | "PASSTHROUGH")?,
+ pcr_control: ("CONFIGURED_PCR_PERIOD" | "PCR_EVERY_PES_PACKET")?,
+ pcr_period: ::Integer?,
+ scte_35_control: ("NONE" | "PASSTHROUGH")?,
+ scte_35_preroll_pullup_milliseconds: ::Float?
+ }?
+ }?
}?,
rtmp_output_settings: {
certificate_mode: ("SELF_SIGNED" | "VERIFY_AUTHENTICITY")?,
@@ -1020,6 +1048,77 @@ module Aws
}?,
cmaf_ingest_output_settings: {
name_modifier: ::String?
+ }?,
+ srt_output_settings: {
+ buffer_msec: ::Integer?,
+ container_settings: {
+ m2ts_settings: {
+ absent_input_audio_behavior: ("DROP" | "ENCODE_SILENCE")?,
+ arib: ("DISABLED" | "ENABLED")?,
+ arib_captions_pid: ::String?,
+ arib_captions_pid_control: ("AUTO" | "USE_CONFIGURED")?,
+ audio_buffer_model: ("ATSC" | "DVB")?,
+ audio_frames_per_pes: ::Integer?,
+ audio_pids: ::String?,
+ audio_stream_type: ("ATSC" | "DVB")?,
+ bitrate: ::Integer?,
+ buffer_model: ("MULTIPLEX" | "NONE")?,
+ cc_descriptor: ("DISABLED" | "ENABLED")?,
+ dvb_nit_settings: {
+ network_id: ::Integer,
+ network_name: ::String,
+ rep_interval: ::Integer?
+ }?,
+ dvb_sdt_settings: {
+ output_sdt: ("SDT_FOLLOW" | "SDT_FOLLOW_IF_PRESENT" | "SDT_MANUAL" | "SDT_NONE")?,
+ rep_interval: ::Integer?,
+ service_name: ::String?,
+ service_provider_name: ::String?
+ }?,
+ dvb_sub_pids: ::String?,
+ dvb_tdt_settings: {
+ rep_interval: ::Integer?
+ }?,
+ dvb_teletext_pid: ::String?,
+ ebif: ("NONE" | "PASSTHROUGH")?,
+ ebp_audio_interval: ("VIDEO_AND_FIXED_INTERVALS" | "VIDEO_INTERVAL")?,
+ ebp_lookahead_ms: ::Integer?,
+ ebp_placement: ("VIDEO_AND_AUDIO_PIDS" | "VIDEO_PID")?,
+ ecm_pid: ::String?,
+ es_rate_in_pes: ("EXCLUDE" | "INCLUDE")?,
+ etv_platform_pid: ::String?,
+ etv_signal_pid: ::String?,
+ fragment_time: ::Float?,
+ klv: ("NONE" | "PASSTHROUGH")?,
+ klv_data_pids: ::String?,
+ nielsen_id_3_behavior: ("NO_PASSTHROUGH" | "PASSTHROUGH")?,
+ null_packet_bitrate: ::Float?,
+ pat_interval: ::Integer?,
+ pcr_control: ("CONFIGURED_PCR_PERIOD" | "PCR_EVERY_PES_PACKET")?,
+ pcr_period: ::Integer?,
+ pcr_pid: ::String?,
+ pmt_interval: ::Integer?,
+ pmt_pid: ::String?,
+ program_num: ::Integer?,
+ rate_mode: ("CBR" | "VBR")?,
+ scte_27_pids: ::String?,
+ scte_35_control: ("NONE" | "PASSTHROUGH")?,
+ scte_35_pid: ::String?,
+ scte_35_preroll_pullup_milliseconds: ::Float?,
+ segmentation_markers: ("EBP" | "EBP_LEGACY" | "NONE" | "PSI_SEGSTART" | "RAI_ADAPT" | "RAI_SEGSTART")?,
+ segmentation_style: ("MAINTAIN_CADENCE" | "RESET_CADENCE")?,
+ segmentation_time: ::Float?,
+ timed_metadata_behavior: ("NO_PASSTHROUGH" | "PASSTHROUGH")?,
+ timed_metadata_pid: ::String?,
+ transport_stream_id: ::Integer?,
+ video_pid: ::String?
+ }?
+ },
+ destination: {
+ destination_ref_id: ::String?
+ },
+ encryption_type: ("AES128" | "AES192" | "AES256")?,
+ latency: ::Integer?
}?
},
video_description_name: ::String?
@@ -1063,6 +1162,10 @@ module Aws
temporal_filter_settings: {
post_filter_sharpening: ("AUTO" | "DISABLED" | "ENABLED")?,
strength: ("AUTO" | "STRENGTH_1" | "STRENGTH_2" | "STRENGTH_3" | "STRENGTH_4" | "STRENGTH_5" | "STRENGTH_6" | "STRENGTH_7" | "STRENGTH_8" | "STRENGTH_9" | "STRENGTH_10" | "STRENGTH_11" | "STRENGTH_12" | "STRENGTH_13" | "STRENGTH_14" | "STRENGTH_15" | "STRENGTH_16")?
+ }?,
+ bandwidth_reduction_filter_settings: {
+ post_filter_sharpening: ("DISABLED" | "SHARPENING_1" | "SHARPENING_2" | "SHARPENING_3")?,
+ strength: ("AUTO" | "STRENGTH_1" | "STRENGTH_2" | "STRENGTH_3" | "STRENGTH_4")?
}?
}?,
fixed_afd: ("AFD_0000" | "AFD_0010" | "AFD_0011" | "AFD_0100" | "AFD_1000" | "AFD_1001" | "AFD_1010" | "AFD_1011" | "AFD_1101" | "AFD_1110" | "AFD_1111")?,
@@ -1129,6 +1232,10 @@ module Aws
temporal_filter_settings: {
post_filter_sharpening: ("AUTO" | "DISABLED" | "ENABLED")?,
strength: ("AUTO" | "STRENGTH_1" | "STRENGTH_2" | "STRENGTH_3" | "STRENGTH_4" | "STRENGTH_5" | "STRENGTH_6" | "STRENGTH_7" | "STRENGTH_8" | "STRENGTH_9" | "STRENGTH_10" | "STRENGTH_11" | "STRENGTH_12" | "STRENGTH_13" | "STRENGTH_14" | "STRENGTH_15" | "STRENGTH_16")?
+ }?,
+ bandwidth_reduction_filter_settings: {
+ post_filter_sharpening: ("DISABLED" | "SHARPENING_1" | "SHARPENING_2" | "SHARPENING_3")?,
+ strength: ("AUTO" | "STRENGTH_1" | "STRENGTH_2" | "STRENGTH_3" | "STRENGTH_4")?
}?
}?,
fixed_afd: ("AFD_0000" | "AFD_0010" | "AFD_0011" | "AFD_0100" | "AFD_1000" | "AFD_1001" | "AFD_1010" | "AFD_1011" | "AFD_1101" | "AFD_1110" | "AFD_1111")?,
@@ -1192,6 +1299,40 @@ module Aws
position: ("BOTTOM_CENTER" | "BOTTOM_LEFT" | "BOTTOM_RIGHT" | "MIDDLE_CENTER" | "MIDDLE_LEFT" | "MIDDLE_RIGHT" | "TOP_CENTER" | "TOP_LEFT" | "TOP_RIGHT"),
prefix: ::String?
}?
+ }?,
+ av_1_settings: {
+ afd_signaling: ("AUTO" | "FIXED" | "NONE")?,
+ buf_size: ::Integer?,
+ color_space_settings: {
+ color_space_passthrough_settings: {
+ }?,
+ hdr_10_settings: {
+ max_cll: ::Integer?,
+ max_fall: ::Integer?
+ }?,
+ rec_601_settings: {
+ }?,
+ rec_709_settings: {
+ }?
+ }?,
+ fixed_afd: ("AFD_0000" | "AFD_0010" | "AFD_0011" | "AFD_0100" | "AFD_1000" | "AFD_1001" | "AFD_1010" | "AFD_1011" | "AFD_1101" | "AFD_1110" | "AFD_1111")?,
+ framerate_denominator: ::Integer,
+ framerate_numerator: ::Integer,
+ gop_size: ::Float?,
+ gop_size_units: ("FRAMES" | "SECONDS")?,
+ level: ("AV1_LEVEL_2" | "AV1_LEVEL_2_1" | "AV1_LEVEL_3" | "AV1_LEVEL_3_1" | "AV1_LEVEL_4" | "AV1_LEVEL_4_1" | "AV1_LEVEL_5" | "AV1_LEVEL_5_1" | "AV1_LEVEL_5_2" | "AV1_LEVEL_5_3" | "AV1_LEVEL_6" | "AV1_LEVEL_6_1" | "AV1_LEVEL_6_2" | "AV1_LEVEL_6_3" | "AV1_LEVEL_AUTO")?,
+ look_ahead_rate_control: ("HIGH" | "LOW" | "MEDIUM")?,
+ max_bitrate: ::Integer?,
+ min_i_interval: ::Integer?,
+ par_denominator: ::Integer?,
+ par_numerator: ::Integer?,
+ qvbr_quality_level: ::Integer?,
+ scene_change_detect: ("DISABLED" | "ENABLED")?,
+ timecode_burnin_settings: {
+ font_size: ("EXTRA_SMALL_10" | "LARGE_48" | "MEDIUM_32" | "SMALL_16"),
+ position: ("BOTTOM_CENTER" | "BOTTOM_LEFT" | "BOTTOM_RIGHT" | "MIDDLE_CENTER" | "MIDDLE_LEFT" | "MIDDLE_RIGHT" | "TOP_CENTER" | "TOP_LEFT" | "TOP_RIGHT"),
+ prefix: ::String?
+ }?
}?
}?,
height: ::Integer?,
@@ -1322,7 +1463,10 @@ module Aws
retry_interval: ::Integer?,
scte_35_source: ("MANIFEST" | "SEGMENTS")?
}?,
- server_validation: ("CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME" | "CHECK_CRYPTOGRAPHY_ONLY")?
+ server_validation: ("CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME" | "CHECK_CRYPTOGRAPHY_ONLY")?,
+ multicast_input_settings: {
+ source_ip_address: ::String?
+ }?
}?,
scte_35_pid: ::Integer?,
smpte_2038_data_preference: ("IGNORE" | "PREFER")?,
@@ -1345,7 +1489,8 @@ module Aws
}?
}?
}?
- }?
+ }?,
+ logical_interface_names: Array[::String]?
},
],
?input_specification: {
@@ -1367,6 +1512,10 @@ module Aws
public_address_allocation_ids: Array[::String]?,
security_group_ids: Array[::String]?,
subnet_ids: Array[::String]
+ },
+ ?anywhere_settings: {
+ channel_placement_group_id: ::String?,
+ cluster_id: ::String?
}
) -> _CreateChannelResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelResponseSuccess
@@ -1379,7 +1528,15 @@ module Aws
def create_input: (
?destinations: Array[
{
- stream_name: ::String?
+ stream_name: ::String?,
+ network: ::String?,
+ network_routes: Array[
+ {
+ cidr: ::String?,
+ gateway: ::String?
+ },
+ ]?,
+ static_ip_address: ::String?
},
],
?input_devices: Array[
@@ -1404,7 +1561,7 @@ module Aws
},
],
?tags: Hash[::String, ::String],
- ?type: ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER"),
+ ?type: ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER" | "MULTICAST"),
?vpc: {
security_group_ids: Array[::String]?,
subnet_ids: Array[::String]
@@ -1422,6 +1579,15 @@ module Aws
stream_id: ::String?
},
]?
+ },
+ ?input_network_location: ("AWS" | "ON_PREMISES"),
+ ?multicast_settings: {
+ sources: Array[
+ {
+ source_ip: ::String?,
+ url: ::String
+ },
+ ]?
}
) -> _CreateInputResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateInputResponseSuccess
@@ -1527,6 +1693,7 @@ module Aws
def state: () -> ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
def tags: () -> ::Hash[::String, ::String]
def vpc: () -> Types::VpcOutputSettingsDescription
+ def anywhere_settings: () -> Types::DescribeAnywhereSettings
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#delete_channel-instance_method
def delete_channel: (
@@ -1659,6 +1826,7 @@ module Aws
def state: () -> ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
def tags: () -> ::Hash[::String, ::String]
def vpc: () -> Types::VpcOutputSettingsDescription
+ def anywhere_settings: () -> Types::DescribeAnywhereSettings
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#describe_channel-instance_method
def describe_channel: (
@@ -1683,8 +1851,10 @@ module Aws
def sources: () -> ::Array[Types::InputSource]
def state: () -> ("CREATING" | "DETACHED" | "ATTACHED" | "DELETING" | "DELETED")
def tags: () -> ::Hash[::String, ::String]
- def type: () -> ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER")
+ def type: () -> ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER" | "MULTICAST")
def srt_settings: () -> Types::SrtSettings
+ def input_network_location: () -> ("AWS" | "ON_PREMISES")
+ def multicast_settings: () -> Types::MulticastSettings
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#describe_input-instance_method
def describe_input: (
@@ -2050,6 +2220,7 @@ module Aws
def state: () -> ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
def tags: () -> ::Hash[::String, ::String]
def vpc: () -> Types::VpcOutputSettingsDescription
+ def anywhere_settings: () -> Types::DescribeAnywhereSettings
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#start_channel-instance_method
def start_channel: (
@@ -2114,6 +2285,7 @@ module Aws
def state: () -> ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
def tags: () -> ::Hash[::String, ::String]
def vpc: () -> Types::VpcOutputSettingsDescription
+ def anywhere_settings: () -> Types::DescribeAnywhereSettings
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#stop_channel-instance_method
def stop_channel: (
@@ -2202,6 +2374,13 @@ module Aws
url: ::String?,
username: ::String?
},
+ ]?,
+ srt_settings: Array[
+ {
+ encryption_passphrase_secret_arn: ::String?,
+ stream_id: ::String?,
+ url: ::String?
+ },
]?
},
],
@@ -2668,6 +2847,9 @@ module Aws
segment_length: ::Integer?,
segment_length_units: ("MILLISECONDS" | "SECONDS")?,
send_delay_ms: ::Integer?
+ }?,
+ srt_group_settings: {
+ input_loss_action: ("DROP_PROGRAM" | "DROP_TS" | "EMIT_PROGRAM")?
}?
},
outputs: Array[
@@ -2805,7 +2987,25 @@ module Aws
multiplex_output_settings: {
destination: {
destination_ref_id: ::String?
- }
+ },
+ container_settings: {
+ multiplex_m2ts_settings: {
+ absent_input_audio_behavior: ("DROP" | "ENCODE_SILENCE")?,
+ arib: ("DISABLED" | "ENABLED")?,
+ audio_buffer_model: ("ATSC" | "DVB")?,
+ audio_frames_per_pes: ::Integer?,
+ audio_stream_type: ("ATSC" | "DVB")?,
+ cc_descriptor: ("DISABLED" | "ENABLED")?,
+ ebif: ("NONE" | "PASSTHROUGH")?,
+ es_rate_in_pes: ("EXCLUDE" | "INCLUDE")?,
+ klv: ("NONE" | "PASSTHROUGH")?,
+ nielsen_id_3_behavior: ("NO_PASSTHROUGH" | "PASSTHROUGH")?,
+ pcr_control: ("CONFIGURED_PCR_PERIOD" | "PCR_EVERY_PES_PACKET")?,
+ pcr_period: ::Integer?,
+ scte_35_control: ("NONE" | "PASSTHROUGH")?,
+ scte_35_preroll_pullup_milliseconds: ::Float?
+ }?
+ }?
}?,
rtmp_output_settings: {
certificate_mode: ("SELF_SIGNED" | "VERIFY_AUTHENTICITY")?,
@@ -2891,6 +3091,77 @@ module Aws
}?,
cmaf_ingest_output_settings: {
name_modifier: ::String?
+ }?,
+ srt_output_settings: {
+ buffer_msec: ::Integer?,
+ container_settings: {
+ m2ts_settings: {
+ absent_input_audio_behavior: ("DROP" | "ENCODE_SILENCE")?,
+ arib: ("DISABLED" | "ENABLED")?,
+ arib_captions_pid: ::String?,
+ arib_captions_pid_control: ("AUTO" | "USE_CONFIGURED")?,
+ audio_buffer_model: ("ATSC" | "DVB")?,
+ audio_frames_per_pes: ::Integer?,
+ audio_pids: ::String?,
+ audio_stream_type: ("ATSC" | "DVB")?,
+ bitrate: ::Integer?,
+ buffer_model: ("MULTIPLEX" | "NONE")?,
+ cc_descriptor: ("DISABLED" | "ENABLED")?,
+ dvb_nit_settings: {
+ network_id: ::Integer,
+ network_name: ::String,
+ rep_interval: ::Integer?
+ }?,
+ dvb_sdt_settings: {
+ output_sdt: ("SDT_FOLLOW" | "SDT_FOLLOW_IF_PRESENT" | "SDT_MANUAL" | "SDT_NONE")?,
+ rep_interval: ::Integer?,
+ service_name: ::String?,
+ service_provider_name: ::String?
+ }?,
+ dvb_sub_pids: ::String?,
+ dvb_tdt_settings: {
+ rep_interval: ::Integer?
+ }?,
+ dvb_teletext_pid: ::String?,
+ ebif: ("NONE" | "PASSTHROUGH")?,
+ ebp_audio_interval: ("VIDEO_AND_FIXED_INTERVALS" | "VIDEO_INTERVAL")?,
+ ebp_lookahead_ms: ::Integer?,
+ ebp_placement: ("VIDEO_AND_AUDIO_PIDS" | "VIDEO_PID")?,
+ ecm_pid: ::String?,
+ es_rate_in_pes: ("EXCLUDE" | "INCLUDE")?,
+ etv_platform_pid: ::String?,
+ etv_signal_pid: ::String?,
+ fragment_time: ::Float?,
+ klv: ("NONE" | "PASSTHROUGH")?,
+ klv_data_pids: ::String?,
+ nielsen_id_3_behavior: ("NO_PASSTHROUGH" | "PASSTHROUGH")?,
+ null_packet_bitrate: ::Float?,
+ pat_interval: ::Integer?,
+ pcr_control: ("CONFIGURED_PCR_PERIOD" | "PCR_EVERY_PES_PACKET")?,
+ pcr_period: ::Integer?,
+ pcr_pid: ::String?,
+ pmt_interval: ::Integer?,
+ pmt_pid: ::String?,
+ program_num: ::Integer?,
+ rate_mode: ("CBR" | "VBR")?,
+ scte_27_pids: ::String?,
+ scte_35_control: ("NONE" | "PASSTHROUGH")?,
+ scte_35_pid: ::String?,
+ scte_35_preroll_pullup_milliseconds: ::Float?,
+ segmentation_markers: ("EBP" | "EBP_LEGACY" | "NONE" | "PSI_SEGSTART" | "RAI_ADAPT" | "RAI_SEGSTART")?,
+ segmentation_style: ("MAINTAIN_CADENCE" | "RESET_CADENCE")?,
+ segmentation_time: ::Float?,
+ timed_metadata_behavior: ("NO_PASSTHROUGH" | "PASSTHROUGH")?,
+ timed_metadata_pid: ::String?,
+ transport_stream_id: ::Integer?,
+ video_pid: ::String?
+ }?
+ },
+ destination: {
+ destination_ref_id: ::String?
+ },
+ encryption_type: ("AES128" | "AES192" | "AES256")?,
+ latency: ::Integer?
}?
},
video_description_name: ::String?
@@ -2934,6 +3205,10 @@ module Aws
temporal_filter_settings: {
post_filter_sharpening: ("AUTO" | "DISABLED" | "ENABLED")?,
strength: ("AUTO" | "STRENGTH_1" | "STRENGTH_2" | "STRENGTH_3" | "STRENGTH_4" | "STRENGTH_5" | "STRENGTH_6" | "STRENGTH_7" | "STRENGTH_8" | "STRENGTH_9" | "STRENGTH_10" | "STRENGTH_11" | "STRENGTH_12" | "STRENGTH_13" | "STRENGTH_14" | "STRENGTH_15" | "STRENGTH_16")?
+ }?,
+ bandwidth_reduction_filter_settings: {
+ post_filter_sharpening: ("DISABLED" | "SHARPENING_1" | "SHARPENING_2" | "SHARPENING_3")?,
+ strength: ("AUTO" | "STRENGTH_1" | "STRENGTH_2" | "STRENGTH_3" | "STRENGTH_4")?
}?
}?,
fixed_afd: ("AFD_0000" | "AFD_0010" | "AFD_0011" | "AFD_0100" | "AFD_1000" | "AFD_1001" | "AFD_1010" | "AFD_1011" | "AFD_1101" | "AFD_1110" | "AFD_1111")?,
@@ -3000,6 +3275,10 @@ module Aws
temporal_filter_settings: {
post_filter_sharpening: ("AUTO" | "DISABLED" | "ENABLED")?,
strength: ("AUTO" | "STRENGTH_1" | "STRENGTH_2" | "STRENGTH_3" | "STRENGTH_4" | "STRENGTH_5" | "STRENGTH_6" | "STRENGTH_7" | "STRENGTH_8" | "STRENGTH_9" | "STRENGTH_10" | "STRENGTH_11" | "STRENGTH_12" | "STRENGTH_13" | "STRENGTH_14" | "STRENGTH_15" | "STRENGTH_16")?
+ }?,
+ bandwidth_reduction_filter_settings: {
+ post_filter_sharpening: ("DISABLED" | "SHARPENING_1" | "SHARPENING_2" | "SHARPENING_3")?,
+ strength: ("AUTO" | "STRENGTH_1" | "STRENGTH_2" | "STRENGTH_3" | "STRENGTH_4")?
}?
}?,
fixed_afd: ("AFD_0000" | "AFD_0010" | "AFD_0011" | "AFD_0100" | "AFD_1000" | "AFD_1001" | "AFD_1010" | "AFD_1011" | "AFD_1101" | "AFD_1110" | "AFD_1111")?,
@@ -3063,6 +3342,40 @@ module Aws
position: ("BOTTOM_CENTER" | "BOTTOM_LEFT" | "BOTTOM_RIGHT" | "MIDDLE_CENTER" | "MIDDLE_LEFT" | "MIDDLE_RIGHT" | "TOP_CENTER" | "TOP_LEFT" | "TOP_RIGHT"),
prefix: ::String?
}?
+ }?,
+ av_1_settings: {
+ afd_signaling: ("AUTO" | "FIXED" | "NONE")?,
+ buf_size: ::Integer?,
+ color_space_settings: {
+ color_space_passthrough_settings: {
+ }?,
+ hdr_10_settings: {
+ max_cll: ::Integer?,
+ max_fall: ::Integer?
+ }?,
+ rec_601_settings: {
+ }?,
+ rec_709_settings: {
+ }?
+ }?,
+ fixed_afd: ("AFD_0000" | "AFD_0010" | "AFD_0011" | "AFD_0100" | "AFD_1000" | "AFD_1001" | "AFD_1010" | "AFD_1011" | "AFD_1101" | "AFD_1110" | "AFD_1111")?,
+ framerate_denominator: ::Integer,
+ framerate_numerator: ::Integer,
+ gop_size: ::Float?,
+ gop_size_units: ("FRAMES" | "SECONDS")?,
+ level: ("AV1_LEVEL_2" | "AV1_LEVEL_2_1" | "AV1_LEVEL_3" | "AV1_LEVEL_3_1" | "AV1_LEVEL_4" | "AV1_LEVEL_4_1" | "AV1_LEVEL_5" | "AV1_LEVEL_5_1" | "AV1_LEVEL_5_2" | "AV1_LEVEL_5_3" | "AV1_LEVEL_6" | "AV1_LEVEL_6_1" | "AV1_LEVEL_6_2" | "AV1_LEVEL_6_3" | "AV1_LEVEL_AUTO")?,
+ look_ahead_rate_control: ("HIGH" | "LOW" | "MEDIUM")?,
+ max_bitrate: ::Integer?,
+ min_i_interval: ::Integer?,
+ par_denominator: ::Integer?,
+ par_numerator: ::Integer?,
+ qvbr_quality_level: ::Integer?,
+ scene_change_detect: ("DISABLED" | "ENABLED")?,
+ timecode_burnin_settings: {
+ font_size: ("EXTRA_SMALL_10" | "LARGE_48" | "MEDIUM_32" | "SMALL_16"),
+ position: ("BOTTOM_CENTER" | "BOTTOM_LEFT" | "BOTTOM_RIGHT" | "MIDDLE_CENTER" | "MIDDLE_LEFT" | "MIDDLE_RIGHT" | "TOP_CENTER" | "TOP_LEFT" | "TOP_RIGHT"),
+ prefix: ::String?
+ }?
}?
}?,
height: ::Integer?,
@@ -3193,7 +3506,10 @@ module Aws
retry_interval: ::Integer?,
scte_35_source: ("MANIFEST" | "SEGMENTS")?
}?,
- server_validation: ("CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME" | "CHECK_CRYPTOGRAPHY_ONLY")?
+ server_validation: ("CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME" | "CHECK_CRYPTOGRAPHY_ONLY")?,
+ multicast_input_settings: {
+ source_ip_address: ::String?
+ }?
}?,
scte_35_pid: ::Integer?,
smpte_2038_data_preference: ("IGNORE" | "PREFER")?,
@@ -3216,7 +3532,8 @@ module Aws
}?
}?
}?
- }?
+ }?,
+ logical_interface_names: Array[::String]?
},
],
?input_specification: {
@@ -3262,6 +3579,13 @@ module Aws
url: ::String?,
username: ::String?
},
+ ]?,
+ srt_settings: Array[
+ {
+ encryption_passphrase_secret_arn: ::String?,
+ stream_id: ::String?,
+ url: ::String?
+ },
]?
},
]
@@ -3276,7 +3600,15 @@ module Aws
def update_input: (
?destinations: Array[
{
- stream_name: ::String?
+ stream_name: ::String?,
+ network: ::String?,
+ network_routes: Array[
+ {
+ cidr: ::String?,
+ gateway: ::String?
+ },
+ ]?,
+ static_ip_address: ::String?
},
],
?input_devices: Array[
@@ -3313,6 +3645,14 @@ module Aws
stream_id: ::String?
},
]?
+ },
+ ?multicast_settings: {
+ sources: Array[
+ {
+ source_ip: ::String?,
+ url: ::String
+ },
+ ]?
}
) -> _UpdateInputResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateInputResponseSuccess
@@ -3495,6 +3835,7 @@ module Aws
def state: () -> ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
def tags: () -> ::Hash[::String, ::String]
def vpc: () -> Types::VpcOutputSettingsDescription
+ def anywhere_settings: () -> Types::DescribeAnywhereSettings
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#restart_channel_pipelines-instance_method
def restart_channel_pipelines: (
@@ -4029,6 +4370,442 @@ module Aws
) -> _UpdateEventBridgeRuleTemplateGroupResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateEventBridgeRuleTemplateGroupResponseSuccess
+ interface _CreateChannelPlacementGroupResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateChannelPlacementGroupResponse]
+ def arn: () -> ::String
+ def channels: () -> ::Array[::String]
+ def cluster_id: () -> ::String
+ def id: () -> ::String
+ def name: () -> ::String
+ def nodes: () -> ::Array[::String]
+ def state: () -> ("UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETE_FAILED" | "DELETED" | "UNASSIGNING")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#create_channel_placement_group-instance_method
+ def create_channel_placement_group: (
+ cluster_id: ::String,
+ ?name: ::String,
+ ?nodes: Array[::String],
+ ?request_id: ::String,
+ ?tags: Hash[::String, ::String]
+ ) -> _CreateChannelPlacementGroupResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateChannelPlacementGroupResponseSuccess
+
+ interface _CreateClusterResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateClusterResponse]
+ def arn: () -> ::String
+ def channel_ids: () -> ::Array[::String]
+ def cluster_type: () -> ("ON_PREMISES")
+ def id: () -> ::String
+ def instance_role_arn: () -> ::String
+ def name: () -> ::String
+ def network_settings: () -> Types::ClusterNetworkSettings
+ def state: () -> ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#create_cluster-instance_method
+ def create_cluster: (
+ ?cluster_type: ("ON_PREMISES"),
+ ?instance_role_arn: ::String,
+ ?name: ::String,
+ ?network_settings: {
+ default_route: ::String?,
+ interface_mappings: Array[
+ {
+ logical_interface_name: ::String?,
+ network_id: ::String?
+ },
+ ]?
+ },
+ ?request_id: ::String,
+ ?tags: Hash[::String, ::String]
+ ) -> _CreateClusterResponseSuccess
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateClusterResponseSuccess
+
+ interface _CreateNetworkResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateNetworkResponse]
+ def arn: () -> ::String
+ def associated_cluster_ids: () -> ::Array[::String]
+ def id: () -> ::String
+ def ip_pools: () -> ::Array[Types::IpPool]
+ def name: () -> ::String
+ def routes: () -> ::Array[Types::Route]
+ def state: () -> ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#create_network-instance_method
+ def create_network: (
+ ?ip_pools: Array[
+ {
+ cidr: ::String?
+ },
+ ],
+ ?name: ::String,
+ ?request_id: ::String,
+ ?routes: Array[
+ {
+ cidr: ::String?,
+ gateway: ::String?
+ },
+ ],
+ ?tags: Hash[::String, ::String]
+ ) -> _CreateNetworkResponseSuccess
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNetworkResponseSuccess
+
+ interface _CreateNodeResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateNodeResponse]
+ def arn: () -> ::String
+ def channel_placement_groups: () -> ::Array[::String]
+ def cluster_id: () -> ::String
+ def connection_state: () -> ("CONNECTED" | "DISCONNECTED")
+ def id: () -> ::String
+ def instance_arn: () -> ::String
+ def name: () -> ::String
+ def node_interface_mappings: () -> ::Array[Types::NodeInterfaceMapping]
+ def role: () -> ("BACKUP" | "ACTIVE")
+ def state: () -> ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#create_node-instance_method
+ def create_node: (
+ cluster_id: ::String,
+ ?name: ::String,
+ ?node_interface_mappings: Array[
+ {
+ logical_interface_name: ::String?,
+ network_interface_mode: ("NAT" | "BRIDGE")?,
+ physical_interface_name: ::String?
+ },
+ ],
+ ?request_id: ::String,
+ ?role: ("BACKUP" | "ACTIVE"),
+ ?tags: Hash[::String, ::String]
+ ) -> _CreateNodeResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNodeResponseSuccess
+
+ interface _CreateNodeRegistrationScriptResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateNodeRegistrationScriptResponse]
+ def node_registration_script: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#create_node_registration_script-instance_method
+ def create_node_registration_script: (
+ cluster_id: ::String,
+ ?id: ::String,
+ ?name: ::String,
+ ?node_interface_mappings: Array[
+ {
+ logical_interface_name: ::String?,
+ network_interface_mode: ("NAT" | "BRIDGE")?,
+ physical_interface_name: ::String?
+ },
+ ],
+ ?request_id: ::String,
+ ?role: ("BACKUP" | "ACTIVE")
+ ) -> _CreateNodeRegistrationScriptResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateNodeRegistrationScriptResponseSuccess
+
+ interface _DeleteChannelPlacementGroupResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteChannelPlacementGroupResponse]
+ def arn: () -> ::String
+ def channels: () -> ::Array[::String]
+ def cluster_id: () -> ::String
+ def id: () -> ::String
+ def name: () -> ::String
+ def nodes: () -> ::Array[::String]
+ def state: () -> ("UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETE_FAILED" | "DELETED" | "UNASSIGNING")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#delete_channel_placement_group-instance_method
+ def delete_channel_placement_group: (
+ channel_placement_group_id: ::String,
+ cluster_id: ::String
+ ) -> _DeleteChannelPlacementGroupResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteChannelPlacementGroupResponseSuccess
+
+ interface _DeleteClusterResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteClusterResponse]
+ def arn: () -> ::String
+ def channel_ids: () -> ::Array[::String]
+ def cluster_type: () -> ("ON_PREMISES")
+ def id: () -> ::String
+ def instance_role_arn: () -> ::String
+ def name: () -> ::String
+ def network_settings: () -> Types::ClusterNetworkSettings
+ def state: () -> ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#delete_cluster-instance_method
+ def delete_cluster: (
+ cluster_id: ::String
+ ) -> _DeleteClusterResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteClusterResponseSuccess
+
+ interface _DeleteNetworkResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNetworkResponse]
+ def arn: () -> ::String
+ def associated_cluster_ids: () -> ::Array[::String]
+ def id: () -> ::String
+ def ip_pools: () -> ::Array[Types::IpPool]
+ def name: () -> ::String
+ def routes: () -> ::Array[Types::Route]
+ def state: () -> ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#delete_network-instance_method
+ def delete_network: (
+ network_id: ::String
+ ) -> _DeleteNetworkResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNetworkResponseSuccess
+
+ interface _DeleteNodeResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteNodeResponse]
+ def arn: () -> ::String
+ def channel_placement_groups: () -> ::Array[::String]
+ def cluster_id: () -> ::String
+ def connection_state: () -> ("CONNECTED" | "DISCONNECTED")
+ def id: () -> ::String
+ def instance_arn: () -> ::String
+ def name: () -> ::String
+ def node_interface_mappings: () -> ::Array[Types::NodeInterfaceMapping]
+ def role: () -> ("BACKUP" | "ACTIVE")
+ def state: () -> ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#delete_node-instance_method
+ def delete_node: (
+ cluster_id: ::String,
+ node_id: ::String
+ ) -> _DeleteNodeResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteNodeResponseSuccess
+
+ interface _DescribeChannelPlacementGroupResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeChannelPlacementGroupResponse]
+ def arn: () -> ::String
+ def channels: () -> ::Array[::String]
+ def cluster_id: () -> ::String
+ def id: () -> ::String
+ def name: () -> ::String
+ def nodes: () -> ::Array[::String]
+ def state: () -> ("UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETE_FAILED" | "DELETED" | "UNASSIGNING")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#describe_channel_placement_group-instance_method
+ def describe_channel_placement_group: (
+ channel_placement_group_id: ::String,
+ cluster_id: ::String
+ ) -> _DescribeChannelPlacementGroupResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeChannelPlacementGroupResponseSuccess
+
+ interface _DescribeClusterResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeClusterResponse]
+ def arn: () -> ::String
+ def channel_ids: () -> ::Array[::String]
+ def cluster_type: () -> ("ON_PREMISES")
+ def id: () -> ::String
+ def instance_role_arn: () -> ::String
+ def name: () -> ::String
+ def network_settings: () -> Types::ClusterNetworkSettings
+ def state: () -> ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#describe_cluster-instance_method
+ def describe_cluster: (
+ cluster_id: ::String
+ ) -> _DescribeClusterResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeClusterResponseSuccess
+
+ interface _DescribeNetworkResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeNetworkResponse]
+ def arn: () -> ::String
+ def associated_cluster_ids: () -> ::Array[::String]
+ def id: () -> ::String
+ def ip_pools: () -> ::Array[Types::IpPool]
+ def name: () -> ::String
+ def routes: () -> ::Array[Types::Route]
+ def state: () -> ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#describe_network-instance_method
+ def describe_network: (
+ network_id: ::String
+ ) -> _DescribeNetworkResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeNetworkResponseSuccess
+
+ interface _DescribeNodeResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::DescribeNodeResponse]
+ def arn: () -> ::String
+ def channel_placement_groups: () -> ::Array[::String]
+ def cluster_id: () -> ::String
+ def connection_state: () -> ("CONNECTED" | "DISCONNECTED")
+ def id: () -> ::String
+ def instance_arn: () -> ::String
+ def name: () -> ::String
+ def node_interface_mappings: () -> ::Array[Types::NodeInterfaceMapping]
+ def role: () -> ("BACKUP" | "ACTIVE")
+ def state: () -> ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#describe_node-instance_method
+ def describe_node: (
+ cluster_id: ::String,
+ node_id: ::String
+ ) -> _DescribeNodeResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeNodeResponseSuccess
+
+ interface _ListChannelPlacementGroupsResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListChannelPlacementGroupsResponse]
+ def channel_placement_groups: () -> ::Array[Types::DescribeChannelPlacementGroupSummary]
+ def next_token: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#list_channel_placement_groups-instance_method
+ def list_channel_placement_groups: (
+ cluster_id: ::String,
+ ?max_results: ::Integer,
+ ?next_token: ::String
+ ) -> _ListChannelPlacementGroupsResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListChannelPlacementGroupsResponseSuccess
+
+ interface _ListClustersResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListClustersResponse]
+ def clusters: () -> ::Array[Types::DescribeClusterSummary]
+ def next_token: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#list_clusters-instance_method
+ def list_clusters: (
+ ?max_results: ::Integer,
+ ?next_token: ::String
+ ) -> _ListClustersResponseSuccess
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListClustersResponseSuccess
+
+ interface _ListNetworksResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNetworksResponse]
+ def networks: () -> ::Array[Types::DescribeNetworkSummary]
+ def next_token: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#list_networks-instance_method
+ def list_networks: (
+ ?max_results: ::Integer,
+ ?next_token: ::String
+ ) -> _ListNetworksResponseSuccess
+ | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNetworksResponseSuccess
+
+ interface _ListNodesResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListNodesResponse]
+ def next_token: () -> ::String
+ def nodes: () -> ::Array[Types::DescribeNodeSummary]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#list_nodes-instance_method
+ def list_nodes: (
+ cluster_id: ::String,
+ ?max_results: ::Integer,
+ ?next_token: ::String
+ ) -> _ListNodesResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListNodesResponseSuccess
+
+ interface _UpdateChannelPlacementGroupResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateChannelPlacementGroupResponse]
+ def arn: () -> ::String
+ def channels: () -> ::Array[::String]
+ def cluster_id: () -> ::String
+ def id: () -> ::String
+ def name: () -> ::String
+ def nodes: () -> ::Array[::String]
+ def state: () -> ("UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETE_FAILED" | "DELETED" | "UNASSIGNING")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#update_channel_placement_group-instance_method
+ def update_channel_placement_group: (
+ channel_placement_group_id: ::String,
+ cluster_id: ::String,
+ ?name: ::String,
+ ?nodes: Array[::String]
+ ) -> _UpdateChannelPlacementGroupResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateChannelPlacementGroupResponseSuccess
+
+ interface _UpdateClusterResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateClusterResponse]
+ def arn: () -> ::String
+ def channel_ids: () -> ::Array[::String]
+ def cluster_type: () -> ("ON_PREMISES")
+ def id: () -> ::String
+ def name: () -> ::String
+ def network_settings: () -> Types::ClusterNetworkSettings
+ def state: () -> ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#update_cluster-instance_method
+ def update_cluster: (
+ cluster_id: ::String,
+ ?name: ::String,
+ ?network_settings: {
+ default_route: ::String?,
+ interface_mappings: Array[
+ {
+ logical_interface_name: ::String?,
+ network_id: ::String?
+ },
+ ]?
+ }
+ ) -> _UpdateClusterResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateClusterResponseSuccess
+
+ interface _UpdateNetworkResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNetworkResponse]
+ def arn: () -> ::String
+ def associated_cluster_ids: () -> ::Array[::String]
+ def id: () -> ::String
+ def ip_pools: () -> ::Array[Types::IpPool]
+ def name: () -> ::String
+ def routes: () -> ::Array[Types::Route]
+ def state: () -> ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#update_network-instance_method
+ def update_network: (
+ ?ip_pools: Array[
+ {
+ cidr: ::String?
+ },
+ ],
+ ?name: ::String,
+ network_id: ::String,
+ ?routes: Array[
+ {
+ cidr: ::String?,
+ gateway: ::String?
+ },
+ ]
+ ) -> _UpdateNetworkResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNetworkResponseSuccess
+
+ interface _UpdateNodeResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNodeResponse]
+ def arn: () -> ::String
+ def channel_placement_groups: () -> ::Array[::String]
+ def cluster_id: () -> ::String
+ def connection_state: () -> ("CONNECTED" | "DISCONNECTED")
+ def id: () -> ::String
+ def instance_arn: () -> ::String
+ def name: () -> ::String
+ def node_interface_mappings: () -> ::Array[Types::NodeInterfaceMapping]
+ def role: () -> ("BACKUP" | "ACTIVE")
+ def state: () -> ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#update_node-instance_method
+ def update_node: (
+ cluster_id: ::String,
+ ?name: ::String,
+ node_id: ::String,
+ ?role: ("BACKUP" | "ACTIVE")
+ ) -> _UpdateNodeResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNodeResponseSuccess
+
+ interface _UpdateNodeStateResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateNodeStateResponse]
+ def arn: () -> ::String
+ def channel_placement_groups: () -> ::Array[::String]
+ def cluster_id: () -> ::String
+ def connection_state: () -> ("CONNECTED" | "DISCONNECTED")
+ def id: () -> ::String
+ def instance_arn: () -> ::String
+ def name: () -> ::String
+ def node_interface_mappings: () -> ::Array[Types::NodeInterfaceMapping]
+ def role: () -> ("BACKUP" | "ACTIVE")
+ def state: () -> ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#update_node_state-instance_method
+ def update_node_state: (
+ cluster_id: ::String,
+ node_id: ::String,
+ ?state: ("ACTIVE" | "DRAINING")
+ ) -> _UpdateNodeStateResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateNodeStateResponseSuccess
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/MediaLive/Client.html#wait_until-instance_method
def wait_until: (:channel_created waiter_name,
channel_id: ::String
@@ -4038,6 +4815,21 @@ module Aws
channel_id: ::String
) -> Client::_DescribeChannelResponseSuccess
| (:channel_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeChannelResponseSuccess
+ | (:channel_placement_group_assigned waiter_name,
+ channel_placement_group_id: ::String,
+ cluster_id: ::String
+ ) -> Client::_DescribeChannelPlacementGroupResponseSuccess
+ | (:channel_placement_group_assigned waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeChannelPlacementGroupResponseSuccess
+ | (:channel_placement_group_deleted waiter_name,
+ channel_placement_group_id: ::String,
+ cluster_id: ::String
+ ) -> Client::_DescribeChannelPlacementGroupResponseSuccess
+ | (:channel_placement_group_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeChannelPlacementGroupResponseSuccess
+ | (:channel_placement_group_unassigned waiter_name,
+ channel_placement_group_id: ::String,
+ cluster_id: ::String
+ ) -> Client::_DescribeChannelPlacementGroupResponseSuccess
+ | (:channel_placement_group_unassigned waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeChannelPlacementGroupResponseSuccess
| (:channel_running waiter_name,
channel_id: ::String
) -> Client::_DescribeChannelResponseSuccess
@@ -4046,6 +4838,14 @@ module Aws
channel_id: ::String
) -> Client::_DescribeChannelResponseSuccess
| (:channel_stopped waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeChannelResponseSuccess
+ | (:cluster_created waiter_name,
+ cluster_id: ::String
+ ) -> Client::_DescribeClusterResponseSuccess
+ | (:cluster_created waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeClusterResponseSuccess
+ | (:cluster_deleted waiter_name,
+ cluster_id: ::String
+ ) -> Client::_DescribeClusterResponseSuccess
+ | (:cluster_deleted waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeClusterResponseSuccess
| (:input_attached waiter_name,
input_id: ::String
) -> Client::_DescribeInputResponseSuccess
@@ -4074,6 +4874,16 @@ module Aws
multiplex_id: ::String
) -> Client::_DescribeMultiplexResponseSuccess
| (:multiplex_stopped waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeMultiplexResponseSuccess
+ | (:node_deregistered waiter_name,
+ cluster_id: ::String,
+ node_id: ::String
+ ) -> Client::_DescribeNodeResponseSuccess
+ | (:node_deregistered waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeNodeResponseSuccess
+ | (:node_registered waiter_name,
+ cluster_id: ::String,
+ node_id: ::String
+ ) -> Client::_DescribeNodeResponseSuccess
+ | (:node_registered waiter_name, Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> Client::_DescribeNodeResponseSuccess
| (:signal_map_created waiter_name,
identifier: ::String
) -> Client::_GetSignalMapResponseSuccess
diff --git a/gems/aws-sdk-medialive/sig/types.rbs b/gems/aws-sdk-medialive/sig/types.rbs
index 54108ee618d..33c70a26670 100644
--- a/gems/aws-sdk-medialive/sig/types.rbs
+++ b/gems/aws-sdk-medialive/sig/types.rbs
@@ -490,6 +490,7 @@ module Aws::MediaLive
attr_accessor state: ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
attr_accessor tags: ::Hash[::String, ::String]
attr_accessor vpc: Types::VpcOutputSettingsDescription
+ attr_accessor anywhere_settings: Types::DescribeAnywhereSettings
SENSITIVE: []
end
@@ -521,6 +522,7 @@ module Aws::MediaLive
attr_accessor state: ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
attr_accessor tags: ::Hash[::String, ::String]
attr_accessor vpc: Types::VpcOutputSettingsDescription
+ attr_accessor anywhere_settings: Types::DescribeAnywhereSettings
SENSITIVE: []
end
@@ -567,6 +569,7 @@ module Aws::MediaLive
attr_accessor role_arn: ::String
attr_accessor tags: ::Hash[::String, ::String]
attr_accessor vpc: Types::VpcOutputSettings
+ attr_accessor anywhere_settings: Types::AnywhereSettings
SENSITIVE: []
end
@@ -585,6 +588,7 @@ module Aws::MediaLive
attr_accessor role_arn: ::String
attr_accessor tags: ::Hash[::String, ::String]
attr_accessor vpc: Types::VpcOutputSettings
+ attr_accessor anywhere_settings: Types::AnywhereSettings
SENSITIVE: []
end
@@ -608,9 +612,11 @@ module Aws::MediaLive
attr_accessor role_arn: ::String
attr_accessor sources: ::Array[Types::InputSourceRequest]
attr_accessor tags: ::Hash[::String, ::String]
- attr_accessor type: ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER")
+ attr_accessor type: ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER" | "MULTICAST")
attr_accessor vpc: Types::InputVpcRequest
attr_accessor srt_settings: Types::SrtSettingsRequest
+ attr_accessor input_network_location: ("AWS" | "ON_PREMISES")
+ attr_accessor multicast_settings: Types::MulticastSettingsCreateRequest
SENSITIVE: []
end
@@ -624,9 +630,11 @@ module Aws::MediaLive
attr_accessor role_arn: ::String
attr_accessor sources: ::Array[Types::InputSourceRequest]
attr_accessor tags: ::Hash[::String, ::String]
- attr_accessor type: ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER")
+ attr_accessor type: ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER" | "MULTICAST")
attr_accessor vpc: Types::InputVpcRequest
attr_accessor srt_settings: Types::SrtSettingsRequest
+ attr_accessor input_network_location: ("AWS" | "ON_PREMISES")
+ attr_accessor multicast_settings: Types::MulticastSettingsCreateRequest
SENSITIVE: []
end
@@ -762,6 +770,7 @@ module Aws::MediaLive
attr_accessor state: ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
attr_accessor tags: ::Hash[::String, ::String]
attr_accessor vpc: Types::VpcOutputSettingsDescription
+ attr_accessor anywhere_settings: Types::DescribeAnywhereSettings
SENSITIVE: []
end
@@ -894,6 +903,7 @@ module Aws::MediaLive
attr_accessor state: ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
attr_accessor tags: ::Hash[::String, ::String]
attr_accessor vpc: Types::VpcOutputSettingsDescription
+ attr_accessor anywhere_settings: Types::DescribeAnywhereSettings
SENSITIVE: []
end
@@ -958,8 +968,10 @@ module Aws::MediaLive
attr_accessor sources: ::Array[Types::InputSource]
attr_accessor state: ("CREATING" | "DETACHED" | "ATTACHED" | "DELETING" | "DELETED")
attr_accessor tags: ::Hash[::String, ::String]
- attr_accessor type: ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER")
+ attr_accessor type: ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER" | "MULTICAST")
attr_accessor srt_settings: Types::SrtSettings
+ attr_accessor input_network_location: ("AWS" | "ON_PREMISES")
+ attr_accessor multicast_settings: Types::MulticastSettings
SENSITIVE: []
end
@@ -1338,6 +1350,7 @@ module Aws::MediaLive
class H264FilterSettings
attr_accessor temporal_filter_settings: Types::TemporalFilterSettings
+ attr_accessor bandwidth_reduction_filter_settings: Types::BandwidthReductionFilterSettings
SENSITIVE: []
end
@@ -1399,6 +1412,7 @@ module Aws::MediaLive
class H265FilterSettings
attr_accessor temporal_filter_settings: Types::TemporalFilterSettings
+ attr_accessor bandwidth_reduction_filter_settings: Types::BandwidthReductionFilterSettings
SENSITIVE: []
end
@@ -1605,8 +1619,10 @@ module Aws::MediaLive
attr_accessor sources: ::Array[Types::InputSource]
attr_accessor state: ("CREATING" | "DETACHED" | "ATTACHED" | "DELETING" | "DELETED")
attr_accessor tags: ::Hash[::String, ::String]
- attr_accessor type: ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER")
+ attr_accessor type: ("UDP_PUSH" | "RTP_PUSH" | "RTMP_PUSH" | "RTMP_PULL" | "URL_PULL" | "MP4_FILE" | "MEDIACONNECT" | "INPUT_DEVICE" | "AWS_CDI" | "TS_FILE" | "SRT_CALLER" | "MULTICAST")
attr_accessor srt_settings: Types::SrtSettings
+ attr_accessor input_network_location: ("AWS" | "ON_PREMISES")
+ attr_accessor multicast_settings: Types::MulticastSettings
SENSITIVE: []
end
@@ -1615,6 +1631,7 @@ module Aws::MediaLive
attr_accessor input_attachment_name: ::String
attr_accessor input_id: ::String
attr_accessor input_settings: Types::InputSettings
+ attr_accessor logical_interface_names: ::Array[::String]
SENSITIVE: []
end
@@ -1636,11 +1653,16 @@ module Aws::MediaLive
attr_accessor port: ::String
attr_accessor url: ::String
attr_accessor vpc: Types::InputDestinationVpc
+ attr_accessor network: ::String
+ attr_accessor network_routes: ::Array[Types::InputDestinationRoute]
SENSITIVE: []
end
class InputDestinationRequest
attr_accessor stream_name: ::String
+ attr_accessor network: ::String
+ attr_accessor network_routes: ::Array[Types::InputRequestDestinationRoute]
+ attr_accessor static_ip_address: ::String
SENSITIVE: []
end
@@ -2328,6 +2350,7 @@ module Aws::MediaLive
class MultiplexOutputSettings
attr_accessor destination: Types::OutputLocationRef
+ attr_accessor container_settings: Types::MultiplexContainerSettings
SENSITIVE: []
end
@@ -2435,6 +2458,7 @@ module Aws::MediaLive
class NetworkInputSettings
attr_accessor hls_input_settings: Types::HlsInputSettings
attr_accessor server_validation: ("CHECK_CRYPTOGRAPHY_AND_VALIDATE_NAME" | "CHECK_CRYPTOGRAPHY_ONLY")
+ attr_accessor multicast_input_settings: Types::MulticastInputSettings
SENSITIVE: []
end
@@ -2499,6 +2523,7 @@ module Aws::MediaLive
attr_accessor media_package_settings: ::Array[Types::MediaPackageOutputDestinationSettings]
attr_accessor multiplex_settings: Types::MultiplexProgramChannelDestinationSettings
attr_accessor settings: ::Array[Types::OutputDestinationSettings]
+ attr_accessor srt_settings: ::Array[Types::SrtOutputDestinationSettings]
SENSITIVE: []
end
@@ -2527,6 +2552,7 @@ module Aws::MediaLive
attr_accessor rtmp_group_settings: Types::RtmpGroupSettings
attr_accessor udp_group_settings: Types::UdpGroupSettings
attr_accessor cmaf_ingest_group_settings: Types::CmafIngestGroupSettings
+ attr_accessor srt_group_settings: Types::SrtGroupSettings
SENSITIVE: []
end
@@ -2551,6 +2577,7 @@ module Aws::MediaLive
attr_accessor rtmp_output_settings: Types::RtmpOutputSettings
attr_accessor udp_output_settings: Types::UdpOutputSettings
attr_accessor cmaf_ingest_output_settings: Types::CmafIngestOutputSettings
+ attr_accessor srt_output_settings: Types::SrtOutputSettings
SENSITIVE: []
end
@@ -2679,7 +2706,7 @@ module Aws::MediaLive
class ReservationResourceSpecification
attr_accessor channel_class: ("STANDARD" | "SINGLE_PIPELINE")
- attr_accessor codec: ("MPEG2" | "AVC" | "HEVC" | "AUDIO" | "LINK")
+ attr_accessor codec: ("MPEG2" | "AVC" | "HEVC" | "AUDIO" | "LINK" | "AV1")
attr_accessor maximum_bitrate: ("MAX_10_MBPS" | "MAX_20_MBPS" | "MAX_50_MBPS")
attr_accessor maximum_framerate: ("MAX_30_FPS" | "MAX_60_FPS")
attr_accessor resolution: ("SD" | "HD" | "FHD" | "UHD")
@@ -2884,6 +2911,7 @@ module Aws::MediaLive
attr_accessor state: ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
attr_accessor tags: ::Hash[::String, ::String]
attr_accessor vpc: Types::VpcOutputSettingsDescription
+ attr_accessor anywhere_settings: Types::DescribeAnywhereSettings
SENSITIVE: []
end
@@ -2999,6 +3027,7 @@ module Aws::MediaLive
attr_accessor state: ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
attr_accessor tags: ::Hash[::String, ::String]
attr_accessor vpc: Types::VpcOutputSettingsDescription
+ attr_accessor anywhere_settings: Types::DescribeAnywhereSettings
SENSITIVE: []
end
@@ -3241,6 +3270,7 @@ module Aws::MediaLive
attr_accessor role_arn: ::String
attr_accessor sources: ::Array[Types::InputSourceRequest]
attr_accessor srt_settings: Types::SrtSettingsRequest
+ attr_accessor multicast_settings: Types::MulticastSettingsUpdateRequest
SENSITIVE: []
end
@@ -3291,6 +3321,7 @@ module Aws::MediaLive
attr_accessor role_arn: ::String
attr_accessor sources: ::Array[Types::InputSourceRequest]
attr_accessor srt_settings: Types::SrtSettingsRequest
+ attr_accessor multicast_settings: Types::MulticastSettingsUpdateRequest
SENSITIVE: []
end
@@ -3408,6 +3439,7 @@ module Aws::MediaLive
attr_accessor h264_settings: Types::H264Settings
attr_accessor h265_settings: Types::H265Settings
attr_accessor mpeg_2_settings: Types::Mpeg2Settings
+ attr_accessor av_1_settings: Types::Av1Settings
SENSITIVE: []
end
@@ -3516,6 +3548,7 @@ module Aws::MediaLive
attr_accessor state: ("CREATING" | "CREATE_FAILED" | "IDLE" | "STARTING" | "RUNNING" | "RECOVERING" | "STOPPING" | "DELETING" | "DELETED" | "UPDATING" | "UPDATE_FAILED")
attr_accessor tags: ::Hash[::String, ::String]
attr_accessor vpc: Types::VpcOutputSettingsDescription
+ attr_accessor anywhere_settings: Types::DescribeAnywhereSettings
SENSITIVE: []
end
@@ -4631,5 +4664,773 @@ module Aws::MediaLive
attr_accessor srt_caller_sources: ::Array[Types::SrtCallerSourceRequest]
SENSITIVE: []
end
+
+ class AnywhereSettings
+ attr_accessor channel_placement_group_id: ::String
+ attr_accessor cluster_id: ::String
+ SENSITIVE: []
+ end
+
+ class Av1ColorSpaceSettings
+ attr_accessor color_space_passthrough_settings: Types::ColorSpacePassthroughSettings
+ attr_accessor hdr_10_settings: Types::Hdr10Settings
+ attr_accessor rec_601_settings: Types::Rec601Settings
+ attr_accessor rec_709_settings: Types::Rec709Settings
+ SENSITIVE: []
+ end
+
+ class Av1Settings
+ attr_accessor afd_signaling: ("AUTO" | "FIXED" | "NONE")
+ attr_accessor buf_size: ::Integer
+ attr_accessor color_space_settings: Types::Av1ColorSpaceSettings
+ attr_accessor fixed_afd: ("AFD_0000" | "AFD_0010" | "AFD_0011" | "AFD_0100" | "AFD_1000" | "AFD_1001" | "AFD_1010" | "AFD_1011" | "AFD_1101" | "AFD_1110" | "AFD_1111")
+ attr_accessor framerate_denominator: ::Integer
+ attr_accessor framerate_numerator: ::Integer
+ attr_accessor gop_size: ::Float
+ attr_accessor gop_size_units: ("FRAMES" | "SECONDS")
+ attr_accessor level: ("AV1_LEVEL_2" | "AV1_LEVEL_2_1" | "AV1_LEVEL_3" | "AV1_LEVEL_3_1" | "AV1_LEVEL_4" | "AV1_LEVEL_4_1" | "AV1_LEVEL_5" | "AV1_LEVEL_5_1" | "AV1_LEVEL_5_2" | "AV1_LEVEL_5_3" | "AV1_LEVEL_6" | "AV1_LEVEL_6_1" | "AV1_LEVEL_6_2" | "AV1_LEVEL_6_3" | "AV1_LEVEL_AUTO")
+ attr_accessor look_ahead_rate_control: ("HIGH" | "LOW" | "MEDIUM")
+ attr_accessor max_bitrate: ::Integer
+ attr_accessor min_i_interval: ::Integer
+ attr_accessor par_denominator: ::Integer
+ attr_accessor par_numerator: ::Integer
+ attr_accessor qvbr_quality_level: ::Integer
+ attr_accessor scene_change_detect: ("DISABLED" | "ENABLED")
+ attr_accessor timecode_burnin_settings: Types::TimecodeBurninSettings
+ SENSITIVE: []
+ end
+
+ class ClusterNetworkSettings
+ attr_accessor default_route: ::String
+ attr_accessor interface_mappings: ::Array[Types::InterfaceMapping]
+ SENSITIVE: []
+ end
+
+ class ClusterNetworkSettingsCreateRequest
+ attr_accessor default_route: ::String
+ attr_accessor interface_mappings: ::Array[Types::InterfaceMappingCreateRequest]
+ SENSITIVE: []
+ end
+
+ class ClusterNetworkSettingsUpdateRequest
+ attr_accessor default_route: ::String
+ attr_accessor interface_mappings: ::Array[Types::InterfaceMappingUpdateRequest]
+ SENSITIVE: []
+ end
+
+ class CreateChannelPlacementGroupRequest
+ attr_accessor cluster_id: ::String
+ attr_accessor name: ::String
+ attr_accessor nodes: ::Array[::String]
+ attr_accessor request_id: ::String
+ attr_accessor tags: ::Hash[::String, ::String]
+ SENSITIVE: []
+ end
+
+ class CreateChannelPlacementGroupResponse
+ attr_accessor arn: ::String
+ attr_accessor channels: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor id: ::String
+ attr_accessor name: ::String
+ attr_accessor nodes: ::Array[::String]
+ attr_accessor state: ("UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETE_FAILED" | "DELETED" | "UNASSIGNING")
+ SENSITIVE: []
+ end
+
+ class CreateClusterRequest
+ attr_accessor cluster_type: ("ON_PREMISES")
+ attr_accessor instance_role_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor network_settings: Types::ClusterNetworkSettingsCreateRequest
+ attr_accessor request_id: ::String
+ attr_accessor tags: ::Hash[::String, ::String]
+ SENSITIVE: []
+ end
+
+ class CreateClusterResponse
+ attr_accessor arn: ::String
+ attr_accessor channel_ids: ::Array[::String]
+ attr_accessor cluster_type: ("ON_PREMISES")
+ attr_accessor id: ::String
+ attr_accessor instance_role_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor network_settings: Types::ClusterNetworkSettings
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class CreateNetworkRequest
+ attr_accessor ip_pools: ::Array[Types::IpPoolCreateRequest]
+ attr_accessor name: ::String
+ attr_accessor request_id: ::String
+ attr_accessor routes: ::Array[Types::RouteCreateRequest]
+ attr_accessor tags: ::Hash[::String, ::String]
+ SENSITIVE: []
+ end
+
+ class CreateNetworkResponse
+ attr_accessor arn: ::String
+ attr_accessor associated_cluster_ids: ::Array[::String]
+ attr_accessor id: ::String
+ attr_accessor ip_pools: ::Array[Types::IpPool]
+ attr_accessor name: ::String
+ attr_accessor routes: ::Array[Types::Route]
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class CreateNodeRegistrationScriptRequest
+ attr_accessor cluster_id: ::String
+ attr_accessor id: ::String
+ attr_accessor name: ::String
+ attr_accessor node_interface_mappings: ::Array[Types::NodeInterfaceMapping]
+ attr_accessor request_id: ::String
+ attr_accessor role: ("BACKUP" | "ACTIVE")
+ SENSITIVE: []
+ end
+
+ class CreateNodeRegistrationScriptResponse
+ attr_accessor node_registration_script: ::String
+ SENSITIVE: []
+ end
+
+ class CreateNodeRegistrationScriptResult
+ attr_accessor node_registration_script: ::String
+ SENSITIVE: []
+ end
+
+ class CreateNodeRequest
+ attr_accessor cluster_id: ::String
+ attr_accessor name: ::String
+ attr_accessor node_interface_mappings: ::Array[Types::NodeInterfaceMappingCreateRequest]
+ attr_accessor request_id: ::String
+ attr_accessor role: ("BACKUP" | "ACTIVE")
+ attr_accessor tags: ::Hash[::String, ::String]
+ SENSITIVE: []
+ end
+
+ class CreateNodeResponse
+ attr_accessor arn: ::String
+ attr_accessor channel_placement_groups: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor connection_state: ("CONNECTED" | "DISCONNECTED")
+ attr_accessor id: ::String
+ attr_accessor instance_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor node_interface_mappings: ::Array[Types::NodeInterfaceMapping]
+ attr_accessor role: ("BACKUP" | "ACTIVE")
+ attr_accessor state: ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ SENSITIVE: []
+ end
+
+ class DeleteChannelPlacementGroupRequest
+ attr_accessor channel_placement_group_id: ::String
+ attr_accessor cluster_id: ::String
+ SENSITIVE: []
+ end
+
+ class DeleteChannelPlacementGroupResponse
+ attr_accessor arn: ::String
+ attr_accessor channels: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor id: ::String
+ attr_accessor name: ::String
+ attr_accessor nodes: ::Array[::String]
+ attr_accessor state: ("UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETE_FAILED" | "DELETED" | "UNASSIGNING")
+ SENSITIVE: []
+ end
+
+ class DeleteClusterRequest
+ attr_accessor cluster_id: ::String
+ SENSITIVE: []
+ end
+
+ class DeleteClusterResponse
+ attr_accessor arn: ::String
+ attr_accessor channel_ids: ::Array[::String]
+ attr_accessor cluster_type: ("ON_PREMISES")
+ attr_accessor id: ::String
+ attr_accessor instance_role_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor network_settings: Types::ClusterNetworkSettings
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class DeleteNetworkRequest
+ attr_accessor network_id: ::String
+ SENSITIVE: []
+ end
+
+ class DeleteNetworkResponse
+ attr_accessor arn: ::String
+ attr_accessor associated_cluster_ids: ::Array[::String]
+ attr_accessor id: ::String
+ attr_accessor ip_pools: ::Array[Types::IpPool]
+ attr_accessor name: ::String
+ attr_accessor routes: ::Array[Types::Route]
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class DeleteNodeRequest
+ attr_accessor cluster_id: ::String
+ attr_accessor node_id: ::String
+ SENSITIVE: []
+ end
+
+ class DeleteNodeResponse
+ attr_accessor arn: ::String
+ attr_accessor channel_placement_groups: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor connection_state: ("CONNECTED" | "DISCONNECTED")
+ attr_accessor id: ::String
+ attr_accessor instance_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor node_interface_mappings: ::Array[Types::NodeInterfaceMapping]
+ attr_accessor role: ("BACKUP" | "ACTIVE")
+ attr_accessor state: ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ SENSITIVE: []
+ end
+
+ class DescribeAnywhereSettings
+ attr_accessor channel_placement_group_id: ::String
+ attr_accessor cluster_id: ::String
+ SENSITIVE: []
+ end
+
+ class DescribeChannelPlacementGroupRequest
+ attr_accessor channel_placement_group_id: ::String
+ attr_accessor cluster_id: ::String
+ SENSITIVE: []
+ end
+
+ class DescribeChannelPlacementGroupResponse
+ attr_accessor arn: ::String
+ attr_accessor channels: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor id: ::String
+ attr_accessor name: ::String
+ attr_accessor nodes: ::Array[::String]
+ attr_accessor state: ("UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETE_FAILED" | "DELETED" | "UNASSIGNING")
+ SENSITIVE: []
+ end
+
+ class DescribeChannelPlacementGroupResult
+ attr_accessor arn: ::String
+ attr_accessor channels: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor id: ::String
+ attr_accessor name: ::String
+ attr_accessor nodes: ::Array[::String]
+ attr_accessor state: ("UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETE_FAILED" | "DELETED" | "UNASSIGNING")
+ SENSITIVE: []
+ end
+
+ class DescribeChannelPlacementGroupSummary
+ attr_accessor arn: ::String
+ attr_accessor channels: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor id: ::String
+ attr_accessor name: ::String
+ attr_accessor nodes: ::Array[::String]
+ attr_accessor state: ("UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETE_FAILED" | "DELETED" | "UNASSIGNING")
+ SENSITIVE: []
+ end
+
+ class DescribeClusterRequest
+ attr_accessor cluster_id: ::String
+ SENSITIVE: []
+ end
+
+ class DescribeClusterResponse
+ attr_accessor arn: ::String
+ attr_accessor channel_ids: ::Array[::String]
+ attr_accessor cluster_type: ("ON_PREMISES")
+ attr_accessor id: ::String
+ attr_accessor instance_role_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor network_settings: Types::ClusterNetworkSettings
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class DescribeClusterResult
+ attr_accessor arn: ::String
+ attr_accessor channel_ids: ::Array[::String]
+ attr_accessor cluster_type: ("ON_PREMISES")
+ attr_accessor id: ::String
+ attr_accessor instance_role_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor network_settings: Types::ClusterNetworkSettings
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class DescribeClusterSummary
+ attr_accessor arn: ::String
+ attr_accessor channel_ids: ::Array[::String]
+ attr_accessor cluster_type: ("ON_PREMISES")
+ attr_accessor id: ::String
+ attr_accessor instance_role_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor network_settings: Types::ClusterNetworkSettings
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class DescribeNetworkRequest
+ attr_accessor network_id: ::String
+ SENSITIVE: []
+ end
+
+ class DescribeNetworkResponse
+ attr_accessor arn: ::String
+ attr_accessor associated_cluster_ids: ::Array[::String]
+ attr_accessor id: ::String
+ attr_accessor ip_pools: ::Array[Types::IpPool]
+ attr_accessor name: ::String
+ attr_accessor routes: ::Array[Types::Route]
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class DescribeNetworkResult
+ attr_accessor arn: ::String
+ attr_accessor associated_cluster_ids: ::Array[::String]
+ attr_accessor id: ::String
+ attr_accessor ip_pools: ::Array[Types::IpPool]
+ attr_accessor name: ::String
+ attr_accessor routes: ::Array[Types::Route]
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class DescribeNetworkSummary
+ attr_accessor arn: ::String
+ attr_accessor associated_cluster_ids: ::Array[::String]
+ attr_accessor id: ::String
+ attr_accessor ip_pools: ::Array[Types::IpPool]
+ attr_accessor name: ::String
+ attr_accessor routes: ::Array[Types::Route]
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class DescribeNodeRequest
+ attr_accessor cluster_id: ::String
+ attr_accessor node_id: ::String
+ SENSITIVE: []
+ end
+
+ class DescribeNodeResponse
+ attr_accessor arn: ::String
+ attr_accessor channel_placement_groups: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor connection_state: ("CONNECTED" | "DISCONNECTED")
+ attr_accessor id: ::String
+ attr_accessor instance_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor node_interface_mappings: ::Array[Types::NodeInterfaceMapping]
+ attr_accessor role: ("BACKUP" | "ACTIVE")
+ attr_accessor state: ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ SENSITIVE: []
+ end
+
+ class DescribeNodeResult
+ attr_accessor arn: ::String
+ attr_accessor channel_placement_groups: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor connection_state: ("CONNECTED" | "DISCONNECTED")
+ attr_accessor id: ::String
+ attr_accessor instance_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor node_interface_mappings: ::Array[Types::NodeInterfaceMapping]
+ attr_accessor role: ("BACKUP" | "ACTIVE")
+ attr_accessor state: ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ SENSITIVE: []
+ end
+
+ class DescribeNodeSummary
+ attr_accessor arn: ::String
+ attr_accessor channel_placement_groups: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor connection_state: ("CONNECTED" | "DISCONNECTED")
+ attr_accessor id: ::String
+ attr_accessor instance_arn: ::String
+ attr_accessor managed_instance_id: ::String
+ attr_accessor name: ::String
+ attr_accessor node_interface_mappings: ::Array[Types::NodeInterfaceMapping]
+ attr_accessor role: ("BACKUP" | "ACTIVE")
+ attr_accessor state: ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ SENSITIVE: []
+ end
+
+ class InputDestinationRoute
+ attr_accessor cidr: ::String
+ attr_accessor gateway: ::String
+ SENSITIVE: []
+ end
+
+ class InputRequestDestinationRoute
+ attr_accessor cidr: ::String
+ attr_accessor gateway: ::String
+ SENSITIVE: []
+ end
+
+ class InterfaceMapping
+ attr_accessor logical_interface_name: ::String
+ attr_accessor network_id: ::String
+ SENSITIVE: []
+ end
+
+ class InterfaceMappingCreateRequest
+ attr_accessor logical_interface_name: ::String
+ attr_accessor network_id: ::String
+ SENSITIVE: []
+ end
+
+ class InterfaceMappingUpdateRequest
+ attr_accessor logical_interface_name: ::String
+ attr_accessor network_id: ::String
+ SENSITIVE: []
+ end
+
+ class IpPool
+ attr_accessor cidr: ::String
+ SENSITIVE: []
+ end
+
+ class IpPoolCreateRequest
+ attr_accessor cidr: ::String
+ SENSITIVE: []
+ end
+
+ class IpPoolUpdateRequest
+ attr_accessor cidr: ::String
+ SENSITIVE: []
+ end
+
+ class ListChannelPlacementGroupsRequest
+ attr_accessor cluster_id: ::String
+ attr_accessor max_results: ::Integer
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListChannelPlacementGroupsResponse
+ attr_accessor channel_placement_groups: ::Array[Types::DescribeChannelPlacementGroupSummary]
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListChannelPlacementGroupsResult
+ attr_accessor channel_placement_groups: ::Array[Types::DescribeChannelPlacementGroupSummary]
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListClustersRequest
+ attr_accessor max_results: ::Integer
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListClustersResponse
+ attr_accessor clusters: ::Array[Types::DescribeClusterSummary]
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListClustersResult
+ attr_accessor clusters: ::Array[Types::DescribeClusterSummary]
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListNetworksRequest
+ attr_accessor max_results: ::Integer
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListNetworksResponse
+ attr_accessor networks: ::Array[Types::DescribeNetworkSummary]
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListNetworksResult
+ attr_accessor networks: ::Array[Types::DescribeNetworkSummary]
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListNodesRequest
+ attr_accessor cluster_id: ::String
+ attr_accessor max_results: ::Integer
+ attr_accessor next_token: ::String
+ SENSITIVE: []
+ end
+
+ class ListNodesResponse
+ attr_accessor next_token: ::String
+ attr_accessor nodes: ::Array[Types::DescribeNodeSummary]
+ SENSITIVE: []
+ end
+
+ class ListNodesResult
+ attr_accessor next_token: ::String
+ attr_accessor nodes: ::Array[Types::DescribeNodeSummary]
+ SENSITIVE: []
+ end
+
+ class MulticastInputSettings
+ attr_accessor source_ip_address: ::String
+ SENSITIVE: []
+ end
+
+ class MulticastSettings
+ attr_accessor sources: ::Array[Types::MulticastSource]
+ SENSITIVE: []
+ end
+
+ class MulticastSettingsCreateRequest
+ attr_accessor sources: ::Array[Types::MulticastSourceCreateRequest]
+ SENSITIVE: []
+ end
+
+ class MulticastSettingsUpdateRequest
+ attr_accessor sources: ::Array[Types::MulticastSourceUpdateRequest]
+ SENSITIVE: []
+ end
+
+ class MulticastSource
+ attr_accessor source_ip: ::String
+ attr_accessor url: ::String
+ SENSITIVE: []
+ end
+
+ class MulticastSourceCreateRequest
+ attr_accessor source_ip: ::String
+ attr_accessor url: ::String
+ SENSITIVE: []
+ end
+
+ class MulticastSourceUpdateRequest
+ attr_accessor source_ip: ::String
+ attr_accessor url: ::String
+ SENSITIVE: []
+ end
+
+ class NodeConfigurationValidationError
+ attr_accessor message: ::String
+ attr_accessor validation_errors: ::Array[Types::ValidationError]
+ SENSITIVE: []
+ end
+
+ class NodeInterfaceMapping
+ attr_accessor logical_interface_name: ::String
+ attr_accessor network_interface_mode: ("NAT" | "BRIDGE")
+ attr_accessor physical_interface_name: ::String
+ SENSITIVE: []
+ end
+
+ class NodeInterfaceMappingCreateRequest
+ attr_accessor logical_interface_name: ::String
+ attr_accessor network_interface_mode: ("NAT" | "BRIDGE")
+ attr_accessor physical_interface_name: ::String
+ SENSITIVE: []
+ end
+
+ class Route
+ attr_accessor cidr: ::String
+ attr_accessor gateway: ::String
+ SENSITIVE: []
+ end
+
+ class RouteCreateRequest
+ attr_accessor cidr: ::String
+ attr_accessor gateway: ::String
+ SENSITIVE: []
+ end
+
+ class RouteUpdateRequest
+ attr_accessor cidr: ::String
+ attr_accessor gateway: ::String
+ SENSITIVE: []
+ end
+
+ class SrtGroupSettings
+ attr_accessor input_loss_action: ("DROP_PROGRAM" | "DROP_TS" | "EMIT_PROGRAM")
+ SENSITIVE: []
+ end
+
+ class SrtOutputDestinationSettings
+ attr_accessor encryption_passphrase_secret_arn: ::String
+ attr_accessor stream_id: ::String
+ attr_accessor url: ::String
+ SENSITIVE: []
+ end
+
+ class SrtOutputSettings
+ attr_accessor buffer_msec: ::Integer
+ attr_accessor container_settings: Types::UdpContainerSettings
+ attr_accessor destination: Types::OutputLocationRef
+ attr_accessor encryption_type: ("AES128" | "AES192" | "AES256")
+ attr_accessor latency: ::Integer
+ SENSITIVE: []
+ end
+
+ class UpdateChannelPlacementGroupRequest
+ attr_accessor channel_placement_group_id: ::String
+ attr_accessor cluster_id: ::String
+ attr_accessor name: ::String
+ attr_accessor nodes: ::Array[::String]
+ SENSITIVE: []
+ end
+
+ class UpdateChannelPlacementGroupResponse
+ attr_accessor arn: ::String
+ attr_accessor channels: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor id: ::String
+ attr_accessor name: ::String
+ attr_accessor nodes: ::Array[::String]
+ attr_accessor state: ("UNASSIGNED" | "ASSIGNING" | "ASSIGNED" | "DELETING" | "DELETE_FAILED" | "DELETED" | "UNASSIGNING")
+ SENSITIVE: []
+ end
+
+ class UpdateClusterRequest
+ attr_accessor cluster_id: ::String
+ attr_accessor name: ::String
+ attr_accessor network_settings: Types::ClusterNetworkSettingsUpdateRequest
+ SENSITIVE: []
+ end
+
+ class UpdateClusterResponse
+ attr_accessor arn: ::String
+ attr_accessor channel_ids: ::Array[::String]
+ attr_accessor cluster_type: ("ON_PREMISES")
+ attr_accessor id: ::String
+ attr_accessor name: ::String
+ attr_accessor network_settings: Types::ClusterNetworkSettings
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class UpdateClusterResult
+ attr_accessor arn: ::String
+ attr_accessor channel_ids: ::Array[::String]
+ attr_accessor cluster_type: ("ON_PREMISES")
+ attr_accessor id: ::String
+ attr_accessor name: ::String
+ attr_accessor network_settings: Types::ClusterNetworkSettings
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class UpdateNetworkRequest
+ attr_accessor ip_pools: ::Array[Types::IpPoolUpdateRequest]
+ attr_accessor name: ::String
+ attr_accessor network_id: ::String
+ attr_accessor routes: ::Array[Types::RouteUpdateRequest]
+ SENSITIVE: []
+ end
+
+ class UpdateNetworkResponse
+ attr_accessor arn: ::String
+ attr_accessor associated_cluster_ids: ::Array[::String]
+ attr_accessor id: ::String
+ attr_accessor ip_pools: ::Array[Types::IpPool]
+ attr_accessor name: ::String
+ attr_accessor routes: ::Array[Types::Route]
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class UpdateNetworkResult
+ attr_accessor arn: ::String
+ attr_accessor associated_cluster_ids: ::Array[::String]
+ attr_accessor id: ::String
+ attr_accessor ip_pools: ::Array[Types::IpPool]
+ attr_accessor name: ::String
+ attr_accessor routes: ::Array[Types::Route]
+ attr_accessor state: ("CREATING" | "CREATE_FAILED" | "ACTIVE" | "DELETING" | "IDLE" | "IN_USE" | "UPDATING" | "DELETE_FAILED" | "DELETED")
+ SENSITIVE: []
+ end
+
+ class UpdateNodeRequest
+ attr_accessor cluster_id: ::String
+ attr_accessor name: ::String
+ attr_accessor node_id: ::String
+ attr_accessor role: ("BACKUP" | "ACTIVE")
+ SENSITIVE: []
+ end
+
+ class UpdateNodeResponse
+ attr_accessor arn: ::String
+ attr_accessor channel_placement_groups: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor connection_state: ("CONNECTED" | "DISCONNECTED")
+ attr_accessor id: ::String
+ attr_accessor instance_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor node_interface_mappings: ::Array[Types::NodeInterfaceMapping]
+ attr_accessor role: ("BACKUP" | "ACTIVE")
+ attr_accessor state: ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ SENSITIVE: []
+ end
+
+ class UpdateNodeStateRequest
+ attr_accessor cluster_id: ::String
+ attr_accessor node_id: ::String
+ attr_accessor state: ("ACTIVE" | "DRAINING")
+ SENSITIVE: []
+ end
+
+ class UpdateNodeStateResponse
+ attr_accessor arn: ::String
+ attr_accessor channel_placement_groups: ::Array[::String]
+ attr_accessor cluster_id: ::String
+ attr_accessor connection_state: ("CONNECTED" | "DISCONNECTED")
+ attr_accessor id: ::String
+ attr_accessor instance_arn: ::String
+ attr_accessor name: ::String
+ attr_accessor node_interface_mappings: ::Array[Types::NodeInterfaceMapping]
+ attr_accessor role: ("BACKUP" | "ACTIVE")
+ attr_accessor state: ("CREATED" | "REGISTERING" | "READY_TO_ACTIVATE" | "REGISTRATION_FAILED" | "ACTIVATION_FAILED" | "ACTIVE" | "READY" | "IN_USE" | "DEREGISTERING" | "DRAINING" | "DEREGISTRATION_FAILED" | "DEREGISTERED")
+ SENSITIVE: []
+ end
+
+ class BandwidthReductionFilterSettings
+ attr_accessor post_filter_sharpening: ("DISABLED" | "SHARPENING_1" | "SHARPENING_2" | "SHARPENING_3")
+ attr_accessor strength: ("AUTO" | "STRENGTH_1" | "STRENGTH_2" | "STRENGTH_3" | "STRENGTH_4")
+ SENSITIVE: []
+ end
+
+ class MultiplexContainerSettings
+ attr_accessor multiplex_m2ts_settings: Types::MultiplexM2tsSettings
+ SENSITIVE: []
+ end
+
+ class MultiplexM2tsSettings
+ attr_accessor absent_input_audio_behavior: ("DROP" | "ENCODE_SILENCE")
+ attr_accessor arib: ("DISABLED" | "ENABLED")
+ attr_accessor audio_buffer_model: ("ATSC" | "DVB")
+ attr_accessor audio_frames_per_pes: ::Integer
+ attr_accessor audio_stream_type: ("ATSC" | "DVB")
+ attr_accessor cc_descriptor: ("DISABLED" | "ENABLED")
+ attr_accessor ebif: ("NONE" | "PASSTHROUGH")
+ attr_accessor es_rate_in_pes: ("EXCLUDE" | "INCLUDE")
+ attr_accessor klv: ("NONE" | "PASSTHROUGH")
+ attr_accessor nielsen_id_3_behavior: ("NO_PASSTHROUGH" | "PASSTHROUGH")
+ attr_accessor pcr_control: ("CONFIGURED_PCR_PERIOD" | "PCR_EVERY_PES_PACKET")
+ attr_accessor pcr_period: ::Integer
+ attr_accessor scte_35_control: ("NONE" | "PASSTHROUGH")
+ attr_accessor scte_35_preroll_pullup_milliseconds: ::Float
+ SENSITIVE: []
+ end
end
end
diff --git a/gems/aws-sdk-medialive/sig/waiters.rbs b/gems/aws-sdk-medialive/sig/waiters.rbs
index 5c1026ec915..a14c0e412c8 100644
--- a/gems/aws-sdk-medialive/sig/waiters.rbs
+++ b/gems/aws-sdk-medialive/sig/waiters.rbs
@@ -29,6 +29,39 @@ module Aws
| (Hash[Symbol, untyped]) -> Client::_DescribeChannelResponseSuccess
end
+ class ChannelPlacementGroupAssigned
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
+ | (?Hash[Symbol, untyped]) -> void
+
+ def wait: (
+ channel_placement_group_id: ::String,
+ cluster_id: ::String
+ ) -> Client::_DescribeChannelPlacementGroupResponseSuccess
+ | (Hash[Symbol, untyped]) -> Client::_DescribeChannelPlacementGroupResponseSuccess
+ end
+
+ class ChannelPlacementGroupDeleted
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
+ | (?Hash[Symbol, untyped]) -> void
+
+ def wait: (
+ channel_placement_group_id: ::String,
+ cluster_id: ::String
+ ) -> Client::_DescribeChannelPlacementGroupResponseSuccess
+ | (Hash[Symbol, untyped]) -> Client::_DescribeChannelPlacementGroupResponseSuccess
+ end
+
+ class ChannelPlacementGroupUnassigned
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
+ | (?Hash[Symbol, untyped]) -> void
+
+ def wait: (
+ channel_placement_group_id: ::String,
+ cluster_id: ::String
+ ) -> Client::_DescribeChannelPlacementGroupResponseSuccess
+ | (Hash[Symbol, untyped]) -> Client::_DescribeChannelPlacementGroupResponseSuccess
+ end
+
class ChannelRunning
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
| (?Hash[Symbol, untyped]) -> void
@@ -49,6 +82,26 @@ module Aws
| (Hash[Symbol, untyped]) -> Client::_DescribeChannelResponseSuccess
end
+ class ClusterCreated
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
+ | (?Hash[Symbol, untyped]) -> void
+
+ def wait: (
+ cluster_id: ::String
+ ) -> Client::_DescribeClusterResponseSuccess
+ | (Hash[Symbol, untyped]) -> Client::_DescribeClusterResponseSuccess
+ end
+
+ class ClusterDeleted
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
+ | (?Hash[Symbol, untyped]) -> void
+
+ def wait: (
+ cluster_id: ::String
+ ) -> Client::_DescribeClusterResponseSuccess
+ | (Hash[Symbol, untyped]) -> Client::_DescribeClusterResponseSuccess
+ end
+
class InputAttached
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
| (?Hash[Symbol, untyped]) -> void
@@ -119,6 +172,28 @@ module Aws
| (Hash[Symbol, untyped]) -> Client::_DescribeMultiplexResponseSuccess
end
+ class NodeDeregistered
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
+ | (?Hash[Symbol, untyped]) -> void
+
+ def wait: (
+ cluster_id: ::String,
+ node_id: ::String
+ ) -> Client::_DescribeNodeResponseSuccess
+ | (Hash[Symbol, untyped]) -> Client::_DescribeNodeResponseSuccess
+ end
+
+ class NodeRegistered
+ def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
+ | (?Hash[Symbol, untyped]) -> void
+
+ def wait: (
+ cluster_id: ::String,
+ node_id: ::String
+ ) -> Client::_DescribeNodeResponseSuccess
+ | (Hash[Symbol, untyped]) -> Client::_DescribeNodeResponseSuccess
+ end
+
class SignalMapCreated
def initialize: (?client: Client, ?max_attempts: Integer, ?delay: Integer, ?before_attempt: Proc, ?before_wait: Proc) -> void
| (?Hash[Symbol, untyped]) -> void
diff --git a/gems/aws-sdk-medialive/spec/endpoint_provider_spec.rb b/gems/aws-sdk-medialive/spec/endpoint_provider_spec.rb
index c52a5a73311..fe8dfe46c8f 100644
--- a/gems/aws-sdk-medialive/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-medialive/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MediaLive
describe EndpointProvider do
subject { Aws::MediaLive::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MediaLive
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MediaLive
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MediaLive
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MediaLive
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MediaLive
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.eu-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MediaLive
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.eu-north-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MediaLive
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::MediaLive
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MediaLive
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.eu-west-3.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MediaLive
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.sa-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MediaLive
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MediaLive
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive-fips.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MediaLive
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.us-east-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::MediaLive
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive-fips.us-east-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::MediaLive
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::MediaLive
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive-fips.us-west-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::MediaLive
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive-fips.us-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::MediaLive
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::MediaLive
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::MediaLive
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::MediaLive
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::MediaLive
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::MediaLive
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::MediaLive
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::MediaLive
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::MediaLive
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::MediaLive
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.us-iso-east-1.c2s.ic.gov"}}
end
@@ -406,7 +406,7 @@ module Aws::MediaLive
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -419,7 +419,7 @@ module Aws::MediaLive
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -433,7 +433,7 @@ module Aws::MediaLive
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -446,7 +446,7 @@ module Aws::MediaLive
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::MediaLive
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::MediaLive
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::MediaLive
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medialive.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::MediaLive
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::MediaLive
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::MediaLive
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::MediaLive
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::MediaLive
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mediapackage/CHANGELOG.md b/gems/aws-sdk-mediapackage/CHANGELOG.md
index 550433f109b..fb30477c6b2 100644
--- a/gems/aws-sdk-mediapackage/CHANGELOG.md
+++ b/gems/aws-sdk-mediapackage/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.79.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.78.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mediapackage/VERSION b/gems/aws-sdk-mediapackage/VERSION
index 54227249d1f..b3a8c61e6a8 100644
--- a/gems/aws-sdk-mediapackage/VERSION
+++ b/gems/aws-sdk-mediapackage/VERSION
@@ -1 +1 @@
-1.78.0
+1.79.0
diff --git a/gems/aws-sdk-mediapackage/aws-sdk-mediapackage.gemspec b/gems/aws-sdk-mediapackage/aws-sdk-mediapackage.gemspec
index 0014d8026cb..95a1d21e24c 100644
--- a/gems/aws-sdk-mediapackage/aws-sdk-mediapackage.gemspec
+++ b/gems/aws-sdk-mediapackage/aws-sdk-mediapackage.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mediapackage/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage.rb b/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage.rb
index 90a900ef6f2..b3480e6be71 100644
--- a/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage.rb
+++ b/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MediaPackage
- GEM_VERSION = '1.78.0'
+ GEM_VERSION = '1.79.0'
end
diff --git a/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/client.rb b/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/client.rb
index 66bab9ad38b..79a1d59ee41 100644
--- a/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/client.rb
+++ b/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/client.rb
@@ -2023,7 +2023,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mediapackage'
- context[:gem_version] = '1.78.0'
+ context[:gem_version] = '1.79.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/endpoints.rb b/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/endpoints.rb
index 1e81963f1d1..f216f4cf00b 100644
--- a/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/endpoints.rb
+++ b/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/endpoints.rb
@@ -14,266 +14,209 @@ module Endpoints
class ConfigureLogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHarvestJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOriginEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOriginEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHarvestJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOriginEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHarvestJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOriginEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RotateChannelCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RotateIngestEndpointCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOriginEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackage::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/plugins/endpoints.rb b/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/plugins/endpoints.rb
index 2969a792239..0747e20125c 100644
--- a/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/plugins/endpoints.rb
+++ b/gems/aws-sdk-mediapackage/lib/aws-sdk-mediapackage/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mediapackage/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mediapackage/spec/endpoint_provider_spec.rb
index dc38c7acfea..99daacf390b 100644
--- a/gems/aws-sdk-mediapackage/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mediapackage/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MediaPackage
describe EndpointProvider do
subject { Aws::MediaPackage::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MediaPackage
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MediaPackage
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MediaPackage
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MediaPackage
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MediaPackage
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.eu-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MediaPackage
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.eu-north-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MediaPackage
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::MediaPackage
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MediaPackage
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.eu-west-3.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MediaPackage
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.sa-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.us-east-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.us-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.us-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-fips.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-fips.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.us-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::MediaPackage
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::MediaPackage
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::MediaPackage
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::MediaPackage
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.cn-north-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-fips.us-gov-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.us-gov-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.us-gov-east-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.us-iso-east-1.c2s.ic.gov"}}
end
@@ -392,7 +392,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -445,7 +445,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -459,7 +459,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -472,7 +472,7 @@ module Aws::MediaPackage
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -486,7 +486,7 @@ module Aws::MediaPackage
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -500,7 +500,7 @@ module Aws::MediaPackage
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::MediaPackage
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -527,7 +527,7 @@ module Aws::MediaPackage
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -540,7 +540,7 @@ module Aws::MediaPackage
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mediapackagev2/CHANGELOG.md b/gems/aws-sdk-mediapackagev2/CHANGELOG.md
index beb3e268776..d7397a8fa7d 100644
--- a/gems/aws-sdk-mediapackagev2/CHANGELOG.md
+++ b/gems/aws-sdk-mediapackagev2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.25.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.24.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mediapackagev2/VERSION b/gems/aws-sdk-mediapackagev2/VERSION
index 53cc1a6f929..ad2191947f7 100644
--- a/gems/aws-sdk-mediapackagev2/VERSION
+++ b/gems/aws-sdk-mediapackagev2/VERSION
@@ -1 +1 @@
-1.24.0
+1.25.0
diff --git a/gems/aws-sdk-mediapackagev2/aws-sdk-mediapackagev2.gemspec b/gems/aws-sdk-mediapackagev2/aws-sdk-mediapackagev2.gemspec
index 03d2d88c519..0794aa66be2 100644
--- a/gems/aws-sdk-mediapackagev2/aws-sdk-mediapackagev2.gemspec
+++ b/gems/aws-sdk-mediapackagev2/aws-sdk-mediapackagev2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mediapackagev2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2.rb b/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2.rb
index 5420c243cbe..13348c5ac8f 100644
--- a/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2.rb
+++ b/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::MediaPackageV2
- GEM_VERSION = '1.24.0'
+ GEM_VERSION = '1.25.0'
end
diff --git a/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/client.rb b/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/client.rb
index 1b889b6d73f..e27d559d043 100644
--- a/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/client.rb
+++ b/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/client.rb
@@ -3417,7 +3417,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mediapackagev2'
- context[:gem_version] = '1.24.0'
+ context[:gem_version] = '1.25.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/endpoints.rb b/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/endpoints.rb
index e3d3a6ebbae..09a467c3f10 100644
--- a/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/endpoints.rb
+++ b/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/endpoints.rb
@@ -14,336 +14,264 @@ module Endpoints
class CreateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannelGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOriginEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOriginEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOriginEndpointPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannelGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannelPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOriginEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOriginEndpointPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannelGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOriginEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutChannelPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutOriginEndpointPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannelGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOriginEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/plugins/endpoints.rb b/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/plugins/endpoints.rb
index 02fab629bf7..a007d008150 100644
--- a/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/plugins/endpoints.rb
+++ b/gems/aws-sdk-mediapackagev2/lib/aws-sdk-mediapackagev2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mediapackagev2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mediapackagev2/spec/endpoint_provider_spec.rb
index a5e90b75778..2080805e8c7 100644
--- a/gems/aws-sdk-mediapackagev2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mediapackagev2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MediaPackageV2
describe EndpointProvider do
subject { Aws::MediaPackageV2::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::MediaPackageV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackagev2.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::MediaPackageV2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::MediaPackageV2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MediaPackageV2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::MediaPackageV2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::MediaPackageV2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mediapackagevod/CHANGELOG.md b/gems/aws-sdk-mediapackagevod/CHANGELOG.md
index ad0149af417..d04237fa6b3 100644
--- a/gems/aws-sdk-mediapackagevod/CHANGELOG.md
+++ b/gems/aws-sdk-mediapackagevod/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.61.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.60.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mediapackagevod/VERSION b/gems/aws-sdk-mediapackagevod/VERSION
index 4d5fde5bd16..91951fd8ad7 100644
--- a/gems/aws-sdk-mediapackagevod/VERSION
+++ b/gems/aws-sdk-mediapackagevod/VERSION
@@ -1 +1 @@
-1.60.0
+1.61.0
diff --git a/gems/aws-sdk-mediapackagevod/aws-sdk-mediapackagevod.gemspec b/gems/aws-sdk-mediapackagevod/aws-sdk-mediapackagevod.gemspec
index 2338370089f..35997919b3e 100644
--- a/gems/aws-sdk-mediapackagevod/aws-sdk-mediapackagevod.gemspec
+++ b/gems/aws-sdk-mediapackagevod/aws-sdk-mediapackagevod.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mediapackagevod/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod.rb b/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod.rb
index d3e80649cdb..d377a6643ca 100644
--- a/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod.rb
+++ b/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MediaPackageVod
- GEM_VERSION = '1.60.0'
+ GEM_VERSION = '1.61.0'
end
diff --git a/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb b/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb
index 1f38cf5c9c9..57cc6918a0d 100644
--- a/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb
+++ b/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/client.rb
@@ -1485,7 +1485,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mediapackagevod'
- context[:gem_version] = '1.60.0'
+ context[:gem_version] = '1.61.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/endpoints.rb b/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/endpoints.rb
index 50c00fb22fa..2c294ddf546 100644
--- a/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/endpoints.rb
+++ b/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/endpoints.rb
@@ -14,238 +14,187 @@ module Endpoints
class ConfigureLogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePackagingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePackagingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePackagingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePackagingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAsset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePackagingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePackagingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackagingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackagingGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePackagingGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaPackageVod::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/plugins/endpoints.rb b/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/plugins/endpoints.rb
index 4610c0de92a..b36886747ab 100644
--- a/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/plugins/endpoints.rb
+++ b/gems/aws-sdk-mediapackagevod/lib/aws-sdk-mediapackagevod/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mediapackagevod/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mediapackagevod/spec/endpoint_provider_spec.rb
index 30b1ef467be..f1332db54e0 100644
--- a/gems/aws-sdk-mediapackagevod/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mediapackagevod/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MediaPackageVod
describe EndpointProvider do
subject { Aws::MediaPackageVod::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.eu-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.eu-north-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.eu-west-3.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.sa-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.us-east-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.us-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.us-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod-fips.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod-fips.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.us-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.cn-north-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod-fips.us-gov-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.us-gov-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.us-gov-east-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -391,7 +391,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -405,7 +405,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -418,7 +418,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.us-iso-east-1.c2s.ic.gov"}}
end
@@ -432,7 +432,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -445,7 +445,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -459,7 +459,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -472,7 +472,7 @@ module Aws::MediaPackageVod
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediapackage-vod.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -486,7 +486,7 @@ module Aws::MediaPackageVod
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -500,7 +500,7 @@ module Aws::MediaPackageVod
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::MediaPackageVod
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -527,7 +527,7 @@ module Aws::MediaPackageVod
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -540,7 +540,7 @@ module Aws::MediaPackageVod
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mediastore/CHANGELOG.md b/gems/aws-sdk-mediastore/CHANGELOG.md
index 5305df6f919..27d624855ce 100644
--- a/gems/aws-sdk-mediastore/CHANGELOG.md
+++ b/gems/aws-sdk-mediastore/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.63.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.62.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mediastore/VERSION b/gems/aws-sdk-mediastore/VERSION
index 76d05362056..af92bdd9f58 100644
--- a/gems/aws-sdk-mediastore/VERSION
+++ b/gems/aws-sdk-mediastore/VERSION
@@ -1 +1 @@
-1.62.0
+1.63.0
diff --git a/gems/aws-sdk-mediastore/aws-sdk-mediastore.gemspec b/gems/aws-sdk-mediastore/aws-sdk-mediastore.gemspec
index 8041753e8e3..8163995d8ef 100644
--- a/gems/aws-sdk-mediastore/aws-sdk-mediastore.gemspec
+++ b/gems/aws-sdk-mediastore/aws-sdk-mediastore.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mediastore/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore.rb b/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore.rb
index 82a14c892f5..9a5d548b17f 100644
--- a/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore.rb
+++ b/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MediaStore
- GEM_VERSION = '1.62.0'
+ GEM_VERSION = '1.63.0'
end
diff --git a/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/client.rb b/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/client.rb
index bc30e5c5056..ff820365cec 100644
--- a/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/client.rb
+++ b/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/client.rb
@@ -1221,7 +1221,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mediastore'
- context[:gem_version] = '1.62.0'
+ context[:gem_version] = '1.63.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/endpoints.rb b/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/endpoints.rb
index 354cfdddbdf..fdad85205bd 100644
--- a/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/endpoints.rb
+++ b/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/endpoints.rb
@@ -14,294 +14,231 @@ module Endpoints
class CreateContainer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContainer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContainerPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCorsPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMetricPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContainer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContainerPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCorsPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMetricPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContainers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutContainerPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutCorsPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMetricPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAccessLogging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopAccessLogging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStore::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/plugins/endpoints.rb b/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/plugins/endpoints.rb
index ac9624c028c..df09108611e 100644
--- a/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/plugins/endpoints.rb
+++ b/gems/aws-sdk-mediastore/lib/aws-sdk-mediastore/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mediastore/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mediastore/spec/endpoint_provider_spec.rb
index 324cec4f726..ae78e665541 100644
--- a/gems/aws-sdk-mediastore/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mediastore/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MediaStore
describe EndpointProvider do
subject { Aws::MediaStore::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MediaStore
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MediaStore
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MediaStore
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MediaStore
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.eu-north-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MediaStore
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MediaStore
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.eu-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MediaStore
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::MediaStore
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.us-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MediaStore
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore-fips.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::MediaStore
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore-fips.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MediaStore
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::MediaStore
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::MediaStore
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::MediaStore
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::MediaStore
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::MediaStore
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore-fips.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::MediaStore
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::MediaStore
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::MediaStore
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::MediaStore
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -307,7 +307,7 @@ module Aws::MediaStore
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -321,7 +321,7 @@ module Aws::MediaStore
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -334,7 +334,7 @@ module Aws::MediaStore
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.us-iso-east-1.c2s.ic.gov"}}
end
@@ -348,7 +348,7 @@ module Aws::MediaStore
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -361,7 +361,7 @@ module Aws::MediaStore
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -375,7 +375,7 @@ module Aws::MediaStore
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -388,7 +388,7 @@ module Aws::MediaStore
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mediastore.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -402,7 +402,7 @@ module Aws::MediaStore
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -416,7 +416,7 @@ module Aws::MediaStore
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::MediaStore
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -443,7 +443,7 @@ module Aws::MediaStore
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -456,7 +456,7 @@ module Aws::MediaStore
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mediastoredata/CHANGELOG.md b/gems/aws-sdk-mediastoredata/CHANGELOG.md
index 2f61d9253c1..f6ff2d44cf9 100644
--- a/gems/aws-sdk-mediastoredata/CHANGELOG.md
+++ b/gems/aws-sdk-mediastoredata/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.60.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.59.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mediastoredata/VERSION b/gems/aws-sdk-mediastoredata/VERSION
index bb120e876c6..4d5fde5bd16 100644
--- a/gems/aws-sdk-mediastoredata/VERSION
+++ b/gems/aws-sdk-mediastoredata/VERSION
@@ -1 +1 @@
-1.59.0
+1.60.0
diff --git a/gems/aws-sdk-mediastoredata/aws-sdk-mediastoredata.gemspec b/gems/aws-sdk-mediastoredata/aws-sdk-mediastoredata.gemspec
index 74a01c306f1..96e0a172b1c 100644
--- a/gems/aws-sdk-mediastoredata/aws-sdk-mediastoredata.gemspec
+++ b/gems/aws-sdk-mediastoredata/aws-sdk-mediastoredata.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mediastoredata/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata.rb b/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata.rb
index 0f77e106e02..3ce61ce7112 100644
--- a/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata.rb
+++ b/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MediaStoreData
- GEM_VERSION = '1.59.0'
+ GEM_VERSION = '1.60.0'
end
diff --git a/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/client.rb b/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/client.rb
index 032dadb99e9..c008db7fee3 100644
--- a/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/client.rb
+++ b/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/client.rb
@@ -773,7 +773,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mediastoredata'
- context[:gem_version] = '1.59.0'
+ context[:gem_version] = '1.60.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/endpoints.rb b/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/endpoints.rb
index 0732d75fe05..7caf2dce08d 100644
--- a/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/endpoints.rb
+++ b/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/endpoints.rb
@@ -14,70 +14,55 @@ module Endpoints
class DeleteObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStoreData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStoreData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStoreData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStoreData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaStoreData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/plugins/endpoints.rb b/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/plugins/endpoints.rb
index 92c9448ad25..df1082202d8 100644
--- a/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/plugins/endpoints.rb
+++ b/gems/aws-sdk-mediastoredata/lib/aws-sdk-mediastoredata/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mediastoredata/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mediastoredata/spec/endpoint_provider_spec.rb
index cab76016c5a..e65c5907b32 100644
--- a/gems/aws-sdk-mediastoredata/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mediastoredata/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MediaStoreData
describe EndpointProvider do
subject { Aws::MediaStoreData::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MediaStoreData
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MediaStoreData
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MediaStoreData
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MediaStoreData
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.eu-north-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MediaStoreData
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MediaStoreData
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.eu-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.us-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore-fips.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore-fips.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::MediaStoreData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::MediaStoreData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::MediaStoreData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::MediaStoreData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore-fips.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -307,7 +307,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -321,7 +321,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -334,7 +334,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.us-iso-east-1.c2s.ic.gov"}}
end
@@ -348,7 +348,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -361,7 +361,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -375,7 +375,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -388,7 +388,7 @@ module Aws::MediaStoreData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.mediastore.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -402,7 +402,7 @@ module Aws::MediaStoreData
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -416,7 +416,7 @@ module Aws::MediaStoreData
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::MediaStoreData
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -443,7 +443,7 @@ module Aws::MediaStoreData
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -456,7 +456,7 @@ module Aws::MediaStoreData
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mediatailor/CHANGELOG.md b/gems/aws-sdk-mediatailor/CHANGELOG.md
index 85838caa123..5e9b0ae7b96 100644
--- a/gems/aws-sdk-mediatailor/CHANGELOG.md
+++ b/gems/aws-sdk-mediatailor/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.87.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.86.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mediatailor/VERSION b/gems/aws-sdk-mediatailor/VERSION
index b7844a6ffdc..f6342716723 100644
--- a/gems/aws-sdk-mediatailor/VERSION
+++ b/gems/aws-sdk-mediatailor/VERSION
@@ -1 +1 @@
-1.86.0
+1.87.0
diff --git a/gems/aws-sdk-mediatailor/aws-sdk-mediatailor.gemspec b/gems/aws-sdk-mediatailor/aws-sdk-mediatailor.gemspec
index 438d9abd06c..f9d42e23de0 100644
--- a/gems/aws-sdk-mediatailor/aws-sdk-mediatailor.gemspec
+++ b/gems/aws-sdk-mediatailor/aws-sdk-mediatailor.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mediatailor/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor.rb b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor.rb
index 1454499ce8c..c524394f745 100644
--- a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor.rb
+++ b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MediaTailor
- GEM_VERSION = '1.86.0'
+ GEM_VERSION = '1.87.0'
end
diff --git a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb
index 5daed355c91..358ad86aa9e 100644
--- a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb
+++ b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/client.rb
@@ -3437,7 +3437,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mediatailor'
- context[:gem_version] = '1.86.0'
+ context[:gem_version] = '1.87.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/endpoints.rb b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/endpoints.rb
index d2f58f46854..de8d2b2df0c 100644
--- a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/endpoints.rb
+++ b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/endpoints.rb
@@ -14,616 +14,484 @@ module Endpoints
class ConfigureLogsForChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfigureLogsForPlaybackConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLiveSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePrefetchSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSourceLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVodSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChannelPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLiveSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePlaybackConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePrefetchSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSourceLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVodSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLiveSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSourceLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVodSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannelPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannelSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPlaybackConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPrefetchSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAlerts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLiveSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPlaybackConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPrefetchSchedules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSourceLocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVodSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutChannelPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPlaybackConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLiveSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProgram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSourceLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVodSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MediaTailor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/plugins/endpoints.rb b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/plugins/endpoints.rb
index 62df546b83e..a21dde09dec 100644
--- a/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/plugins/endpoints.rb
+++ b/gems/aws-sdk-mediatailor/lib/aws-sdk-mediatailor/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mediatailor/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mediatailor/spec/endpoint_provider_spec.rb
index d9220d38351..b4f69584362 100644
--- a/gems/aws-sdk-mediatailor/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mediatailor/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MediaTailor
describe EndpointProvider do
subject { Aws::MediaTailor::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MediaTailor
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MediaTailor
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MediaTailor
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MediaTailor
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.eu-west-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor-fips.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::MediaTailor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::MediaTailor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::MediaTailor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::MediaTailor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor-fips.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::MediaTailor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.mediatailor.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::MediaTailor
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::MediaTailor
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::MediaTailor
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::MediaTailor
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::MediaTailor
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-medicalimaging/CHANGELOG.md b/gems/aws-sdk-medicalimaging/CHANGELOG.md
index a229b9b9be7..7c5fd16b6a2 100644
--- a/gems/aws-sdk-medicalimaging/CHANGELOG.md
+++ b/gems/aws-sdk-medicalimaging/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.18.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.17.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-medicalimaging/VERSION b/gems/aws-sdk-medicalimaging/VERSION
index 092afa15df4..84cc529467b 100644
--- a/gems/aws-sdk-medicalimaging/VERSION
+++ b/gems/aws-sdk-medicalimaging/VERSION
@@ -1 +1 @@
-1.17.0
+1.18.0
diff --git a/gems/aws-sdk-medicalimaging/aws-sdk-medicalimaging.gemspec b/gems/aws-sdk-medicalimaging/aws-sdk-medicalimaging.gemspec
index 9fdb0b7e621..e371e6367a9 100644
--- a/gems/aws-sdk-medicalimaging/aws-sdk-medicalimaging.gemspec
+++ b/gems/aws-sdk-medicalimaging/aws-sdk-medicalimaging.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-medicalimaging/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging.rb b/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging.rb
index 160a2ce6f6a..5b1c5f48a78 100644
--- a/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging.rb
+++ b/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::MedicalImaging
- GEM_VERSION = '1.17.0'
+ GEM_VERSION = '1.18.0'
end
diff --git a/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/client.rb b/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/client.rb
index fcbe3d420b8..57f8d6418fa 100644
--- a/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/client.rb
+++ b/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/client.rb
@@ -1356,7 +1356,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-medicalimaging'
- context[:gem_version] = '1.17.0'
+ context[:gem_version] = '1.18.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/endpoints.rb b/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/endpoints.rb
index 5b86f995f8d..1c20011bd11 100644
--- a/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/endpoints.rb
+++ b/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/endpoints.rb
@@ -14,252 +14,198 @@ module Endpoints
class CopyImageSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDatastore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDatastore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImageSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDICOMImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDatastore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImageFrame
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImageSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImageSetMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDICOMImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatastores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImageSetVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchImageSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDICOMImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateImageSetMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MedicalImaging::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/plugins/endpoints.rb b/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/plugins/endpoints.rb
index 2960ae60f20..0ab7bccaeb9 100644
--- a/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/plugins/endpoints.rb
+++ b/gems/aws-sdk-medicalimaging/lib/aws-sdk-medicalimaging/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-medicalimaging/spec/endpoint_provider_spec.rb b/gems/aws-sdk-medicalimaging/spec/endpoint_provider_spec.rb
index 6c66a3e305f..0d9f3c866e8 100644
--- a/gems/aws-sdk-medicalimaging/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-medicalimaging/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MedicalImaging
describe EndpointProvider do
subject { Aws::MedicalImaging::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MedicalImaging
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::MedicalImaging
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MedicalImaging
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MedicalImaging
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::MedicalImaging
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://medical-imaging.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::MedicalImaging
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::MedicalImaging
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MedicalImaging
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::MedicalImaging
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::MedicalImaging
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-memorydb/CHANGELOG.md b/gems/aws-sdk-memorydb/CHANGELOG.md
index 31a6225548d..049bc5ea94d 100644
--- a/gems/aws-sdk-memorydb/CHANGELOG.md
+++ b/gems/aws-sdk-memorydb/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.34.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.33.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-memorydb/VERSION b/gems/aws-sdk-memorydb/VERSION
index 7aa332e4163..2b17ffd5042 100644
--- a/gems/aws-sdk-memorydb/VERSION
+++ b/gems/aws-sdk-memorydb/VERSION
@@ -1 +1 @@
-1.33.0
+1.34.0
diff --git a/gems/aws-sdk-memorydb/aws-sdk-memorydb.gemspec b/gems/aws-sdk-memorydb/aws-sdk-memorydb.gemspec
index eb68014b907..2bcca5075c9 100644
--- a/gems/aws-sdk-memorydb/aws-sdk-memorydb.gemspec
+++ b/gems/aws-sdk-memorydb/aws-sdk-memorydb.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-memorydb/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb.rb b/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb.rb
index 5aff7c401cb..9f8771078bf 100644
--- a/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb.rb
+++ b/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MemoryDB
- GEM_VERSION = '1.33.0'
+ GEM_VERSION = '1.34.0'
end
diff --git a/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/client.rb b/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/client.rb
index 8a68ee75184..639709677e4 100644
--- a/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/client.rb
+++ b/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/client.rb
@@ -2983,7 +2983,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-memorydb'
- context[:gem_version] = '1.33.0'
+ context[:gem_version] = '1.34.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/endpoints.rb b/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/endpoints.rb
index 378d9ec221f..ebbdffe4b93 100644
--- a/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/endpoints.rb
+++ b/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/endpoints.rb
@@ -14,532 +14,418 @@ module Endpoints
class BatchUpdateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopySnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeACLs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEngineVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeParameterGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedNodesOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServiceUpdates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSubnetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FailoverShard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAllowedNodeTypeUpdates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseReservedNodesOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MemoryDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/plugins/endpoints.rb b/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/plugins/endpoints.rb
index 5314f36e8a9..730de45833f 100644
--- a/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/plugins/endpoints.rb
+++ b/gems/aws-sdk-memorydb/lib/aws-sdk-memorydb/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-memorydb/spec/endpoint_provider_spec.rb b/gems/aws-sdk-memorydb/spec/endpoint_provider_spec.rb
index 303c3878087..add40c0259f 100644
--- a/gems/aws-sdk-memorydb/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-memorydb/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MemoryDB
describe EndpointProvider do
subject { Aws::MemoryDB::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MemoryDB
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MemoryDB
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MemoryDB
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MemoryDB
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MemoryDB
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MemoryDB
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MemoryDB
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::MemoryDB
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MemoryDB
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MemoryDB
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MemoryDB
end
end
- context 'For region fips with FIPS disabled and DualStack disabled' do
+ context "For region fips with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"memorydb", "signingRegion"=>"us-west-1"}]}, "url"=>"https://memory-db-fips.us-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MemoryDB
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.us-east-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.us-west-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.us-west-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db-fips.us-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db-fips.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::MemoryDB
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::MemoryDB
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::MemoryDB
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::MemoryDB
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::MemoryDB
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db-fips.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.us-gov-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.us-gov-east-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -433,7 +433,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -447,7 +447,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -460,7 +460,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.us-iso-east-1.c2s.ic.gov"}}
end
@@ -474,7 +474,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -487,7 +487,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -501,7 +501,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -514,7 +514,7 @@ module Aws::MemoryDB
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://memory-db.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -528,7 +528,7 @@ module Aws::MemoryDB
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -542,7 +542,7 @@ module Aws::MemoryDB
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -556,7 +556,7 @@ module Aws::MemoryDB
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -569,7 +569,7 @@ module Aws::MemoryDB
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -582,7 +582,7 @@ module Aws::MemoryDB
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mgn/CHANGELOG.md b/gems/aws-sdk-mgn/CHANGELOG.md
index 7ad59d3aaba..22c5a3cd936 100644
--- a/gems/aws-sdk-mgn/CHANGELOG.md
+++ b/gems/aws-sdk-mgn/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mgn/VERSION b/gems/aws-sdk-mgn/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-mgn/VERSION
+++ b/gems/aws-sdk-mgn/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-mgn/aws-sdk-mgn.gemspec b/gems/aws-sdk-mgn/aws-sdk-mgn.gemspec
index 618d6203832..cd4e89efd8a 100644
--- a/gems/aws-sdk-mgn/aws-sdk-mgn.gemspec
+++ b/gems/aws-sdk-mgn/aws-sdk-mgn.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mgn/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mgn/lib/aws-sdk-mgn.rb b/gems/aws-sdk-mgn/lib/aws-sdk-mgn.rb
index 277230c3312..96449ec7954 100644
--- a/gems/aws-sdk-mgn/lib/aws-sdk-mgn.rb
+++ b/gems/aws-sdk-mgn/lib/aws-sdk-mgn.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Mgn
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb b/gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb
index f78b74904f0..3a5e80ccb34 100644
--- a/gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb
+++ b/gems/aws-sdk-mgn/lib/aws-sdk-mgn/client.rb
@@ -5302,7 +5302,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mgn'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mgn/lib/aws-sdk-mgn/endpoints.rb b/gems/aws-sdk-mgn/lib/aws-sdk-mgn/endpoints.rb
index 592b9f5f258..3e0e20e5605 100644
--- a/gems/aws-sdk-mgn/lib/aws-sdk-mgn/endpoints.rb
+++ b/gems/aws-sdk-mgn/lib/aws-sdk-mgn/endpoints.rb
@@ -14,980 +14,770 @@ module Endpoints
class ArchiveApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ArchiveWave
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateSourceServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ChangeServerLifeCycleState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLaunchConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplicationConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWave
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLaunchConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicationConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSourceServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVcenterClient
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWave
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobLogItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLaunchConfigurationTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReplicationConfigurationTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSourceServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVcenterClients
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateSourceServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisconnectFromService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FinalizeCutover
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLaunchConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InitializeService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExportErrors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImportErrors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListManagedAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSourceServerActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplateActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWaves
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MarkAsArchived
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PauseReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSourceServerAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutTemplateAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveSourceServerAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTemplateAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetryDataReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCutover
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateTargetInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnarchiveApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnarchiveWave
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLaunchConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLaunchConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReplicationConfigurationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSourceServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSourceServerReplicationType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWave
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Mgn::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mgn/lib/aws-sdk-mgn/plugins/endpoints.rb b/gems/aws-sdk-mgn/lib/aws-sdk-mgn/plugins/endpoints.rb
index 0d768d0dfef..68e24129e8a 100644
--- a/gems/aws-sdk-mgn/lib/aws-sdk-mgn/plugins/endpoints.rb
+++ b/gems/aws-sdk-mgn/lib/aws-sdk-mgn/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mgn/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mgn/spec/endpoint_provider_spec.rb
index 4f2ce6b0def..5f301ba6fd6 100644
--- a/gems/aws-sdk-mgn/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mgn/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Mgn
describe EndpointProvider do
subject { Aws::Mgn::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Mgn
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Mgn
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Mgn
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Mgn
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Mgn
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Mgn
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Mgn
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Mgn
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Mgn
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Mgn
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Mgn
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Mgn
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Mgn
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Mgn
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Mgn
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Mgn
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Mgn
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Mgn
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Mgn
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Mgn
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Mgn
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::Mgn
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Mgn
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::Mgn
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::Mgn
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::Mgn
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::Mgn
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::Mgn
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn-fips.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::Mgn
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::Mgn
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::Mgn
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::Mgn
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -475,7 +475,7 @@ module Aws::Mgn
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -489,7 +489,7 @@ module Aws::Mgn
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -502,7 +502,7 @@ module Aws::Mgn
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.us-iso-east-1.c2s.ic.gov"}}
end
@@ -516,7 +516,7 @@ module Aws::Mgn
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -529,7 +529,7 @@ module Aws::Mgn
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -543,7 +543,7 @@ module Aws::Mgn
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -556,7 +556,7 @@ module Aws::Mgn
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgn.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -570,7 +570,7 @@ module Aws::Mgn
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::Mgn
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::Mgn
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -611,7 +611,7 @@ module Aws::Mgn
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -624,7 +624,7 @@ module Aws::Mgn
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-migrationhub/CHANGELOG.md b/gems/aws-sdk-migrationhub/CHANGELOG.md
index ea9d3de5531..183c73af66f 100644
--- a/gems/aws-sdk-migrationhub/CHANGELOG.md
+++ b/gems/aws-sdk-migrationhub/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.62.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.61.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-migrationhub/VERSION b/gems/aws-sdk-migrationhub/VERSION
index 91951fd8ad7..76d05362056 100644
--- a/gems/aws-sdk-migrationhub/VERSION
+++ b/gems/aws-sdk-migrationhub/VERSION
@@ -1 +1 @@
-1.61.0
+1.62.0
diff --git a/gems/aws-sdk-migrationhub/aws-sdk-migrationhub.gemspec b/gems/aws-sdk-migrationhub/aws-sdk-migrationhub.gemspec
index 491736b787d..a230bff0e84 100644
--- a/gems/aws-sdk-migrationhub/aws-sdk-migrationhub.gemspec
+++ b/gems/aws-sdk-migrationhub/aws-sdk-migrationhub.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-migrationhub/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub.rb b/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub.rb
index b6d453021c1..dbb6eaa5738 100644
--- a/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub.rb
+++ b/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MigrationHub
- GEM_VERSION = '1.61.0'
+ GEM_VERSION = '1.62.0'
end
diff --git a/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/client.rb b/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/client.rb
index fee74399c3c..99a48a25f85 100644
--- a/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/client.rb
+++ b/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/client.rb
@@ -1288,7 +1288,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-migrationhub'
- context[:gem_version] = '1.61.0'
+ context[:gem_version] = '1.62.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/endpoints.rb b/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/endpoints.rb
index 242c35a2036..d6ea7038492 100644
--- a/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/endpoints.rb
+++ b/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/endpoints.rb
@@ -14,238 +14,187 @@ module Endpoints
class AssociateCreatedArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateDiscoveredResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProgressUpdateStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProgressUpdateStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicationState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMigrationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateCreatedArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateDiscoveredResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportMigrationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationStates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCreatedArtifacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDiscoveredResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMigrationTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProgressUpdateStreams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class NotifyApplicationState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class NotifyMigrationTaskState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourceAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/plugins/endpoints.rb b/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/plugins/endpoints.rb
index 28594b2c437..84734f74711 100644
--- a/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/plugins/endpoints.rb
+++ b/gems/aws-sdk-migrationhub/lib/aws-sdk-migrationhub/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-migrationhub/spec/endpoint_provider_spec.rb b/gems/aws-sdk-migrationhub/spec/endpoint_provider_spec.rb
index 130bf9d1244..6784b20db0c 100644
--- a/gems/aws-sdk-migrationhub/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-migrationhub/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MigrationHub
describe EndpointProvider do
subject { Aws::MigrationHub::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MigrationHub
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.ap-southeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MigrationHub
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.eu-central-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MigrationHub
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.eu-west-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MigrationHub
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.eu-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh-fips.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::MigrationHub
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::MigrationHub
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::MigrationHub
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::MigrationHub
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh-fips.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::MigrationHub
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mgh.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::MigrationHub
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::MigrationHub
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::MigrationHub
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::MigrationHub
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::MigrationHub
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-migrationhubconfig/CHANGELOG.md b/gems/aws-sdk-migrationhubconfig/CHANGELOG.md
index 2b3636bbf3b..03773ce805d 100644
--- a/gems/aws-sdk-migrationhubconfig/CHANGELOG.md
+++ b/gems/aws-sdk-migrationhubconfig/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.43.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.42.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-migrationhubconfig/VERSION b/gems/aws-sdk-migrationhubconfig/VERSION
index a50908ca3da..b978278f05f 100644
--- a/gems/aws-sdk-migrationhubconfig/VERSION
+++ b/gems/aws-sdk-migrationhubconfig/VERSION
@@ -1 +1 @@
-1.42.0
+1.43.0
diff --git a/gems/aws-sdk-migrationhubconfig/aws-sdk-migrationhubconfig.gemspec b/gems/aws-sdk-migrationhubconfig/aws-sdk-migrationhubconfig.gemspec
index f2f0e2f5fb0..df0058e219f 100644
--- a/gems/aws-sdk-migrationhubconfig/aws-sdk-migrationhubconfig.gemspec
+++ b/gems/aws-sdk-migrationhubconfig/aws-sdk-migrationhubconfig.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-migrationhubconfig/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig.rb b/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig.rb
index 9dab188415b..20b3ab86f38 100644
--- a/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig.rb
+++ b/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MigrationHubConfig
- GEM_VERSION = '1.42.0'
+ GEM_VERSION = '1.43.0'
end
diff --git a/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/client.rb b/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/client.rb
index c67d6e39d75..9b90af67795 100644
--- a/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/client.rb
+++ b/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/client.rb
@@ -624,7 +624,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-migrationhubconfig'
- context[:gem_version] = '1.42.0'
+ context[:gem_version] = '1.43.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/endpoints.rb b/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/endpoints.rb
index 133d44a5005..46cc8320636 100644
--- a/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/endpoints.rb
+++ b/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/endpoints.rb
@@ -14,56 +14,44 @@ module Endpoints
class CreateHomeRegionControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHomeRegionControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHomeRegionControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHomeRegion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/plugins/endpoints.rb b/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/plugins/endpoints.rb
index 88525b0b891..96ab28fe87d 100644
--- a/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/plugins/endpoints.rb
+++ b/gems/aws-sdk-migrationhubconfig/lib/aws-sdk-migrationhubconfig/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-migrationhubconfig/spec/endpoint_provider_spec.rb b/gems/aws-sdk-migrationhubconfig/spec/endpoint_provider_spec.rb
index ddf5f440fd6..c749dbfb6be 100644
--- a/gems/aws-sdk-migrationhubconfig/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-migrationhubconfig/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MigrationHubConfig
describe EndpointProvider do
subject { Aws::MigrationHubConfig::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-config.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::MigrationHubConfig
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::MigrationHubConfig
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-migrationhuborchestrator/CHANGELOG.md b/gems/aws-sdk-migrationhuborchestrator/CHANGELOG.md
index 73cadffc1cd..455dc9399b7 100644
--- a/gems/aws-sdk-migrationhuborchestrator/CHANGELOG.md
+++ b/gems/aws-sdk-migrationhuborchestrator/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.22.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.21.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-migrationhuborchestrator/VERSION b/gems/aws-sdk-migrationhuborchestrator/VERSION
index 3500250a4b0..57807d6d0d0 100644
--- a/gems/aws-sdk-migrationhuborchestrator/VERSION
+++ b/gems/aws-sdk-migrationhuborchestrator/VERSION
@@ -1 +1 @@
-1.21.0
+1.22.0
diff --git a/gems/aws-sdk-migrationhuborchestrator/aws-sdk-migrationhuborchestrator.gemspec b/gems/aws-sdk-migrationhuborchestrator/aws-sdk-migrationhuborchestrator.gemspec
index a217dd560c2..a56339bc4c7 100644
--- a/gems/aws-sdk-migrationhuborchestrator/aws-sdk-migrationhuborchestrator.gemspec
+++ b/gems/aws-sdk-migrationhuborchestrator/aws-sdk-migrationhuborchestrator.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-migrationhuborchestrator/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator.rb b/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator.rb
index 5ed8dac22b3..46aa7c1a853 100644
--- a/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator.rb
+++ b/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::MigrationHubOrchestrator
- GEM_VERSION = '1.21.0'
+ GEM_VERSION = '1.22.0'
end
diff --git a/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/client.rb b/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/client.rb
index caea03fad6c..c8881688388 100644
--- a/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/client.rb
+++ b/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/client.rb
@@ -2145,7 +2145,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-migrationhuborchestrator'
- context[:gem_version] = '1.21.0'
+ context[:gem_version] = '1.22.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/endpoints.rb b/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/endpoints.rb
index 383ead40283..5a4c3c69f88 100644
--- a/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/endpoints.rb
+++ b/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/endpoints.rb
@@ -14,434 +14,341 @@ module Endpoints
class CreateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkflowStep
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkflowStepGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkflowStep
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkflowStepGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemplateStep
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemplateStepGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflowStep
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflowStepGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPlugins
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplateStepGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplateSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflowStepGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflowSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetryWorkflowStep
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkflowStep
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkflowStepGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubOrchestrator::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/plugins/endpoints.rb b/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/plugins/endpoints.rb
index e31e028a91a..4d22e7df256 100644
--- a/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/plugins/endpoints.rb
+++ b/gems/aws-sdk-migrationhuborchestrator/lib/aws-sdk-migrationhuborchestrator/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-migrationhuborchestrator/spec/endpoint_provider_spec.rb b/gems/aws-sdk-migrationhuborchestrator/spec/endpoint_provider_spec.rb
index 2856c3ce55a..70e5ded77fa 100644
--- a/gems/aws-sdk-migrationhuborchestrator/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-migrationhuborchestrator/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MigrationHubOrchestrator
describe EndpointProvider do
subject { Aws::MigrationHubOrchestrator::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-orchestrator.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::MigrationHubOrchestrator
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-migrationhubrefactorspaces/CHANGELOG.md b/gems/aws-sdk-migrationhubrefactorspaces/CHANGELOG.md
index ff075f76b40..1cdf61628c5 100644
--- a/gems/aws-sdk-migrationhubrefactorspaces/CHANGELOG.md
+++ b/gems/aws-sdk-migrationhubrefactorspaces/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.31.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.30.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-migrationhubrefactorspaces/VERSION b/gems/aws-sdk-migrationhubrefactorspaces/VERSION
index 034552a83ee..34aae156b19 100644
--- a/gems/aws-sdk-migrationhubrefactorspaces/VERSION
+++ b/gems/aws-sdk-migrationhubrefactorspaces/VERSION
@@ -1 +1 @@
-1.30.0
+1.31.0
diff --git a/gems/aws-sdk-migrationhubrefactorspaces/aws-sdk-migrationhubrefactorspaces.gemspec b/gems/aws-sdk-migrationhubrefactorspaces/aws-sdk-migrationhubrefactorspaces.gemspec
index 3109aae6958..083b1d6bd7d 100644
--- a/gems/aws-sdk-migrationhubrefactorspaces/aws-sdk-migrationhubrefactorspaces.gemspec
+++ b/gems/aws-sdk-migrationhubrefactorspaces/aws-sdk-migrationhubrefactorspaces.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-migrationhubrefactorspaces/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces.rb b/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces.rb
index b1d971532d5..b5e0ed6ad85 100644
--- a/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces.rb
+++ b/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MigrationHubRefactorSpaces
- GEM_VERSION = '1.30.0'
+ GEM_VERSION = '1.31.0'
end
diff --git a/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/client.rb b/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/client.rb
index 4c3ae4b7478..eb2b1bec776 100644
--- a/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/client.rb
+++ b/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/client.rb
@@ -2007,7 +2007,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-migrationhubrefactorspaces'
- context[:gem_version] = '1.30.0'
+ context[:gem_version] = '1.31.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/endpoints.rb b/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/endpoints.rb
index dfd0aa39aee..56df46ff621 100644
--- a/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/endpoints.rb
+++ b/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/endpoints.rb
@@ -14,336 +14,264 @@ module Endpoints
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironmentVpcs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubRefactorSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/plugins/endpoints.rb b/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/plugins/endpoints.rb
index a39f0f6c4bb..7b5ae7e6a5d 100644
--- a/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/plugins/endpoints.rb
+++ b/gems/aws-sdk-migrationhubrefactorspaces/lib/aws-sdk-migrationhubrefactorspaces/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-migrationhubrefactorspaces/spec/endpoint_provider_spec.rb b/gems/aws-sdk-migrationhubrefactorspaces/spec/endpoint_provider_spec.rb
index 8c97315d015..daa5418913a 100644
--- a/gems/aws-sdk-migrationhubrefactorspaces/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-migrationhubrefactorspaces/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MigrationHubRefactorSpaces
describe EndpointProvider do
subject { Aws::MigrationHubRefactorSpaces::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://refactor-spaces.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::MigrationHubRefactorSpaces
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-migrationhubstrategyrecommendations/CHANGELOG.md b/gems/aws-sdk-migrationhubstrategyrecommendations/CHANGELOG.md
index 7735f954cd1..4463a18ca45 100644
--- a/gems/aws-sdk-migrationhubstrategyrecommendations/CHANGELOG.md
+++ b/gems/aws-sdk-migrationhubstrategyrecommendations/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.29.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.28.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-migrationhubstrategyrecommendations/VERSION b/gems/aws-sdk-migrationhubstrategyrecommendations/VERSION
index cfc730712d5..5e57fb89558 100644
--- a/gems/aws-sdk-migrationhubstrategyrecommendations/VERSION
+++ b/gems/aws-sdk-migrationhubstrategyrecommendations/VERSION
@@ -1 +1 @@
-1.28.0
+1.29.0
diff --git a/gems/aws-sdk-migrationhubstrategyrecommendations/aws-sdk-migrationhubstrategyrecommendations.gemspec b/gems/aws-sdk-migrationhubstrategyrecommendations/aws-sdk-migrationhubstrategyrecommendations.gemspec
index 5e0a6edfd23..2c004002267 100644
--- a/gems/aws-sdk-migrationhubstrategyrecommendations/aws-sdk-migrationhubstrategyrecommendations.gemspec
+++ b/gems/aws-sdk-migrationhubstrategyrecommendations/aws-sdk-migrationhubstrategyrecommendations.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-migrationhubstrategyrecommendations/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations.rb b/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations.rb
index 6a2ddc86416..e5afdf0c980 100644
--- a/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations.rb
+++ b/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MigrationHubStrategyRecommendations
- GEM_VERSION = '1.28.0'
+ GEM_VERSION = '1.29.0'
end
diff --git a/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb b/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb
index f6190f52f83..1fe47378446 100644
--- a/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb
+++ b/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/client.rb
@@ -1632,7 +1632,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-migrationhubstrategyrecommendations'
- context[:gem_version] = '1.28.0'
+ context[:gem_version] = '1.29.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/endpoints.rb b/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/endpoints.rb
index 4af0096d24a..a29995c45ce 100644
--- a/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/endpoints.rb
+++ b/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/endpoints.rb
@@ -14,308 +14,242 @@ module Endpoints
class GetApplicationComponentDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplicationComponentStrategies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImportFileTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLatestAssessmentId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPortfolioPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPortfolioSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecommendationReportDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServerDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServerStrategies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnalyzableServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCollectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImportFileTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPortfolioPreferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImportFileTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartRecommendationReportGeneration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplicationComponentConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServerConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MigrationHubStrategyRecommendations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/plugins/endpoints.rb b/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/plugins/endpoints.rb
index 7bad6fe0d74..7c5389f6198 100644
--- a/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/plugins/endpoints.rb
+++ b/gems/aws-sdk-migrationhubstrategyrecommendations/lib/aws-sdk-migrationhubstrategyrecommendations/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-migrationhubstrategyrecommendations/spec/endpoint_provider_spec.rb b/gems/aws-sdk-migrationhubstrategyrecommendations/spec/endpoint_provider_spec.rb
index d521e2831f4..789a8f717c6 100644
--- a/gems/aws-sdk-migrationhubstrategyrecommendations/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-migrationhubstrategyrecommendations/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MigrationHubStrategyRecommendations
describe EndpointProvider do
subject { Aws::MigrationHubStrategyRecommendations::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.ap-southeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.eu-central-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.eu-west-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.eu-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy-fips.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy-fips.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://migrationhub-strategy.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::MigrationHubStrategyRecommendations
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mq/CHANGELOG.md b/gems/aws-sdk-mq/CHANGELOG.md
index 346f96546b7..f02fc7300b3 100644
--- a/gems/aws-sdk-mq/CHANGELOG.md
+++ b/gems/aws-sdk-mq/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.69.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.68.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mq/VERSION b/gems/aws-sdk-mq/VERSION
index ee2f4ca9130..49349856550 100644
--- a/gems/aws-sdk-mq/VERSION
+++ b/gems/aws-sdk-mq/VERSION
@@ -1 +1 @@
-1.68.0
+1.69.0
diff --git a/gems/aws-sdk-mq/aws-sdk-mq.gemspec b/gems/aws-sdk-mq/aws-sdk-mq.gemspec
index 1150fafcb43..5934a64a1b1 100644
--- a/gems/aws-sdk-mq/aws-sdk-mq.gemspec
+++ b/gems/aws-sdk-mq/aws-sdk-mq.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mq/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mq/lib/aws-sdk-mq.rb b/gems/aws-sdk-mq/lib/aws-sdk-mq.rb
index 1b3c16e9a82..559d35c73ba 100644
--- a/gems/aws-sdk-mq/lib/aws-sdk-mq.rb
+++ b/gems/aws-sdk-mq/lib/aws-sdk-mq.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MQ
- GEM_VERSION = '1.68.0'
+ GEM_VERSION = '1.69.0'
end
diff --git a/gems/aws-sdk-mq/lib/aws-sdk-mq/client.rb b/gems/aws-sdk-mq/lib/aws-sdk-mq/client.rb
index bcc452aa60d..dc03873ff91 100644
--- a/gems/aws-sdk-mq/lib/aws-sdk-mq/client.rb
+++ b/gems/aws-sdk-mq/lib/aws-sdk-mq/client.rb
@@ -1682,7 +1682,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mq'
- context[:gem_version] = '1.68.0'
+ context[:gem_version] = '1.69.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mq/lib/aws-sdk-mq/endpoints.rb b/gems/aws-sdk-mq/lib/aws-sdk-mq/endpoints.rb
index 13a6a8c223e..be7082cca79 100644
--- a/gems/aws-sdk-mq/lib/aws-sdk-mq/endpoints.rb
+++ b/gems/aws-sdk-mq/lib/aws-sdk-mq/endpoints.rb
@@ -14,322 +14,253 @@ module Endpoints
class CreateBroker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBroker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBroker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBrokerEngineTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBrokerInstanceOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurationRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBrokers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurationRevisions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Promote
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootBroker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBroker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MQ::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mq/lib/aws-sdk-mq/plugins/endpoints.rb b/gems/aws-sdk-mq/lib/aws-sdk-mq/plugins/endpoints.rb
index 92c9ec39820..63b03f9ab87 100644
--- a/gems/aws-sdk-mq/lib/aws-sdk-mq/plugins/endpoints.rb
+++ b/gems/aws-sdk-mq/lib/aws-sdk-mq/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mq/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mq/spec/endpoint_provider_spec.rb
index 67516aea7d0..84dcc8b4e21 100644
--- a/gems/aws-sdk-mq/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mq/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MQ
describe EndpointProvider do
subject { Aws::MQ::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MQ
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MQ
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MQ
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MQ
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MQ
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MQ
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MQ
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::MQ
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MQ
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MQ
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MQ
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MQ
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MQ
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::MQ
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::MQ
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::MQ
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::MQ
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::MQ
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::MQ
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::MQ
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::MQ
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::MQ
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::MQ
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::MQ
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::MQ
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::MQ
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::MQ
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::MQ
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::MQ
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::MQ
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::MQ
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::MQ
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::MQ
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::MQ
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::MQ
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::MQ
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::MQ
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::MQ
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::MQ
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::MQ
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::MQ
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::MQ
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::MQ
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::MQ
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::MQ
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::MQ
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mq.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::MQ
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::MQ
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::MQ
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::MQ
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::MQ
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mturk/CHANGELOG.md b/gems/aws-sdk-mturk/CHANGELOG.md
index b4bc9827f3a..4a914aa2672 100644
--- a/gems/aws-sdk-mturk/CHANGELOG.md
+++ b/gems/aws-sdk-mturk/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.62.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.61.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mturk/VERSION b/gems/aws-sdk-mturk/VERSION
index 91951fd8ad7..76d05362056 100644
--- a/gems/aws-sdk-mturk/VERSION
+++ b/gems/aws-sdk-mturk/VERSION
@@ -1 +1 @@
-1.61.0
+1.62.0
diff --git a/gems/aws-sdk-mturk/aws-sdk-mturk.gemspec b/gems/aws-sdk-mturk/aws-sdk-mturk.gemspec
index 0dc37b93a7d..aa5b505064a 100644
--- a/gems/aws-sdk-mturk/aws-sdk-mturk.gemspec
+++ b/gems/aws-sdk-mturk/aws-sdk-mturk.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mturk/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mturk/lib/aws-sdk-mturk.rb b/gems/aws-sdk-mturk/lib/aws-sdk-mturk.rb
index 4b9552b08f7..acea59499b1 100644
--- a/gems/aws-sdk-mturk/lib/aws-sdk-mturk.rb
+++ b/gems/aws-sdk-mturk/lib/aws-sdk-mturk.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MTurk
- GEM_VERSION = '1.61.0'
+ GEM_VERSION = '1.62.0'
end
diff --git a/gems/aws-sdk-mturk/lib/aws-sdk-mturk/client.rb b/gems/aws-sdk-mturk/lib/aws-sdk-mturk/client.rb
index 778c3f22bd8..0d7e6687059 100644
--- a/gems/aws-sdk-mturk/lib/aws-sdk-mturk/client.rb
+++ b/gems/aws-sdk-mturk/lib/aws-sdk-mturk/client.rb
@@ -2982,7 +2982,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mturk'
- context[:gem_version] = '1.61.0'
+ context[:gem_version] = '1.62.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mturk/lib/aws-sdk-mturk/endpoints.rb b/gems/aws-sdk-mturk/lib/aws-sdk-mturk/endpoints.rb
index ad621a100f6..8fd552e7397 100644
--- a/gems/aws-sdk-mturk/lib/aws-sdk-mturk/endpoints.rb
+++ b/gems/aws-sdk-mturk/lib/aws-sdk-mturk/endpoints.rb
@@ -14,546 +14,429 @@ module Endpoints
class AcceptQualificationRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ApproveAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateQualificationWithWorker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAdditionalAssignmentsForHIT
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHIT
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHITType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHITWithHITType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQualificationType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkerBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHIT
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQualificationType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkerBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateQualificationFromWorker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountBalance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFileUploadURL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHIT
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQualificationScore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQualificationType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssignmentsForHIT
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBonusPayments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHITs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHITsForQualificationType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQualificationRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQualificationTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReviewPolicyResultsForHIT
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReviewableHITs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkerBlocks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkersWithQualificationType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class NotifyWorkers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectQualificationRequest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendBonus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendTestEventNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateExpirationForHIT
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateHITReviewStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateHITTypeOfHIT
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNotificationSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQualificationType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MTurk::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mturk/lib/aws-sdk-mturk/plugins/endpoints.rb b/gems/aws-sdk-mturk/lib/aws-sdk-mturk/plugins/endpoints.rb
index 40b8880f208..4cc69360298 100644
--- a/gems/aws-sdk-mturk/lib/aws-sdk-mturk/plugins/endpoints.rb
+++ b/gems/aws-sdk-mturk/lib/aws-sdk-mturk/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mturk/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mturk/spec/endpoint_provider_spec.rb
index fcda095a0b8..2ecb5c4ce20 100644
--- a/gems/aws-sdk-mturk/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mturk/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MTurk
describe EndpointProvider do
subject { Aws::MTurk::EndpointProvider.new }
- context 'For region sandbox with FIPS disabled and DualStack disabled' do
+ context "For region sandbox with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester-sandbox.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MTurk
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MTurk
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester-fips.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::MTurk
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester-fips.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MTurk
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::MTurk
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::MTurk
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::MTurk
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::MTurk
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::MTurk
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::MTurk
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MTurk
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::MTurk
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MTurk
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::MTurk
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::MTurk
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::MTurk
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::MTurk
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::MTurk
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::MTurk
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::MTurk
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mturk-requester.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::MTurk
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::MTurk
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::MTurk
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::MTurk
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::MTurk
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-mwaa/CHANGELOG.md b/gems/aws-sdk-mwaa/CHANGELOG.md
index 3891e116a27..b5b649e84ee 100644
--- a/gems/aws-sdk-mwaa/CHANGELOG.md
+++ b/gems/aws-sdk-mwaa/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.45.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.44.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-mwaa/VERSION b/gems/aws-sdk-mwaa/VERSION
index 372cf402c73..50aceaa7b71 100644
--- a/gems/aws-sdk-mwaa/VERSION
+++ b/gems/aws-sdk-mwaa/VERSION
@@ -1 +1 @@
-1.44.0
+1.45.0
diff --git a/gems/aws-sdk-mwaa/aws-sdk-mwaa.gemspec b/gems/aws-sdk-mwaa/aws-sdk-mwaa.gemspec
index b37659c0a81..780c4cf0c47 100644
--- a/gems/aws-sdk-mwaa/aws-sdk-mwaa.gemspec
+++ b/gems/aws-sdk-mwaa/aws-sdk-mwaa.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-mwaa/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa.rb b/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa.rb
index 6269357ab9b..ebf57a677fd 100644
--- a/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa.rb
+++ b/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::MWAA
- GEM_VERSION = '1.44.0'
+ GEM_VERSION = '1.45.0'
end
diff --git a/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/client.rb b/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/client.rb
index 71790545e0b..cdee0a28e3a 100644
--- a/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/client.rb
+++ b/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/client.rb
@@ -1448,7 +1448,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-mwaa'
- context[:gem_version] = '1.44.0'
+ context[:gem_version] = '1.45.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/endpoints.rb b/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/endpoints.rb
index 630f7846d01..cb96ea2f123 100644
--- a/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/endpoints.rb
+++ b/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/endpoints.rb
@@ -14,154 +14,121 @@ module Endpoints
class CreateCliToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MWAA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MWAA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWebLoginToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MWAA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MWAA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MWAA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MWAA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MWAA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PublishMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MWAA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MWAA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MWAA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::MWAA::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/plugins/endpoints.rb b/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/plugins/endpoints.rb
index 94e4b0e9b5c..04a594c1000 100644
--- a/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/plugins/endpoints.rb
+++ b/gems/aws-sdk-mwaa/lib/aws-sdk-mwaa/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-mwaa/spec/endpoint_provider_spec.rb b/gems/aws-sdk-mwaa/spec/endpoint_provider_spec.rb
index 902558f0b8d..1d48371cac9 100644
--- a/gems/aws-sdk-mwaa/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-mwaa/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::MWAA
describe EndpointProvider do
subject { Aws::MWAA::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::MWAA
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::MWAA
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::MWAA
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::MWAA
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::MWAA
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::MWAA
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::MWAA
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::MWAA
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::MWAA
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::MWAA
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::MWAA
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.sa-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::MWAA
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::MWAA
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.us-east-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::MWAA
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.us-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::MWAA
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow-fips.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::MWAA
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow-fips.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::MWAA
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.us-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::MWAA
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::MWAA
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::MWAA
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::MWAA
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.cn-north-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::MWAA
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow-fips.us-gov-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::MWAA
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::MWAA
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.us-gov-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::MWAA
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.us-gov-east-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::MWAA
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -391,7 +391,7 @@ module Aws::MWAA
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -405,7 +405,7 @@ module Aws::MWAA
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -418,7 +418,7 @@ module Aws::MWAA
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.us-iso-east-1.c2s.ic.gov"}}
end
@@ -432,7 +432,7 @@ module Aws::MWAA
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -445,7 +445,7 @@ module Aws::MWAA
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -459,7 +459,7 @@ module Aws::MWAA
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -472,7 +472,7 @@ module Aws::MWAA
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://airflow.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -486,7 +486,7 @@ module Aws::MWAA
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -500,7 +500,7 @@ module Aws::MWAA
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::MWAA
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -527,7 +527,7 @@ module Aws::MWAA
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -540,7 +540,7 @@ module Aws::MWAA
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-neptune/CHANGELOG.md b/gems/aws-sdk-neptune/CHANGELOG.md
index 8922dea13b0..62c42b235ce 100644
--- a/gems/aws-sdk-neptune/CHANGELOG.md
+++ b/gems/aws-sdk-neptune/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.73.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.72.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-neptune/VERSION b/gems/aws-sdk-neptune/VERSION
index 0834888f558..5e3a4256626 100644
--- a/gems/aws-sdk-neptune/VERSION
+++ b/gems/aws-sdk-neptune/VERSION
@@ -1 +1 @@
-1.72.0
+1.73.0
diff --git a/gems/aws-sdk-neptune/aws-sdk-neptune.gemspec b/gems/aws-sdk-neptune/aws-sdk-neptune.gemspec
index f1807356f05..bf4434d8eb4 100644
--- a/gems/aws-sdk-neptune/aws-sdk-neptune.gemspec
+++ b/gems/aws-sdk-neptune/aws-sdk-neptune.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-neptune/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-neptune/lib/aws-sdk-neptune.rb b/gems/aws-sdk-neptune/lib/aws-sdk-neptune.rb
index 9719462f58f..ee9bd79c447 100644
--- a/gems/aws-sdk-neptune/lib/aws-sdk-neptune.rb
+++ b/gems/aws-sdk-neptune/lib/aws-sdk-neptune.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Neptune
- GEM_VERSION = '1.72.0'
+ GEM_VERSION = '1.73.0'
end
diff --git a/gems/aws-sdk-neptune/lib/aws-sdk-neptune/client.rb b/gems/aws-sdk-neptune/lib/aws-sdk-neptune/client.rb
index cc544ceb276..5c0a080cd48 100644
--- a/gems/aws-sdk-neptune/lib/aws-sdk-neptune/client.rb
+++ b/gems/aws-sdk-neptune/lib/aws-sdk-neptune/client.rb
@@ -7605,7 +7605,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-neptune'
- context[:gem_version] = '1.72.0'
+ context[:gem_version] = '1.73.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-neptune/lib/aws-sdk-neptune/endpoints.rb b/gems/aws-sdk-neptune/lib/aws-sdk-neptune/endpoints.rb
index 82d54fc27d1..9f60cf07b6c 100644
--- a/gems/aws-sdk-neptune/lib/aws-sdk-neptune/endpoints.rb
+++ b/gems/aws-sdk-neptune/lib/aws-sdk-neptune/endpoints.rb
@@ -14,966 +14,759 @@ module Endpoints
class AddRoleToDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddSourceIdentifierToSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTagsToResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ApplyPendingMaintenanceAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyDBClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyDBParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBClusterEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBClusterEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterParameterGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterSnapshotAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBEngineVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBParameterGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBSubnetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEngineDefaultClusterParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEngineDefaultParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventCategories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGlobalClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrderableDBInstanceOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePendingMaintenanceActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeValidDBInstanceModifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FailoverDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FailoverGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBClusterEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBClusterSnapshotAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PromoteReadReplicaDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveFromGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveRoleFromDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveSourceIdentifierFromSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetDBParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreDBClusterFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreDBClusterToPointInTime
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptune::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-neptune/lib/aws-sdk-neptune/plugins/endpoints.rb b/gems/aws-sdk-neptune/lib/aws-sdk-neptune/plugins/endpoints.rb
index 788e7e07ec6..3ad2065ce90 100644
--- a/gems/aws-sdk-neptune/lib/aws-sdk-neptune/plugins/endpoints.rb
+++ b/gems/aws-sdk-neptune/lib/aws-sdk-neptune/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-neptune/spec/endpoint_provider_spec.rb b/gems/aws-sdk-neptune/spec/endpoint_provider_spec.rb
index 9642992bdd9..3acb658ed91 100644
--- a/gems/aws-sdk-neptune/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-neptune/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Neptune
describe EndpointProvider do
subject { Aws::Neptune::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Neptune
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Neptune
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Neptune
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Neptune
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Neptune
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Neptune
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Neptune
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Neptune
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Neptune
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Neptune
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Neptune
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Neptune
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Neptune
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Neptune
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Neptune
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Neptune
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Neptune
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Neptune
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Neptune
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Neptune
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Neptune
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Neptune
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Neptune
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Neptune
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Neptune
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Neptune
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::Neptune
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Neptune
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::Neptune
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Neptune
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Neptune
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::Neptune
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::Neptune
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::Neptune
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Neptune
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Neptune
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::Neptune
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::Neptune
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::Neptune
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::Neptune
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-iso-east-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::Neptune
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-iso-west-1.c2s.ic.gov"}}
end
@@ -602,7 +602,7 @@ module Aws::Neptune
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -615,7 +615,7 @@ module Aws::Neptune
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -629,7 +629,7 @@ module Aws::Neptune
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -642,7 +642,7 @@ module Aws::Neptune
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -656,7 +656,7 @@ module Aws::Neptune
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -669,7 +669,7 @@ module Aws::Neptune
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -683,7 +683,7 @@ module Aws::Neptune
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -696,7 +696,7 @@ module Aws::Neptune
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::Neptune
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -724,7 +724,7 @@ module Aws::Neptune
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -737,7 +737,7 @@ module Aws::Neptune
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -750,7 +750,7 @@ module Aws::Neptune
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
@@ -763,7 +763,7 @@ module Aws::Neptune
end
end
- context 'Partition doesn't support DualStack' do
+ context "Partition doesn't support DualStack" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
diff --git a/gems/aws-sdk-neptunedata/CHANGELOG.md b/gems/aws-sdk-neptunedata/CHANGELOG.md
index f1c1b2b56cb..79ad501d0a6 100644
--- a/gems/aws-sdk-neptunedata/CHANGELOG.md
+++ b/gems/aws-sdk-neptunedata/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.17.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.16.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-neptunedata/VERSION b/gems/aws-sdk-neptunedata/VERSION
index 15b989e398f..092afa15df4 100644
--- a/gems/aws-sdk-neptunedata/VERSION
+++ b/gems/aws-sdk-neptunedata/VERSION
@@ -1 +1 @@
-1.16.0
+1.17.0
diff --git a/gems/aws-sdk-neptunedata/aws-sdk-neptunedata.gemspec b/gems/aws-sdk-neptunedata/aws-sdk-neptunedata.gemspec
index 0aeb58aa9d4..b31b7c374ba 100644
--- a/gems/aws-sdk-neptunedata/aws-sdk-neptunedata.gemspec
+++ b/gems/aws-sdk-neptunedata/aws-sdk-neptunedata.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-neptunedata/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata.rb b/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata.rb
index 25dbee28dd0..cbc2788b7da 100644
--- a/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata.rb
+++ b/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Neptunedata
- GEM_VERSION = '1.16.0'
+ GEM_VERSION = '1.17.0'
end
diff --git a/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb b/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb
index 48cd5f7395e..48741e63564 100644
--- a/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb
+++ b/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/client.rb
@@ -3394,7 +3394,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-neptunedata'
- context[:gem_version] = '1.16.0'
+ context[:gem_version] = '1.17.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/endpoints.rb b/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/endpoints.rb
index b464a702a57..3344271ef61 100644
--- a/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/endpoints.rb
+++ b/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/endpoints.rb
@@ -14,602 +14,473 @@ module Endpoints
class CancelGremlinQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelLoaderJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelMLDataProcessingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelMLModelTrainingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelMLModelTransformJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelOpenCypherQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMLEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMLEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePropertygraphStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSparqlStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteFastReset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteGremlinExplainQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteGremlinProfileQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteGremlinQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteOpenCypherExplainQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteOpenCypherQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEngineStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGremlinQueryStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoaderJobStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMLDataProcessingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMLEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMLModelTrainingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMLModelTransformJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOpenCypherQueryStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPropertygraphStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPropertygraphStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPropertygraphSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRDFGraphSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSparqlStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSparqlStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGremlinQueries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLoaderJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMLDataProcessingJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMLEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMLModelTrainingJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMLModelTransformJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOpenCypherQueries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ManagePropertygraphStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ManageSparqlStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartLoaderJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMLDataProcessingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMLModelTrainingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMLModelTransformJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Neptunedata::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/plugins/endpoints.rb b/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/plugins/endpoints.rb
index 95e9387208f..2e2acccd475 100644
--- a/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/plugins/endpoints.rb
+++ b/gems/aws-sdk-neptunedata/lib/aws-sdk-neptunedata/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-neptunedata/spec/endpoint_provider_spec.rb b/gems/aws-sdk-neptunedata/spec/endpoint_provider_spec.rb
index ead271f1f3b..75bbd856e70 100644
--- a/gems/aws-sdk-neptunedata/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-neptunedata/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Neptunedata
describe EndpointProvider do
subject { Aws::Neptunedata::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Neptunedata
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Neptunedata
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Neptunedata
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Neptunedata
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Neptunedata
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-db.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Neptunedata
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Neptunedata
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Neptunedata
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Neptunedata
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Neptunedata
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-neptunegraph/CHANGELOG.md b/gems/aws-sdk-neptunegraph/CHANGELOG.md
index bfbeb294267..57f85ab86e1 100644
--- a/gems/aws-sdk-neptunegraph/CHANGELOG.md
+++ b/gems/aws-sdk-neptunegraph/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.18.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.17.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-neptunegraph/VERSION b/gems/aws-sdk-neptunegraph/VERSION
index 092afa15df4..84cc529467b 100644
--- a/gems/aws-sdk-neptunegraph/VERSION
+++ b/gems/aws-sdk-neptunegraph/VERSION
@@ -1 +1 @@
-1.17.0
+1.18.0
diff --git a/gems/aws-sdk-neptunegraph/aws-sdk-neptunegraph.gemspec b/gems/aws-sdk-neptunegraph/aws-sdk-neptunegraph.gemspec
index 4cf4cc78d48..50987b5b157 100644
--- a/gems/aws-sdk-neptunegraph/aws-sdk-neptunegraph.gemspec
+++ b/gems/aws-sdk-neptunegraph/aws-sdk-neptunegraph.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-neptunegraph/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph.rb b/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph.rb
index 4c6d3fa1e0f..78f2f59aa47 100644
--- a/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph.rb
+++ b/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::NeptuneGraph
- GEM_VERSION = '1.17.0'
+ GEM_VERSION = '1.18.0'
end
diff --git a/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/client.rb b/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/client.rb
index aeb15ed191c..415b87120f0 100644
--- a/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/client.rb
+++ b/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/client.rb
@@ -2132,7 +2132,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-neptunegraph'
- context[:gem_version] = '1.17.0'
+ context[:gem_version] = '1.18.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/endpoints.rb b/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/endpoints.rb
index a3505f6df2d..f4070439db5 100644
--- a/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/endpoints.rb
+++ b/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class CancelImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -29,14 +26,11 @@ def self.build(context)
class CancelQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "DataPlane",
)
end
@@ -44,14 +38,11 @@ def self.build(context)
class CreateGraph
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -59,14 +50,11 @@ def self.build(context)
class CreateGraphSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -74,14 +62,11 @@ def self.build(context)
class CreateGraphUsingImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -89,14 +74,11 @@ def self.build(context)
class CreatePrivateGraphEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -104,14 +86,11 @@ def self.build(context)
class DeleteGraph
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -119,14 +98,11 @@ def self.build(context)
class DeleteGraphSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -134,14 +110,11 @@ def self.build(context)
class DeletePrivateGraphEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -149,14 +122,11 @@ def self.build(context)
class ExecuteQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "DataPlane",
)
end
@@ -164,14 +134,11 @@ def self.build(context)
class GetGraph
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -179,14 +146,11 @@ def self.build(context)
class GetGraphSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -194,14 +158,11 @@ def self.build(context)
class GetGraphSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "DataPlane",
)
end
@@ -209,14 +170,11 @@ def self.build(context)
class GetImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -224,14 +182,11 @@ def self.build(context)
class GetPrivateGraphEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -239,14 +194,11 @@ def self.build(context)
class GetQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "DataPlane",
)
end
@@ -254,14 +206,11 @@ def self.build(context)
class ListGraphSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -269,14 +218,11 @@ def self.build(context)
class ListGraphs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -284,14 +230,11 @@ def self.build(context)
class ListImportTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -299,14 +242,11 @@ def self.build(context)
class ListPrivateGraphEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -314,14 +254,11 @@ def self.build(context)
class ListQueries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "DataPlane",
)
end
@@ -329,14 +266,11 @@ def self.build(context)
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -344,14 +278,11 @@ def self.build(context)
class ResetGraph
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -359,14 +290,11 @@ def self.build(context)
class RestoreGraphFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -374,14 +302,11 @@ def self.build(context)
class StartImportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -389,14 +314,11 @@ def self.build(context)
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -404,14 +326,11 @@ def self.build(context)
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
@@ -419,14 +338,11 @@ def self.build(context)
class UpdateGraph
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NeptuneGraph::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context.config.use_dualstack_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
api_type: "ControlPlane",
)
end
diff --git a/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/plugins/endpoints.rb b/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/plugins/endpoints.rb
index b2f756bf6cf..69e7525c0e0 100644
--- a/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/plugins/endpoints.rb
+++ b/gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-neptunegraph/spec/endpoint_provider_spec.rb b/gems/aws-sdk-neptunegraph/spec/endpoint_provider_spec.rb
index 67ab002013c..bb62024ac6d 100644
--- a/gems/aws-sdk-neptunegraph/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-neptunegraph/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::NeptuneGraph
describe EndpointProvider do
subject { Aws::NeptuneGraph::EndpointProvider.new }
- context 'Region and CP ApiType are provided' do
+ context "Region and CP ApiType are provided" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mycustomDomain.com"}}
end
@@ -28,7 +28,7 @@ module Aws::NeptuneGraph
end
end
- context 'Region and DP ApiType are provided' do
+ context "Region and DP ApiType are provided" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mycustomDomain.com"}}
end
@@ -42,7 +42,7 @@ module Aws::NeptuneGraph
end
end
- context 'Region and invalid ApiType are provided' do
+ context "Region and invalid ApiType are provided" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mycustomDomain.com"}}
end
@@ -56,7 +56,7 @@ module Aws::NeptuneGraph
end
end
- context 'Only invalid ApiType is provided' do
+ context "Only invalid ApiType is provided" do
let(:expected) do
{"endpoint"=>{"url"=>"https://mycustomDomain.com"}}
end
@@ -70,7 +70,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -97,7 +97,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.us-east-1.amazonaws.com"}}
end
@@ -111,7 +111,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: us-east-1, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -124,7 +124,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.us-east-1.api.aws"}}
end
@@ -138,7 +138,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.us-east-1.on.aws"}}
end
@@ -152,7 +152,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.us-east-1.amazonaws.com"}}
end
@@ -166,7 +166,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: us-east-1, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://us-east-1.neptune-graph.amazonaws.com"}}
end
@@ -180,7 +180,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-east-2, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: us-east-2, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.us-east-2.api.aws"}}
end
@@ -194,7 +194,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-east-2, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: us-east-2, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -207,7 +207,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-east-2, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: us-east-2, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.us-east-2.amazonaws.com"}}
end
@@ -221,7 +221,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-east-2, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: us-east-2, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -234,7 +234,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-east-2, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: us-east-2, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.us-east-2.api.aws"}}
end
@@ -248,7 +248,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-east-2, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: us-east-2, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.us-east-2.on.aws"}}
end
@@ -262,7 +262,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-east-2, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: us-east-2, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.us-east-2.amazonaws.com"}}
end
@@ -276,7 +276,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-east-2, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: us-east-2, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://us-east-2.neptune-graph.amazonaws.com"}}
end
@@ -290,7 +290,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-west-2, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: us-west-2, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.us-west-2.api.aws"}}
end
@@ -304,7 +304,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-west-2, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: us-west-2, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -317,7 +317,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-west-2, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: us-west-2, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.us-west-2.amazonaws.com"}}
end
@@ -331,7 +331,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-west-2, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: us-west-2, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -344,7 +344,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-west-2, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: us-west-2, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.us-west-2.api.aws"}}
end
@@ -358,7 +358,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-west-2, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: us-west-2, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.us-west-2.on.aws"}}
end
@@ -372,7 +372,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: us-west-2, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: us-west-2, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.us-west-2.amazonaws.com"}}
end
@@ -386,7 +386,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: us-west-2, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: us-west-2, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://us-west-2.neptune-graph.amazonaws.com"}}
end
@@ -400,7 +400,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-west-1, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: eu-west-1, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.eu-west-1.api.aws"}}
end
@@ -414,7 +414,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-west-1, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: eu-west-1, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -427,7 +427,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-west-1, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: eu-west-1, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.eu-west-1.amazonaws.com"}}
end
@@ -441,7 +441,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-west-1, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: eu-west-1, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -454,7 +454,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-west-1, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: eu-west-1, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.eu-west-1.api.aws"}}
end
@@ -468,7 +468,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-west-1, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: eu-west-1, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.eu-west-1.on.aws"}}
end
@@ -482,7 +482,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-west-1, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: eu-west-1, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.eu-west-1.amazonaws.com"}}
end
@@ -496,7 +496,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-west-1, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: eu-west-1, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eu-west-1.neptune-graph.amazonaws.com"}}
end
@@ -510,7 +510,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-west-2, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: eu-west-2, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.eu-west-2.api.aws"}}
end
@@ -524,7 +524,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-west-2, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: eu-west-2, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -537,7 +537,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-west-2, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: eu-west-2, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.eu-west-2.amazonaws.com"}}
end
@@ -551,7 +551,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-west-2, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: eu-west-2, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -564,7 +564,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-west-2, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: eu-west-2, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.eu-west-2.api.aws"}}
end
@@ -578,7 +578,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-west-2, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: eu-west-2, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.eu-west-2.on.aws"}}
end
@@ -592,7 +592,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-west-2, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: eu-west-2, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.eu-west-2.amazonaws.com"}}
end
@@ -606,7 +606,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-west-2, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: eu-west-2, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eu-west-2.neptune-graph.amazonaws.com"}}
end
@@ -620,7 +620,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-central-1, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: eu-central-1, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.eu-central-1.api.aws"}}
end
@@ -634,7 +634,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-central-1, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: eu-central-1, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -647,7 +647,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-central-1, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: eu-central-1, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.eu-central-1.amazonaws.com"}}
end
@@ -661,7 +661,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-central-1, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: eu-central-1, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -674,7 +674,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-central-1, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: eu-central-1, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.eu-central-1.api.aws"}}
end
@@ -688,7 +688,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-central-1, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: eu-central-1, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.eu-central-1.on.aws"}}
end
@@ -702,7 +702,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: eu-central-1, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: eu-central-1, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.eu-central-1.amazonaws.com"}}
end
@@ -716,7 +716,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: eu-central-1, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: eu-central-1, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://eu-central-1.neptune-graph.amazonaws.com"}}
end
@@ -730,7 +730,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: ap-southeast-1, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: ap-southeast-1, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.ap-southeast-1.api.aws"}}
end
@@ -744,7 +744,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: ap-southeast-1, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: ap-southeast-1, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -757,7 +757,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: ap-southeast-1, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: ap-southeast-1, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.ap-southeast-1.amazonaws.com"}}
end
@@ -771,7 +771,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: ap-southeast-1, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: ap-southeast-1, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -784,7 +784,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: ap-southeast-1, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: ap-southeast-1, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.ap-southeast-1.api.aws"}}
end
@@ -798,7 +798,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: ap-southeast-1, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: ap-southeast-1, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.ap-southeast-1.on.aws"}}
end
@@ -812,7 +812,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: ap-southeast-1, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: ap-southeast-1, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.ap-southeast-1.amazonaws.com"}}
end
@@ -826,7 +826,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: ap-southeast-1, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: ap-southeast-1, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ap-southeast-1.neptune-graph.amazonaws.com"}}
end
@@ -840,7 +840,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: ap-northeast-1, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: ap-northeast-1, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.ap-northeast-1.api.aws"}}
end
@@ -854,7 +854,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: ap-northeast-1, useFipsEndpoint: true, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: ap-northeast-1, useFipsEndpoint: true, useDualStackEndpoint: true" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -867,7 +867,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: ap-northeast-1, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: ap-northeast-1, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph-fips.ap-northeast-1.amazonaws.com"}}
end
@@ -881,7 +881,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: ap-northeast-1, useFipsEndpoint: true, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: ap-northeast-1, useFipsEndpoint: true, useDualStackEndpoint: false" do
let(:expected) do
{"error"=>"Invalid Configuration: fips endpoint is not supported for this API"}
end
@@ -894,7 +894,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: ap-northeast-1, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate CP endpoint in region: ap-northeast-1, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.ap-northeast-1.api.aws"}}
end
@@ -908,7 +908,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: ap-northeast-1, useFipsEndpoint: false, useDualStackEndpoint: true' do
+ context "Validate DP endpoint in region: ap-northeast-1, useFipsEndpoint: false, useDualStackEndpoint: true" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.ap-northeast-1.on.aws"}}
end
@@ -922,7 +922,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate CP endpoint in region: ap-northeast-1, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate CP endpoint in region: ap-northeast-1, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://neptune-graph.ap-northeast-1.amazonaws.com"}}
end
@@ -936,7 +936,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate DP endpoint in region: ap-northeast-1, useFipsEndpoint: false, useDualStackEndpoint: false' do
+ context "Validate DP endpoint in region: ap-northeast-1, useFipsEndpoint: false, useDualStackEndpoint: false" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ap-northeast-1.neptune-graph.amazonaws.com"}}
end
@@ -950,7 +950,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate When no region is provided' do
+ context "Validate When no region is provided" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
@@ -963,7 +963,7 @@ module Aws::NeptuneGraph
end
end
- context 'Validate When invalid/unknown ApiType provided' do
+ context "Validate When invalid/unknown ApiType provided" do
let(:expected) do
{"error"=>"Invalid Configuration: Unknown ApiType"}
end
@@ -976,7 +976,7 @@ module Aws::NeptuneGraph
end
end
- context 'Both Fips and dualstack enabled' do
+ context "Both Fips and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -989,7 +989,7 @@ module Aws::NeptuneGraph
end
end
- context 'Fips enabled and dualstack disabled' do
+ context "Fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -1002,7 +1002,7 @@ module Aws::NeptuneGraph
end
end
- context 'Fips disabled and dualstack enabled' do
+ context "Fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
diff --git a/gems/aws-sdk-networkfirewall/CHANGELOG.md b/gems/aws-sdk-networkfirewall/CHANGELOG.md
index 278fa129eb9..b8fb3060854 100644
--- a/gems/aws-sdk-networkfirewall/CHANGELOG.md
+++ b/gems/aws-sdk-networkfirewall/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.51.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.50.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-networkfirewall/VERSION b/gems/aws-sdk-networkfirewall/VERSION
index 5a5c7211dc6..ba0a719118c 100644
--- a/gems/aws-sdk-networkfirewall/VERSION
+++ b/gems/aws-sdk-networkfirewall/VERSION
@@ -1 +1 @@
-1.50.0
+1.51.0
diff --git a/gems/aws-sdk-networkfirewall/aws-sdk-networkfirewall.gemspec b/gems/aws-sdk-networkfirewall/aws-sdk-networkfirewall.gemspec
index ac94161a1ed..655234b15ed 100644
--- a/gems/aws-sdk-networkfirewall/aws-sdk-networkfirewall.gemspec
+++ b/gems/aws-sdk-networkfirewall/aws-sdk-networkfirewall.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-networkfirewall/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall.rb b/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall.rb
index e0b01022b86..106fb400930 100644
--- a/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall.rb
+++ b/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::NetworkFirewall
- GEM_VERSION = '1.50.0'
+ GEM_VERSION = '1.51.0'
end
diff --git a/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/client.rb b/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/client.rb
index 9675601159a..bc78c22804d 100644
--- a/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/client.rb
+++ b/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/client.rb
@@ -3674,7 +3674,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-networkfirewall'
- context[:gem_version] = '1.50.0'
+ context[:gem_version] = '1.51.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/endpoints.rb b/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/endpoints.rb
index d130c546911..0a64314196d 100644
--- a/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/endpoints.rb
+++ b/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/endpoints.rb
@@ -14,504 +14,396 @@ module Endpoints
class AssociateFirewallPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateSubnets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFirewall
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFirewallPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTLSInspectionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFirewall
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFirewallPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTLSInspectionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFirewall
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFirewallPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRuleGroupMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTLSInspectionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateSubnets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFirewallPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFirewalls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuleGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTLSInspectionConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFirewallDeleteProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFirewallDescription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFirewallEncryptionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFirewallPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFirewallPolicyChangeProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubnetChangeProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTLSInspectionConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkFirewall::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/plugins/endpoints.rb b/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/plugins/endpoints.rb
index d77239dbfc2..e3a8fb67314 100644
--- a/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/plugins/endpoints.rb
+++ b/gems/aws-sdk-networkfirewall/lib/aws-sdk-networkfirewall/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-networkfirewall/spec/endpoint_provider_spec.rb b/gems/aws-sdk-networkfirewall/spec/endpoint_provider_spec.rb
index 3cf842d723d..24a6c574c9e 100644
--- a/gems/aws-sdk-networkfirewall/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-networkfirewall/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::NetworkFirewall
describe EndpointProvider do
subject { Aws::NetworkFirewall::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -559,7 +559,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -573,7 +573,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -586,7 +586,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.us-iso-east-1.c2s.ic.gov"}}
end
@@ -600,7 +600,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::NetworkFirewall
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://network-firewall.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -654,7 +654,7 @@ module Aws::NetworkFirewall
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::NetworkFirewall
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::NetworkFirewall
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -695,7 +695,7 @@ module Aws::NetworkFirewall
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -708,7 +708,7 @@ module Aws::NetworkFirewall
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-networkmanager/CHANGELOG.md b/gems/aws-sdk-networkmanager/CHANGELOG.md
index b4f865b88c7..cde2d3a106e 100644
--- a/gems/aws-sdk-networkmanager/CHANGELOG.md
+++ b/gems/aws-sdk-networkmanager/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.51.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.50.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-networkmanager/VERSION b/gems/aws-sdk-networkmanager/VERSION
index 5a5c7211dc6..ba0a719118c 100644
--- a/gems/aws-sdk-networkmanager/VERSION
+++ b/gems/aws-sdk-networkmanager/VERSION
@@ -1 +1 @@
-1.50.0
+1.51.0
diff --git a/gems/aws-sdk-networkmanager/aws-sdk-networkmanager.gemspec b/gems/aws-sdk-networkmanager/aws-sdk-networkmanager.gemspec
index b809c505119..f57721fffcf 100644
--- a/gems/aws-sdk-networkmanager/aws-sdk-networkmanager.gemspec
+++ b/gems/aws-sdk-networkmanager/aws-sdk-networkmanager.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-networkmanager/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager.rb b/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager.rb
index 18214e40796..1eabbf5d2b9 100644
--- a/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager.rb
+++ b/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::NetworkManager
- GEM_VERSION = '1.50.0'
+ GEM_VERSION = '1.51.0'
end
diff --git a/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/client.rb b/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/client.rb
index a0e7ae29f6f..cd744a69b46 100644
--- a/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/client.rb
+++ b/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/client.rb
@@ -5472,7 +5472,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-networkmanager'
- context[:gem_version] = '1.50.0'
+ context[:gem_version] = '1.51.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/endpoints.rb b/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/endpoints.rb
index 485183b544c..649050c4256 100644
--- a/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/endpoints.rb
+++ b/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/endpoints.rb
@@ -14,1190 +14,935 @@ module Endpoints
class AcceptAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateConnectPeer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateCustomerGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateTransitGatewayConnectPeer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnectAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnectPeer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCoreNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGlobalNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSiteToSiteVpnAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayPeering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransitGatewayRouteTableAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnectPeer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCoreNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCoreNetworkPolicyVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGlobalNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePeering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterTransitGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGlobalNetworks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateConnectPeer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateCustomerGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateTransitGatewayConnectPeer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteCoreNetworkChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnectAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnectPeer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnectPeerAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCoreNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCoreNetworkChangeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCoreNetworkChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCoreNetworkPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCustomerGatewayAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLinkAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkResourceCounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkResourceRelationships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkTelemetry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRouteAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSiteToSiteVpnAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSites
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransitGatewayConnectPeerAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransitGatewayPeering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransitGatewayRegistrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTransitGatewayRouteTableAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVpcAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttachments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnectPeers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCoreNetworkPolicyVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCoreNetworks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizationServiceAccessStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPeerings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutCoreNetworkPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterTransitGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreCoreNetworkPolicyVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartOrganizationServiceAccessUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartRouteAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCoreNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGlobalNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNetworkResourceMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVpcAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/plugins/endpoints.rb b/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/plugins/endpoints.rb
index ac093c78912..02858ef319c 100644
--- a/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/plugins/endpoints.rb
+++ b/gems/aws-sdk-networkmanager/lib/aws-sdk-networkmanager/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-networkmanager/spec/endpoint_provider_spec.rb b/gems/aws-sdk-networkmanager/spec/endpoint_provider_spec.rb
index 9af58b34af0..476e33eb1fb 100644
--- a/gems/aws-sdk-networkmanager/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-networkmanager/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::NetworkManager
describe EndpointProvider do
subject { Aws::NetworkManager::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-west-2"}]}, "url"=>"https://networkmanager.us-west-2.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-west-2"}]}, "url"=>"https://networkmanager.us-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::NetworkManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::NetworkManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::NetworkManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::NetworkManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::NetworkManager
end
end
- context 'For region aws-us-gov-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-us-gov-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://networkmanager.us-gov-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"networkmanager", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://networkmanager.us-gov-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::NetworkManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmanager.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::NetworkManager
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::NetworkManager
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::NetworkManager
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::NetworkManager
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::NetworkManager
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-networkmonitor/CHANGELOG.md b/gems/aws-sdk-networkmonitor/CHANGELOG.md
index c0a3bf0fa03..3dcd7d6f039 100644
--- a/gems/aws-sdk-networkmonitor/CHANGELOG.md
+++ b/gems/aws-sdk-networkmonitor/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.11.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.10.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-networkmonitor/VERSION b/gems/aws-sdk-networkmonitor/VERSION
index 81c871de46b..1cac385c6cb 100644
--- a/gems/aws-sdk-networkmonitor/VERSION
+++ b/gems/aws-sdk-networkmonitor/VERSION
@@ -1 +1 @@
-1.10.0
+1.11.0
diff --git a/gems/aws-sdk-networkmonitor/aws-sdk-networkmonitor.gemspec b/gems/aws-sdk-networkmonitor/aws-sdk-networkmonitor.gemspec
index e4a1774ef5e..1e95534720c 100644
--- a/gems/aws-sdk-networkmonitor/aws-sdk-networkmonitor.gemspec
+++ b/gems/aws-sdk-networkmonitor/aws-sdk-networkmonitor.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-networkmonitor/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor.rb b/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor.rb
index b18929828a3..ba3d2087c2c 100644
--- a/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor.rb
+++ b/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::NetworkMonitor
- GEM_VERSION = '1.10.0'
+ GEM_VERSION = '1.11.0'
end
diff --git a/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/client.rb b/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/client.rb
index e647540bc22..6424f2c3971 100644
--- a/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/client.rb
+++ b/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/client.rb
@@ -1100,7 +1100,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-networkmonitor'
- context[:gem_version] = '1.10.0'
+ context[:gem_version] = '1.11.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/endpoints.rb b/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/endpoints.rb
index 7d95a50ed69..56696a26fb0 100644
--- a/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/endpoints.rb
+++ b/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/endpoints.rb
@@ -14,168 +14,132 @@ module Endpoints
class CreateMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProbe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProbe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProbe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMonitors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMonitor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProbe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NetworkMonitor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/plugins/endpoints.rb b/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/plugins/endpoints.rb
index b9ff31cec45..69d5bfeaff6 100644
--- a/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/plugins/endpoints.rb
+++ b/gems/aws-sdk-networkmonitor/lib/aws-sdk-networkmonitor/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-networkmonitor/spec/endpoint_provider_spec.rb b/gems/aws-sdk-networkmonitor/spec/endpoint_provider_spec.rb
index 63f39e9ae74..22187c1aaf0 100644
--- a/gems/aws-sdk-networkmonitor/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-networkmonitor/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::NetworkMonitor
describe EndpointProvider do
subject { Aws::NetworkMonitor::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::NetworkMonitor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://networkmonitor.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::NetworkMonitor
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::NetworkMonitor
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::NetworkMonitor
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::NetworkMonitor
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::NetworkMonitor
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-nimblestudio/CHANGELOG.md b/gems/aws-sdk-nimblestudio/CHANGELOG.md
index bfba66de01a..a44e2489d63 100644
--- a/gems/aws-sdk-nimblestudio/CHANGELOG.md
+++ b/gems/aws-sdk-nimblestudio/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.37.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.36.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-nimblestudio/VERSION b/gems/aws-sdk-nimblestudio/VERSION
index 39fc130ef85..bf50e910e62 100644
--- a/gems/aws-sdk-nimblestudio/VERSION
+++ b/gems/aws-sdk-nimblestudio/VERSION
@@ -1 +1 @@
-1.36.0
+1.37.0
diff --git a/gems/aws-sdk-nimblestudio/aws-sdk-nimblestudio.gemspec b/gems/aws-sdk-nimblestudio/aws-sdk-nimblestudio.gemspec
index e820913d18b..b2fed4c0c16 100644
--- a/gems/aws-sdk-nimblestudio/aws-sdk-nimblestudio.gemspec
+++ b/gems/aws-sdk-nimblestudio/aws-sdk-nimblestudio.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-nimblestudio/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio.rb b/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio.rb
index 19044324612..78f30d41662 100644
--- a/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio.rb
+++ b/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::NimbleStudio
- GEM_VERSION = '1.36.0'
+ GEM_VERSION = '1.37.0'
end
diff --git a/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/client.rb b/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/client.rb
index 750137d0059..3203dbceecf 100644
--- a/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/client.rb
+++ b/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/client.rb
@@ -3814,7 +3814,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-nimblestudio'
- context[:gem_version] = '1.36.0'
+ context[:gem_version] = '1.37.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/endpoints.rb b/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/endpoints.rb
index 5c8609b221c..2f4ac0ec23a 100644
--- a/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/endpoints.rb
+++ b/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/endpoints.rb
@@ -14,686 +14,539 @@ module Endpoints
class AcceptEulas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLaunchProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStreamingImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStreamingSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStreamingSessionStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStudio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStudioComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLaunchProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLaunchProfileMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStreamingImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStreamingSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStudio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStudioComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStudioMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEula
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLaunchProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLaunchProfileDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLaunchProfileInitialization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLaunchProfileMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStreamingImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStreamingSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStreamingSessionBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStreamingSessionStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStudio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStudioComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStudioMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEulaAcceptances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEulas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLaunchProfileMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLaunchProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStreamingImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStreamingSessionBackups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStreamingSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStudioComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStudioMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStudios
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLaunchProfileMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutStudioMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartStreamingSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartStudioSSOConfigurationRepair
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopStreamingSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLaunchProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLaunchProfileMember
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStreamingImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStudio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStudioComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::NimbleStudio::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/plugins/endpoints.rb b/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/plugins/endpoints.rb
index 402ba73b0ef..f8dfee21cf8 100644
--- a/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/plugins/endpoints.rb
+++ b/gems/aws-sdk-nimblestudio/lib/aws-sdk-nimblestudio/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-nimblestudio/spec/endpoint_provider_spec.rb b/gems/aws-sdk-nimblestudio/spec/endpoint_provider_spec.rb
index b5fbadfd708..990b6ab3eb9 100644
--- a/gems/aws-sdk-nimblestudio/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-nimblestudio/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::NimbleStudio
describe EndpointProvider do
subject { Aws::NimbleStudio::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::NimbleStudio
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.ap-southeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::NimbleStudio
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.ca-central-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::NimbleStudio
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.eu-west-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.us-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble-fips.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble-fips.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::NimbleStudio
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::NimbleStudio
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::NimbleStudio
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::NimbleStudio
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.cn-north-1.amazonaws.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble-fips.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -265,7 +265,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -279,7 +279,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -292,7 +292,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.us-iso-east-1.c2s.ic.gov"}}
end
@@ -306,7 +306,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -319,7 +319,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -333,7 +333,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -346,7 +346,7 @@ module Aws::NimbleStudio
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://nimble.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -360,7 +360,7 @@ module Aws::NimbleStudio
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::NimbleStudio
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::NimbleStudio
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -401,7 +401,7 @@ module Aws::NimbleStudio
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -414,7 +414,7 @@ module Aws::NimbleStudio
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-oam/CHANGELOG.md b/gems/aws-sdk-oam/CHANGELOG.md
index 1d72b3ad784..75e514bc9f9 100644
--- a/gems/aws-sdk-oam/CHANGELOG.md
+++ b/gems/aws-sdk-oam/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.23.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.22.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-oam/VERSION b/gems/aws-sdk-oam/VERSION
index 57807d6d0d0..a6c2798a482 100644
--- a/gems/aws-sdk-oam/VERSION
+++ b/gems/aws-sdk-oam/VERSION
@@ -1 +1 @@
-1.22.0
+1.23.0
diff --git a/gems/aws-sdk-oam/aws-sdk-oam.gemspec b/gems/aws-sdk-oam/aws-sdk-oam.gemspec
index f64b99ec9ea..b7bfbb5add1 100644
--- a/gems/aws-sdk-oam/aws-sdk-oam.gemspec
+++ b/gems/aws-sdk-oam/aws-sdk-oam.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-oam/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-oam/lib/aws-sdk-oam.rb b/gems/aws-sdk-oam/lib/aws-sdk-oam.rb
index ed4cefd6f96..76269d6bdad 100644
--- a/gems/aws-sdk-oam/lib/aws-sdk-oam.rb
+++ b/gems/aws-sdk-oam/lib/aws-sdk-oam.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::OAM
- GEM_VERSION = '1.22.0'
+ GEM_VERSION = '1.23.0'
end
diff --git a/gems/aws-sdk-oam/lib/aws-sdk-oam/client.rb b/gems/aws-sdk-oam/lib/aws-sdk-oam/client.rb
index a13813fd23e..2f9fe36aa13 100644
--- a/gems/aws-sdk-oam/lib/aws-sdk-oam/client.rb
+++ b/gems/aws-sdk-oam/lib/aws-sdk-oam/client.rb
@@ -1270,7 +1270,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-oam'
- context[:gem_version] = '1.22.0'
+ context[:gem_version] = '1.23.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-oam/lib/aws-sdk-oam/endpoints.rb b/gems/aws-sdk-oam/lib/aws-sdk-oam/endpoints.rb
index 7ea86d9ff51..35072a7b5c1 100644
--- a/gems/aws-sdk-oam/lib/aws-sdk-oam/endpoints.rb
+++ b/gems/aws-sdk-oam/lib/aws-sdk-oam/endpoints.rb
@@ -14,210 +14,165 @@ module Endpoints
class CreateLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSinkPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttachedLinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSinkPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-oam/lib/aws-sdk-oam/plugins/endpoints.rb b/gems/aws-sdk-oam/lib/aws-sdk-oam/plugins/endpoints.rb
index 5b94202bd4c..8d34d596e0e 100644
--- a/gems/aws-sdk-oam/lib/aws-sdk-oam/plugins/endpoints.rb
+++ b/gems/aws-sdk-oam/lib/aws-sdk-oam/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-oam/spec/endpoint_provider_spec.rb b/gems/aws-sdk-oam/spec/endpoint_provider_spec.rb
index 0724f438179..9d5bb84b37b 100644
--- a/gems/aws-sdk-oam/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-oam/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::OAM
describe EndpointProvider do
subject { Aws::OAM::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::OAM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::OAM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::OAM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::OAM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::OAM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::OAM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::OAM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::OAM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::OAM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::OAM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::OAM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::OAM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::OAM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::OAM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::OAM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::OAM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::OAM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::OAM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::OAM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://oam.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::OAM
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::OAM
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::OAM
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::OAM
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::OAM
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-omics/CHANGELOG.md b/gems/aws-sdk-omics/CHANGELOG.md
index 3b62e4a9bb8..5c99ce17c81 100644
--- a/gems/aws-sdk-omics/CHANGELOG.md
+++ b/gems/aws-sdk-omics/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.35.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.34.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-omics/VERSION b/gems/aws-sdk-omics/VERSION
index 2b17ffd5042..2aeaa11ee27 100644
--- a/gems/aws-sdk-omics/VERSION
+++ b/gems/aws-sdk-omics/VERSION
@@ -1 +1 @@
-1.34.0
+1.35.0
diff --git a/gems/aws-sdk-omics/aws-sdk-omics.gemspec b/gems/aws-sdk-omics/aws-sdk-omics.gemspec
index 5d09ff4190a..cfcb0fc64f1 100644
--- a/gems/aws-sdk-omics/aws-sdk-omics.gemspec
+++ b/gems/aws-sdk-omics/aws-sdk-omics.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-omics/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-omics/lib/aws-sdk-omics.rb b/gems/aws-sdk-omics/lib/aws-sdk-omics.rb
index 71857d62761..d3457e1fb0a 100644
--- a/gems/aws-sdk-omics/lib/aws-sdk-omics.rb
+++ b/gems/aws-sdk-omics/lib/aws-sdk-omics.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Omics
- GEM_VERSION = '1.34.0'
+ GEM_VERSION = '1.35.0'
end
diff --git a/gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb b/gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb
index da9997e4f3b..30560a849f5 100644
--- a/gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb
+++ b/gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb
@@ -4777,7 +4777,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-omics'
- context[:gem_version] = '1.34.0'
+ context[:gem_version] = '1.35.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-omics/lib/aws-sdk-omics/endpoints.rb b/gems/aws-sdk-omics/lib/aws-sdk-omics/endpoints.rb
index ecfb9f541be..056f2d99174 100644
--- a/gems/aws-sdk-omics/lib/aws-sdk-omics/endpoints.rb
+++ b/gems/aws-sdk-omics/lib/aws-sdk-omics/endpoints.rb
@@ -14,1148 +14,902 @@ module Endpoints
class AbortMultipartReadSetUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AcceptShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteReadSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelAnnotationImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelVariantImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CompleteMultipartReadSetUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAnnotationStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAnnotationStoreVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMultipartReadSetUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReferenceStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRunGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSequenceStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVariantStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAnnotationStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAnnotationStoreVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReference
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReferenceStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRunGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSequenceStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVariantStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAnnotationImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAnnotationStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAnnotationStoreVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReadSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReadSetActivationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReadSetExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReadSetImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReadSetMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReference
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReferenceImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReferenceMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReferenceStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRunGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRunTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSequenceStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVariantImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVariantStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnnotationImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnnotationStoreVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnnotationStores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMultipartReadSetUploads
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReadSetActivationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReadSetExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReadSetImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReadSetUploadParts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReadSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReferenceImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReferenceStores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReferences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRunGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRunTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSequenceStores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVariantImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVariantStores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAnnotationImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReadSetActivationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReadSetExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReadSetImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReferenceImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartVariantImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAnnotationStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAnnotationStoreVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRunGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVariantStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UploadReadSetPart
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Omics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-omics/lib/aws-sdk-omics/plugins/endpoints.rb b/gems/aws-sdk-omics/lib/aws-sdk-omics/plugins/endpoints.rb
index b4fee664a79..c7bc53982a2 100644
--- a/gems/aws-sdk-omics/lib/aws-sdk-omics/plugins/endpoints.rb
+++ b/gems/aws-sdk-omics/lib/aws-sdk-omics/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-omics/spec/endpoint_provider_spec.rb b/gems/aws-sdk-omics/spec/endpoint_provider_spec.rb
index cf3792e0f41..e95b2c88a26 100644
--- a/gems/aws-sdk-omics/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-omics/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Omics
describe EndpointProvider do
subject { Aws::Omics::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Omics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Omics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Omics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Omics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Omics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Omics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Omics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Omics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Omics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Omics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Omics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Omics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Omics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Omics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Omics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Omics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Omics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Omics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Omics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://omics.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Omics
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Omics
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Omics
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Omics
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Omics
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-opensearchserverless/CHANGELOG.md b/gems/aws-sdk-opensearchserverless/CHANGELOG.md
index ca989b574c0..8ab5c5b924b 100644
--- a/gems/aws-sdk-opensearchserverless/CHANGELOG.md
+++ b/gems/aws-sdk-opensearchserverless/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.25.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.24.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-opensearchserverless/VERSION b/gems/aws-sdk-opensearchserverless/VERSION
index 53cc1a6f929..ad2191947f7 100644
--- a/gems/aws-sdk-opensearchserverless/VERSION
+++ b/gems/aws-sdk-opensearchserverless/VERSION
@@ -1 +1 @@
-1.24.0
+1.25.0
diff --git a/gems/aws-sdk-opensearchserverless/aws-sdk-opensearchserverless.gemspec b/gems/aws-sdk-opensearchserverless/aws-sdk-opensearchserverless.gemspec
index 6e22fef4536..6753315f283 100644
--- a/gems/aws-sdk-opensearchserverless/aws-sdk-opensearchserverless.gemspec
+++ b/gems/aws-sdk-opensearchserverless/aws-sdk-opensearchserverless.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-opensearchserverless/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless.rb b/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless.rb
index 29f6b48c63a..898099415cb 100644
--- a/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless.rb
+++ b/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::OpenSearchServerless
- GEM_VERSION = '1.24.0'
+ GEM_VERSION = '1.25.0'
end
diff --git a/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/client.rb b/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/client.rb
index 4b6534e1c4b..6e732ff180f 100644
--- a/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/client.rb
+++ b/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/client.rb
@@ -2382,7 +2382,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-opensearchserverless'
- context[:gem_version] = '1.24.0'
+ context[:gem_version] = '1.25.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/endpoints.rb b/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/endpoints.rb
index e77b07c5a08..3d5e1737379 100644
--- a/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/endpoints.rb
+++ b/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/endpoints.rb
@@ -14,518 +14,407 @@ module Endpoints
class BatchGetCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetEffectiveLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSecurityConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSecurityPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSecurityConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSecurityPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPoliciesStats
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSecurityConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSecurityPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCollections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLifecyclePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVpcEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccessPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLifecyclePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSecurityConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSecurityPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/plugins/endpoints.rb b/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/plugins/endpoints.rb
index 0c400ea8ebd..ca97f7c6ea6 100644
--- a/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/plugins/endpoints.rb
+++ b/gems/aws-sdk-opensearchserverless/lib/aws-sdk-opensearchserverless/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-opensearchserverless/spec/endpoint_provider_spec.rb b/gems/aws-sdk-opensearchserverless/spec/endpoint_provider_spec.rb
index 5eff5b9b7db..dca34620000 100644
--- a/gems/aws-sdk-opensearchserverless/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-opensearchserverless/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::OpenSearchServerless
describe EndpointProvider do
subject { Aws::OpenSearchServerless::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aoss.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::OpenSearchServerless
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::OpenSearchServerless
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-opensearchservice/CHANGELOG.md b/gems/aws-sdk-opensearchservice/CHANGELOG.md
index 61962c01d69..60fcf59bf0a 100644
--- a/gems/aws-sdk-opensearchservice/CHANGELOG.md
+++ b/gems/aws-sdk-opensearchservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.53.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.52.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-opensearchservice/VERSION b/gems/aws-sdk-opensearchservice/VERSION
index a63cb35e6f0..3f4830156cb 100644
--- a/gems/aws-sdk-opensearchservice/VERSION
+++ b/gems/aws-sdk-opensearchservice/VERSION
@@ -1 +1 @@
-1.52.0
+1.53.0
diff --git a/gems/aws-sdk-opensearchservice/aws-sdk-opensearchservice.gemspec b/gems/aws-sdk-opensearchservice/aws-sdk-opensearchservice.gemspec
index edb4bb73261..3642a9648c1 100644
--- a/gems/aws-sdk-opensearchservice/aws-sdk-opensearchservice.gemspec
+++ b/gems/aws-sdk-opensearchservice/aws-sdk-opensearchservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-opensearchservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb
index 07e4296d19f..2316ffce15d 100644
--- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb
+++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::OpenSearchService
- GEM_VERSION = '1.52.0'
+ GEM_VERSION = '1.53.0'
end
diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb
index fcb75f0430a..a4e4280cf53 100644
--- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb
+++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/client.rb
@@ -4837,7 +4837,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-opensearchservice'
- context[:gem_version] = '1.52.0'
+ context[:gem_version] = '1.53.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/endpoints.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/endpoints.rb
index 385d76826c2..84a0ff80294 100644
--- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/endpoints.rb
+++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/endpoints.rb
@@ -14,882 +14,693 @@ module Endpoints
class AcceptInboundConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociatePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeVpcEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelDomainConfigChange
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelServiceSoftwareUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOutboundConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInboundConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOutboundConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomainAutoTunes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomainChangeProgress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomainConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomainHealth
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomainNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDryRunProgress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInboundConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceTypeLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOutboundConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedInstanceOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVpcEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DissociatePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCompatibleVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainMaintenanceStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPackageVersionHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUpgradeHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUpgradeStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainMaintenances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainNames
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainsForPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstanceTypeDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackagesForDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListScheduledActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVpcEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVpcEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVpcEndpointsForDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseReservedInstanceOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectInboundConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeVpcEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDomainMaintenance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartServiceSoftwareUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVpcEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpgradeDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpenSearchService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/plugins/endpoints.rb b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/plugins/endpoints.rb
index d7a81d717f2..1e6876cf036 100644
--- a/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-opensearchservice/lib/aws-sdk-opensearchservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-opensearchservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-opensearchservice/spec/endpoint_provider_spec.rb
index 1661ea9c99b..1229599b661 100644
--- a/gems/aws-sdk-opensearchservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-opensearchservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::OpenSearchService
describe EndpointProvider do
subject { Aws::OpenSearchService::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::OpenSearchService
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::OpenSearchService
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::OpenSearchService
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::OpenSearchService
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::OpenSearchService
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::OpenSearchService
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::OpenSearchService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::OpenSearchService
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::OpenSearchService
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::OpenSearchService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::OpenSearchService
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::OpenSearchService
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::OpenSearchService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::OpenSearchService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::OpenSearchService
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::OpenSearchService
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::OpenSearchService
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aos.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::OpenSearchService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::OpenSearchService
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::OpenSearchService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::OpenSearchService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::OpenSearchService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aos.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aos.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://es-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::OpenSearchService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::OpenSearchService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::OpenSearchService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::OpenSearchService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::OpenSearchService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::OpenSearchService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-opsworks/CHANGELOG.md b/gems/aws-sdk-opsworks/CHANGELOG.md
index da52a53b81d..797cd28bc4b 100644
--- a/gems/aws-sdk-opsworks/CHANGELOG.md
+++ b/gems/aws-sdk-opsworks/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.64.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.63.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-opsworks/VERSION b/gems/aws-sdk-opsworks/VERSION
index af92bdd9f58..9405730420f 100644
--- a/gems/aws-sdk-opsworks/VERSION
+++ b/gems/aws-sdk-opsworks/VERSION
@@ -1 +1 @@
-1.63.0
+1.64.0
diff --git a/gems/aws-sdk-opsworks/aws-sdk-opsworks.gemspec b/gems/aws-sdk-opsworks/aws-sdk-opsworks.gemspec
index 5fca47a315a..dc3b7eb3e6f 100644
--- a/gems/aws-sdk-opsworks/aws-sdk-opsworks.gemspec
+++ b/gems/aws-sdk-opsworks/aws-sdk-opsworks.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-opsworks/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks.rb b/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks.rb
index 43a2e341487..ffd0ebaf060 100644
--- a/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks.rb
+++ b/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks.rb
@@ -56,6 +56,6 @@
# @!group service
module Aws::OpsWorks
- GEM_VERSION = '1.63.0'
+ GEM_VERSION = '1.64.0'
end
diff --git a/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/client.rb b/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/client.rb
index 3457811bec1..1841d8fc5f1 100644
--- a/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/client.rb
+++ b/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/client.rb
@@ -5786,7 +5786,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-opsworks'
- context[:gem_version] = '1.63.0'
+ context[:gem_version] = '1.64.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/endpoints.rb b/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/endpoints.rb
index bc0fa5c47f5..ce13e9133c4 100644
--- a/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/endpoints.rb
+++ b/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/endpoints.rb
@@ -14,1036 +14,814 @@ module Endpoints
class AssignInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssignVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateElasticIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachElasticLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CloneStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLayer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLayer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterEcsCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterElasticIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterRdsDbInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAgentVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCommands
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEcsClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeElasticIps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeElasticLoadBalancers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLayers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoadBasedAutoScaling
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMyUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOperatingSystems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRaidArrays
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRdsDbInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServiceErrors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStackProvisioningParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStackSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStacks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTimeBasedAutoScaling
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUserProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVolumes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachElasticLoadBalancer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateElasticIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHostnameSuggestion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GrantAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterEcsCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterElasticIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterRdsDbInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetLoadBasedAutoScaling
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetTimeBasedAutoScaling
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnassignInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnassignVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateElasticIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLayer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMyUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRdsDbInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/plugins/endpoints.rb b/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/plugins/endpoints.rb
index af7c543e7b1..b382c13e205 100644
--- a/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/plugins/endpoints.rb
+++ b/gems/aws-sdk-opsworks/lib/aws-sdk-opsworks/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-opsworks/spec/endpoint_provider_spec.rb b/gems/aws-sdk-opsworks/spec/endpoint_provider_spec.rb
index fb20b767b86..1f51b19bcae 100644
--- a/gems/aws-sdk-opsworks/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-opsworks/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::OpsWorks
describe EndpointProvider do
subject { Aws::OpsWorks::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::OpsWorks
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::OpsWorks
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::OpsWorks
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::OpsWorks
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::OpsWorks
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::OpsWorks
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::OpsWorks
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::OpsWorks
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::OpsWorks
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.eu-west-3.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::OpsWorks
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.sa-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.us-east-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.us-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.us-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-fips.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-fips.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.us-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::OpsWorks
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::OpsWorks
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::OpsWorks
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::OpsWorks
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.cn-north-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-fips.us-gov-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.us-gov-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.us-gov-east-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -391,7 +391,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -405,7 +405,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -418,7 +418,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.us-iso-east-1.c2s.ic.gov"}}
end
@@ -432,7 +432,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -445,7 +445,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -459,7 +459,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -472,7 +472,7 @@ module Aws::OpsWorks
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -486,7 +486,7 @@ module Aws::OpsWorks
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -500,7 +500,7 @@ module Aws::OpsWorks
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::OpsWorks
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -527,7 +527,7 @@ module Aws::OpsWorks
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -540,7 +540,7 @@ module Aws::OpsWorks
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-opsworkscm/CHANGELOG.md b/gems/aws-sdk-opsworkscm/CHANGELOG.md
index dd37bbf6aa5..69042163708 100644
--- a/gems/aws-sdk-opsworkscm/CHANGELOG.md
+++ b/gems/aws-sdk-opsworkscm/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.74.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.73.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-opsworkscm/VERSION b/gems/aws-sdk-opsworkscm/VERSION
index 5e3a4256626..dc87e8af82f 100644
--- a/gems/aws-sdk-opsworkscm/VERSION
+++ b/gems/aws-sdk-opsworkscm/VERSION
@@ -1 +1 @@
-1.73.0
+1.74.0
diff --git a/gems/aws-sdk-opsworkscm/aws-sdk-opsworkscm.gemspec b/gems/aws-sdk-opsworkscm/aws-sdk-opsworkscm.gemspec
index 7d97cbe3e05..3c9ae612f97 100644
--- a/gems/aws-sdk-opsworkscm/aws-sdk-opsworkscm.gemspec
+++ b/gems/aws-sdk-opsworkscm/aws-sdk-opsworkscm.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-opsworkscm/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm.rb b/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm.rb
index 369824654c6..a7666e21a8f 100644
--- a/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm.rb
+++ b/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::OpsWorksCM
- GEM_VERSION = '1.73.0'
+ GEM_VERSION = '1.74.0'
end
diff --git a/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/client.rb b/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/client.rb
index 1c825b4d801..cbac7994bf0 100644
--- a/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/client.rb
+++ b/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/client.rb
@@ -1935,7 +1935,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-opsworkscm'
- context[:gem_version] = '1.73.0'
+ context[:gem_version] = '1.74.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/endpoints.rb b/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/endpoints.rb
index 03ed8444e87..8e30dd56e8a 100644
--- a/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/endpoints.rb
+++ b/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/endpoints.rb
@@ -14,266 +14,209 @@ module Endpoints
class AssociateNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBackups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNodeAssociationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportServerEngineAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMaintenance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServerEngineAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OpsWorksCM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/plugins/endpoints.rb b/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/plugins/endpoints.rb
index abcdacc4052..aafd795b2d5 100644
--- a/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/plugins/endpoints.rb
+++ b/gems/aws-sdk-opsworkscm/lib/aws-sdk-opsworkscm/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-opsworkscm/spec/endpoint_provider_spec.rb b/gems/aws-sdk-opsworkscm/spec/endpoint_provider_spec.rb
index 44a1268fea6..f231f3bd58d 100644
--- a/gems/aws-sdk-opsworkscm/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-opsworkscm/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::OpsWorksCM
describe EndpointProvider do
subject { Aws::OpsWorksCM::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.eu-west-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.us-east-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.us-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.us-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm-fips.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm-fips.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm-fips.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -307,7 +307,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -321,7 +321,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -334,7 +334,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.us-iso-east-1.c2s.ic.gov"}}
end
@@ -348,7 +348,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -361,7 +361,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -375,7 +375,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -388,7 +388,7 @@ module Aws::OpsWorksCM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://opsworks-cm.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -402,7 +402,7 @@ module Aws::OpsWorksCM
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -416,7 +416,7 @@ module Aws::OpsWorksCM
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::OpsWorksCM
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -443,7 +443,7 @@ module Aws::OpsWorksCM
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -456,7 +456,7 @@ module Aws::OpsWorksCM
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-organizations/CHANGELOG.md b/gems/aws-sdk-organizations/CHANGELOG.md
index 70653018bee..98f369ae04f 100644
--- a/gems/aws-sdk-organizations/CHANGELOG.md
+++ b/gems/aws-sdk-organizations/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.100.0 (2024-09-16)
+------------------
+
+* Feature - Doc only update for AWS Organizations that fixes several customer-reported issues
+
+1.99.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.98.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-organizations/VERSION b/gems/aws-sdk-organizations/VERSION
index 783fda86436..7a9fecd3f0e 100644
--- a/gems/aws-sdk-organizations/VERSION
+++ b/gems/aws-sdk-organizations/VERSION
@@ -1 +1 @@
-1.98.0
+1.100.0
diff --git a/gems/aws-sdk-organizations/aws-sdk-organizations.gemspec b/gems/aws-sdk-organizations/aws-sdk-organizations.gemspec
index aa0e8e63210..fc85bbfcda2 100644
--- a/gems/aws-sdk-organizations/aws-sdk-organizations.gemspec
+++ b/gems/aws-sdk-organizations/aws-sdk-organizations.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-organizations/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-organizations/lib/aws-sdk-organizations.rb b/gems/aws-sdk-organizations/lib/aws-sdk-organizations.rb
index 77f46935f99..52a786f28ac 100644
--- a/gems/aws-sdk-organizations/lib/aws-sdk-organizations.rb
+++ b/gems/aws-sdk-organizations/lib/aws-sdk-organizations.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Organizations
- GEM_VERSION = '1.98.0'
+ GEM_VERSION = '1.100.0'
end
diff --git a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/client.rb b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/client.rb
index 644ad861458..cc306983ba5 100644
--- a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/client.rb
+++ b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/client.rb
@@ -825,9 +825,9 @@ def cancel_handshake(params = {}, options = {})
# * You can close only 10% of member accounts, between 10 and 1000,
# within a rolling 30 day period. This quota is not bound by a
# calendar month, but starts when you close an account. After you
- # reach this limit, you can close additional accounts. For more
+ # reach this limit, you can't close additional accounts. For more
# information, see [Closing a member account in your organization][3]
- # and [Quotas for Organizations][4]in the *Organizations User Guide*.
+ # and [Quotas for Organizations][4] in the *Organizations User Guide*.
#
# * To reinstate a closed account, contact Amazon Web Services Support
# within the 90-day grace period while the account is in SUSPENDED
@@ -928,12 +928,12 @@ def close_account(params = {}, options = {})
# then try again. If the error persists, contact [Amazon Web Services
# Support][5].
#
- # * Using `CreateAccount` to create multiple temporary accounts isn't
- # recommended. You can only close an account from the Billing and Cost
- # Management console, and you must be signed in as the root user. For
- # information on the requirements and process for closing an account,
- # see [Closing a member account in your organization][6] in the
- # *Organizations User Guide*.
+ # * It isn't recommended to use `CreateAccount` to create multiple
+ # temporary accounts, and using the `CreateAccount` API to close
+ # accounts is subject to a 30-day usage quota. For information on the
+ # requirements and process for closing an account, see [Closing a
+ # member account in your organization][6] in the *Organizations User
+ # Guide*.
#
# When you create a member account with this operation, you can choose
# whether to create the account with the **IAM User and Role Access to
@@ -2476,7 +2476,7 @@ def describe_organization(params = {}, options = {})
#
# @example Example: To get information about an organizational unit
#
- # # The following example shows how to request details about an OU:/n/n
+ # # The following example shows how to request details about an OU:
#
# resp = client.describe_organizational_unit({
# organizational_unit_id: "ou-examplerootid111-exampleouid111",
@@ -2896,12 +2896,13 @@ def disable_policy_type(params = {}, options = {})
req.send_request(options)
end
- # Enables the integration of an Amazon Web Services service (the service
- # that is specified by `ServicePrincipal`) with Organizations. When you
- # enable integration, you allow the specified service to create a
- # [service-linked role][1] in all the accounts in your organization.
- # This allows the service to perform operations on your behalf in your
- # organization and its accounts.
+ # Provides an Amazon Web Services service (the service that is specified
+ # by `ServicePrincipal`) with permissions to view the structure of an
+ # organization, create a [service-linked role][1] in all the accounts in
+ # the organization, and allow the service to perform operations on
+ # behalf of the organization and its accounts. Establishing these
+ # permissions can be a first step in enabling the integration of an
+ # Amazon Web Services service with Organizations.
#
# We recommend that you enable integration between Organizations and the
# specified Amazon Web Services service by using the console or commands
@@ -3393,8 +3394,9 @@ def invite_account_to_organization(params = {}, options = {})
# support tags.
#
# * A newly created account has a waiting period before it can be
- # removed from its organization. If you get an error that indicates
- # that a wait period is required, then try again in a few days.
+ # removed from its organization. You must wait until at least seven
+ # days after the account was created. Invited accounts aren't subject
+ # to this waiting period.
#
# * If you are using an organization principal to call
# `LeaveOrganization` across multiple accounts, you can only do this
@@ -5806,7 +5808,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-organizations'
- context[:gem_version] = '1.98.0'
+ context[:gem_version] = '1.100.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/endpoints.rb b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/endpoints.rb
index 7da5265f801..f6e090d8f7f 100644
--- a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/endpoints.rb
+++ b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/endpoints.rb
@@ -14,770 +14,605 @@ module Endpoints
class AcceptHandshake
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelHandshake
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CloseAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGovCloudAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOrganizationalUnit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeclineHandshake
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOrganizationalUnit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterDelegatedAdministrator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCreateAccountStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEffectivePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHandshake
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationalUnit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableAWSServiceAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisablePolicyType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableAWSServiceAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableAllFeatures
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnablePolicyType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InviteAccountToOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class LeaveOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAWSServiceAccessForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountsForParent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChildren
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCreateAccountStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDelegatedAdministrators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDelegatedServicesForAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHandshakesForAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHandshakesForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizationalUnitsForParent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListParents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPoliciesForTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTargetsForPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MoveAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterDelegatedAdministrator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveAccountFromOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOrganizationalUnit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Organizations::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/plugins/endpoints.rb b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/plugins/endpoints.rb
index c3ea6916ad2..44961b142c7 100644
--- a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/plugins/endpoints.rb
+++ b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb
index 08b96c9dbf6..efdf79cd3d8 100644
--- a/gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb
+++ b/gems/aws-sdk-organizations/lib/aws-sdk-organizations/types.rb
@@ -605,9 +605,9 @@ class ConflictException < Struct.new(
# for this account.
#
# * WAIT\_PERIOD\_ACTIVE: After you create an Amazon Web Services
- # account, there is a waiting period before you can remove it from the
- # organization. If you get an error that indicates that a wait period
- # is required, try again in a few days.
+ # account, you must wait until at least seven days after the account
+ # was created. Invited accounts aren't subject to this waiting
+ # period.
#
#
#
@@ -1598,7 +1598,8 @@ class DescribeHandshakeResponse < Struct.new(
#
# The `AvailablePolicyTypes` part of the response is deprecated, and
# you shouldn't use it in your apps. It doesn't include any policy
- # type supported by Organizations other than SCPs. To determine which
+ # type supported by Organizations other than SCPs. In the China
+ # (Ningxia) Region, no policy type is included. To determine which
# policy types are enabled in your organization, use the ` ListRoots `
# operation.
# @return [Types::Organization]
diff --git a/gems/aws-sdk-organizations/spec/endpoint_provider_spec.rb b/gems/aws-sdk-organizations/spec/endpoint_provider_spec.rb
index a593f130c15..5c5b79fee86 100644
--- a/gems/aws-sdk-organizations/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-organizations/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Organizations
describe EndpointProvider do
subject { Aws::Organizations::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-east-1"}]}, "url"=>"https://organizations.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Organizations
end
end
- context 'For region aws-global with FIPS enabled and DualStack disabled' do
+ context "For region aws-global with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-east-1"}]}, "url"=>"https://organizations-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Organizations
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://organizations-fips.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Organizations
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-east-1"}]}, "url"=>"https://organizations-fips.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Organizations
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://organizations.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::Organizations
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-east-1"}]}, "url"=>"https://organizations.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Organizations
end
end
- context 'For region aws-cn-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-cn-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://organizations.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Organizations
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://organizations-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Organizations
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://organizations-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Organizations
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://organizations.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::Organizations
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://organizations.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::Organizations
end
end
- context 'For region aws-us-gov-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-us-gov-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://organizations.us-gov-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Organizations
end
end
- context 'For region aws-us-gov-global with FIPS enabled and DualStack disabled' do
+ context "For region aws-us-gov-global with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://organizations.us-gov-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Organizations
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://organizations-fips.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::Organizations
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://organizations.us-gov-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Organizations
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://organizations.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::Organizations
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://organizations.us-gov-west-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Organizations
end
end
- context 'For region aws-iso-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-iso-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://organizations.us-iso-east-1.c2s.ic.gov"}}
end
@@ -266,7 +266,7 @@ module Aws::Organizations
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::Organizations
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://organizations-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::Organizations
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::Organizations
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://organizations.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::Organizations
end
end
- context 'For region aws-iso-b-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-iso-b-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://organizations.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -334,7 +334,7 @@ module Aws::Organizations
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -347,7 +347,7 @@ module Aws::Organizations
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://organizations-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -361,7 +361,7 @@ module Aws::Organizations
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -374,7 +374,7 @@ module Aws::Organizations
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://organizations.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -388,7 +388,7 @@ module Aws::Organizations
end
end
- context 'For region us-isof-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isof-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"organizations", "signingRegion"=>"us-isof-south-1"}]}, "url"=>"https://organizations.us-isof-south-1.csp.hci.ic.gov"}}
end
@@ -402,7 +402,7 @@ module Aws::Organizations
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -416,7 +416,7 @@ module Aws::Organizations
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::Organizations
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -443,7 +443,7 @@ module Aws::Organizations
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -456,7 +456,7 @@ module Aws::Organizations
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-osis/CHANGELOG.md b/gems/aws-sdk-osis/CHANGELOG.md
index 9fd47fe0936..2829336a889 100644
--- a/gems/aws-sdk-osis/CHANGELOG.md
+++ b/gems/aws-sdk-osis/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.23.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.22.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-osis/VERSION b/gems/aws-sdk-osis/VERSION
index 57807d6d0d0..a6c2798a482 100644
--- a/gems/aws-sdk-osis/VERSION
+++ b/gems/aws-sdk-osis/VERSION
@@ -1 +1 @@
-1.22.0
+1.23.0
diff --git a/gems/aws-sdk-osis/aws-sdk-osis.gemspec b/gems/aws-sdk-osis/aws-sdk-osis.gemspec
index 8bfb9187d36..8f991c16ff2 100644
--- a/gems/aws-sdk-osis/aws-sdk-osis.gemspec
+++ b/gems/aws-sdk-osis/aws-sdk-osis.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-osis/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-osis/lib/aws-sdk-osis.rb b/gems/aws-sdk-osis/lib/aws-sdk-osis.rb
index 3be6ddb8e61..88a3d43ce86 100644
--- a/gems/aws-sdk-osis/lib/aws-sdk-osis.rb
+++ b/gems/aws-sdk-osis/lib/aws-sdk-osis.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::OSIS
- GEM_VERSION = '1.22.0'
+ GEM_VERSION = '1.23.0'
end
diff --git a/gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb b/gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb
index 6a232abece4..72e2944877d 100644
--- a/gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb
+++ b/gems/aws-sdk-osis/lib/aws-sdk-osis/client.rb
@@ -1240,7 +1240,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-osis'
- context[:gem_version] = '1.22.0'
+ context[:gem_version] = '1.23.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-osis/lib/aws-sdk-osis/endpoints.rb b/gems/aws-sdk-osis/lib/aws-sdk-osis/endpoints.rb
index 3f22b35d0fa..74a4e0165b6 100644
--- a/gems/aws-sdk-osis/lib/aws-sdk-osis/endpoints.rb
+++ b/gems/aws-sdk-osis/lib/aws-sdk-osis/endpoints.rb
@@ -14,196 +14,154 @@ module Endpoints
class CreatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPipelineBlueprint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPipelineChangeProgress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipelineBlueprints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopPipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::OSIS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-osis/lib/aws-sdk-osis/plugins/endpoints.rb b/gems/aws-sdk-osis/lib/aws-sdk-osis/plugins/endpoints.rb
index fb82aef4072..c117c711167 100644
--- a/gems/aws-sdk-osis/lib/aws-sdk-osis/plugins/endpoints.rb
+++ b/gems/aws-sdk-osis/lib/aws-sdk-osis/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-osis/spec/endpoint_provider_spec.rb b/gems/aws-sdk-osis/spec/endpoint_provider_spec.rb
index c6376db867a..3cd0e2bf687 100644
--- a/gems/aws-sdk-osis/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-osis/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::OSIS
describe EndpointProvider do
subject { Aws::OSIS::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::OSIS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::OSIS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::OSIS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::OSIS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::OSIS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::OSIS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::OSIS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::OSIS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::OSIS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::OSIS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::OSIS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::OSIS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::OSIS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::OSIS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::OSIS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::OSIS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::OSIS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::OSIS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::OSIS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://osis.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::OSIS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::OSIS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::OSIS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::OSIS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::OSIS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-outposts/CHANGELOG.md b/gems/aws-sdk-outposts/CHANGELOG.md
index 079ef43ee18..edd0a341e54 100644
--- a/gems/aws-sdk-outposts/CHANGELOG.md
+++ b/gems/aws-sdk-outposts/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.66.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.65.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-outposts/VERSION b/gems/aws-sdk-outposts/VERSION
index 902c74186fb..b6148bc0a75 100644
--- a/gems/aws-sdk-outposts/VERSION
+++ b/gems/aws-sdk-outposts/VERSION
@@ -1 +1 @@
-1.65.0
+1.66.0
diff --git a/gems/aws-sdk-outposts/aws-sdk-outposts.gemspec b/gems/aws-sdk-outposts/aws-sdk-outposts.gemspec
index 75e39a0b7e4..f430a88f441 100644
--- a/gems/aws-sdk-outposts/aws-sdk-outposts.gemspec
+++ b/gems/aws-sdk-outposts/aws-sdk-outposts.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-outposts/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-outposts/lib/aws-sdk-outposts.rb b/gems/aws-sdk-outposts/lib/aws-sdk-outposts.rb
index dbb4f2776c0..d09a0a4a19f 100644
--- a/gems/aws-sdk-outposts/lib/aws-sdk-outposts.rb
+++ b/gems/aws-sdk-outposts/lib/aws-sdk-outposts.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Outposts
- GEM_VERSION = '1.65.0'
+ GEM_VERSION = '1.66.0'
end
diff --git a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb
index 34bdc2d3bce..abe5bbdc6cb 100644
--- a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb
+++ b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/client.rb
@@ -2152,7 +2152,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-outposts'
- context[:gem_version] = '1.65.0'
+ context[:gem_version] = '1.66.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/endpoints.rb b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/endpoints.rb
index 67b2226af57..66c58e22a0d 100644
--- a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/endpoints.rb
+++ b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/endpoints.rb
@@ -14,434 +14,341 @@ module Endpoints
class CancelCapacityTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelOrder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOrder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOutpost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOutpost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCapacityTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCatalogItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOrder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOutpost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOutpostInstanceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOutpostSupportedInstanceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSiteAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCapacityTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCatalogItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOutposts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSites
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCapacityTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOutpost
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSiteAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSiteRackPhysicalProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/plugins/endpoints.rb b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/plugins/endpoints.rb
index c459efe0699..214053dc4e2 100644
--- a/gems/aws-sdk-outposts/lib/aws-sdk-outposts/plugins/endpoints.rb
+++ b/gems/aws-sdk-outposts/lib/aws-sdk-outposts/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-outposts/spec/endpoint_provider_spec.rb b/gems/aws-sdk-outposts/spec/endpoint_provider_spec.rb
index 873729d342b..294f0838f57 100644
--- a/gems/aws-sdk-outposts/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-outposts/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Outposts
describe EndpointProvider do
subject { Aws::Outposts::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Outposts
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Outposts
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Outposts
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Outposts
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Outposts
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Outposts
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Outposts
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Outposts
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Outposts
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts-fips.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Outposts
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Outposts
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Outposts
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Outposts
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Outposts
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Outposts
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Outposts
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Outposts
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Outposts
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Outposts
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Outposts
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Outposts
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Outposts
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Outposts
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Outposts
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Outposts
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Outposts
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Outposts
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Outposts
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Outposts
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Outposts
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Outposts
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::Outposts
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::Outposts
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Outposts
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Outposts
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Outposts
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts-fips.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::Outposts
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::Outposts
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-iso-east-1.c2s.ic.gov"}}
end
@@ -560,7 +560,7 @@ module Aws::Outposts
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::Outposts
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::Outposts
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::Outposts
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::Outposts
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::Outposts
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::Outposts
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://outposts.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -654,7 +654,7 @@ module Aws::Outposts
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::Outposts
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::Outposts
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -695,7 +695,7 @@ module Aws::Outposts
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -708,7 +708,7 @@ module Aws::Outposts
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-panorama/CHANGELOG.md b/gems/aws-sdk-panorama/CHANGELOG.md
index ca83b0274c2..f9a77c124bc 100644
--- a/gems/aws-sdk-panorama/CHANGELOG.md
+++ b/gems/aws-sdk-panorama/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.32.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.31.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-panorama/VERSION b/gems/aws-sdk-panorama/VERSION
index 34aae156b19..359c41089a4 100644
--- a/gems/aws-sdk-panorama/VERSION
+++ b/gems/aws-sdk-panorama/VERSION
@@ -1 +1 @@
-1.31.0
+1.32.0
diff --git a/gems/aws-sdk-panorama/aws-sdk-panorama.gemspec b/gems/aws-sdk-panorama/aws-sdk-panorama.gemspec
index d9bae8a3766..4041928361f 100644
--- a/gems/aws-sdk-panorama/aws-sdk-panorama.gemspec
+++ b/gems/aws-sdk-panorama/aws-sdk-panorama.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-panorama/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-panorama/lib/aws-sdk-panorama.rb b/gems/aws-sdk-panorama/lib/aws-sdk-panorama.rb
index 8d30c4e1091..1ce973679e2 100644
--- a/gems/aws-sdk-panorama/lib/aws-sdk-panorama.rb
+++ b/gems/aws-sdk-panorama/lib/aws-sdk-panorama.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Panorama
- GEM_VERSION = '1.31.0'
+ GEM_VERSION = '1.32.0'
end
diff --git a/gems/aws-sdk-panorama/lib/aws-sdk-panorama/client.rb b/gems/aws-sdk-panorama/lib/aws-sdk-panorama/client.rb
index 46f5feff16c..8684103214b 100644
--- a/gems/aws-sdk-panorama/lib/aws-sdk-panorama/client.rb
+++ b/gems/aws-sdk-panorama/lib/aws-sdk-panorama/client.rb
@@ -2121,7 +2121,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-panorama'
- context[:gem_version] = '1.31.0'
+ context[:gem_version] = '1.32.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-panorama/lib/aws-sdk-panorama/endpoints.rb b/gems/aws-sdk-panorama/lib/aws-sdk-panorama/endpoints.rb
index 70c9188042d..f7591b64c34 100644
--- a/gems/aws-sdk-panorama/lib/aws-sdk-panorama/endpoints.rb
+++ b/gems/aws-sdk-panorama/lib/aws-sdk-panorama/endpoints.rb
@@ -14,476 +14,374 @@ module Endpoints
class CreateApplicationInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJobForDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNodeFromTemplateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePackageImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterPackageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicationInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicationInstanceDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDeviceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNodeFromTemplateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePackageImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePackageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationInstanceDependencies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationInstanceNodeInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevicesJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNodeFromTemplateJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackageImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ProvisionDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterPackageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveApplicationInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SignalApplicationInstanceNodeInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeviceMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Panorama::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-panorama/lib/aws-sdk-panorama/plugins/endpoints.rb b/gems/aws-sdk-panorama/lib/aws-sdk-panorama/plugins/endpoints.rb
index d7806337cda..90d46d13325 100644
--- a/gems/aws-sdk-panorama/lib/aws-sdk-panorama/plugins/endpoints.rb
+++ b/gems/aws-sdk-panorama/lib/aws-sdk-panorama/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-panorama/spec/endpoint_provider_spec.rb b/gems/aws-sdk-panorama/spec/endpoint_provider_spec.rb
index 84f4a7a24ce..a0468d3afed 100644
--- a/gems/aws-sdk-panorama/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-panorama/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Panorama
describe EndpointProvider do
subject { Aws::Panorama::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Panorama
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Panorama
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Panorama
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Panorama
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Panorama
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Panorama
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Panorama
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Panorama
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Panorama
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Panorama
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Panorama
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Panorama
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Panorama
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Panorama
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Panorama
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Panorama
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Panorama
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Panorama
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Panorama
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://panorama.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Panorama
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Panorama
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Panorama
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Panorama
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Panorama
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-paymentcryptography/CHANGELOG.md b/gems/aws-sdk-paymentcryptography/CHANGELOG.md
index d0672dcceeb..9decec23d71 100644
--- a/gems/aws-sdk-paymentcryptography/CHANGELOG.md
+++ b/gems/aws-sdk-paymentcryptography/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.22.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.21.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-paymentcryptography/VERSION b/gems/aws-sdk-paymentcryptography/VERSION
index 3500250a4b0..57807d6d0d0 100644
--- a/gems/aws-sdk-paymentcryptography/VERSION
+++ b/gems/aws-sdk-paymentcryptography/VERSION
@@ -1 +1 @@
-1.21.0
+1.22.0
diff --git a/gems/aws-sdk-paymentcryptography/aws-sdk-paymentcryptography.gemspec b/gems/aws-sdk-paymentcryptography/aws-sdk-paymentcryptography.gemspec
index d3a9d099d56..e903acf0c3f 100644
--- a/gems/aws-sdk-paymentcryptography/aws-sdk-paymentcryptography.gemspec
+++ b/gems/aws-sdk-paymentcryptography/aws-sdk-paymentcryptography.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-paymentcryptography/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography.rb b/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography.rb
index fc38da7ac94..c25dc82f12d 100644
--- a/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography.rb
+++ b/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::PaymentCryptography
- GEM_VERSION = '1.21.0'
+ GEM_VERSION = '1.22.0'
end
diff --git a/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/client.rb b/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/client.rb
index 1e5495511d2..bdd15dcb7b6 100644
--- a/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/client.rb
+++ b/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/client.rb
@@ -2416,7 +2416,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-paymentcryptography'
- context[:gem_version] = '1.21.0'
+ context[:gem_version] = '1.22.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/endpoints.rb b/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/endpoints.rb
index 5c19d2319b8..195a4bdd49f 100644
--- a/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/endpoints.rb
+++ b/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/endpoints.rb
@@ -14,280 +14,220 @@ module Endpoints
class CreateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetParametersForExport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetParametersForImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPublicKeyCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartKeyUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopKeyUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptography::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/plugins/endpoints.rb b/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/plugins/endpoints.rb
index 7652d72c6c7..66d9b3f91b9 100644
--- a/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/plugins/endpoints.rb
+++ b/gems/aws-sdk-paymentcryptography/lib/aws-sdk-paymentcryptography/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-paymentcryptography/spec/endpoint_provider_spec.rb b/gems/aws-sdk-paymentcryptography/spec/endpoint_provider_spec.rb
index 9af24d275e7..677077ecf84 100644
--- a/gems/aws-sdk-paymentcryptography/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-paymentcryptography/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PaymentCryptography
describe EndpointProvider do
subject { Aws::PaymentCryptography::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::PaymentCryptography
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://controlplane.payment-cryptography.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::PaymentCryptography
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::PaymentCryptography
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::PaymentCryptography
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::PaymentCryptography
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::PaymentCryptography
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-paymentcryptographydata/CHANGELOG.md b/gems/aws-sdk-paymentcryptographydata/CHANGELOG.md
index 22ca2ab0f5d..5ddf7ab7169 100644
--- a/gems/aws-sdk-paymentcryptographydata/CHANGELOG.md
+++ b/gems/aws-sdk-paymentcryptographydata/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.21.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.20.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-paymentcryptographydata/VERSION b/gems/aws-sdk-paymentcryptographydata/VERSION
index 39893559155..3500250a4b0 100644
--- a/gems/aws-sdk-paymentcryptographydata/VERSION
+++ b/gems/aws-sdk-paymentcryptographydata/VERSION
@@ -1 +1 @@
-1.20.0
+1.21.0
diff --git a/gems/aws-sdk-paymentcryptographydata/aws-sdk-paymentcryptographydata.gemspec b/gems/aws-sdk-paymentcryptographydata/aws-sdk-paymentcryptographydata.gemspec
index c27dc25224f..54059f97975 100644
--- a/gems/aws-sdk-paymentcryptographydata/aws-sdk-paymentcryptographydata.gemspec
+++ b/gems/aws-sdk-paymentcryptographydata/aws-sdk-paymentcryptographydata.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-paymentcryptographydata/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata.rb b/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata.rb
index 682f07586cc..241a9edc02c 100644
--- a/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata.rb
+++ b/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::PaymentCryptographyData
- GEM_VERSION = '1.20.0'
+ GEM_VERSION = '1.21.0'
end
diff --git a/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/client.rb b/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/client.rb
index c45d30e5eb6..effc0f0ac56 100644
--- a/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/client.rb
+++ b/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/client.rb
@@ -1870,7 +1870,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-paymentcryptographydata'
- context[:gem_version] = '1.20.0'
+ context[:gem_version] = '1.21.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/endpoints.rb b/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/endpoints.rb
index d1fa0a51c10..d32509fa0e3 100644
--- a/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/endpoints.rb
+++ b/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/endpoints.rb
@@ -14,154 +14,121 @@ module Endpoints
class DecryptData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptographyData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EncryptData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptographyData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateCardValidationData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptographyData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateMac
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptographyData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GeneratePinData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptographyData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReEncryptData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptographyData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TranslatePinData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptographyData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyAuthRequestCryptogram
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptographyData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyCardValidationData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptographyData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyMac
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptographyData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyPinData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PaymentCryptographyData::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/plugins/endpoints.rb b/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/plugins/endpoints.rb
index 8d1e839c081..22e8419d480 100644
--- a/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/plugins/endpoints.rb
+++ b/gems/aws-sdk-paymentcryptographydata/lib/aws-sdk-paymentcryptographydata/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-paymentcryptographydata/spec/endpoint_provider_spec.rb b/gems/aws-sdk-paymentcryptographydata/spec/endpoint_provider_spec.rb
index 02179ca03bd..19644d217ef 100644
--- a/gems/aws-sdk-paymentcryptographydata/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-paymentcryptographydata/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PaymentCryptographyData
describe EndpointProvider do
subject { Aws::PaymentCryptographyData::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://dataplane.payment-cryptography.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::PaymentCryptographyData
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-pcaconnectorad/CHANGELOG.md b/gems/aws-sdk-pcaconnectorad/CHANGELOG.md
index 53963433284..74c51f35cc6 100644
--- a/gems/aws-sdk-pcaconnectorad/CHANGELOG.md
+++ b/gems/aws-sdk-pcaconnectorad/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.13.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.12.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-pcaconnectorad/VERSION b/gems/aws-sdk-pcaconnectorad/VERSION
index 0eed1a29efd..feaae22bac7 100644
--- a/gems/aws-sdk-pcaconnectorad/VERSION
+++ b/gems/aws-sdk-pcaconnectorad/VERSION
@@ -1 +1 @@
-1.12.0
+1.13.0
diff --git a/gems/aws-sdk-pcaconnectorad/aws-sdk-pcaconnectorad.gemspec b/gems/aws-sdk-pcaconnectorad/aws-sdk-pcaconnectorad.gemspec
index c4dfbdae5fa..544e5a6cee8 100644
--- a/gems/aws-sdk-pcaconnectorad/aws-sdk-pcaconnectorad.gemspec
+++ b/gems/aws-sdk-pcaconnectorad/aws-sdk-pcaconnectorad.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pcaconnectorad/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad.rb b/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad.rb
index 43a55dee448..91171a34f40 100644
--- a/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad.rb
+++ b/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::PcaConnectorAd
- GEM_VERSION = '1.12.0'
+ GEM_VERSION = '1.13.0'
end
diff --git a/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/client.rb b/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/client.rb
index 867f549b4f4..acffa3d3eec 100644
--- a/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/client.rb
+++ b/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/client.rb
@@ -2296,7 +2296,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-pcaconnectorad'
- context[:gem_version] = '1.12.0'
+ context[:gem_version] = '1.13.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/endpoints.rb b/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/endpoints.rb
index 568dab49e15..44649f07353 100644
--- a/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/endpoints.rb
+++ b/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/endpoints.rb
@@ -14,350 +14,275 @@ module Endpoints
class CreateConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDirectoryRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServicePrincipalName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTemplateGroupAccessControlEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDirectoryRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServicePrincipalName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTemplateGroupAccessControlEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDirectoryRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServicePrincipalName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemplateGroupAccessControlEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDirectoryRegistrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServicePrincipalNames
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplateGroupAccessControlEntries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTemplateGroupAccessControlEntry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorAd::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/plugins/endpoints.rb b/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/plugins/endpoints.rb
index a173503ba5d..9293c68acbe 100644
--- a/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/plugins/endpoints.rb
+++ b/gems/aws-sdk-pcaconnectorad/lib/aws-sdk-pcaconnectorad/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-pcaconnectorad/spec/endpoint_provider_spec.rb b/gems/aws-sdk-pcaconnectorad/spec/endpoint_provider_spec.rb
index 8a5b5f7622c..ceeec8ccd8c 100644
--- a/gems/aws-sdk-pcaconnectorad/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-pcaconnectorad/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PcaConnectorAd
describe EndpointProvider do
subject { Aws::PcaConnectorAd::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-ad.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::PcaConnectorAd
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::PcaConnectorAd
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-pcaconnectorscep/CHANGELOG.md b/gems/aws-sdk-pcaconnectorscep/CHANGELOG.md
index b7b61435558..b8dbda7fed4 100644
--- a/gems/aws-sdk-pcaconnectorscep/CHANGELOG.md
+++ b/gems/aws-sdk-pcaconnectorscep/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.7.0 (2024-09-16)
+------------------
+
+* Feature - This is a general availability (GA) release of Connector for SCEP, a feature of AWS Private CA. Connector for SCEP links your SCEP-enabled and mobile device management systems to AWS Private CA for digital signature installation and certificate management.
+
+1.6.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.5.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-pcaconnectorscep/VERSION b/gems/aws-sdk-pcaconnectorscep/VERSION
index bc80560fad6..bd8bf882d06 100644
--- a/gems/aws-sdk-pcaconnectorscep/VERSION
+++ b/gems/aws-sdk-pcaconnectorscep/VERSION
@@ -1 +1 @@
-1.5.0
+1.7.0
diff --git a/gems/aws-sdk-pcaconnectorscep/aws-sdk-pcaconnectorscep.gemspec b/gems/aws-sdk-pcaconnectorscep/aws-sdk-pcaconnectorscep.gemspec
index 6fd0f7e4626..393a8b97555 100644
--- a/gems/aws-sdk-pcaconnectorscep/aws-sdk-pcaconnectorscep.gemspec
+++ b/gems/aws-sdk-pcaconnectorscep/aws-sdk-pcaconnectorscep.gemspec
@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pcaconnectorscep/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
- spec.add_dependency('aws-sigv4', '~> 1.1')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
+ spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
end
diff --git a/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep.rb b/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep.rb
index 27dcf77117b..114cff076db 100644
--- a/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep.rb
+++ b/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::PcaConnectorScep
- GEM_VERSION = '1.5.0'
+ GEM_VERSION = '1.7.0'
end
diff --git a/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/client.rb b/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/client.rb
index 289cec49dab..d630c87967f 100644
--- a/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/client.rb
+++ b/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/client.rb
@@ -993,7 +993,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-pcaconnectorscep'
- context[:gem_version] = '1.5.0'
+ context[:gem_version] = '1.7.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/client_api.rb b/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/client_api.rb
index ccf18f0763a..f2a8717d43d 100644
--- a/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/client_api.rb
+++ b/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/client_api.rb
@@ -248,6 +248,7 @@ module ClientApi
api.metadata = {
"apiVersion" => "2018-05-10",
+ "auth" => ["aws.auth#sigv4"],
"endpointPrefix" => "pca-connector-scep",
"protocol" => "rest-json",
"protocols" => ["rest-json"],
diff --git a/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/endpoints.rb b/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/endpoints.rb
index bd372f7c743..d1c00e40c81 100644
--- a/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/endpoints.rb
+++ b/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/endpoints.rb
@@ -14,168 +14,132 @@ module Endpoints
class CreateChallenge
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChallenge
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChallengeMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChallengePassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChallengeMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PcaConnectorScep::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/plugins/endpoints.rb b/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/plugins/endpoints.rb
index 9fdda3043cf..6fa497f116e 100644
--- a/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/plugins/endpoints.rb
+++ b/gems/aws-sdk-pcaconnectorscep/lib/aws-sdk-pcaconnectorscep/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-pcaconnectorscep/spec/endpoint_provider_spec.rb b/gems/aws-sdk-pcaconnectorscep/spec/endpoint_provider_spec.rb
index b48a9ca978c..39efce646ce 100644
--- a/gems/aws-sdk-pcaconnectorscep/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-pcaconnectorscep/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PcaConnectorScep
describe EndpointProvider do
subject { Aws::PcaConnectorScep::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pca-connector-scep.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::PcaConnectorScep
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::PcaConnectorScep
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-pcs/CHANGELOG.md b/gems/aws-sdk-pcs/CHANGELOG.md
index ba1f77338c2..c655b4d4510 100644
--- a/gems/aws-sdk-pcs/CHANGELOG.md
+++ b/gems/aws-sdk-pcs/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.3.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.2.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-pcs/VERSION b/gems/aws-sdk-pcs/VERSION
index 26aaba0e866..f0bb29e7638 100644
--- a/gems/aws-sdk-pcs/VERSION
+++ b/gems/aws-sdk-pcs/VERSION
@@ -1 +1 @@
-1.2.0
+1.3.0
diff --git a/gems/aws-sdk-pcs/aws-sdk-pcs.gemspec b/gems/aws-sdk-pcs/aws-sdk-pcs.gemspec
index 684b7db6d0f..fe1c7fe007e 100644
--- a/gems/aws-sdk-pcs/aws-sdk-pcs.gemspec
+++ b/gems/aws-sdk-pcs/aws-sdk-pcs.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pcs/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-pcs/lib/aws-sdk-pcs.rb b/gems/aws-sdk-pcs/lib/aws-sdk-pcs.rb
index e0d097ab00e..259558bef22 100644
--- a/gems/aws-sdk-pcs/lib/aws-sdk-pcs.rb
+++ b/gems/aws-sdk-pcs/lib/aws-sdk-pcs.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::PCS
- GEM_VERSION = '1.2.0'
+ GEM_VERSION = '1.3.0'
end
diff --git a/gems/aws-sdk-pcs/lib/aws-sdk-pcs/client.rb b/gems/aws-sdk-pcs/lib/aws-sdk-pcs/client.rb
index 1e83b79afdf..6f67a3866f5 100644
--- a/gems/aws-sdk-pcs/lib/aws-sdk-pcs/client.rb
+++ b/gems/aws-sdk-pcs/lib/aws-sdk-pcs/client.rb
@@ -1606,7 +1606,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-pcs'
- context[:gem_version] = '1.2.0'
+ context[:gem_version] = '1.3.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-pcs/lib/aws-sdk-pcs/endpoints.rb b/gems/aws-sdk-pcs/lib/aws-sdk-pcs/endpoints.rb
index 9fcebe4ca89..7205e6995ed 100644
--- a/gems/aws-sdk-pcs/lib/aws-sdk-pcs/endpoints.rb
+++ b/gems/aws-sdk-pcs/lib/aws-sdk-pcs/endpoints.rb
@@ -14,252 +14,198 @@ module Endpoints
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateComputeNodeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteComputeNodeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComputeNodeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComputeNodeGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterComputeNodeGroupInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateComputeNodeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PCS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-pcs/lib/aws-sdk-pcs/plugins/endpoints.rb b/gems/aws-sdk-pcs/lib/aws-sdk-pcs/plugins/endpoints.rb
index 661f11197e5..4bf3edf0951 100644
--- a/gems/aws-sdk-pcs/lib/aws-sdk-pcs/plugins/endpoints.rb
+++ b/gems/aws-sdk-pcs/lib/aws-sdk-pcs/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-pcs/spec/endpoint_provider_spec.rb b/gems/aws-sdk-pcs/spec/endpoint_provider_spec.rb
index 8e337624cfd..24093434db9 100644
--- a/gems/aws-sdk-pcs/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-pcs/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PCS
describe EndpointProvider do
subject { Aws::PCS::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::PCS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PCS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::PCS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PCS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::PCS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::PCS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::PCS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::PCS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::PCS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PCS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::PCS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PCS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::PCS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::PCS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::PCS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::PCS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::PCS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::PCS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::PCS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pcs.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::PCS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::PCS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::PCS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::PCS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::PCS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-personalize/CHANGELOG.md b/gems/aws-sdk-personalize/CHANGELOG.md
index 87a3ee5c36f..c885432abcc 100644
--- a/gems/aws-sdk-personalize/CHANGELOG.md
+++ b/gems/aws-sdk-personalize/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.72.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.71.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-personalize/VERSION b/gems/aws-sdk-personalize/VERSION
index df484cbb1d9..0834888f558 100644
--- a/gems/aws-sdk-personalize/VERSION
+++ b/gems/aws-sdk-personalize/VERSION
@@ -1 +1 @@
-1.71.0
+1.72.0
diff --git a/gems/aws-sdk-personalize/aws-sdk-personalize.gemspec b/gems/aws-sdk-personalize/aws-sdk-personalize.gemspec
index 981da1cfcff..b4f1cca52b5 100644
--- a/gems/aws-sdk-personalize/aws-sdk-personalize.gemspec
+++ b/gems/aws-sdk-personalize/aws-sdk-personalize.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-personalize/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-personalize/lib/aws-sdk-personalize.rb b/gems/aws-sdk-personalize/lib/aws-sdk-personalize.rb
index 0c4b8081277..b23663fc406 100644
--- a/gems/aws-sdk-personalize/lib/aws-sdk-personalize.rb
+++ b/gems/aws-sdk-personalize/lib/aws-sdk-personalize.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Personalize
- GEM_VERSION = '1.71.0'
+ GEM_VERSION = '1.72.0'
end
diff --git a/gems/aws-sdk-personalize/lib/aws-sdk-personalize/client.rb b/gems/aws-sdk-personalize/lib/aws-sdk-personalize/client.rb
index 978232aacd6..1472bf7c3e1 100644
--- a/gems/aws-sdk-personalize/lib/aws-sdk-personalize/client.rb
+++ b/gems/aws-sdk-personalize/lib/aws-sdk-personalize/client.rb
@@ -4862,7 +4862,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-personalize'
- context[:gem_version] = '1.71.0'
+ context[:gem_version] = '1.72.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-personalize/lib/aws-sdk-personalize/endpoints.rb b/gems/aws-sdk-personalize/lib/aws-sdk-personalize/endpoints.rb
index b2615b0f8a4..cdb8904d1fd 100644
--- a/gems/aws-sdk-personalize/lib/aws-sdk-personalize/endpoints.rb
+++ b/gems/aws-sdk-personalize/lib/aws-sdk-personalize/endpoints.rb
@@ -14,994 +14,781 @@ module Endpoints
class CreateBatchInferenceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBatchSegmentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataDeletionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDatasetExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDatasetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDatasetImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventTracker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMetricAttribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRecommender
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSolution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSolutionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDatasetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventTracker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMetricAttribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRecommender
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSolution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAlgorithm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBatchInferenceJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBatchSegmentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataDeletionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDatasetExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDatasetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDatasetImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventTracker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFeatureTransformation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMetricAttribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRecipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRecommender
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSolution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSolutionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSolutionMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBatchInferenceJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBatchSegmentJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCampaigns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataDeletionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasetExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasetImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEventTrackers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFilters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMetricAttributionMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMetricAttributions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecipes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommenders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchemas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSolutionVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSolutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartRecommender
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopRecommender
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopSolutionVersionCreation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMetricAttribution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRecommender
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSolution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Personalize::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-personalize/lib/aws-sdk-personalize/plugins/endpoints.rb b/gems/aws-sdk-personalize/lib/aws-sdk-personalize/plugins/endpoints.rb
index f85dbea190c..e89d2361f82 100644
--- a/gems/aws-sdk-personalize/lib/aws-sdk-personalize/plugins/endpoints.rb
+++ b/gems/aws-sdk-personalize/lib/aws-sdk-personalize/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-personalize/spec/endpoint_provider_spec.rb b/gems/aws-sdk-personalize/spec/endpoint_provider_spec.rb
index f9d15886170..12fabc18da3 100644
--- a/gems/aws-sdk-personalize/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-personalize/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Personalize
describe EndpointProvider do
subject { Aws::Personalize::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Personalize
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Personalize
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Personalize
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Personalize
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Personalize
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Personalize
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Personalize
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Personalize
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Personalize
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.us-east-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Personalize
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.us-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Personalize
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-fips.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::Personalize
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-fips.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Personalize
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::Personalize
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::Personalize
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::Personalize
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::Personalize
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::Personalize
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::Personalize
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Personalize
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::Personalize
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Personalize
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::Personalize
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::Personalize
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::Personalize
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::Personalize
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::Personalize
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::Personalize
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::Personalize
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::Personalize
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::Personalize
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::Personalize
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::Personalize
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::Personalize
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-personalizeevents/CHANGELOG.md b/gems/aws-sdk-personalizeevents/CHANGELOG.md
index adcf7d9f6f9..325743fb6a2 100644
--- a/gems/aws-sdk-personalizeevents/CHANGELOG.md
+++ b/gems/aws-sdk-personalizeevents/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.52.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.51.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-personalizeevents/VERSION b/gems/aws-sdk-personalizeevents/VERSION
index ba0a719118c..a63cb35e6f0 100644
--- a/gems/aws-sdk-personalizeevents/VERSION
+++ b/gems/aws-sdk-personalizeevents/VERSION
@@ -1 +1 @@
-1.51.0
+1.52.0
diff --git a/gems/aws-sdk-personalizeevents/aws-sdk-personalizeevents.gemspec b/gems/aws-sdk-personalizeevents/aws-sdk-personalizeevents.gemspec
index 785dfc76d0d..eaed7533073 100644
--- a/gems/aws-sdk-personalizeevents/aws-sdk-personalizeevents.gemspec
+++ b/gems/aws-sdk-personalizeevents/aws-sdk-personalizeevents.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-personalizeevents/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents.rb b/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents.rb
index 930fb035eb0..e6763a928d4 100644
--- a/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents.rb
+++ b/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::PersonalizeEvents
- GEM_VERSION = '1.51.0'
+ GEM_VERSION = '1.52.0'
end
diff --git a/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/client.rb b/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/client.rb
index 66348d13f35..92ede5f97d9 100644
--- a/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/client.rb
+++ b/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/client.rb
@@ -695,7 +695,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-personalizeevents'
- context[:gem_version] = '1.51.0'
+ context[:gem_version] = '1.52.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/endpoints.rb b/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/endpoints.rb
index ba490763b80..003d51cfbf9 100644
--- a/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/endpoints.rb
+++ b/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/endpoints.rb
@@ -14,70 +14,55 @@ module Endpoints
class PutActionInteractions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PersonalizeEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PersonalizeEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PersonalizeEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PersonalizeEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PersonalizeEvents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/plugins/endpoints.rb b/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/plugins/endpoints.rb
index b35a4ca37c7..0a63d7ab1ed 100644
--- a/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/plugins/endpoints.rb
+++ b/gems/aws-sdk-personalizeevents/lib/aws-sdk-personalizeevents/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-personalizeevents/spec/endpoint_provider_spec.rb b/gems/aws-sdk-personalizeevents/spec/endpoint_provider_spec.rb
index d4113e6a254..df4397a7d72 100644
--- a/gems/aws-sdk-personalizeevents/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-personalizeevents/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PersonalizeEvents
describe EndpointProvider do
subject { Aws::PersonalizeEvents::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-events.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::PersonalizeEvents
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::PersonalizeEvents
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-personalizeruntime/CHANGELOG.md b/gems/aws-sdk-personalizeruntime/CHANGELOG.md
index e5cc349c637..2b370a0549f 100644
--- a/gems/aws-sdk-personalizeruntime/CHANGELOG.md
+++ b/gems/aws-sdk-personalizeruntime/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.59.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.58.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-personalizeruntime/VERSION b/gems/aws-sdk-personalizeruntime/VERSION
index 79f82f6b8e0..bb120e876c6 100644
--- a/gems/aws-sdk-personalizeruntime/VERSION
+++ b/gems/aws-sdk-personalizeruntime/VERSION
@@ -1 +1 @@
-1.58.0
+1.59.0
diff --git a/gems/aws-sdk-personalizeruntime/aws-sdk-personalizeruntime.gemspec b/gems/aws-sdk-personalizeruntime/aws-sdk-personalizeruntime.gemspec
index 071a13f9b85..e83fae767af 100644
--- a/gems/aws-sdk-personalizeruntime/aws-sdk-personalizeruntime.gemspec
+++ b/gems/aws-sdk-personalizeruntime/aws-sdk-personalizeruntime.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-personalizeruntime/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime.rb b/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime.rb
index 7890af9983f..2c4cf33a1b6 100644
--- a/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime.rb
+++ b/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::PersonalizeRuntime
- GEM_VERSION = '1.58.0'
+ GEM_VERSION = '1.59.0'
end
diff --git a/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/client.rb b/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/client.rb
index 38854b00eac..429098b54a9 100644
--- a/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/client.rb
+++ b/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/client.rb
@@ -825,7 +825,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-personalizeruntime'
- context[:gem_version] = '1.58.0'
+ context[:gem_version] = '1.59.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/endpoints.rb b/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/endpoints.rb
index 8289c4cae85..71abacda548 100644
--- a/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/endpoints.rb
+++ b/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/endpoints.rb
@@ -14,42 +14,33 @@ module Endpoints
class GetActionRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PersonalizeRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPersonalizedRanking
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PersonalizeRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PersonalizeRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/plugins/endpoints.rb b/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/plugins/endpoints.rb
index 05028d17484..3193b03f7c2 100644
--- a/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/plugins/endpoints.rb
+++ b/gems/aws-sdk-personalizeruntime/lib/aws-sdk-personalizeruntime/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-personalizeruntime/spec/endpoint_provider_spec.rb b/gems/aws-sdk-personalizeruntime/spec/endpoint_provider_spec.rb
index 9876fae12fd..bd81ba74abe 100644
--- a/gems/aws-sdk-personalizeruntime/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-personalizeruntime/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PersonalizeRuntime
describe EndpointProvider do
subject { Aws::PersonalizeRuntime::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://personalize-runtime.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::PersonalizeRuntime
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-pi/CHANGELOG.md b/gems/aws-sdk-pi/CHANGELOG.md
index 4a4ebd05d03..9edbab08a03 100644
--- a/gems/aws-sdk-pi/CHANGELOG.md
+++ b/gems/aws-sdk-pi/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.66.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.65.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-pi/VERSION b/gems/aws-sdk-pi/VERSION
index 902c74186fb..b6148bc0a75 100644
--- a/gems/aws-sdk-pi/VERSION
+++ b/gems/aws-sdk-pi/VERSION
@@ -1 +1 @@
-1.65.0
+1.66.0
diff --git a/gems/aws-sdk-pi/aws-sdk-pi.gemspec b/gems/aws-sdk-pi/aws-sdk-pi.gemspec
index 5bd2043e0ae..91c8d4691af 100644
--- a/gems/aws-sdk-pi/aws-sdk-pi.gemspec
+++ b/gems/aws-sdk-pi/aws-sdk-pi.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pi/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi.rb
index cf5dad244e8..2a46555edbd 100644
--- a/gems/aws-sdk-pi/lib/aws-sdk-pi.rb
+++ b/gems/aws-sdk-pi/lib/aws-sdk-pi.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::PI
- GEM_VERSION = '1.65.0'
+ GEM_VERSION = '1.66.0'
end
diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb
index 5b71d2c3266..7dd2f53aab3 100644
--- a/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb
+++ b/gems/aws-sdk-pi/lib/aws-sdk-pi/client.rb
@@ -1449,7 +1449,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-pi'
- context[:gem_version] = '1.65.0'
+ context[:gem_version] = '1.66.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi/endpoints.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi/endpoints.rb
index 3207fd08811..7baf762e0f6 100644
--- a/gems/aws-sdk-pi/lib/aws-sdk-pi/endpoints.rb
+++ b/gems/aws-sdk-pi/lib/aws-sdk-pi/endpoints.rb
@@ -14,182 +14,143 @@ module Endpoints
class CreatePerformanceAnalysisReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePerformanceAnalysisReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDimensionKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDimensionKeyDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPerformanceAnalysisReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAvailableResourceDimensions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAvailableResourceMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPerformanceAnalysisReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-pi/lib/aws-sdk-pi/plugins/endpoints.rb b/gems/aws-sdk-pi/lib/aws-sdk-pi/plugins/endpoints.rb
index 8c3c5e2124b..10ca76b752b 100644
--- a/gems/aws-sdk-pi/lib/aws-sdk-pi/plugins/endpoints.rb
+++ b/gems/aws-sdk-pi/lib/aws-sdk-pi/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-pi/spec/endpoint_provider_spec.rb b/gems/aws-sdk-pi/spec/endpoint_provider_spec.rb
index 53570f3cc59..4d4bb9014db 100644
--- a/gems/aws-sdk-pi/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-pi/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PI
describe EndpointProvider do
subject { Aws::PI::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::PI
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PI
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::PI
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PI
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::PI
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::PI
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::PI
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::PI
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::PI
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PI
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::PI
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PI
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::PI
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::PI
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::PI
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::PI
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::PI
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::PI
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::PI
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::PI
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::PI
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::PI
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::PI
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::PI
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::PI
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::PI
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::PI
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::PI
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::PI
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi-fips.us-gov-east-1.api.aws"}}
end
@@ -434,7 +434,7 @@ module Aws::PI
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::PI
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::PI
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::PI
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -489,7 +489,7 @@ module Aws::PI
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -503,7 +503,7 @@ module Aws::PI
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -516,7 +516,7 @@ module Aws::PI
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.us-iso-east-1.c2s.ic.gov"}}
end
@@ -530,7 +530,7 @@ module Aws::PI
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -543,7 +543,7 @@ module Aws::PI
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -557,7 +557,7 @@ module Aws::PI
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -570,7 +570,7 @@ module Aws::PI
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pi.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -584,7 +584,7 @@ module Aws::PI
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::PI
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::PI
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -625,7 +625,7 @@ module Aws::PI
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -638,7 +638,7 @@ module Aws::PI
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-pinpoint/CHANGELOG.md b/gems/aws-sdk-pinpoint/CHANGELOG.md
index 53578235bd6..b3c6b14c0fb 100644
--- a/gems/aws-sdk-pinpoint/CHANGELOG.md
+++ b/gems/aws-sdk-pinpoint/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.98.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.97.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-pinpoint/VERSION b/gems/aws-sdk-pinpoint/VERSION
index acbb747ac54..783fda86436 100644
--- a/gems/aws-sdk-pinpoint/VERSION
+++ b/gems/aws-sdk-pinpoint/VERSION
@@ -1 +1 @@
-1.97.0
+1.98.0
diff --git a/gems/aws-sdk-pinpoint/aws-sdk-pinpoint.gemspec b/gems/aws-sdk-pinpoint/aws-sdk-pinpoint.gemspec
index 37ef293b7e4..fc5cae8b0af 100644
--- a/gems/aws-sdk-pinpoint/aws-sdk-pinpoint.gemspec
+++ b/gems/aws-sdk-pinpoint/aws-sdk-pinpoint.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pinpoint/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint.rb b/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint.rb
index 9166bbf6dc3..7d3a8ad77fa 100644
--- a/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint.rb
+++ b/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Pinpoint
- GEM_VERSION = '1.97.0'
+ GEM_VERSION = '1.98.0'
end
diff --git a/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/client.rb b/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/client.rb
index 24ff058881a..f32d1f248bf 100644
--- a/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/client.rb
+++ b/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/client.rb
@@ -13011,7 +13011,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-pinpoint'
- context[:gem_version] = '1.97.0'
+ context[:gem_version] = '1.98.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/endpoints.rb b/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/endpoints.rb
index 53ddd988ca5..b05cb9f2ec3 100644
--- a/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/endpoints.rb
+++ b/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/endpoints.rb
@@ -14,1708 +14,1342 @@ module Endpoints
class CreateApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInAppTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJourney
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePushTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRecommenderConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSegment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSmsTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVoiceTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAdmChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApnsChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApnsSandboxChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApnsVoipChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApnsVoipSandboxChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBaiduChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEmailChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGcmChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInAppTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteJourney
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePushTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRecommenderConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSegment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSmsChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSmsTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAdmChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApnsChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApnsSandboxChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApnsVoipChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApnsVoipSandboxChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplicationDateRangeKpi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplicationSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBaiduChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCampaignActivities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCampaignDateRangeKpi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCampaignVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCampaignVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCampaigns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEmailChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEventStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGcmChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInAppMessages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInAppTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJourney
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJourneyDateRangeKpi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJourneyExecutionActivityMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJourneyExecutionMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJourneyRunExecutionActivityMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJourneyRunExecutionMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJourneyRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPushTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecommenderConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecommenderConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSegment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSegmentExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSegmentImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSegmentVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSegmentVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSegments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSmsChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSmsTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVoiceTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJourneys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplateVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PhoneNumberValidate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEventStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendMessages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendOTPMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendUsersMessages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAdmChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApnsChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApnsSandboxChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApnsVoipChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApnsVoipSandboxChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplicationSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBaiduChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEmailChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEndpointsBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGcmChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInAppTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateJourney
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateJourneyState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePushTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRecommenderConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSegment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSmsChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSmsTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTemplateActiveVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVoiceChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVoiceTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyOTPMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pinpoint::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/plugins/endpoints.rb b/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/plugins/endpoints.rb
index 03036863254..27bcc490c57 100644
--- a/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/plugins/endpoints.rb
+++ b/gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-pinpoint/spec/endpoint_provider_spec.rb b/gems/aws-sdk-pinpoint/spec/endpoint_provider_spec.rb
index db3dded5d04..3a0c041ec9f 100644
--- a/gems/aws-sdk-pinpoint/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-pinpoint/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Pinpoint
describe EndpointProvider do
subject { Aws::Pinpoint::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Pinpoint
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Pinpoint
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Pinpoint
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Pinpoint
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Pinpoint
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Pinpoint
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Pinpoint
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Pinpoint
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint-fips.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.us-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint-fips.us-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint-fips.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::Pinpoint
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::Pinpoint
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::Pinpoint
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::Pinpoint
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.cn-north-1.amazonaws.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.us-gov-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint-fips.us-gov-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -377,7 +377,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -391,7 +391,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -404,7 +404,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.us-iso-east-1.c2s.ic.gov"}}
end
@@ -418,7 +418,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -431,7 +431,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -445,7 +445,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -458,7 +458,7 @@ module Aws::Pinpoint
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pinpoint.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -472,7 +472,7 @@ module Aws::Pinpoint
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -486,7 +486,7 @@ module Aws::Pinpoint
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -500,7 +500,7 @@ module Aws::Pinpoint
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -513,7 +513,7 @@ module Aws::Pinpoint
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -526,7 +526,7 @@ module Aws::Pinpoint
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-pinpointemail/CHANGELOG.md b/gems/aws-sdk-pinpointemail/CHANGELOG.md
index 84abe3d1e4a..03690baa80f 100644
--- a/gems/aws-sdk-pinpointemail/CHANGELOG.md
+++ b/gems/aws-sdk-pinpointemail/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.57.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.56.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-pinpointemail/VERSION b/gems/aws-sdk-pinpointemail/VERSION
index 3ebf789f5a8..373aea97570 100644
--- a/gems/aws-sdk-pinpointemail/VERSION
+++ b/gems/aws-sdk-pinpointemail/VERSION
@@ -1 +1 @@
-1.56.0
+1.57.0
diff --git a/gems/aws-sdk-pinpointemail/aws-sdk-pinpointemail.gemspec b/gems/aws-sdk-pinpointemail/aws-sdk-pinpointemail.gemspec
index 682eee1ecbc..f6e261fe431 100644
--- a/gems/aws-sdk-pinpointemail/aws-sdk-pinpointemail.gemspec
+++ b/gems/aws-sdk-pinpointemail/aws-sdk-pinpointemail.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pinpointemail/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail.rb b/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail.rb
index a89943860f9..faa58ece9d4 100644
--- a/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail.rb
+++ b/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::PinpointEmail
- GEM_VERSION = '1.56.0'
+ GEM_VERSION = '1.57.0'
end
diff --git a/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/client.rb b/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/client.rb
index 5611f4d7bb7..63cd82a5b30 100644
--- a/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/client.rb
+++ b/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/client.rb
@@ -2376,7 +2376,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-pinpointemail'
- context[:gem_version] = '1.56.0'
+ context[:gem_version] = '1.57.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/endpoints.rb b/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/endpoints.rb
index b0dc0818567..a2fd110f045 100644
--- a/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/endpoints.rb
+++ b/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/endpoints.rb
@@ -14,588 +14,462 @@ module Endpoints
class CreateConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDedicatedIpPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeliverabilityTestReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEmailIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDedicatedIpPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEmailIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBlacklistReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfigurationSetEventDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDedicatedIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDedicatedIps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeliverabilityDashboardOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeliverabilityTestReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainDeliverabilityCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainStatisticsReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEmailIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurationSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDedicatedIpPools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeliverabilityTestReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainDeliverabilityCampaigns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEmailIdentities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountDedicatedIpWarmupAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountSendingAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationSetDeliveryOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationSetReputationOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationSetSendingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationSetTrackingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDedicatedIpInPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDedicatedIpWarmupAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDeliverabilityDashboardOption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEmailIdentityDkimAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEmailIdentityFeedbackAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEmailIdentityMailFromAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointEmail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/plugins/endpoints.rb b/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/plugins/endpoints.rb
index e30c028f7e2..1b91db6e1bd 100644
--- a/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/plugins/endpoints.rb
+++ b/gems/aws-sdk-pinpointemail/lib/aws-sdk-pinpointemail/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-pinpointemail/spec/endpoint_provider_spec.rb b/gems/aws-sdk-pinpointemail/spec/endpoint_provider_spec.rb
index f86d1f550b6..293086ac4be 100644
--- a/gems/aws-sdk-pinpointemail/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-pinpointemail/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PinpointEmail
describe EndpointProvider do
subject { Aws::PinpointEmail::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::PinpointEmail
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PinpointEmail
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::PinpointEmail
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-northeast-3.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PinpointEmail
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::PinpointEmail
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::PinpointEmail
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::PinpointEmail
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::PinpointEmail
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::PinpointEmail
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PinpointEmail
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::PinpointEmail
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PinpointEmail
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::PinpointEmail
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::PinpointEmail
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.me-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::PinpointEmail
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.sa-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::PinpointEmail
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::PinpointEmail
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::PinpointEmail
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::PinpointEmail
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-gov-west-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -503,7 +503,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -517,7 +517,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -530,7 +530,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-iso-east-1.c2s.ic.gov"}}
end
@@ -544,7 +544,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -557,7 +557,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -571,7 +571,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -584,7 +584,7 @@ module Aws::PinpointEmail
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -598,7 +598,7 @@ module Aws::PinpointEmail
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::PinpointEmail
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::PinpointEmail
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -639,7 +639,7 @@ module Aws::PinpointEmail
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -652,7 +652,7 @@ module Aws::PinpointEmail
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-pinpointsmsvoice/CHANGELOG.md b/gems/aws-sdk-pinpointsmsvoice/CHANGELOG.md
index 1c41f0dc04f..e8ca7bf0aa6 100644
--- a/gems/aws-sdk-pinpointsmsvoice/CHANGELOG.md
+++ b/gems/aws-sdk-pinpointsmsvoice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.53.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.52.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-pinpointsmsvoice/VERSION b/gems/aws-sdk-pinpointsmsvoice/VERSION
index a63cb35e6f0..3f4830156cb 100644
--- a/gems/aws-sdk-pinpointsmsvoice/VERSION
+++ b/gems/aws-sdk-pinpointsmsvoice/VERSION
@@ -1 +1 @@
-1.52.0
+1.53.0
diff --git a/gems/aws-sdk-pinpointsmsvoice/aws-sdk-pinpointsmsvoice.gemspec b/gems/aws-sdk-pinpointsmsvoice/aws-sdk-pinpointsmsvoice.gemspec
index 46841303cf9..587fe5d93b7 100644
--- a/gems/aws-sdk-pinpointsmsvoice/aws-sdk-pinpointsmsvoice.gemspec
+++ b/gems/aws-sdk-pinpointsmsvoice/aws-sdk-pinpointsmsvoice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pinpointsmsvoice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice.rb b/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice.rb
index d6d02fae89e..2baec7d6bb1 100644
--- a/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice.rb
+++ b/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::PinpointSMSVoice
- GEM_VERSION = '1.52.0'
+ GEM_VERSION = '1.53.0'
end
diff --git a/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/client.rb b/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/client.rb
index 23582263706..3c55347a9a5 100644
--- a/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/client.rb
+++ b/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/client.rb
@@ -753,7 +753,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-pinpointsmsvoice'
- context[:gem_version] = '1.52.0'
+ context[:gem_version] = '1.53.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/endpoints.rb b/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/endpoints.rb
index d24cb2e9898..ce7f632fb12 100644
--- a/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/endpoints.rb
+++ b/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/endpoints.rb
@@ -14,112 +14,88 @@ module Endpoints
class CreateConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfigurationSetEventDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurationSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendVoiceMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/plugins/endpoints.rb b/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/plugins/endpoints.rb
index 652a1934b77..d537f961504 100644
--- a/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/plugins/endpoints.rb
+++ b/gems/aws-sdk-pinpointsmsvoice/lib/aws-sdk-pinpointsmsvoice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-pinpointsmsvoice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-pinpointsmsvoice/spec/endpoint_provider_spec.rb
index e6c29391db6..0b950753aa1 100644
--- a/gems/aws-sdk-pinpointsmsvoice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-pinpointsmsvoice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PinpointSMSVoice
describe EndpointProvider do
subject { Aws::PinpointSMSVoice::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.pinpoint.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::PinpointSMSVoice
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-pinpointsmsvoicev2/CHANGELOG.md b/gems/aws-sdk-pinpointsmsvoicev2/CHANGELOG.md
index 0a6b990ab83..4102cb5d848 100644
--- a/gems/aws-sdk-pinpointsmsvoicev2/CHANGELOG.md
+++ b/gems/aws-sdk-pinpointsmsvoicev2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.24.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.23.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-pinpointsmsvoicev2/VERSION b/gems/aws-sdk-pinpointsmsvoicev2/VERSION
index a6c2798a482..53cc1a6f929 100644
--- a/gems/aws-sdk-pinpointsmsvoicev2/VERSION
+++ b/gems/aws-sdk-pinpointsmsvoicev2/VERSION
@@ -1 +1 @@
-1.23.0
+1.24.0
diff --git a/gems/aws-sdk-pinpointsmsvoicev2/aws-sdk-pinpointsmsvoicev2.gemspec b/gems/aws-sdk-pinpointsmsvoicev2/aws-sdk-pinpointsmsvoicev2.gemspec
index 5e22eac53b3..79ea6600a33 100644
--- a/gems/aws-sdk-pinpointsmsvoicev2/aws-sdk-pinpointsmsvoicev2.gemspec
+++ b/gems/aws-sdk-pinpointsmsvoicev2/aws-sdk-pinpointsmsvoicev2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pinpointsmsvoicev2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2.rb b/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2.rb
index 0e39bae4782..5d437d712bd 100644
--- a/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2.rb
+++ b/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::PinpointSMSVoiceV2
- GEM_VERSION = '1.23.0'
+ GEM_VERSION = '1.24.0'
end
diff --git a/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/client.rb b/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/client.rb
index 9631fd1cd54..be824c054fd 100644
--- a/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/client.rb
+++ b/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/client.rb
@@ -5222,7 +5222,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-pinpointsmsvoicev2'
- context[:gem_version] = '1.23.0'
+ context[:gem_version] = '1.24.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/endpoints.rb b/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/endpoints.rb
index aa4e171f2c8..c49c7b2e226 100644
--- a/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/endpoints.rb
+++ b/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/endpoints.rb
@@ -14,1148 +14,902 @@ module Endpoints
class AssociateOriginationIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateProtectConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOptOutList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProtectConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRegistrationAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRegistrationAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRegistrationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVerifiedDestinationNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccountDefaultProtectConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDefaultMessageType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDefaultSenderId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKeyword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMediaMessageSpendLimitOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOptOutList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOptedOutNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProtectConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegistrationAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegistrationFieldValue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTextMessageSpendLimitOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVerifiedDestinationNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVoiceMessageSpendLimitOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurationSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeKeywords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOptOutLists
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOptedOutNumbers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePhoneNumbers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProtectConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegistrationAttachments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegistrationFieldDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegistrationFieldValues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegistrationSectionDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegistrationTypeDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegistrationVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegistrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSenderIds
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSpendLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVerifiedDestinationNumbers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateOriginationIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateProtectConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DiscardRegistrationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProtectConfigurationCountryRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPoolOriginationIdentities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRegistrationAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutKeyword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutOptedOutNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRegistrationFieldValue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReleasePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReleaseSenderId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RequestPhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RequestSenderId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendDestinationNumberVerificationCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendMediaMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendTextMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendVoiceMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetAccountDefaultProtectConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetDefaultMessageType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetDefaultSenderId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetMediaMessageSpendLimitOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetTextMessageSpendLimitOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetVoiceMessageSpendLimitOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SubmitRegistrationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProtectConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProtectConfigurationCountryRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSenderId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyDestinationNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PinpointSMSVoiceV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/plugins/endpoints.rb b/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/plugins/endpoints.rb
index 13b8c383ea8..969bb2e99d4 100644
--- a/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/plugins/endpoints.rb
+++ b/gems/aws-sdk-pinpointsmsvoicev2/lib/aws-sdk-pinpointsmsvoicev2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-pinpointsmsvoicev2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-pinpointsmsvoicev2/spec/endpoint_provider_spec.rb
index ea652df9ce6..0df13fdf34b 100644
--- a/gems/aws-sdk-pinpointsmsvoicev2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-pinpointsmsvoicev2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PinpointSMSVoiceV2
describe EndpointProvider do
subject { Aws::PinpointSMSVoiceV2::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.ap-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.ca-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.eu-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.eu-west-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.eu-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.us-gov-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-voice.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::PinpointSMSVoiceV2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-pipes/CHANGELOG.md b/gems/aws-sdk-pipes/CHANGELOG.md
index 99c12ced45b..77943cce843 100644
--- a/gems/aws-sdk-pipes/CHANGELOG.md
+++ b/gems/aws-sdk-pipes/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.27.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.26.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-pipes/VERSION b/gems/aws-sdk-pipes/VERSION
index 5ff8c4f5d2a..5db08bf2dc5 100644
--- a/gems/aws-sdk-pipes/VERSION
+++ b/gems/aws-sdk-pipes/VERSION
@@ -1 +1 @@
-1.26.0
+1.27.0
diff --git a/gems/aws-sdk-pipes/aws-sdk-pipes.gemspec b/gems/aws-sdk-pipes/aws-sdk-pipes.gemspec
index 8aa24360159..a8367867f28 100644
--- a/gems/aws-sdk-pipes/aws-sdk-pipes.gemspec
+++ b/gems/aws-sdk-pipes/aws-sdk-pipes.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pipes/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-pipes/lib/aws-sdk-pipes.rb b/gems/aws-sdk-pipes/lib/aws-sdk-pipes.rb
index d52ca4cc5d1..026c2f96b2f 100644
--- a/gems/aws-sdk-pipes/lib/aws-sdk-pipes.rb
+++ b/gems/aws-sdk-pipes/lib/aws-sdk-pipes.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Pipes
- GEM_VERSION = '1.26.0'
+ GEM_VERSION = '1.27.0'
end
diff --git a/gems/aws-sdk-pipes/lib/aws-sdk-pipes/client.rb b/gems/aws-sdk-pipes/lib/aws-sdk-pipes/client.rb
index 3fe7e6037ca..97a9e4ca65a 100644
--- a/gems/aws-sdk-pipes/lib/aws-sdk-pipes/client.rb
+++ b/gems/aws-sdk-pipes/lib/aws-sdk-pipes/client.rb
@@ -1855,7 +1855,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-pipes'
- context[:gem_version] = '1.26.0'
+ context[:gem_version] = '1.27.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-pipes/lib/aws-sdk-pipes/endpoints.rb b/gems/aws-sdk-pipes/lib/aws-sdk-pipes/endpoints.rb
index 18ad7612d11..5bda903396e 100644
--- a/gems/aws-sdk-pipes/lib/aws-sdk-pipes/endpoints.rb
+++ b/gems/aws-sdk-pipes/lib/aws-sdk-pipes/endpoints.rb
@@ -14,140 +14,110 @@ module Endpoints
class CreatePipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pipes::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pipes::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pipes::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pipes::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pipes::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartPipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pipes::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopPipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pipes::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pipes::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pipes::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePipe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pipes::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-pipes/lib/aws-sdk-pipes/plugins/endpoints.rb b/gems/aws-sdk-pipes/lib/aws-sdk-pipes/plugins/endpoints.rb
index b9dba317447..8e8460f670c 100644
--- a/gems/aws-sdk-pipes/lib/aws-sdk-pipes/plugins/endpoints.rb
+++ b/gems/aws-sdk-pipes/lib/aws-sdk-pipes/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-pipes/spec/endpoint_provider_spec.rb b/gems/aws-sdk-pipes/spec/endpoint_provider_spec.rb
index a9c2d2c99f1..5bfb54dec31 100644
--- a/gems/aws-sdk-pipes/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-pipes/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Pipes
describe EndpointProvider do
subject { Aws::Pipes::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Pipes
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Pipes
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Pipes
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Pipes
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Pipes
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Pipes
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Pipes
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Pipes
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Pipes
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Pipes
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Pipes
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Pipes
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Pipes
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Pipes
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Pipes
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Pipes
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Pipes
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Pipes
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Pipes
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://pipes.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Pipes
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Pipes
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Pipes
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Pipes
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Pipes
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-polly/CHANGELOG.md b/gems/aws-sdk-polly/CHANGELOG.md
index 4a150c4aaba..303c9dd3c03 100644
--- a/gems/aws-sdk-polly/CHANGELOG.md
+++ b/gems/aws-sdk-polly/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.94.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.93.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-polly/VERSION b/gems/aws-sdk-polly/VERSION
index 95784efddbc..8db4a57b3d0 100644
--- a/gems/aws-sdk-polly/VERSION
+++ b/gems/aws-sdk-polly/VERSION
@@ -1 +1 @@
-1.93.0
+1.94.0
diff --git a/gems/aws-sdk-polly/aws-sdk-polly.gemspec b/gems/aws-sdk-polly/aws-sdk-polly.gemspec
index 6b0c81630d2..d0583ed45e8 100644
--- a/gems/aws-sdk-polly/aws-sdk-polly.gemspec
+++ b/gems/aws-sdk-polly/aws-sdk-polly.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-polly/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-polly/lib/aws-sdk-polly.rb b/gems/aws-sdk-polly/lib/aws-sdk-polly.rb
index 53e65159d12..1678aa8f323 100644
--- a/gems/aws-sdk-polly/lib/aws-sdk-polly.rb
+++ b/gems/aws-sdk-polly/lib/aws-sdk-polly.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Polly
- GEM_VERSION = '1.93.0'
+ GEM_VERSION = '1.94.0'
end
diff --git a/gems/aws-sdk-polly/lib/aws-sdk-polly/client.rb b/gems/aws-sdk-polly/lib/aws-sdk-polly/client.rb
index 8567f2279ba..00f6a614da6 100644
--- a/gems/aws-sdk-polly/lib/aws-sdk-polly/client.rb
+++ b/gems/aws-sdk-polly/lib/aws-sdk-polly/client.rb
@@ -1205,7 +1205,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-polly'
- context[:gem_version] = '1.93.0'
+ context[:gem_version] = '1.94.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-polly/lib/aws-sdk-polly/endpoints.rb b/gems/aws-sdk-polly/lib/aws-sdk-polly/endpoints.rb
index 115d5460f96..0a35c41db19 100644
--- a/gems/aws-sdk-polly/lib/aws-sdk-polly/endpoints.rb
+++ b/gems/aws-sdk-polly/lib/aws-sdk-polly/endpoints.rb
@@ -14,126 +14,99 @@ module Endpoints
class DeleteLexicon
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Polly::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVoices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Polly::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLexicon
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Polly::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSpeechSynthesisTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Polly::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLexicons
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Polly::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSpeechSynthesisTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Polly::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLexicon
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Polly::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSpeechSynthesisTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Polly::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SynthesizeSpeech
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Polly::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-polly/lib/aws-sdk-polly/plugins/endpoints.rb b/gems/aws-sdk-polly/lib/aws-sdk-polly/plugins/endpoints.rb
index 5c7684fb4b7..7660edf4335 100644
--- a/gems/aws-sdk-polly/lib/aws-sdk-polly/plugins/endpoints.rb
+++ b/gems/aws-sdk-polly/lib/aws-sdk-polly/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-polly/spec/endpoint_provider_spec.rb b/gems/aws-sdk-polly/spec/endpoint_provider_spec.rb
index c910007a7a3..a9f43da6fc2 100644
--- a/gems/aws-sdk-polly/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-polly/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Polly
describe EndpointProvider do
subject { Aws::Polly::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Polly
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Polly
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Polly
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Polly
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Polly
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Polly
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Polly
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Polly
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Polly
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Polly
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.eu-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Polly
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.eu-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Polly
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.eu-west-3.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Polly
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.me-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Polly
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.sa-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Polly
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Polly
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Polly
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.us-east-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Polly
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Polly
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Polly
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Polly
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Polly
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.us-west-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Polly
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::Polly
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::Polly
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::Polly
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::Polly
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::Polly
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Polly
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Polly
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.us-gov-west-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::Polly
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::Polly
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::Polly
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Polly
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::Polly
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Polly
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -531,7 +531,7 @@ module Aws::Polly
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -545,7 +545,7 @@ module Aws::Polly
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -558,7 +558,7 @@ module Aws::Polly
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.us-iso-east-1.c2s.ic.gov"}}
end
@@ -572,7 +572,7 @@ module Aws::Polly
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -585,7 +585,7 @@ module Aws::Polly
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -599,7 +599,7 @@ module Aws::Polly
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -612,7 +612,7 @@ module Aws::Polly
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://polly.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -626,7 +626,7 @@ module Aws::Polly
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::Polly
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::Polly
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -667,7 +667,7 @@ module Aws::Polly
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -680,7 +680,7 @@ module Aws::Polly
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-pricing/CHANGELOG.md b/gems/aws-sdk-pricing/CHANGELOG.md
index 3ecd9f8f05a..b72c70e0a55 100644
--- a/gems/aws-sdk-pricing/CHANGELOG.md
+++ b/gems/aws-sdk-pricing/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.65.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.64.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-pricing/VERSION b/gems/aws-sdk-pricing/VERSION
index 9405730420f..902c74186fb 100644
--- a/gems/aws-sdk-pricing/VERSION
+++ b/gems/aws-sdk-pricing/VERSION
@@ -1 +1 @@
-1.64.0
+1.65.0
diff --git a/gems/aws-sdk-pricing/aws-sdk-pricing.gemspec b/gems/aws-sdk-pricing/aws-sdk-pricing.gemspec
index 6165e1ac3c1..9201b3f42f6 100644
--- a/gems/aws-sdk-pricing/aws-sdk-pricing.gemspec
+++ b/gems/aws-sdk-pricing/aws-sdk-pricing.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-pricing/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-pricing/lib/aws-sdk-pricing.rb b/gems/aws-sdk-pricing/lib/aws-sdk-pricing.rb
index 6c8ebfa7ad8..5e3a7624fe5 100644
--- a/gems/aws-sdk-pricing/lib/aws-sdk-pricing.rb
+++ b/gems/aws-sdk-pricing/lib/aws-sdk-pricing.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Pricing
- GEM_VERSION = '1.64.0'
+ GEM_VERSION = '1.65.0'
end
diff --git a/gems/aws-sdk-pricing/lib/aws-sdk-pricing/client.rb b/gems/aws-sdk-pricing/lib/aws-sdk-pricing/client.rb
index 263401f8c54..b8ca41e8d6f 100644
--- a/gems/aws-sdk-pricing/lib/aws-sdk-pricing/client.rb
+++ b/gems/aws-sdk-pricing/lib/aws-sdk-pricing/client.rb
@@ -800,7 +800,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-pricing'
- context[:gem_version] = '1.64.0'
+ context[:gem_version] = '1.65.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-pricing/lib/aws-sdk-pricing/endpoints.rb b/gems/aws-sdk-pricing/lib/aws-sdk-pricing/endpoints.rb
index 63e41ad941c..1d041fe9332 100644
--- a/gems/aws-sdk-pricing/lib/aws-sdk-pricing/endpoints.rb
+++ b/gems/aws-sdk-pricing/lib/aws-sdk-pricing/endpoints.rb
@@ -14,70 +14,55 @@ module Endpoints
class DescribeServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pricing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAttributeValues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pricing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPriceListFileUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pricing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProducts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pricing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPriceLists
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Pricing::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-pricing/lib/aws-sdk-pricing/plugins/endpoints.rb b/gems/aws-sdk-pricing/lib/aws-sdk-pricing/plugins/endpoints.rb
index d9f2b3d4197..e103018eb8d 100644
--- a/gems/aws-sdk-pricing/lib/aws-sdk-pricing/plugins/endpoints.rb
+++ b/gems/aws-sdk-pricing/lib/aws-sdk-pricing/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-pricing/spec/endpoint_provider_spec.rb b/gems/aws-sdk-pricing/spec/endpoint_provider_spec.rb
index 9ca32bc48f9..f917181eda6 100644
--- a/gems/aws-sdk-pricing/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-pricing/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Pricing
describe EndpointProvider do
subject { Aws::Pricing::EndpointProvider.new }
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing.ap-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Pricing
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Pricing
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing-fips.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Pricing
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing-fips.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Pricing
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::Pricing
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Pricing
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Pricing
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Pricing
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Pricing
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::Pricing
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Pricing
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::Pricing
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Pricing
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::Pricing
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::Pricing
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::Pricing
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::Pricing
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::Pricing
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::Pricing
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::Pricing
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.pricing.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::Pricing
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Pricing
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::Pricing
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::Pricing
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::Pricing
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-privatenetworks/CHANGELOG.md b/gems/aws-sdk-privatenetworks/CHANGELOG.md
index 59986e37971..fb27ece6ccb 100644
--- a/gems/aws-sdk-privatenetworks/CHANGELOG.md
+++ b/gems/aws-sdk-privatenetworks/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.23.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.22.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-privatenetworks/VERSION b/gems/aws-sdk-privatenetworks/VERSION
index 57807d6d0d0..a6c2798a482 100644
--- a/gems/aws-sdk-privatenetworks/VERSION
+++ b/gems/aws-sdk-privatenetworks/VERSION
@@ -1 +1 @@
-1.22.0
+1.23.0
diff --git a/gems/aws-sdk-privatenetworks/aws-sdk-privatenetworks.gemspec b/gems/aws-sdk-privatenetworks/aws-sdk-privatenetworks.gemspec
index ad381b89914..6921bc3048d 100644
--- a/gems/aws-sdk-privatenetworks/aws-sdk-privatenetworks.gemspec
+++ b/gems/aws-sdk-privatenetworks/aws-sdk-privatenetworks.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-privatenetworks/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks.rb b/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks.rb
index 4ebf0608dd1..aac6ac9cf1d 100644
--- a/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks.rb
+++ b/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::PrivateNetworks
- GEM_VERSION = '1.22.0'
+ GEM_VERSION = '1.23.0'
end
diff --git a/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/client.rb b/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/client.rb
index e3640052b1e..84c8cc691e3 100644
--- a/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/client.rb
+++ b/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/client.rb
@@ -2187,7 +2187,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-privatenetworks'
- context[:gem_version] = '1.22.0'
+ context[:gem_version] = '1.23.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/endpoints.rb b/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/endpoints.rb
index 8aadbd15490..58a13dffec4 100644
--- a/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/endpoints.rb
+++ b/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/endpoints.rb
@@ -14,364 +14,286 @@ module Endpoints
class AcknowledgeOrderReceipt
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ActivateDeviceIdentifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ActivateNetworkSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfigureAccessPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetworkSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeactivateDeviceIdentifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeviceIdentifier
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOrder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeviceIdentifiers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNetworkResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNetworkSites
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNetworks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Ping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartNetworkResourceUpdate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNetworkSite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNetworkSitePlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrivateNetworks::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/plugins/endpoints.rb b/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/plugins/endpoints.rb
index 45d7338ce13..74d14d25a38 100644
--- a/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/plugins/endpoints.rb
+++ b/gems/aws-sdk-privatenetworks/lib/aws-sdk-privatenetworks/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-privatenetworks/spec/endpoint_provider_spec.rb b/gems/aws-sdk-privatenetworks/spec/endpoint_provider_spec.rb
index aa8b4ea3901..7ab13074f37 100644
--- a/gems/aws-sdk-privatenetworks/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-privatenetworks/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PrivateNetworks
describe EndpointProvider do
subject { Aws::PrivateNetworks::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::PrivateNetworks
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://private-networks.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::PrivateNetworks
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::PrivateNetworks
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::PrivateNetworks
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::PrivateNetworks
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::PrivateNetworks
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-prometheusservice/CHANGELOG.md b/gems/aws-sdk-prometheusservice/CHANGELOG.md
index 74b91bf6e42..4953fc4cf23 100644
--- a/gems/aws-sdk-prometheusservice/CHANGELOG.md
+++ b/gems/aws-sdk-prometheusservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-prometheusservice/VERSION b/gems/aws-sdk-prometheusservice/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-prometheusservice/VERSION
+++ b/gems/aws-sdk-prometheusservice/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-prometheusservice/aws-sdk-prometheusservice.gemspec b/gems/aws-sdk-prometheusservice/aws-sdk-prometheusservice.gemspec
index 9073cdbf087..5998a0adff1 100644
--- a/gems/aws-sdk-prometheusservice/aws-sdk-prometheusservice.gemspec
+++ b/gems/aws-sdk-prometheusservice/aws-sdk-prometheusservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-prometheusservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice.rb b/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice.rb
index 21d4fd30a32..17da79fe132 100644
--- a/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice.rb
+++ b/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::PrometheusService
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/client.rb b/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/client.rb
index 1d7653496cc..a4f3a8733a5 100644
--- a/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/client.rb
+++ b/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/client.rb
@@ -1702,7 +1702,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-prometheusservice'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/endpoints.rb b/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/endpoints.rb
index b96d3888e77..412537514b4 100644
--- a/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/endpoints.rb
+++ b/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/endpoints.rb
@@ -14,364 +14,286 @@ module Endpoints
class CreateAlertManagerDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRuleGroupsNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateScraper
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAlertManagerDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRuleGroupsNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScraper
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAlertManagerDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRuleGroupsNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScraper
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDefaultScraperConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuleGroupsNamespaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListScrapers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAlertManagerDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRuleGroupsNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkspaceAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::PrometheusService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/plugins/endpoints.rb b/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/plugins/endpoints.rb
index d6e552ff435..6d8fa109721 100644
--- a/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-prometheusservice/lib/aws-sdk-prometheusservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-prometheusservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-prometheusservice/spec/endpoint_provider_spec.rb
index 24eeecd0ee5..1972ee19869 100644
--- a/gems/aws-sdk-prometheusservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-prometheusservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::PrometheusService
describe EndpointProvider do
subject { Aws::PrometheusService::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::PrometheusService
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::PrometheusService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::PrometheusService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::PrometheusService
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.eu-north-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::PrometheusService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::PrometheusService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.eu-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.us-east-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.us-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps-fips.us-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.us-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::PrometheusService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::PrometheusService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::PrometheusService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::PrometheusService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.cn-north-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps-fips.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.us-gov-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.us-gov-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -321,7 +321,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -335,7 +335,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -348,7 +348,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.us-iso-east-1.c2s.ic.gov"}}
end
@@ -362,7 +362,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -375,7 +375,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -389,7 +389,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -402,7 +402,7 @@ module Aws::PrometheusService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://aps.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -416,7 +416,7 @@ module Aws::PrometheusService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::PrometheusService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::PrometheusService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -457,7 +457,7 @@ module Aws::PrometheusService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -470,7 +470,7 @@ module Aws::PrometheusService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-proton/CHANGELOG.md b/gems/aws-sdk-proton/CHANGELOG.md
index 5d781c47f8b..550494c13af 100644
--- a/gems/aws-sdk-proton/CHANGELOG.md
+++ b/gems/aws-sdk-proton/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.44.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.43.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-proton/VERSION b/gems/aws-sdk-proton/VERSION
index b978278f05f..372cf402c73 100644
--- a/gems/aws-sdk-proton/VERSION
+++ b/gems/aws-sdk-proton/VERSION
@@ -1 +1 @@
-1.43.0
+1.44.0
diff --git a/gems/aws-sdk-proton/aws-sdk-proton.gemspec b/gems/aws-sdk-proton/aws-sdk-proton.gemspec
index 32352854675..06fd307ca1b 100644
--- a/gems/aws-sdk-proton/aws-sdk-proton.gemspec
+++ b/gems/aws-sdk-proton/aws-sdk-proton.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-proton/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-proton/lib/aws-sdk-proton.rb b/gems/aws-sdk-proton/lib/aws-sdk-proton.rb
index 0142432145c..3437bdf5bd1 100644
--- a/gems/aws-sdk-proton/lib/aws-sdk-proton.rb
+++ b/gems/aws-sdk-proton/lib/aws-sdk-proton.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Proton
- GEM_VERSION = '1.43.0'
+ GEM_VERSION = '1.44.0'
end
diff --git a/gems/aws-sdk-proton/lib/aws-sdk-proton/client.rb b/gems/aws-sdk-proton/lib/aws-sdk-proton/client.rb
index 9b3335f3106..7d3b2e821c0 100644
--- a/gems/aws-sdk-proton/lib/aws-sdk-proton/client.rb
+++ b/gems/aws-sdk-proton/lib/aws-sdk-proton/client.rb
@@ -6153,7 +6153,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-proton'
- context[:gem_version] = '1.43.0'
+ context[:gem_version] = '1.44.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-proton/lib/aws-sdk-proton/endpoints.rb b/gems/aws-sdk-proton/lib/aws-sdk-proton/endpoints.rb
index 85a3f8a1c35..4a1f0332431 100644
--- a/gems/aws-sdk-proton/lib/aws-sdk-proton/endpoints.rb
+++ b/gems/aws-sdk-proton/lib/aws-sdk-proton/endpoints.rb
@@ -14,1218 +14,957 @@ module Endpoints
class AcceptEnvironmentAccountConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelComponentDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelEnvironmentDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelServiceInstanceDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelServicePipelineDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironmentAccountConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironmentTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEnvironmentTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServiceInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServiceSyncConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServiceTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServiceTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTemplateSyncConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironmentAccountConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironmentTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironmentTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServiceSyncConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServiceTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServiceTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTemplateSyncConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironmentAccountConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironmentTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironmentTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRepositorySyncStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcesSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceInstanceSyncStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceSyncBlockerSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceSyncConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemplateSyncConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemplateSyncStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponentOutputs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponentProvisionedResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironmentAccountConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironmentOutputs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironmentProvisionedResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironmentTemplateVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironmentTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRepositories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRepositorySyncDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceInstanceOutputs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceInstanceProvisionedResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServicePipelineOutputs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServicePipelineProvisionedResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceTemplateVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class NotifyResourceDeploymentStatusChange
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectEnvironmentAccountConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironmentAccountConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironmentTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironmentTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServicePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceSyncBlocker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceSyncConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceTemplateVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTemplateSyncConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Proton::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-proton/lib/aws-sdk-proton/plugins/endpoints.rb b/gems/aws-sdk-proton/lib/aws-sdk-proton/plugins/endpoints.rb
index 7006bb6606b..d5691d88d59 100644
--- a/gems/aws-sdk-proton/lib/aws-sdk-proton/plugins/endpoints.rb
+++ b/gems/aws-sdk-proton/lib/aws-sdk-proton/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-proton/spec/endpoint_provider_spec.rb b/gems/aws-sdk-proton/spec/endpoint_provider_spec.rb
index 1b597f86550..4241db18151 100644
--- a/gems/aws-sdk-proton/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-proton/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Proton
describe EndpointProvider do
subject { Aws::Proton::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Proton
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.eu-west-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Proton
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Proton
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.us-east-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Proton
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.us-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Proton
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton-fips.us-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::Proton
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton-fips.us-east-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Proton
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::Proton
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Proton
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::Proton
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::Proton
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::Proton
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton-fips.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::Proton
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Proton
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::Proton
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Proton
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -251,7 +251,7 @@ module Aws::Proton
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -265,7 +265,7 @@ module Aws::Proton
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -278,7 +278,7 @@ module Aws::Proton
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.us-iso-east-1.c2s.ic.gov"}}
end
@@ -292,7 +292,7 @@ module Aws::Proton
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -305,7 +305,7 @@ module Aws::Proton
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -319,7 +319,7 @@ module Aws::Proton
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -332,7 +332,7 @@ module Aws::Proton
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://proton.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -346,7 +346,7 @@ module Aws::Proton
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -360,7 +360,7 @@ module Aws::Proton
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::Proton
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -387,7 +387,7 @@ module Aws::Proton
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -400,7 +400,7 @@ module Aws::Proton
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-qapps/CHANGELOG.md b/gems/aws-sdk-qapps/CHANGELOG.md
index b699e9d5d54..9ecd261ab2a 100644
--- a/gems/aws-sdk-qapps/CHANGELOG.md
+++ b/gems/aws-sdk-qapps/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.4.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.3.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-qapps/VERSION b/gems/aws-sdk-qapps/VERSION
index f0bb29e7638..88c5fb891dc 100644
--- a/gems/aws-sdk-qapps/VERSION
+++ b/gems/aws-sdk-qapps/VERSION
@@ -1 +1 @@
-1.3.0
+1.4.0
diff --git a/gems/aws-sdk-qapps/aws-sdk-qapps.gemspec b/gems/aws-sdk-qapps/aws-sdk-qapps.gemspec
index 8884f5dd7a5..23ad602e044 100644
--- a/gems/aws-sdk-qapps/aws-sdk-qapps.gemspec
+++ b/gems/aws-sdk-qapps/aws-sdk-qapps.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-qapps/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-qapps/lib/aws-sdk-qapps.rb b/gems/aws-sdk-qapps/lib/aws-sdk-qapps.rb
index 8fcb34bb7c5..7aef4c9ca32 100644
--- a/gems/aws-sdk-qapps/lib/aws-sdk-qapps.rb
+++ b/gems/aws-sdk-qapps/lib/aws-sdk-qapps.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::QApps
- GEM_VERSION = '1.3.0'
+ GEM_VERSION = '1.4.0'
end
diff --git a/gems/aws-sdk-qapps/lib/aws-sdk-qapps/client.rb b/gems/aws-sdk-qapps/lib/aws-sdk-qapps/client.rb
index 1ee91a06c1f..6170c7a5609 100644
--- a/gems/aws-sdk-qapps/lib/aws-sdk-qapps/client.rb
+++ b/gems/aws-sdk-qapps/lib/aws-sdk-qapps/client.rb
@@ -2501,7 +2501,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-qapps'
- context[:gem_version] = '1.3.0'
+ context[:gem_version] = '1.4.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-qapps/lib/aws-sdk-qapps/endpoints.rb b/gems/aws-sdk-qapps/lib/aws-sdk-qapps/endpoints.rb
index e9f40b624d2..d448bd2d574 100644
--- a/gems/aws-sdk-qapps/lib/aws-sdk-qapps/endpoints.rb
+++ b/gems/aws-sdk-qapps/lib/aws-sdk-qapps/endpoints.rb
@@ -14,336 +14,264 @@ module Endpoints
class AssociateLibraryItemReview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateQAppWithUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLibraryItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLibraryItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateLibraryItemReview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateQAppFromUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLibraryItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQAppSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLibraryItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQApps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PredictQApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartQAppSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopQAppSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLibraryItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLibraryItemMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQAppSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QApps::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-qapps/lib/aws-sdk-qapps/plugins/endpoints.rb b/gems/aws-sdk-qapps/lib/aws-sdk-qapps/plugins/endpoints.rb
index 4fa286f59ea..c5595374a2d 100644
--- a/gems/aws-sdk-qapps/lib/aws-sdk-qapps/plugins/endpoints.rb
+++ b/gems/aws-sdk-qapps/lib/aws-sdk-qapps/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-qapps/spec/endpoint_provider_spec.rb b/gems/aws-sdk-qapps/spec/endpoint_provider_spec.rb
index 2babfab802f..acab3422a77 100644
--- a/gems/aws-sdk-qapps/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-qapps/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::QApps
describe EndpointProvider do
subject { Aws::QApps::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::QApps
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::QApps
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::QApps
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::QApps
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::QApps
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::QApps
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::QApps
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::QApps
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::QApps
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::QApps
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::QApps
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::QApps
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::QApps
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::QApps
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::QApps
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::QApps
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::QApps
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::QApps
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::QApps
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://data.qapps.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::QApps
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::QApps
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::QApps
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::QApps
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::QApps
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-qbusiness/CHANGELOG.md b/gems/aws-sdk-qbusiness/CHANGELOG.md
index d864020119d..1c30f0a85c2 100644
--- a/gems/aws-sdk-qbusiness/CHANGELOG.md
+++ b/gems/aws-sdk-qbusiness/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.15.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.14.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-qbusiness/VERSION b/gems/aws-sdk-qbusiness/VERSION
index 850e742404b..141f2e805be 100644
--- a/gems/aws-sdk-qbusiness/VERSION
+++ b/gems/aws-sdk-qbusiness/VERSION
@@ -1 +1 @@
-1.14.0
+1.15.0
diff --git a/gems/aws-sdk-qbusiness/aws-sdk-qbusiness.gemspec b/gems/aws-sdk-qbusiness/aws-sdk-qbusiness.gemspec
index 6831fc51b46..f5ce6bd50fb 100644
--- a/gems/aws-sdk-qbusiness/aws-sdk-qbusiness.gemspec
+++ b/gems/aws-sdk-qbusiness/aws-sdk-qbusiness.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-qbusiness/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness.rb b/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness.rb
index e5ce4995de5..9297d7c594d 100644
--- a/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness.rb
+++ b/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness.rb
@@ -55,6 +55,6 @@
# @!group service
module Aws::QBusiness
- GEM_VERSION = '1.14.0'
+ GEM_VERSION = '1.15.0'
end
diff --git a/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/async_client.rb b/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/async_client.rb
index a9bff74a719..9c51ff5e4d5 100644
--- a/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/async_client.rb
+++ b/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/async_client.rb
@@ -597,7 +597,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-qbusiness'
- context[:gem_version] = '1.14.0'
+ context[:gem_version] = '1.15.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/client.rb b/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/client.rb
index d50882eec9f..f86a8012fdc 100644
--- a/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/client.rb
+++ b/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/client.rb
@@ -4151,7 +4151,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-qbusiness'
- context[:gem_version] = '1.14.0'
+ context[:gem_version] = '1.15.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/endpoints.rb b/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/endpoints.rb
index 3e2d10940d4..0dfa6ca8474 100644
--- a/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/endpoints.rb
+++ b/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/endpoints.rb
@@ -14,728 +14,560 @@ module Endpoints
class BatchDeleteDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchPutDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Chat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ChatSync
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePlugin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRetriever
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWebExperience
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChatControlsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConversation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePlugin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRetriever
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWebExperience
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChatControlsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPlugin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRetriever
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWebExperience
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConversations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSourceSyncJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDocuments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIndices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMessages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPlugins
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRetrievers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWebExperiences
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDataSourceSyncJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDataSourceSyncJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChatControlsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePlugin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRetriever
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWebExperience
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QBusiness::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/plugins/endpoints.rb b/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/plugins/endpoints.rb
index 58c3758c834..563c85f79ca 100644
--- a/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/plugins/endpoints.rb
+++ b/gems/aws-sdk-qbusiness/lib/aws-sdk-qbusiness/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-qbusiness/spec/endpoint_provider_spec.rb b/gems/aws-sdk-qbusiness/spec/endpoint_provider_spec.rb
index 703259d33e5..5b047607019 100644
--- a/gems/aws-sdk-qbusiness/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-qbusiness/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::QBusiness
describe EndpointProvider do
subject { Aws::QBusiness::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qbusiness-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::QBusiness
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qbusiness.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::QBusiness
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qbusiness-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -56,7 +56,7 @@ module Aws::QBusiness
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qbusiness.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -70,7 +70,7 @@ module Aws::QBusiness
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qbusiness-fips.us-gov-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::QBusiness
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qbusiness.us-gov-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::QBusiness
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -112,7 +112,7 @@ module Aws::QBusiness
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -126,7 +126,7 @@ module Aws::QBusiness
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -139,7 +139,7 @@ module Aws::QBusiness
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-qconnect/CHANGELOG.md b/gems/aws-sdk-qconnect/CHANGELOG.md
index 69a3c1a11b5..df8e49617f6 100644
--- a/gems/aws-sdk-qconnect/CHANGELOG.md
+++ b/gems/aws-sdk-qconnect/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.17.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.16.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-qconnect/VERSION b/gems/aws-sdk-qconnect/VERSION
index 15b989e398f..092afa15df4 100644
--- a/gems/aws-sdk-qconnect/VERSION
+++ b/gems/aws-sdk-qconnect/VERSION
@@ -1 +1 @@
-1.16.0
+1.17.0
diff --git a/gems/aws-sdk-qconnect/aws-sdk-qconnect.gemspec b/gems/aws-sdk-qconnect/aws-sdk-qconnect.gemspec
index 4e6c431b189..2a109914dec 100644
--- a/gems/aws-sdk-qconnect/aws-sdk-qconnect.gemspec
+++ b/gems/aws-sdk-qconnect/aws-sdk-qconnect.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-qconnect/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect.rb b/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect.rb
index 1adb44c308a..ed6119a8319 100644
--- a/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect.rb
+++ b/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::QConnect
- GEM_VERSION = '1.16.0'
+ GEM_VERSION = '1.17.0'
end
diff --git a/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb b/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb
index d12ad6802f4..7cec9adc484 100644
--- a/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb
+++ b/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/client.rb
@@ -3407,7 +3407,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-qconnect'
- context[:gem_version] = '1.16.0'
+ context[:gem_version] = '1.17.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/endpoints.rb b/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/endpoints.rb
index 9228a2586f7..bed794c3446 100644
--- a/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/endpoints.rb
+++ b/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/endpoints.rb
@@ -14,658 +14,517 @@ module Endpoints
class CreateAssistant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssistantAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContentAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQuickResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssistant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssistantAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContentAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQuickResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssistant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssistantAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContentAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContentSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetKnowledgeBase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQuickResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssistantAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssistants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContentAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListKnowledgeBases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQuickResponses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class NotifyRecommendationsReceived
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFeedback
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class QueryAssistant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveKnowledgeBaseTemplateUri
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchQuickResponses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartContentUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKnowledgeBaseTemplateUri
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateQuickResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QConnect::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/plugins/endpoints.rb b/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/plugins/endpoints.rb
index d16e5dd1470..fc977e13949 100644
--- a/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/plugins/endpoints.rb
+++ b/gems/aws-sdk-qconnect/lib/aws-sdk-qconnect/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-qconnect/spec/endpoint_provider_spec.rb b/gems/aws-sdk-qconnect/spec/endpoint_provider_spec.rb
index f2adae3baf6..7b5f511b20d 100644
--- a/gems/aws-sdk-qconnect/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-qconnect/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::QConnect
describe EndpointProvider do
subject { Aws::QConnect::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::QConnect
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::QConnect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::QConnect
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::QConnect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::QConnect
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::QConnect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::QConnect
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::QConnect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::QConnect
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::QConnect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::QConnect
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::QConnect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::QConnect
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::QConnect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::QConnect
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::QConnect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::QConnect
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::QConnect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::QConnect
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wisdom.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::QConnect
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::QConnect
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::QConnect
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::QConnect
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::QConnect
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-qldb/CHANGELOG.md b/gems/aws-sdk-qldb/CHANGELOG.md
index cf5945be65d..73e034b1edc 100644
--- a/gems/aws-sdk-qldb/CHANGELOG.md
+++ b/gems/aws-sdk-qldb/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.48.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.47.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-qldb/VERSION b/gems/aws-sdk-qldb/VERSION
index 21998d3c2d9..9db5ea12f52 100644
--- a/gems/aws-sdk-qldb/VERSION
+++ b/gems/aws-sdk-qldb/VERSION
@@ -1 +1 @@
-1.47.0
+1.48.0
diff --git a/gems/aws-sdk-qldb/aws-sdk-qldb.gemspec b/gems/aws-sdk-qldb/aws-sdk-qldb.gemspec
index 82e19ee9947..4a6f8b51edc 100644
--- a/gems/aws-sdk-qldb/aws-sdk-qldb.gemspec
+++ b/gems/aws-sdk-qldb/aws-sdk-qldb.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-qldb/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-qldb/lib/aws-sdk-qldb.rb b/gems/aws-sdk-qldb/lib/aws-sdk-qldb.rb
index 8c5696e6e21..f40325c2033 100644
--- a/gems/aws-sdk-qldb/lib/aws-sdk-qldb.rb
+++ b/gems/aws-sdk-qldb/lib/aws-sdk-qldb.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::QLDB
- GEM_VERSION = '1.47.0'
+ GEM_VERSION = '1.48.0'
end
diff --git a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client.rb b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client.rb
index c169df324c9..3b9febe63fc 100644
--- a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client.rb
+++ b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/client.rb
@@ -1721,7 +1721,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-qldb'
- context[:gem_version] = '1.47.0'
+ context[:gem_version] = '1.48.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/endpoints.rb b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/endpoints.rb
index cf48c8ceab0..09473be112b 100644
--- a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/endpoints.rb
+++ b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/endpoints.rb
@@ -14,280 +14,220 @@ module Endpoints
class CancelJournalKinesisStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLedger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLedger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJournalKinesisStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJournalS3Export
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLedger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportJournalToS3
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDigest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJournalKinesisStreamsForLedger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJournalS3Exports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJournalS3ExportsForLedger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLedgers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StreamJournalToKinesis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLedger
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLedgerPermissionsMode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/plugins/endpoints.rb b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/plugins/endpoints.rb
index 01d90cca458..1a737e4752f 100644
--- a/gems/aws-sdk-qldb/lib/aws-sdk-qldb/plugins/endpoints.rb
+++ b/gems/aws-sdk-qldb/lib/aws-sdk-qldb/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-qldb/spec/endpoint_provider_spec.rb b/gems/aws-sdk-qldb/spec/endpoint_provider_spec.rb
index 4d07567534b..6cb4e47aa7d 100644
--- a/gems/aws-sdk-qldb/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-qldb/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::QLDB
describe EndpointProvider do
subject { Aws::QLDB::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::QLDB
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::QLDB
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::QLDB
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::QLDB
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.ca-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::QLDB
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb-fips.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::QLDB
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::QLDB
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::QLDB
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::QLDB
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::QLDB
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb-fips.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::QLDB
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.us-east-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::QLDB
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb-fips.us-east-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::QLDB
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.us-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::QLDB
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb-fips.us-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::QLDB
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb-fips.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::QLDB
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::QLDB
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::QLDB
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::QLDB
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::QLDB
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::QLDB
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb-fips.us-gov-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::QLDB
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::QLDB
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::QLDB
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::QLDB
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -377,7 +377,7 @@ module Aws::QLDB
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -391,7 +391,7 @@ module Aws::QLDB
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -404,7 +404,7 @@ module Aws::QLDB
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.us-iso-east-1.c2s.ic.gov"}}
end
@@ -418,7 +418,7 @@ module Aws::QLDB
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -431,7 +431,7 @@ module Aws::QLDB
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -445,7 +445,7 @@ module Aws::QLDB
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -458,7 +458,7 @@ module Aws::QLDB
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://qldb.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -472,7 +472,7 @@ module Aws::QLDB
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -486,7 +486,7 @@ module Aws::QLDB
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -500,7 +500,7 @@ module Aws::QLDB
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -513,7 +513,7 @@ module Aws::QLDB
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -526,7 +526,7 @@ module Aws::QLDB
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-qldbsession/CHANGELOG.md b/gems/aws-sdk-qldbsession/CHANGELOG.md
index b459772a4e8..d306de0730e 100644
--- a/gems/aws-sdk-qldbsession/CHANGELOG.md
+++ b/gems/aws-sdk-qldbsession/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.44.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.43.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-qldbsession/VERSION b/gems/aws-sdk-qldbsession/VERSION
index b978278f05f..372cf402c73 100644
--- a/gems/aws-sdk-qldbsession/VERSION
+++ b/gems/aws-sdk-qldbsession/VERSION
@@ -1 +1 @@
-1.43.0
+1.44.0
diff --git a/gems/aws-sdk-qldbsession/aws-sdk-qldbsession.gemspec b/gems/aws-sdk-qldbsession/aws-sdk-qldbsession.gemspec
index c9458b55179..493d9d34031 100644
--- a/gems/aws-sdk-qldbsession/aws-sdk-qldbsession.gemspec
+++ b/gems/aws-sdk-qldbsession/aws-sdk-qldbsession.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-qldbsession/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession.rb b/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession.rb
index bf7206dad9e..ced5438608b 100644
--- a/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession.rb
+++ b/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::QLDBSession
- GEM_VERSION = '1.43.0'
+ GEM_VERSION = '1.44.0'
end
diff --git a/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/client.rb b/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/client.rb
index 3a507c14847..f9f72306fc9 100644
--- a/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/client.rb
+++ b/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/client.rb
@@ -603,7 +603,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-qldbsession'
- context[:gem_version] = '1.43.0'
+ context[:gem_version] = '1.44.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/endpoints.rb b/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/endpoints.rb
index 520b1ef9363..033c462614e 100644
--- a/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/endpoints.rb
+++ b/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class SendCommand
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QLDBSession::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/plugins/endpoints.rb b/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/plugins/endpoints.rb
index 187302d7248..b178d7cd9e4 100644
--- a/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/plugins/endpoints.rb
+++ b/gems/aws-sdk-qldbsession/lib/aws-sdk-qldbsession/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-qldbsession/spec/endpoint_provider_spec.rb b/gems/aws-sdk-qldbsession/spec/endpoint_provider_spec.rb
index f8996340ea5..28bb2274613 100644
--- a/gems/aws-sdk-qldbsession/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-qldbsession/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::QLDBSession
describe EndpointProvider do
subject { Aws::QLDBSession::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::QLDBSession
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::QLDBSession
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::QLDBSession
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::QLDBSession
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.ca-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::QLDBSession
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.eu-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::QLDBSession
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.eu-west-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::QLDBSession
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.eu-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb-fips.us-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.us-east-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb-fips.us-east-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.us-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb-fips.us-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb-fips.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::QLDBSession
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::QLDBSession
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::QLDBSession
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::QLDBSession
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.cn-north-1.amazonaws.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb-fips.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.us-gov-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.us-gov-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -363,7 +363,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -377,7 +377,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -390,7 +390,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.us-iso-east-1.c2s.ic.gov"}}
end
@@ -404,7 +404,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -417,7 +417,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -431,7 +431,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -444,7 +444,7 @@ module Aws::QLDBSession
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://session.qldb.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -458,7 +458,7 @@ module Aws::QLDBSession
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -472,7 +472,7 @@ module Aws::QLDBSession
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -486,7 +486,7 @@ module Aws::QLDBSession
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -499,7 +499,7 @@ module Aws::QLDBSession
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -512,7 +512,7 @@ module Aws::QLDBSession
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-quicksight/CHANGELOG.md b/gems/aws-sdk-quicksight/CHANGELOG.md
index 09ec012bee5..c8b1c3e153e 100644
--- a/gems/aws-sdk-quicksight/CHANGELOG.md
+++ b/gems/aws-sdk-quicksight/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.126.0 (2024-09-19)
+------------------
+
+* Feature - QuickSight: 1. Add new API - ListFoldersForResource. 2. Commit mode adds visibility configuration of Apply button on multi-select controls for authors.
+
+1.125.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.124.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-quicksight/VERSION b/gems/aws-sdk-quicksight/VERSION
index 370a6d8fbb8..c96f047721f 100644
--- a/gems/aws-sdk-quicksight/VERSION
+++ b/gems/aws-sdk-quicksight/VERSION
@@ -1 +1 @@
-1.124.0
+1.126.0
diff --git a/gems/aws-sdk-quicksight/aws-sdk-quicksight.gemspec b/gems/aws-sdk-quicksight/aws-sdk-quicksight.gemspec
index 575fe322f39..1c7440f8dd4 100644
--- a/gems/aws-sdk-quicksight/aws-sdk-quicksight.gemspec
+++ b/gems/aws-sdk-quicksight/aws-sdk-quicksight.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-quicksight/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight.rb b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight.rb
index 62bb61e53c7..1bd5e3003ab 100644
--- a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight.rb
+++ b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::QuickSight
- GEM_VERSION = '1.124.0'
+ GEM_VERSION = '1.126.0'
end
diff --git a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/client.rb b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/client.rb
index e9a760d20e2..fa9c1ede2fc 100644
--- a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/client.rb
+++ b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/client.rb
@@ -9158,6 +9158,57 @@ def list_folders(params = {}, options = {})
req.send_request(options)
end
+ # List all folders that a resource is a member of.
+ #
+ # @option params [required, String] :aws_account_id
+ # The ID for the Amazon Web Services account that contains the resource.
+ #
+ # @option params [required, String] :resource_arn
+ # The Amazon Resource Name (ARN) the resource whose folders you need to
+ # list.
+ #
+ # @option params [String] :next_token
+ # The token for the next set of results, or null if there are no more
+ # results.
+ #
+ # @option params [Integer] :max_results
+ # The maximum number of results to be returned per request.
+ #
+ # @return [Types::ListFoldersForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListFoldersForResourceResponse#status #status} => Integer
+ # * {Types::ListFoldersForResourceResponse#folders #folders} => Array<String>
+ # * {Types::ListFoldersForResourceResponse#next_token #next_token} => String
+ # * {Types::ListFoldersForResourceResponse#request_id #request_id} => String
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_folders_for_resource({
+ # aws_account_id: "AwsAccountId", # required
+ # resource_arn: "Arn", # required
+ # next_token: "String",
+ # max_results: 1,
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.status #=> Integer
+ # resp.folders #=> Array
+ # resp.folders[0] #=> String
+ # resp.next_token #=> String
+ # resp.request_id #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFoldersForResource AWS API Documentation
+ #
+ # @overload list_folders_for_resource(params = {})
+ # @param [Hash] params ({})
+ def list_folders_for_resource(params = {}, options = {})
+ req = build_request(:list_folders_for_resource, params)
+ req.send_request(options)
+ end
+
# Lists member users in a group.
#
# @option params [required, String] :group_name
@@ -15278,7 +15329,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-quicksight'
- context[:gem_version] = '1.124.0'
+ context[:gem_version] = '1.126.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/client_api.rb b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/client_api.rb
index 5ac9cc062bb..1366bcac529 100644
--- a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/client_api.rb
+++ b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/client_api.rb
@@ -328,6 +328,7 @@ module ClientApi
ComboChartFieldWells = Shapes::StructureShape.new(name: 'ComboChartFieldWells')
ComboChartSortConfiguration = Shapes::StructureShape.new(name: 'ComboChartSortConfiguration')
ComboChartVisual = Shapes::StructureShape.new(name: 'ComboChartVisual')
+ CommitMode = Shapes::StringShape.new(name: 'CommitMode')
ComparativeOrder = Shapes::StructureShape.new(name: 'ComparativeOrder')
ComparisonConfiguration = Shapes::StructureShape.new(name: 'ComparisonConfiguration')
ComparisonFormatConfiguration = Shapes::StructureShape.new(name: 'ComparisonFormatConfiguration')
@@ -808,6 +809,7 @@ module ClientApi
FolderSummary = Shapes::StructureShape.new(name: 'FolderSummary')
FolderSummaryList = Shapes::ListShape.new(name: 'FolderSummaryList')
FolderType = Shapes::StringShape.new(name: 'FolderType')
+ FoldersForResourceArnList = Shapes::ListShape.new(name: 'FoldersForResourceArnList')
Font = Shapes::StructureShape.new(name: 'Font')
FontConfiguration = Shapes::StructureShape.new(name: 'FontConfiguration')
FontDecoration = Shapes::StringShape.new(name: 'FontDecoration')
@@ -1043,6 +1045,8 @@ module ClientApi
ListDataSourcesResponse = Shapes::StructureShape.new(name: 'ListDataSourcesResponse')
ListFolderMembersRequest = Shapes::StructureShape.new(name: 'ListFolderMembersRequest')
ListFolderMembersResponse = Shapes::StructureShape.new(name: 'ListFolderMembersResponse')
+ ListFoldersForResourceRequest = Shapes::StructureShape.new(name: 'ListFoldersForResourceRequest')
+ ListFoldersForResourceResponse = Shapes::StructureShape.new(name: 'ListFoldersForResourceResponse')
ListFoldersRequest = Shapes::StructureShape.new(name: 'ListFoldersRequest')
ListFoldersResponse = Shapes::StructureShape.new(name: 'ListFoldersResponse')
ListGroupMembershipsRequest = Shapes::StructureShape.new(name: 'ListGroupMembershipsRequest')
@@ -3883,6 +3887,7 @@ module ClientApi
DefaultDateTimePickerControlOptions.add_member(:type, Shapes::ShapeRef.new(shape: SheetControlDateTimePickerType, location_name: "Type"))
DefaultDateTimePickerControlOptions.add_member(:display_options, Shapes::ShapeRef.new(shape: DateTimePickerControlDisplayOptions, location_name: "DisplayOptions"))
+ DefaultDateTimePickerControlOptions.add_member(:commit_mode, Shapes::ShapeRef.new(shape: CommitMode, location_name: "CommitMode"))
DefaultDateTimePickerControlOptions.struct_class = Types::DefaultDateTimePickerControlOptions
DefaultFilterControlConfiguration.add_member(:title, Shapes::ShapeRef.new(shape: SheetControlTitle, required: true, location_name: "Title"))
@@ -3901,6 +3906,7 @@ module ClientApi
DefaultFilterDropDownControlOptions.add_member(:display_options, Shapes::ShapeRef.new(shape: DropDownControlDisplayOptions, location_name: "DisplayOptions"))
DefaultFilterDropDownControlOptions.add_member(:type, Shapes::ShapeRef.new(shape: SheetControlListType, location_name: "Type"))
DefaultFilterDropDownControlOptions.add_member(:selectable_values, Shapes::ShapeRef.new(shape: FilterSelectableValues, location_name: "SelectableValues"))
+ DefaultFilterDropDownControlOptions.add_member(:commit_mode, Shapes::ShapeRef.new(shape: CommitMode, location_name: "CommitMode"))
DefaultFilterDropDownControlOptions.struct_class = Types::DefaultFilterDropDownControlOptions
DefaultFilterListControlOptions.add_member(:display_options, Shapes::ShapeRef.new(shape: ListControlDisplayOptions, location_name: "DisplayOptions"))
@@ -3931,6 +3937,7 @@ module ClientApi
DefaultPaginatedLayoutConfiguration.struct_class = Types::DefaultPaginatedLayoutConfiguration
DefaultRelativeDateTimeControlOptions.add_member(:display_options, Shapes::ShapeRef.new(shape: RelativeDateTimeControlDisplayOptions, location_name: "DisplayOptions"))
+ DefaultRelativeDateTimeControlOptions.add_member(:commit_mode, Shapes::ShapeRef.new(shape: CommitMode, location_name: "CommitMode"))
DefaultRelativeDateTimeControlOptions.struct_class = Types::DefaultRelativeDateTimeControlOptions
DefaultSectionBasedLayoutConfiguration.add_member(:canvas_size_options, Shapes::ShapeRef.new(shape: SectionBasedLayoutCanvasSizeOptions, required: true, location_name: "CanvasSizeOptions"))
@@ -4943,6 +4950,7 @@ module ClientApi
FilterDateTimePickerControl.add_member(:source_filter_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, required: true, location_name: "SourceFilterId"))
FilterDateTimePickerControl.add_member(:display_options, Shapes::ShapeRef.new(shape: DateTimePickerControlDisplayOptions, location_name: "DisplayOptions"))
FilterDateTimePickerControl.add_member(:type, Shapes::ShapeRef.new(shape: SheetControlDateTimePickerType, location_name: "Type"))
+ FilterDateTimePickerControl.add_member(:commit_mode, Shapes::ShapeRef.new(shape: CommitMode, location_name: "CommitMode"))
FilterDateTimePickerControl.struct_class = Types::FilterDateTimePickerControl
FilterDropDownControl.add_member(:filter_control_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, required: true, location_name: "FilterControlId"))
@@ -4952,6 +4960,7 @@ module ClientApi
FilterDropDownControl.add_member(:type, Shapes::ShapeRef.new(shape: SheetControlListType, location_name: "Type"))
FilterDropDownControl.add_member(:selectable_values, Shapes::ShapeRef.new(shape: FilterSelectableValues, location_name: "SelectableValues"))
FilterDropDownControl.add_member(:cascading_control_configuration, Shapes::ShapeRef.new(shape: CascadingControlConfiguration, location_name: "CascadingControlConfiguration"))
+ FilterDropDownControl.add_member(:commit_mode, Shapes::ShapeRef.new(shape: CommitMode, location_name: "CommitMode"))
FilterDropDownControl.struct_class = Types::FilterDropDownControl
FilterGroup.add_member(:filter_group_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, required: true, location_name: "FilterGroupId"))
@@ -4995,6 +5004,7 @@ module ClientApi
FilterRelativeDateTimeControl.add_member(:title, Shapes::ShapeRef.new(shape: SheetControlTitle, required: true, location_name: "Title"))
FilterRelativeDateTimeControl.add_member(:source_filter_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, required: true, location_name: "SourceFilterId"))
FilterRelativeDateTimeControl.add_member(:display_options, Shapes::ShapeRef.new(shape: RelativeDateTimeControlDisplayOptions, location_name: "DisplayOptions"))
+ FilterRelativeDateTimeControl.add_member(:commit_mode, Shapes::ShapeRef.new(shape: CommitMode, location_name: "CommitMode"))
FilterRelativeDateTimeControl.struct_class = Types::FilterRelativeDateTimeControl
FilterScopeConfiguration.add_member(:selected_sheets, Shapes::ShapeRef.new(shape: SelectedSheetsFilterScopeConfiguration, location_name: "SelectedSheets"))
@@ -5067,6 +5077,8 @@ module ClientApi
FolderSummaryList.member = Shapes::ShapeRef.new(shape: FolderSummary)
+ FoldersForResourceArnList.member = Shapes::ShapeRef.new(shape: Arn)
+
Font.add_member(:font_family, Shapes::ShapeRef.new(shape: String, location_name: "FontFamily"))
Font.struct_class = Types::Font
@@ -5926,6 +5938,18 @@ module ClientApi
ListFolderMembersResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
ListFolderMembersResponse.struct_class = Types::ListFolderMembersResponse
+ ListFoldersForResourceRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
+ ListFoldersForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: Arn, required: true, location: "uri", location_name: "ResourceArn"))
+ ListFoldersForResourceRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
+ ListFoldersForResourceRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results", metadata: {"box"=>true}))
+ ListFoldersForResourceRequest.struct_class = Types::ListFoldersForResourceRequest
+
+ ListFoldersForResourceResponse.add_member(:status, Shapes::ShapeRef.new(shape: StatusCode, location: "statusCode", location_name: "Status"))
+ ListFoldersForResourceResponse.add_member(:folders, Shapes::ShapeRef.new(shape: FoldersForResourceArnList, location_name: "Folders"))
+ ListFoldersForResourceResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
+ ListFoldersForResourceResponse.add_member(:request_id, Shapes::ShapeRef.new(shape: String, location_name: "RequestId"))
+ ListFoldersForResourceResponse.struct_class = Types::ListFoldersForResourceResponse
+
ListFoldersRequest.add_member(:aws_account_id, Shapes::ShapeRef.new(shape: AwsAccountId, required: true, location: "uri", location_name: "AwsAccountId"))
ListFoldersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "next-token"))
ListFoldersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "max-results", metadata: {"box"=>true}))
@@ -6486,6 +6510,7 @@ module ClientApi
ParameterDropDownControl.add_member(:type, Shapes::ShapeRef.new(shape: SheetControlListType, location_name: "Type"))
ParameterDropDownControl.add_member(:selectable_values, Shapes::ShapeRef.new(shape: ParameterSelectableValues, location_name: "SelectableValues"))
ParameterDropDownControl.add_member(:cascading_control_configuration, Shapes::ShapeRef.new(shape: CascadingControlConfiguration, location_name: "CascadingControlConfiguration"))
+ ParameterDropDownControl.add_member(:commit_mode, Shapes::ShapeRef.new(shape: CommitMode, location_name: "CommitMode"))
ParameterDropDownControl.struct_class = Types::ParameterDropDownControl
ParameterListControl.add_member(:parameter_control_id, Shapes::ShapeRef.new(shape: ShortRestrictiveResourceId, required: true, location_name: "ParameterControlId"))
@@ -10782,6 +10807,27 @@ module ClientApi
)
end)
+ api.add_operation(:list_folders_for_resource, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListFoldersForResource"
+ o.http_method = "GET"
+ o.http_request_uri = "/accounts/{AwsAccountId}/resource/{ResourceArn}/folders"
+ o.input = Shapes::ShapeRef.new(shape: ListFoldersForResourceRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListFoldersForResourceResponse)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidParameterValueException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o.errors << Shapes::ShapeRef.new(shape: InvalidNextTokenException)
+ o.errors << Shapes::ShapeRef.new(shape: UnsupportedUserEditionException)
+ o.errors << Shapes::ShapeRef.new(shape: InternalFailureException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
api.add_operation(:list_group_memberships, Seahorse::Model::Operation.new.tap do |o|
o.name = "ListGroupMemberships"
o.http_method = "GET"
diff --git a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/endpoints.rb b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/endpoints.rb
index 15734088f7a..b036510eb3e 100644
--- a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/endpoints.rb
+++ b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/endpoints.rb
@@ -14,2478 +14,1958 @@ module Endpoints
class BatchCreateTopicReviewedAnswer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteTopicReviewedAnswer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelIngestion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccountCustomization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccountSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDashboard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFolderMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroupMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIAMPolicyAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIngestion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRefreshSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRoleMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTemplateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTheme
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateThemeAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTopic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTopicRefreshSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVPCConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccountCustomization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccountSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDashboard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataSetRefreshProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFolderMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroupMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIAMPolicyAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdentityPropagationConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRefreshSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoleCustomPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoleMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTemplateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTheme
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteThemeAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTopic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTopicRefreshSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserByPrincipalId
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVPCConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountCustomization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAnalysisDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAnalysisPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssetBundleExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssetBundleImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDashboard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDashboardDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDashboardPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDashboardSnapshotJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDashboardSnapshotJobResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataSetPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataSetRefreshProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataSourcePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFolderPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFolderResolvedPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGroupMembership
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIAMPolicyAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIngestion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIpRestriction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeKeyRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRefreshSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRoleCustomPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTemplateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTemplateDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTemplatePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTheme
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeThemeAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeThemePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTopic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTopicPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTopicRefresh
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTopicRefreshSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVPCConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateEmbedUrlForAnonymousUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateEmbedUrlForRegisteredUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDashboardEmbedUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSessionEmbedUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnalyses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssetBundleExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssetBundleImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDashboardVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDashboards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFolderMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFolders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListFoldersForResource
+ def self.build(context)
+ Aws::QuickSight::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupMemberships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIAMPolicyAssignments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIAMPolicyAssignmentsForUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentityPropagationConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIngestions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNamespaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRefreshSchedules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoleMemberships
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplateAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplateVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThemeAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThemeVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListThemes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTopicRefreshSchedules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTopicReviewedAnswers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTopics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVPCConnections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDataSetRefreshProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchAnalyses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchDashboards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchDataSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchDataSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchFolders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAssetBundleExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAssetBundleImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDashboardSnapshotJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountCustomization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAnalysisPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDashboard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDashboardLinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDashboardPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDashboardPublishedVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSetPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataSourcePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFolderPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIAMPolicyAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIdentityPropagationConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIpRestriction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateKeyRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePublicSharingSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRefreshSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoleCustomPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSPICECapacityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTemplateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTemplatePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTheme
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateThemeAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateThemePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTopic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTopicPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTopicRefreshSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVPCConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::QuickSight::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/plugins/endpoints.rb b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/plugins/endpoints.rb
index 8a8344be7bd..4e95817f2df 100644
--- a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/plugins/endpoints.rb
+++ b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
@@ -272,6 +281,8 @@ def parameters_for_operation(context)
Aws::QuickSight::Endpoints::ListFolderMembers.build(context)
when :list_folders
Aws::QuickSight::Endpoints::ListFolders.build(context)
+ when :list_folders_for_resource
+ Aws::QuickSight::Endpoints::ListFoldersForResource.build(context)
when :list_group_memberships
Aws::QuickSight::Endpoints::ListGroupMemberships.build(context)
when :list_groups
diff --git a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb
index 04d37ea2601..2107f29779c 100644
--- a/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb
+++ b/gems/aws-sdk-quicksight/lib/aws-sdk-quicksight/types.rb
@@ -9593,11 +9593,17 @@ class DecimalValueWhenUnsetConfiguration < Struct.new(
# The display options of a control.
# @return [Types::DateTimePickerControlDisplayOptions]
#
+ # @!attribute [rw] commit_mode
+ # The visibility configuration of the Apply button on a
+ # `DateTimePickerControl`.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DefaultDateTimePickerControlOptions AWS API Documentation
#
class DefaultDateTimePickerControlOptions < Struct.new(
:type,
- :display_options)
+ :display_options,
+ :commit_mode)
SENSITIVE = []
include Aws::Structure
end
@@ -9695,12 +9701,18 @@ class DefaultFilterControlOptions < Struct.new(
# A list of selectable values that are used in a control.
# @return [Types::FilterSelectableValues]
#
+ # @!attribute [rw] commit_mode
+ # The visibility configuration of the Apply button on a
+ # `FilterDropDownControl`.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DefaultFilterDropDownControlOptions AWS API Documentation
#
class DefaultFilterDropDownControlOptions < Struct.new(
:display_options,
:type,
- :selectable_values)
+ :selectable_values,
+ :commit_mode)
SENSITIVE = []
include Aws::Structure
end
@@ -9856,10 +9868,16 @@ class DefaultPaginatedLayoutConfiguration < Struct.new(
# The display options of a control.
# @return [Types::RelativeDateTimeControlDisplayOptions]
#
+ # @!attribute [rw] commit_mode
+ # The visibility configuration of the Apply button on a
+ # `RelativeDateTimeControl`.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/DefaultRelativeDateTimeControlOptions AWS API Documentation
#
class DefaultRelativeDateTimeControlOptions < Struct.new(
- :display_options)
+ :display_options,
+ :commit_mode)
SENSITIVE = []
include Aws::Structure
end
@@ -14786,6 +14804,11 @@ class FilterCrossSheetControl < Struct.new(
# dropdown menu.
# @return [String]
#
+ # @!attribute [rw] commit_mode
+ # The visibility configurationof the Apply button on a
+ # `DateTimePickerControl`.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/FilterDateTimePickerControl AWS API Documentation
#
class FilterDateTimePickerControl < Struct.new(
@@ -14793,7 +14816,8 @@ class FilterDateTimePickerControl < Struct.new(
:title,
:source_filter_id,
:display_options,
- :type)
+ :type,
+ :commit_mode)
SENSITIVE = []
include Aws::Structure
end
@@ -14838,6 +14862,11 @@ class FilterDateTimePickerControl < Struct.new(
# controls.
# @return [Types::CascadingControlConfiguration]
#
+ # @!attribute [rw] commit_mode
+ # The visibility configuration of the Apply button on a
+ # `FilterDropDownControl`.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/FilterDropDownControl AWS API Documentation
#
class FilterDropDownControl < Struct.new(
@@ -14847,7 +14876,8 @@ class FilterDropDownControl < Struct.new(
:display_options,
:type,
:selectable_values,
- :cascading_control_configuration)
+ :cascading_control_configuration,
+ :commit_mode)
SENSITIVE = []
include Aws::Structure
end
@@ -15087,13 +15117,19 @@ class FilterOperationTargetVisualsConfiguration < Struct.new(
# The display options of a control.
# @return [Types::RelativeDateTimeControlDisplayOptions]
#
+ # @!attribute [rw] commit_mode
+ # The visibility configuration of the Apply button on a
+ # `FilterRelativeDateTimeControl`.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/FilterRelativeDateTimeControl AWS API Documentation
#
class FilterRelativeDateTimeControl < Struct.new(
:filter_control_id,
:title,
:source_filter_id,
- :display_options)
+ :display_options,
+ :commit_mode)
SENSITIVE = []
include Aws::Structure
end
@@ -19618,6 +19654,65 @@ class ListFolderMembersResponse < Struct.new(
include Aws::Structure
end
+ # @!attribute [rw] aws_account_id
+ # The ID for the Amazon Web Services account that contains the
+ # resource.
+ # @return [String]
+ #
+ # @!attribute [rw] resource_arn
+ # The Amazon Resource Name (ARN) the resource whose folders you need
+ # to list.
+ # @return [String]
+ #
+ # @!attribute [rw] next_token
+ # The token for the next set of results, or null if there are no more
+ # results.
+ # @return [String]
+ #
+ # @!attribute [rw] max_results
+ # The maximum number of results to be returned per request.
+ # @return [Integer]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFoldersForResourceRequest AWS API Documentation
+ #
+ class ListFoldersForResourceRequest < Struct.new(
+ :aws_account_id,
+ :resource_arn,
+ :next_token,
+ :max_results)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] status
+ # The HTTP status of the request.
+ # @return [Integer]
+ #
+ # @!attribute [rw] folders
+ # A list that contains the Amazon Resource Names (ARNs) of all folders
+ # that the resource is a member of.
+ # @return [Array]
+ #
+ # @!attribute [rw] next_token
+ # The token for the next set of results, or null if there are no more
+ # results.
+ # @return [String]
+ #
+ # @!attribute [rw] request_id
+ # The Amazon Web Services request ID for this operation.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ListFoldersForResourceResponse AWS API Documentation
+ #
+ class ListFoldersForResourceResponse < Struct.new(
+ :status,
+ :folders,
+ :next_token,
+ :request_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# @!attribute [rw] aws_account_id
# The ID for the Amazon Web Services account that contains the folder.
# @return [String]
@@ -22320,6 +22415,11 @@ class ParameterDeclaration < Struct.new(
# controls.
# @return [Types::CascadingControlConfiguration]
#
+ # @!attribute [rw] commit_mode
+ # The visibility configuration of the Apply button on a
+ # `ParameterDropDownControl`.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/quicksight-2018-04-01/ParameterDropDownControl AWS API Documentation
#
class ParameterDropDownControl < Struct.new(
@@ -22329,7 +22429,8 @@ class ParameterDropDownControl < Struct.new(
:display_options,
:type,
:selectable_values,
- :cascading_control_configuration)
+ :cascading_control_configuration,
+ :commit_mode)
SENSITIVE = []
include Aws::Structure
end
diff --git a/gems/aws-sdk-quicksight/sig/client.rbs b/gems/aws-sdk-quicksight/sig/client.rbs
index 1b73555add7..c2ae2eec524 100644
--- a/gems/aws-sdk-quicksight/sig/client.rbs
+++ b/gems/aws-sdk-quicksight/sig/client.rbs
@@ -1125,7 +1125,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
parameter_control_id: ::String,
@@ -1247,7 +1248,8 @@ module Aws
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
}?,
- type: ("SINGLE_VALUED" | "DATE_RANGE")?
+ type: ("SINGLE_VALUED" | "DATE_RANGE")?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
list: {
filter_control_id: ::String,
@@ -1338,7 +1340,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
filter_control_id: ::String,
@@ -1454,7 +1457,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
cross_sheet: {
filter_control_id: ::String,
@@ -32612,7 +32616,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -32675,7 +32680,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -32779,7 +32785,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -32844,7 +32851,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -32907,7 +32915,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -33011,7 +33020,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -33069,7 +33079,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -33132,7 +33143,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -33236,7 +33248,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -33282,7 +33295,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -33345,7 +33359,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -33449,7 +33464,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -33513,7 +33529,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -33576,7 +33593,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -33680,7 +33698,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -33734,7 +33753,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -33797,7 +33817,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -33901,7 +33922,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -33966,7 +33988,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -34029,7 +34052,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -34133,7 +34157,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -34200,7 +34225,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -34263,7 +34289,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -34367,7 +34394,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -34917,7 +34945,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
parameter_control_id: ::String,
@@ -35039,7 +35068,8 @@ module Aws
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
}?,
- type: ("SINGLE_VALUED" | "DATE_RANGE")?
+ type: ("SINGLE_VALUED" | "DATE_RANGE")?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
list: {
filter_control_id: ::String,
@@ -35130,7 +35160,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
filter_control_id: ::String,
@@ -35246,7 +35277,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
cross_sheet: {
filter_control_id: ::String,
@@ -66404,7 +66436,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -66467,7 +66500,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -66571,7 +66605,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -66636,7 +66671,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -66699,7 +66735,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -66803,7 +66840,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -66861,7 +66899,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -66924,7 +66963,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -67028,7 +67068,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -67074,7 +67115,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -67137,7 +67179,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -67241,7 +67284,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -67305,7 +67349,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -67368,7 +67413,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -67472,7 +67518,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -67526,7 +67573,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -67589,7 +67637,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -67693,7 +67742,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -67758,7 +67808,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -67821,7 +67872,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -67925,7 +67977,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -67992,7 +68045,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -68055,7 +68109,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -68159,7 +68214,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -69385,7 +69441,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
parameter_control_id: ::String,
@@ -69507,7 +69564,8 @@ module Aws
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
}?,
- type: ("SINGLE_VALUED" | "DATE_RANGE")?
+ type: ("SINGLE_VALUED" | "DATE_RANGE")?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
list: {
filter_control_id: ::String,
@@ -69598,7 +69656,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
filter_control_id: ::String,
@@ -69714,7 +69773,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
cross_sheet: {
filter_control_id: ::String,
@@ -100872,7 +100932,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -100935,7 +100996,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -101039,7 +101101,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -101104,7 +101167,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -101167,7 +101231,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -101271,7 +101336,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -101329,7 +101395,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -101392,7 +101459,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -101496,7 +101564,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -101542,7 +101611,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -101605,7 +101675,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -101709,7 +101780,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -101773,7 +101845,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -101836,7 +101909,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -101940,7 +102014,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -101994,7 +102069,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -102057,7 +102133,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -102161,7 +102238,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -102226,7 +102304,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -102289,7 +102368,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -102393,7 +102473,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -102460,7 +102541,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -102523,7 +102605,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -102627,7 +102710,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -104644,6 +104728,22 @@ module Aws
) -> _ListFoldersResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFoldersResponseSuccess
+ interface _ListFoldersForResourceResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListFoldersForResourceResponse]
+ def status: () -> ::Integer
+ def folders: () -> ::Array[::String]
+ def next_token: () -> ::String
+ def request_id: () -> ::String
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/QuickSight/Client.html#list_folders_for_resource-instance_method
+ def list_folders_for_resource: (
+ aws_account_id: ::String,
+ resource_arn: ::String,
+ ?next_token: ::String,
+ ?max_results: ::Integer
+ ) -> _ListFoldersForResourceResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFoldersForResourceResponseSuccess
+
interface _ListGroupMembershipsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::ListGroupMembershipsResponse]
def group_member_list: () -> ::Array[Types::GroupMember]
@@ -105930,7 +106030,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
parameter_control_id: ::String,
@@ -106052,7 +106153,8 @@ module Aws
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
}?,
- type: ("SINGLE_VALUED" | "DATE_RANGE")?
+ type: ("SINGLE_VALUED" | "DATE_RANGE")?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
list: {
filter_control_id: ::String,
@@ -106143,7 +106245,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
filter_control_id: ::String,
@@ -106259,7 +106362,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
cross_sheet: {
filter_control_id: ::String,
@@ -137417,7 +137521,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -137480,7 +137585,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -137584,7 +137690,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -137649,7 +137756,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -137712,7 +137820,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -137816,7 +137925,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -137874,7 +137984,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -137937,7 +138048,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -138041,7 +138153,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -138087,7 +138200,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -138150,7 +138264,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -138254,7 +138369,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -138318,7 +138434,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -138381,7 +138498,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -138485,7 +138603,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -138539,7 +138658,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -138602,7 +138722,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -138706,7 +138827,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -138771,7 +138893,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -138834,7 +138957,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -138938,7 +139062,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -139005,7 +139130,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -139068,7 +139194,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -139172,7 +139299,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -139736,7 +139864,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
parameter_control_id: ::String,
@@ -139858,7 +139987,8 @@ module Aws
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
}?,
- type: ("SINGLE_VALUED" | "DATE_RANGE")?
+ type: ("SINGLE_VALUED" | "DATE_RANGE")?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
list: {
filter_control_id: ::String,
@@ -139949,7 +140079,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
filter_control_id: ::String,
@@ -140065,7 +140196,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
cross_sheet: {
filter_control_id: ::String,
@@ -171223,7 +171355,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -171286,7 +171419,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -171390,7 +171524,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -171455,7 +171590,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -171518,7 +171654,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -171622,7 +171759,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -171680,7 +171818,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -171743,7 +171882,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -171847,7 +171987,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -171893,7 +172034,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -171956,7 +172098,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -172060,7 +172203,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -172124,7 +172268,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -172187,7 +172332,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -172291,7 +172437,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -172345,7 +172492,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -172408,7 +172556,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -172512,7 +172661,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -172577,7 +172727,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -172640,7 +172791,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -172744,7 +172896,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -172811,7 +172964,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -172874,7 +173028,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -172978,7 +173133,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -174289,7 +174445,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
parameter_control_id: ::String,
@@ -174411,7 +174568,8 @@ module Aws
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
}?,
- type: ("SINGLE_VALUED" | "DATE_RANGE")?
+ type: ("SINGLE_VALUED" | "DATE_RANGE")?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
list: {
filter_control_id: ::String,
@@ -174502,7 +174660,8 @@ module Aws
}?
},
]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
text_field: {
filter_control_id: ::String,
@@ -174618,7 +174777,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
cross_sheet: {
filter_control_id: ::String,
@@ -205776,7 +205936,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -205839,7 +206000,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -205943,7 +206105,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -206008,7 +206171,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -206071,7 +206235,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -206175,7 +206340,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -206233,7 +206399,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -206296,7 +206463,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -206400,7 +206568,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -206446,7 +206615,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -206509,7 +206679,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -206613,7 +206784,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -206677,7 +206849,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -206740,7 +206913,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -206844,7 +207018,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -206898,7 +207073,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -206961,7 +207137,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -207065,7 +207242,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -207130,7 +207308,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -207193,7 +207372,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -207297,7 +207477,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
@@ -207364,7 +207545,8 @@ module Aws
}?,
helper_text_visibility: ("HIDDEN" | "VISIBLE")?,
date_icon_visibility: ("HIDDEN" | "VISIBLE")?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_list_options: {
display_options: {
@@ -207427,7 +207609,8 @@ module Aws
type: ("MULTI_SELECT" | "SINGLE_SELECT")?,
selectable_values: {
values: Array[::String]?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?,
default_text_field_options: {
display_options: {
@@ -207531,7 +207714,8 @@ module Aws
visibility: ("HIDDEN" | "VISIBLE")?,
info_icon_text: ::String?
}?
- }?
+ }?,
+ commit_mode: ("AUTO" | "MANUAL")?
}?
}
}?
diff --git a/gems/aws-sdk-quicksight/sig/types.rbs b/gems/aws-sdk-quicksight/sig/types.rbs
index 6972b4b1da4..5538e293b7d 100644
--- a/gems/aws-sdk-quicksight/sig/types.rbs
+++ b/gems/aws-sdk-quicksight/sig/types.rbs
@@ -2356,6 +2356,7 @@ module Aws::QuickSight
class DefaultDateTimePickerControlOptions
attr_accessor type: ("SINGLE_VALUED" | "DATE_RANGE")
attr_accessor display_options: Types::DateTimePickerControlDisplayOptions
+ attr_accessor commit_mode: ("AUTO" | "MANUAL")
SENSITIVE: []
end
@@ -2380,6 +2381,7 @@ module Aws::QuickSight
attr_accessor display_options: Types::DropDownControlDisplayOptions
attr_accessor type: ("MULTI_SELECT" | "SINGLE_SELECT")
attr_accessor selectable_values: Types::FilterSelectableValues
+ attr_accessor commit_mode: ("AUTO" | "MANUAL")
SENSITIVE: []
end
@@ -2426,6 +2428,7 @@ module Aws::QuickSight
class DefaultRelativeDateTimeControlOptions
attr_accessor display_options: Types::RelativeDateTimeControlDisplayOptions
+ attr_accessor commit_mode: ("AUTO" | "MANUAL")
SENSITIVE: []
end
@@ -3771,6 +3774,7 @@ module Aws::QuickSight
attr_accessor source_filter_id: ::String
attr_accessor display_options: Types::DateTimePickerControlDisplayOptions
attr_accessor type: ("SINGLE_VALUED" | "DATE_RANGE")
+ attr_accessor commit_mode: ("AUTO" | "MANUAL")
SENSITIVE: []
end
@@ -3782,6 +3786,7 @@ module Aws::QuickSight
attr_accessor type: ("MULTI_SELECT" | "SINGLE_SELECT")
attr_accessor selectable_values: Types::FilterSelectableValues
attr_accessor cascading_control_configuration: Types::CascadingControlConfiguration
+ attr_accessor commit_mode: ("AUTO" | "MANUAL")
SENSITIVE: []
end
@@ -3835,6 +3840,7 @@ module Aws::QuickSight
attr_accessor title: ::String
attr_accessor source_filter_id: ::String
attr_accessor display_options: Types::RelativeDateTimeControlDisplayOptions
+ attr_accessor commit_mode: ("AUTO" | "MANUAL")
SENSITIVE: []
end
@@ -5005,6 +5011,22 @@ module Aws::QuickSight
SENSITIVE: []
end
+ class ListFoldersForResourceRequest
+ attr_accessor aws_account_id: ::String
+ attr_accessor resource_arn: ::String
+ attr_accessor next_token: ::String
+ attr_accessor max_results: ::Integer
+ SENSITIVE: []
+ end
+
+ class ListFoldersForResourceResponse
+ attr_accessor status: ::Integer
+ attr_accessor folders: ::Array[::String]
+ attr_accessor next_token: ::String
+ attr_accessor request_id: ::String
+ SENSITIVE: []
+ end
+
class ListFoldersRequest
attr_accessor aws_account_id: ::String
attr_accessor next_token: ::String
@@ -5733,6 +5755,7 @@ module Aws::QuickSight
attr_accessor type: ("MULTI_SELECT" | "SINGLE_SELECT")
attr_accessor selectable_values: Types::ParameterSelectableValues
attr_accessor cascading_control_configuration: Types::CascadingControlConfiguration
+ attr_accessor commit_mode: ("AUTO" | "MANUAL")
SENSITIVE: []
end
diff --git a/gems/aws-sdk-quicksight/spec/endpoint_provider_spec.rb b/gems/aws-sdk-quicksight/spec/endpoint_provider_spec.rb
index 9e835baa922..4f20c4adc94 100644
--- a/gems/aws-sdk-quicksight/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-quicksight/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::QuickSight
describe EndpointProvider do
subject { Aws::QuickSight::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::QuickSight
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::QuickSight
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::QuickSight
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::QuickSight
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::QuickSight
end
end
- context 'For region api with FIPS disabled and DualStack disabled' do
+ context "For region api with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.api.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::QuickSight
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::QuickSight
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::QuickSight
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::QuickSight
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::QuickSight
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.sa-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::QuickSight
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::QuickSight
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.us-east-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::QuickSight
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.us-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::QuickSight
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight-fips.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::QuickSight
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight-fips.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::QuickSight
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::QuickSight
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::QuickSight
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::QuickSight
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::QuickSight
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::QuickSight
end
end
- context 'For region api with FIPS disabled and DualStack disabled' do
+ context "For region api with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.api.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::QuickSight
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.us-gov-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::QuickSight
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::QuickSight
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::QuickSight
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::QuickSight
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::QuickSight
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::QuickSight
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::QuickSight
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::QuickSight
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::QuickSight
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::QuickSight
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::QuickSight
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::QuickSight
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://quicksight.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::QuickSight
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::QuickSight
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::QuickSight
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::QuickSight
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::QuickSight
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ram/CHANGELOG.md b/gems/aws-sdk-ram/CHANGELOG.md
index cfb4bbf63c6..471abf7d9a9 100644
--- a/gems/aws-sdk-ram/CHANGELOG.md
+++ b/gems/aws-sdk-ram/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.63.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.62.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ram/VERSION b/gems/aws-sdk-ram/VERSION
index 76d05362056..af92bdd9f58 100644
--- a/gems/aws-sdk-ram/VERSION
+++ b/gems/aws-sdk-ram/VERSION
@@ -1 +1 @@
-1.62.0
+1.63.0
diff --git a/gems/aws-sdk-ram/aws-sdk-ram.gemspec b/gems/aws-sdk-ram/aws-sdk-ram.gemspec
index 3172d3a0d28..2f878530f9f 100644
--- a/gems/aws-sdk-ram/aws-sdk-ram.gemspec
+++ b/gems/aws-sdk-ram/aws-sdk-ram.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ram/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ram/lib/aws-sdk-ram.rb b/gems/aws-sdk-ram/lib/aws-sdk-ram.rb
index 80d838e1eec..a076ea61bb1 100644
--- a/gems/aws-sdk-ram/lib/aws-sdk-ram.rb
+++ b/gems/aws-sdk-ram/lib/aws-sdk-ram.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::RAM
- GEM_VERSION = '1.62.0'
+ GEM_VERSION = '1.63.0'
end
diff --git a/gems/aws-sdk-ram/lib/aws-sdk-ram/client.rb b/gems/aws-sdk-ram/lib/aws-sdk-ram/client.rb
index 59226ea25e6..8580c2ba2c1 100644
--- a/gems/aws-sdk-ram/lib/aws-sdk-ram/client.rb
+++ b/gems/aws-sdk-ram/lib/aws-sdk-ram/client.rb
@@ -3347,7 +3347,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ram'
- context[:gem_version] = '1.62.0'
+ context[:gem_version] = '1.63.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ram/lib/aws-sdk-ram/endpoints.rb b/gems/aws-sdk-ram/lib/aws-sdk-ram/endpoints.rb
index ec92e48c28a..6374479d89a 100644
--- a/gems/aws-sdk-ram/lib/aws-sdk-ram/endpoints.rb
+++ b/gems/aws-sdk-ram/lib/aws-sdk-ram/endpoints.rb
@@ -14,476 +14,374 @@ module Endpoints
class AcceptResourceShareInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateResourceShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateResourceSharePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePermissionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResourceShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePermissionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourceShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateResourceShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateResourceSharePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableSharingWithAwsOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceShareAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceShareInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPendingInvitationResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPermissionAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPermissionVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPrincipals
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReplacePermissionAssociationsWork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceSharePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PromotePermissionCreatedFromPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PromoteResourceShareCreatedFromPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectResourceShareInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplacePermissionAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetDefaultPermissionVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResourceShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RAM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ram/lib/aws-sdk-ram/plugins/endpoints.rb b/gems/aws-sdk-ram/lib/aws-sdk-ram/plugins/endpoints.rb
index 140784b5ea1..45be0a34bf5 100644
--- a/gems/aws-sdk-ram/lib/aws-sdk-ram/plugins/endpoints.rb
+++ b/gems/aws-sdk-ram/lib/aws-sdk-ram/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ram/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ram/spec/endpoint_provider_spec.rb
index 80cfbd5607e..a8c245280c8 100644
--- a/gems/aws-sdk-ram/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ram/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::RAM
describe EndpointProvider do
subject { Aws::RAM::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::RAM
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::RAM
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::RAM
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::RAM
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::RAM
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::RAM
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::RAM
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::RAM
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::RAM
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::RAM
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::RAM
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::RAM
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::RAM
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::RAM
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::RAM
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::RAM
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::RAM
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::RAM
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::RAM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::RAM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::RAM
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::RAM
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::RAM
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::RAM
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::RAM
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::RAM
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::RAM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::RAM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::RAM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::RAM
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::RAM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::RAM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::RAM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::RAM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::RAM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::RAM
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::RAM
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::RAM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::RAM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::RAM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-iso-east-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::RAM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::RAM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::RAM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::RAM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::RAM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::RAM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ram-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::RAM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::RAM
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::RAM
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::RAM
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::RAM
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::RAM
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-rds/CHANGELOG.md b/gems/aws-sdk-rds/CHANGELOG.md
index d2bb6ba81f2..b870c843474 100644
--- a/gems/aws-sdk-rds/CHANGELOG.md
+++ b/gems/aws-sdk-rds/CHANGELOG.md
@@ -1,6 +1,31 @@
Unreleased Changes
------------------
+1.248.0 (2024-09-18)
+------------------
+
+* Feature - Updates Amazon RDS documentation with information upgrading snapshots with unsupported engine versions for RDS for MySQL and RDS for PostgreSQL.
+
+1.247.0 (2024-09-17)
+------------------
+
+* Feature - Updates Amazon RDS documentation with configuration information about the BYOL model for RDS for Db2.
+
+1.246.0 (2024-09-16)
+------------------
+
+* Feature - Launching Global Cluster tagging.
+
+1.245.0 (2024-09-12)
+------------------
+
+* Feature - This release adds support for the os-upgrade pending maintenance action for Amazon Aurora DB clusters.
+
+1.244.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.243.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-rds/VERSION b/gems/aws-sdk-rds/VERSION
index 28bcfa4f997..921e68e7704 100644
--- a/gems/aws-sdk-rds/VERSION
+++ b/gems/aws-sdk-rds/VERSION
@@ -1 +1 @@
-1.243.0
+1.248.0
diff --git a/gems/aws-sdk-rds/aws-sdk-rds.gemspec b/gems/aws-sdk-rds/aws-sdk-rds.gemspec
index a5b96d8f10b..ca2415dc653 100644
--- a/gems/aws-sdk-rds/aws-sdk-rds.gemspec
+++ b/gems/aws-sdk-rds/aws-sdk-rds.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-rds/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds.rb
index bf78e39b9ae..2dbb5577e0e 100644
--- a/gems/aws-sdk-rds/lib/aws-sdk-rds.rb
+++ b/gems/aws-sdk-rds/lib/aws-sdk-rds.rb
@@ -78,6 +78,6 @@
# @!group service
module Aws::RDS
- GEM_VERSION = '1.243.0'
+ GEM_VERSION = '1.248.0'
end
diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/client.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/client.rb
index a8ad2f46d68..319cbaae405 100644
--- a/gems/aws-sdk-rds/lib/aws-sdk-rds/client.rb
+++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/client.rb
@@ -4593,6 +4593,8 @@ def create_db_cluster_snapshot(params = {}, options = {})
#
# * `custom-sqlserver-web` (for RDS Custom for SQL Server DB instances)
#
+ # * `custom-sqlserver-dev` (for RDS Custom for SQL Server DB instances)
+ #
# * `db2-ae`
#
# * `db2-se`
@@ -4716,7 +4718,7 @@ def create_db_cluster_snapshot(params = {}, options = {})
#
# * Must match the name of an existing DB subnet group.
#
- # * Must not be `default`.
+ # ^
#
# Example: `mydbsubnetgroup`
#
@@ -4925,10 +4927,12 @@ def create_db_cluster_snapshot(params = {}, options = {})
# The license model information for this DB instance.
#
# License models for RDS for Db2 require additional configuration. The
- # Bring Your Own License (BYOL) model requires a custom parameter group.
- # The Db2 license through Amazon Web Services Marketplace model requires
- # an Amazon Web Services Marketplace subscription. For more information,
- # see [RDS for Db2 licensing options][1] in the *Amazon RDS User Guide*.
+ # Bring Your Own License (BYOL) model requires a custom parameter group
+ # and an Amazon Web Services License Manager self-managed license. The
+ # Db2 license through Amazon Web Services Marketplace model requires an
+ # Amazon Web Services Marketplace subscription. For more information,
+ # see [Amazon RDS for Db2 licensing options][1] in the *Amazon RDS User
+ # Guide*.
#
# The default for RDS for Db2 is `bring-your-own-license`.
#
@@ -6297,9 +6301,6 @@ def create_db_instance(params = {}, options = {})
# autogenerates a presigned URL that is a valid request for the
# operation that can run in the source Amazon Web Services Region.
#
- # `SourceRegion` isn't supported for SQL Server, because Amazon RDS for
- # SQL Server doesn't support cross-Region read replicas.
- #
#
#
# This setting doesn't apply to RDS Custom DB instances.
@@ -8064,6 +8065,9 @@ def create_event_subscription(params = {}, options = {})
#
# ^
#
+ # @option params [Array] :tags
+ # Tags to assign to the global cluster.
+ #
# @return [Types::CreateGlobalClusterResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::CreateGlobalClusterResult#global_cluster #global_cluster} => Types::GlobalCluster
@@ -8105,6 +8109,12 @@ def create_event_subscription(params = {}, options = {})
# deletion_protection: false,
# database_name: "String",
# storage_encrypted: false,
+ # tags: [
+ # {
+ # key: "String",
+ # value: "String",
+ # },
+ # ],
# })
#
# @example Response structure
@@ -8130,6 +8140,9 @@ def create_event_subscription(params = {}, options = {})
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
+ # resp.global_cluster.tag_list #=> Array
+ # resp.global_cluster.tag_list[0].key #=> String
+ # resp.global_cluster.tag_list[0].value #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateGlobalCluster AWS API Documentation
#
@@ -10417,6 +10430,9 @@ def delete_event_subscription(params = {}, options = {})
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
+ # resp.global_cluster.tag_list #=> Array
+ # resp.global_cluster.tag_list[0].key #=> String
+ # resp.global_cluster.tag_list[0].value #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DeleteGlobalCluster AWS API Documentation
#
@@ -15998,6 +16014,9 @@ def describe_export_tasks(params = {}, options = {})
# resp.global_clusters[0].failover_state.from_db_cluster_arn #=> String
# resp.global_clusters[0].failover_state.to_db_cluster_arn #=> String
# resp.global_clusters[0].failover_state.is_data_loss_allowed #=> Boolean
+ # resp.global_clusters[0].tag_list #=> Array
+ # resp.global_clusters[0].tag_list[0].key #=> String
+ # resp.global_clusters[0].tag_list[0].value #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DescribeGlobalClusters AWS API Documentation
#
@@ -18040,6 +18059,9 @@ def failover_db_cluster(params = {}, options = {})
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
+ # resp.global_cluster.tag_list #=> Array
+ # resp.global_cluster.tag_list[0].key #=> String
+ # resp.global_cluster.tag_list[0].value #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/FailoverGlobalCluster AWS API Documentation
#
@@ -18053,11 +18075,13 @@ def failover_global_cluster(params = {}, options = {})
# Lists all tags on an Amazon RDS resource.
#
# For an overview on tagging an Amazon RDS resource, see [Tagging Amazon
- # RDS Resources][1] in the *Amazon RDS User Guide*.
+ # RDS Resources][1] in the *Amazon RDS User Guide* or [Tagging Amazon
+ # Aurora and Amazon RDS Resources][2] in the *Amazon Aurora User Guide*.
#
#
#
- # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html
#
# @option params [required, String] :resource_name
# The Amazon RDS resource with tags to be listed. This value is an
@@ -22516,6 +22540,9 @@ def modify_event_subscription(params = {}, options = {})
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
+ # resp.global_cluster.tag_list #=> Array
+ # resp.global_cluster.tag_list[0].key #=> String
+ # resp.global_cluster.tag_list[0].value #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/ModifyGlobalCluster AWS API Documentation
#
@@ -24034,6 +24061,9 @@ def register_db_proxy_targets(params = {}, options = {})
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
+ # resp.global_cluster.tag_list #=> Array
+ # resp.global_cluster.tag_list[0].key #=> String
+ # resp.global_cluster.tag_list[0].value #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/RemoveFromGlobalCluster AWS API Documentation
#
@@ -24216,11 +24246,13 @@ def remove_source_identifier_from_subscription(params = {}, options = {})
# Removes metadata tags from an Amazon RDS resource.
#
# For an overview on tagging an Amazon RDS resource, see [Tagging Amazon
- # RDS Resources][1] in the *Amazon RDS User Guide.*
+ # RDS Resources][1] in the *Amazon RDS User Guide* or [Tagging Amazon
+ # Aurora and Amazon RDS Resources][2] in the *Amazon Aurora User Guide*.
#
#
#
- # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Overview.Tagging.html
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html
#
# @option params [required, String] :resource_name
# The Amazon RDS resource that the tags are removed from. This value is
@@ -26687,11 +26719,24 @@ def restore_db_cluster_to_point_in_time(params = {}, options = {})
# If you are restoring from a shared manual DB snapshot, the
# `DBSnapshotIdentifier` must be the ARN of the shared DB snapshot.
#
+ # To restore from a DB snapshot with an unsupported engine version, you
+ # must first upgrade the engine version of the snapshot. For more
+ # information about upgrading a RDS for MySQL DB snapshot engine
+ # version, see [Upgrading a MySQL DB snapshot engine version][1]. For
+ # more information about upgrading a RDS for PostgreSQL DB snapshot
+ # engine version, [Upgrading a PostgreSQL DB snapshot engine
+ # version][2].
+ #
# This command doesn't apply to Aurora MySQL and Aurora PostgreSQL. For
# Aurora, use `RestoreDBClusterFromSnapshot`.
#
#
#
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/mysql-upgrade-snapshot.html
+ # [2]: https://docs.aws.amazon.com/USER_UpgradeDBSnapshot.PostgreSQL.html
+ #
# @option params [required, String] :db_instance_identifier
# The name of the DB instance to create from the DB snapshot. This
# parameter isn't case-sensitive.
@@ -26797,10 +26842,12 @@ def restore_db_cluster_to_point_in_time(params = {}, options = {})
# License model information for the restored DB instance.
#
# License models for RDS for Db2 require additional configuration. The
- # Bring Your Own License (BYOL) model requires a custom parameter group.
- # The Db2 license through Amazon Web Services Marketplace model requires
- # an Amazon Web Services Marketplace subscription. For more information,
- # see [RDS for Db2 licensing options][1] in the *Amazon RDS User Guide*.
+ # Bring Your Own License (BYOL) model requires a custom parameter group
+ # and an Amazon Web Services License Manager self-managed license. The
+ # Db2 license through Amazon Web Services Marketplace model requires an
+ # Amazon Web Services Marketplace subscription. For more information,
+ # see [Amazon RDS for Db2 licensing options][1] in the *Amazon RDS User
+ # Guide*.
#
#
#
@@ -28490,10 +28537,12 @@ def restore_db_instance_from_s3(params = {}, options = {})
# The license model information for the restored DB instance.
#
# License models for RDS for Db2 require additional configuration. The
- # Bring Your Own License (BYOL) model requires a custom parameter group.
- # The Db2 license through Amazon Web Services Marketplace model requires
- # an Amazon Web Services Marketplace subscription. For more information,
- # see [RDS for Db2 licensing options][1] in the *Amazon RDS User Guide*.
+ # Bring Your Own License (BYOL) model requires a custom parameter group
+ # and an Amazon Web Services License Manager self-managed license. The
+ # Db2 license through Amazon Web Services Marketplace model requires an
+ # Amazon Web Services Marketplace subscription. For more information,
+ # see [Amazon RDS for Db2 licensing options][1] in the *Amazon RDS User
+ # Guide*.
#
#
#
@@ -31155,6 +31204,9 @@ def switchover_blue_green_deployment(params = {}, options = {})
# resp.global_cluster.failover_state.from_db_cluster_arn #=> String
# resp.global_cluster.failover_state.to_db_cluster_arn #=> String
# resp.global_cluster.failover_state.is_data_loss_allowed #=> Boolean
+ # resp.global_cluster.tag_list #=> Array
+ # resp.global_cluster.tag_list[0].key #=> String
+ # resp.global_cluster.tag_list[0].value #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/SwitchoverGlobalCluster AWS API Documentation
#
@@ -31381,7 +31433,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-rds'
- context[:gem_version] = '1.243.0'
+ context[:gem_version] = '1.248.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/client_api.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/client_api.rb
index 71f3d9fe805..325ffaa1816 100644
--- a/gems/aws-sdk-rds/lib/aws-sdk-rds/client_api.rb
+++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/client_api.rb
@@ -1308,6 +1308,7 @@ module ClientApi
CreateGlobalClusterMessage.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
CreateGlobalClusterMessage.add_member(:database_name, Shapes::ShapeRef.new(shape: String, location_name: "DatabaseName"))
CreateGlobalClusterMessage.add_member(:storage_encrypted, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "StorageEncrypted"))
+ CreateGlobalClusterMessage.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
CreateGlobalClusterMessage.struct_class = Types::CreateGlobalClusterMessage
CreateGlobalClusterResult.add_member(:global_cluster, Shapes::ShapeRef.new(shape: GlobalCluster, location_name: "GlobalCluster"))
@@ -2825,6 +2826,7 @@ module ClientApi
GlobalCluster.add_member(:deletion_protection, Shapes::ShapeRef.new(shape: BooleanOptional, location_name: "DeletionProtection"))
GlobalCluster.add_member(:global_cluster_members, Shapes::ShapeRef.new(shape: GlobalClusterMemberList, location_name: "GlobalClusterMembers"))
GlobalCluster.add_member(:failover_state, Shapes::ShapeRef.new(shape: FailoverState, location_name: "FailoverState"))
+ GlobalCluster.add_member(:tag_list, Shapes::ShapeRef.new(shape: TagList, location_name: "TagList"))
GlobalCluster.struct_class = Types::GlobalCluster
GlobalClusterAlreadyExistsFault.struct_class = Types::GlobalClusterAlreadyExistsFault
diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/db_instance.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/db_instance.rb
index 63070393ae7..3088f8991b7 100644
--- a/gems/aws-sdk-rds/lib/aws-sdk-rds/db_instance.rb
+++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/db_instance.rb
@@ -1298,6 +1298,8 @@ def wait_until(options = {}, &block)
#
# * `custom-sqlserver-web` (for RDS Custom for SQL Server DB instances)
#
+ # * `custom-sqlserver-dev` (for RDS Custom for SQL Server DB instances)
+ #
# * `db2-ae`
#
# * `db2-se`
@@ -1415,7 +1417,7 @@ def wait_until(options = {}, &block)
#
# * Must match the name of an existing DB subnet group.
#
- # * Must not be `default`.
+ # ^
#
# Example: `mydbsubnetgroup`
# @option options [String] :preferred_maintenance_window
@@ -1615,10 +1617,12 @@ def wait_until(options = {}, &block)
# The license model information for this DB instance.
#
# License models for RDS for Db2 require additional configuration. The
- # Bring Your Own License (BYOL) model requires a custom parameter group.
- # The Db2 license through Amazon Web Services Marketplace model requires
- # an Amazon Web Services Marketplace subscription. For more information,
- # see [RDS for Db2 licensing options][1] in the *Amazon RDS User Guide*.
+ # Bring Your Own License (BYOL) model requires a custom parameter group
+ # and an Amazon Web Services License Manager self-managed license. The
+ # Db2 license through Amazon Web Services Marketplace model requires an
+ # Amazon Web Services Marketplace subscription. For more information,
+ # see [Amazon RDS for Db2 licensing options][1] in the *Amazon RDS User
+ # Guide*.
#
# The default for RDS for Db2 is `bring-your-own-license`.
#
@@ -2571,9 +2575,6 @@ def create(options = {})
# autogenerates a presigned URL that is a valid request for the
# operation that can run in the source Amazon Web Services Region.
#
- # `SourceRegion` isn't supported for SQL Server, because Amazon RDS for
- # SQL Server doesn't support cross-Region read replicas.
- #
#
#
# This setting doesn't apply to RDS Custom DB instances.
@@ -4359,10 +4360,12 @@ def reboot(options = {})
# The license model information for the restored DB instance.
#
# License models for RDS for Db2 require additional configuration. The
- # Bring Your Own License (BYOL) model requires a custom parameter group.
- # The Db2 license through Amazon Web Services Marketplace model requires
- # an Amazon Web Services Marketplace subscription. For more information,
- # see [RDS for Db2 licensing options][1] in the *Amazon RDS User Guide*.
+ # Bring Your Own License (BYOL) model requires a custom parameter group
+ # and an Amazon Web Services License Manager self-managed license. The
+ # Db2 license through Amazon Web Services Marketplace model requires an
+ # Amazon Web Services Marketplace subscription. For more information,
+ # see [Amazon RDS for Db2 licensing options][1] in the *Amazon RDS User
+ # Guide*.
#
#
#
diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/db_snapshot.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/db_snapshot.rb
index a98f3693b42..2e21dd97b3a 100644
--- a/gems/aws-sdk-rds/lib/aws-sdk-rds/db_snapshot.rb
+++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/db_snapshot.rb
@@ -804,10 +804,12 @@ def delete(options = {})
# License model information for the restored DB instance.
#
# License models for RDS for Db2 require additional configuration. The
- # Bring Your Own License (BYOL) model requires a custom parameter group.
- # The Db2 license through Amazon Web Services Marketplace model requires
- # an Amazon Web Services Marketplace subscription. For more information,
- # see [RDS for Db2 licensing options][1] in the *Amazon RDS User Guide*.
+ # Bring Your Own License (BYOL) model requires a custom parameter group
+ # and an Amazon Web Services License Manager self-managed license. The
+ # Db2 license through Amazon Web Services Marketplace model requires an
+ # Amazon Web Services Marketplace subscription. For more information,
+ # see [Amazon RDS for Db2 licensing options][1] in the *Amazon RDS User
+ # Guide*.
#
#
#
diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/endpoints.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/endpoints.rb
index 9d392ce0c1a..af5d75604bd 100644
--- a/gems/aws-sdk-rds/lib/aws-sdk-rds/endpoints.rb
+++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/endpoints.rb
@@ -14,2268 +14,1782 @@ module Endpoints
class AddRoleToDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddRoleToDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddSourceIdentifierToSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTagsToResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ApplyPendingMaintenanceAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeDBSecurityGroupIngress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BacktrackDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelExportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyDBClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyDBParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyDBSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyOptionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBlueGreenDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomDBEngineVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBClusterEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBInstanceReadReplica
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBProxy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBProxyEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBShardGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDBSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOptionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTenantDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBlueGreenDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomDBEngineVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBClusterAutomatedBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBClusterEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBInstanceAutomatedBackup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBProxy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBProxyEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBShardGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDBSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOptionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTenantDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterDBProxyTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBlueGreenDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterAutomatedBackups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterBacktracks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterParameterGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterSnapshotAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusterSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBEngineVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBInstanceAutomatedBackups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBLogFiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBParameterGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBProxies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBProxyEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBProxyTargetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBProxyTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBSecurityGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBShardGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBSnapshotAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBSnapshotTenantDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDBSubnetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEngineDefaultClusterParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEngineDefaultParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventCategories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExportTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGlobalClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIntegrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOptionGroupOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOptionGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrderableDBInstanceOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePendingMaintenanceActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedDBInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedDBInstancesOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSourceRegions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTenantDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeValidDBInstanceModifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableHttpEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DownloadDBLogFilePortion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableHttpEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FailoverDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FailoverGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyActivityStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCurrentDBClusterCapacity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCustomDBEngineVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBClusterEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBClusterSnapshotAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBProxy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBProxyEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBProxyTargetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBShardGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBSnapshotAttribute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDBSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyOptionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyTenantDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PromoteReadReplica
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PromoteReadReplicaDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseReservedDBInstancesOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootDBShardGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterDBProxyTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveFromGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveRoleFromDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveRoleFromDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveSourceIdentifierFromSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetDBClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetDBParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreDBClusterFromS3
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreDBClusterFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreDBClusterToPointInTime
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreDBInstanceFromDBSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreDBInstanceFromS3
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreDBInstanceToPointInTime
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeDBSecurityGroupIngress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartActivityStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDBInstanceAutomatedBackupsReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartExportTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopActivityStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDBCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDBInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDBInstanceAutomatedBackupsReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SwitchoverBlueGreenDeployment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SwitchoverGlobalCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SwitchoverReadReplica
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/plugins/endpoints.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/plugins/endpoints.rb
index 6c1e95b41ca..0c4fa8e9c58 100644
--- a/gems/aws-sdk-rds/lib/aws-sdk-rds/plugins/endpoints.rb
+++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/resource.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/resource.rb
index 3ce742f40bc..0b430d472f9 100644
--- a/gems/aws-sdk-rds/lib/aws-sdk-rds/resource.rb
+++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/resource.rb
@@ -1429,6 +1429,8 @@ def create_db_cluster_parameter_group(options = {})
#
# * `custom-sqlserver-web` (for RDS Custom for SQL Server DB instances)
#
+ # * `custom-sqlserver-dev` (for RDS Custom for SQL Server DB instances)
+ #
# * `db2-ae`
#
# * `db2-se`
@@ -1546,7 +1548,7 @@ def create_db_cluster_parameter_group(options = {})
#
# * Must match the name of an existing DB subnet group.
#
- # * Must not be `default`.
+ # ^
#
# Example: `mydbsubnetgroup`
# @option options [String] :preferred_maintenance_window
@@ -1746,10 +1748,12 @@ def create_db_cluster_parameter_group(options = {})
# The license model information for this DB instance.
#
# License models for RDS for Db2 require additional configuration. The
- # Bring Your Own License (BYOL) model requires a custom parameter group.
- # The Db2 license through Amazon Web Services Marketplace model requires
- # an Amazon Web Services Marketplace subscription. For more information,
- # see [RDS for Db2 licensing options][1] in the *Amazon RDS User Guide*.
+ # Bring Your Own License (BYOL) model requires a custom parameter group
+ # and an Amazon Web Services License Manager self-managed license. The
+ # Db2 license through Amazon Web Services Marketplace model requires an
+ # Amazon Web Services Marketplace subscription. For more information,
+ # see [Amazon RDS for Db2 licensing options][1] in the *Amazon RDS User
+ # Guide*.
#
# The default for RDS for Db2 is `bring-your-own-license`.
#
diff --git a/gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb b/gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb
index 2dbcc506cba..9bd3a7895fb 100644
--- a/gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb
+++ b/gems/aws-sdk-rds/lib/aws-sdk-rds/types.rb
@@ -1027,8 +1027,7 @@ class ClusterPendingModifiedValues < Struct.new(
# The number of seconds for a proxy to wait for a connection to become
# available in the connection pool. This setting only applies when the
# proxy has opened its maximum number of connections and all
- # connections are busy with client sessions. For an unlimited wait
- # time, specify `0`.
+ # connections are busy with client sessions.
#
# Default: `120`
#
@@ -3601,6 +3600,9 @@ class CreateDBClusterSnapshotResult < Struct.new(
# * `custom-sqlserver-web` (for RDS Custom for SQL Server DB
# instances)
#
+ # * `custom-sqlserver-dev` (for RDS Custom for SQL Server DB
+ # instances)
+ #
# * `db2-ae`
#
# * `db2-se`
@@ -3730,7 +3732,7 @@ class CreateDBClusterSnapshotResult < Struct.new(
#
# * Must match the name of an existing DB subnet group.
#
- # * Must not be `default`.
+ # ^
#
# Example: `mydbsubnetgroup`
# @return [String]
@@ -3951,10 +3953,11 @@ class CreateDBClusterSnapshotResult < Struct.new(
#
# License models for RDS for Db2 require additional configuration. The
# Bring Your Own License (BYOL) model requires a custom parameter
- # group. The Db2 license through Amazon Web Services Marketplace model
- # requires an Amazon Web Services Marketplace subscription. For more
- # information, see [RDS for Db2 licensing options][1] in the *Amazon
- # RDS User Guide*.
+ # group and an Amazon Web Services License Manager self-managed
+ # license. The Db2 license through Amazon Web Services Marketplace
+ # model requires an Amazon Web Services Marketplace subscription. For
+ # more information, see [Amazon RDS for Db2 licensing options][1] in
+ # the *Amazon RDS User Guide*.
#
# The default for RDS for Db2 is `bring-your-own-license`.
#
@@ -5082,9 +5085,6 @@ class CreateDBInstanceMessage < Struct.new(
# autogenerates a presigned URL that is a valid request for the
# operation that can run in the source Amazon Web Services Region.
#
- # `SourceRegion` isn't supported for SQL Server, because Amazon RDS
- # for SQL Server doesn't support cross-Region read replicas.
- #
#
#
# This setting doesn't apply to RDS Custom DB instances.
@@ -6303,6 +6303,10 @@ class CreateEventSubscriptionResult < Struct.new(
# ^
# @return [Boolean]
#
+ # @!attribute [rw] tags
+ # Tags to assign to the global cluster.
+ # @return [Array]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/CreateGlobalClusterMessage AWS API Documentation
#
class CreateGlobalClusterMessage < Struct.new(
@@ -6313,7 +6317,8 @@ class CreateGlobalClusterMessage < Struct.new(
:engine_lifecycle_support,
:deletion_protection,
:database_name,
- :storage_encrypted)
+ :storage_encrypted,
+ :tags)
SENSITIVE = []
include Aws::Structure
end
@@ -9779,7 +9784,21 @@ class DBParameterGroupQuotaExceededFault < Aws::EmptyStructure; end
# @return [String]
#
# @!attribute [rw] parameter_apply_status
- # The status of parameter updates.
+ # The status of parameter updates. Valid values are:
+ #
+ # * `applying`: The parameter group change is being applied to the
+ # database.
+ #
+ # * `failed-to-apply`: The parameter group is in an invalid state.
+ #
+ # * `in-sync`: The parameter group change is synchronized with the
+ # database.
+ #
+ # * `pending-database-upgrade`: The parameter group change will be
+ # applied after the DB instance is upgraded.
+ #
+ # * `pending-reboot`: The parameter group change will be applied after
+ # the DB instance reboots.
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/DBParameterGroupStatus AWS API Documentation
@@ -16081,6 +16100,19 @@ class Filter < Struct.new(
# called on this global cluster.
# @return [Types::FailoverState]
#
+ # @!attribute [rw] tag_list
+ # A list of tags.
+ #
+ # For more information, see [Tagging Amazon RDS resources][1] in the
+ # *Amazon RDS User Guide* or [Tagging Amazon Aurora and Amazon RDS
+ # resources][2] in the *Amazon Aurora User Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_Tagging.html
+ # [2]: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/USER_Tagging.html
+ # @return [Array]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/rds-2014-10-31/GlobalCluster AWS API Documentation
#
class GlobalCluster < Struct.new(
@@ -16095,7 +16127,8 @@ class GlobalCluster < Struct.new(
:storage_encrypted,
:deletion_protection,
:global_cluster_members,
- :failover_state)
+ :failover_state,
+ :tag_list)
SENSITIVE = []
include Aws::Structure
end
@@ -24139,10 +24172,11 @@ class RestoreDBClusterToPointInTimeResult < Struct.new(
#
# License models for RDS for Db2 require additional configuration. The
# Bring Your Own License (BYOL) model requires a custom parameter
- # group. The Db2 license through Amazon Web Services Marketplace model
- # requires an Amazon Web Services Marketplace subscription. For more
- # information, see [RDS for Db2 licensing options][1] in the *Amazon
- # RDS User Guide*.
+ # group and an Amazon Web Services License Manager self-managed
+ # license. The Db2 license through Amazon Web Services Marketplace
+ # model requires an Amazon Web Services Marketplace subscription. For
+ # more information, see [Amazon RDS for Db2 licensing options][1] in
+ # the *Amazon RDS User Guide*.
#
#
#
@@ -25545,10 +25579,11 @@ class RestoreDBInstanceFromS3Result < Struct.new(
#
# License models for RDS for Db2 require additional configuration. The
# Bring Your Own License (BYOL) model requires a custom parameter
- # group. The Db2 license through Amazon Web Services Marketplace model
- # requires an Amazon Web Services Marketplace subscription. For more
- # information, see [RDS for Db2 licensing options][1] in the *Amazon
- # RDS User Guide*.
+ # group and an Amazon Web Services License Manager self-managed
+ # license. The Db2 license through Amazon Web Services Marketplace
+ # model requires an Amazon Web Services Marketplace subscription. For
+ # more information, see [Amazon RDS for Db2 licensing options][1] in
+ # the *Amazon RDS User Guide*.
#
#
#
diff --git a/gems/aws-sdk-rds/sig/client.rbs b/gems/aws-sdk-rds/sig/client.rbs
index 9858ace2fbb..353a77f3bc2 100644
--- a/gems/aws-sdk-rds/sig/client.rbs
+++ b/gems/aws-sdk-rds/sig/client.rbs
@@ -835,7 +835,13 @@ module Aws
?engine_lifecycle_support: ::String,
?deletion_protection: bool,
?database_name: ::String,
- ?storage_encrypted: bool
+ ?storage_encrypted: bool,
+ ?tags: Array[
+ {
+ key: ::String?,
+ value: ::String?
+ },
+ ]
) -> _CreateGlobalClusterResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateGlobalClusterResponseSuccess
diff --git a/gems/aws-sdk-rds/sig/types.rbs b/gems/aws-sdk-rds/sig/types.rbs
index 35ee4b652df..9f10eaaf05a 100644
--- a/gems/aws-sdk-rds/sig/types.rbs
+++ b/gems/aws-sdk-rds/sig/types.rbs
@@ -674,6 +674,7 @@ module Aws::RDS
attr_accessor deletion_protection: bool
attr_accessor database_name: ::String
attr_accessor storage_encrypted: bool
+ attr_accessor tags: ::Array[Types::Tag]
SENSITIVE: []
end
@@ -2522,6 +2523,7 @@ module Aws::RDS
attr_accessor deletion_protection: bool
attr_accessor global_cluster_members: ::Array[Types::GlobalClusterMember]
attr_accessor failover_state: Types::FailoverState
+ attr_accessor tag_list: ::Array[Types::Tag]
SENSITIVE: []
end
diff --git a/gems/aws-sdk-rds/spec/endpoint_provider_spec.rb b/gems/aws-sdk-rds/spec/endpoint_provider_spec.rb
index 26b7bda0a0e..fc1be922c57 100644
--- a/gems/aws-sdk-rds/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-rds/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::RDS
describe EndpointProvider do
subject { Aws::RDS::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::RDS
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::RDS
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::RDS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::RDS
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::RDS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::RDS
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::RDS
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::RDS
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::RDS
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::RDS
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::RDS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::RDS
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::RDS
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::RDS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::RDS
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::RDS
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::RDS
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::RDS
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::RDS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::RDS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::RDS
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::RDS
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::RDS
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::RDS
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::RDS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::RDS
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::RDS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::RDS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::RDS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::RDS
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::RDS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::RDS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::RDS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::RDS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::RDS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::RDS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::RDS
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::RDS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::RDS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::RDS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-iso-east-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::RDS
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-iso-west-1.c2s.ic.gov"}}
end
@@ -602,7 +602,7 @@ module Aws::RDS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -615,7 +615,7 @@ module Aws::RDS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -629,7 +629,7 @@ module Aws::RDS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -642,7 +642,7 @@ module Aws::RDS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -656,7 +656,7 @@ module Aws::RDS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -669,7 +669,7 @@ module Aws::RDS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -683,7 +683,7 @@ module Aws::RDS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -696,7 +696,7 @@ module Aws::RDS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::RDS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -724,7 +724,7 @@ module Aws::RDS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -737,7 +737,7 @@ module Aws::RDS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -750,7 +750,7 @@ module Aws::RDS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-rdsdataservice/CHANGELOG.md b/gems/aws-sdk-rdsdataservice/CHANGELOG.md
index 3556400b2a3..01480effad8 100644
--- a/gems/aws-sdk-rdsdataservice/CHANGELOG.md
+++ b/gems/aws-sdk-rdsdataservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.60.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.59.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-rdsdataservice/VERSION b/gems/aws-sdk-rdsdataservice/VERSION
index bb120e876c6..4d5fde5bd16 100644
--- a/gems/aws-sdk-rdsdataservice/VERSION
+++ b/gems/aws-sdk-rdsdataservice/VERSION
@@ -1 +1 @@
-1.59.0
+1.60.0
diff --git a/gems/aws-sdk-rdsdataservice/aws-sdk-rdsdataservice.gemspec b/gems/aws-sdk-rdsdataservice/aws-sdk-rdsdataservice.gemspec
index 86713e5cb69..10ee9e7ce24 100644
--- a/gems/aws-sdk-rdsdataservice/aws-sdk-rdsdataservice.gemspec
+++ b/gems/aws-sdk-rdsdataservice/aws-sdk-rdsdataservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-rdsdataservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice.rb b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice.rb
index 477e970de6a..00efe2299cb 100644
--- a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice.rb
+++ b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::RDSDataService
- GEM_VERSION = '1.59.0'
+ GEM_VERSION = '1.60.0'
end
diff --git a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client.rb b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client.rb
index e09f1014e22..b428aa3a89c 100644
--- a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client.rb
+++ b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/client.rb
@@ -1032,7 +1032,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-rdsdataservice'
- context[:gem_version] = '1.59.0'
+ context[:gem_version] = '1.60.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/endpoints.rb b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/endpoints.rb
index cf970785c6c..285f569a424 100644
--- a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/endpoints.rb
+++ b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/endpoints.rb
@@ -14,84 +14,66 @@ module Endpoints
class BatchExecuteStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDSDataService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BeginTransaction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDSDataService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CommitTransaction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDSDataService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteSql
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDSDataService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDSDataService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RollbackTransaction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RDSDataService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/plugins/endpoints.rb b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/plugins/endpoints.rb
index f2e3a670b34..d7152218a49 100644
--- a/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-rdsdataservice/lib/aws-sdk-rdsdataservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-rdsdataservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-rdsdataservice/spec/endpoint_provider_spec.rb
index 3b56b096188..693cf2b55ea 100644
--- a/gems/aws-sdk-rdsdataservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-rdsdataservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::RDSDataService
describe EndpointProvider do
subject { Aws::RDSDataService::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::RDSDataService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::RDSDataService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::RDSDataService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::RDSDataService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::RDSDataService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rds-data.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::RDSDataService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::RDSDataService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::RDSDataService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::RDSDataService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::RDSDataService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-recyclebin/CHANGELOG.md b/gems/aws-sdk-recyclebin/CHANGELOG.md
index 285c3adc57e..57a4c620672 100644
--- a/gems/aws-sdk-recyclebin/CHANGELOG.md
+++ b/gems/aws-sdk-recyclebin/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.29.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.28.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-recyclebin/VERSION b/gems/aws-sdk-recyclebin/VERSION
index cfc730712d5..5e57fb89558 100644
--- a/gems/aws-sdk-recyclebin/VERSION
+++ b/gems/aws-sdk-recyclebin/VERSION
@@ -1 +1 @@
-1.28.0
+1.29.0
diff --git a/gems/aws-sdk-recyclebin/aws-sdk-recyclebin.gemspec b/gems/aws-sdk-recyclebin/aws-sdk-recyclebin.gemspec
index 986cd0072e1..afafa87c702 100644
--- a/gems/aws-sdk-recyclebin/aws-sdk-recyclebin.gemspec
+++ b/gems/aws-sdk-recyclebin/aws-sdk-recyclebin.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-recyclebin/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin.rb b/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin.rb
index 592e6db4103..9018cebf579 100644
--- a/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin.rb
+++ b/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::RecycleBin
- GEM_VERSION = '1.28.0'
+ GEM_VERSION = '1.29.0'
end
diff --git a/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/client.rb b/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/client.rb
index fdeb7e2b40e..948a7b754e6 100644
--- a/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/client.rb
+++ b/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/client.rb
@@ -1017,7 +1017,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-recyclebin'
- context[:gem_version] = '1.28.0'
+ context[:gem_version] = '1.29.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/endpoints.rb b/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/endpoints.rb
index ecd9687677c..5ca729e4d9b 100644
--- a/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/endpoints.rb
+++ b/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/endpoints.rb
@@ -14,140 +14,110 @@ module Endpoints
class CreateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RecycleBin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RecycleBin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RecycleBin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RecycleBin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RecycleBin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class LockRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RecycleBin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RecycleBin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnlockRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RecycleBin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RecycleBin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RecycleBin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/plugins/endpoints.rb b/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/plugins/endpoints.rb
index a3fbc9e17d0..bd00bbd7f2a 100644
--- a/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/plugins/endpoints.rb
+++ b/gems/aws-sdk-recyclebin/lib/aws-sdk-recyclebin/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-recyclebin/spec/endpoint_provider_spec.rb b/gems/aws-sdk-recyclebin/spec/endpoint_provider_spec.rb
index c768138a003..ae639e8ccba 100644
--- a/gems/aws-sdk-recyclebin/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-recyclebin/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::RecycleBin
describe EndpointProvider do
subject { Aws::RecycleBin::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::RecycleBin
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::RecycleBin
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::RecycleBin
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::RecycleBin
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::RecycleBin
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::RecycleBin
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::RecycleBin
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::RecycleBin
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::RecycleBin
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::RecycleBin
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::RecycleBin
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::RecycleBin
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::RecycleBin
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::RecycleBin
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::RecycleBin
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::RecycleBin
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::RecycleBin
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::RecycleBin
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::RecycleBin
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::RecycleBin
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin-fips.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -475,7 +475,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -489,7 +489,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -502,7 +502,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.us-iso-east-1.c2s.ic.gov"}}
end
@@ -516,7 +516,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -529,7 +529,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -543,7 +543,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -556,7 +556,7 @@ module Aws::RecycleBin
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rbin.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -570,7 +570,7 @@ module Aws::RecycleBin
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::RecycleBin
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::RecycleBin
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -611,7 +611,7 @@ module Aws::RecycleBin
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -624,7 +624,7 @@ module Aws::RecycleBin
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-redshift/CHANGELOG.md b/gems/aws-sdk-redshift/CHANGELOG.md
index 3a0f8351adc..00bd221b8fa 100644
--- a/gems/aws-sdk-redshift/CHANGELOG.md
+++ b/gems/aws-sdk-redshift/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.122.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.121.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-redshift/VERSION b/gems/aws-sdk-redshift/VERSION
index 83bd3452721..2265fa2d9b7 100644
--- a/gems/aws-sdk-redshift/VERSION
+++ b/gems/aws-sdk-redshift/VERSION
@@ -1 +1 @@
-1.121.0
+1.122.0
diff --git a/gems/aws-sdk-redshift/aws-sdk-redshift.gemspec b/gems/aws-sdk-redshift/aws-sdk-redshift.gemspec
index 39c4ba237f7..6c3247e5583 100644
--- a/gems/aws-sdk-redshift/aws-sdk-redshift.gemspec
+++ b/gems/aws-sdk-redshift/aws-sdk-redshift.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-redshift/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-redshift/lib/aws-sdk-redshift.rb b/gems/aws-sdk-redshift/lib/aws-sdk-redshift.rb
index e0f97fbec2e..25c354409c8 100644
--- a/gems/aws-sdk-redshift/lib/aws-sdk-redshift.rb
+++ b/gems/aws-sdk-redshift/lib/aws-sdk-redshift.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Redshift
- GEM_VERSION = '1.121.0'
+ GEM_VERSION = '1.122.0'
end
diff --git a/gems/aws-sdk-redshift/lib/aws-sdk-redshift/client.rb b/gems/aws-sdk-redshift/lib/aws-sdk-redshift/client.rb
index d94acbcb79b..c29ee7cd414 100644
--- a/gems/aws-sdk-redshift/lib/aws-sdk-redshift/client.rb
+++ b/gems/aws-sdk-redshift/lib/aws-sdk-redshift/client.rb
@@ -12442,7 +12442,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-redshift'
- context[:gem_version] = '1.121.0'
+ context[:gem_version] = '1.122.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-redshift/lib/aws-sdk-redshift/endpoints.rb b/gems/aws-sdk-redshift/lib/aws-sdk-redshift/endpoints.rb
index 5cf789cb9c8..c55b5ba291a 100644
--- a/gems/aws-sdk-redshift/lib/aws-sdk-redshift/endpoints.rb
+++ b/gems/aws-sdk-redshift/lib/aws-sdk-redshift/endpoints.rb
@@ -14,1862 +14,1463 @@ module Endpoints
class AcceptReservedNodeExchange
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddPartner
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateDataShareConsumer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeClusterSecurityGroupIngress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeDataShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeSnapshotAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteClusterSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchModifyClusterSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelResize
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAuthenticationProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateClusterSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateClusterSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomDomainAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHsmClientCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHsmConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRedshiftIdcApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshotCopyGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshotSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUsageLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeauthorizeDataShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAuthenticationProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteClusterSecurityGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteClusterSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomDomainAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHsmClientCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHsmConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePartner
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRedshiftIdcApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSnapshotCopyGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSnapshotSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUsageLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAuthenticationProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterDbRevisions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterParameterGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterSecurityGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterSubnetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterTracks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCustomDomainAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataSharesForConsumer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataSharesForProducer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDefaultClusterParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpointAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventCategories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEventSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHsmClientCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHsmConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInboundIntegrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLoggingStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNodeConfigurationOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrderableClusterOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePartners
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRedshiftIdcApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedNodeExchangeStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedNodeOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReservedNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResize
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScheduledActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSnapshotCopyGrants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSnapshotSchedules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTableRestoreStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUsageLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableLogging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableSnapshotCopy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateDataShareConsumer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableLogging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableSnapshotCopy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class FailoverPrimaryCompute
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetClusterCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetClusterCredentialsWithIAM
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReservedNodeExchangeConfigurationOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReservedNodeExchangeOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyAquaConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyAuthenticationProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyClusterDbRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyClusterIamRoles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyClusterMaintenance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyClusterSnapshotSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyClusterSubnetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCustomDomainAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyEventSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyRedshiftIdcApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifySnapshotCopyRetentionPeriod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifySnapshotSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyUsageLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PauseCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurchaseReservedNodeOffering
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectDataShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetClusterParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResizeCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreFromClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreTableFromClusterSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeClusterSecurityGroupIngress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeSnapshotAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RotateEncryptionKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePartnerStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Redshift::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-redshift/lib/aws-sdk-redshift/plugins/endpoints.rb b/gems/aws-sdk-redshift/lib/aws-sdk-redshift/plugins/endpoints.rb
index 6fd1b71d7f7..4a41f84bcdc 100644
--- a/gems/aws-sdk-redshift/lib/aws-sdk-redshift/plugins/endpoints.rb
+++ b/gems/aws-sdk-redshift/lib/aws-sdk-redshift/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-redshift/spec/endpoint_provider_spec.rb b/gems/aws-sdk-redshift/spec/endpoint_provider_spec.rb
index c14573568b8..3da5cb22323 100644
--- a/gems/aws-sdk-redshift/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-redshift/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Redshift
describe EndpointProvider do
subject { Aws::Redshift::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Redshift
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Redshift
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Redshift
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Redshift
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Redshift
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Redshift
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Redshift
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Redshift
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Redshift
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Redshift
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Redshift
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Redshift
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Redshift
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Redshift
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Redshift
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Redshift
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Redshift
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Redshift
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Redshift
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Redshift
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Redshift
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Redshift
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Redshift
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Redshift
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Redshift
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Redshift
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::Redshift
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Redshift
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::Redshift
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Redshift
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Redshift
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::Redshift
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::Redshift
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::Redshift
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Redshift
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Redshift
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::Redshift
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::Redshift
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::Redshift
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::Redshift
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-iso-east-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::Redshift
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-iso-west-1.c2s.ic.gov"}}
end
@@ -602,7 +602,7 @@ module Aws::Redshift
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -615,7 +615,7 @@ module Aws::Redshift
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -629,7 +629,7 @@ module Aws::Redshift
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -642,7 +642,7 @@ module Aws::Redshift
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -656,7 +656,7 @@ module Aws::Redshift
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -669,7 +669,7 @@ module Aws::Redshift
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -683,7 +683,7 @@ module Aws::Redshift
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -696,7 +696,7 @@ module Aws::Redshift
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::Redshift
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -724,7 +724,7 @@ module Aws::Redshift
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -737,7 +737,7 @@ module Aws::Redshift
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -750,7 +750,7 @@ module Aws::Redshift
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-redshiftdataapiservice/CHANGELOG.md b/gems/aws-sdk-redshiftdataapiservice/CHANGELOG.md
index 160067f20be..9a9dcbb5907 100644
--- a/gems/aws-sdk-redshiftdataapiservice/CHANGELOG.md
+++ b/gems/aws-sdk-redshiftdataapiservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.45.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.44.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-redshiftdataapiservice/VERSION b/gems/aws-sdk-redshiftdataapiservice/VERSION
index 372cf402c73..50aceaa7b71 100644
--- a/gems/aws-sdk-redshiftdataapiservice/VERSION
+++ b/gems/aws-sdk-redshiftdataapiservice/VERSION
@@ -1 +1 @@
-1.44.0
+1.45.0
diff --git a/gems/aws-sdk-redshiftdataapiservice/aws-sdk-redshiftdataapiservice.gemspec b/gems/aws-sdk-redshiftdataapiservice/aws-sdk-redshiftdataapiservice.gemspec
index 28355b4cb92..5aee62bb7ca 100644
--- a/gems/aws-sdk-redshiftdataapiservice/aws-sdk-redshiftdataapiservice.gemspec
+++ b/gems/aws-sdk-redshiftdataapiservice/aws-sdk-redshiftdataapiservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-redshiftdataapiservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice.rb b/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice.rb
index 47d06389553..34baadbc44a 100644
--- a/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice.rb
+++ b/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::RedshiftDataAPIService
- GEM_VERSION = '1.44.0'
+ GEM_VERSION = '1.45.0'
end
diff --git a/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/client.rb b/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/client.rb
index 89b0e952208..4562cb288c8 100644
--- a/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/client.rb
+++ b/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/client.rb
@@ -1606,7 +1606,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-redshiftdataapiservice'
- context[:gem_version] = '1.44.0'
+ context[:gem_version] = '1.45.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/endpoints.rb b/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/endpoints.rb
index c30edb86729..0f01762f7e2 100644
--- a/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/endpoints.rb
+++ b/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/endpoints.rb
@@ -14,140 +14,110 @@ module Endpoints
class BatchExecuteStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftDataAPIService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftDataAPIService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftDataAPIService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftDataAPIService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteStatement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftDataAPIService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetStatementResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftDataAPIService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftDataAPIService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchemas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftDataAPIService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStatements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftDataAPIService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftDataAPIService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/plugins/endpoints.rb b/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/plugins/endpoints.rb
index 6ff088dec97..2842e20298b 100644
--- a/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-redshiftdataapiservice/lib/aws-sdk-redshiftdataapiservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-redshiftdataapiservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-redshiftdataapiservice/spec/endpoint_provider_spec.rb
index 753a83721b2..281c54ad03c 100644
--- a/gems/aws-sdk-redshiftdataapiservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-redshiftdataapiservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::RedshiftDataAPIService
describe EndpointProvider do
subject { Aws::RedshiftDataAPIService::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-data.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::RedshiftDataAPIService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-redshiftserverless/CHANGELOG.md b/gems/aws-sdk-redshiftserverless/CHANGELOG.md
index a62b7143c57..d09164b5aab 100644
--- a/gems/aws-sdk-redshiftserverless/CHANGELOG.md
+++ b/gems/aws-sdk-redshiftserverless/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.36.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.35.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-redshiftserverless/VERSION b/gems/aws-sdk-redshiftserverless/VERSION
index 2aeaa11ee27..39fc130ef85 100644
--- a/gems/aws-sdk-redshiftserverless/VERSION
+++ b/gems/aws-sdk-redshiftserverless/VERSION
@@ -1 +1 @@
-1.35.0
+1.36.0
diff --git a/gems/aws-sdk-redshiftserverless/aws-sdk-redshiftserverless.gemspec b/gems/aws-sdk-redshiftserverless/aws-sdk-redshiftserverless.gemspec
index 5a88fdf763d..3efa7352181 100644
--- a/gems/aws-sdk-redshiftserverless/aws-sdk-redshiftserverless.gemspec
+++ b/gems/aws-sdk-redshiftserverless/aws-sdk-redshiftserverless.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-redshiftserverless/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless.rb b/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless.rb
index e0fc42e5f99..dd1dc575946 100644
--- a/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless.rb
+++ b/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::RedshiftServerless
- GEM_VERSION = '1.35.0'
+ GEM_VERSION = '1.36.0'
end
diff --git a/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb b/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb
index f4d7d2e87a5..7829ae97463 100644
--- a/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb
+++ b/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/client.rb
@@ -3733,7 +3733,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-redshiftserverless'
- context[:gem_version] = '1.35.0'
+ context[:gem_version] = '1.36.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/endpoints.rb b/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/endpoints.rb
index 749c968491f..89991550693 100644
--- a/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/endpoints.rb
+++ b/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/endpoints.rb
@@ -14,770 +14,605 @@ module Endpoints
class ConvertRecoveryPointToSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomDomainAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshotCopyConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUsageLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkgroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomDomainAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSnapshotCopyConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUsageLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkgroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCustomDomainAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecoveryPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTableRestoreStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUsageLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkgroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomDomainAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNamespaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecoveryPoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListScheduledActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSnapshotCopyConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTableRestoreStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsageLimits
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkgroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreFromRecoveryPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreTableFromRecoveryPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreTableFromSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCustomDomainAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEndpointAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateScheduledAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSnapshotCopyConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUsageLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkgroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RedshiftServerless::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/plugins/endpoints.rb b/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/plugins/endpoints.rb
index f844c92273a..70c3e49446d 100644
--- a/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/plugins/endpoints.rb
+++ b/gems/aws-sdk-redshiftserverless/lib/aws-sdk-redshiftserverless/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-redshiftserverless/spec/endpoint_provider_spec.rb b/gems/aws-sdk-redshiftserverless/spec/endpoint_provider_spec.rb
index c3751e1fd67..3d2461543b2 100644
--- a/gems/aws-sdk-redshiftserverless/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-redshiftserverless/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::RedshiftServerless
describe EndpointProvider do
subject { Aws::RedshiftServerless::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.eu-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.eu-north-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.eu-west-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.eu-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.us-east-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.us-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless-fips.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless-fips.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless-fips.us-gov-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.us-gov-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.us-gov-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -335,7 +335,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -349,7 +349,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -362,7 +362,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.us-iso-east-1.c2s.ic.gov"}}
end
@@ -376,7 +376,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -389,7 +389,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -403,7 +403,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -416,7 +416,7 @@ module Aws::RedshiftServerless
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://redshift-serverless.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -430,7 +430,7 @@ module Aws::RedshiftServerless
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::RedshiftServerless
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -458,7 +458,7 @@ module Aws::RedshiftServerless
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -471,7 +471,7 @@ module Aws::RedshiftServerless
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -484,7 +484,7 @@ module Aws::RedshiftServerless
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-rekognition/CHANGELOG.md b/gems/aws-sdk-rekognition/CHANGELOG.md
index 852f89ff20b..a384faebf6f 100644
--- a/gems/aws-sdk-rekognition/CHANGELOG.md
+++ b/gems/aws-sdk-rekognition/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.105.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.104.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-rekognition/VERSION b/gems/aws-sdk-rekognition/VERSION
index 9f0b4661158..e38c0a0f75c 100644
--- a/gems/aws-sdk-rekognition/VERSION
+++ b/gems/aws-sdk-rekognition/VERSION
@@ -1 +1 @@
-1.104.0
+1.105.0
diff --git a/gems/aws-sdk-rekognition/aws-sdk-rekognition.gemspec b/gems/aws-sdk-rekognition/aws-sdk-rekognition.gemspec
index 81416b8796c..baa847a7fe1 100644
--- a/gems/aws-sdk-rekognition/aws-sdk-rekognition.gemspec
+++ b/gems/aws-sdk-rekognition/aws-sdk-rekognition.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-rekognition/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition.rb b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition.rb
index 9e684962bba..02c5b4ca3cd 100644
--- a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition.rb
+++ b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Rekognition
- GEM_VERSION = '1.104.0'
+ GEM_VERSION = '1.105.0'
end
diff --git a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/client.rb b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/client.rb
index dde715d0747..21ab6a9b9ba 100644
--- a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/client.rb
+++ b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/client.rb
@@ -8455,7 +8455,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-rekognition'
- context[:gem_version] = '1.104.0'
+ context[:gem_version] = '1.105.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/endpoints.rb b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/endpoints.rb
index 1f546127935..7270249628b 100644
--- a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/endpoints.rb
+++ b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/endpoints.rb
@@ -14,1050 +14,825 @@ module Endpoints
class AssociateFaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CompareFaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyProjectVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFaceLivenessSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProjectVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStreamProcessor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProjectPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProjectVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStreamProcessor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataset
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProjectVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStreamProcessor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectCustomLabels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectFaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectLabels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectModerationLabels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectProtectiveEquipment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectText
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DistributeDatasetEntries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCelebrityInfo
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCelebrityRecognition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContentModeration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFaceDetection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFaceLivenessSessionResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFaceSearch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLabelDetection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMediaAnalysisJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPersonTracking
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSegmentDetection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTextDetection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class IndexFaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCollections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasetEntries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatasetLabels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMediaAnalysisJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjectPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStreamProcessors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutProjectPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RecognizeCelebrities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchFaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchFacesByImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchUsersByImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCelebrityRecognition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartContentModeration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFaceDetection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFaceSearch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartLabelDetection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMediaAnalysisJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartPersonTracking
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartProjectVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSegmentDetection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartStreamProcessor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTextDetection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopProjectVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopStreamProcessor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDatasetEntries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStreamProcessor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Rekognition::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/plugins/endpoints.rb b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/plugins/endpoints.rb
index d25541aecb3..65eaa708294 100644
--- a/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/plugins/endpoints.rb
+++ b/gems/aws-sdk-rekognition/lib/aws-sdk-rekognition/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-rekognition/spec/endpoint_provider_spec.rb b/gems/aws-sdk-rekognition/spec/endpoint_provider_spec.rb
index 37978776786..a4b7d2008bc 100644
--- a/gems/aws-sdk-rekognition/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-rekognition/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Rekognition
describe EndpointProvider do
subject { Aws::Rekognition::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Rekognition
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Rekognition
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Rekognition
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Rekognition
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Rekognition
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Rekognition
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Rekognition
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Rekognition
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Rekognition
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Rekognition
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Rekognition
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Rekognition
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.us-east-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Rekognition
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.us-east-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Rekognition
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.us-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Rekognition
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.us-west-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Rekognition
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.us-west-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Rekognition
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.us-west-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Rekognition
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::Rekognition
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::Rekognition
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::Rekognition
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::Rekognition
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::Rekognition
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::Rekognition
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.us-gov-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Rekognition
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Rekognition
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.us-gov-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Rekognition
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::Rekognition
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::Rekognition
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::Rekognition
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -447,7 +447,7 @@ module Aws::Rekognition
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -461,7 +461,7 @@ module Aws::Rekognition
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -474,7 +474,7 @@ module Aws::Rekognition
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.us-iso-east-1.c2s.ic.gov"}}
end
@@ -488,7 +488,7 @@ module Aws::Rekognition
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -501,7 +501,7 @@ module Aws::Rekognition
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -515,7 +515,7 @@ module Aws::Rekognition
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -528,7 +528,7 @@ module Aws::Rekognition
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rekognition.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -542,7 +542,7 @@ module Aws::Rekognition
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -556,7 +556,7 @@ module Aws::Rekognition
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -570,7 +570,7 @@ module Aws::Rekognition
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -583,7 +583,7 @@ module Aws::Rekognition
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -596,7 +596,7 @@ module Aws::Rekognition
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-repostspace/CHANGELOG.md b/gems/aws-sdk-repostspace/CHANGELOG.md
index 66ea63590f5..1f8f8ccdb56 100644
--- a/gems/aws-sdk-repostspace/CHANGELOG.md
+++ b/gems/aws-sdk-repostspace/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.11.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.10.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-repostspace/VERSION b/gems/aws-sdk-repostspace/VERSION
index 81c871de46b..1cac385c6cb 100644
--- a/gems/aws-sdk-repostspace/VERSION
+++ b/gems/aws-sdk-repostspace/VERSION
@@ -1 +1 @@
-1.10.0
+1.11.0
diff --git a/gems/aws-sdk-repostspace/aws-sdk-repostspace.gemspec b/gems/aws-sdk-repostspace/aws-sdk-repostspace.gemspec
index 542c000a062..e61e042d092 100644
--- a/gems/aws-sdk-repostspace/aws-sdk-repostspace.gemspec
+++ b/gems/aws-sdk-repostspace/aws-sdk-repostspace.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-repostspace/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace.rb b/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace.rb
index ce0f63975d9..d2171b06056 100644
--- a/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace.rb
+++ b/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Repostspace
- GEM_VERSION = '1.10.0'
+ GEM_VERSION = '1.11.0'
end
diff --git a/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb b/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb
index 931662aad62..156aa26a73d 100644
--- a/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb
+++ b/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/client.rb
@@ -883,7 +883,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-repostspace'
- context[:gem_version] = '1.10.0'
+ context[:gem_version] = '1.11.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/endpoints.rb b/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/endpoints.rb
index 6f7c344cf20..0197322b98a 100644
--- a/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/endpoints.rb
+++ b/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/endpoints.rb
@@ -14,154 +14,121 @@ module Endpoints
class CreateSpace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Repostspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSpace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Repostspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Repostspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSpace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Repostspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSpaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Repostspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Repostspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Repostspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendInvites
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Repostspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Repostspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Repostspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSpace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Repostspace::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/plugins/endpoints.rb b/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/plugins/endpoints.rb
index 757d67ec57c..2921a829ea8 100644
--- a/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/plugins/endpoints.rb
+++ b/gems/aws-sdk-repostspace/lib/aws-sdk-repostspace/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-repostspace/spec/endpoint_provider_spec.rb b/gems/aws-sdk-repostspace/spec/endpoint_provider_spec.rb
index 04e088734b2..e90ff0c2bfe 100644
--- a/gems/aws-sdk-repostspace/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-repostspace/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Repostspace
describe EndpointProvider do
subject { Aws::Repostspace::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Repostspace
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Repostspace
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Repostspace
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Repostspace
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Repostspace
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Repostspace
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Repostspace
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Repostspace
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Repostspace
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Repostspace
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Repostspace
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Repostspace
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Repostspace
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Repostspace
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Repostspace
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Repostspace
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Repostspace
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Repostspace
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Repostspace
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://repostspace.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Repostspace
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Repostspace
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Repostspace
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Repostspace
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Repostspace
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-resiliencehub/CHANGELOG.md b/gems/aws-sdk-resiliencehub/CHANGELOG.md
index 55c9941c7e5..0523b3fe531 100644
--- a/gems/aws-sdk-resiliencehub/CHANGELOG.md
+++ b/gems/aws-sdk-resiliencehub/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.36.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.35.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-resiliencehub/VERSION b/gems/aws-sdk-resiliencehub/VERSION
index 2aeaa11ee27..39fc130ef85 100644
--- a/gems/aws-sdk-resiliencehub/VERSION
+++ b/gems/aws-sdk-resiliencehub/VERSION
@@ -1 +1 @@
-1.35.0
+1.36.0
diff --git a/gems/aws-sdk-resiliencehub/aws-sdk-resiliencehub.gemspec b/gems/aws-sdk-resiliencehub/aws-sdk-resiliencehub.gemspec
index 0521fa7ce3e..2a1a7edb110 100644
--- a/gems/aws-sdk-resiliencehub/aws-sdk-resiliencehub.gemspec
+++ b/gems/aws-sdk-resiliencehub/aws-sdk-resiliencehub.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-resiliencehub/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub.rb b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub.rb
index a8042fcb48a..2330d55f371 100644
--- a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub.rb
+++ b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ResilienceHub
- GEM_VERSION = '1.35.0'
+ GEM_VERSION = '1.36.0'
end
diff --git a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb
index 8a0a9bf8cbd..cba373a8624 100644
--- a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb
+++ b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/client.rb
@@ -4926,7 +4926,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-resiliencehub'
- context[:gem_version] = '1.35.0'
+ context[:gem_version] = '1.36.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/endpoints.rb b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/endpoints.rb
index 0ddcfe6bb32..af6378696fe 100644
--- a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/endpoints.rb
+++ b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/endpoints.rb
@@ -14,840 +14,660 @@ module Endpoints
class AcceptResourceGroupingRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddDraftAppVersionResourceMappings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateRecommendationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppVersionAppComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppVersionResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRecommendationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResiliencyPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppInputSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppVersionAppComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppVersionResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRecommendationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResiliencyPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppVersionAppComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppVersionResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppVersionResourcesResolutionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppVersionTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDraftAppVersionResourcesImportStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResiliencyPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourceGroupingRecommendationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportResourcesToDraftAppVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAlarmRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppAssessmentComplianceDrifts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppAssessmentResourceDrifts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppAssessments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppComponentCompliances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppComponentRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppInputSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppVersionAppComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppVersionResourceMappings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppVersionResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommendationTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResiliencyPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceGroupingRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSopRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSuggestedResiliencyPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTestRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUnsupportedAppVersionResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PublishAppVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDraftAppVersionTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectResourceGroupingRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveDraftAppVersionResourceMappings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResolveAppVersionResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAppAssessment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartResourceGroupingRecommendationTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppVersionAppComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppVersionResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResiliencyPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResilienceHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/plugins/endpoints.rb b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/plugins/endpoints.rb
index 1c9e630e699..f50758d4666 100644
--- a/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/plugins/endpoints.rb
+++ b/gems/aws-sdk-resiliencehub/lib/aws-sdk-resiliencehub/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-resiliencehub/spec/endpoint_provider_spec.rb b/gems/aws-sdk-resiliencehub/spec/endpoint_provider_spec.rb
index b334021cfa6..1e49eb45bb8 100644
--- a/gems/aws-sdk-resiliencehub/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-resiliencehub/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ResilienceHub
describe EndpointProvider do
subject { Aws::ResilienceHub::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ResilienceHub
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ResilienceHub
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ResilienceHub
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ResilienceHub
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ResilienceHub
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ResilienceHub
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ResilienceHub
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ResilienceHub
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ResilienceHub
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ResilienceHub
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ResilienceHub
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ResilienceHub
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ResilienceHub
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ResilienceHub
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.me-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ResilienceHub
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.sa-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.us-east-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.us-west-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.us-west-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub-fips.us-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub-fips.us-east-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::ResilienceHub
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::ResilienceHub
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::ResilienceHub
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::ResilienceHub
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.cn-north-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub-fips.us-gov-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.us-gov-east-1.api.aws"}}
end
@@ -434,7 +434,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -461,7 +461,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -475,7 +475,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -488,7 +488,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.us-iso-east-1.c2s.ic.gov"}}
end
@@ -502,7 +502,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -515,7 +515,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -529,7 +529,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -542,7 +542,7 @@ module Aws::ResilienceHub
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resiliencehub.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -556,7 +556,7 @@ module Aws::ResilienceHub
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -570,7 +570,7 @@ module Aws::ResilienceHub
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::ResilienceHub
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -597,7 +597,7 @@ module Aws::ResilienceHub
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -610,7 +610,7 @@ module Aws::ResilienceHub
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-resourceexplorer2/CHANGELOG.md b/gems/aws-sdk-resourceexplorer2/CHANGELOG.md
index b48fdec2c6e..6b12e76ecac 100644
--- a/gems/aws-sdk-resourceexplorer2/CHANGELOG.md
+++ b/gems/aws-sdk-resourceexplorer2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.25.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.24.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-resourceexplorer2/VERSION b/gems/aws-sdk-resourceexplorer2/VERSION
index 53cc1a6f929..ad2191947f7 100644
--- a/gems/aws-sdk-resourceexplorer2/VERSION
+++ b/gems/aws-sdk-resourceexplorer2/VERSION
@@ -1 +1 @@
-1.24.0
+1.25.0
diff --git a/gems/aws-sdk-resourceexplorer2/aws-sdk-resourceexplorer2.gemspec b/gems/aws-sdk-resourceexplorer2/aws-sdk-resourceexplorer2.gemspec
index 6cd1764d54e..50645ad0e00 100644
--- a/gems/aws-sdk-resourceexplorer2/aws-sdk-resourceexplorer2.gemspec
+++ b/gems/aws-sdk-resourceexplorer2/aws-sdk-resourceexplorer2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-resourceexplorer2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2.rb b/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2.rb
index b0b79951b6e..4f9c01f2984 100644
--- a/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2.rb
+++ b/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ResourceExplorer2
- GEM_VERSION = '1.24.0'
+ GEM_VERSION = '1.25.0'
end
diff --git a/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/client.rb b/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/client.rb
index 69d7931f1d1..6172f6fb850 100644
--- a/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/client.rb
+++ b/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/client.rb
@@ -1671,7 +1671,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-resourceexplorer2'
- context[:gem_version] = '1.24.0'
+ context[:gem_version] = '1.25.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/endpoints.rb b/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/endpoints.rb
index d537e98cfaa..b5ac855c9f3 100644
--- a/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/endpoints.rb
+++ b/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/endpoints.rb
@@ -14,294 +14,231 @@ module Endpoints
class AssociateDefaultView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateDefaultView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountLevelServiceConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDefaultView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIndex
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIndexes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIndexesForMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSupportedResourceTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListViews
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Search
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIndexType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceExplorer2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/plugins/endpoints.rb b/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/plugins/endpoints.rb
index 4e084628f31..108eb87f297 100644
--- a/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/plugins/endpoints.rb
+++ b/gems/aws-sdk-resourceexplorer2/lib/aws-sdk-resourceexplorer2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-resourceexplorer2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-resourceexplorer2/spec/endpoint_provider_spec.rb
index dbc2e57f16c..8a135a3dc11 100644
--- a/gems/aws-sdk-resourceexplorer2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-resourceexplorer2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ResourceExplorer2
describe EndpointProvider do
subject { Aws::ResourceExplorer2::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-explorer-2.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::ResourceExplorer2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::ResourceExplorer2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-resourcegroups/CHANGELOG.md b/gems/aws-sdk-resourcegroups/CHANGELOG.md
index 391bbe44a87..4fe35d51582 100644
--- a/gems/aws-sdk-resourcegroups/CHANGELOG.md
+++ b/gems/aws-sdk-resourcegroups/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.69.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.68.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-resourcegroups/VERSION b/gems/aws-sdk-resourcegroups/VERSION
index ee2f4ca9130..49349856550 100644
--- a/gems/aws-sdk-resourcegroups/VERSION
+++ b/gems/aws-sdk-resourcegroups/VERSION
@@ -1 +1 @@
-1.68.0
+1.69.0
diff --git a/gems/aws-sdk-resourcegroups/aws-sdk-resourcegroups.gemspec b/gems/aws-sdk-resourcegroups/aws-sdk-resourcegroups.gemspec
index 5a94c6cc297..344634c44cd 100644
--- a/gems/aws-sdk-resourcegroups/aws-sdk-resourcegroups.gemspec
+++ b/gems/aws-sdk-resourcegroups/aws-sdk-resourcegroups.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-resourcegroups/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups.rb b/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups.rb
index 4a501c6cd51..daed7181ce8 100644
--- a/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups.rb
+++ b/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ResourceGroups
- GEM_VERSION = '1.68.0'
+ GEM_VERSION = '1.69.0'
end
diff --git a/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/client.rb b/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/client.rb
index ca9837403f2..ba96e33f9db 100644
--- a/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/client.rb
+++ b/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/client.rb
@@ -1560,7 +1560,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-resourcegroups'
- context[:gem_version] = '1.68.0'
+ context[:gem_version] = '1.69.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/endpoints.rb b/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/endpoints.rb
index f2847f4e4e6..3d1207d56eb 100644
--- a/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/endpoints.rb
+++ b/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/endpoints.rb
@@ -14,252 +14,198 @@ module Endpoints
class CreateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroupConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroupQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GroupResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutGroupConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Tag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UngroupResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Untag
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGroupQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroups::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/plugins/endpoints.rb b/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/plugins/endpoints.rb
index 963674cd016..efa86058bf7 100644
--- a/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/plugins/endpoints.rb
+++ b/gems/aws-sdk-resourcegroups/lib/aws-sdk-resourcegroups/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-resourcegroups/spec/endpoint_provider_spec.rb b/gems/aws-sdk-resourcegroups/spec/endpoint_provider_spec.rb
index 7684e6822f7..ee20a44312d 100644
--- a/gems/aws-sdk-resourcegroups/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-resourcegroups/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ResourceGroups
describe EndpointProvider do
subject { Aws::ResourceGroups::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ResourceGroups
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ResourceGroups
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ResourceGroups
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ResourceGroups
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ResourceGroups
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ResourceGroups
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ResourceGroups
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ResourceGroups
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ResourceGroups
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ResourceGroups
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ResourceGroups
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ResourceGroups
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ResourceGroups
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ResourceGroups
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ResourceGroups
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ResourceGroups
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ResourceGroups
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ResourceGroups
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ResourceGroups
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ResourceGroups
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ResourceGroups
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ResourceGroups
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::ResourceGroups
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://resource-groups.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::ResourceGroups
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::ResourceGroups
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ResourceGroups
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::ResourceGroups
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::ResourceGroups
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-resourcegroupstaggingapi/CHANGELOG.md b/gems/aws-sdk-resourcegroupstaggingapi/CHANGELOG.md
index 1a4b32f0cf9..ff647d31223 100644
--- a/gems/aws-sdk-resourcegroupstaggingapi/CHANGELOG.md
+++ b/gems/aws-sdk-resourcegroupstaggingapi/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.69.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.68.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-resourcegroupstaggingapi/VERSION b/gems/aws-sdk-resourcegroupstaggingapi/VERSION
index ee2f4ca9130..49349856550 100644
--- a/gems/aws-sdk-resourcegroupstaggingapi/VERSION
+++ b/gems/aws-sdk-resourcegroupstaggingapi/VERSION
@@ -1 +1 @@
-1.68.0
+1.69.0
diff --git a/gems/aws-sdk-resourcegroupstaggingapi/aws-sdk-resourcegroupstaggingapi.gemspec b/gems/aws-sdk-resourcegroupstaggingapi/aws-sdk-resourcegroupstaggingapi.gemspec
index b86b0206560..3b6350b1762 100644
--- a/gems/aws-sdk-resourcegroupstaggingapi/aws-sdk-resourcegroupstaggingapi.gemspec
+++ b/gems/aws-sdk-resourcegroupstaggingapi/aws-sdk-resourcegroupstaggingapi.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-resourcegroupstaggingapi/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi.rb b/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi.rb
index 174add93f41..8d28c354a13 100644
--- a/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi.rb
+++ b/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ResourceGroupsTaggingAPI
- GEM_VERSION = '1.68.0'
+ GEM_VERSION = '1.69.0'
end
diff --git a/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/client.rb b/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/client.rb
index 6f2f15cda23..812c9867165 100644
--- a/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/client.rb
+++ b/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/client.rb
@@ -1111,7 +1111,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-resourcegroupstaggingapi'
- context[:gem_version] = '1.68.0'
+ context[:gem_version] = '1.69.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/endpoints.rb b/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/endpoints.rb
index 2ca368b0680..ff63c14c196 100644
--- a/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/endpoints.rb
+++ b/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/endpoints.rb
@@ -14,112 +14,88 @@ module Endpoints
class DescribeReportCreation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroupsTaggingAPI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComplianceSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroupsTaggingAPI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroupsTaggingAPI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTagKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroupsTaggingAPI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTagValues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroupsTaggingAPI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartReportCreation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroupsTaggingAPI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroupsTaggingAPI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ResourceGroupsTaggingAPI::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/plugins/endpoints.rb b/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/plugins/endpoints.rb
index 8c09f2a47c9..5fc30d068b1 100644
--- a/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/plugins/endpoints.rb
+++ b/gems/aws-sdk-resourcegroupstaggingapi/lib/aws-sdk-resourcegroupstaggingapi/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-resourcegroupstaggingapi/spec/endpoint_provider_spec.rb b/gems/aws-sdk-resourcegroupstaggingapi/spec/endpoint_provider_spec.rb
index bcf16e389b7..5c1c44ea0d1 100644
--- a/gems/aws-sdk-resourcegroupstaggingapi/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-resourcegroupstaggingapi/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ResourceGroupsTaggingAPI
describe EndpointProvider do
subject { Aws::ResourceGroupsTaggingAPI::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging-fips.us-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.us-gov-west-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging-fips.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.us-iso-east-1.c2s.ic.gov"}}
end
@@ -518,7 +518,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -531,7 +531,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -545,7 +545,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -558,7 +558,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -572,7 +572,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -585,7 +585,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tagging-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -599,7 +599,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -612,7 +612,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -653,7 +653,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -666,7 +666,7 @@ module Aws::ResourceGroupsTaggingAPI
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-resources/CHANGELOG.md b/gems/aws-sdk-resources/CHANGELOG.md
index 864f61f5a0e..62e313c20b9 100644
--- a/gems/aws-sdk-resources/CHANGELOG.md
+++ b/gems/aws-sdk-resources/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+3.207.0 (2024-09-18)
+------------------
+
+* Feature - Added a dependency on the new `aws-sdk-directoryservicedata` gem.
+
+3.206.0 (2024-09-12)
+------------------
+
+* Feature - Removed a dependency on the deprecated `aws-sdk-worklink` gem.
+
3.205.0 (2024-09-06)
------------------
diff --git a/gems/aws-sdk-resources/VERSION b/gems/aws-sdk-resources/VERSION
index 5d9c2749905..c30bb503242 100644
--- a/gems/aws-sdk-resources/VERSION
+++ b/gems/aws-sdk-resources/VERSION
@@ -1 +1 @@
-3.205.0
+3.207.0
diff --git a/gems/aws-sdk-resources/aws-sdk-resources.gemspec b/gems/aws-sdk-resources/aws-sdk-resources.gemspec
index 684eb63df89..cb97bd04dfe 100644
--- a/gems/aws-sdk-resources/aws-sdk-resources.gemspec
+++ b/gems/aws-sdk-resources/aws-sdk-resources.gemspec
@@ -130,6 +130,7 @@ Gem::Specification.new do |spec|
spec.add_dependency('aws-sdk-devicefarm', '~> 1')
spec.add_dependency('aws-sdk-directconnect', '~> 1')
spec.add_dependency('aws-sdk-directoryservice', '~> 1')
+ spec.add_dependency('aws-sdk-directoryservicedata', '~> 1')
spec.add_dependency('aws-sdk-docdb', '~> 1')
spec.add_dependency('aws-sdk-docdbelastic', '~> 1')
spec.add_dependency('aws-sdk-drs', '~> 1')
@@ -392,7 +393,6 @@ Gem::Specification.new do |spec|
spec.add_dependency('aws-sdk-wafv2', '~> 1')
spec.add_dependency('aws-sdk-wellarchitected', '~> 1')
spec.add_dependency('aws-sdk-workdocs', '~> 1')
- spec.add_dependency('aws-sdk-worklink', '~> 1')
spec.add_dependency('aws-sdk-workmail', '~> 1')
spec.add_dependency('aws-sdk-workmailmessageflow', '~> 1')
spec.add_dependency('aws-sdk-workspaces', '~> 1')
diff --git a/gems/aws-sdk-resources/lib/aws-sdk-resources.rb b/gems/aws-sdk-resources/lib/aws-sdk-resources.rb
index be9913727ad..ba87fbd3c04 100644
--- a/gems/aws-sdk-resources/lib/aws-sdk-resources.rb
+++ b/gems/aws-sdk-resources/lib/aws-sdk-resources.rb
@@ -120,6 +120,7 @@ module Aws
autoload :DeviceFarm, 'aws-sdk-devicefarm'
autoload :DirectConnect, 'aws-sdk-directconnect'
autoload :DirectoryService, 'aws-sdk-directoryservice'
+ autoload :DirectoryServiceData, 'aws-sdk-directoryservicedata'
autoload :DocDB, 'aws-sdk-docdb'
autoload :DocDBElastic, 'aws-sdk-docdbelastic'
autoload :Drs, 'aws-sdk-drs'
@@ -385,7 +386,6 @@ module Aws
autoload :WAFV2, 'aws-sdk-wafv2'
autoload :WellArchitected, 'aws-sdk-wellarchitected'
autoload :WorkDocs, 'aws-sdk-workdocs'
- autoload :WorkLink, 'aws-sdk-worklink'
autoload :WorkMail, 'aws-sdk-workmail'
autoload :WorkMailMessageFlow, 'aws-sdk-workmailmessageflow'
autoload :WorkSpaces, 'aws-sdk-workspaces'
diff --git a/gems/aws-sdk-robomaker/CHANGELOG.md b/gems/aws-sdk-robomaker/CHANGELOG.md
index 9e220188492..e2b420ed82c 100644
--- a/gems/aws-sdk-robomaker/CHANGELOG.md
+++ b/gems/aws-sdk-robomaker/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.73.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.72.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-robomaker/VERSION b/gems/aws-sdk-robomaker/VERSION
index 0834888f558..5e3a4256626 100644
--- a/gems/aws-sdk-robomaker/VERSION
+++ b/gems/aws-sdk-robomaker/VERSION
@@ -1 +1 @@
-1.72.0
+1.73.0
diff --git a/gems/aws-sdk-robomaker/aws-sdk-robomaker.gemspec b/gems/aws-sdk-robomaker/aws-sdk-robomaker.gemspec
index a2d075b0c12..1b105175c46 100644
--- a/gems/aws-sdk-robomaker/aws-sdk-robomaker.gemspec
+++ b/gems/aws-sdk-robomaker/aws-sdk-robomaker.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-robomaker/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker.rb b/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker.rb
index 4fe7f51549e..e3e681ee2d1 100644
--- a/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker.rb
+++ b/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::RoboMaker
- GEM_VERSION = '1.72.0'
+ GEM_VERSION = '1.73.0'
end
diff --git a/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/client.rb b/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/client.rb
index feb205ccef2..77e5a2f7169 100644
--- a/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/client.rb
+++ b/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/client.rb
@@ -4407,7 +4407,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-robomaker'
- context[:gem_version] = '1.72.0'
+ context[:gem_version] = '1.73.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/endpoints.rb b/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/endpoints.rb
index 8bc31309ad7..17e89ae7e23 100644
--- a/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/endpoints.rb
+++ b/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/endpoints.rb
@@ -14,798 +14,627 @@ module Endpoints
class BatchDeleteWorlds
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDescribeSimulationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelDeploymentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelSimulationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelSimulationJobBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelWorldExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelWorldGenerationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeploymentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRobot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRobotApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRobotApplicationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSimulationApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSimulationApplicationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSimulationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorldExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorldGenerationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorldTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRobot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRobotApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSimulationApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorldTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterRobot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDeploymentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRobot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRobotApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSimulationApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSimulationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSimulationJobBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorld
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorldExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorldGenerationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorldTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorldTemplateBody
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeploymentJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRobotApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRobots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSimulationApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSimulationJobBatches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSimulationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorldExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorldGenerationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorldTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorlds
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterRobot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestartSimulationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSimulationJobBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SyncDeploymentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRobotApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSimulationApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorldTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RoboMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/plugins/endpoints.rb b/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/plugins/endpoints.rb
index 70905a0edf3..51d5c8ea0d5 100644
--- a/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/plugins/endpoints.rb
+++ b/gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-robomaker/spec/endpoint_provider_spec.rb b/gems/aws-sdk-robomaker/spec/endpoint_provider_spec.rb
index c3b7777fcb2..b63dafa2075 100644
--- a/gems/aws-sdk-robomaker/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-robomaker/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::RoboMaker
describe EndpointProvider do
subject { Aws::RoboMaker::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::RoboMaker
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::RoboMaker
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.eu-central-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::RoboMaker
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.eu-west-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.us-east-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker-fips.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::RoboMaker
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::RoboMaker
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::RoboMaker
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::RoboMaker
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.us-gov-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker-fips.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.us-gov-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.us-gov-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -293,7 +293,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -307,7 +307,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -320,7 +320,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.us-iso-east-1.c2s.ic.gov"}}
end
@@ -334,7 +334,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -347,7 +347,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -361,7 +361,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -374,7 +374,7 @@ module Aws::RoboMaker
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://robomaker.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -388,7 +388,7 @@ module Aws::RoboMaker
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::RoboMaker
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -416,7 +416,7 @@ module Aws::RoboMaker
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -429,7 +429,7 @@ module Aws::RoboMaker
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -442,7 +442,7 @@ module Aws::RoboMaker
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-rolesanywhere/CHANGELOG.md b/gems/aws-sdk-rolesanywhere/CHANGELOG.md
index f1c40cfb721..ece86dd4486 100644
--- a/gems/aws-sdk-rolesanywhere/CHANGELOG.md
+++ b/gems/aws-sdk-rolesanywhere/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.26.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.25.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-rolesanywhere/VERSION b/gems/aws-sdk-rolesanywhere/VERSION
index ad2191947f7..5ff8c4f5d2a 100644
--- a/gems/aws-sdk-rolesanywhere/VERSION
+++ b/gems/aws-sdk-rolesanywhere/VERSION
@@ -1 +1 @@
-1.25.0
+1.26.0
diff --git a/gems/aws-sdk-rolesanywhere/aws-sdk-rolesanywhere.gemspec b/gems/aws-sdk-rolesanywhere/aws-sdk-rolesanywhere.gemspec
index 5a5c36809da..f77eac44269 100644
--- a/gems/aws-sdk-rolesanywhere/aws-sdk-rolesanywhere.gemspec
+++ b/gems/aws-sdk-rolesanywhere/aws-sdk-rolesanywhere.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-rolesanywhere/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere.rb b/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere.rb
index acaa07f9183..176d4afdb57 100644
--- a/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere.rb
+++ b/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::RolesAnywhere
- GEM_VERSION = '1.25.0'
+ GEM_VERSION = '1.26.0'
end
diff --git a/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/client.rb b/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/client.rb
index a4cc17be4ed..69bbe649acb 100644
--- a/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/client.rb
+++ b/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/client.rb
@@ -2015,7 +2015,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-rolesanywhere'
- context[:gem_version] = '1.25.0'
+ context[:gem_version] = '1.26.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/endpoints.rb b/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/endpoints.rb
index 2aec36aed3a..ddaa8cd9995 100644
--- a/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/endpoints.rb
+++ b/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/endpoints.rb
@@ -14,420 +14,330 @@ module Endpoints
class CreateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrustAnchor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAttributeMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrustAnchor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableCrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableTrustAnchor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableCrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableTrustAnchor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrustAnchor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportCrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCrls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrustAnchors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAttributeMapping
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutNotificationSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetNotificationSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrustAnchor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::RolesAnywhere::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/plugins/endpoints.rb b/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/plugins/endpoints.rb
index 760570135a0..a37096856b2 100644
--- a/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/plugins/endpoints.rb
+++ b/gems/aws-sdk-rolesanywhere/lib/aws-sdk-rolesanywhere/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-rolesanywhere/spec/endpoint_provider_spec.rb b/gems/aws-sdk-rolesanywhere/spec/endpoint_provider_spec.rb
index e652665ca4d..ebd8e1de845 100644
--- a/gems/aws-sdk-rolesanywhere/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-rolesanywhere/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::RolesAnywhere
describe EndpointProvider do
subject { Aws::RolesAnywhere::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.ap-northeast-3.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.eu-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.eu-west-2.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.eu-west-3.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.me-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.sa-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.us-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.us-east-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.us-west-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.us-west-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere-fips.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere-fips.us-gov-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -447,7 +447,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -461,7 +461,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -474,7 +474,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.us-iso-east-1.c2s.ic.gov"}}
end
@@ -488,7 +488,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -501,7 +501,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -515,7 +515,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -528,7 +528,7 @@ module Aws::RolesAnywhere
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://rolesanywhere.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -542,7 +542,7 @@ module Aws::RolesAnywhere
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -556,7 +556,7 @@ module Aws::RolesAnywhere
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -570,7 +570,7 @@ module Aws::RolesAnywhere
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -583,7 +583,7 @@ module Aws::RolesAnywhere
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -596,7 +596,7 @@ module Aws::RolesAnywhere
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-route53/CHANGELOG.md b/gems/aws-sdk-route53/CHANGELOG.md
index 5b9627216c7..a787d022977 100644
--- a/gems/aws-sdk-route53/CHANGELOG.md
+++ b/gems/aws-sdk-route53/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.99.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.98.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-route53/VERSION b/gems/aws-sdk-route53/VERSION
index 783fda86436..9eb2e1ff9c2 100644
--- a/gems/aws-sdk-route53/VERSION
+++ b/gems/aws-sdk-route53/VERSION
@@ -1 +1 @@
-1.98.0
+1.99.0
diff --git a/gems/aws-sdk-route53/aws-sdk-route53.gemspec b/gems/aws-sdk-route53/aws-sdk-route53.gemspec
index 0d6916915d7..55c60295caf 100644
--- a/gems/aws-sdk-route53/aws-sdk-route53.gemspec
+++ b/gems/aws-sdk-route53/aws-sdk-route53.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-route53/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-route53/lib/aws-sdk-route53.rb b/gems/aws-sdk-route53/lib/aws-sdk-route53.rb
index bdc1b5c1618..661bebf0837 100644
--- a/gems/aws-sdk-route53/lib/aws-sdk-route53.rb
+++ b/gems/aws-sdk-route53/lib/aws-sdk-route53.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Route53
- GEM_VERSION = '1.98.0'
+ GEM_VERSION = '1.99.0'
end
diff --git a/gems/aws-sdk-route53/lib/aws-sdk-route53/client.rb b/gems/aws-sdk-route53/lib/aws-sdk-route53/client.rb
index b13a4e37fe1..d2c21b1748f 100644
--- a/gems/aws-sdk-route53/lib/aws-sdk-route53/client.rb
+++ b/gems/aws-sdk-route53/lib/aws-sdk-route53/client.rb
@@ -6203,7 +6203,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-route53'
- context[:gem_version] = '1.98.0'
+ context[:gem_version] = '1.99.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-route53/lib/aws-sdk-route53/endpoints.rb b/gems/aws-sdk-route53/lib/aws-sdk-route53/endpoints.rb
index 979503aff5f..cfc90d3f318 100644
--- a/gems/aws-sdk-route53/lib/aws-sdk-route53/endpoints.rb
+++ b/gems/aws-sdk-route53/lib/aws-sdk-route53/endpoints.rb
@@ -14,980 +14,770 @@ module Endpoints
class ActivateKeySigningKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateVPCWithHostedZone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ChangeCidrCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ChangeResourceRecordSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ChangeTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCidrCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHealthCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHostedZone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateKeySigningKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQueryLoggingConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReusableDelegationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrafficPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrafficPolicyInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrafficPolicyVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVPCAssociationAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeactivateKeySigningKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCidrCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHealthCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHostedZone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteKeySigningKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueryLoggingConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReusableDelegationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrafficPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrafficPolicyInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVPCAssociationAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableHostedZoneDNSSEC
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateVPCFromHostedZone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableHostedZoneDNSSEC
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChange
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCheckerIpRanges
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDNSSEC
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGeoLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHealthCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHealthCheckCount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHealthCheckLastFailureReason
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHealthCheckStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHostedZone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHostedZoneCount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetHostedZoneLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueryLoggingConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReusableDelegationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReusableDelegationSetLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrafficPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrafficPolicyInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrafficPolicyInstanceCount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCidrBlocks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCidrCollections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCidrLocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGeoLocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHealthChecks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHostedZones
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHostedZonesByName
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHostedZonesByVPC
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueryLoggingConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceRecordSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReusableDelegationSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrafficPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrafficPolicyInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrafficPolicyInstancesByHostedZone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrafficPolicyInstancesByPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrafficPolicyVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVPCAssociationAuthorizations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestDNSAnswer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateHealthCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateHostedZoneComment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrafficPolicyComment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrafficPolicyInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-route53/lib/aws-sdk-route53/plugins/endpoints.rb b/gems/aws-sdk-route53/lib/aws-sdk-route53/plugins/endpoints.rb
index 147dcb3d2fc..a0d32db3908 100644
--- a/gems/aws-sdk-route53/lib/aws-sdk-route53/plugins/endpoints.rb
+++ b/gems/aws-sdk-route53/lib/aws-sdk-route53/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-route53/spec/endpoint_provider_spec.rb b/gems/aws-sdk-route53/spec/endpoint_provider_spec.rb
index 4062f8953a0..0a853328683 100644
--- a/gems/aws-sdk-route53/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-route53/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Route53
describe EndpointProvider do
subject { Aws::Route53::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-east-1"}]}, "url"=>"https://route53.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Route53
end
end
- context 'For region aws-global with FIPS enabled and DualStack disabled' do
+ context "For region aws-global with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-east-1"}]}, "url"=>"https://route53-fips.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Route53
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-fips.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Route53
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-east-1"}]}, "url"=>"https://route53-fips.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Route53
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::Route53
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-east-1"}]}, "url"=>"https://route53.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Route53
end
end
- context 'For region aws-cn-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-cn-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://route53.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Route53
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Route53
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Route53
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::Route53
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://route53.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::Route53
end
end
- context 'For region aws-us-gov-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-us-gov-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://route53.us-gov.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Route53
end
end
- context 'For region aws-us-gov-global with FIPS enabled and DualStack disabled' do
+ context "For region aws-us-gov-global with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://route53.us-gov.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Route53
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-fips.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::Route53
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://route53.us-gov.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Route53
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::Route53
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://route53.us-gov.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Route53
end
end
- context 'For region aws-iso-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-iso-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://route53.c2s.ic.gov"}}
end
@@ -266,7 +266,7 @@ module Aws::Route53
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::Route53
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::Route53
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::Route53
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://route53.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::Route53
end
end
- context 'For region aws-iso-b-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-iso-b-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://route53.sc2s.sgov.gov"}}
end
@@ -334,7 +334,7 @@ module Aws::Route53
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -347,7 +347,7 @@ module Aws::Route53
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -361,7 +361,7 @@ module Aws::Route53
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -374,7 +374,7 @@ module Aws::Route53
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://route53.sc2s.sgov.gov"}}
end
@@ -388,7 +388,7 @@ module Aws::Route53
end
end
- context 'For region eu-isoe-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"eu-isoe-west-1"}]}, "url"=>"https://route53.cloud.adc-e.uk"}}
end
@@ -402,7 +402,7 @@ module Aws::Route53
end
end
- context 'For region us-isof-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isof-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53", "signingRegion"=>"us-isof-south-1"}]}, "url"=>"https://route53.csp.hci.ic.gov"}}
end
@@ -416,7 +416,7 @@ module Aws::Route53
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -430,7 +430,7 @@ module Aws::Route53
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -444,7 +444,7 @@ module Aws::Route53
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -457,7 +457,7 @@ module Aws::Route53
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -470,7 +470,7 @@ module Aws::Route53
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-route53domains/CHANGELOG.md b/gems/aws-sdk-route53domains/CHANGELOG.md
index 66f2df71826..804e389b5d3 100644
--- a/gems/aws-sdk-route53domains/CHANGELOG.md
+++ b/gems/aws-sdk-route53domains/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.66.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.65.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-route53domains/VERSION b/gems/aws-sdk-route53domains/VERSION
index 902c74186fb..b6148bc0a75 100644
--- a/gems/aws-sdk-route53domains/VERSION
+++ b/gems/aws-sdk-route53domains/VERSION
@@ -1 +1 @@
-1.65.0
+1.66.0
diff --git a/gems/aws-sdk-route53domains/aws-sdk-route53domains.gemspec b/gems/aws-sdk-route53domains/aws-sdk-route53domains.gemspec
index fe9ffedaade..00c086c465c 100644
--- a/gems/aws-sdk-route53domains/aws-sdk-route53domains.gemspec
+++ b/gems/aws-sdk-route53domains/aws-sdk-route53domains.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-route53domains/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains.rb b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains.rb
index 49878d744d2..ac241b7e7e2 100644
--- a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains.rb
+++ b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Route53Domains
- GEM_VERSION = '1.65.0'
+ GEM_VERSION = '1.66.0'
end
diff --git a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client.rb b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client.rb
index 59d79e26a4e..8fe092907c6 100644
--- a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client.rb
+++ b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/client.rb
@@ -2827,7 +2827,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-route53domains'
- context[:gem_version] = '1.65.0'
+ context[:gem_version] = '1.66.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/endpoints.rb b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/endpoints.rb
index 67eb7f2f3f2..92da0e6dafb 100644
--- a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/endpoints.rb
+++ b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/endpoints.rb
@@ -14,476 +14,374 @@ module Endpoints
class AcceptDomainTransferFromAnotherAwsAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateDelegationSignerToDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelDomainTransferToAnotherAwsAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckDomainAvailability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckDomainTransferability
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTagsForDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableDomainAutoRenew
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableDomainTransferLock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateDelegationSignerFromDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableDomainAutoRenew
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableDomainTransferLock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContactReachabilityStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainDetail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainSuggestions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOperationDetail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPrices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PushDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectDomainTransferFromAnotherAwsAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RenewDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResendContactReachabilityEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResendOperationAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetrieveDomainAuthCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TransferDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TransferDomainToAnotherAwsAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainContactPrivacy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomainNameservers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTagsForDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ViewBilling
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Domains::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/plugins/endpoints.rb b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/plugins/endpoints.rb
index 588481228d0..47a25966d92 100644
--- a/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/plugins/endpoints.rb
+++ b/gems/aws-sdk-route53domains/lib/aws-sdk-route53domains/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-route53domains/spec/endpoint_provider_spec.rb b/gems/aws-sdk-route53domains/spec/endpoint_provider_spec.rb
index 68cab5a38c8..e7e7c4dba8f 100644
--- a/gems/aws-sdk-route53domains/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-route53domains/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Route53Domains
describe EndpointProvider do
subject { Aws::Route53Domains::EndpointProvider.new }
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::Route53Domains
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Route53Domains
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Route53Domains
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Route53Domains
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Route53Domains
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53domains.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Route53Domains
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Route53Domains
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Route53Domains
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Route53Domains
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Route53Domains
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-route53profiles/CHANGELOG.md b/gems/aws-sdk-route53profiles/CHANGELOG.md
index e5a1dfd0133..5b4597d9f83 100644
--- a/gems/aws-sdk-route53profiles/CHANGELOG.md
+++ b/gems/aws-sdk-route53profiles/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.10.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.9.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-route53profiles/VERSION b/gems/aws-sdk-route53profiles/VERSION
index f8e233b2733..81c871de46b 100644
--- a/gems/aws-sdk-route53profiles/VERSION
+++ b/gems/aws-sdk-route53profiles/VERSION
@@ -1 +1 @@
-1.9.0
+1.10.0
diff --git a/gems/aws-sdk-route53profiles/aws-sdk-route53profiles.gemspec b/gems/aws-sdk-route53profiles/aws-sdk-route53profiles.gemspec
index dcbf3ad2a5c..94f47ea6b01 100644
--- a/gems/aws-sdk-route53profiles/aws-sdk-route53profiles.gemspec
+++ b/gems/aws-sdk-route53profiles/aws-sdk-route53profiles.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-route53profiles/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles.rb b/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles.rb
index 1649f407c07..35a9c6f28b6 100644
--- a/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles.rb
+++ b/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Route53Profiles
- GEM_VERSION = '1.9.0'
+ GEM_VERSION = '1.10.0'
end
diff --git a/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb b/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb
index a28231ac1ef..f46ffa25881 100644
--- a/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb
+++ b/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/client.rb
@@ -1195,7 +1195,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-route53profiles'
- context[:gem_version] = '1.9.0'
+ context[:gem_version] = '1.10.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/endpoints.rb b/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/endpoints.rb
index be8603c9010..aff141c4cd3 100644
--- a/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/endpoints.rb
+++ b/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/endpoints.rb
@@ -14,224 +14,176 @@ module Endpoints
class AssociateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateResourceToProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateResourceFromProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProfileAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProfileResourceAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfileAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfileResourceAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProfileResourceAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Profiles::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/plugins/endpoints.rb b/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/plugins/endpoints.rb
index 55736b5829f..49bcc358961 100644
--- a/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/plugins/endpoints.rb
+++ b/gems/aws-sdk-route53profiles/lib/aws-sdk-route53profiles/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-route53profiles/spec/endpoint_provider_spec.rb b/gems/aws-sdk-route53profiles/spec/endpoint_provider_spec.rb
index 759098775b4..690f4bf6e68 100644
--- a/gems/aws-sdk-route53profiles/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-route53profiles/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Route53Profiles
describe EndpointProvider do
subject { Aws::Route53Profiles::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Route53Profiles
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Route53Profiles
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Route53Profiles
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Route53Profiles
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Route53Profiles
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53profiles.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Route53Profiles
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Route53Profiles
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Route53Profiles
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Route53Profiles
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Route53Profiles
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-route53recoverycluster/CHANGELOG.md b/gems/aws-sdk-route53recoverycluster/CHANGELOG.md
index 0547975f632..427a760effa 100644
--- a/gems/aws-sdk-route53recoverycluster/CHANGELOG.md
+++ b/gems/aws-sdk-route53recoverycluster/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.34.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.33.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-route53recoverycluster/VERSION b/gems/aws-sdk-route53recoverycluster/VERSION
index 7aa332e4163..2b17ffd5042 100644
--- a/gems/aws-sdk-route53recoverycluster/VERSION
+++ b/gems/aws-sdk-route53recoverycluster/VERSION
@@ -1 +1 @@
-1.33.0
+1.34.0
diff --git a/gems/aws-sdk-route53recoverycluster/aws-sdk-route53recoverycluster.gemspec b/gems/aws-sdk-route53recoverycluster/aws-sdk-route53recoverycluster.gemspec
index 1b6aaed6213..0840c95d3f4 100644
--- a/gems/aws-sdk-route53recoverycluster/aws-sdk-route53recoverycluster.gemspec
+++ b/gems/aws-sdk-route53recoverycluster/aws-sdk-route53recoverycluster.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-route53recoverycluster/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster.rb b/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster.rb
index bb6c1078036..cd69bf3a08f 100644
--- a/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster.rb
+++ b/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Route53RecoveryCluster
- GEM_VERSION = '1.33.0'
+ GEM_VERSION = '1.34.0'
end
diff --git a/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/client.rb b/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/client.rb
index 090c09b4d60..1e99b6d5dcd 100644
--- a/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/client.rb
+++ b/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/client.rb
@@ -778,7 +778,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-route53recoverycluster'
- context[:gem_version] = '1.33.0'
+ context[:gem_version] = '1.34.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/endpoints.rb b/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/endpoints.rb
index 134a9f5ccb1..1e42c0b2968 100644
--- a/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/endpoints.rb
+++ b/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/endpoints.rb
@@ -14,56 +14,44 @@ module Endpoints
class GetRoutingControlState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryCluster::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoutingControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryCluster::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoutingControlState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryCluster::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoutingControlStates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryCluster::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/plugins/endpoints.rb b/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/plugins/endpoints.rb
index 2970c69a2e4..6336e03efd1 100644
--- a/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/plugins/endpoints.rb
+++ b/gems/aws-sdk-route53recoverycluster/lib/aws-sdk-route53recoverycluster/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-route53recoverycluster/spec/endpoint_provider_spec.rb b/gems/aws-sdk-route53recoverycluster/spec/endpoint_provider_spec.rb
index e3e3b9a39d0..13bb2f2b4bd 100644
--- a/gems/aws-sdk-route53recoverycluster/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-route53recoverycluster/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Route53RecoveryCluster
describe EndpointProvider do
subject { Aws::Route53RecoveryCluster::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-cluster.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Route53RecoveryCluster
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-route53recoverycontrolconfig/CHANGELOG.md b/gems/aws-sdk-route53recoverycontrolconfig/CHANGELOG.md
index c424a51a327..b8109a68292 100644
--- a/gems/aws-sdk-route53recoverycontrolconfig/CHANGELOG.md
+++ b/gems/aws-sdk-route53recoverycontrolconfig/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.33.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.32.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-route53recoverycontrolconfig/VERSION b/gems/aws-sdk-route53recoverycontrolconfig/VERSION
index 359c41089a4..7aa332e4163 100644
--- a/gems/aws-sdk-route53recoverycontrolconfig/VERSION
+++ b/gems/aws-sdk-route53recoverycontrolconfig/VERSION
@@ -1 +1 @@
-1.32.0
+1.33.0
diff --git a/gems/aws-sdk-route53recoverycontrolconfig/aws-sdk-route53recoverycontrolconfig.gemspec b/gems/aws-sdk-route53recoverycontrolconfig/aws-sdk-route53recoverycontrolconfig.gemspec
index 443ed7f6fcd..590a868558c 100644
--- a/gems/aws-sdk-route53recoverycontrolconfig/aws-sdk-route53recoverycontrolconfig.gemspec
+++ b/gems/aws-sdk-route53recoverycontrolconfig/aws-sdk-route53recoverycontrolconfig.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-route53recoverycontrolconfig/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig.rb b/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig.rb
index c4a37e52ea1..0f79382a2b6 100644
--- a/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig.rb
+++ b/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Route53RecoveryControlConfig
- GEM_VERSION = '1.32.0'
+ GEM_VERSION = '1.33.0'
end
diff --git a/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/client.rb b/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/client.rb
index 18382ff16bc..e79c0189472 100644
--- a/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/client.rb
+++ b/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/client.rb
@@ -1489,7 +1489,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-route53recoverycontrolconfig'
- context[:gem_version] = '1.32.0'
+ context[:gem_version] = '1.33.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/endpoints.rb b/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/endpoints.rb
index 6b632f9b363..37bec750e0a 100644
--- a/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/endpoints.rb
+++ b/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/endpoints.rb
@@ -14,336 +14,264 @@ module Endpoints
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateControlPanel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRoutingControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSafetyRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteControlPanel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRoutingControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSafetyRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeControlPanel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRoutingControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSafetyRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociatedRoute53HealthChecks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListControlPanels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRoutingControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSafetyRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateControlPanel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRoutingControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSafetyRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryControlConfig::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/plugins/endpoints.rb b/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/plugins/endpoints.rb
index 0efd42a4f81..38708796cd4 100644
--- a/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/plugins/endpoints.rb
+++ b/gems/aws-sdk-route53recoverycontrolconfig/lib/aws-sdk-route53recoverycontrolconfig/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-route53recoverycontrolconfig/spec/endpoint_provider_spec.rb b/gems/aws-sdk-route53recoverycontrolconfig/spec/endpoint_provider_spec.rb
index 4f2352b0fa4..4081408ed53 100644
--- a/gems/aws-sdk-route53recoverycontrolconfig/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-route53recoverycontrolconfig/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Route53RecoveryControlConfig
describe EndpointProvider do
subject { Aws::Route53RecoveryControlConfig::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"route53-recovery-control-config", "signingRegion"=>"us-west-2"}]}, "url"=>"https://route53-recovery-control-config.us-west-2.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-control-config.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::Route53RecoveryControlConfig
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-route53recoveryreadiness/CHANGELOG.md b/gems/aws-sdk-route53recoveryreadiness/CHANGELOG.md
index b35f9a39d9e..9e776a6e8fc 100644
--- a/gems/aws-sdk-route53recoveryreadiness/CHANGELOG.md
+++ b/gems/aws-sdk-route53recoveryreadiness/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.31.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.30.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-route53recoveryreadiness/VERSION b/gems/aws-sdk-route53recoveryreadiness/VERSION
index 034552a83ee..34aae156b19 100644
--- a/gems/aws-sdk-route53recoveryreadiness/VERSION
+++ b/gems/aws-sdk-route53recoveryreadiness/VERSION
@@ -1 +1 @@
-1.30.0
+1.31.0
diff --git a/gems/aws-sdk-route53recoveryreadiness/aws-sdk-route53recoveryreadiness.gemspec b/gems/aws-sdk-route53recoveryreadiness/aws-sdk-route53recoveryreadiness.gemspec
index 6468f4bde0e..97fb661a343 100644
--- a/gems/aws-sdk-route53recoveryreadiness/aws-sdk-route53recoveryreadiness.gemspec
+++ b/gems/aws-sdk-route53recoveryreadiness/aws-sdk-route53recoveryreadiness.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-route53recoveryreadiness/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness.rb b/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness.rb
index c90e547d27e..1dcc48ae4f2 100644
--- a/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness.rb
+++ b/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Route53RecoveryReadiness
- GEM_VERSION = '1.30.0'
+ GEM_VERSION = '1.31.0'
end
diff --git a/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/client.rb b/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/client.rb
index ac2f5c20ea7..52d0238b770 100644
--- a/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/client.rb
+++ b/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/client.rb
@@ -1720,7 +1720,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-route53recoveryreadiness'
- context[:gem_version] = '1.30.0'
+ context[:gem_version] = '1.31.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/endpoints.rb b/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/endpoints.rb
index 4c6248bd510..e2b6f3c3a19 100644
--- a/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/endpoints.rb
+++ b/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/endpoints.rb
@@ -14,448 +14,352 @@ module Endpoints
class CreateCell
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCrossAccountAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReadinessCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRecoveryGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResourceSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCell
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCrossAccountAuthorization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReadinessCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRecoveryGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourceSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetArchitectureRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCell
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCellReadinessSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReadinessCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReadinessCheckResourceStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReadinessCheckStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecoveryGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecoveryGroupReadinessSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourceSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCells
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCrossAccountAuthorizations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReadinessChecks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecoveryGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCell
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReadinessCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRecoveryGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResourceSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53RecoveryReadiness::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/plugins/endpoints.rb b/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/plugins/endpoints.rb
index caef0a9407f..791a3fd1ed2 100644
--- a/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/plugins/endpoints.rb
+++ b/gems/aws-sdk-route53recoveryreadiness/lib/aws-sdk-route53recoveryreadiness/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-route53recoveryreadiness/spec/endpoint_provider_spec.rb b/gems/aws-sdk-route53recoveryreadiness/spec/endpoint_provider_spec.rb
index 1e5da440410..c8d91d5ebe3 100644
--- a/gems/aws-sdk-route53recoveryreadiness/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-route53recoveryreadiness/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Route53RecoveryReadiness
describe EndpointProvider do
subject { Aws::Route53RecoveryReadiness::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53-recovery-readiness.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Route53RecoveryReadiness
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-route53resolver/CHANGELOG.md b/gems/aws-sdk-route53resolver/CHANGELOG.md
index 1159c62da20..23d8cf34dad 100644
--- a/gems/aws-sdk-route53resolver/CHANGELOG.md
+++ b/gems/aws-sdk-route53resolver/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.67.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.66.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-route53resolver/VERSION b/gems/aws-sdk-route53resolver/VERSION
index b6148bc0a75..65ee0959841 100644
--- a/gems/aws-sdk-route53resolver/VERSION
+++ b/gems/aws-sdk-route53resolver/VERSION
@@ -1 +1 @@
-1.66.0
+1.67.0
diff --git a/gems/aws-sdk-route53resolver/aws-sdk-route53resolver.gemspec b/gems/aws-sdk-route53resolver/aws-sdk-route53resolver.gemspec
index ce55284ee55..b694f4fec4c 100644
--- a/gems/aws-sdk-route53resolver/aws-sdk-route53resolver.gemspec
+++ b/gems/aws-sdk-route53resolver/aws-sdk-route53resolver.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-route53resolver/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver.rb b/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver.rb
index 34206e54a68..83ad87dfb54 100644
--- a/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver.rb
+++ b/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Route53Resolver
- GEM_VERSION = '1.66.0'
+ GEM_VERSION = '1.67.0'
end
diff --git a/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb b/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb
index bcbe5f90079..2c48f145504 100644
--- a/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb
+++ b/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/client.rb
@@ -4785,7 +4785,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-route53resolver'
- context[:gem_version] = '1.66.0'
+ context[:gem_version] = '1.67.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/endpoints.rb b/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/endpoints.rb
index 88c3ec99a6a..89623581e93 100644
--- a/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/endpoints.rb
+++ b/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/endpoints.rb
@@ -14,952 +14,748 @@ module Endpoints
class AssociateFirewallRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateResolverEndpointIpAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateResolverQueryLogConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateResolverRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFirewallDomainList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFirewallRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFirewallRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOutpostResolver
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResolverEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResolverQueryLogConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResolverRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFirewallDomainList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFirewallRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFirewallRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOutpostResolver
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResolverEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResolverQueryLogConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResolverRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFirewallRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateResolverEndpointIpAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateResolverQueryLogConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateResolverRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFirewallConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFirewallDomainList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFirewallRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFirewallRuleGroupAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFirewallRuleGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOutpostResolver
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResolverConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResolverDnssecConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResolverEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResolverQueryLogConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResolverQueryLogConfigAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResolverQueryLogConfigPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResolverRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResolverRuleAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResolverRulePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportFirewallDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFirewallConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFirewallDomainLists
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFirewallDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFirewallRuleGroupAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFirewallRuleGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFirewallRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOutpostResolvers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResolverConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResolverDnssecConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResolverEndpointIpAddresses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResolverEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResolverQueryLogConfigAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResolverQueryLogConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResolverRuleAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResolverRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutFirewallRuleGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResolverQueryLogConfigPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResolverRulePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFirewallConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFirewallDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFirewallRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFirewallRuleGroupAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOutpostResolver
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResolverConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResolverDnssecConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResolverEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResolverRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Route53Resolver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/plugins/endpoints.rb b/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/plugins/endpoints.rb
index 7b6a8f21afa..5d1ba5a47bb 100644
--- a/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/plugins/endpoints.rb
+++ b/gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-route53resolver/spec/endpoint_provider_spec.rb b/gems/aws-sdk-route53resolver/spec/endpoint_provider_spec.rb
index 576f17c5ad7..880bbd13fb3 100644
--- a/gems/aws-sdk-route53resolver/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-route53resolver/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Route53Resolver
describe EndpointProvider do
subject { Aws::Route53Resolver::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Route53Resolver
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Route53Resolver
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Route53Resolver
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Route53Resolver
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Route53Resolver
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Route53Resolver
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Route53Resolver
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Route53Resolver
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Route53Resolver
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Route53Resolver
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Route53Resolver
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Route53Resolver
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Route53Resolver
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Route53Resolver
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Route53Resolver
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Route53Resolver
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Route53Resolver
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver-fips.us-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::Route53Resolver
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::Route53Resolver
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::Route53Resolver
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::Route53Resolver
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Route53Resolver
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver-fips.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-iso-east-1.c2s.ic.gov"}}
end
@@ -532,7 +532,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -545,7 +545,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -559,7 +559,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -572,7 +572,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -585,7 +585,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -599,7 +599,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -612,7 +612,7 @@ module Aws::Route53Resolver
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://route53resolver.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -626,7 +626,7 @@ module Aws::Route53Resolver
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::Route53Resolver
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::Route53Resolver
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -667,7 +667,7 @@ module Aws::Route53Resolver
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -680,7 +680,7 @@ module Aws::Route53Resolver
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-s3/CHANGELOG.md b/gems/aws-sdk-s3/CHANGELOG.md
index fff25ef8a96..e70d0caa26e 100644
--- a/gems/aws-sdk-s3/CHANGELOG.md
+++ b/gems/aws-sdk-s3/CHANGELOG.md
@@ -3,6 +3,16 @@ Unreleased Changes
* Feature - Default to using `CRC32` checksum validation for S3 uploads and downloads.
+1.163.0 (2024-09-18)
+------------------
+
+* Feature - Added SSE-KMS support for directory buckets.
+
+1.162.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.161.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-s3/VERSION b/gems/aws-sdk-s3/VERSION
index 46f7de39346..616c87e637a 100644
--- a/gems/aws-sdk-s3/VERSION
+++ b/gems/aws-sdk-s3/VERSION
@@ -1 +1 @@
-1.161.0
+1.163.0
diff --git a/gems/aws-sdk-s3/aws-sdk-s3.gemspec b/gems/aws-sdk-s3/aws-sdk-s3.gemspec
index 5eb31859301..4e5a67c627b 100644
--- a/gems/aws-sdk-s3/aws-sdk-s3.gemspec
+++ b/gems/aws-sdk-s3/aws-sdk-s3.gemspec
@@ -27,7 +27,7 @@ Gem::Specification.new do |spec|
spec.add_dependency('aws-sdk-kms', '~> 1')
spec.add_dependency('aws-sigv4', '~> 1.5')
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.required_ruby_version = '>= 2.5'
end
diff --git a/gems/aws-sdk-s3/features/client/step_definitions.rb b/gems/aws-sdk-s3/features/client/step_definitions.rb
index d74da36de0c..309b84a2657 100644
--- a/gems/aws-sdk-s3/features/client/step_definitions.rb
+++ b/gems/aws-sdk-s3/features/client/step_definitions.rb
@@ -464,10 +464,6 @@ def create_bucket(options = {})
end
When(/I have access to an MRAP bucket and CRT/) do
- unless Aws::Sigv4::Signer.use_crt?
- pending("CRT is not available")
- end
-
begin
@client.head_bucket(bucket: 'ruby-sdk-integtest-mrap-bucket')
rescue
diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3.rb
index e7bbac1eb20..beb35ed6537 100644
--- a/gems/aws-sdk-s3/lib/aws-sdk-s3.rb
+++ b/gems/aws-sdk-s3/lib/aws-sdk-s3.rb
@@ -73,6 +73,6 @@
# @!group service
module Aws::S3
- GEM_VERSION = '1.161.0'
+ GEM_VERSION = '1.163.0'
end
diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3/bucket.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3/bucket.rb
index c20336de797..608d5108707 100644
--- a/gems/aws-sdk-s3/lib/aws-sdk-s3/bucket.rb
+++ b/gems/aws-sdk-s3/lib/aws-sdk-s3/bucket.rb
@@ -773,25 +773,65 @@ def delete_objects(options = {})
# object in Amazon S3 (for example, `AES256`, `aws:kms`,
# `aws:kms:dsse`).
#
- # General purpose buckets - You have four mutually exclusive
- # options to protect data using server-side encryption in Amazon S3,
- # depending on how you choose to manage the encryption keys.
- # Specifically, the encryption key options are Amazon S3 managed keys
- # (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and
- # customer-provided keys (SSE-C). Amazon S3 encrypts data with
- # server-side encryption by using Amazon S3 managed keys (SSE-S3) by
- # default. You can optionally tell Amazon S3 to encrypt data at rest by
- # using server-side encryption with other key options. For more
- # information, see [Using Server-Side Encryption][1] in the *Amazon S3
- # User Guide*.
- #
- # Directory buckets - For directory buckets, only the
- # server-side encryption with Amazon S3 managed keys (SSE-S3) (`AES256`)
- # value is supported.
+ # * General purpose buckets - You have four mutually exclusive
+ # options to protect data using server-side encryption in Amazon S3,
+ # depending on how you choose to manage the encryption keys.
+ # Specifically, the encryption key options are Amazon S3 managed keys
+ # (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and
+ # customer-provided keys (SSE-C). Amazon S3 encrypts data with
+ # server-side encryption by using Amazon S3 managed keys (SSE-S3) by
+ # default. You can optionally tell Amazon S3 to encrypt data at rest
+ # by using server-side encryption with other key options. For more
+ # information, see [Using Server-Side Encryption][1] in the *Amazon S3
+ # User Guide*.
+ #
+ # * Directory buckets - For directory buckets, there are only
+ # two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). We
+ # recommend that the bucket's default encryption uses the desired
+ # encryption configuration and you don't override the bucket default
+ # encryption in your `CreateSession` requests or `PUT` object
+ # requests. Then, new objects are automatically encrypted with the
+ # desired encryption settings. For more information, see [Protecting
+ # data with server-side encryption][2] in the *Amazon S3 User Guide*.
+ # For more information about the encryption overriding behaviors in
+ # directory buckets, see [Specifying server-side encryption with KMS
+ # for new object uploads][3].
+ #
+ # In the Zonal endpoint API calls (except [CopyObject][4] and
+ # [UploadPartCopy][5]) using the REST API, the encryption request
+ # headers must match the encryption settings that are specified in the
+ # `CreateSession` request. You can't override the values of the
+ # encryption settings (`x-amz-server-side-encryption`,
+ # `x-amz-server-side-encryption-aws-kms-key-id`,
+ # `x-amz-server-side-encryption-context`, and
+ # `x-amz-server-side-encryption-bucket-key-enabled`) that are
+ # specified in the `CreateSession` request. You don't need to
+ # explicitly specify these encryption settings values in Zonal
+ # endpoint API calls, and Amazon S3 will use the encryption settings
+ # values from the `CreateSession` request to protect new objects in
+ # the directory bucket.
+ #
+ # When you use the CLI or the Amazon Web Services SDKs, for
+ # `CreateSession`, the session token refreshes automatically to avoid
+ # service interruptions when a session expires. The CLI or the Amazon
+ # Web Services SDKs use the bucket's default encryption configuration
+ # for the `CreateSession` request. It's not supported to override the
+ # encryption settings values in the `CreateSession` request. So in the
+ # Zonal endpoint API calls (except [CopyObject][4] and
+ # [UploadPartCopy][5]), the encryption request headers must match the
+ # default encryption configuration of the directory bucket.
+ #
+ #
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
# @option options [String] :storage_class
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
# created objects. The STANDARD storage class provides high durability
@@ -865,44 +905,81 @@ def delete_objects(options = {})
#
#
# @option options [String] :ssekms_key_id
- # If `x-amz-server-side-encryption` has a valid value of `aws:kms` or
- # `aws:kms:dsse`, this header specifies the ID (Key ID, Key ARN, or Key
- # Alias) of the Key Management Service (KMS) symmetric encryption
- # customer managed key that was used for the object. If you specify
- # `x-amz-server-side-encryption:aws:kms` or
- # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide`
- # x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
- # Amazon Web Services managed key (`aws/s3`) to protect the data. If the
- # KMS key does not exist in the same account that's issuing the
- # command, you must use the full ARN and not just the ID.
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. If the KMS key doesn't exist in the same account
+ # that's issuing the command, you must use the full Key ARN not the Key
+ # ID.
+ #
+ # **General purpose buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`, this
+ # header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key
+ # to use. If you specify `x-amz-server-side-encryption:aws:kms` or
+ # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide
+ # `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
+ # Amazon Web Services managed key (`aws/s3`) to protect the data.
+ #
+ # **Directory buckets** - If you specify `x-amz-server-side-encryption`
+ # with `aws:kms`, you must specify the `
+ # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
+ # ID or Key ARN) of the KMS symmetric encryption customer managed key to
+ # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
+ # key ID or key ARN. The key alias format of the KMS key isn't
+ # supported. Your SSE-KMS configuration can only support 1 [customer
+ # managed key][1] per directory bucket for the lifetime of the bucket.
+ # [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
+ # @option options [String] :ssekms_encryption_context
+ # Specifies the Amazon Web Services KMS Encryption Context as an
+ # additional encryption context to use for object encryption. The value
+ # of this header is a Base64-encoded string of a UTF-8 encoded JSON,
+ # which contains the encryption context as key-value pairs. This value
+ # is stored as object metadata and automatically gets passed on to
+ # Amazon Web Services KMS for future `GetObject` operations on this
+ # object.
#
- # This functionality is not supported for directory buckets.
+ # **General purpose buckets** - This value must be explicitly added
+ # during `CopyObject` operations if you want an additional encryption
+ # context for your object. For more information, see [Encryption
+ # context][1] in the *Amazon S3 User Guide*.
#
- #
- # @option options [String] :ssekms_encryption_context
- # Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded UTF-8
- # string holding JSON with the encryption context key-value pairs. This
- # value is stored as object metadata and automatically gets passed on to
- # Amazon Web Services KMS for future `GetObject` or `CopyObject`
- # operations on this object. This value must be explicitly added during
- # `CopyObject` operations.
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default encryption
+ # context - the bucket Amazon Resource Name (ARN). An additional
+ # encryption context value is not supported.
#
- # This functionality is not supported for directory buckets.
#
- #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context
# @option options [Boolean] :bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
# encryption with server-side encryption using Key Management Service
- # (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
- # to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # (KMS) keys (SSE-KMS).
#
- # Specifying this header with a PUT action doesn’t affect bucket-level
- # settings for S3 Bucket Key.
+ # **General purpose buckets** - Setting this header to `true` causes
+ # Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # Also, specifying this header with a PUT action doesn't affect
+ # bucket-level settings for S3 Bucket Key.
#
- # This functionality is not supported for directory buckets.
+ # **Directory buckets** - S3 Bucket Keys are always enabled for `GET`
+ # and `PUT` operations in a directory bucket and can’t be disabled. S3
+ # Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects
+ # from general purpose buckets to directory buckets, from directory
+ # buckets to general purpose buckets, or between directory buckets,
+ # through [CopyObject][1], [UploadPartCopy][2], [the Copy operation in
+ # Batch Operations][3], or [the import jobs][4]. In this case, Amazon S3
+ # makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
#
- #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
# @option options [String] :request_payer
# Confirms that the requester knows that they will be charged for the
# request. Bucket owners need not specify this parameter in their
diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb
index a264cb97964..a21b9d4aff2 100644
--- a/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb
+++ b/gems/aws-sdk-s3/lib/aws-sdk-s3/client.rb
@@ -821,9 +821,15 @@ def abort_multipart_upload(params = {}, options = {})
# [Multipart Upload and Permissions][6] in the *Amazon S3 User
# Guide*.
#
+ # If you provide an [additional checksum value][7] in your
+ # `MultipartUpload` requests and the object is encrypted with Key
+ # Management Service, you must have permission to use the
+ # `kms:Decrypt` action for the `CompleteMultipartUpload` request to
+ # succeed.
+ #
# * **Directory bucket permissions** - To grant access to this API
# operation on a directory bucket, we recommend that you use the [
- # `CreateSession` ][7] API operation for session-based
+ # `CreateSession` ][8] API operation for session-based
# authorization. Specifically, you grant the
# `s3express:CreateSession` permission to the directory bucket in a
# bucket policy or an IAM identity-based policy. Then, you make the
@@ -834,13 +840,11 @@ def abort_multipart_upload(params = {}, options = {})
# token for use. Amazon Web Services CLI or SDKs create session and
# refresh the session token automatically to avoid service
# interruptions when a session expires. For more information about
- # authorization, see [ `CreateSession` ][7].
+ # authorization, see [ `CreateSession` ][8].
#
- # * If you provide an [additional checksum value][8] in your
- # `MultipartUpload` requests and the object is encrypted with Key
- # Management Service, you must have permission to use the
- # `kms:Decrypt` action for the `CompleteMultipartUpload` request to
- # succeed.
+ # If the object is encrypted with SSE-KMS, you must also have the
+ # `kms:GenerateDataKey` and `kms:Decrypt` permissions in IAM
+ # identity-based policies and KMS key policies for the KMS key.
#
# Special errors
# : * Error Code: `EntityTooSmall`
@@ -899,8 +903,8 @@ def abort_multipart_upload(params = {}, options = {})
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/uploadobjusingmpu.html
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/dev/mpuAndPermissions.html
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
- # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_Checksum.html
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
@@ -1286,6 +1290,10 @@ def complete_multipart_upload(params = {}, options = {})
# destination. The `s3express:SessionMode` condition key can't be
# set to `ReadOnly` on the copy destination bucket.
#
+ # If the object is encrypted with SSE-KMS, you must also have the
+ # `kms:GenerateDataKey` and `kms:Decrypt` permissions in IAM
+ # identity-based policies and KMS key policies for the KMS key.
+ #
# For example policies, see [Example bucket policies for S3 Express
# One Zone][6] and [Amazon Web Services Identity and Access
# Management (IAM) identity-based policies for S3 Express One
@@ -1732,9 +1740,8 @@ def complete_multipart_upload(params = {}, options = {})
#
# @option params [String] :server_side_encryption
# The server-side encryption algorithm used when storing this object in
- # Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
- # Unrecognized or unsupported values won’t write a destination object
- # and will receive a `400 Bad Request` response.
+ # Amazon S3. Unrecognized or unsupported values won’t write a
+ # destination object and will receive a `400 Bad Request` response.
#
# Amazon S3 automatically encrypts all new objects that are copied to an
# S3 bucket. When copying an object, if you don't specify encryption
@@ -1742,35 +1749,72 @@ def complete_multipart_upload(params = {}, options = {})
# object is set to the default encryption configuration of the
# destination bucket. By default, all buckets have a base level of
# encryption configuration that uses server-side encryption with Amazon
- # S3 managed keys (SSE-S3). If the destination bucket has a default
- # encryption configuration that uses server-side encryption with Key
- # Management Service (KMS) keys (SSE-KMS), dual-layer server-side
- # encryption with Amazon Web Services KMS keys (DSSE-KMS), or
- # server-side encryption with customer-provided encryption keys (SSE-C),
- # Amazon S3 uses the corresponding KMS key, or a customer-provided key
- # to encrypt the target object copy.
- #
- # When you perform a `CopyObject` operation, if you want to use a
- # different type of encryption setting for the target object, you can
- # specify appropriate encryption-related headers to encrypt the target
- # object with an Amazon S3 managed key, a KMS key, or a
- # customer-provided key. If the encryption setting in your request is
- # different from the default encryption configuration of the destination
- # bucket, the encryption setting in your request takes precedence.
+ # S3 managed keys (SSE-S3). If the destination bucket has a different
+ # default encryption configuration, Amazon S3 uses the corresponding
+ # encryption key to encrypt the target object copy.
#
# With server-side encryption, Amazon S3 encrypts your data as it writes
# your data to disks in its data centers and decrypts the data when you
# access it. For more information about server-side encryption, see
# [Using Server-Side Encryption][1] in the *Amazon S3 User Guide*.
#
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
+ # General purpose buckets
+ #
+ # * For general purpose buckets, there are the following supported
+ # options for server-side encryption: server-side encryption with Key
+ # Management Service (KMS) keys (SSE-KMS), dual-layer server-side
+ # encryption with Amazon Web Services KMS keys (DSSE-KMS), and
+ # server-side encryption with customer-provided encryption keys
+ # (SSE-C). Amazon S3 uses the corresponding KMS key, or a
+ # customer-provided key to encrypt the target object copy.
+ #
+ # * When you perform a `CopyObject` operation, if you want to use a
+ # different type of encryption setting for the target object, you can
+ # specify appropriate encryption-related headers to encrypt the target
+ # object with an Amazon S3 managed key, a KMS key, or a
+ # customer-provided key. If the encryption setting in your request is
+ # different from the default encryption configuration of the
+ # destination bucket, the encryption setting in your request takes
+ # precedence.
+ #
+ # Directory buckets
+ #
+ # * For directory buckets, there are only two supported options for
+ # server-side encryption: server-side encryption with Amazon S3
+ # managed keys (SSE-S3) (`AES256`) and server-side encryption with KMS
+ # keys (SSE-KMS) (`aws:kms`). We recommend that the bucket's default
+ # encryption uses the desired encryption configuration and you don't
+ # override the bucket default encryption in your `CreateSession`
+ # requests or `PUT` object requests. Then, new objects are
+ # automatically encrypted with the desired encryption settings. For
+ # more information, see [Protecting data with server-side
+ # encryption][2] in the *Amazon S3 User Guide*. For more information
+ # about the encryption overriding behaviors in directory buckets, see
+ # [Specifying server-side encryption with KMS for new object
+ # uploads][3].
+ #
+ # * To encrypt new object copies to a directory bucket with SSE-KMS, we
+ # recommend you specify SSE-KMS as the directory bucket's default
+ # encryption configuration with a KMS key (specifically, a [customer
+ # managed key][4]). [Amazon Web Services managed key][5] (`aws/s3`)
+ # isn't supported. Your SSE-KMS configuration can only support 1
+ # [customer managed key][4] per directory bucket for the lifetime of
+ # the bucket. After you specify a customer managed key for SSE-KMS,
+ # you can't override the customer managed key for the bucket's
+ # SSE-KMS configuration. Then, when you perform a `CopyObject`
+ # operation and want to specify server-side encryption settings for
+ # new object copies with SSE-KMS in the encryption-related request
+ # headers, you must ensure the encryption key is the same customer
+ # managed key that you specified for the directory bucket's default
+ # encryption configuration.
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [4]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [5]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
#
# @option params [String] :storage_class
# If the `x-amz-storage-class` header is not used, the copied object
@@ -1867,33 +1911,51 @@ def complete_multipart_upload(params = {}, options = {})
#
#
# @option params [String] :ssekms_key_id
- # Specifies the KMS ID (Key ID, Key ARN, or Key Alias) to use for object
- # encryption. All GET and PUT requests for an object protected by KMS
- # will fail if they're not made via SSL or using SigV4. For information
- # about configuring any of the officially supported Amazon Web Services
- # SDKs and Amazon Web Services CLI, see [Specifying the Signature
- # Version in Request Authentication][1] in the *Amazon S3 User Guide*.
- #
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. All GET and PUT requests for an object protected by
+ # KMS will fail if they're not made via SSL or using SigV4. For
+ # information about configuring any of the officially supported Amazon
+ # Web Services SDKs and Amazon Web Services CLI, see [Specifying the
+ # Signature Version in Request Authentication][1] in the *Amazon S3 User
+ # Guide*.
#
- #
+ # **Directory buckets** - If you specify `x-amz-server-side-encryption`
+ # with `aws:kms`, you must specify the `
+ # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
+ # ID or Key ARN) of the KMS symmetric encryption customer managed key to
+ # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
+ # key ID or key ARN. The key alias format of the KMS key isn't
+ # supported. Your SSE-KMS configuration can only support 1 [customer
+ # managed key][2] per directory bucket for the lifetime of the bucket.
+ # [Amazon Web Services managed key][3] (`aws/s3`) isn't supported.
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [3]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
#
# @option params [String] :ssekms_encryption_context
- # Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded UTF-8
- # string holding JSON with the encryption context key-value pairs. This
- # value must be explicitly added to specify encryption context for
- # `CopyObject` requests.
+ # Specifies the Amazon Web Services KMS Encryption Context as an
+ # additional encryption context to use for the destination object
+ # encryption. The value of this header is a base64-encoded UTF-8 string
+ # holding JSON with the encryption context key-value pairs.
#
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
+ # **General purpose buckets** - This value must be explicitly added to
+ # specify encryption context for `CopyObject` requests if you want an
+ # additional encryption context for your destination object. The
+ # additional encryption context of the source object won't be copied to
+ # the destination object. For more information, see [Encryption
+ # context][1] in the *Amazon S3 User Guide*.
#
- #
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default encryption
+ # context - the bucket Amazon Resource Name (ARN). An additional
+ # encryption context value is not supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context
#
# @option params [Boolean] :bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
@@ -1908,14 +1970,19 @@ def complete_multipart_upload(params = {}, options = {})
# For more information, see [Amazon S3 Bucket Keys][1] in the *Amazon S3
# User Guide*.
#
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
+ # **Directory buckets** - S3 Bucket Keys aren't supported, when you
+ # copy SSE-KMS encrypted objects from general purpose buckets to
+ # directory buckets, from directory buckets to general purpose buckets,
+ # or between directory buckets, through [CopyObject][2]. In this case,
+ # Amazon S3 makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
#
#
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
#
# @option params [String] :copy_source_sse_customer_algorithm
# Specifies the algorithm to use when decrypting the source object (for
@@ -2657,9 +2724,53 @@ def create_bucket(params = {}, options = {})
# using server-side encryption with customer-provided encryption
# keys (SSE-C)][11] in the *Amazon S3 User Guide*.
#
- # * **Directory buckets** -For directory buckets, only server-side
- # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) is
- # supported.
+ # * **Directory buckets** - For directory buckets, there are only two
+ # supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). We
+ # recommend that the bucket's default encryption uses the desired
+ # encryption configuration and you don't override the bucket
+ # default encryption in your `CreateSession` requests or `PUT`
+ # object requests. Then, new objects are automatically encrypted
+ # with the desired encryption settings. For more information, see
+ # [Protecting data with server-side encryption][12] in the *Amazon
+ # S3 User Guide*. For more information about the encryption
+ # overriding behaviors in directory buckets, see [Specifying
+ # server-side encryption with KMS for new object uploads][13].
+ #
+ # In the Zonal endpoint API calls (except [CopyObject][14] and
+ # [UploadPartCopy][9]) using the REST API, the encryption request
+ # headers must match the encryption settings that are specified in
+ # the `CreateSession` request. You can't override the values of the
+ # encryption settings (`x-amz-server-side-encryption`,
+ # `x-amz-server-side-encryption-aws-kms-key-id`,
+ # `x-amz-server-side-encryption-context`, and
+ # `x-amz-server-side-encryption-bucket-key-enabled`) that are
+ # specified in the `CreateSession` request. You don't need to
+ # explicitly specify these encryption settings values in Zonal
+ # endpoint API calls, and Amazon S3 will use the encryption settings
+ # values from the `CreateSession` request to protect new objects in
+ # the directory bucket.
+ #
+ # When you use the CLI or the Amazon Web Services SDKs, for
+ # `CreateSession`, the session token refreshes automatically to
+ # avoid service interruptions when a session expires. The CLI or the
+ # Amazon Web Services SDKs use the bucket's default encryption
+ # configuration for the `CreateSession` request. It's not supported
+ # to override the encryption settings values in the `CreateSession`
+ # request. So in the Zonal endpoint API calls (except
+ # [CopyObject][14] and [UploadPartCopy][9]), the encryption request
+ # headers must match the default encryption configuration of the
+ # directory bucket.
+ #
+ #
+ #
+ # For directory buckets, when you perform a `CreateMultipartUpload`
+ # operation and an `UploadPartCopy` operation, the request headers
+ # you provide in the `CreateMultipartUpload` request must match the
+ # default encryption configuration of the destination bucket.
+ #
+ #
#
# HTTP Host header syntax
#
@@ -2670,13 +2781,13 @@ def create_bucket(params = {}, options = {})
#
# * [UploadPart][1]
#
- # * [CompleteMultipartUpload][12]
+ # * [CompleteMultipartUpload][15]
#
- # * [AbortMultipartUpload][13]
+ # * [AbortMultipartUpload][16]
#
- # * [ListParts][14]
+ # * [ListParts][17]
#
- # * [ListMultipartUploads][15]
+ # * [ListMultipartUploads][18]
#
#
#
@@ -2691,10 +2802,13 @@ def create_bucket(params = {}, options = {})
# [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/ServerSideEncryptionCustomerKeys.html
- # [12]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html
- # [13]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html
- # [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
- # [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html
+ # [12]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [13]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html
+ # [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html
+ # [17]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
+ # [18]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html
#
# @option params [String] :acl
# The canned ACL to apply to the object. Amazon S3 supports a set of
@@ -3057,10 +3171,52 @@ def create_bucket(params = {}, options = {})
# The server-side encryption algorithm used when you store this object
# in Amazon S3 (for example, `AES256`, `aws:kms`).
#
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
+ # * Directory buckets - For directory buckets, there are only
+ # two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). We
+ # recommend that the bucket's default encryption uses the desired
+ # encryption configuration and you don't override the bucket default
+ # encryption in your `CreateSession` requests or `PUT` object
+ # requests. Then, new objects are automatically encrypted with the
+ # desired encryption settings. For more information, see [Protecting
+ # data with server-side encryption][1] in the *Amazon S3 User Guide*.
+ # For more information about the encryption overriding behaviors in
+ # directory buckets, see [Specifying server-side encryption with KMS
+ # for new object uploads][2].
+ #
+ # In the Zonal endpoint API calls (except [CopyObject][3] and
+ # [UploadPartCopy][4]) using the REST API, the encryption request
+ # headers must match the encryption settings that are specified in the
+ # `CreateSession` request. You can't override the values of the
+ # encryption settings (`x-amz-server-side-encryption`,
+ # `x-amz-server-side-encryption-aws-kms-key-id`,
+ # `x-amz-server-side-encryption-context`, and
+ # `x-amz-server-side-encryption-bucket-key-enabled`) that are
+ # specified in the `CreateSession` request. You don't need to
+ # explicitly specify these encryption settings values in Zonal
+ # endpoint API calls, and Amazon S3 will use the encryption settings
+ # values from the `CreateSession` request to protect new objects in
+ # the directory bucket.
+ #
+ # When you use the CLI or the Amazon Web Services SDKs, for
+ # `CreateSession`, the session token refreshes automatically to avoid
+ # service interruptions when a session expires. The CLI or the Amazon
+ # Web Services SDKs use the bucket's default encryption configuration
+ # for the `CreateSession` request. It's not supported to override the
+ # encryption settings values in the `CreateSession` request. So in the
+ # Zonal endpoint API calls (except [CopyObject][3] and
+ # [UploadPartCopy][4]), the encryption request headers must match the
+ # default encryption configuration of the directory bucket.
#
- #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
#
# @option params [String] :storage_class
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
@@ -3119,34 +3275,71 @@ def create_bucket(params = {}, options = {})
#
#
# @option params [String] :ssekms_key_id
- # Specifies the ID (Key ID, Key ARN, or Key Alias) of the symmetric
- # encryption customer managed key to use for object encryption.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. If the KMS key doesn't exist in the same account
+ # that's issuing the command, you must use the full Key ARN not the Key
+ # ID.
+ #
+ # **General purpose buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`, this
+ # header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key
+ # to use. If you specify `x-amz-server-side-encryption:aws:kms` or
+ # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide
+ # `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
+ # Amazon Web Services managed key (`aws/s3`) to protect the data.
+ #
+ # **Directory buckets** - If you specify `x-amz-server-side-encryption`
+ # with `aws:kms`, you must specify the `
+ # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
+ # ID or Key ARN) of the KMS symmetric encryption customer managed key to
+ # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
+ # key ID or key ARN. The key alias format of the KMS key isn't
+ # supported. Your SSE-KMS configuration can only support 1 [customer
+ # managed key][1] per directory bucket for the lifetime of the bucket.
+ # [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
#
# @option params [String] :ssekms_encryption_context
# Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded UTF-8
- # string holding JSON with the encryption context key-value pairs.
+ # object encryption. The value of this header is a Base64-encoded string
+ # of a UTF-8 encoded JSON, which contains the encryption context as
+ # key-value pairs.
#
- # This functionality is not supported for directory buckets.
- #
- #
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default encryption
+ # context - the bucket Amazon Resource Name (ARN). An additional
+ # encryption context value is not supported.
#
# @option params [Boolean] :bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
# encryption with server-side encryption using Key Management Service
- # (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
- # to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # (KMS) keys (SSE-KMS).
#
- # Specifying this header with an object action doesn’t affect
+ # **General purpose buckets** - Setting this header to `true` causes
+ # Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # Also, specifying this header with a PUT action doesn't affect
# bucket-level settings for S3 Bucket Key.
#
- # This functionality is not supported for directory buckets.
+ # **Directory buckets** - S3 Bucket Keys are always enabled for `GET`
+ # and `PUT` operations in a directory bucket and can’t be disabled. S3
+ # Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects
+ # from general purpose buckets to directory buckets, from directory
+ # buckets to general purpose buckets, or between directory buckets,
+ # through [CopyObject][1], [UploadPartCopy][2], [the Copy operation in
+ # Batch Operations][3], or [the import jobs][4]. In this case, Amazon S3
+ # makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
#
- #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
#
# @option params [String] :request_payer
# Confirms that the requester knows that they will be charged for the
@@ -3307,9 +3500,10 @@ def create_multipart_upload(params = {}, options = {})
# Creates a session that establishes temporary security credentials to
# support fast authentication and authorization for the Zonal endpoint
- # APIs on directory buckets. For more information about Zonal endpoint
- # APIs that include the Availability Zone in the request endpoint, see
- # [S3 Express One Zone APIs][1] in the *Amazon S3 User Guide*.
+ # API operations on directory buckets. For more information about Zonal
+ # endpoint API operations that include the Availability Zone in the
+ # request endpoint, see [S3 Express One Zone APIs][1] in the *Amazon S3
+ # User Guide*.
#
# To make Zonal endpoint API requests on a directory bucket, use the
# `CreateSession` API operation. Specifically, you grant
@@ -3318,13 +3512,13 @@ def create_multipart_upload(params = {}, options = {})
# the `CreateSession` API request on the bucket, which returns temporary
# security credentials that include the access key ID, secret access
# key, session token, and expiration. These credentials have associated
- # permissions to access the Zonal endpoint APIs. After the session is
- # created, you don’t need to use other policies to grant permissions to
- # each Zonal endpoint API individually. Instead, in your Zonal endpoint
- # API requests, you sign your requests by applying the temporary
- # security credentials of the session to the request headers and
- # following the SigV4 protocol for authentication. You also apply the
- # session token to the `x-amz-s3session-token` request header for
+ # permissions to access the Zonal endpoint API operations. After the
+ # session is created, you don’t need to use other policies to grant
+ # permissions to each Zonal endpoint API individually. Instead, in your
+ # Zonal endpoint API requests, you sign your requests by applying the
+ # temporary security credentials of the session to the request headers
+ # and following the SigV4 protocol for authentication. You also apply
+ # the session token to the `x-amz-s3session-token` request header for
# authorization. Temporary security credentials are scoped to the bucket
# and expire after 5 minutes. After the expiration time, any calls that
# you make with those credentials will fail. You must use IAM
@@ -3347,16 +3541,16 @@ def create_multipart_upload(params = {}, options = {})
# [Regional and Zonal endpoints][3] in the *Amazon S3 User Guide*.
#
# * CopyObject
API operation - Unlike other Zonal
- # endpoint APIs, the `CopyObject` API operation doesn't use the
- # temporary security credentials returned from the `CreateSession` API
- # operation for authentication and authorization. For information
+ # endpoint API operations, the `CopyObject` API operation doesn't use
+ # the temporary security credentials returned from the `CreateSession`
+ # API operation for authentication and authorization. For information
# about authentication and authorization of the `CopyObject` API
# operation on directory buckets, see [CopyObject][4].
#
# * HeadBucket
API operation - Unlike other Zonal
- # endpoint APIs, the `HeadBucket` API operation doesn't use the
- # temporary security credentials returned from the `CreateSession` API
- # operation for authentication and authorization. For information
+ # endpoint API operations, the `HeadBucket` API operation doesn't use
+ # the temporary security credentials returned from the `CreateSession`
+ # API operation for authentication and authorization. For information
# about authentication and authorization of the `HeadBucket` API
# operation on directory buckets, see [HeadBucket][5].
#
@@ -3375,9 +3569,71 @@ def create_multipart_upload(params = {}, options = {})
# Identity and Access Management (IAM) identity-based policies for S3
# Express One Zone][8] in the *Amazon S3 User Guide*.
#
- # To grant cross-account access to Zonal endpoint APIs, the bucket
- # policy should also grant both accounts the `s3express:CreateSession`
- # permission.
+ # To grant cross-account access to Zonal endpoint API operations, the
+ # bucket policy should also grant both accounts the
+ # `s3express:CreateSession` permission.
+ #
+ # If you want to encrypt objects with SSE-KMS, you must also have the
+ # `kms:GenerateDataKey` and the `kms:Decrypt` permissions in IAM
+ # identity-based policies and KMS key policies for the target KMS key.
+ #
+ # Encryption
+ #
+ # : For directory buckets, there are only two supported options for
+ # server-side encryption: server-side encryption with Amazon S3
+ # managed keys (SSE-S3) (`AES256`) and server-side encryption with KMS
+ # keys (SSE-KMS) (`aws:kms`). We recommend that the bucket's default
+ # encryption uses the desired encryption configuration and you don't
+ # override the bucket default encryption in your `CreateSession`
+ # requests or `PUT` object requests. Then, new objects are
+ # automatically encrypted with the desired encryption settings. For
+ # more information, see [Protecting data with server-side
+ # encryption][9] in the *Amazon S3 User Guide*. For more information
+ # about the encryption overriding behaviors in directory buckets, see
+ # [Specifying server-side encryption with KMS for new object
+ # uploads][10].
+ #
+ # For [Zonal endpoint (object-level) API operations][11] except
+ # [CopyObject][4] and [UploadPartCopy][12], you authenticate and
+ # authorize requests through [CreateSession][13] for low latency. To
+ # encrypt new objects in a directory bucket with SSE-KMS, you must
+ # specify SSE-KMS as the directory bucket's default encryption
+ # configuration with a KMS key (specifically, a [customer managed
+ # key][14]). Then, when a session is created for Zonal endpoint API
+ # operations, new objects are automatically encrypted and decrypted
+ # with SSE-KMS and S3 Bucket Keys during the session.
+ #
+ # Only 1 [customer managed key][14] is supported per directory bucket
+ # for the lifetime of the bucket. [Amazon Web Services managed
+ # key][15] (`aws/s3`) isn't supported. After you specify SSE-KMS as
+ # your bucket's default encryption configuration with a customer
+ # managed key, you can't change the customer managed key for the
+ # bucket's SSE-KMS configuration.
+ #
+ #
+ #
+ # In the Zonal endpoint API calls (except [CopyObject][4] and
+ # [UploadPartCopy][12]) using the REST API, you can't override the
+ # values of the encryption settings (`x-amz-server-side-encryption`,
+ # `x-amz-server-side-encryption-aws-kms-key-id`,
+ # `x-amz-server-side-encryption-context`, and
+ # `x-amz-server-side-encryption-bucket-key-enabled`) from the
+ # `CreateSession` request. You don't need to explicitly specify these
+ # encryption settings values in Zonal endpoint API calls, and Amazon
+ # S3 will use the encryption settings values from the `CreateSession`
+ # request to protect new objects in the directory bucket.
+ #
+ # When you use the CLI or the Amazon Web Services SDKs, for
+ # `CreateSession`, the session token refreshes automatically to avoid
+ # service interruptions when a session expires. The CLI or the Amazon
+ # Web Services SDKs use the bucket's default encryption configuration
+ # for the `CreateSession` request. It's not supported to override the
+ # encryption settings values in the `CreateSession` request. Also, in
+ # the Zonal endpoint API calls (except [CopyObject][4] and
+ # [UploadPartCopy][12]), it's not supported to override the values of
+ # the encryption settings from the `CreateSession` request.
+ #
+ #
#
# HTTP Host header syntax
#
@@ -3394,21 +3650,110 @@ def create_multipart_upload(params = {}, options = {})
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html#API_CreateSession_RequestParameters
# [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html
# [8]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html
+ # [9]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [10]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [11]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-differences.html#s3-express-differences-api-operations
+ # [12]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [13]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
+ # [14]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [15]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
#
# @option params [String] :session_mode
# Specifies the mode of the session that will be created, either
# `ReadWrite` or `ReadOnly`. By default, a `ReadWrite` session is
# created. A `ReadWrite` session is capable of executing all the Zonal
- # endpoint APIs on a directory bucket. A `ReadOnly` session is
- # constrained to execute the following Zonal endpoint APIs: `GetObject`,
- # `HeadObject`, `ListObjectsV2`, `GetObjectAttributes`, `ListParts`, and
- # `ListMultipartUploads`.
+ # endpoint API operations on a directory bucket. A `ReadOnly` session is
+ # constrained to execute the following Zonal endpoint API operations:
+ # `GetObject`, `HeadObject`, `ListObjectsV2`, `GetObjectAttributes`,
+ # `ListParts`, and `ListMultipartUploads`.
#
# @option params [required, String] :bucket
# The name of the bucket that you create a session for.
#
+ # @option params [String] :server_side_encryption
+ # The server-side encryption algorithm to use when you store objects in
+ # the directory bucket.
+ #
+ # For directory buckets, there are only two supported options for
+ # server-side encryption: server-side encryption with Amazon S3 managed
+ # keys (SSE-S3) (`AES256`) and server-side encryption with KMS keys
+ # (SSE-KMS) (`aws:kms`). By default, Amazon S3 encrypts data with
+ # SSE-S3. For more information, see [Protecting data with server-side
+ # encryption][1] in the *Amazon S3 User Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ #
+ # @option params [String] :ssekms_key_id
+ # If you specify `x-amz-server-side-encryption` with `aws:kms`, you must
+ # specify the ` x-amz-server-side-encryption-aws-kms-key-id` header with
+ # the ID (Key ID or Key ARN) of the KMS symmetric encryption customer
+ # managed key to use. Otherwise, you get an HTTP `400 Bad Request`
+ # error. Only use the key ID or key ARN. The key alias format of the KMS
+ # key isn't supported. Also, if the KMS key doesn't exist in the same
+ # account that't issuing the command, you must use the full Key ARN not
+ # the Key ID.
+ #
+ # Your SSE-KMS configuration can only support 1 [customer managed
+ # key][1] per directory bucket for the lifetime of the bucket. [Amazon
+ # Web Services managed key][2] (`aws/s3`) isn't supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
+ #
+ # @option params [String] :ssekms_encryption_context
+ # Specifies the Amazon Web Services KMS Encryption Context as an
+ # additional encryption context to use for object encryption. The value
+ # of this header is a Base64-encoded string of a UTF-8 encoded JSON,
+ # which contains the encryption context as key-value pairs. This value
+ # is stored as object metadata and automatically gets passed on to
+ # Amazon Web Services KMS for future `GetObject` operations on this
+ # object.
+ #
+ # **General purpose buckets** - This value must be explicitly added
+ # during `CopyObject` operations if you want an additional encryption
+ # context for your object. For more information, see [Encryption
+ # context][1] in the *Amazon S3 User Guide*.
+ #
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default encryption
+ # context - the bucket Amazon Resource Name (ARN). An additional
+ # encryption context value is not supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context
+ #
+ # @option params [Boolean] :bucket_key_enabled
+ # Specifies whether Amazon S3 should use an S3 Bucket Key for object
+ # encryption with server-side encryption using KMS keys (SSE-KMS).
+ #
+ # S3 Bucket Keys are always enabled for `GET` and `PUT` operations in a
+ # directory bucket and can’t be disabled. S3 Bucket Keys aren't
+ # supported, when you copy SSE-KMS encrypted objects from general
+ # purpose buckets to directory buckets, from directory buckets to
+ # general purpose buckets, or between directory buckets, through
+ # [CopyObject][1], [UploadPartCopy][2], [the Copy operation in Batch
+ # Operations][3], or [the import jobs][4]. In this case, Amazon S3 makes
+ # a call to KMS every time a copy request is made for a KMS-encrypted
+ # object.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
+ #
# @return [Types::CreateSessionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
+ # * {Types::CreateSessionOutput#server_side_encryption #server_side_encryption} => String
+ # * {Types::CreateSessionOutput#ssekms_key_id #ssekms_key_id} => String
+ # * {Types::CreateSessionOutput#ssekms_encryption_context #ssekms_encryption_context} => String
+ # * {Types::CreateSessionOutput#bucket_key_enabled #bucket_key_enabled} => Boolean
# * {Types::CreateSessionOutput#credentials #credentials} => Types::SessionCredentials
#
# @example Request syntax with placeholder values
@@ -3416,10 +3761,18 @@ def create_multipart_upload(params = {}, options = {})
# resp = client.create_session({
# session_mode: "ReadOnly", # accepts ReadOnly, ReadWrite
# bucket: "BucketName", # required
+ # server_side_encryption: "AES256", # accepts AES256, aws:kms, aws:kms:dsse
+ # ssekms_key_id: "SSEKMSKeyId",
+ # ssekms_encryption_context: "SSEKMSEncryptionContext",
+ # bucket_key_enabled: false,
# })
#
# @example Response structure
#
+ # resp.server_side_encryption #=> String, one of "AES256", "aws:kms", "aws:kms:dsse"
+ # resp.ssekms_key_id #=> String
+ # resp.ssekms_encryption_context #=> String
+ # resp.bucket_key_enabled #=> Boolean
# resp.credentials.access_key_id #=> String
# resp.credentials.secret_access_key #=> String
# resp.credentials.session_token #=> String
@@ -3665,47 +4018,92 @@ def delete_bucket_cors(params = {}, options = {})
req.send_request(options)
end
- # This operation is not supported by directory buckets.
+ # This implementation of the DELETE action resets the default encryption
+ # for the bucket as server-side encryption with Amazon S3 managed keys
+ # (SSE-S3).
+ #
+ # * **General purpose buckets** - For information about the bucket
+ # default encryption feature, see [Amazon S3 Bucket Default
+ # Encryption][1] in the *Amazon S3 User Guide*.
+ #
+ # * **Directory buckets** - For directory buckets, there are only two
+ # supported options for server-side encryption: SSE-S3 and SSE-KMS.
+ # For information about the default encryption configuration in
+ # directory buckets, see [Setting default server-side encryption
+ # behavior for directory buckets][2].
#
#
#
- # This implementation of the DELETE action resets the default encryption
- # for the bucket as server-side encryption with Amazon S3 managed keys
- # (SSE-S3). For information about the bucket default encryption feature,
- # see [Amazon S3 Bucket Default Encryption][1] in the *Amazon S3 User
- # Guide*.
+ # Permissions
+ # : * **General purpose bucket permissions** - The
+ # `s3:PutEncryptionConfiguration` permission is required in a
+ # policy. The bucket owner has this permission by default. The
+ # bucket owner can grant this permission to others. For more
+ # information about permissions, see [Permissions Related to Bucket
+ # Operations][3] and [Managing Access Permissions to Your Amazon S3
+ # Resources][4].
#
- # To use this operation, you must have permissions to perform the
- # `s3:PutEncryptionConfiguration` action. The bucket owner has this
- # permission by default. The bucket owner can grant this permission to
- # others. For more information about permissions, see [Permissions
- # Related to Bucket Subresource Operations][2] and [Managing Access
- # Permissions to your Amazon S3 Resources][3] in the *Amazon S3 User
- # Guide*.
+ # * **Directory bucket permissions** - To grant access to this API
+ # operation, you must have the
+ # `s3express:PutEncryptionConfiguration` permission in an IAM
+ # identity-based policy instead of a bucket policy. Cross-account
+ # access to this API operation isn't supported. This operation can
+ # only be performed by the Amazon Web Services account that owns the
+ # resource. For more information about directory bucket policies and
+ # permissions, see [Amazon Web Services Identity and Access
+ # Management (IAM) for S3 Express One Zone][5] in the *Amazon S3
+ # User Guide*.
+ #
+ # HTTP Host header syntax
+ #
+ # : Directory buckets - The HTTP Host header syntax is
+ # `s3express-control.region.amazonaws.com`.
#
# The following operations are related to `DeleteBucketEncryption`:
#
- # * [PutBucketEncryption][4]
+ # * [PutBucketEncryption][6]
#
- # * [GetBucketEncryption][5]
+ # * [GetBucketEncryption][7]
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-bucket-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html
#
# @option params [required, String] :bucket
# The name of the bucket containing the server-side encryption
# configuration to delete.
#
+ # Directory buckets - When you use this operation with a
+ # directory bucket, you must use path-style requests in the format
+ # `https://s3express-control.region_code.amazonaws.com/bucket-name `.
+ # Virtual-hosted-style requests aren't supported. Directory bucket
+ # names must be unique in the chosen Availability Zone. Bucket names
+ # must also follow the format ` bucket_base_name--az_id--x-s3` (for
+ # example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about
+ # bucket naming restrictions, see [Directory bucket naming rules][1] in
+ # the *Amazon S3 User Guide*
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
+ #
# @option params [String] :expected_bucket_owner
# The account ID of the expected bucket owner. If the account ID that
# you provide does not match the actual owner of the bucket, the request
# fails with the HTTP status code `403 Forbidden` (access denied).
#
+ # For directory buckets, this header is not supported in this API
+ # operation. If you specify this header, the request fails with the HTTP
+ # status code `501 Not Implemented`.
+ #
+ #
+ #
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
@@ -4699,35 +5097,35 @@ def delete_object(params = {}, options = {})
# * {Types::DeleteObjectTaggingOutput#version_id #version_id} => String
#
#
- # @example Example: To remove tag set from an object version
+ # @example Example: To remove tag set from an object
#
- # # The following example removes tag set associated with the specified object version. The request specifies both the
- # # object key and object version.
+ # # The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the
+ # # operation removes tag set from the latest object version.
#
# resp = client.delete_object_tagging({
# bucket: "examplebucket",
# key: "HappyFace.jpg",
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
# })
#
# resp.to_h outputs the following:
# {
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
+ # version_id: "null",
# }
#
- # @example Example: To remove tag set from an object
+ # @example Example: To remove tag set from an object version
#
- # # The following example removes tag set associated with the specified object. If the bucket is versioning enabled, the
- # # operation removes tag set from the latest object version.
+ # # The following example removes tag set associated with the specified object version. The request specifies both the
+ # # object key and object version.
#
# resp = client.delete_object_tagging({
# bucket: "examplebucket",
# key: "HappyFace.jpg",
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
# })
#
# resp.to_h outputs the following:
# {
- # version_id: "null",
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
# }
#
# @example Request syntax with placeholder values
@@ -5010,20 +5408,22 @@ def delete_object_tagging(params = {}, options = {})
# * {Types::DeleteObjectsOutput#errors #errors} => Array<Types::Error>
#
#
- # @example Example: To delete multiple objects from a versioned bucket
+ # @example Example: To delete multiple object versions from a versioned bucket
#
- # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
- # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
+ # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
+ # # versions and returns the key and versions of deleted objects in the response.
#
# resp = client.delete_objects({
# bucket: "examplebucket",
# delete: {
# objects: [
# {
- # key: "objectkey1",
+ # key: "HappyFace.jpg",
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
# },
# {
- # key: "objectkey2",
+ # key: "HappyFace.jpg",
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
# },
# ],
# quiet: false,
@@ -5034,34 +5434,30 @@ def delete_object_tagging(params = {}, options = {})
# {
# deleted: [
# {
- # delete_marker: true,
- # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
- # key: "objectkey1",
+ # key: "HappyFace.jpg",
+ # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
# },
# {
- # delete_marker: true,
- # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
- # key: "objectkey2",
+ # key: "HappyFace.jpg",
+ # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
# },
# ],
# }
#
- # @example Example: To delete multiple object versions from a versioned bucket
+ # @example Example: To delete multiple objects from a versioned bucket
#
- # # The following example deletes objects from a bucket. The request specifies object versions. S3 deletes specific object
- # # versions and returns the key and versions of deleted objects in the response.
+ # # The following example deletes objects from a bucket. The bucket is versioned, and the request does not specify the
+ # # object version to delete. In this case, all versions remain in the bucket and S3 adds a delete marker.
#
# resp = client.delete_objects({
# bucket: "examplebucket",
# delete: {
# objects: [
# {
- # key: "HappyFace.jpg",
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
+ # key: "objectkey1",
# },
# {
- # key: "HappyFace.jpg",
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
+ # key: "objectkey2",
# },
# ],
# quiet: false,
@@ -5072,12 +5468,14 @@ def delete_object_tagging(params = {}, options = {})
# {
# deleted: [
# {
- # key: "HappyFace.jpg",
- # version_id: "yoz3HB.ZhCS_tKVEmIOr7qYyyAaZSKVd",
+ # delete_marker: true,
+ # delete_marker_version_id: "A._w1z6EFiCF5uhtQMDal9JDkID9tQ7F",
+ # key: "objectkey1",
# },
# {
- # key: "HappyFace.jpg",
- # version_id: "2LWg7lQLnY41.maGB5Z6SWW.dcq0vx7b",
+ # delete_marker: true,
+ # delete_marker_version_id: "iOd_ORxhkKe_e8G8_oSGxt2PjsCZKlkt",
+ # key: "objectkey2",
# },
# ],
# }
@@ -5580,46 +5978,92 @@ def get_bucket_cors(params = {}, options = {})
req.send_request(options)
end
- # This operation is not supported by directory buckets.
+ # Returns the default encryption configuration for an Amazon S3 bucket.
+ # By default, all buckets have a default encryption configuration that
+ # uses server-side encryption with Amazon S3 managed keys (SSE-S3).
+ #
+ # * **General purpose buckets** - For information about the bucket
+ # default encryption feature, see [Amazon S3 Bucket Default
+ # Encryption][1] in the *Amazon S3 User Guide*.
+ #
+ # * **Directory buckets** - For directory buckets, there are only two
+ # supported options for server-side encryption: SSE-S3 and SSE-KMS.
+ # For information about the default encryption configuration in
+ # directory buckets, see [Setting default server-side encryption
+ # behavior for directory buckets][2].
#
#
#
- # Returns the default encryption configuration for an Amazon S3 bucket.
- # By default, all buckets have a default encryption configuration that
- # uses server-side encryption with Amazon S3 managed keys (SSE-S3). For
- # information about the bucket default encryption feature, see [Amazon
- # S3 Bucket Default Encryption][1] in the *Amazon S3 User Guide*.
+ # Permissions
+ # : * **General purpose bucket permissions** - The
+ # `s3:GetEncryptionConfiguration` permission is required in a
+ # policy. The bucket owner has this permission by default. The
+ # bucket owner can grant this permission to others. For more
+ # information about permissions, see [Permissions Related to Bucket
+ # Operations][3] and [Managing Access Permissions to Your Amazon S3
+ # Resources][4].
#
- # To use this operation, you must have permission to perform the
- # `s3:GetEncryptionConfiguration` action. The bucket owner has this
- # permission by default. The bucket owner can grant this permission to
- # others. For more information about permissions, see [Permissions
- # Related to Bucket Subresource Operations][2] and [Managing Access
- # Permissions to Your Amazon S3 Resources][3].
+ # * **Directory bucket permissions** - To grant access to this API
+ # operation, you must have the
+ # `s3express:GetEncryptionConfiguration` permission in an IAM
+ # identity-based policy instead of a bucket policy. Cross-account
+ # access to this API operation isn't supported. This operation can
+ # only be performed by the Amazon Web Services account that owns the
+ # resource. For more information about directory bucket policies and
+ # permissions, see [Amazon Web Services Identity and Access
+ # Management (IAM) for S3 Express One Zone][5] in the *Amazon S3
+ # User Guide*.
+ #
+ # HTTP Host header syntax
+ #
+ # : Directory buckets - The HTTP Host header syntax is
+ # `s3express-control.region.amazonaws.com`.
#
# The following operations are related to `GetBucketEncryption`:
#
- # * [PutBucketEncryption][4]
+ # * [PutBucketEncryption][6]
#
- # * [DeleteBucketEncryption][5]
+ # * [DeleteBucketEncryption][7]
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-bucket-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutBucketEncryption.html
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html
+ #
+ # @option params [required, String] :bucket
+ # The name of the bucket from which the server-side encryption
+ # configuration is retrieved.
+ #
+ # Directory buckets - When you use this operation with a
+ # directory bucket, you must use path-style requests in the format
+ # `https://s3express-control.region_code.amazonaws.com/bucket-name `.
+ # Virtual-hosted-style requests aren't supported. Directory bucket
+ # names must be unique in the chosen Availability Zone. Bucket names
+ # must also follow the format ` bucket_base_name--az_id--x-s3` (for
+ # example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about
+ # bucket naming restrictions, see [Directory bucket naming rules][1] in
+ # the *Amazon S3 User Guide*
+ #
#
- # @option params [required, String] :bucket
- # The name of the bucket from which the server-side encryption
- # configuration is retrieved.
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
#
# @option params [String] :expected_bucket_owner
# The account ID of the expected bucket owner. If the account ID that
# you provide does not match the actual owner of the bucket, the request
# fails with the HTTP status code `403 Forbidden` (access denied).
#
+ # For directory buckets, this header is not supported in this API
+ # operation. If you specify this header, the request fails with the HTTP
+ # status code `501 Not Implemented`.
+ #
+ #
+ #
# @return [Types::GetBucketEncryptionOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::GetBucketEncryptionOutput#server_side_encryption_configuration #server_side_encryption_configuration} => Types::ServerSideEncryptionConfiguration
@@ -7359,6 +7803,10 @@ def get_bucket_website(params = {}, options = {})
# interruptions when a session expires. For more information about
# authorization, see [ `CreateSession` ][4].
#
+ # If the object is encrypted using SSE-KMS, you must also have the
+ # `kms:GenerateDataKey` and `kms:Decrypt` permissions in IAM
+ # identity-based policies and KMS key policies for the KMS key.
+ #
# Storage classes
#
# : If the object you are retrieving is stored in the S3 Glacier
@@ -7387,6 +7835,11 @@ def get_bucket_website(params = {}, options = {})
# `GetObject` requests for the object that uses these types of keys,
# you’ll get an HTTP `400 Bad Request` error.
#
+ # **Directory buckets** - For directory buckets, there are only two
+ # supported options for server-side encryption: SSE-S3 and SSE-KMS.
+ # SSE-C isn't supported. For more information, see [Protecting data
+ # with server-side encryption][7] in the *Amazon S3 User Guide*.
+ #
# Overriding response header values through the request
#
# : There are times when you want to override certain response header
@@ -7434,9 +7887,9 @@ def get_bucket_website(params = {}, options = {})
#
# The following operations are related to `GetObject`:
#
- # * [ListBuckets][7]
+ # * [ListBuckets][8]
#
- # * [GetObjectAcl][8]
+ # * [GetObjectAcl][9]
#
#
#
@@ -7446,8 +7899,9 @@ def get_bucket_website(params = {}, options = {})
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
# [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_RestoreObject.html
# [6]: https://docs.aws.amazon.com/AmazonS3/latest/dev/restoring-objects.html
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html
- # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListBuckets.html
+ # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html
#
# @option params [String, IO] :response_target
# Where to write response data, file path, or IO object.
@@ -7744,10 +8198,10 @@ def get_bucket_website(params = {}, options = {})
# @option params [String] :checksum_mode
# To retrieve the checksum, this mode must be enabled.
#
- # In addition, if you enable checksum mode and the object is uploaded
- # with a [checksum][1] and encrypted with an Key Management Service
- # (KMS) key, you must have permission to use the `kms:Decrypt` action to
- # retrieve the checksum.
+ # **General purpose buckets** - In addition, if you enable checksum mode
+ # and the object is uploaded with a [checksum][1] and encrypted with an
+ # Key Management Service (KMS) key, you must have permission to use the
+ # `kms:Decrypt` action to retrieve the checksum.
#
#
#
@@ -8149,7 +8603,7 @@ def get_object_acl(params = {}, options = {})
# Permissions
# : * **General purpose bucket permissions** - To use
# `GetObjectAttributes`, you must have READ access to the object.
- # The permissions that you need to use this operation with depend on
+ # The permissions that you need to use this operation depend on
# whether the bucket is versioned. If the bucket is versioned, you
# need both the `s3:GetObjectVersion` and
# `s3:GetObjectVersionAttributes` permissions for this operation. If
@@ -8183,6 +8637,10 @@ def get_object_acl(params = {}, options = {})
# interruptions when a session expires. For more information about
# authorization, see [ `CreateSession` ][3].
#
+ # If the object is encrypted with SSE-KMS, you must also have the
+ # `kms:GenerateDataKey` and `kms:Decrypt` permissions in IAM
+ # identity-based policies and KMS key policies for the KMS key.
+ #
# Encryption
# : Encryption request headers, like `x-amz-server-side-encryption`,
# should not be sent for `HEAD` requests if your object uses
@@ -8216,9 +8674,19 @@ def get_object_acl(params = {}, options = {})
# Customer-Provided Encryption Keys)][4] in the *Amazon S3 User
# Guide*.
#
- # **Directory bucket permissions** - For directory buckets, only
- # server-side encryption with Amazon S3 managed keys (SSE-S3)
- # (`AES256`) is supported.
+ # **Directory bucket permissions** - For directory buckets, there are
+ # only two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). We
+ # recommend that the bucket's default encryption uses the desired
+ # encryption configuration and you don't override the bucket default
+ # encryption in your `CreateSession` requests or `PUT` object
+ # requests. Then, new objects are automatically encrypted with the
+ # desired encryption settings. For more information, see [Protecting
+ # data with server-side encryption][5] in the *Amazon S3 User Guide*.
+ # For more information about the encryption overriding behaviors in
+ # directory buckets, see [Specifying server-side encryption with KMS
+ # for new object uploads][6].
#
#
#
@@ -8242,7 +8710,7 @@ def get_object_acl(params = {}, options = {})
# * `If-Unmodified-Since` condition evaluates to `false`.
#
# For more information about conditional requests, see [RFC
- # 7232][5].
+ # 7232][7].
#
# * If both of the `If-None-Match` and `If-Modified-Since` headers are
# present in the request as follows, then Amazon S3 returns the HTTP
@@ -8253,7 +8721,7 @@ def get_object_acl(params = {}, options = {})
# * `If-Modified-Since` condition evaluates to `true`.
#
# For more information about conditional requests, see [RFC
- # 7232][5].
+ # 7232][7].
#
# HTTP Host header syntax
#
@@ -8262,21 +8730,21 @@ def get_object_acl(params = {}, options = {})
#
# The following actions are related to `GetObjectAttributes`:
#
- # * [GetObject][6]
+ # * [GetObject][8]
#
- # * [GetObjectAcl][7]
+ # * [GetObjectAcl][9]
#
- # * [GetObjectLegalHold][8]
+ # * [GetObjectLegalHold][10]
#
- # * [GetObjectLockConfiguration][9]
+ # * [GetObjectLockConfiguration][11]
#
- # * [GetObjectRetention][10]
+ # * [GetObjectRetention][12]
#
- # * [GetObjectTagging][11]
+ # * [GetObjectTagging][13]
#
- # * [HeadObject][12]
+ # * [HeadObject][14]
#
- # * [ListParts][13]
+ # * [ListParts][15]
#
#
#
@@ -8284,15 +8752,17 @@ def get_object_acl(params = {}, options = {})
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/using-with-s3-actions.html
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
- # [5]: https://tools.ietf.org/html/rfc7232
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html
- # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLegalHold.html
- # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLockConfiguration.html
- # [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectRetention.html
- # [11]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html
- # [12]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html
- # [13]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [7]: https://tools.ietf.org/html/rfc7232
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
+ # [9]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAcl.html
+ # [10]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLegalHold.html
+ # [11]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectLockConfiguration.html
+ # [12]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectRetention.html
+ # [13]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectTagging.html
+ # [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html
+ # [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
#
# @option params [required, String] :bucket
# The name of the bucket that contains the object.
@@ -8836,49 +9306,49 @@ def get_object_retention(params = {}, options = {})
# * {Types::GetObjectTaggingOutput#tag_set #tag_set} => Array<Types::Tag>
#
#
- # @example Example: To retrieve tag set of an object
+ # @example Example: To retrieve tag set of a specific object version
#
- # # The following example retrieves tag set of an object.
+ # # The following example retrieves tag set of an object. The request specifies object version.
#
# resp = client.get_object_tagging({
# bucket: "examplebucket",
- # key: "HappyFace.jpg",
+ # key: "exampleobject",
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
# })
#
# resp.to_h outputs the following:
# {
# tag_set: [
# {
- # key: "Key4",
- # value: "Value4",
- # },
- # {
- # key: "Key3",
- # value: "Value3",
+ # key: "Key1",
+ # value: "Value1",
# },
# ],
- # version_id: "null",
+ # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
# }
#
- # @example Example: To retrieve tag set of a specific object version
+ # @example Example: To retrieve tag set of an object
#
- # # The following example retrieves tag set of an object. The request specifies object version.
+ # # The following example retrieves tag set of an object.
#
# resp = client.get_object_tagging({
# bucket: "examplebucket",
- # key: "exampleobject",
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
+ # key: "HappyFace.jpg",
# })
#
# resp.to_h outputs the following:
# {
# tag_set: [
# {
- # key: "Key1",
- # value: "Value1",
+ # key: "Key4",
+ # value: "Value4",
+ # },
+ # {
+ # key: "Key3",
+ # value: "Value3",
# },
# ],
- # version_id: "ydlaNkwWm0SfKJR.T1b1fIdPRbldTYRI",
+ # version_id: "null",
# }
#
# @example Request syntax with placeholder values
@@ -9311,6 +9781,13 @@ def head_bucket(params = {}, options = {})
# interruptions when a session expires. For more information about
# authorization, see [ `CreateSession` ][3].
#
+ # If you enable `x-amz-checksum-mode` in the request and the object
+ # is encrypted with Amazon Web Services Key Management Service
+ # (Amazon Web Services KMS), you must also have the
+ # `kms:GenerateDataKey` and `kms:Decrypt` permissions in IAM
+ # identity-based policies and KMS key policies for the KMS key to
+ # retrieve the checksum of the object.
+ #
# Encryption
# : Encryption request headers, like `x-amz-server-side-encryption`,
# should not be sent for `HEAD` requests if your object uses
@@ -9344,9 +9821,10 @@ def head_bucket(params = {}, options = {})
# Customer-Provided Encryption Keys)][4] in the *Amazon S3 User
# Guide*.
#
- # **Directory bucket permissions** - For directory buckets, only
- # server-side encryption with Amazon S3 managed keys (SSE-S3)
- # (`AES256`) is supported.
+ # Directory bucket - For directory buckets, there are only two
+ # supported options for server-side encryption: SSE-S3 and SSE-KMS.
+ # SSE-C isn't supported. For more information, see [Protecting data
+ # with server-side encryption][5] in the *Amazon S3 User Guide*.
#
#
#
@@ -9380,15 +9858,15 @@ def head_bucket(params = {}, options = {})
# requests in the format
# `https://bucket_name.s3express-az_id.region.amazonaws.com/key-name
# `. Path-style requests are not supported. For more information, see
- # [Regional and Zonal endpoints][5] in the *Amazon S3 User Guide*.
+ # [Regional and Zonal endpoints][6] in the *Amazon S3 User Guide*.
#
#
#
# The following actions are related to `HeadObject`:
#
- # * [GetObject][6]
+ # * [GetObject][7]
#
- # * [GetObjectAttributes][7]
+ # * [GetObjectAttributes][8]
#
#
#
@@ -9396,9 +9874,10 @@ def head_bucket(params = {}, options = {})
# [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/list_amazons3.html
# [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateSession.html
# [4]: https://docs.aws.amazon.com/AmazonS3/latest/dev/ServerSideEncryptionCustomerKeys.html
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [6]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObjectAttributes.html
#
# @option params [required, String] :bucket
# The name of the bucket that contains the object.
@@ -9614,10 +10093,16 @@ def head_bucket(params = {}, options = {})
# @option params [String] :checksum_mode
# To retrieve the checksum, this parameter must be enabled.
#
- # In addition, if you enable checksum mode and the object is uploaded
- # with a [checksum][1] and encrypted with an Key Management Service
- # (KMS) key, you must have permission to use the `kms:Decrypt` action to
- # retrieve the checksum.
+ # **General purpose buckets** - If you enable checksum mode and the
+ # object is uploaded with a [checksum][1] and encrypted with an Key
+ # Management Service (KMS) key, you must have permission to use the
+ # `kms:Decrypt` action to retrieve the checksum.
+ #
+ # **Directory buckets** - If you enable `ChecksumMode` and the object is
+ # encrypted with Amazon Web Services Key Management Service (Amazon Web
+ # Services KMS), you must also have the `kms:GenerateDataKey` and
+ # `kms:Decrypt` permissions in IAM identity-based policies and KMS key
+ # policies for the KMS key to retrieve the checksum of the object.
#
#
#
@@ -12613,24 +13098,73 @@ def put_bucket_cors(params = {}, options = {})
req.send_request(options)
end
- # This operation is not supported by directory buckets.
+ # This operation configures default encryption and Amazon S3 Bucket Keys
+ # for an existing bucket.
#
- #
+ # Directory buckets - For directory buckets, you must make
+ # requests for this API operation to the Regional endpoint. These
+ # endpoints support path-style requests in the format
+ # `https://s3express-control.region_code.amazonaws.com/bucket-name `.
+ # Virtual-hosted-style requests aren't supported. For more information,
+ # see [Regional and Zonal endpoints][1] in the *Amazon S3 User Guide*.
#
- # This action uses the `encryption` subresource to configure default
- # encryption and Amazon S3 Bucket Keys for an existing bucket.
+ #
#
# By default, all buckets have a default encryption configuration that
- # uses server-side encryption with Amazon S3 managed keys (SSE-S3). You
- # can optionally configure default encryption for a bucket by using
- # server-side encryption with Key Management Service (KMS) keys
- # (SSE-KMS) or dual-layer server-side encryption with Amazon Web
- # Services KMS keys (DSSE-KMS). If you specify default encryption by
- # using SSE-KMS, you can also configure [Amazon S3 Bucket Keys][1]. If
- # you use PutBucketEncryption to set your [default bucket encryption][2]
- # to SSE-KMS, you should verify that your KMS key ID is correct. Amazon
- # S3 does not validate the KMS key ID provided in PutBucketEncryption
- # requests.
+ # uses server-side encryption with Amazon S3 managed keys (SSE-S3).
+ #
+ # * **General purpose buckets**
+ #
+ # * You can optionally configure default encryption for a bucket by
+ # using server-side encryption with Key Management Service (KMS)
+ # keys (SSE-KMS) or dual-layer server-side encryption with Amazon
+ # Web Services KMS keys (DSSE-KMS). If you specify default
+ # encryption by using SSE-KMS, you can also configure [Amazon S3
+ # Bucket Keys][2]. For information about the bucket default
+ # encryption feature, see [Amazon S3 Bucket Default Encryption][3]
+ # in the *Amazon S3 User Guide*.
+ #
+ # * If you use PutBucketEncryption to set your [default bucket
+ # encryption][3] to SSE-KMS, you should verify that your KMS key ID
+ # is correct. Amazon S3 doesn't validate the KMS key ID provided in
+ # PutBucketEncryption requests.
+ #
+ # * Directory buckets - You can optionally configure default
+ # encryption for a bucket by using server-side encryption with Key
+ # Management Service (KMS) keys (SSE-KMS).
+ #
+ # * We recommend that the bucket's default encryption uses the
+ # desired encryption configuration and you don't override the
+ # bucket default encryption in your `CreateSession` requests or
+ # `PUT` object requests. Then, new objects are automatically
+ # encrypted with the desired encryption settings. For more
+ # information about the encryption overriding behaviors in directory
+ # buckets, see [Specifying server-side encryption with KMS for new
+ # object uploads][4].
+ #
+ # * Your SSE-KMS configuration can only support 1 [customer managed
+ # key][5] per directory bucket for the lifetime of the bucket.
+ # [Amazon Web Services managed key][6] (`aws/s3`) isn't supported.
+ #
+ # * S3 Bucket Keys are always enabled for `GET` and `PUT` operations
+ # in a directory bucket and can’t be disabled. S3 Bucket Keys
+ # aren't supported, when you copy SSE-KMS encrypted objects from
+ # general purpose buckets to directory buckets, from directory
+ # buckets to general purpose buckets, or between directory buckets,
+ # through [CopyObject][7], [UploadPartCopy][8], [the Copy operation
+ # in Batch Operations][9], or [the import jobs][10]. In this case,
+ # Amazon S3 makes a call to KMS every time a copy request is made
+ # for a KMS-encrypted object.
+ #
+ # * When you specify an [KMS customer managed key][5] for encryption
+ # in your directory bucket, only use the key ID or key ARN. The key
+ # alias format of the KMS key isn't supported.
+ #
+ # * For directory buckets, if you use PutBucketEncryption to set your
+ # [default bucket encryption][3] to SSE-KMS, Amazon S3 validates the
+ # KMS key ID provided in PutBucketEncryption requests.
+ #
+ #
#
# If you're specifying a customer managed KMS key, we recommend using a
# fully qualified KMS key ARN. If you use a KMS key alias instead, then
@@ -12640,45 +13174,80 @@ def put_bucket_cors(params = {}, options = {})
#
# Also, this action requires Amazon Web Services Signature Version 4.
# For more information, see [ Authenticating Requests (Amazon Web
- # Services Signature Version 4)][3].
+ # Services Signature Version 4)][11].
#
- # To use this operation, you must have permission to perform the
- # `s3:PutEncryptionConfiguration` action. The bucket owner has this
- # permission by default. The bucket owner can grant this permission to
- # others. For more information about permissions, see [Permissions
- # Related to Bucket Subresource Operations][4] and [Managing Access
- # Permissions to Your Amazon S3 Resources][5] in the *Amazon S3 User
- # Guide*.
+ # Permissions
+ # : * **General purpose bucket permissions** - The
+ # `s3:PutEncryptionConfiguration` permission is required in a
+ # policy. The bucket owner has this permission by default. The
+ # bucket owner can grant this permission to others. For more
+ # information about permissions, see [Permissions Related to Bucket
+ # Operations][12] and [Managing Access Permissions to Your Amazon S3
+ # Resources][13] in the *Amazon S3 User Guide*.
+ #
+ # * **Directory bucket permissions** - To grant access to this API
+ # operation, you must have the
+ # `s3express:PutEncryptionConfiguration` permission in an IAM
+ # identity-based policy instead of a bucket policy. Cross-account
+ # access to this API operation isn't supported. This operation can
+ # only be performed by the Amazon Web Services account that owns the
+ # resource. For more information about directory bucket policies and
+ # permissions, see [Amazon Web Services Identity and Access
+ # Management (IAM) for S3 Express One Zone][14] in the *Amazon S3
+ # User Guide*.
+ #
+ # To set a directory bucket default encryption with SSE-KMS, you
+ # must also have the `kms:GenerateDataKey` and the `kms:Decrypt`
+ # permissions in IAM identity-based policies and KMS key policies
+ # for the target KMS key.
+ #
+ # HTTP Host header syntax
+ #
+ # : Directory buckets - The HTTP Host header syntax is
+ # `s3express-control.region.amazonaws.com`.
#
# The following operations are related to `PutBucketEncryption`:
#
- # * [GetBucketEncryption][6]
+ # * [GetBucketEncryption][15]
#
- # * [DeleteBucketEncryption][7]
+ # * [DeleteBucketEncryption][16]
#
#
#
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
- # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
- # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
- # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
- # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
- # [6]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html
- # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-Regions-and-Zones.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [5]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [6]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
+ # [7]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [8]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [9]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [10]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
+ # [11]: https://docs.aws.amazon.com/AmazonS3/latest/API/sig-v4-authenticating-requests.html
+ # [12]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/using-with-s3-actions.html#using-with-s3-actions-related-to-bucket-subresources
+ # [13]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-access-control.html
+ # [14]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam.html
+ # [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetBucketEncryption.html
+ # [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_DeleteBucketEncryption.html
#
# @option params [required, String] :bucket
# Specifies default encryption for a bucket using server-side encryption
- # with different key options. By default, all buckets have a default
- # encryption configuration that uses server-side encryption with Amazon
- # S3 managed keys (SSE-S3). You can optionally configure default
- # encryption for a bucket by using server-side encryption with an Amazon
- # Web Services KMS key (SSE-KMS) or a customer-provided key (SSE-C). For
- # information about the bucket default encryption feature, see [Amazon
- # S3 Bucket Default Encryption][1] in the *Amazon S3 User Guide*.
+ # with different key options.
+ #
+ # Directory buckets - When you use this operation with a
+ # directory bucket, you must use path-style requests in the format
+ # `https://s3express-control.region_code.amazonaws.com/bucket-name `.
+ # Virtual-hosted-style requests aren't supported. Directory bucket
+ # names must be unique in the chosen Availability Zone. Bucket names
+ # must also follow the format ` bucket_base_name--az_id--x-s3` (for
+ # example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information about
+ # bucket naming restrictions, see [Directory bucket naming rules][1] in
+ # the *Amazon S3 User Guide*
#
#
#
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
#
# @option params [String] :content_md5
# The base64-encoded 128-bit MD5 digest of the server-side encryption
@@ -12688,6 +13257,10 @@ def put_bucket_cors(params = {}, options = {})
# (CLI) or Amazon Web Services SDKs, this field is calculated
# automatically.
#
+ # This functionality is not supported for directory buckets.
+ #
+ #
+ #
# @option params [String] :checksum_algorithm
# Indicates the algorithm used to create the checksum for the object
# when you use the SDK. This header will not provide any additional
@@ -12700,6 +13273,11 @@ def put_bucket_cors(params = {}, options = {})
# If you provide an individual checksum, Amazon S3 ignores any provided
# `ChecksumAlgorithm` parameter.
#
+ # For directory buckets, when you use Amazon Web Services SDKs, `CRC32`
+ # is the default checksum algorithm that's used for performance.
+ #
+ #
+ #
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -12712,6 +13290,12 @@ def put_bucket_cors(params = {}, options = {})
# you provide does not match the actual owner of the bucket, the request
# fails with the HTTP status code `403 Forbidden` (access denied).
#
+ # For directory buckets, this header is not supported in this API
+ # operation. If you specify this header, the request fails with the HTTP
+ # status code `501 Not Implemented`.
+ #
+ #
+ #
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
# @example Request syntax with placeholder values
@@ -15109,6 +15693,10 @@ def put_bucket_website(params = {}, options = {})
# interruptions when a session expires. For more information about
# authorization, see [ `CreateSession` ][5].
#
+ # If the object is encrypted with SSE-KMS, you must also have the
+ # `kms:GenerateDataKey` and `kms:Decrypt` permissions in IAM
+ # identity-based policies and KMS key policies for the KMS key.
+ #
# Data integrity with Content-MD5
# : * **General purpose bucket** - To ensure that data is not corrupted
# traversing the network, use the `Content-MD5` header. When you use
@@ -15458,25 +16046,65 @@ def put_bucket_website(params = {}, options = {})
# object in Amazon S3 (for example, `AES256`, `aws:kms`,
# `aws:kms:dsse`).
#
- # General purpose buckets - You have four mutually exclusive
- # options to protect data using server-side encryption in Amazon S3,
- # depending on how you choose to manage the encryption keys.
- # Specifically, the encryption key options are Amazon S3 managed keys
- # (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and
- # customer-provided keys (SSE-C). Amazon S3 encrypts data with
- # server-side encryption by using Amazon S3 managed keys (SSE-S3) by
- # default. You can optionally tell Amazon S3 to encrypt data at rest by
- # using server-side encryption with other key options. For more
- # information, see [Using Server-Side Encryption][1] in the *Amazon S3
- # User Guide*.
+ # * General purpose buckets - You have four mutually exclusive
+ # options to protect data using server-side encryption in Amazon S3,
+ # depending on how you choose to manage the encryption keys.
+ # Specifically, the encryption key options are Amazon S3 managed keys
+ # (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and
+ # customer-provided keys (SSE-C). Amazon S3 encrypts data with
+ # server-side encryption by using Amazon S3 managed keys (SSE-S3) by
+ # default. You can optionally tell Amazon S3 to encrypt data at rest
+ # by using server-side encryption with other key options. For more
+ # information, see [Using Server-Side Encryption][1] in the *Amazon S3
+ # User Guide*.
#
- # Directory buckets - For directory buckets, only the
- # server-side encryption with Amazon S3 managed keys (SSE-S3) (`AES256`)
- # value is supported.
+ # * Directory buckets - For directory buckets, there are only
+ # two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). We
+ # recommend that the bucket's default encryption uses the desired
+ # encryption configuration and you don't override the bucket default
+ # encryption in your `CreateSession` requests or `PUT` object
+ # requests. Then, new objects are automatically encrypted with the
+ # desired encryption settings. For more information, see [Protecting
+ # data with server-side encryption][2] in the *Amazon S3 User Guide*.
+ # For more information about the encryption overriding behaviors in
+ # directory buckets, see [Specifying server-side encryption with KMS
+ # for new object uploads][3].
+ #
+ # In the Zonal endpoint API calls (except [CopyObject][4] and
+ # [UploadPartCopy][5]) using the REST API, the encryption request
+ # headers must match the encryption settings that are specified in the
+ # `CreateSession` request. You can't override the values of the
+ # encryption settings (`x-amz-server-side-encryption`,
+ # `x-amz-server-side-encryption-aws-kms-key-id`,
+ # `x-amz-server-side-encryption-context`, and
+ # `x-amz-server-side-encryption-bucket-key-enabled`) that are
+ # specified in the `CreateSession` request. You don't need to
+ # explicitly specify these encryption settings values in Zonal
+ # endpoint API calls, and Amazon S3 will use the encryption settings
+ # values from the `CreateSession` request to protect new objects in
+ # the directory bucket.
+ #
+ # When you use the CLI or the Amazon Web Services SDKs, for
+ # `CreateSession`, the session token refreshes automatically to avoid
+ # service interruptions when a session expires. The CLI or the Amazon
+ # Web Services SDKs use the bucket's default encryption configuration
+ # for the `CreateSession` request. It's not supported to override the
+ # encryption settings values in the `CreateSession` request. So in the
+ # Zonal endpoint API calls (except [CopyObject][4] and
+ # [UploadPartCopy][5]), the encryption request headers must match the
+ # default encryption configuration of the directory bucket.
+ #
+ #
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
#
# @option params [String] :storage_class
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
@@ -15556,46 +16184,83 @@ def put_bucket_website(params = {}, options = {})
#
#
# @option params [String] :ssekms_key_id
- # If `x-amz-server-side-encryption` has a valid value of `aws:kms` or
- # `aws:kms:dsse`, this header specifies the ID (Key ID, Key ARN, or Key
- # Alias) of the Key Management Service (KMS) symmetric encryption
- # customer managed key that was used for the object. If you specify
- # `x-amz-server-side-encryption:aws:kms` or
- # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide`
- # x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
- # Amazon Web Services managed key (`aws/s3`) to protect the data. If the
- # KMS key does not exist in the same account that's issuing the
- # command, you must use the full ARN and not just the ID.
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. If the KMS key doesn't exist in the same account
+ # that's issuing the command, you must use the full Key ARN not the Key
+ # ID.
+ #
+ # **General purpose buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`, this
+ # header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key
+ # to use. If you specify `x-amz-server-side-encryption:aws:kms` or
+ # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide
+ # `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
+ # Amazon Web Services managed key (`aws/s3`) to protect the data.
+ #
+ # **Directory buckets** - If you specify `x-amz-server-side-encryption`
+ # with `aws:kms`, you must specify the `
+ # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
+ # ID or Key ARN) of the KMS symmetric encryption customer managed key to
+ # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
+ # key ID or key ARN. The key alias format of the KMS key isn't
+ # supported. Your SSE-KMS configuration can only support 1 [customer
+ # managed key][1] per directory bucket for the lifetime of the bucket.
+ # [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
#
- # This functionality is not supported for directory buckets.
+ # @option params [String] :ssekms_encryption_context
+ # Specifies the Amazon Web Services KMS Encryption Context as an
+ # additional encryption context to use for object encryption. The value
+ # of this header is a Base64-encoded string of a UTF-8 encoded JSON,
+ # which contains the encryption context as key-value pairs. This value
+ # is stored as object metadata and automatically gets passed on to
+ # Amazon Web Services KMS for future `GetObject` operations on this
+ # object.
#
- #
+ # **General purpose buckets** - This value must be explicitly added
+ # during `CopyObject` operations if you want an additional encryption
+ # context for your object. For more information, see [Encryption
+ # context][1] in the *Amazon S3 User Guide*.
#
- # @option params [String] :ssekms_encryption_context
- # Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded UTF-8
- # string holding JSON with the encryption context key-value pairs. This
- # value is stored as object metadata and automatically gets passed on to
- # Amazon Web Services KMS for future `GetObject` or `CopyObject`
- # operations on this object. This value must be explicitly added during
- # `CopyObject` operations.
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default encryption
+ # context - the bucket Amazon Resource Name (ARN). An additional
+ # encryption context value is not supported.
#
- # This functionality is not supported for directory buckets.
#
- #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context
#
# @option params [Boolean] :bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
# encryption with server-side encryption using Key Management Service
- # (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
- # to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # (KMS) keys (SSE-KMS).
+ #
+ # **General purpose buckets** - Setting this header to `true` causes
+ # Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # Also, specifying this header with a PUT action doesn't affect
+ # bucket-level settings for S3 Bucket Key.
#
- # Specifying this header with a PUT action doesn’t affect bucket-level
- # settings for S3 Bucket Key.
+ # **Directory buckets** - S3 Bucket Keys are always enabled for `GET`
+ # and `PUT` operations in a directory bucket and can’t be disabled. S3
+ # Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects
+ # from general purpose buckets to directory buckets, from directory
+ # buckets to general purpose buckets, or between directory buckets,
+ # through [CopyObject][1], [UploadPartCopy][2], [the Copy operation in
+ # Batch Operations][3], or [the import jobs][4]. In this case, Amazon S3
+ # makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
#
- # This functionality is not supported for directory buckets.
#
- #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
#
# @option params [String] :request_payer
# Confirms that the requester knows that they will be charged for the
@@ -15673,24 +16338,22 @@ def put_bucket_website(params = {}, options = {})
# * {Types::PutObjectOutput#request_charged #request_charged} => String
#
#
- # @example Example: To upload an object (specify optional headers)
+ # @example Example: To upload an object and specify optional tags
#
- # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
- # # storage class and use server-side encryption.
+ # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
+ # # S3 returns version ID of the newly created object.
#
# resp = client.put_object({
- # body: "HappyFace.jpg",
+ # body: "c:\\HappyFace.jpg",
# bucket: "examplebucket",
# key: "HappyFace.jpg",
- # server_side_encryption: "AES256",
- # storage_class: "STANDARD_IA",
+ # tagging: "key1=value1&key2=value2",
# })
#
# resp.to_h outputs the following:
# {
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
- # server_side_encryption: "AES256",
- # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
+ # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
# }
#
# @example Example: To create an object.
@@ -15709,98 +16372,100 @@ def put_bucket_website(params = {}, options = {})
# version_id: "Bvq0EDKxOcXLJXNo_Lkz37eM3R4pfzyQ",
# }
#
- # @example Example: To upload an object
+ # @example Example: To upload object and specify user-defined metadata
#
- # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
- # # syntax. S3 returns VersionId of the newly created object.
+ # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
+ # # enabled, S3 returns version ID in response.
#
# resp = client.put_object({
- # body: "HappyFace.jpg",
+ # body: "filetoupload",
# bucket: "examplebucket",
- # key: "HappyFace.jpg",
+ # key: "exampleobject",
+ # metadata: {
+ # "metadata1" => "value1",
+ # "metadata2" => "value2",
+ # },
# })
#
# resp.to_h outputs the following:
# {
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
- # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
+ # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
# }
#
- # @example Example: To upload an object and specify optional tags
+ # @example Example: To upload an object
#
- # # The following example uploads an object. The request specifies optional object tags. The bucket is versioned, therefore
- # # S3 returns version ID of the newly created object.
+ # # The following example uploads an object to a versioning-enabled bucket. The source file is specified using Windows file
+ # # syntax. S3 returns VersionId of the newly created object.
#
# resp = client.put_object({
- # body: "c:\\HappyFace.jpg",
+ # body: "HappyFace.jpg",
# bucket: "examplebucket",
# key: "HappyFace.jpg",
- # tagging: "key1=value1&key2=value2",
# })
#
# resp.to_h outputs the following:
# {
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
- # version_id: "psM2sYY4.o1501dSx8wMvnkOzSBB.V4a",
+ # version_id: "tpf3zF08nBplQK1XLOefGskR7mGDwcDk",
# }
#
- # @example Example: To upload an object and specify canned ACL.
+ # @example Example: To upload an object and specify server-side encryption and object tags
#
- # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
- # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
+ # # The following example uploads an object. The request specifies the optional server-side encryption option. The request
+ # # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
#
# resp = client.put_object({
- # acl: "authenticated-read",
# body: "filetoupload",
# bucket: "examplebucket",
# key: "exampleobject",
+ # server_side_encryption: "AES256",
+ # tagging: "key1=value1&key2=value2",
# })
#
# resp.to_h outputs the following:
# {
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
- # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
+ # server_side_encryption: "AES256",
+ # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
# }
#
- # @example Example: To upload object and specify user-defined metadata
+ # @example Example: To upload an object and specify canned ACL.
#
- # # The following example creates an object. The request also specifies optional metadata. If the bucket is versioning
- # # enabled, S3 returns version ID in response.
+ # # The following example uploads and object. The request specifies optional canned ACL (access control list) to all READ
+ # # access to authenticated users. If the bucket is versioning enabled, S3 returns version ID in response.
#
# resp = client.put_object({
+ # acl: "authenticated-read",
# body: "filetoupload",
# bucket: "examplebucket",
# key: "exampleobject",
- # metadata: {
- # "metadata1" => "value1",
- # "metadata2" => "value2",
- # },
# })
#
# resp.to_h outputs the following:
# {
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
- # version_id: "pSKidl4pHBiNwukdbcPXAIs.sshFFOc0",
+ # version_id: "Kirh.unyZwjQ69YxcQLA8z4F5j3kJJKr",
# }
#
- # @example Example: To upload an object and specify server-side encryption and object tags
+ # @example Example: To upload an object (specify optional headers)
#
- # # The following example uploads an object. The request specifies the optional server-side encryption option. The request
- # # also specifies optional object tags. If the bucket is versioning enabled, S3 returns version ID in response.
+ # # The following example uploads an object. The request specifies optional request headers to directs S3 to use specific
+ # # storage class and use server-side encryption.
#
# resp = client.put_object({
- # body: "filetoupload",
+ # body: "HappyFace.jpg",
# bucket: "examplebucket",
- # key: "exampleobject",
+ # key: "HappyFace.jpg",
# server_side_encryption: "AES256",
- # tagging: "key1=value1&key2=value2",
+ # storage_class: "STANDARD_IA",
# })
#
# resp.to_h outputs the following:
# {
# etag: "\"6805f2cfc46c0f04559748bb039d69ae\"",
# server_side_encryption: "AES256",
- # version_id: "Ri.vC6qVlA4dEnjgRV4ZHsHoFIjqEMNt",
+ # version_id: "CG612hodqujkf8FaaNfp8U..FIhLROcp",
# }
#
# @example Streaming a file from disk
@@ -17813,6 +18478,10 @@ def select_object_content(params = {}, options = {}, &block)
# interruptions when a session expires. For more information about
# authorization, see [ `CreateSession` ][9].
#
+ # If the object is encrypted with SSE-KMS, you must also have the
+ # `kms:GenerateDataKey` and `kms:Decrypt` permissions in IAM
+ # identity-based policies and KMS key policies for the KMS key.
+ #
# Data integrity
#
# : **General purpose bucket** - To ensure that data is not corrupted
@@ -17864,12 +18533,13 @@ def select_object_content(params = {}, options = {}, &block)
#
# * x-amz-server-side-encryption-customer-key-MD5
#
- # * **Directory bucket** - For directory buckets, only server-side
- # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) is
- # supported.
+ # For more information, see [Using Server-Side Encryption][11] in
+ # the *Amazon S3 User Guide*.
#
- # For more information, see [Using Server-Side Encryption][11] in the
- # *Amazon S3 User Guide*.
+ # * Directory buckets - For directory buckets, there are only
+ # two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`).
#
# Special errors
# : * Error Code: `NoSuchUpload`
@@ -18282,6 +18952,10 @@ def upload_part(params = {}, options = {})
# destination. The `s3express:SessionMode` condition key cannot be
# set to `ReadOnly` on the copy destination.
#
+ # If the object is encrypted with SSE-KMS, you must also have the
+ # `kms:GenerateDataKey` and `kms:Decrypt` permissions in IAM
+ # identity-based policies and KMS key policies for the KMS key.
+ #
# For example policies, see [Example bucket policies for S3 Express
# One Zone][10] and [Amazon Web Services Identity and Access
# Management (IAM) identity-based policies for S3 Express One
@@ -18293,9 +18967,26 @@ def upload_part(params = {}, options = {})
# the `UploadPartCopy` operation, see [CopyObject][12] and
# [UploadPart][2].
#
- # * Directory buckets - For directory buckets, only
- # server-side encryption with Amazon S3 managed keys (SSE-S3)
- # (`AES256`) is supported.
+ # * Directory buckets - For directory buckets, there are only
+ # two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). For
+ # more information, see [Protecting data with server-side
+ # encryption][13] in the *Amazon S3 User Guide*.
+ #
+ # For directory buckets, when you perform a `CreateMultipartUpload`
+ # operation and an `UploadPartCopy` operation, the request headers
+ # you provide in the `CreateMultipartUpload` request must match the
+ # default encryption configuration of the destination bucket.
+ #
+ #
+ #
+ # S3 Bucket Keys aren't supported, when you copy SSE-KMS encrypted
+ # objects from general purpose buckets to directory buckets, from
+ # directory buckets to general purpose buckets, or between directory
+ # buckets, through [UploadPartCopy][14]. In this case, Amazon S3
+ # makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
#
# Special errors
# : * Error Code: `NoSuchUpload`
@@ -18320,17 +19011,17 @@ def upload_part(params = {}, options = {})
#
# The following operations are related to `UploadPartCopy`:
#
- # * [CreateMultipartUpload][13]
+ # * [CreateMultipartUpload][15]
#
# * [UploadPart][2]
#
- # * [CompleteMultipartUpload][14]
+ # * [CompleteMultipartUpload][16]
#
- # * [AbortMultipartUpload][15]
+ # * [AbortMultipartUpload][17]
#
- # * [ListParts][16]
+ # * [ListParts][18]
#
- # * [ListMultipartUploads][17]
+ # * [ListMultipartUploads][19]
#
#
#
@@ -18346,11 +19037,13 @@ def upload_part(params = {}, options = {})
# [10]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-example-bucket-policies.html
# [11]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-security-iam-identity-policies.html
# [12]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
- # [13]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html
- # [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html
- # [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html
- # [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
- # [17]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html
+ # [13]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [14]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [15]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html
+ # [16]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CompleteMultipartUpload.html
+ # [17]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_AbortMultipartUpload.html
+ # [18]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListParts.html
+ # [19]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListMultipartUploads.html
#
# @option params [required, String] :bucket
# The bucket name.
@@ -18636,45 +19329,45 @@ def upload_part(params = {}, options = {})
# * {Types::UploadPartCopyOutput#request_charged #request_charged} => String
#
#
- # @example Example: To upload a part by copying data from an existing object as data source
+ # @example Example: To upload a part by copying byte range from an existing object as data source
#
- # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
+ # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
+ # # data source.
#
# resp = client.upload_part_copy({
# bucket: "examplebucket",
# copy_source: "/bucketname/sourceobjectkey",
+ # copy_source_range: "bytes=1-100000",
# key: "examplelargeobject",
- # part_number: 1,
+ # part_number: 2,
# upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
# })
#
# resp.to_h outputs the following:
# {
# copy_part_result: {
- # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
- # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
+ # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
+ # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
# },
# }
#
- # @example Example: To upload a part by copying byte range from an existing object as data source
+ # @example Example: To upload a part by copying data from an existing object as data source
#
- # # The following example uploads a part of a multipart upload by copying a specified byte range from an existing object as
- # # data source.
+ # # The following example uploads a part of a multipart upload by copying data from an existing object as data source.
#
# resp = client.upload_part_copy({
# bucket: "examplebucket",
# copy_source: "/bucketname/sourceobjectkey",
- # copy_source_range: "bytes=1-100000",
# key: "examplelargeobject",
- # part_number: 2,
+ # part_number: 1,
# upload_id: "exampleuoh_10OhKhT7YukE9bjzTPRiuaCotmZM_pFngJFir9OZNrSr5cWa3cq3LZSUsfjI4FI7PkP91We7Nrw--",
# })
#
# resp.to_h outputs the following:
# {
# copy_part_result: {
- # etag: "\"65d16d19e65a7508a51f043180edcc36\"",
- # last_modified: Time.parse("2016-12-29T21:44:28.000Z"),
+ # etag: "\"b0c6f0e7e054ab8fa2536a2677f8734d\"",
+ # last_modified: Time.parse("2016-12-29T21:24:43.000Z"),
# },
# }
#
@@ -19136,7 +19829,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-s3'
- context[:gem_version] = '1.161.0'
+ context[:gem_version] = '1.163.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3/client_api.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3/client_api.rb
index f25f8052631..675dc75489f 100644
--- a/gems/aws-sdk-s3/lib/aws-sdk-s3/client_api.rb
+++ b/gems/aws-sdk-s3/lib/aws-sdk-s3/client_api.rb
@@ -940,11 +940,19 @@ module ClientApi
CreateMultipartUploadRequest.add_member(:checksum_algorithm, Shapes::ShapeRef.new(shape: ChecksumAlgorithm, location: "header", location_name: "x-amz-checksum-algorithm"))
CreateMultipartUploadRequest.struct_class = Types::CreateMultipartUploadRequest
+ CreateSessionOutput.add_member(:server_side_encryption, Shapes::ShapeRef.new(shape: ServerSideEncryption, location: "header", location_name: "x-amz-server-side-encryption"))
+ CreateSessionOutput.add_member(:ssekms_key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, location: "header", location_name: "x-amz-server-side-encryption-aws-kms-key-id"))
+ CreateSessionOutput.add_member(:ssekms_encryption_context, Shapes::ShapeRef.new(shape: SSEKMSEncryptionContext, location: "header", location_name: "x-amz-server-side-encryption-context"))
+ CreateSessionOutput.add_member(:bucket_key_enabled, Shapes::ShapeRef.new(shape: BucketKeyEnabled, location: "header", location_name: "x-amz-server-side-encryption-bucket-key-enabled"))
CreateSessionOutput.add_member(:credentials, Shapes::ShapeRef.new(shape: SessionCredentials, required: true, location_name: "Credentials"))
CreateSessionOutput.struct_class = Types::CreateSessionOutput
CreateSessionRequest.add_member(:session_mode, Shapes::ShapeRef.new(shape: SessionMode, location: "header", location_name: "x-amz-create-session-mode"))
CreateSessionRequest.add_member(:bucket, Shapes::ShapeRef.new(shape: BucketName, required: true, location: "uri", location_name: "Bucket", metadata: {"contextParam"=>{"name"=>"Bucket"}}))
+ CreateSessionRequest.add_member(:server_side_encryption, Shapes::ShapeRef.new(shape: ServerSideEncryption, location: "header", location_name: "x-amz-server-side-encryption"))
+ CreateSessionRequest.add_member(:ssekms_key_id, Shapes::ShapeRef.new(shape: SSEKMSKeyId, location: "header", location_name: "x-amz-server-side-encryption-aws-kms-key-id"))
+ CreateSessionRequest.add_member(:ssekms_encryption_context, Shapes::ShapeRef.new(shape: SSEKMSEncryptionContext, location: "header", location_name: "x-amz-server-side-encryption-context"))
+ CreateSessionRequest.add_member(:bucket_key_enabled, Shapes::ShapeRef.new(shape: BucketKeyEnabled, location: "header", location_name: "x-amz-server-side-encryption-bucket-key-enabled"))
CreateSessionRequest.struct_class = Types::CreateSessionRequest
DefaultRetention.add_member(:mode, Shapes::ShapeRef.new(shape: ObjectLockRetentionMode, location_name: "Mode"))
diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3/endpoints.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3/endpoints.rb
index c3d412721a4..2023cf2548a 100644
--- a/gems/aws-sdk-s3/lib/aws-sdk-s3/endpoints.rb
+++ b/gems/aws-sdk-s3/lib/aws-sdk-s3/endpoints.rb
@@ -14,15 +14,12 @@ module Endpoints
class AbortMultipartUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -41,15 +38,12 @@ def self.build(context)
class CompleteMultipartUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -68,15 +62,12 @@ def self.build(context)
class CopyObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -95,15 +86,12 @@ def self.build(context)
class CreateBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -122,15 +110,12 @@ def self.build(context)
class CreateMultipartUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -149,15 +134,12 @@ def self.build(context)
class CreateSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -176,15 +158,12 @@ def self.build(context)
class DeleteBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -203,15 +182,12 @@ def self.build(context)
class DeleteBucketAnalyticsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -230,15 +206,12 @@ def self.build(context)
class DeleteBucketCors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -257,15 +230,12 @@ def self.build(context)
class DeleteBucketEncryption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -284,15 +254,12 @@ def self.build(context)
class DeleteBucketIntelligentTieringConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -311,15 +278,12 @@ def self.build(context)
class DeleteBucketInventoryConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -338,15 +302,12 @@ def self.build(context)
class DeleteBucketLifecycle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -365,15 +326,12 @@ def self.build(context)
class DeleteBucketMetricsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -392,15 +350,12 @@ def self.build(context)
class DeleteBucketOwnershipControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -419,15 +374,12 @@ def self.build(context)
class DeleteBucketPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -446,15 +398,12 @@ def self.build(context)
class DeleteBucketReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -473,15 +422,12 @@ def self.build(context)
class DeleteBucketTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -500,15 +446,12 @@ def self.build(context)
class DeleteBucketWebsite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -527,15 +470,12 @@ def self.build(context)
class DeleteObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -554,15 +494,12 @@ def self.build(context)
class DeleteObjectTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -581,15 +518,12 @@ def self.build(context)
class DeleteObjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -608,15 +542,12 @@ def self.build(context)
class DeletePublicAccessBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -635,15 +566,12 @@ def self.build(context)
class GetBucketAccelerateConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -662,15 +590,12 @@ def self.build(context)
class GetBucketAcl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -689,15 +614,12 @@ def self.build(context)
class GetBucketAnalyticsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -716,15 +638,12 @@ def self.build(context)
class GetBucketCors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -743,15 +662,12 @@ def self.build(context)
class GetBucketEncryption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -770,15 +686,12 @@ def self.build(context)
class GetBucketIntelligentTieringConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -797,15 +710,12 @@ def self.build(context)
class GetBucketInventoryConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -824,15 +734,12 @@ def self.build(context)
class GetBucketLifecycle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -851,15 +758,12 @@ def self.build(context)
class GetBucketLifecycleConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -878,15 +782,12 @@ def self.build(context)
class GetBucketLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -905,15 +806,12 @@ def self.build(context)
class GetBucketLogging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -932,15 +830,12 @@ def self.build(context)
class GetBucketMetricsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -959,15 +854,12 @@ def self.build(context)
class GetBucketNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -986,15 +878,12 @@ def self.build(context)
class GetBucketNotificationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1013,15 +902,12 @@ def self.build(context)
class GetBucketOwnershipControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1040,15 +926,12 @@ def self.build(context)
class GetBucketPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1067,15 +950,12 @@ def self.build(context)
class GetBucketPolicyStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1094,15 +974,12 @@ def self.build(context)
class GetBucketReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1121,15 +998,12 @@ def self.build(context)
class GetBucketRequestPayment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1148,15 +1022,12 @@ def self.build(context)
class GetBucketTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1175,15 +1046,12 @@ def self.build(context)
class GetBucketVersioning
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1202,15 +1070,12 @@ def self.build(context)
class GetBucketWebsite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1229,15 +1094,12 @@ def self.build(context)
class GetObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1256,15 +1118,12 @@ def self.build(context)
class GetObjectAcl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1283,15 +1142,12 @@ def self.build(context)
class GetObjectAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1310,15 +1166,12 @@ def self.build(context)
class GetObjectLegalHold
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1337,15 +1190,12 @@ def self.build(context)
class GetObjectLockConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1364,15 +1214,12 @@ def self.build(context)
class GetObjectRetention
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1391,15 +1238,12 @@ def self.build(context)
class GetObjectTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1418,15 +1262,12 @@ def self.build(context)
class GetObjectTorrent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1445,15 +1286,12 @@ def self.build(context)
class GetPublicAccessBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1472,15 +1310,12 @@ def self.build(context)
class HeadBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1499,15 +1334,12 @@ def self.build(context)
class HeadObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1526,15 +1358,12 @@ def self.build(context)
class ListBucketAnalyticsConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1553,15 +1382,12 @@ def self.build(context)
class ListBucketIntelligentTieringConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1580,15 +1406,12 @@ def self.build(context)
class ListBucketInventoryConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1607,15 +1430,12 @@ def self.build(context)
class ListBucketMetricsConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1634,15 +1454,12 @@ def self.build(context)
class ListBuckets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: nil,
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1661,15 +1478,12 @@ def self.build(context)
class ListDirectoryBuckets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: nil,
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1688,15 +1502,12 @@ def self.build(context)
class ListMultipartUploads
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1715,15 +1526,12 @@ def self.build(context)
class ListObjectVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1742,15 +1550,12 @@ def self.build(context)
class ListObjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1769,15 +1574,12 @@ def self.build(context)
class ListObjectsV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1796,15 +1598,12 @@ def self.build(context)
class ListParts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1823,15 +1622,12 @@ def self.build(context)
class PutBucketAccelerateConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1850,15 +1646,12 @@ def self.build(context)
class PutBucketAcl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1877,15 +1670,12 @@ def self.build(context)
class PutBucketAnalyticsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1904,15 +1694,12 @@ def self.build(context)
class PutBucketCors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1931,15 +1718,12 @@ def self.build(context)
class PutBucketEncryption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1958,15 +1742,12 @@ def self.build(context)
class PutBucketIntelligentTieringConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -1985,15 +1766,12 @@ def self.build(context)
class PutBucketInventoryConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2012,15 +1790,12 @@ def self.build(context)
class PutBucketLifecycle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2039,15 +1814,12 @@ def self.build(context)
class PutBucketLifecycleConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2066,15 +1838,12 @@ def self.build(context)
class PutBucketLogging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2093,15 +1862,12 @@ def self.build(context)
class PutBucketMetricsConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2120,15 +1886,12 @@ def self.build(context)
class PutBucketNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2147,15 +1910,12 @@ def self.build(context)
class PutBucketNotificationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2174,15 +1934,12 @@ def self.build(context)
class PutBucketOwnershipControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2201,15 +1958,12 @@ def self.build(context)
class PutBucketPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2228,15 +1982,12 @@ def self.build(context)
class PutBucketReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2255,15 +2006,12 @@ def self.build(context)
class PutBucketRequestPayment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2282,15 +2030,12 @@ def self.build(context)
class PutBucketTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2309,15 +2054,12 @@ def self.build(context)
class PutBucketVersioning
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2336,15 +2078,12 @@ def self.build(context)
class PutBucketWebsite
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2363,15 +2102,12 @@ def self.build(context)
class PutObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2390,15 +2126,12 @@ def self.build(context)
class PutObjectAcl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2417,15 +2150,12 @@ def self.build(context)
class PutObjectLegalHold
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2444,15 +2174,12 @@ def self.build(context)
class PutObjectLockConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2471,15 +2198,12 @@ def self.build(context)
class PutObjectRetention
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2498,15 +2222,12 @@ def self.build(context)
class PutObjectTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2525,15 +2246,12 @@ def self.build(context)
class PutPublicAccessBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2552,15 +2270,12 @@ def self.build(context)
class RestoreObject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2579,15 +2294,12 @@ def self.build(context)
class SelectObjectContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2606,15 +2318,12 @@ def self.build(context)
class UploadPart
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2633,15 +2342,12 @@ def self.build(context)
class UploadPartCopy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: context.params[:bucket],
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
@@ -2660,15 +2366,12 @@ def self.build(context)
class WriteGetObjectResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3::EndpointParameters.new(
bucket: nil,
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
force_path_style: context.config.force_path_style,
accelerate: context[:use_accelerate_endpoint],
use_global_endpoint: context.config.s3_us_east_1_regional_endpoint == 'legacy',
diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3/object.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3/object.rb
index c94b71a35c8..c567acfb6d4 100644
--- a/gems/aws-sdk-s3/lib/aws-sdk-s3/object.rb
+++ b/gems/aws-sdk-s3/lib/aws-sdk-s3/object.rb
@@ -288,11 +288,6 @@ def website_redirect_location
# The server-side encryption algorithm used when you store this object
# in Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
- #
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
# @return [String]
def server_side_encryption
data[:server_side_encryption]
@@ -329,13 +324,8 @@ def sse_customer_key_md5
data[:sse_customer_key_md5]
end
- # If present, indicates the ID of the Key Management Service (KMS)
- # symmetric encryption customer managed key that was used for the
- # object.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # If present, indicates the ID of the KMS key that was used for object
+ # encryption.
# @return [String]
def ssekms_key_id
data[:ssekms_key_id]
@@ -343,10 +333,6 @@ def ssekms_key_id
# Indicates whether the object uses an S3 Bucket Key for server-side
# encryption with Key Management Service (KMS) keys (SSE-KMS).
- #
- # This functionality is not supported for directory buckets.
- #
- #
# @return [Boolean]
def bucket_key_enabled
data[:bucket_key_enabled]
@@ -1031,9 +1017,8 @@ def wait_until(options = {}, &block)
#
# @option options [String] :server_side_encryption
# The server-side encryption algorithm used when storing this object in
- # Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
- # Unrecognized or unsupported values won’t write a destination object
- # and will receive a `400 Bad Request` response.
+ # Amazon S3. Unrecognized or unsupported values won’t write a
+ # destination object and will receive a `400 Bad Request` response.
#
# Amazon S3 automatically encrypts all new objects that are copied to an
# S3 bucket. When copying an object, if you don't specify encryption
@@ -1041,35 +1026,72 @@ def wait_until(options = {}, &block)
# object is set to the default encryption configuration of the
# destination bucket. By default, all buckets have a base level of
# encryption configuration that uses server-side encryption with Amazon
- # S3 managed keys (SSE-S3). If the destination bucket has a default
- # encryption configuration that uses server-side encryption with Key
- # Management Service (KMS) keys (SSE-KMS), dual-layer server-side
- # encryption with Amazon Web Services KMS keys (DSSE-KMS), or
- # server-side encryption with customer-provided encryption keys (SSE-C),
- # Amazon S3 uses the corresponding KMS key, or a customer-provided key
- # to encrypt the target object copy.
- #
- # When you perform a `CopyObject` operation, if you want to use a
- # different type of encryption setting for the target object, you can
- # specify appropriate encryption-related headers to encrypt the target
- # object with an Amazon S3 managed key, a KMS key, or a
- # customer-provided key. If the encryption setting in your request is
- # different from the default encryption configuration of the destination
- # bucket, the encryption setting in your request takes precedence.
+ # S3 managed keys (SSE-S3). If the destination bucket has a different
+ # default encryption configuration, Amazon S3 uses the corresponding
+ # encryption key to encrypt the target object copy.
#
# With server-side encryption, Amazon S3 encrypts your data as it writes
# your data to disks in its data centers and decrypts the data when you
# access it. For more information about server-side encryption, see
# [Using Server-Side Encryption][1] in the *Amazon S3 User Guide*.
#
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
+ # General purpose buckets
+ #
+ # * For general purpose buckets, there are the following supported
+ # options for server-side encryption: server-side encryption with Key
+ # Management Service (KMS) keys (SSE-KMS), dual-layer server-side
+ # encryption with Amazon Web Services KMS keys (DSSE-KMS), and
+ # server-side encryption with customer-provided encryption keys
+ # (SSE-C). Amazon S3 uses the corresponding KMS key, or a
+ # customer-provided key to encrypt the target object copy.
+ #
+ # * When you perform a `CopyObject` operation, if you want to use a
+ # different type of encryption setting for the target object, you can
+ # specify appropriate encryption-related headers to encrypt the target
+ # object with an Amazon S3 managed key, a KMS key, or a
+ # customer-provided key. If the encryption setting in your request is
+ # different from the default encryption configuration of the
+ # destination bucket, the encryption setting in your request takes
+ # precedence.
+ #
+ # Directory buckets
+ #
+ # * For directory buckets, there are only two supported options for
+ # server-side encryption: server-side encryption with Amazon S3
+ # managed keys (SSE-S3) (`AES256`) and server-side encryption with KMS
+ # keys (SSE-KMS) (`aws:kms`). We recommend that the bucket's default
+ # encryption uses the desired encryption configuration and you don't
+ # override the bucket default encryption in your `CreateSession`
+ # requests or `PUT` object requests. Then, new objects are
+ # automatically encrypted with the desired encryption settings. For
+ # more information, see [Protecting data with server-side
+ # encryption][2] in the *Amazon S3 User Guide*. For more information
+ # about the encryption overriding behaviors in directory buckets, see
+ # [Specifying server-side encryption with KMS for new object
+ # uploads][3].
+ #
+ # * To encrypt new object copies to a directory bucket with SSE-KMS, we
+ # recommend you specify SSE-KMS as the directory bucket's default
+ # encryption configuration with a KMS key (specifically, a [customer
+ # managed key][4]). [Amazon Web Services managed key][5] (`aws/s3`)
+ # isn't supported. Your SSE-KMS configuration can only support 1
+ # [customer managed key][4] per directory bucket for the lifetime of
+ # the bucket. After you specify a customer managed key for SSE-KMS,
+ # you can't override the customer managed key for the bucket's
+ # SSE-KMS configuration. Then, when you perform a `CopyObject`
+ # operation and want to specify server-side encryption settings for
+ # new object copies with SSE-KMS in the encryption-related request
+ # headers, you must ensure the encryption key is the same customer
+ # managed key that you specified for the directory bucket's default
+ # encryption configuration.
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [4]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [5]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
# @option options [String] :storage_class
# If the `x-amz-storage-class` header is not used, the copied object
# will be stored in the `STANDARD` Storage Class by default. The
@@ -1160,32 +1182,50 @@ def wait_until(options = {}, &block)
#
#
# @option options [String] :ssekms_key_id
- # Specifies the KMS ID (Key ID, Key ARN, or Key Alias) to use for object
- # encryption. All GET and PUT requests for an object protected by KMS
- # will fail if they're not made via SSL or using SigV4. For information
- # about configuring any of the officially supported Amazon Web Services
- # SDKs and Amazon Web Services CLI, see [Specifying the Signature
- # Version in Request Authentication][1] in the *Amazon S3 User Guide*.
- #
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
- #
- #
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. All GET and PUT requests for an object protected by
+ # KMS will fail if they're not made via SSL or using SigV4. For
+ # information about configuring any of the officially supported Amazon
+ # Web Services SDKs and Amazon Web Services CLI, see [Specifying the
+ # Signature Version in Request Authentication][1] in the *Amazon S3 User
+ # Guide*.
+ #
+ # **Directory buckets** - If you specify `x-amz-server-side-encryption`
+ # with `aws:kms`, you must specify the `
+ # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
+ # ID or Key ARN) of the KMS symmetric encryption customer managed key to
+ # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
+ # key ID or key ARN. The key alias format of the KMS key isn't
+ # supported. Your SSE-KMS configuration can only support 1 [customer
+ # managed key][2] per directory bucket for the lifetime of the bucket.
+ # [Amazon Web Services managed key][3] (`aws/s3`) isn't supported.
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [3]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
# @option options [String] :ssekms_encryption_context
- # Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded UTF-8
- # string holding JSON with the encryption context key-value pairs. This
- # value must be explicitly added to specify encryption context for
- # `CopyObject` requests.
+ # Specifies the Amazon Web Services KMS Encryption Context as an
+ # additional encryption context to use for the destination object
+ # encryption. The value of this header is a base64-encoded UTF-8 string
+ # holding JSON with the encryption context key-value pairs.
#
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
+ # **General purpose buckets** - This value must be explicitly added to
+ # specify encryption context for `CopyObject` requests if you want an
+ # additional encryption context for your destination object. The
+ # additional encryption context of the source object won't be copied to
+ # the destination object. For more information, see [Encryption
+ # context][1] in the *Amazon S3 User Guide*.
#
- #
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default encryption
+ # context - the bucket Amazon Resource Name (ARN). An additional
+ # encryption context value is not supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context
# @option options [Boolean] :bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
# encryption with server-side encryption using Key Management Service
@@ -1199,14 +1239,19 @@ def wait_until(options = {}, &block)
# For more information, see [Amazon S3 Bucket Keys][1] in the *Amazon S3
# User Guide*.
#
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
+ # **Directory buckets** - S3 Bucket Keys aren't supported, when you
+ # copy SSE-KMS encrypted objects from general purpose buckets to
+ # directory buckets, from directory buckets to general purpose buckets,
+ # or between directory buckets, through [CopyObject][2]. In this case,
+ # Amazon S3 makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
#
#
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
# @option options [String] :copy_source_sse_customer_algorithm
# Specifies the algorithm to use when decrypting the source object (for
# example, `AES256`).
@@ -1663,10 +1708,10 @@ def delete(options = {})
# @option options [String] :checksum_mode
# To retrieve the checksum, this mode must be enabled.
#
- # In addition, if you enable checksum mode and the object is uploaded
- # with a [checksum][1] and encrypted with an Key Management Service
- # (KMS) key, you must have permission to use the `kms:Decrypt` action to
- # retrieve the checksum.
+ # **General purpose buckets** - In addition, if you enable checksum mode
+ # and the object is uploaded with a [checksum][1] and encrypted with an
+ # Key Management Service (KMS) key, you must have permission to use the
+ # `kms:Decrypt` action to retrieve the checksum.
#
#
#
@@ -2019,10 +2064,52 @@ def get(options = {}, &block)
# The server-side encryption algorithm used when you store this object
# in Amazon S3 (for example, `AES256`, `aws:kms`).
#
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
+ # * Directory buckets - For directory buckets, there are only
+ # two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). We
+ # recommend that the bucket's default encryption uses the desired
+ # encryption configuration and you don't override the bucket default
+ # encryption in your `CreateSession` requests or `PUT` object
+ # requests. Then, new objects are automatically encrypted with the
+ # desired encryption settings. For more information, see [Protecting
+ # data with server-side encryption][1] in the *Amazon S3 User Guide*.
+ # For more information about the encryption overriding behaviors in
+ # directory buckets, see [Specifying server-side encryption with KMS
+ # for new object uploads][2].
+ #
+ # In the Zonal endpoint API calls (except [CopyObject][3] and
+ # [UploadPartCopy][4]) using the REST API, the encryption request
+ # headers must match the encryption settings that are specified in the
+ # `CreateSession` request. You can't override the values of the
+ # encryption settings (`x-amz-server-side-encryption`,
+ # `x-amz-server-side-encryption-aws-kms-key-id`,
+ # `x-amz-server-side-encryption-context`, and
+ # `x-amz-server-side-encryption-bucket-key-enabled`) that are
+ # specified in the `CreateSession` request. You don't need to
+ # explicitly specify these encryption settings values in Zonal
+ # endpoint API calls, and Amazon S3 will use the encryption settings
+ # values from the `CreateSession` request to protect new objects in
+ # the directory bucket.
+ #
+ # When you use the CLI or the Amazon Web Services SDKs, for
+ # `CreateSession`, the session token refreshes automatically to avoid
+ # service interruptions when a session expires. The CLI or the Amazon
+ # Web Services SDKs use the bucket's default encryption configuration
+ # for the `CreateSession` request. It's not supported to override the
+ # encryption settings values in the `CreateSession` request. So in the
+ # Zonal endpoint API calls (except [CopyObject][3] and
+ # [UploadPartCopy][4]), the encryption request headers must match the
+ # default encryption configuration of the directory bucket.
#
- #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
# @option options [String] :storage_class
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
# created objects. The STANDARD storage class provides high durability
@@ -2075,32 +2162,69 @@ def get(options = {}, &block)
#
#
# @option options [String] :ssekms_key_id
- # Specifies the ID (Key ID, Key ARN, or Key Alias) of the symmetric
- # encryption customer managed key to use for object encryption.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. If the KMS key doesn't exist in the same account
+ # that's issuing the command, you must use the full Key ARN not the Key
+ # ID.
+ #
+ # **General purpose buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`, this
+ # header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key
+ # to use. If you specify `x-amz-server-side-encryption:aws:kms` or
+ # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide
+ # `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
+ # Amazon Web Services managed key (`aws/s3`) to protect the data.
+ #
+ # **Directory buckets** - If you specify `x-amz-server-side-encryption`
+ # with `aws:kms`, you must specify the `
+ # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
+ # ID or Key ARN) of the KMS symmetric encryption customer managed key to
+ # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
+ # key ID or key ARN. The key alias format of the KMS key isn't
+ # supported. Your SSE-KMS configuration can only support 1 [customer
+ # managed key][1] per directory bucket for the lifetime of the bucket.
+ # [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
# @option options [String] :ssekms_encryption_context
# Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded UTF-8
- # string holding JSON with the encryption context key-value pairs.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # object encryption. The value of this header is a Base64-encoded string
+ # of a UTF-8 encoded JSON, which contains the encryption context as
+ # key-value pairs.
+ #
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default encryption
+ # context - the bucket Amazon Resource Name (ARN). An additional
+ # encryption context value is not supported.
# @option options [Boolean] :bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
# encryption with server-side encryption using Key Management Service
- # (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
- # to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # (KMS) keys (SSE-KMS).
#
- # Specifying this header with an object action doesn’t affect
+ # **General purpose buckets** - Setting this header to `true` causes
+ # Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # Also, specifying this header with a PUT action doesn't affect
# bucket-level settings for S3 Bucket Key.
#
- # This functionality is not supported for directory buckets.
+ # **Directory buckets** - S3 Bucket Keys are always enabled for `GET`
+ # and `PUT` operations in a directory bucket and can’t be disabled. S3
+ # Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects
+ # from general purpose buckets to directory buckets, from directory
+ # buckets to general purpose buckets, or between directory buckets,
+ # through [CopyObject][1], [UploadPartCopy][2], [the Copy operation in
+ # Batch Operations][3], or [the import jobs][4]. In this case, Amazon S3
+ # makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
#
- #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
# @option options [String] :request_payer
# Confirms that the requester knows that they will be charged for the
# request. Bucket owners need not specify this parameter in their
@@ -2464,25 +2588,65 @@ def initiate_multipart_upload(options = {})
# object in Amazon S3 (for example, `AES256`, `aws:kms`,
# `aws:kms:dsse`).
#
- # General purpose buckets - You have four mutually exclusive
- # options to protect data using server-side encryption in Amazon S3,
- # depending on how you choose to manage the encryption keys.
- # Specifically, the encryption key options are Amazon S3 managed keys
- # (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and
- # customer-provided keys (SSE-C). Amazon S3 encrypts data with
- # server-side encryption by using Amazon S3 managed keys (SSE-S3) by
- # default. You can optionally tell Amazon S3 to encrypt data at rest by
- # using server-side encryption with other key options. For more
- # information, see [Using Server-Side Encryption][1] in the *Amazon S3
- # User Guide*.
+ # * General purpose buckets - You have four mutually exclusive
+ # options to protect data using server-side encryption in Amazon S3,
+ # depending on how you choose to manage the encryption keys.
+ # Specifically, the encryption key options are Amazon S3 managed keys
+ # (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and
+ # customer-provided keys (SSE-C). Amazon S3 encrypts data with
+ # server-side encryption by using Amazon S3 managed keys (SSE-S3) by
+ # default. You can optionally tell Amazon S3 to encrypt data at rest
+ # by using server-side encryption with other key options. For more
+ # information, see [Using Server-Side Encryption][1] in the *Amazon S3
+ # User Guide*.
+ #
+ # * Directory buckets - For directory buckets, there are only
+ # two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). We
+ # recommend that the bucket's default encryption uses the desired
+ # encryption configuration and you don't override the bucket default
+ # encryption in your `CreateSession` requests or `PUT` object
+ # requests. Then, new objects are automatically encrypted with the
+ # desired encryption settings. For more information, see [Protecting
+ # data with server-side encryption][2] in the *Amazon S3 User Guide*.
+ # For more information about the encryption overriding behaviors in
+ # directory buckets, see [Specifying server-side encryption with KMS
+ # for new object uploads][3].
+ #
+ # In the Zonal endpoint API calls (except [CopyObject][4] and
+ # [UploadPartCopy][5]) using the REST API, the encryption request
+ # headers must match the encryption settings that are specified in the
+ # `CreateSession` request. You can't override the values of the
+ # encryption settings (`x-amz-server-side-encryption`,
+ # `x-amz-server-side-encryption-aws-kms-key-id`,
+ # `x-amz-server-side-encryption-context`, and
+ # `x-amz-server-side-encryption-bucket-key-enabled`) that are
+ # specified in the `CreateSession` request. You don't need to
+ # explicitly specify these encryption settings values in Zonal
+ # endpoint API calls, and Amazon S3 will use the encryption settings
+ # values from the `CreateSession` request to protect new objects in
+ # the directory bucket.
+ #
+ # When you use the CLI or the Amazon Web Services SDKs, for
+ # `CreateSession`, the session token refreshes automatically to avoid
+ # service interruptions when a session expires. The CLI or the Amazon
+ # Web Services SDKs use the bucket's default encryption configuration
+ # for the `CreateSession` request. It's not supported to override the
+ # encryption settings values in the `CreateSession` request. So in the
+ # Zonal endpoint API calls (except [CopyObject][4] and
+ # [UploadPartCopy][5]), the encryption request headers must match the
+ # default encryption configuration of the directory bucket.
#
- # Directory buckets - For directory buckets, only the
- # server-side encryption with Amazon S3 managed keys (SSE-S3) (`AES256`)
- # value is supported.
+ #
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
# @option options [String] :storage_class
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
# created objects. The STANDARD storage class provides high durability
@@ -2556,44 +2720,81 @@ def initiate_multipart_upload(options = {})
#
#
# @option options [String] :ssekms_key_id
- # If `x-amz-server-side-encryption` has a valid value of `aws:kms` or
- # `aws:kms:dsse`, this header specifies the ID (Key ID, Key ARN, or Key
- # Alias) of the Key Management Service (KMS) symmetric encryption
- # customer managed key that was used for the object. If you specify
- # `x-amz-server-side-encryption:aws:kms` or
- # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide`
- # x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
- # Amazon Web Services managed key (`aws/s3`) to protect the data. If the
- # KMS key does not exist in the same account that's issuing the
- # command, you must use the full ARN and not just the ID.
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. If the KMS key doesn't exist in the same account
+ # that's issuing the command, you must use the full Key ARN not the Key
+ # ID.
+ #
+ # **General purpose buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`, this
+ # header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key
+ # to use. If you specify `x-amz-server-side-encryption:aws:kms` or
+ # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide
+ # `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
+ # Amazon Web Services managed key (`aws/s3`) to protect the data.
+ #
+ # **Directory buckets** - If you specify `x-amz-server-side-encryption`
+ # with `aws:kms`, you must specify the `
+ # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
+ # ID or Key ARN) of the KMS symmetric encryption customer managed key to
+ # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
+ # key ID or key ARN. The key alias format of the KMS key isn't
+ # supported. Your SSE-KMS configuration can only support 1 [customer
+ # managed key][1] per directory bucket for the lifetime of the bucket.
+ # [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
+ # @option options [String] :ssekms_encryption_context
+ # Specifies the Amazon Web Services KMS Encryption Context as an
+ # additional encryption context to use for object encryption. The value
+ # of this header is a Base64-encoded string of a UTF-8 encoded JSON,
+ # which contains the encryption context as key-value pairs. This value
+ # is stored as object metadata and automatically gets passed on to
+ # Amazon Web Services KMS for future `GetObject` operations on this
+ # object.
#
- # This functionality is not supported for directory buckets.
+ # **General purpose buckets** - This value must be explicitly added
+ # during `CopyObject` operations if you want an additional encryption
+ # context for your object. For more information, see [Encryption
+ # context][1] in the *Amazon S3 User Guide*.
#
- #
- # @option options [String] :ssekms_encryption_context
- # Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded UTF-8
- # string holding JSON with the encryption context key-value pairs. This
- # value is stored as object metadata and automatically gets passed on to
- # Amazon Web Services KMS for future `GetObject` or `CopyObject`
- # operations on this object. This value must be explicitly added during
- # `CopyObject` operations.
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default encryption
+ # context - the bucket Amazon Resource Name (ARN). An additional
+ # encryption context value is not supported.
#
- # This functionality is not supported for directory buckets.
#
- #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context
# @option options [Boolean] :bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
# encryption with server-side encryption using Key Management Service
- # (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
- # to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # (KMS) keys (SSE-KMS).
#
- # Specifying this header with a PUT action doesn’t affect bucket-level
- # settings for S3 Bucket Key.
+ # **General purpose buckets** - Setting this header to `true` causes
+ # Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # Also, specifying this header with a PUT action doesn't affect
+ # bucket-level settings for S3 Bucket Key.
#
- # This functionality is not supported for directory buckets.
+ # **Directory buckets** - S3 Bucket Keys are always enabled for `GET`
+ # and `PUT` operations in a directory bucket and can’t be disabled. S3
+ # Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects
+ # from general purpose buckets to directory buckets, from directory
+ # buckets to general purpose buckets, or between directory buckets,
+ # through [CopyObject][1], [UploadPartCopy][2], [the Copy operation in
+ # Batch Operations][3], or [the import jobs][4]. In this case, Amazon S3
+ # makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
#
- #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
# @option options [String] :request_payer
# Confirms that the requester knows that they will be charged for the
# request. Bucket owners need not specify this parameter in their
@@ -2972,10 +3173,16 @@ def restore_object(options = {})
# @option options [String] :checksum_mode
# To retrieve the checksum, this parameter must be enabled.
#
- # In addition, if you enable checksum mode and the object is uploaded
- # with a [checksum][1] and encrypted with an Key Management Service
- # (KMS) key, you must have permission to use the `kms:Decrypt` action to
- # retrieve the checksum.
+ # **General purpose buckets** - If you enable checksum mode and the
+ # object is uploaded with a [checksum][1] and encrypted with an Key
+ # Management Service (KMS) key, you must have permission to use the
+ # `kms:Decrypt` action to retrieve the checksum.
+ #
+ # **Directory buckets** - If you enable `ChecksumMode` and the object is
+ # encrypted with Amazon Web Services Key Management Service (Amazon Web
+ # Services KMS), you must also have the `kms:GenerateDataKey` and
+ # `kms:Decrypt` permissions in IAM identity-based policies and KMS key
+ # policies for the KMS key to retrieve the checksum of the object.
#
#
#
diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3/object_summary.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3/object_summary.rb
index 079295c6fbe..2f264e59188 100644
--- a/gems/aws-sdk-s3/lib/aws-sdk-s3/object_summary.rb
+++ b/gems/aws-sdk-s3/lib/aws-sdk-s3/object_summary.rb
@@ -667,9 +667,8 @@ def wait_until(options = {}, &block)
#
# @option options [String] :server_side_encryption
# The server-side encryption algorithm used when storing this object in
- # Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
- # Unrecognized or unsupported values won’t write a destination object
- # and will receive a `400 Bad Request` response.
+ # Amazon S3. Unrecognized or unsupported values won’t write a
+ # destination object and will receive a `400 Bad Request` response.
#
# Amazon S3 automatically encrypts all new objects that are copied to an
# S3 bucket. When copying an object, if you don't specify encryption
@@ -677,35 +676,72 @@ def wait_until(options = {}, &block)
# object is set to the default encryption configuration of the
# destination bucket. By default, all buckets have a base level of
# encryption configuration that uses server-side encryption with Amazon
- # S3 managed keys (SSE-S3). If the destination bucket has a default
- # encryption configuration that uses server-side encryption with Key
- # Management Service (KMS) keys (SSE-KMS), dual-layer server-side
- # encryption with Amazon Web Services KMS keys (DSSE-KMS), or
- # server-side encryption with customer-provided encryption keys (SSE-C),
- # Amazon S3 uses the corresponding KMS key, or a customer-provided key
- # to encrypt the target object copy.
- #
- # When you perform a `CopyObject` operation, if you want to use a
- # different type of encryption setting for the target object, you can
- # specify appropriate encryption-related headers to encrypt the target
- # object with an Amazon S3 managed key, a KMS key, or a
- # customer-provided key. If the encryption setting in your request is
- # different from the default encryption configuration of the destination
- # bucket, the encryption setting in your request takes precedence.
+ # S3 managed keys (SSE-S3). If the destination bucket has a different
+ # default encryption configuration, Amazon S3 uses the corresponding
+ # encryption key to encrypt the target object copy.
#
# With server-side encryption, Amazon S3 encrypts your data as it writes
# your data to disks in its data centers and decrypts the data when you
# access it. For more information about server-side encryption, see
# [Using Server-Side Encryption][1] in the *Amazon S3 User Guide*.
#
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
+ # General purpose buckets
+ #
+ # * For general purpose buckets, there are the following supported
+ # options for server-side encryption: server-side encryption with Key
+ # Management Service (KMS) keys (SSE-KMS), dual-layer server-side
+ # encryption with Amazon Web Services KMS keys (DSSE-KMS), and
+ # server-side encryption with customer-provided encryption keys
+ # (SSE-C). Amazon S3 uses the corresponding KMS key, or a
+ # customer-provided key to encrypt the target object copy.
+ #
+ # * When you perform a `CopyObject` operation, if you want to use a
+ # different type of encryption setting for the target object, you can
+ # specify appropriate encryption-related headers to encrypt the target
+ # object with an Amazon S3 managed key, a KMS key, or a
+ # customer-provided key. If the encryption setting in your request is
+ # different from the default encryption configuration of the
+ # destination bucket, the encryption setting in your request takes
+ # precedence.
+ #
+ # Directory buckets
+ #
+ # * For directory buckets, there are only two supported options for
+ # server-side encryption: server-side encryption with Amazon S3
+ # managed keys (SSE-S3) (`AES256`) and server-side encryption with KMS
+ # keys (SSE-KMS) (`aws:kms`). We recommend that the bucket's default
+ # encryption uses the desired encryption configuration and you don't
+ # override the bucket default encryption in your `CreateSession`
+ # requests or `PUT` object requests. Then, new objects are
+ # automatically encrypted with the desired encryption settings. For
+ # more information, see [Protecting data with server-side
+ # encryption][2] in the *Amazon S3 User Guide*. For more information
+ # about the encryption overriding behaviors in directory buckets, see
+ # [Specifying server-side encryption with KMS for new object
+ # uploads][3].
+ #
+ # * To encrypt new object copies to a directory bucket with SSE-KMS, we
+ # recommend you specify SSE-KMS as the directory bucket's default
+ # encryption configuration with a KMS key (specifically, a [customer
+ # managed key][4]). [Amazon Web Services managed key][5] (`aws/s3`)
+ # isn't supported. Your SSE-KMS configuration can only support 1
+ # [customer managed key][4] per directory bucket for the lifetime of
+ # the bucket. After you specify a customer managed key for SSE-KMS,
+ # you can't override the customer managed key for the bucket's
+ # SSE-KMS configuration. Then, when you perform a `CopyObject`
+ # operation and want to specify server-side encryption settings for
+ # new object copies with SSE-KMS in the encryption-related request
+ # headers, you must ensure the encryption key is the same customer
+ # managed key that you specified for the directory bucket's default
+ # encryption configuration.
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [4]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [5]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
# @option options [String] :storage_class
# If the `x-amz-storage-class` header is not used, the copied object
# will be stored in the `STANDARD` Storage Class by default. The
@@ -796,32 +832,50 @@ def wait_until(options = {}, &block)
#
#
# @option options [String] :ssekms_key_id
- # Specifies the KMS ID (Key ID, Key ARN, or Key Alias) to use for object
- # encryption. All GET and PUT requests for an object protected by KMS
- # will fail if they're not made via SSL or using SigV4. For information
- # about configuring any of the officially supported Amazon Web Services
- # SDKs and Amazon Web Services CLI, see [Specifying the Signature
- # Version in Request Authentication][1] in the *Amazon S3 User Guide*.
- #
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
- #
- #
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. All GET and PUT requests for an object protected by
+ # KMS will fail if they're not made via SSL or using SigV4. For
+ # information about configuring any of the officially supported Amazon
+ # Web Services SDKs and Amazon Web Services CLI, see [Specifying the
+ # Signature Version in Request Authentication][1] in the *Amazon S3 User
+ # Guide*.
+ #
+ # **Directory buckets** - If you specify `x-amz-server-side-encryption`
+ # with `aws:kms`, you must specify the `
+ # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
+ # ID or Key ARN) of the KMS symmetric encryption customer managed key to
+ # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
+ # key ID or key ARN. The key alias format of the KMS key isn't
+ # supported. Your SSE-KMS configuration can only support 1 [customer
+ # managed key][2] per directory bucket for the lifetime of the bucket.
+ # [Amazon Web Services managed key][3] (`aws/s3`) isn't supported.
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [3]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
# @option options [String] :ssekms_encryption_context
- # Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded UTF-8
- # string holding JSON with the encryption context key-value pairs. This
- # value must be explicitly added to specify encryption context for
- # `CopyObject` requests.
+ # Specifies the Amazon Web Services KMS Encryption Context as an
+ # additional encryption context to use for the destination object
+ # encryption. The value of this header is a base64-encoded UTF-8 string
+ # holding JSON with the encryption context key-value pairs.
#
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
+ # **General purpose buckets** - This value must be explicitly added to
+ # specify encryption context for `CopyObject` requests if you want an
+ # additional encryption context for your destination object. The
+ # additional encryption context of the source object won't be copied to
+ # the destination object. For more information, see [Encryption
+ # context][1] in the *Amazon S3 User Guide*.
#
- #
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default encryption
+ # context - the bucket Amazon Resource Name (ARN). An additional
+ # encryption context value is not supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context
# @option options [Boolean] :bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
# encryption with server-side encryption using Key Management Service
@@ -835,14 +889,19 @@ def wait_until(options = {}, &block)
# For more information, see [Amazon S3 Bucket Keys][1] in the *Amazon S3
# User Guide*.
#
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
+ # **Directory buckets** - S3 Bucket Keys aren't supported, when you
+ # copy SSE-KMS encrypted objects from general purpose buckets to
+ # directory buckets, from directory buckets to general purpose buckets,
+ # or between directory buckets, through [CopyObject][2]. In this case,
+ # Amazon S3 makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
#
#
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
# @option options [String] :copy_source_sse_customer_algorithm
# Specifies the algorithm to use when decrypting the source object (for
# example, `AES256`).
@@ -1299,10 +1358,10 @@ def delete(options = {})
# @option options [String] :checksum_mode
# To retrieve the checksum, this mode must be enabled.
#
- # In addition, if you enable checksum mode and the object is uploaded
- # with a [checksum][1] and encrypted with an Key Management Service
- # (KMS) key, you must have permission to use the `kms:Decrypt` action to
- # retrieve the checksum.
+ # **General purpose buckets** - In addition, if you enable checksum mode
+ # and the object is uploaded with a [checksum][1] and encrypted with an
+ # Key Management Service (KMS) key, you must have permission to use the
+ # `kms:Decrypt` action to retrieve the checksum.
#
#
#
@@ -1655,10 +1714,52 @@ def get(options = {}, &block)
# The server-side encryption algorithm used when you store this object
# in Amazon S3 (for example, `AES256`, `aws:kms`).
#
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
+ # * Directory buckets - For directory buckets, there are only
+ # two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). We
+ # recommend that the bucket's default encryption uses the desired
+ # encryption configuration and you don't override the bucket default
+ # encryption in your `CreateSession` requests or `PUT` object
+ # requests. Then, new objects are automatically encrypted with the
+ # desired encryption settings. For more information, see [Protecting
+ # data with server-side encryption][1] in the *Amazon S3 User Guide*.
+ # For more information about the encryption overriding behaviors in
+ # directory buckets, see [Specifying server-side encryption with KMS
+ # for new object uploads][2].
+ #
+ # In the Zonal endpoint API calls (except [CopyObject][3] and
+ # [UploadPartCopy][4]) using the REST API, the encryption request
+ # headers must match the encryption settings that are specified in the
+ # `CreateSession` request. You can't override the values of the
+ # encryption settings (`x-amz-server-side-encryption`,
+ # `x-amz-server-side-encryption-aws-kms-key-id`,
+ # `x-amz-server-side-encryption-context`, and
+ # `x-amz-server-side-encryption-bucket-key-enabled`) that are
+ # specified in the `CreateSession` request. You don't need to
+ # explicitly specify these encryption settings values in Zonal
+ # endpoint API calls, and Amazon S3 will use the encryption settings
+ # values from the `CreateSession` request to protect new objects in
+ # the directory bucket.
+ #
+ # When you use the CLI or the Amazon Web Services SDKs, for
+ # `CreateSession`, the session token refreshes automatically to avoid
+ # service interruptions when a session expires. The CLI or the Amazon
+ # Web Services SDKs use the bucket's default encryption configuration
+ # for the `CreateSession` request. It's not supported to override the
+ # encryption settings values in the `CreateSession` request. So in the
+ # Zonal endpoint API calls (except [CopyObject][3] and
+ # [UploadPartCopy][4]), the encryption request headers must match the
+ # default encryption configuration of the directory bucket.
#
- #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
# @option options [String] :storage_class
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
# created objects. The STANDARD storage class provides high durability
@@ -1711,32 +1812,69 @@ def get(options = {}, &block)
#
#
# @option options [String] :ssekms_key_id
- # Specifies the ID (Key ID, Key ARN, or Key Alias) of the symmetric
- # encryption customer managed key to use for object encryption.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. If the KMS key doesn't exist in the same account
+ # that's issuing the command, you must use the full Key ARN not the Key
+ # ID.
+ #
+ # **General purpose buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`, this
+ # header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key
+ # to use. If you specify `x-amz-server-side-encryption:aws:kms` or
+ # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide
+ # `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
+ # Amazon Web Services managed key (`aws/s3`) to protect the data.
+ #
+ # **Directory buckets** - If you specify `x-amz-server-side-encryption`
+ # with `aws:kms`, you must specify the `
+ # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
+ # ID or Key ARN) of the KMS symmetric encryption customer managed key to
+ # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
+ # key ID or key ARN. The key alias format of the KMS key isn't
+ # supported. Your SSE-KMS configuration can only support 1 [customer
+ # managed key][1] per directory bucket for the lifetime of the bucket.
+ # [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
# @option options [String] :ssekms_encryption_context
# Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded UTF-8
- # string holding JSON with the encryption context key-value pairs.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # object encryption. The value of this header is a Base64-encoded string
+ # of a UTF-8 encoded JSON, which contains the encryption context as
+ # key-value pairs.
+ #
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default encryption
+ # context - the bucket Amazon Resource Name (ARN). An additional
+ # encryption context value is not supported.
# @option options [Boolean] :bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
# encryption with server-side encryption using Key Management Service
- # (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
- # to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # (KMS) keys (SSE-KMS).
#
- # Specifying this header with an object action doesn’t affect
+ # **General purpose buckets** - Setting this header to `true` causes
+ # Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # Also, specifying this header with a PUT action doesn't affect
# bucket-level settings for S3 Bucket Key.
#
- # This functionality is not supported for directory buckets.
+ # **Directory buckets** - S3 Bucket Keys are always enabled for `GET`
+ # and `PUT` operations in a directory bucket and can’t be disabled. S3
+ # Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects
+ # from general purpose buckets to directory buckets, from directory
+ # buckets to general purpose buckets, or between directory buckets,
+ # through [CopyObject][1], [UploadPartCopy][2], [the Copy operation in
+ # Batch Operations][3], or [the import jobs][4]. In this case, Amazon S3
+ # makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
#
- #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
# @option options [String] :request_payer
# Confirms that the requester knows that they will be charged for the
# request. Bucket owners need not specify this parameter in their
@@ -2100,25 +2238,65 @@ def initiate_multipart_upload(options = {})
# object in Amazon S3 (for example, `AES256`, `aws:kms`,
# `aws:kms:dsse`).
#
- # General purpose buckets - You have four mutually exclusive
- # options to protect data using server-side encryption in Amazon S3,
- # depending on how you choose to manage the encryption keys.
- # Specifically, the encryption key options are Amazon S3 managed keys
- # (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and
- # customer-provided keys (SSE-C). Amazon S3 encrypts data with
- # server-side encryption by using Amazon S3 managed keys (SSE-S3) by
- # default. You can optionally tell Amazon S3 to encrypt data at rest by
- # using server-side encryption with other key options. For more
- # information, see [Using Server-Side Encryption][1] in the *Amazon S3
- # User Guide*.
+ # * General purpose buckets - You have four mutually exclusive
+ # options to protect data using server-side encryption in Amazon S3,
+ # depending on how you choose to manage the encryption keys.
+ # Specifically, the encryption key options are Amazon S3 managed keys
+ # (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and
+ # customer-provided keys (SSE-C). Amazon S3 encrypts data with
+ # server-side encryption by using Amazon S3 managed keys (SSE-S3) by
+ # default. You can optionally tell Amazon S3 to encrypt data at rest
+ # by using server-side encryption with other key options. For more
+ # information, see [Using Server-Side Encryption][1] in the *Amazon S3
+ # User Guide*.
+ #
+ # * Directory buckets - For directory buckets, there are only
+ # two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). We
+ # recommend that the bucket's default encryption uses the desired
+ # encryption configuration and you don't override the bucket default
+ # encryption in your `CreateSession` requests or `PUT` object
+ # requests. Then, new objects are automatically encrypted with the
+ # desired encryption settings. For more information, see [Protecting
+ # data with server-side encryption][2] in the *Amazon S3 User Guide*.
+ # For more information about the encryption overriding behaviors in
+ # directory buckets, see [Specifying server-side encryption with KMS
+ # for new object uploads][3].
+ #
+ # In the Zonal endpoint API calls (except [CopyObject][4] and
+ # [UploadPartCopy][5]) using the REST API, the encryption request
+ # headers must match the encryption settings that are specified in the
+ # `CreateSession` request. You can't override the values of the
+ # encryption settings (`x-amz-server-side-encryption`,
+ # `x-amz-server-side-encryption-aws-kms-key-id`,
+ # `x-amz-server-side-encryption-context`, and
+ # `x-amz-server-side-encryption-bucket-key-enabled`) that are
+ # specified in the `CreateSession` request. You don't need to
+ # explicitly specify these encryption settings values in Zonal
+ # endpoint API calls, and Amazon S3 will use the encryption settings
+ # values from the `CreateSession` request to protect new objects in
+ # the directory bucket.
+ #
+ # When you use the CLI or the Amazon Web Services SDKs, for
+ # `CreateSession`, the session token refreshes automatically to avoid
+ # service interruptions when a session expires. The CLI or the Amazon
+ # Web Services SDKs use the bucket's default encryption configuration
+ # for the `CreateSession` request. It's not supported to override the
+ # encryption settings values in the `CreateSession` request. So in the
+ # Zonal endpoint API calls (except [CopyObject][4] and
+ # [UploadPartCopy][5]), the encryption request headers must match the
+ # default encryption configuration of the directory bucket.
#
- # Directory buckets - For directory buckets, only the
- # server-side encryption with Amazon S3 managed keys (SSE-S3) (`AES256`)
- # value is supported.
+ #
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
# @option options [String] :storage_class
# By default, Amazon S3 uses the STANDARD Storage Class to store newly
# created objects. The STANDARD storage class provides high durability
@@ -2192,44 +2370,81 @@ def initiate_multipart_upload(options = {})
#
#
# @option options [String] :ssekms_key_id
- # If `x-amz-server-side-encryption` has a valid value of `aws:kms` or
- # `aws:kms:dsse`, this header specifies the ID (Key ID, Key ARN, or Key
- # Alias) of the Key Management Service (KMS) symmetric encryption
- # customer managed key that was used for the object. If you specify
- # `x-amz-server-side-encryption:aws:kms` or
- # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide`
- # x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
- # Amazon Web Services managed key (`aws/s3`) to protect the data. If the
- # KMS key does not exist in the same account that's issuing the
- # command, you must use the full ARN and not just the ID.
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. If the KMS key doesn't exist in the same account
+ # that's issuing the command, you must use the full Key ARN not the Key
+ # ID.
+ #
+ # **General purpose buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`, this
+ # header specifies the ID (Key ID, Key ARN, or Key Alias) of the KMS key
+ # to use. If you specify `x-amz-server-side-encryption:aws:kms` or
+ # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide
+ # `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
+ # Amazon Web Services managed key (`aws/s3`) to protect the data.
+ #
+ # **Directory buckets** - If you specify `x-amz-server-side-encryption`
+ # with `aws:kms`, you must specify the `
+ # x-amz-server-side-encryption-aws-kms-key-id` header with the ID (Key
+ # ID or Key ARN) of the KMS symmetric encryption customer managed key to
+ # use. Otherwise, you get an HTTP `400 Bad Request` error. Only use the
+ # key ID or key ARN. The key alias format of the KMS key isn't
+ # supported. Your SSE-KMS configuration can only support 1 [customer
+ # managed key][1] per directory bucket for the lifetime of the bucket.
+ # [Amazon Web Services managed key][2] (`aws/s3`) isn't supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
+ # @option options [String] :ssekms_encryption_context
+ # Specifies the Amazon Web Services KMS Encryption Context as an
+ # additional encryption context to use for object encryption. The value
+ # of this header is a Base64-encoded string of a UTF-8 encoded JSON,
+ # which contains the encryption context as key-value pairs. This value
+ # is stored as object metadata and automatically gets passed on to
+ # Amazon Web Services KMS for future `GetObject` operations on this
+ # object.
#
- # This functionality is not supported for directory buckets.
+ # **General purpose buckets** - This value must be explicitly added
+ # during `CopyObject` operations if you want an additional encryption
+ # context for your object. For more information, see [Encryption
+ # context][1] in the *Amazon S3 User Guide*.
#
- #
- # @option options [String] :ssekms_encryption_context
- # Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded UTF-8
- # string holding JSON with the encryption context key-value pairs. This
- # value is stored as object metadata and automatically gets passed on to
- # Amazon Web Services KMS for future `GetObject` or `CopyObject`
- # operations on this object. This value must be explicitly added during
- # `CopyObject` operations.
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default encryption
+ # context - the bucket Amazon Resource Name (ARN). An additional
+ # encryption context value is not supported.
#
- # This functionality is not supported for directory buckets.
#
- #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context
# @option options [Boolean] :bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
# encryption with server-side encryption using Key Management Service
- # (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
- # to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # (KMS) keys (SSE-KMS).
#
- # Specifying this header with a PUT action doesn’t affect bucket-level
- # settings for S3 Bucket Key.
+ # **General purpose buckets** - Setting this header to `true` causes
+ # Amazon S3 to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # Also, specifying this header with a PUT action doesn't affect
+ # bucket-level settings for S3 Bucket Key.
#
- # This functionality is not supported for directory buckets.
+ # **Directory buckets** - S3 Bucket Keys are always enabled for `GET`
+ # and `PUT` operations in a directory bucket and can’t be disabled. S3
+ # Bucket Keys aren't supported, when you copy SSE-KMS encrypted objects
+ # from general purpose buckets to directory buckets, from directory
+ # buckets to general purpose buckets, or between directory buckets,
+ # through [CopyObject][1], [UploadPartCopy][2], [the Copy operation in
+ # Batch Operations][3], or [the import jobs][4]. In this case, Amazon S3
+ # makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
#
- #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
# @option options [String] :request_payer
# Confirms that the requester knows that they will be charged for the
# request. Bucket owners need not specify this parameter in their
diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3/object_version.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3/object_version.rb
index be8f13d5209..1d6ff9c60ab 100644
--- a/gems/aws-sdk-s3/lib/aws-sdk-s3/object_version.rb
+++ b/gems/aws-sdk-s3/lib/aws-sdk-s3/object_version.rb
@@ -524,10 +524,10 @@ def delete(options = {})
# @option options [String] :checksum_mode
# To retrieve the checksum, this mode must be enabled.
#
- # In addition, if you enable checksum mode and the object is uploaded
- # with a [checksum][1] and encrypted with an Key Management Service
- # (KMS) key, you must have permission to use the `kms:Decrypt` action to
- # retrieve the checksum.
+ # **General purpose buckets** - In addition, if you enable checksum mode
+ # and the object is uploaded with a [checksum][1] and encrypted with an
+ # Key Management Service (KMS) key, you must have permission to use the
+ # `kms:Decrypt` action to retrieve the checksum.
#
#
#
@@ -710,10 +710,16 @@ def get(options = {}, &block)
# @option options [String] :checksum_mode
# To retrieve the checksum, this parameter must be enabled.
#
- # In addition, if you enable checksum mode and the object is uploaded
- # with a [checksum][1] and encrypted with an Key Management Service
- # (KMS) key, you must have permission to use the `kms:Decrypt` action to
- # retrieve the checksum.
+ # **General purpose buckets** - If you enable checksum mode and the
+ # object is uploaded with a [checksum][1] and encrypted with an Key
+ # Management Service (KMS) key, you must have permission to use the
+ # `kms:Decrypt` action to retrieve the checksum.
+ #
+ # **Directory buckets** - If you enable `ChecksumMode` and the object is
+ # encrypted with Amazon Web Services Key Management Service (Amazon Web
+ # Services KMS), you must also have the `kms:GenerateDataKey` and
+ # `kms:Decrypt` permissions in IAM identity-based policies and KMS key
+ # policies for the KMS key to retrieve the checksum of the object.
#
#
#
diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3/plugins/endpoints.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3/plugins/endpoints.rb
index f6975cfcb2c..38bdf3cfb3f 100644
--- a/gems/aws-sdk-s3/lib/aws-sdk-s3/plugins/endpoints.rb
+++ b/gems/aws-sdk-s3/lib/aws-sdk-s3/plugins/endpoints.rb
@@ -46,11 +46,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb b/gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb
index d221c81edc1..4101abb4151 100644
--- a/gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb
+++ b/gems/aws-sdk-s3/lib/aws-sdk-s3/types.rb
@@ -865,11 +865,6 @@ class CommonPrefix < Struct.new(
# @!attribute [rw] server_side_encryption
# The server-side encryption algorithm used when storing this object
# in Amazon S3 (for example, `AES256`, `aws:kms`).
- #
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
# @return [String]
#
# @!attribute [rw] version_id
@@ -882,23 +877,14 @@ class CommonPrefix < Struct.new(
# @return [String]
#
# @!attribute [rw] ssekms_key_id
- # If present, indicates the ID of the Key Management Service (KMS)
- # symmetric encryption customer managed key that was used for the
- # object.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # If present, indicates the ID of the KMS key that was used for object
+ # encryption.
# @return [String]
#
# @!attribute [rw] bucket_key_enabled
# Indicates whether the multipart upload uses an S3 Bucket Key for
# server-side encryption with Key Management Service (KMS) keys
# (SSE-KMS).
- #
- # This functionality is not supported for directory buckets.
- #
- #
# @return [Boolean]
#
# @!attribute [rw] request_charged
@@ -1348,11 +1334,6 @@ class ContinuationEvent < Struct.new(
# @!attribute [rw] server_side_encryption
# The server-side encryption algorithm used when you store this object
# in Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
- #
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
# @return [String]
#
# @!attribute [rw] sse_customer_algorithm
@@ -1377,13 +1358,8 @@ class ContinuationEvent < Struct.new(
# @return [String]
#
# @!attribute [rw] ssekms_key_id
- # If present, indicates the ID of the Key Management Service (KMS)
- # symmetric encryption customer managed key that was used for the
- # object.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # If present, indicates the ID of the KMS key that was used for object
+ # encryption.
# @return [String]
#
# @!attribute [rw] ssekms_encryption_context
@@ -1391,20 +1367,12 @@ class ContinuationEvent < Struct.new(
# to use for object encryption. The value of this header is a
# base64-encoded UTF-8 string holding JSON with the encryption context
# key-value pairs.
- #
- # This functionality is not supported for directory buckets.
- #
- #
# @return [String]
#
# @!attribute [rw] bucket_key_enabled
# Indicates whether the copied object uses an S3 Bucket Key for
# server-side encryption with Key Management Service (KMS) keys
# (SSE-KMS).
- #
- # This functionality is not supported for directory buckets.
- #
- #
# @return [Boolean]
#
# @!attribute [rw] request_charged
@@ -1832,9 +1800,8 @@ class CopyObjectOutput < Struct.new(
#
# @!attribute [rw] server_side_encryption
# The server-side encryption algorithm used when storing this object
- # in Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
- # Unrecognized or unsupported values won’t write a destination object
- # and will receive a `400 Bad Request` response.
+ # in Amazon S3. Unrecognized or unsupported values won’t write a
+ # destination object and will receive a `400 Bad Request` response.
#
# Amazon S3 automatically encrypts all new objects that are copied to
# an S3 bucket. When copying an object, if you don't specify
@@ -1843,21 +1810,8 @@ class CopyObjectOutput < Struct.new(
# of the destination bucket. By default, all buckets have a base level
# of encryption configuration that uses server-side encryption with
# Amazon S3 managed keys (SSE-S3). If the destination bucket has a
- # default encryption configuration that uses server-side encryption
- # with Key Management Service (KMS) keys (SSE-KMS), dual-layer
- # server-side encryption with Amazon Web Services KMS keys (DSSE-KMS),
- # or server-side encryption with customer-provided encryption keys
- # (SSE-C), Amazon S3 uses the corresponding KMS key, or a
- # customer-provided key to encrypt the target object copy.
- #
- # When you perform a `CopyObject` operation, if you want to use a
- # different type of encryption setting for the target object, you can
- # specify appropriate encryption-related headers to encrypt the target
- # object with an Amazon S3 managed key, a KMS key, or a
- # customer-provided key. If the encryption setting in your request is
- # different from the default encryption configuration of the
- # destination bucket, the encryption setting in your request takes
- # precedence.
+ # different default encryption configuration, Amazon S3 uses the
+ # corresponding encryption key to encrypt the target object copy.
#
# With server-side encryption, Amazon S3 encrypts your data as it
# writes your data to disks in its data centers and decrypts the data
@@ -1865,14 +1819,63 @@ class CopyObjectOutput < Struct.new(
# encryption, see [Using Server-Side Encryption][1] in the *Amazon S3
# User Guide*.
#
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
+ # General purpose buckets
+ #
+ # * For general purpose buckets, there are the following supported
+ # options for server-side encryption: server-side encryption with
+ # Key Management Service (KMS) keys (SSE-KMS), dual-layer
+ # server-side encryption with Amazon Web Services KMS keys
+ # (DSSE-KMS), and server-side encryption with customer-provided
+ # encryption keys (SSE-C). Amazon S3 uses the corresponding KMS key,
+ # or a customer-provided key to encrypt the target object copy.
+ #
+ # * When you perform a `CopyObject` operation, if you want to use a
+ # different type of encryption setting for the target object, you
+ # can specify appropriate encryption-related headers to encrypt the
+ # target object with an Amazon S3 managed key, a KMS key, or a
+ # customer-provided key. If the encryption setting in your request
+ # is different from the default encryption configuration of the
+ # destination bucket, the encryption setting in your request takes
+ # precedence.
+ #
+ # Directory buckets
+ #
+ # * For directory buckets, there are only two supported options for
+ # server-side encryption: server-side encryption with Amazon S3
+ # managed keys (SSE-S3) (`AES256`) and server-side encryption with
+ # KMS keys (SSE-KMS) (`aws:kms`). We recommend that the bucket's
+ # default encryption uses the desired encryption configuration and
+ # you don't override the bucket default encryption in your
+ # `CreateSession` requests or `PUT` object requests. Then, new
+ # objects are automatically encrypted with the desired encryption
+ # settings. For more information, see [Protecting data with
+ # server-side encryption][2] in the *Amazon S3 User Guide*. For more
+ # information about the encryption overriding behaviors in directory
+ # buckets, see [Specifying server-side encryption with KMS for new
+ # object uploads][3].
+ #
+ # * To encrypt new object copies to a directory bucket with SSE-KMS,
+ # we recommend you specify SSE-KMS as the directory bucket's
+ # default encryption configuration with a KMS key (specifically, a
+ # [customer managed key][4]). [Amazon Web Services managed key][5]
+ # (`aws/s3`) isn't supported. Your SSE-KMS configuration can only
+ # support 1 [customer managed key][4] per directory bucket for the
+ # lifetime of the bucket. After you specify a customer managed key
+ # for SSE-KMS, you can't override the customer managed key for the
+ # bucket's SSE-KMS configuration. Then, when you perform a
+ # `CopyObject` operation and want to specify server-side encryption
+ # settings for new object copies with SSE-KMS in the
+ # encryption-related request headers, you must ensure the encryption
+ # key is the same customer managed key that you specified for the
+ # directory bucket's default encryption configuration.
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/serv-side-encryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [4]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [5]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
# @return [String]
#
# @!attribute [rw] storage_class
@@ -1978,7 +1981,7 @@ class CopyObjectOutput < Struct.new(
# @return [String]
#
# @!attribute [rw] ssekms_key_id
- # Specifies the KMS ID (Key ID, Key ARN, or Key Alias) to use for
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
# object encryption. All GET and PUT requests for an object protected
# by KMS will fail if they're not made via SSL or using SigV4. For
# information about configuring any of the officially supported Amazon
@@ -1986,27 +1989,45 @@ class CopyObjectOutput < Struct.new(
# Signature Version in Request Authentication][1] in the *Amazon S3
# User Guide*.
#
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
- #
- #
+ # **Directory buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms`, you must specify the
+ # ` x-amz-server-side-encryption-aws-kms-key-id` header with the ID
+ # (Key ID or Key ARN) of the KMS symmetric encryption customer managed
+ # key to use. Otherwise, you get an HTTP `400 Bad Request` error. Only
+ # use the key ID or key ARN. The key alias format of the KMS key
+ # isn't supported. Your SSE-KMS configuration can only support 1
+ # [customer managed key][2] per directory bucket for the lifetime of
+ # the bucket. [Amazon Web Services managed key][3] (`aws/s3`) isn't
+ # supported.
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingAWSSDK.html#specify-signature-version
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [3]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
# @return [String]
#
# @!attribute [rw] ssekms_encryption_context
- # Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded
- # UTF-8 string holding JSON with the encryption context key-value
- # pairs. This value must be explicitly added to specify encryption
- # context for `CopyObject` requests.
+ # Specifies the Amazon Web Services KMS Encryption Context as an
+ # additional encryption context to use for the destination object
+ # encryption. The value of this header is a base64-encoded UTF-8
+ # string holding JSON with the encryption context key-value pairs.
#
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
+ # **General purpose buckets** - This value must be explicitly added to
+ # specify encryption context for `CopyObject` requests if you want an
+ # additional encryption context for your destination object. The
+ # additional encryption context of the source object won't be copied
+ # to the destination object. For more information, see [Encryption
+ # context][1] in the *Amazon S3 User Guide*.
#
- #
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default
+ # encryption context - the bucket Amazon Resource Name (ARN). An
+ # additional encryption context value is not supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context
# @return [String]
#
# @!attribute [rw] bucket_key_enabled
@@ -2023,14 +2044,19 @@ class CopyObjectOutput < Struct.new(
# For more information, see [Amazon S3 Bucket Keys][1] in the *Amazon
# S3 User Guide*.
#
- # This functionality is not supported when the destination bucket is a
- # directory bucket.
+ # **Directory buckets** - S3 Bucket Keys aren't supported, when you
+ # copy SSE-KMS encrypted objects from general purpose buckets to
+ # directory buckets, from directory buckets to general purpose
+ # buckets, or between directory buckets, through [CopyObject][2]. In
+ # this case, Amazon S3 makes a call to KMS every time a copy request
+ # is made for a KMS-encrypted object.
#
#
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
# @return [Boolean]
#
# @!attribute [rw] copy_source_sse_customer_algorithm
@@ -2642,11 +2668,6 @@ class CreateBucketRequest < Struct.new(
# @!attribute [rw] server_side_encryption
# The server-side encryption algorithm used when you store this object
# in Amazon S3 (for example, `AES256`, `aws:kms`).
- #
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
# @return [String]
#
# @!attribute [rw] sse_customer_algorithm
@@ -2671,34 +2692,21 @@ class CreateBucketRequest < Struct.new(
# @return [String]
#
# @!attribute [rw] ssekms_key_id
- # If present, indicates the ID of the Key Management Service (KMS)
- # symmetric encryption customer managed key that was used for the
- # object.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # If present, indicates the ID of the KMS key that was used for object
+ # encryption.
# @return [String]
#
# @!attribute [rw] ssekms_encryption_context
# If present, indicates the Amazon Web Services KMS Encryption Context
# to use for object encryption. The value of this header is a
- # base64-encoded UTF-8 string holding JSON with the encryption context
- # key-value pairs.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # Base64-encoded string of a UTF-8 encoded JSON, which contains the
+ # encryption context as key-value pairs.
# @return [String]
#
# @!attribute [rw] bucket_key_enabled
# Indicates whether the multipart upload uses an S3 Bucket Key for
# server-side encryption with Key Management Service (KMS) keys
# (SSE-KMS).
- #
- # This functionality is not supported for directory buckets.
- #
- #
# @return [Boolean]
#
# @!attribute [rw] request_charged
@@ -3110,10 +3118,53 @@ class CreateMultipartUploadOutput < Struct.new(
# The server-side encryption algorithm used when you store this object
# in Amazon S3 (for example, `AES256`, `aws:kms`).
#
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
+ # * Directory buckets - For directory buckets, there are only
+ # two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). We
+ # recommend that the bucket's default encryption uses the desired
+ # encryption configuration and you don't override the bucket
+ # default encryption in your `CreateSession` requests or `PUT`
+ # object requests. Then, new objects are automatically encrypted
+ # with the desired encryption settings. For more information, see
+ # [Protecting data with server-side encryption][1] in the *Amazon S3
+ # User Guide*. For more information about the encryption overriding
+ # behaviors in directory buckets, see [Specifying server-side
+ # encryption with KMS for new object uploads][2].
+ #
+ # In the Zonal endpoint API calls (except [CopyObject][3] and
+ # [UploadPartCopy][4]) using the REST API, the encryption request
+ # headers must match the encryption settings that are specified in
+ # the `CreateSession` request. You can't override the values of the
+ # encryption settings (`x-amz-server-side-encryption`,
+ # `x-amz-server-side-encryption-aws-kms-key-id`,
+ # `x-amz-server-side-encryption-context`, and
+ # `x-amz-server-side-encryption-bucket-key-enabled`) that are
+ # specified in the `CreateSession` request. You don't need to
+ # explicitly specify these encryption settings values in Zonal
+ # endpoint API calls, and Amazon S3 will use the encryption settings
+ # values from the `CreateSession` request to protect new objects in
+ # the directory bucket.
+ #
+ # When you use the CLI or the Amazon Web Services SDKs, for
+ # `CreateSession`, the session token refreshes automatically to
+ # avoid service interruptions when a session expires. The CLI or the
+ # Amazon Web Services SDKs use the bucket's default encryption
+ # configuration for the `CreateSession` request. It's not supported
+ # to override the encryption settings values in the `CreateSession`
+ # request. So in the Zonal endpoint API calls (except
+ # [CopyObject][3] and [UploadPartCopy][4]), the encryption request
+ # headers must match the default encryption configuration of the
+ # directory bucket.
#
- #
+ #
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
# @return [String]
#
# @!attribute [rw] storage_class
@@ -3179,37 +3230,75 @@ class CreateMultipartUploadOutput < Struct.new(
# @return [String]
#
# @!attribute [rw] ssekms_key_id
- # Specifies the ID (Key ID, Key ARN, or Key Alias) of the symmetric
- # encryption customer managed key to use for object encryption.
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. If the KMS key doesn't exist in the same account
+ # that's issuing the command, you must use the full Key ARN not the
+ # Key ID.
+ #
+ # **General purpose buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`,
+ # this header specifies the ID (Key ID, Key ARN, or Key Alias) of the
+ # KMS key to use. If you specify
+ # `x-amz-server-side-encryption:aws:kms` or
+ # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide
+ # `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
+ # Amazon Web Services managed key (`aws/s3`) to protect the data.
#
- # This functionality is not supported for directory buckets.
+ # **Directory buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms`, you must specify the
+ # ` x-amz-server-side-encryption-aws-kms-key-id` header with the ID
+ # (Key ID or Key ARN) of the KMS symmetric encryption customer managed
+ # key to use. Otherwise, you get an HTTP `400 Bad Request` error. Only
+ # use the key ID or key ARN. The key alias format of the KMS key
+ # isn't supported. Your SSE-KMS configuration can only support 1
+ # [customer managed key][1] per directory bucket for the lifetime of
+ # the bucket. [Amazon Web Services managed key][2] (`aws/s3`) isn't
+ # supported.
#
- #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
# @return [String]
#
# @!attribute [rw] ssekms_encryption_context
# Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded
- # UTF-8 string holding JSON with the encryption context key-value
- # pairs.
- #
- # This functionality is not supported for directory buckets.
+ # object encryption. The value of this header is a Base64-encoded
+ # string of a UTF-8 encoded JSON, which contains the encryption
+ # context as key-value pairs.
#
- #
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default
+ # encryption context - the bucket Amazon Resource Name (ARN). An
+ # additional encryption context value is not supported.
# @return [String]
#
# @!attribute [rw] bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
# encryption with server-side encryption using Key Management Service
- # (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
- # to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # (KMS) keys (SSE-KMS).
#
- # Specifying this header with an object action doesn’t affect
- # bucket-level settings for S3 Bucket Key.
+ # **General purpose buckets** - Setting this header to `true` causes
+ # Amazon S3 to use an S3 Bucket Key for object encryption with
+ # SSE-KMS. Also, specifying this header with a PUT action doesn't
+ # affect bucket-level settings for S3 Bucket Key.
#
- # This functionality is not supported for directory buckets.
+ # **Directory buckets** - S3 Bucket Keys are always enabled for `GET`
+ # and `PUT` operations in a directory bucket and can’t be disabled. S3
+ # Bucket Keys aren't supported, when you copy SSE-KMS encrypted
+ # objects from general purpose buckets to directory buckets, from
+ # directory buckets to general purpose buckets, or between directory
+ # buckets, through [CopyObject][1], [UploadPartCopy][2], [the Copy
+ # operation in Batch Operations][3], or [the import jobs][4]. In this
+ # case, Amazon S3 makes a call to KMS every time a copy request is
+ # made for a KMS-encrypted object.
#
- #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
# @return [Boolean]
#
# @!attribute [rw] request_payer
@@ -3319,6 +3408,31 @@ class CreateMultipartUploadRequest < Struct.new(
include Aws::Structure
end
+ # @!attribute [rw] server_side_encryption
+ # The server-side encryption algorithm used when you store objects in
+ # the directory bucket.
+ # @return [String]
+ #
+ # @!attribute [rw] ssekms_key_id
+ # If you specify `x-amz-server-side-encryption` with `aws:kms`, this
+ # header indicates the ID of the KMS symmetric encryption customer
+ # managed key that was used for object encryption.
+ # @return [String]
+ #
+ # @!attribute [rw] ssekms_encryption_context
+ # If present, indicates the Amazon Web Services KMS Encryption Context
+ # to use for object encryption. The value of this header is a
+ # Base64-encoded string of a UTF-8 encoded JSON, which contains the
+ # encryption context as key-value pairs. This value is stored as
+ # object metadata and automatically gets passed on to Amazon Web
+ # Services KMS for future `GetObject` operations on this object.
+ # @return [String]
+ #
+ # @!attribute [rw] bucket_key_enabled
+ # Indicates whether to use an S3 Bucket Key for server-side encryption
+ # with KMS keys (SSE-KMS).
+ # @return [Boolean]
+ #
# @!attribute [rw] credentials
# The established temporary security credentials for the created
# session.
@@ -3327,8 +3441,12 @@ class CreateMultipartUploadRequest < Struct.new(
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateSessionOutput AWS API Documentation
#
class CreateSessionOutput < Struct.new(
+ :server_side_encryption,
+ :ssekms_key_id,
+ :ssekms_encryption_context,
+ :bucket_key_enabled,
:credentials)
- SENSITIVE = []
+ SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
include Aws::Structure
end
@@ -3336,22 +3454,108 @@ class CreateSessionOutput < Struct.new(
# Specifies the mode of the session that will be created, either
# `ReadWrite` or `ReadOnly`. By default, a `ReadWrite` session is
# created. A `ReadWrite` session is capable of executing all the Zonal
- # endpoint APIs on a directory bucket. A `ReadOnly` session is
- # constrained to execute the following Zonal endpoint APIs:
- # `GetObject`, `HeadObject`, `ListObjectsV2`, `GetObjectAttributes`,
- # `ListParts`, and `ListMultipartUploads`.
+ # endpoint API operations on a directory bucket. A `ReadOnly` session
+ # is constrained to execute the following Zonal endpoint API
+ # operations: `GetObject`, `HeadObject`, `ListObjectsV2`,
+ # `GetObjectAttributes`, `ListParts`, and `ListMultipartUploads`.
# @return [String]
#
# @!attribute [rw] bucket
# The name of the bucket that you create a session for.
# @return [String]
#
+ # @!attribute [rw] server_side_encryption
+ # The server-side encryption algorithm to use when you store objects
+ # in the directory bucket.
+ #
+ # For directory buckets, there are only two supported options for
+ # server-side encryption: server-side encryption with Amazon S3
+ # managed keys (SSE-S3) (`AES256`) and server-side encryption with KMS
+ # keys (SSE-KMS) (`aws:kms`). By default, Amazon S3 encrypts data with
+ # SSE-S3. For more information, see [Protecting data with server-side
+ # encryption][1] in the *Amazon S3 User Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # @return [String]
+ #
+ # @!attribute [rw] ssekms_key_id
+ # If you specify `x-amz-server-side-encryption` with `aws:kms`, you
+ # must specify the ` x-amz-server-side-encryption-aws-kms-key-id`
+ # header with the ID (Key ID or Key ARN) of the KMS symmetric
+ # encryption customer managed key to use. Otherwise, you get an HTTP
+ # `400 Bad Request` error. Only use the key ID or key ARN. The key
+ # alias format of the KMS key isn't supported. Also, if the KMS key
+ # doesn't exist in the same account that't issuing the command, you
+ # must use the full Key ARN not the Key ID.
+ #
+ # Your SSE-KMS configuration can only support 1 [customer managed
+ # key][1] per directory bucket for the lifetime of the bucket. [Amazon
+ # Web Services managed key][2] (`aws/s3`) isn't supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
+ # @return [String]
+ #
+ # @!attribute [rw] ssekms_encryption_context
+ # Specifies the Amazon Web Services KMS Encryption Context as an
+ # additional encryption context to use for object encryption. The
+ # value of this header is a Base64-encoded string of a UTF-8 encoded
+ # JSON, which contains the encryption context as key-value pairs. This
+ # value is stored as object metadata and automatically gets passed on
+ # to Amazon Web Services KMS for future `GetObject` operations on this
+ # object.
+ #
+ # **General purpose buckets** - This value must be explicitly added
+ # during `CopyObject` operations if you want an additional encryption
+ # context for your object. For more information, see [Encryption
+ # context][1] in the *Amazon S3 User Guide*.
+ #
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default
+ # encryption context - the bucket Amazon Resource Name (ARN). An
+ # additional encryption context value is not supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context
+ # @return [String]
+ #
+ # @!attribute [rw] bucket_key_enabled
+ # Specifies whether Amazon S3 should use an S3 Bucket Key for object
+ # encryption with server-side encryption using KMS keys (SSE-KMS).
+ #
+ # S3 Bucket Keys are always enabled for `GET` and `PUT` operations in
+ # a directory bucket and can’t be disabled. S3 Bucket Keys aren't
+ # supported, when you copy SSE-KMS encrypted objects from general
+ # purpose buckets to directory buckets, from directory buckets to
+ # general purpose buckets, or between directory buckets, through
+ # [CopyObject][1], [UploadPartCopy][2], [the Copy operation in Batch
+ # Operations][3], or [the import jobs][4]. In this case, Amazon S3
+ # makes a call to KMS every time a copy request is made for a
+ # KMS-encrypted object.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
+ # @return [Boolean]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/CreateSessionRequest AWS API Documentation
#
class CreateSessionRequest < Struct.new(
:session_mode,
- :bucket)
- SENSITIVE = []
+ :bucket,
+ :server_side_encryption,
+ :ssekms_key_id,
+ :ssekms_encryption_context,
+ :bucket_key_enabled)
+ SENSITIVE = [:ssekms_key_id, :ssekms_encryption_context]
include Aws::Structure
end
@@ -3470,6 +3674,20 @@ class DeleteBucketCorsRequest < Struct.new(
# @!attribute [rw] bucket
# The name of the bucket containing the server-side encryption
# configuration to delete.
+ #
+ # Directory buckets - When you use this operation with a
+ # directory bucket, you must use path-style requests in the format
+ # `https://s3express-control.region_code.amazonaws.com/bucket-name `.
+ # Virtual-hosted-style requests aren't supported. Directory bucket
+ # names must be unique in the chosen Availability Zone. Bucket names
+ # must also follow the format ` bucket_base_name--az_id--x-s3` (for
+ # example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information
+ # about bucket naming restrictions, see [Directory bucket naming
+ # rules][1] in the *Amazon S3 User Guide*
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
# @return [String]
#
# @!attribute [rw] expected_bucket_owner
@@ -3477,6 +3695,12 @@ class DeleteBucketCorsRequest < Struct.new(
# you provide does not match the actual owner of the bucket, the
# request fails with the HTTP status code `403 Forbidden` (access
# denied).
+ #
+ # For directory buckets, this header is not supported in this API
+ # operation. If you specify this header, the request fails with the
+ # HTTP status code `501 Not Implemented`.
+ #
+ #
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DeleteBucketEncryptionRequest AWS API Documentation
@@ -5326,12 +5550,16 @@ class ErrorDocument < Struct.new(
class EventBridgeConfiguration < Aws::EmptyStructure; end
# Optional configuration to replicate existing source bucket objects.
- # For more information, see [Replicating Existing Objects][1] in the
+ #
+ # This parameter is no longer supported. To replicate existing objects,
+ # see [Replicating existing objects with S3 Batch Replication][1] in the
# *Amazon S3 User Guide*.
#
+ #
+ #
#
#
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html#existing-object-replication
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html
#
# @!attribute [rw] status
# Specifies whether Amazon S3 replicates existing source bucket
@@ -5595,6 +5823,20 @@ class GetBucketEncryptionOutput < Struct.new(
# @!attribute [rw] bucket
# The name of the bucket from which the server-side encryption
# configuration is retrieved.
+ #
+ # Directory buckets - When you use this operation with a
+ # directory bucket, you must use path-style requests in the format
+ # `https://s3express-control.region_code.amazonaws.com/bucket-name `.
+ # Virtual-hosted-style requests aren't supported. Directory bucket
+ # names must be unique in the chosen Availability Zone. Bucket names
+ # must also follow the format ` bucket_base_name--az_id--x-s3` (for
+ # example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information
+ # about bucket naming restrictions, see [Directory bucket naming
+ # rules][1] in the *Amazon S3 User Guide*
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
# @return [String]
#
# @!attribute [rw] expected_bucket_owner
@@ -5602,6 +5844,12 @@ class GetBucketEncryptionOutput < Struct.new(
# you provide does not match the actual owner of the bucket, the
# request fails with the HTTP status code `403 Forbidden` (access
# denied).
+ #
+ # For directory buckets, this header is not supported in this API
+ # operation. If you specify this header, the request fails with the
+ # HTTP status code `501 Not Implemented`.
+ #
+ #
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/GetBucketEncryptionRequest AWS API Documentation
@@ -6923,12 +7171,7 @@ class GetObjectLockConfigurationRequest < Struct.new(
#
# @!attribute [rw] server_side_encryption
# The server-side encryption algorithm used when you store this object
- # in Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
- #
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
+ # in Amazon S3.
# @return [String]
#
# @!attribute [rw] metadata
@@ -6957,22 +7200,13 @@ class GetObjectLockConfigurationRequest < Struct.new(
# @return [String]
#
# @!attribute [rw] ssekms_key_id
- # If present, indicates the ID of the Key Management Service (KMS)
- # symmetric encryption customer managed key that was used for the
- # object.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # If present, indicates the ID of the KMS key that was used for object
+ # encryption.
# @return [String]
#
# @!attribute [rw] bucket_key_enabled
# Indicates whether the object uses an S3 Bucket Key for server-side
# encryption with Key Management Service (KMS) keys (SSE-KMS).
- #
- # This functionality is not supported for directory buckets.
- #
- #
# @return [Boolean]
#
# @!attribute [rw] storage_class
@@ -7413,10 +7647,10 @@ class GetObjectOutput < Struct.new(
# @!attribute [rw] checksum_mode
# To retrieve the checksum, this mode must be enabled.
#
- # In addition, if you enable checksum mode and the object is uploaded
- # with a [checksum][1] and encrypted with an Key Management Service
- # (KMS) key, you must have permission to use the `kms:Decrypt` action
- # to retrieve the checksum.
+ # **General purpose buckets** - In addition, if you enable checksum
+ # mode and the object is uploaded with a [checksum][1] and encrypted
+ # with an Key Management Service (KMS) key, you must have permission
+ # to use the `kms:Decrypt` action to retrieve the checksum.
#
#
#
@@ -8137,11 +8371,6 @@ class HeadBucketRequest < Struct.new(
# @!attribute [rw] server_side_encryption
# The server-side encryption algorithm used when you store this object
# in Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
- #
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
# @return [String]
#
# @!attribute [rw] metadata
@@ -8170,22 +8399,13 @@ class HeadBucketRequest < Struct.new(
# @return [String]
#
# @!attribute [rw] ssekms_key_id
- # If present, indicates the ID of the Key Management Service (KMS)
- # symmetric encryption customer managed key that was used for the
- # object.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # If present, indicates the ID of the KMS key that was used for object
+ # encryption.
# @return [String]
#
# @!attribute [rw] bucket_key_enabled
# Indicates whether the object uses an S3 Bucket Key for server-side
# encryption with Key Management Service (KMS) keys (SSE-KMS).
- #
- # This functionality is not supported for directory buckets.
- #
- #
# @return [Boolean]
#
# @!attribute [rw] storage_class
@@ -8587,10 +8807,16 @@ class HeadObjectOutput < Struct.new(
# @!attribute [rw] checksum_mode
# To retrieve the checksum, this parameter must be enabled.
#
- # In addition, if you enable checksum mode and the object is uploaded
- # with a [checksum][1] and encrypted with an Key Management Service
- # (KMS) key, you must have permission to use the `kms:Decrypt` action
- # to retrieve the checksum.
+ # **General purpose buckets** - If you enable checksum mode and the
+ # object is uploaded with a [checksum][1] and encrypted with an Key
+ # Management Service (KMS) key, you must have permission to use the
+ # `kms:Decrypt` action to retrieve the checksum.
+ #
+ # **Directory buckets** - If you enable `ChecksumMode` and the object
+ # is encrypted with Amazon Web Services Key Management Service (Amazon
+ # Web Services KMS), you must also have the `kms:GenerateDataKey` and
+ # `kms:Decrypt` permissions in IAM identity-based policies and KMS key
+ # policies for the KMS key to retrieve the checksum of the object.
#
#
#
@@ -12490,18 +12716,21 @@ class PutBucketCorsRequest < Struct.new(
# @!attribute [rw] bucket
# Specifies default encryption for a bucket using server-side
- # encryption with different key options. By default, all buckets have
- # a default encryption configuration that uses server-side encryption
- # with Amazon S3 managed keys (SSE-S3). You can optionally configure
- # default encryption for a bucket by using server-side encryption with
- # an Amazon Web Services KMS key (SSE-KMS) or a customer-provided key
- # (SSE-C). For information about the bucket default encryption
- # feature, see [Amazon S3 Bucket Default Encryption][1] in the *Amazon
- # S3 User Guide*.
+ # encryption with different key options.
+ #
+ # Directory buckets - When you use this operation with a
+ # directory bucket, you must use path-style requests in the format
+ # `https://s3express-control.region_code.amazonaws.com/bucket-name `.
+ # Virtual-hosted-style requests aren't supported. Directory bucket
+ # names must be unique in the chosen Availability Zone. Bucket names
+ # must also follow the format ` bucket_base_name--az_id--x-s3` (for
+ # example, ` DOC-EXAMPLE-BUCKET--usw2-az1--x-s3`). For information
+ # about bucket naming restrictions, see [Directory bucket naming
+ # rules][1] in the *Amazon S3 User Guide*
#
#
#
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-bucket-naming-rules.html
# @return [String]
#
# @!attribute [rw] content_md5
@@ -12511,6 +12740,10 @@ class PutBucketCorsRequest < Struct.new(
# For requests made using the Amazon Web Services Command Line
# Interface (CLI) or Amazon Web Services SDKs, this field is
# calculated automatically.
+ #
+ # This functionality is not supported for directory buckets.
+ #
+ #
# @return [String]
#
# @!attribute [rw] checksum_algorithm
@@ -12525,6 +12758,12 @@ class PutBucketCorsRequest < Struct.new(
# If you provide an individual checksum, Amazon S3 ignores any
# provided `ChecksumAlgorithm` parameter.
#
+ # For directory buckets, when you use Amazon Web Services SDKs,
+ # `CRC32` is the default checksum algorithm that's used for
+ # performance.
+ #
+ #
+ #
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
@@ -12539,6 +12778,12 @@ class PutBucketCorsRequest < Struct.new(
# you provide does not match the actual owner of the bucket, the
# request fails with the HTTP status code `403 Forbidden` (access
# denied).
+ #
+ # For directory buckets, this header is not supported in this API
+ # operation. If you specify this header, the request fails with the
+ # HTTP status code `501 Not Implemented`.
+ #
+ #
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/PutBucketEncryptionRequest AWS API Documentation
@@ -13807,12 +14052,7 @@ class PutObjectLockConfigurationRequest < Struct.new(
#
# @!attribute [rw] server_side_encryption
# The server-side encryption algorithm used when you store this object
- # in Amazon S3 (for example, `AES256`, `aws:kms`, `aws:kms:dsse`).
- #
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
+ # in Amazon S3.
# @return [String]
#
# @!attribute [rw] version_id
@@ -13860,37 +14100,23 @@ class PutObjectLockConfigurationRequest < Struct.new(
# @return [String]
#
# @!attribute [rw] ssekms_key_id
- # If `x-amz-server-side-encryption` has a valid value of `aws:kms` or
- # `aws:kms:dsse`, this header indicates the ID of the Key Management
- # Service (KMS) symmetric encryption customer managed key that was
- # used for the object.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # If present, indicates the ID of the KMS key that was used for object
+ # encryption.
# @return [String]
#
# @!attribute [rw] ssekms_encryption_context
# If present, indicates the Amazon Web Services KMS Encryption Context
# to use for object encryption. The value of this header is a
- # base64-encoded UTF-8 string holding JSON with the encryption context
- # key-value pairs. This value is stored as object metadata and
- # automatically gets passed on to Amazon Web Services KMS for future
- # `GetObject` or `CopyObject` operations on this object.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # Base64-encoded string of a UTF-8 encoded JSON, which contains the
+ # encryption context as key-value pairs. This value is stored as
+ # object metadata and automatically gets passed on to Amazon Web
+ # Services KMS for future `GetObject` operations on this object.
# @return [String]
#
# @!attribute [rw] bucket_key_enabled
# Indicates whether the uploaded object uses an S3 Bucket Key for
# server-side encryption with Key Management Service (KMS) keys
# (SSE-KMS).
- #
- # This functionality is not supported for directory buckets.
- #
- #
# @return [Boolean]
#
# @!attribute [rw] request_charged
@@ -14266,25 +14492,66 @@ class PutObjectOutput < Struct.new(
# this object in Amazon S3 (for example, `AES256`, `aws:kms`,
# `aws:kms:dsse`).
#
- # General purpose buckets - You have four mutually exclusive
- # options to protect data using server-side encryption in Amazon S3,
- # depending on how you choose to manage the encryption keys.
- # Specifically, the encryption key options are Amazon S3 managed keys
- # (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS), and
- # customer-provided keys (SSE-C). Amazon S3 encrypts data with
- # server-side encryption by using Amazon S3 managed keys (SSE-S3) by
- # default. You can optionally tell Amazon S3 to encrypt data at rest
- # by using server-side encryption with other key options. For more
- # information, see [Using Server-Side Encryption][1] in the *Amazon S3
- # User Guide*.
+ # * General purpose buckets - You have four mutually exclusive
+ # options to protect data using server-side encryption in Amazon S3,
+ # depending on how you choose to manage the encryption keys.
+ # Specifically, the encryption key options are Amazon S3 managed
+ # keys (SSE-S3), Amazon Web Services KMS keys (SSE-KMS or DSSE-KMS),
+ # and customer-provided keys (SSE-C). Amazon S3 encrypts data with
+ # server-side encryption by using Amazon S3 managed keys (SSE-S3) by
+ # default. You can optionally tell Amazon S3 to encrypt data at rest
+ # by using server-side encryption with other key options. For more
+ # information, see [Using Server-Side Encryption][1] in the *Amazon
+ # S3 User Guide*.
+ #
+ # * Directory buckets - For directory buckets, there are only
+ # two supported options for server-side encryption: server-side
+ # encryption with Amazon S3 managed keys (SSE-S3) (`AES256`) and
+ # server-side encryption with KMS keys (SSE-KMS) (`aws:kms`). We
+ # recommend that the bucket's default encryption uses the desired
+ # encryption configuration and you don't override the bucket
+ # default encryption in your `CreateSession` requests or `PUT`
+ # object requests. Then, new objects are automatically encrypted
+ # with the desired encryption settings. For more information, see
+ # [Protecting data with server-side encryption][2] in the *Amazon S3
+ # User Guide*. For more information about the encryption overriding
+ # behaviors in directory buckets, see [Specifying server-side
+ # encryption with KMS for new object uploads][3].
+ #
+ # In the Zonal endpoint API calls (except [CopyObject][4] and
+ # [UploadPartCopy][5]) using the REST API, the encryption request
+ # headers must match the encryption settings that are specified in
+ # the `CreateSession` request. You can't override the values of the
+ # encryption settings (`x-amz-server-side-encryption`,
+ # `x-amz-server-side-encryption-aws-kms-key-id`,
+ # `x-amz-server-side-encryption-context`, and
+ # `x-amz-server-side-encryption-bucket-key-enabled`) that are
+ # specified in the `CreateSession` request. You don't need to
+ # explicitly specify these encryption settings values in Zonal
+ # endpoint API calls, and Amazon S3 will use the encryption settings
+ # values from the `CreateSession` request to protect new objects in
+ # the directory bucket.
+ #
+ # When you use the CLI or the Amazon Web Services SDKs, for
+ # `CreateSession`, the session token refreshes automatically to
+ # avoid service interruptions when a session expires. The CLI or the
+ # Amazon Web Services SDKs use the bucket's default encryption
+ # configuration for the `CreateSession` request. It's not supported
+ # to override the encryption settings values in the `CreateSession`
+ # request. So in the Zonal endpoint API calls (except
+ # [CopyObject][4] and [UploadPartCopy][5]), the encryption request
+ # headers must match the default encryption configuration of the
+ # directory bucket.
#
- # Directory buckets - For directory buckets, only the
- # server-side encryption with Amazon S3 managed keys (SSE-S3)
- # (`AES256`) value is supported.
+ #
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingServerSideEncryption.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-specifying-kms-encryption.html
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
# @return [String]
#
# @!attribute [rw] storage_class
@@ -14370,48 +14637,87 @@ class PutObjectOutput < Struct.new(
# @return [String]
#
# @!attribute [rw] ssekms_key_id
- # If `x-amz-server-side-encryption` has a valid value of `aws:kms` or
- # `aws:kms:dsse`, this header specifies the ID (Key ID, Key ARN, or
- # Key Alias) of the Key Management Service (KMS) symmetric encryption
- # customer managed key that was used for the object. If you specify
+ # Specifies the KMS key ID (Key ID, Key ARN, or Key Alias) to use for
+ # object encryption. If the KMS key doesn't exist in the same account
+ # that's issuing the command, you must use the full Key ARN not the
+ # Key ID.
+ #
+ # **General purpose buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms` or `aws:kms:dsse`,
+ # this header specifies the ID (Key ID, Key ARN, or Key Alias) of the
+ # KMS key to use. If you specify
# `x-amz-server-side-encryption:aws:kms` or
- # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide`
- # x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
- # Amazon Web Services managed key (`aws/s3`) to protect the data. If
- # the KMS key does not exist in the same account that's issuing the
- # command, you must use the full ARN and not just the ID.
+ # `x-amz-server-side-encryption:aws:kms:dsse`, but do not provide
+ # `x-amz-server-side-encryption-aws-kms-key-id`, Amazon S3 uses the
+ # Amazon Web Services managed key (`aws/s3`) to protect the data.
#
- # This functionality is not supported for directory buckets.
+ # **Directory buckets** - If you specify
+ # `x-amz-server-side-encryption` with `aws:kms`, you must specify the
+ # ` x-amz-server-side-encryption-aws-kms-key-id` header with the ID
+ # (Key ID or Key ARN) of the KMS symmetric encryption customer managed
+ # key to use. Otherwise, you get an HTTP `400 Bad Request` error. Only
+ # use the key ID or key ARN. The key alias format of the KMS key
+ # isn't supported. Your SSE-KMS configuration can only support 1
+ # [customer managed key][1] per directory bucket for the lifetime of
+ # the bucket. [Amazon Web Services managed key][2] (`aws/s3`) isn't
+ # supported.
#
- #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
# @return [String]
#
# @!attribute [rw] ssekms_encryption_context
- # Specifies the Amazon Web Services KMS Encryption Context to use for
- # object encryption. The value of this header is a base64-encoded
- # UTF-8 string holding JSON with the encryption context key-value
- # pairs. This value is stored as object metadata and automatically
- # gets passed on to Amazon Web Services KMS for future `GetObject` or
- # `CopyObject` operations on this object. This value must be
- # explicitly added during `CopyObject` operations.
+ # Specifies the Amazon Web Services KMS Encryption Context as an
+ # additional encryption context to use for object encryption. The
+ # value of this header is a Base64-encoded string of a UTF-8 encoded
+ # JSON, which contains the encryption context as key-value pairs. This
+ # value is stored as object metadata and automatically gets passed on
+ # to Amazon Web Services KMS for future `GetObject` operations on this
+ # object.
#
- # This functionality is not supported for directory buckets.
+ # **General purpose buckets** - This value must be explicitly added
+ # during `CopyObject` operations if you want an additional encryption
+ # context for your object. For more information, see [Encryption
+ # context][1] in the *Amazon S3 User Guide*.
#
- #
+ # **Directory buckets** - You can optionally provide an explicit
+ # encryption context value. The value must match the default
+ # encryption context - the bucket Amazon Resource Name (ARN). An
+ # additional encryption context value is not supported.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/UsingKMSEncryption.html#encryption-context
# @return [String]
#
# @!attribute [rw] bucket_key_enabled
# Specifies whether Amazon S3 should use an S3 Bucket Key for object
# encryption with server-side encryption using Key Management Service
- # (KMS) keys (SSE-KMS). Setting this header to `true` causes Amazon S3
- # to use an S3 Bucket Key for object encryption with SSE-KMS.
+ # (KMS) keys (SSE-KMS).
#
- # Specifying this header with a PUT action doesn’t affect bucket-level
- # settings for S3 Bucket Key.
+ # **General purpose buckets** - Setting this header to `true` causes
+ # Amazon S3 to use an S3 Bucket Key for object encryption with
+ # SSE-KMS. Also, specifying this header with a PUT action doesn't
+ # affect bucket-level settings for S3 Bucket Key.
#
- # This functionality is not supported for directory buckets.
+ # **Directory buckets** - S3 Bucket Keys are always enabled for `GET`
+ # and `PUT` operations in a directory bucket and can’t be disabled. S3
+ # Bucket Keys aren't supported, when you copy SSE-KMS encrypted
+ # objects from general purpose buckets to directory buckets, from
+ # directory buckets to general purpose buckets, or between directory
+ # buckets, through [CopyObject][1], [UploadPartCopy][2], [the Copy
+ # operation in Batch Operations][3], or [the import jobs][4]. In this
+ # case, Amazon S3 makes a call to KMS every time a copy request is
+ # made for a KMS-encrypted object.
#
- #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
# @return [Boolean]
#
# @!attribute [rw] request_payer
@@ -15125,12 +15431,16 @@ class ReplicationConfiguration < Struct.new(
#
# @!attribute [rw] existing_object_replication
# Optional configuration to replicate existing source bucket objects.
- # For more information, see [Replicating Existing Objects][1] in the
- # *Amazon S3 User Guide*.
+ #
+ # This parameter is no longer supported. To replicate existing
+ # objects, see [Replicating existing objects with S3 Batch
+ # Replication][1] in the *Amazon S3 User Guide*.
+ #
+ #
#
#
#
- # [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/replication-what-is-isnot-replicated.html#existing-object-replication
+ # [1]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-batch-replication-batch.html
# @return [Types::ExistingObjectReplication]
#
# @!attribute [rw] destination
@@ -16002,35 +16312,51 @@ class SelectParameters < Struct.new(
# Describes the default server-side encryption to apply to new objects
# in the bucket. If a PUT Object request doesn't specify any
- # server-side encryption, this default encryption will be applied. If
- # you don't specify a customer managed key at configuration, Amazon S3
- # automatically creates an Amazon Web Services KMS key in your Amazon
- # Web Services account the first time that you add an object encrypted
- # with SSE-KMS to a bucket. By default, Amazon S3 uses this KMS key for
- # SSE-KMS. For more information, see [PUT Bucket encryption][1] in the
- # *Amazon S3 API Reference*.
+ # server-side encryption, this default encryption will be applied. For
+ # more information, see [PutBucketEncryption][1].
#
- # If you're specifying a customer managed KMS key, we recommend using a
- # fully qualified KMS key ARN. If you use a KMS key alias instead, then
- # KMS resolves the key within the requester’s account. This behavior can
- # result in data that's encrypted with a KMS key that belongs to the
- # requester, and not the bucket owner.
+ # * **General purpose buckets** - If you don't specify a customer
+ # managed key at configuration, Amazon S3 automatically creates an
+ # Amazon Web Services KMS key (`aws/s3`) in your Amazon Web Services
+ # account the first time that you add an object encrypted with SSE-KMS
+ # to a bucket. By default, Amazon S3 uses this KMS key for SSE-KMS.
+ #
+ # * **Directory buckets** - Your SSE-KMS configuration can only support
+ # 1 [customer managed key][2] per directory bucket for the lifetime of
+ # the bucket. [Amazon Web Services managed key][3] (`aws/s3`) isn't
+ # supported.
+ #
+ # * **Directory buckets** - For directory buckets, there are only two
+ # supported options for server-side encryption: SSE-S3 and SSE-KMS.
#
#
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTencryption.html
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [3]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#aws-managed-cmk
#
# @!attribute [rw] sse_algorithm
# Server-side encryption algorithm to use for the default encryption.
+ #
+ # For directory buckets, there are only two supported values for
+ # server-side encryption: `AES256` and `aws:kms`.
+ #
+ #
# @return [String]
#
# @!attribute [rw] kms_master_key_id
- # Amazon Web Services Key Management Service (KMS) customer Amazon Web
- # Services KMS key ID to use for the default encryption. This
- # parameter is allowed if and only if `SSEAlgorithm` is set to
- # `aws:kms` or `aws:kms:dsse`.
+ # Amazon Web Services Key Management Service (KMS) customer managed
+ # key ID to use for the default encryption.
+ #
+ # * **General purpose buckets** - This parameter is allowed if and
+ # only if `SSEAlgorithm` is set to `aws:kms` or `aws:kms:dsse`.
+ #
+ # * **Directory buckets** - This parameter is allowed if and only if
+ # `SSEAlgorithm` is set to `aws:kms`.
+ #
+ #
#
# You can specify the key ID, key alias, or the Amazon Resource Name
# (ARN) of the KMS key.
@@ -16042,22 +16368,36 @@ class SelectParameters < Struct.new(
#
# * Key Alias: `alias/alias-name`
#
- # If you use a key ID, you can run into a LogDestination undeliverable
- # error when creating a VPC flow log.
- #
# If you are using encryption with cross-account or Amazon Web
- # Services service operations you must use a fully qualified KMS key
+ # Services service operations, you must use a fully qualified KMS key
# ARN. For more information, see [Using encryption for cross-account
# operations][1].
#
+ # * **General purpose buckets** - If you're specifying a customer
+ # managed KMS key, we recommend using a fully qualified KMS key ARN.
+ # If you use a KMS key alias instead, then KMS resolves the key
+ # within the requester’s account. This behavior can result in data
+ # that's encrypted with a KMS key that belongs to the requester,
+ # and not the bucket owner. Also, if you use a key ID, you can run
+ # into a LogDestination undeliverable error when creating a VPC flow
+ # log.
+ #
+ # * **Directory buckets** - When you specify an [KMS customer managed
+ # key][2] for encryption in your directory bucket, only use the key
+ # ID or key ARN. The key alias format of the KMS key isn't
+ # supported.
+ #
+ #
+ #
# Amazon S3 only supports symmetric encryption KMS keys. For more
- # information, see [Asymmetric keys in Amazon Web Services KMS][2] in
+ # information, see [Asymmetric keys in Amazon Web Services KMS][3] in
# the *Amazon Web Services Key Management Service Developer Guide*.
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-encryption.html#bucket-encryption-update-bucket-policy
- # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
+ # [2]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ # [3]: https://docs.aws.amazon.com/kms/latest/developerguide/symmetric-asymmetric.html
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionByDefault AWS API Documentation
@@ -16086,14 +16426,23 @@ class ServerSideEncryptionConfiguration < Struct.new(
# Specifies the default server-side encryption configuration.
#
- # If you're specifying a customer managed KMS key, we recommend using a
- # fully qualified KMS key ARN. If you use a KMS key alias instead, then
- # KMS resolves the key within the requester’s account. This behavior can
- # result in data that's encrypted with a KMS key that belongs to the
- # requester, and not the bucket owner.
+ # * **General purpose buckets** - If you're specifying a customer
+ # managed KMS key, we recommend using a fully qualified KMS key ARN.
+ # If you use a KMS key alias instead, then KMS resolves the key within
+ # the requester’s account. This behavior can result in data that's
+ # encrypted with a KMS key that belongs to the requester, and not the
+ # bucket owner.
+ #
+ # * **Directory buckets** - When you specify an [KMS customer managed
+ # key][1] for encryption in your directory bucket, only use the key ID
+ # or key ARN. The key alias format of the KMS key isn't supported.
#
#
#
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/kms/latest/developerguide/concepts.html#customer-cmk
+ #
# @!attribute [rw] apply_server_side_encryption_by_default
# Specifies the default server-side encryption to apply to new objects
# in the bucket. If a PUT Object request doesn't specify any
@@ -16105,14 +16454,31 @@ class ServerSideEncryptionConfiguration < Struct.new(
# server-side encryption using KMS (SSE-KMS) for new objects in the
# bucket. Existing objects are not affected. Setting the
# `BucketKeyEnabled` element to `true` causes Amazon S3 to use an S3
- # Bucket Key. By default, S3 Bucket Key is not enabled.
+ # Bucket Key.
#
- # For more information, see [Amazon S3 Bucket Keys][1] in the *Amazon
- # S3 User Guide*.
+ # * **General purpose buckets** - By default, S3 Bucket Key is not
+ # enabled. For more information, see [Amazon S3 Bucket Keys][1] in
+ # the *Amazon S3 User Guide*.
+ #
+ # * **Directory buckets** - S3 Bucket Keys are always enabled for
+ # `GET` and `PUT` operations in a directory bucket and can’t be
+ # disabled. S3 Bucket Keys aren't supported, when you copy SSE-KMS
+ # encrypted objects from general purpose buckets to directory
+ # buckets, from directory buckets to general purpose buckets, or
+ # between directory buckets, through [CopyObject][2],
+ # [UploadPartCopy][3], [the Copy operation in Batch Operations][4],
+ # or [the import jobs][5]. In this case, Amazon S3 makes a call to
+ # KMS every time a copy request is made for a KMS-encrypted object.
+ #
+ #
#
#
#
# [1]: https://docs.aws.amazon.com/AmazonS3/latest/dev/bucket-key.html
+ # [2]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_CopyObject.html
+ # [3]: https://docs.aws.amazon.com/AmazonS3/latest/API/API_UploadPartCopy.html
+ # [4]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops
+ # [5]: https://docs.aws.amazon.com/AmazonS3/latest/userguide/create-import-job
# @return [Boolean]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ServerSideEncryptionRule AWS API Documentation
@@ -16127,8 +16493,8 @@ class ServerSideEncryptionRule < Struct.new(
# The established temporary security credentials of the session.
#
# **Directory buckets** - These session credentials are only supported
- # for the authentication and authorization of Zonal endpoint APIs on
- # directory buckets.
+ # for the authentication and authorization of Zonal endpoint API
+ # operations on directory buckets.
#
#
#
@@ -16562,11 +16928,6 @@ class Transition < Struct.new(
# @!attribute [rw] server_side_encryption
# The server-side encryption algorithm used when you store this object
# in Amazon S3 (for example, `AES256`, `aws:kms`).
- #
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
# @return [String]
#
# @!attribute [rw] sse_customer_algorithm
@@ -16591,23 +16952,14 @@ class Transition < Struct.new(
# @return [String]
#
# @!attribute [rw] ssekms_key_id
- # If present, indicates the ID of the Key Management Service (KMS)
- # symmetric encryption customer managed key that was used for the
- # object.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # If present, indicates the ID of the KMS key that was used for object
+ # encryption.
# @return [String]
#
# @!attribute [rw] bucket_key_enabled
# Indicates whether the multipart upload uses an S3 Bucket Key for
# server-side encryption with Key Management Service (KMS) keys
# (SSE-KMS).
- #
- # This functionality is not supported for directory buckets.
- #
- #
# @return [Boolean]
#
# @!attribute [rw] request_charged
@@ -16958,11 +17310,6 @@ class UploadPartCopyRequest < Struct.new(
# @!attribute [rw] server_side_encryption
# The server-side encryption algorithm used when you store this object
# in Amazon S3 (for example, `AES256`, `aws:kms`).
- #
- # For directory buckets, only server-side encryption with Amazon S3
- # managed keys (SSE-S3) (`AES256`) is supported.
- #
- #
# @return [String]
#
# @!attribute [rw] etag
@@ -17051,23 +17398,14 @@ class UploadPartCopyRequest < Struct.new(
# @return [String]
#
# @!attribute [rw] ssekms_key_id
- # If present, indicates the ID of the Key Management Service (KMS)
- # symmetric encryption customer managed key that was used for the
- # object.
- #
- # This functionality is not supported for directory buckets.
- #
- #
+ # If present, indicates the ID of the KMS key that was used for object
+ # encryption.
# @return [String]
#
# @!attribute [rw] bucket_key_enabled
# Indicates whether the multipart upload uses an S3 Bucket Key for
# server-side encryption with Key Management Service (KMS) keys
# (SSE-KMS).
- #
- # This functionality is not supported for directory buckets.
- #
- #
# @return [Boolean]
#
# @!attribute [rw] request_charged
diff --git a/gems/aws-sdk-s3/sig/client.rbs b/gems/aws-sdk-s3/sig/client.rbs
index 8366949b58b..51a166e47f8 100644
--- a/gems/aws-sdk-s3/sig/client.rbs
+++ b/gems/aws-sdk-s3/sig/client.rbs
@@ -292,12 +292,20 @@ module Aws
interface _CreateSessionResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::CreateSessionOutput]
+ def server_side_encryption: () -> ("AES256" | "aws:kms" | "aws:kms:dsse")
+ def ssekms_key_id: () -> ::String
+ def ssekms_encryption_context: () -> ::String
+ def bucket_key_enabled: () -> bool
def credentials: () -> Types::SessionCredentials
end
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/S3/Client.html#create_session-instance_method
def create_session: (
?session_mode: ("ReadOnly" | "ReadWrite"),
- bucket: ::String
+ bucket: ::String,
+ ?server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse"),
+ ?ssekms_key_id: ::String,
+ ?ssekms_encryption_context: ::String,
+ ?bucket_key_enabled: bool
) -> _CreateSessionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSessionResponseSuccess
diff --git a/gems/aws-sdk-s3/sig/types.rbs b/gems/aws-sdk-s3/sig/types.rbs
index 43779708039..5b1653d8f2a 100644
--- a/gems/aws-sdk-s3/sig/types.rbs
+++ b/gems/aws-sdk-s3/sig/types.rbs
@@ -381,14 +381,22 @@ module Aws::S3
end
class CreateSessionOutput
+ attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
+ attr_accessor ssekms_key_id: ::String
+ attr_accessor ssekms_encryption_context: ::String
+ attr_accessor bucket_key_enabled: bool
attr_accessor credentials: Types::SessionCredentials
- SENSITIVE: []
+ SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
end
class CreateSessionRequest
attr_accessor session_mode: ("ReadOnly" | "ReadWrite")
attr_accessor bucket: ::String
- SENSITIVE: []
+ attr_accessor server_side_encryption: ("AES256" | "aws:kms" | "aws:kms:dsse")
+ attr_accessor ssekms_key_id: ::String
+ attr_accessor ssekms_encryption_context: ::String
+ attr_accessor bucket_key_enabled: bool
+ SENSITIVE: [:ssekms_key_id, :ssekms_encryption_context]
end
class DefaultRetention
diff --git a/gems/aws-sdk-s3/spec/endpoint_provider_spec.rb b/gems/aws-sdk-s3/spec/endpoint_provider_spec.rb
index e959dd58e92..16acfbb71e3 100644
--- a/gems/aws-sdk-s3/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-s3/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::S3
describe EndpointProvider do
subject { Aws::S3::EndpointProvider.new }
- context 'region is not a valid DNS-suffix' do
+ context "region is not a valid DNS-suffix" do
let(:expected) do
{"error"=>"Invalid region: region was not a valid DNS name."}
end
@@ -27,7 +27,7 @@ module Aws::S3
end
end
- context 'Invalid access point ARN: Not S3' do
+ context "Invalid access point ARN: Not S3" do
let(:expected) do
{"error"=>"Invalid ARN: The ARN was not for the S3 service, found: not-s3"}
end
@@ -54,7 +54,7 @@ module Aws::S3
end
end
- context 'Invalid access point ARN: invalid resource' do
+ context "Invalid access point ARN: invalid resource" do
let(:expected) do
{"error"=>"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."}
end
@@ -81,7 +81,7 @@ module Aws::S3
end
end
- context 'Invalid access point ARN: invalid no ap name' do
+ context "Invalid access point ARN: invalid no ap name" do
let(:expected) do
{"error"=>"Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided"}
end
@@ -108,7 +108,7 @@ module Aws::S3
end
end
- context 'Invalid access point ARN: AccountId is invalid' do
+ context "Invalid access point ARN: AccountId is invalid" do
let(:expected) do
{"error"=>"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `123456_789012`"}
end
@@ -135,7 +135,7 @@ module Aws::S3
end
end
- context 'Invalid access point ARN: access point name is invalid' do
+ context "Invalid access point ARN: access point name is invalid" do
let(:expected) do
{"error"=>"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `ap_name`"}
end
@@ -162,7 +162,7 @@ module Aws::S3
end
end
- context 'Access points (disable access points explicitly false)' do
+ context "Access points (disable access points explicitly false)" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com"}}
end
@@ -193,7 +193,7 @@ module Aws::S3
end
end
- context 'Access points: partition does not support FIPS' do
+ context "Access points: partition does not support FIPS" do
let(:expected) do
{"error"=>"Partition does not support FIPS"}
end
@@ -221,7 +221,7 @@ module Aws::S3
end
end
- context 'Bucket region is invalid' do
+ context "Bucket region is invalid" do
let(:expected) do
{"error"=>"Invalid region in ARN: `us-west -2` (invalid DNS name)"}
end
@@ -248,7 +248,7 @@ module Aws::S3
end
end
- context 'Access points when Access points explicitly disabled (used for CreateBucket)' do
+ context "Access points when Access points explicitly disabled (used for CreateBucket)" do
let(:expected) do
{"error"=>"Access points are not supported for this operation"}
end
@@ -274,7 +274,7 @@ module Aws::S3
end
end
- context 'missing arn type' do
+ context "missing arn type" do
let(:expected) do
{"error"=>"Invalid ARN: `arn:aws:s3:us-west-2:123456789012:` was not a valid ARN"}
end
@@ -301,7 +301,7 @@ module Aws::S3
end
end
- context 'SDK::Host + access point + Dualstack is an error' do
+ context "SDK::Host + access point + Dualstack is an error" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -330,7 +330,7 @@ module Aws::S3
end
end
- context 'Access point ARN with FIPS & Dualstack' do
+ context "Access point ARN with FIPS & Dualstack" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.us-west-2.amazonaws.com"}}
end
@@ -363,7 +363,7 @@ module Aws::S3
end
end
- context 'Access point ARN with Dualstack' do
+ context "Access point ARN with Dualstack" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint.dualstack.us-west-2.amazonaws.com"}}
end
@@ -395,7 +395,7 @@ module Aws::S3
end
end
- context 'vanilla MRAP' do
+ context "vanilla MRAP" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingRegionSet"=>["*"], "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"https://mfzwi23gnjvgw.mrap.accesspoint.s3-global.amazonaws.com"}}
end
@@ -426,7 +426,7 @@ module Aws::S3
end
end
- context 'MRAP does not support FIPS' do
+ context "MRAP does not support FIPS" do
let(:expected) do
{"error"=>"S3 MRAP does not support FIPS"}
end
@@ -454,7 +454,7 @@ module Aws::S3
end
end
- context 'MRAP does not support DualStack' do
+ context "MRAP does not support DualStack" do
let(:expected) do
{"error"=>"S3 MRAP does not support dual-stack"}
end
@@ -482,7 +482,7 @@ module Aws::S3
end
end
- context 'MRAP does not support S3 Accelerate' do
+ context "MRAP does not support S3 Accelerate" do
let(:expected) do
{"error"=>"S3 MRAP does not support S3 Accelerate"}
end
@@ -510,7 +510,7 @@ module Aws::S3
end
end
- context 'MRAP explicitly disabled' do
+ context "MRAP explicitly disabled" do
let(:expected) do
{"error"=>"Invalid configuration: Multi-Region Access Point ARNs are disabled."}
end
@@ -538,7 +538,7 @@ module Aws::S3
end
end
- context 'Dual-stack endpoint with path-style forced' do
+ context "Dual-stack endpoint with path-style forced" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.dualstack.us-west-2.amazonaws.com/bucketname"}}
end
@@ -571,7 +571,7 @@ module Aws::S3
end
end
- context 'Dual-stack endpoint + SDK::Host is error' do
+ context "Dual-stack endpoint + SDK::Host is error" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -601,7 +601,7 @@ module Aws::S3
end
end
- context 'path style + ARN bucket' do
+ context "path style + ARN bucket" do
let(:expected) do
{"error"=>"Path-style addressing cannot be used with ARN buckets"}
end
@@ -629,7 +629,7 @@ module Aws::S3
end
end
- context 'implicit path style bucket + dualstack' do
+ context "implicit path style bucket + dualstack" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.dualstack.us-west-2.amazonaws.com/99_ab"}}
end
@@ -661,7 +661,7 @@ module Aws::S3
end
end
- context 'implicit path style bucket + dualstack' do
+ context "implicit path style bucket + dualstack" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -690,7 +690,7 @@ module Aws::S3
end
end
- context 'don't allow URL injections in the bucket' do
+ context "don't allow URL injections in the bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.us-west-2.amazonaws.com/example.com%23"}}
end
@@ -721,7 +721,7 @@ module Aws::S3
end
end
- context 'URI encode bucket names in the path' do
+ context "URI encode bucket names in the path" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.us-west-2.amazonaws.com/bucket%20name"}}
end
@@ -752,7 +752,7 @@ module Aws::S3
end
end
- context 'scheme is respected' do
+ context "scheme is respected" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"http://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/99_ab"}}
end
@@ -766,7 +766,7 @@ module Aws::S3
end
end
- context 'scheme is respected (virtual addressing)' do
+ context "scheme is respected (virtual addressing)" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"http://bucketname.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/foo"}}
end
@@ -780,7 +780,7 @@ module Aws::S3
end
end
- context 'path style + implicit private link' do
+ context "path style + implicit private link" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/99_ab"}}
end
@@ -812,7 +812,7 @@ module Aws::S3
end
end
- context 'invalid Endpoint override' do
+ context "invalid Endpoint override" do
let(:expected) do
{"error"=>"Custom endpoint `abcde://nota#url` was not a valid URI"}
end
@@ -825,7 +825,7 @@ module Aws::S3
end
end
- context 'using an IPv4 address forces path style' do
+ context "using an IPv4 address forces path style" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://123.123.0.1/bucketname"}}
end
@@ -857,7 +857,7 @@ module Aws::S3
end
end
- context 'vanilla access point arn with region mismatch and UseArnRegion=false' do
+ context "vanilla access point arn with region mismatch and UseArnRegion=false" do
let(:expected) do
{"error"=>"Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"}
end
@@ -885,7 +885,7 @@ module Aws::S3
end
end
- context 'vanilla access point arn with region mismatch and UseArnRegion unset' do
+ context "vanilla access point arn with region mismatch and UseArnRegion unset" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com"}}
end
@@ -916,7 +916,7 @@ module Aws::S3
end
end
- context 'vanilla access point arn with region mismatch and UseArnRegion=true' do
+ context "vanilla access point arn with region mismatch and UseArnRegion=true" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com"}}
end
@@ -948,7 +948,7 @@ module Aws::S3
end
end
- context 'subdomains are not allowed in virtual buckets' do
+ context "subdomains are not allowed in virtual buckets" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3.us-east-1.amazonaws.com/bucket.name"}}
end
@@ -979,7 +979,7 @@ module Aws::S3
end
end
- context 'bucket names with 3 characters are allowed in virtual buckets' do
+ context "bucket names with 3 characters are allowed in virtual buckets" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://aaa.s3.us-east-1.amazonaws.com"}}
end
@@ -1010,7 +1010,7 @@ module Aws::S3
end
end
- context 'bucket names with fewer than 3 characters are not allowed in virtual host' do
+ context "bucket names with fewer than 3 characters are not allowed in virtual host" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3.us-east-1.amazonaws.com/aa"}}
end
@@ -1041,7 +1041,7 @@ module Aws::S3
end
end
- context 'bucket names with uppercase characters are not allowed in virtual host' do
+ context "bucket names with uppercase characters are not allowed in virtual host" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3.us-east-1.amazonaws.com/BucketName"}}
end
@@ -1072,7 +1072,7 @@ module Aws::S3
end
end
- context 'subdomains are allowed in virtual buckets on http endpoints' do
+ context "subdomains are allowed in virtual buckets on http endpoints" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"http://bucket.name.example.com"}}
end
@@ -1104,7 +1104,7 @@ module Aws::S3
end
end
- context 'no region set' do
+ context "no region set" do
let(:expected) do
{"error"=>"A region must be set when sending requests to S3."}
end
@@ -1117,7 +1117,7 @@ module Aws::S3
end
end
- context 'UseGlobalEndpoints=true, region=us-east-1 uses the global endpoint' do
+ context "UseGlobalEndpoints=true, region=us-east-1 uses the global endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.amazonaws.com"}}
end
@@ -1146,7 +1146,7 @@ module Aws::S3
end
end
- context 'UseGlobalEndpoints=true, region=us-west-2 uses the regional endpoint' do
+ context "UseGlobalEndpoints=true, region=us-west-2 uses the regional endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.us-west-2.amazonaws.com"}}
end
@@ -1175,7 +1175,7 @@ module Aws::S3
end
end
- context 'UseGlobalEndpoints=true, region=cn-north-1 uses the regional endpoint' do
+ context "UseGlobalEndpoints=true, region=cn-north-1 uses the regional endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.cn-north-1.amazonaws.com.cn"}}
end
@@ -1204,7 +1204,7 @@ module Aws::S3
end
end
- context 'UseGlobalEndpoints=true, region=us-east-1, fips=true uses the regional endpoint with fips' do
+ context "UseGlobalEndpoints=true, region=us-east-1, fips=true uses the regional endpoint with fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-fips.us-east-1.amazonaws.com"}}
end
@@ -1234,7 +1234,7 @@ module Aws::S3
end
end
- context 'UseGlobalEndpoints=true, region=us-east-1, dualstack=true uses the regional endpoint with dualstack' do
+ context "UseGlobalEndpoints=true, region=us-east-1, dualstack=true uses the regional endpoint with dualstack" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.dualstack.us-east-1.amazonaws.com"}}
end
@@ -1264,7 +1264,7 @@ module Aws::S3
end
end
- context 'UseGlobalEndpoints=true, region=us-east-1, dualstack and fips uses the regional endpoint with fips/dualstack' do
+ context "UseGlobalEndpoints=true, region=us-east-1, dualstack and fips uses the regional endpoint with fips/dualstack" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-fips.dualstack.us-east-1.amazonaws.com"}}
end
@@ -1295,7 +1295,7 @@ module Aws::S3
end
end
- context 'UseGlobalEndpoints=true, region=us-east-1 with custom endpoint, uses custom' do
+ context "UseGlobalEndpoints=true, region=us-east-1 with custom endpoint, uses custom" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://example.com"}}
end
@@ -1325,7 +1325,7 @@ module Aws::S3
end
end
- context 'UseGlobalEndpoints=true, region=us-west-2 with custom endpoint, uses custom' do
+ context "UseGlobalEndpoints=true, region=us-west-2 with custom endpoint, uses custom" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://example.com"}}
end
@@ -1355,7 +1355,7 @@ module Aws::S3
end
end
- context 'UseGlobalEndpoints=true, region=us-east-1 with accelerate on non bucket case uses the global endpoint and ignores accelerate' do
+ context "UseGlobalEndpoints=true, region=us-east-1 with accelerate on non bucket case uses the global endpoint and ignores accelerate" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.amazonaws.com"}}
end
@@ -1385,7 +1385,7 @@ module Aws::S3
end
end
- context 'aws-global region uses the global endpoint' do
+ context "aws-global region uses the global endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.amazonaws.com"}}
end
@@ -1414,7 +1414,7 @@ module Aws::S3
end
end
- context 'aws-global region with fips uses the regional endpoint' do
+ context "aws-global region with fips uses the regional endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-fips.us-east-1.amazonaws.com"}}
end
@@ -1444,7 +1444,7 @@ module Aws::S3
end
end
- context 'aws-global region with dualstack uses the regional endpoint' do
+ context "aws-global region with dualstack uses the regional endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.dualstack.us-east-1.amazonaws.com"}}
end
@@ -1474,7 +1474,7 @@ module Aws::S3
end
end
- context 'aws-global region with fips and dualstack uses the regional endpoint' do
+ context "aws-global region with fips and dualstack uses the regional endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-fips.dualstack.us-east-1.amazonaws.com"}}
end
@@ -1505,7 +1505,7 @@ module Aws::S3
end
end
- context 'aws-global region with accelerate on non-bucket case, uses global endpoint and ignores accelerate' do
+ context "aws-global region with accelerate on non-bucket case, uses global endpoint and ignores accelerate" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.amazonaws.com"}}
end
@@ -1535,7 +1535,7 @@ module Aws::S3
end
end
- context 'aws-global region with custom endpoint, uses custom' do
+ context "aws-global region with custom endpoint, uses custom" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://example.com"}}
end
@@ -1565,7 +1565,7 @@ module Aws::S3
end
end
- context 'virtual addressing, aws-global region uses the global endpoint' do
+ context "virtual addressing, aws-global region uses the global endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.amazonaws.com"}}
end
@@ -1596,7 +1596,7 @@ module Aws::S3
end
end
- context 'virtual addressing, aws-global region with Prefix, and Key uses the global endpoint. Prefix and Key parameters should not be used in endpoint evaluation.' do
+ context "virtual addressing, aws-global region with Prefix, and Key uses the global endpoint. Prefix and Key parameters should not be used in endpoint evaluation." do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.amazonaws.com"}}
end
@@ -1627,7 +1627,7 @@ module Aws::S3
end
end
- context 'virtual addressing, aws-global region with Copy Source, and Key uses the global endpoint. Copy Source and Key parameters should not be used in endpoint evaluation.' do
+ context "virtual addressing, aws-global region with Copy Source, and Key uses the global endpoint. Copy Source and Key parameters should not be used in endpoint evaluation." do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.amazonaws.com"}}
end
@@ -1641,7 +1641,7 @@ module Aws::S3
end
end
- context 'virtual addressing, aws-global region with fips uses the regional fips endpoint' do
+ context "virtual addressing, aws-global region with fips uses the regional fips endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-fips.us-east-1.amazonaws.com"}}
end
@@ -1673,7 +1673,7 @@ module Aws::S3
end
end
- context 'virtual addressing, aws-global region with dualstack uses the regional dualstack endpoint' do
+ context "virtual addressing, aws-global region with dualstack uses the regional dualstack endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.dualstack.us-east-1.amazonaws.com"}}
end
@@ -1705,7 +1705,7 @@ module Aws::S3
end
end
- context 'virtual addressing, aws-global region with fips/dualstack uses the regional fips/dualstack endpoint' do
+ context "virtual addressing, aws-global region with fips/dualstack uses the regional fips/dualstack endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-fips.dualstack.us-east-1.amazonaws.com"}}
end
@@ -1738,7 +1738,7 @@ module Aws::S3
end
end
- context 'virtual addressing, aws-global region with accelerate uses the global accelerate endpoint' do
+ context "virtual addressing, aws-global region with accelerate uses the global accelerate endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-accelerate.amazonaws.com"}}
end
@@ -1770,7 +1770,7 @@ module Aws::S3
end
end
- context 'virtual addressing, aws-global region with custom endpoint' do
+ context "virtual addressing, aws-global region with custom endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.example.com"}}
end
@@ -1802,7 +1802,7 @@ module Aws::S3
end
end
- context 'virtual addressing, UseGlobalEndpoint and us-east-1 region uses the global endpoint' do
+ context "virtual addressing, UseGlobalEndpoint and us-east-1 region uses the global endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.amazonaws.com"}}
end
@@ -1833,7 +1833,7 @@ module Aws::S3
end
end
- context 'virtual addressing, UseGlobalEndpoint and us-west-2 region uses the regional endpoint' do
+ context "virtual addressing, UseGlobalEndpoint and us-west-2 region uses the regional endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.us-west-2.amazonaws.com"}}
end
@@ -1864,7 +1864,7 @@ module Aws::S3
end
end
- context 'virtual addressing, UseGlobalEndpoint and us-east-1 region and fips uses the regional fips endpoint' do
+ context "virtual addressing, UseGlobalEndpoint and us-east-1 region and fips uses the regional fips endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-fips.us-east-1.amazonaws.com"}}
end
@@ -1896,7 +1896,7 @@ module Aws::S3
end
end
- context 'virtual addressing, UseGlobalEndpoint and us-east-1 region and dualstack uses the regional dualstack endpoint' do
+ context "virtual addressing, UseGlobalEndpoint and us-east-1 region and dualstack uses the regional dualstack endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.dualstack.us-east-1.amazonaws.com"}}
end
@@ -1928,7 +1928,7 @@ module Aws::S3
end
end
- context 'virtual addressing, UseGlobalEndpoint and us-east-1 region and accelerate uses the global accelerate endpoint' do
+ context "virtual addressing, UseGlobalEndpoint and us-east-1 region and accelerate uses the global accelerate endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-accelerate.amazonaws.com"}}
end
@@ -1960,7 +1960,7 @@ module Aws::S3
end
end
- context 'virtual addressing, UseGlobalEndpoint and us-east-1 region with custom endpoint' do
+ context "virtual addressing, UseGlobalEndpoint and us-east-1 region with custom endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.example.com"}}
end
@@ -1992,7 +1992,7 @@ module Aws::S3
end
end
- context 'ForcePathStyle, aws-global region uses the global endpoint' do
+ context "ForcePathStyle, aws-global region uses the global endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.amazonaws.com/bucket-name"}}
end
@@ -2024,7 +2024,7 @@ module Aws::S3
end
end
- context 'ForcePathStyle, aws-global region with fips is invalid' do
+ context "ForcePathStyle, aws-global region with fips is invalid" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true, "name"=>"sigv4"}]}, "url"=>"https://s3-fips.us-east-1.amazonaws.com/bucket-name"}}
end
@@ -2038,7 +2038,7 @@ module Aws::S3
end
end
- context 'ForcePathStyle, aws-global region with dualstack uses regional dualstack endpoint' do
+ context "ForcePathStyle, aws-global region with dualstack uses regional dualstack endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.dualstack.us-east-1.amazonaws.com/bucket-name"}}
end
@@ -2071,7 +2071,7 @@ module Aws::S3
end
end
- context 'ForcePathStyle, aws-global region custom endpoint uses the custom endpoint' do
+ context "ForcePathStyle, aws-global region custom endpoint uses the custom endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://example.com/bucket-name"}}
end
@@ -2104,7 +2104,7 @@ module Aws::S3
end
end
- context 'ForcePathStyle, UseGlobalEndpoint us-east-1 region uses the global endpoint' do
+ context "ForcePathStyle, UseGlobalEndpoint us-east-1 region uses the global endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.amazonaws.com/bucket-name"}}
end
@@ -2136,7 +2136,7 @@ module Aws::S3
end
end
- context 'ForcePathStyle, UseGlobalEndpoint us-west-2 region uses the regional endpoint' do
+ context "ForcePathStyle, UseGlobalEndpoint us-west-2 region uses the regional endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.us-west-2.amazonaws.com/bucket-name"}}
end
@@ -2168,7 +2168,7 @@ module Aws::S3
end
end
- context 'ForcePathStyle, UseGlobalEndpoint us-east-1 region, dualstack uses the regional dualstack endpoint' do
+ context "ForcePathStyle, UseGlobalEndpoint us-east-1 region, dualstack uses the regional dualstack endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.dualstack.us-east-1.amazonaws.com/bucket-name"}}
end
@@ -2201,7 +2201,7 @@ module Aws::S3
end
end
- context 'ForcePathStyle, UseGlobalEndpoint us-east-1 region custom endpoint uses the custom endpoint' do
+ context "ForcePathStyle, UseGlobalEndpoint us-east-1 region custom endpoint uses the custom endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://example.com/bucket-name"}}
end
@@ -2234,7 +2234,7 @@ module Aws::S3
end
end
- context 'ARN with aws-global region and UseArnRegion uses the regional endpoint' do
+ context "ARN with aws-global region and UseArnRegion uses the regional endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://reports-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -2266,7 +2266,7 @@ module Aws::S3
end
end
- context 'cross partition MRAP ARN is an error' do
+ context "cross partition MRAP ARN is an error" do
let(:expected) do
{"error"=>"Client was configured for partition `aws` but bucket referred to partition `aws-cn`"}
end
@@ -2293,7 +2293,7 @@ module Aws::S3
end
end
- context 'Endpoint override, accesspoint with HTTP, port' do
+ context "Endpoint override, accesspoint with HTTP, port" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"http://myendpoint-123456789012.beta.example.com:1234"}}
end
@@ -2325,7 +2325,7 @@ module Aws::S3
end
end
- context 'Endpoint override, accesspoint with http, path, query, and port' do
+ context "Endpoint override, accesspoint with http, path, query, and port" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"http://myendpoint-123456789012.beta.example.com:1234/path"}}
end
@@ -2339,7 +2339,7 @@ module Aws::S3
end
end
- context 'non-bucket endpoint override with FIPS = error' do
+ context "non-bucket endpoint override with FIPS = error" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with FIPS"}
end
@@ -2352,7 +2352,7 @@ module Aws::S3
end
end
- context 'FIPS + dualstack + custom endpoint' do
+ context "FIPS + dualstack + custom endpoint" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -2365,7 +2365,7 @@ module Aws::S3
end
end
- context 'dualstack + custom endpoint' do
+ context "dualstack + custom endpoint" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -2378,7 +2378,7 @@ module Aws::S3
end
end
- context 'custom endpoint without FIPS/dualstack' do
+ context "custom endpoint without FIPS/dualstack" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"http://beta.example.com:1234/path"}}
end
@@ -2392,7 +2392,7 @@ module Aws::S3
end
end
- context 's3 object lambda with access points disabled' do
+ context "s3 object lambda with access points disabled" do
let(:expected) do
{"error"=>"Access points are not supported for this operation"}
end
@@ -2405,7 +2405,7 @@ module Aws::S3
end
end
- context 'non bucket + FIPS' do
+ context "non bucket + FIPS" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-fips.us-west-2.amazonaws.com"}}
end
@@ -2419,7 +2419,7 @@ module Aws::S3
end
end
- context 'standard non bucket endpoint' do
+ context "standard non bucket endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.us-west-2.amazonaws.com"}}
end
@@ -2433,7 +2433,7 @@ module Aws::S3
end
end
- context 'non bucket endpoint with FIPS + Dualstack' do
+ context "non bucket endpoint with FIPS + Dualstack" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-fips.dualstack.us-west-2.amazonaws.com"}}
end
@@ -2447,7 +2447,7 @@ module Aws::S3
end
end
- context 'non bucket endpoint with dualstack' do
+ context "non bucket endpoint with dualstack" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.dualstack.us-west-2.amazonaws.com"}}
end
@@ -2461,7 +2461,7 @@ module Aws::S3
end
end
- context 'use global endpoint + IP address endpoint override' do
+ context "use global endpoint + IP address endpoint override" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"http://127.0.0.1/bucket"}}
end
@@ -2475,7 +2475,7 @@ module Aws::S3
end
end
- context 'non-dns endpoint + global endpoint' do
+ context "non-dns endpoint + global endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3.amazonaws.com/bucket%21"}}
end
@@ -2489,7 +2489,7 @@ module Aws::S3
end
end
- context 'endpoint override + use global endpoint' do
+ context "endpoint override + use global endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"http://foo.com/bucket%21"}}
end
@@ -2503,7 +2503,7 @@ module Aws::S3
end
end
- context 'FIPS + dualstack + non-bucket endpoint' do
+ context "FIPS + dualstack + non-bucket endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket%21"}}
end
@@ -2517,7 +2517,7 @@ module Aws::S3
end
end
- context 'FIPS + dualstack + non-DNS endpoint' do
+ context "FIPS + dualstack + non-DNS endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket%21"}}
end
@@ -2531,7 +2531,7 @@ module Aws::S3
end
end
- context 'endpoint override + FIPS + dualstack (BUG)' do
+ context "endpoint override + FIPS + dualstack (BUG)" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with FIPS"}
end
@@ -2544,7 +2544,7 @@ module Aws::S3
end
end
- context 'endpoint override + non-dns bucket + FIPS (BUG)' do
+ context "endpoint override + non-dns bucket + FIPS (BUG)" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with FIPS"}
end
@@ -2557,7 +2557,7 @@ module Aws::S3
end
end
- context 'FIPS + bucket endpoint + force path style' do
+ context "FIPS + bucket endpoint + force path style" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3-fips.us-east-1.amazonaws.com/bucket%21"}}
end
@@ -2571,7 +2571,7 @@ module Aws::S3
end
end
- context 'bucket + FIPS + force path style' do
+ context "bucket + FIPS + force path style" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket"}}
end
@@ -2585,7 +2585,7 @@ module Aws::S3
end
end
- context 'FIPS + dualstack + use global endpoint' do
+ context "FIPS + dualstack + use global endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://bucket.s3-fips.dualstack.us-east-1.amazonaws.com"}}
end
@@ -2599,7 +2599,7 @@ module Aws::S3
end
end
- context 'URI encoded bucket + use global endpoint' do
+ context "URI encoded bucket + use global endpoint" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with FIPS"}
end
@@ -2612,7 +2612,7 @@ module Aws::S3
end
end
- context 'FIPS + path based endpoint' do
+ context "FIPS + path based endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3-fips.us-east-1.amazonaws.com/bucket%21"}}
end
@@ -2626,7 +2626,7 @@ module Aws::S3
end
end
- context 'accelerate + dualstack + global endpoint' do
+ context "accelerate + dualstack + global endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://bucket.s3-accelerate.dualstack.amazonaws.com"}}
end
@@ -2640,7 +2640,7 @@ module Aws::S3
end
end
- context 'dualstack + global endpoint + non URI safe bucket' do
+ context "dualstack + global endpoint + non URI safe bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3.dualstack.us-east-1.amazonaws.com/bucket%21"}}
end
@@ -2654,7 +2654,7 @@ module Aws::S3
end
end
- context 'FIPS + uri encoded bucket' do
+ context "FIPS + uri encoded bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3-fips.us-east-1.amazonaws.com/bucket%21"}}
end
@@ -2668,7 +2668,7 @@ module Aws::S3
end
end
- context 'endpoint override + non-uri safe endpoint + force path style' do
+ context "endpoint override + non-uri safe endpoint + force path style" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with FIPS"}
end
@@ -2681,7 +2681,7 @@ module Aws::S3
end
end
- context 'FIPS + Dualstack + global endpoint + non-dns bucket' do
+ context "FIPS + Dualstack + global endpoint + non-dns bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east-1"}]}, "url"=>"https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket%21"}}
end
@@ -2695,7 +2695,7 @@ module Aws::S3
end
end
- context 'endpoint override + FIPS + dualstack' do
+ context "endpoint override + FIPS + dualstack" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -2708,7 +2708,7 @@ module Aws::S3
end
end
- context 'non-bucket endpoint override + dualstack + global endpoint' do
+ context "non-bucket endpoint override + dualstack + global endpoint" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -2721,7 +2721,7 @@ module Aws::S3
end
end
- context 'Endpoint override + UseGlobalEndpoint + us-east-1' do
+ context "Endpoint override + UseGlobalEndpoint + us-east-1" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with FIPS"}
end
@@ -2734,7 +2734,7 @@ module Aws::S3
end
end
- context 'non-FIPS partition with FIPS set + custom endpoint' do
+ context "non-FIPS partition with FIPS set + custom endpoint" do
let(:expected) do
{"error"=>"Partition does not support FIPS"}
end
@@ -2747,7 +2747,7 @@ module Aws::S3
end
end
- context 'aws-global signs as us-east-1' do
+ context "aws-global signs as us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-1", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket%21"}}
end
@@ -2761,7 +2761,7 @@ module Aws::S3
end
end
- context 'aws-global signs as us-east-1' do
+ context "aws-global signs as us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-1", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket.foo.com"}}
end
@@ -2775,7 +2775,7 @@ module Aws::S3
end
end
- context 'aws-global + dualstack + path-only bucket' do
+ context "aws-global + dualstack + path-only bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-1", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.dualstack.us-east-1.amazonaws.com/bucket%21"}}
end
@@ -2789,7 +2789,7 @@ module Aws::S3
end
end
- context 'aws-global + path-only bucket' do
+ context "aws-global + path-only bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-1", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.amazonaws.com/bucket%21"}}
end
@@ -2803,7 +2803,7 @@ module Aws::S3
end
end
- context 'aws-global + fips + custom endpoint' do
+ context "aws-global + fips + custom endpoint" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with FIPS"}
end
@@ -2816,7 +2816,7 @@ module Aws::S3
end
end
- context 'aws-global, endpoint override & path only-bucket' do
+ context "aws-global, endpoint override & path only-bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-1", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"http://foo.com/bucket%21"}}
end
@@ -2830,7 +2830,7 @@ module Aws::S3
end
end
- context 'aws-global + dualstack + custom endpoint' do
+ context "aws-global + dualstack + custom endpoint" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -2843,7 +2843,7 @@ module Aws::S3
end
end
- context 'accelerate, dualstack + aws-global' do
+ context "accelerate, dualstack + aws-global" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-1", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket.s3-accelerate.dualstack.us-east-1.amazonaws.com"}}
end
@@ -2857,7 +2857,7 @@ module Aws::S3
end
end
- context 'FIPS + aws-global + path only bucket. This is not supported by S3 but we allow garbage in garbage out' do
+ context "FIPS + aws-global + path only bucket. This is not supported by S3 but we allow garbage in garbage out" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-1", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-fips.dualstack.us-east-1.amazonaws.com/bucket%21"}}
end
@@ -2871,7 +2871,7 @@ module Aws::S3
end
end
- context 'aws-global + FIPS + endpoint override.' do
+ context "aws-global + FIPS + endpoint override." do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with FIPS"}
end
@@ -2884,7 +2884,7 @@ module Aws::S3
end
end
- context 'force path style, FIPS, aws-global & endpoint override' do
+ context "force path style, FIPS, aws-global & endpoint override" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with FIPS"}
end
@@ -2897,7 +2897,7 @@ module Aws::S3
end
end
- context 'ip address causes path style to be forced' do
+ context "ip address causes path style to be forced" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-1", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"http://192.168.1.1/bucket"}}
end
@@ -2911,7 +2911,7 @@ module Aws::S3
end
end
- context 'endpoint override with aws-global region' do
+ context "endpoint override with aws-global region" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -2924,7 +2924,7 @@ module Aws::S3
end
end
- context 'FIPS + path-only (TODO: consider making this an error)' do
+ context "FIPS + path-only (TODO: consider making this an error)" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-1", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-fips.us-east-1.amazonaws.com/bucket%21"}}
end
@@ -2938,7 +2938,7 @@ module Aws::S3
end
end
- context 'empty arn type' do
+ context "empty arn type" do
let(:expected) do
{"error"=>"Invalid ARN: No ARN type specified"}
end
@@ -2951,7 +2951,7 @@ module Aws::S3
end
end
- context 'path style can't be used with accelerate' do
+ context "path style can't be used with accelerate" do
let(:expected) do
{"error"=>"Path-style addressing cannot be used with S3 Accelerate"}
end
@@ -2964,7 +2964,7 @@ module Aws::S3
end
end
- context 'invalid region' do
+ context "invalid region" do
let(:expected) do
{"error"=>"Invalid region: region was not a valid DNS name."}
end
@@ -2977,7 +2977,7 @@ module Aws::S3
end
end
- context 'invalid region' do
+ context "invalid region" do
let(:expected) do
{"error"=>"Invalid region: region was not a valid DNS name."}
end
@@ -2990,7 +2990,7 @@ module Aws::S3
end
end
- context 'empty arn type' do
+ context "empty arn type" do
let(:expected) do
{"error"=>"Invalid Access Point Name"}
end
@@ -3003,7 +3003,7 @@ module Aws::S3
end
end
- context 'empty arn type' do
+ context "empty arn type" do
let(:expected) do
{"error"=>"Client was configured for partition `aws` but ARN (`arn:aws:s3:cn-north-1:123456789012:accesspoint:my-endpoint`) has `aws-cn`"}
end
@@ -3016,7 +3016,7 @@ module Aws::S3
end
end
- context 'invalid arn region' do
+ context "invalid arn region" do
let(:expected) do
{"error"=>"Invalid region in ARN: `us-east_2` (invalid DNS name)"}
end
@@ -3029,7 +3029,7 @@ module Aws::S3
end
end
- context 'invalid ARN outpost' do
+ context "invalid ARN outpost" do
let(:expected) do
{"error"=>"Invalid ARN: The outpost Id may only contain a-z, A-Z, 0-9 and `-`. Found: `op_01234567890123456`"}
end
@@ -3042,7 +3042,7 @@ module Aws::S3
end
end
- context 'invalid ARN' do
+ context "invalid ARN" do
let(:expected) do
{"error"=>"Invalid ARN: expected an access point name"}
end
@@ -3055,7 +3055,7 @@ module Aws::S3
end
end
- context 'invalid ARN' do
+ context "invalid ARN" do
let(:expected) do
{"error"=>"Invalid ARN: Expected a 4-component resource"}
end
@@ -3068,7 +3068,7 @@ module Aws::S3
end
end
- context 'invalid outpost type' do
+ context "invalid outpost type" do
let(:expected) do
{"error"=>"Expected an outpost type `accesspoint`, found not-accesspoint"}
end
@@ -3081,7 +3081,7 @@ module Aws::S3
end
end
- context 'invalid outpost type' do
+ context "invalid outpost type" do
let(:expected) do
{"error"=>"Invalid region in ARN: `us-east_1` (invalid DNS name)"}
end
@@ -3094,7 +3094,7 @@ module Aws::S3
end
end
- context 'invalid outpost type' do
+ context "invalid outpost type" do
let(:expected) do
{"error"=>"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `12345_789012`"}
end
@@ -3107,7 +3107,7 @@ module Aws::S3
end
end
- context 'invalid outpost type' do
+ context "invalid outpost type" do
let(:expected) do
{"error"=>"Invalid ARN: The Outpost Id was not set"}
end
@@ -3120,7 +3120,7 @@ module Aws::S3
end
end
- context 'use global endpoint virtual addressing' do
+ context "use global endpoint virtual addressing" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-2", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"http://bucket.example.com"}}
end
@@ -3134,7 +3134,7 @@ module Aws::S3
end
end
- context 'global endpoint + ip address' do
+ context "global endpoint + ip address" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-2", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"http://192.168.0.1/bucket"}}
end
@@ -3148,7 +3148,7 @@ module Aws::S3
end
end
- context 'invalid outpost type' do
+ context "invalid outpost type" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-2", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.us-east-2.amazonaws.com/bucket%21"}}
end
@@ -3162,7 +3162,7 @@ module Aws::S3
end
end
- context 'invalid outpost type' do
+ context "invalid outpost type" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-2", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket.s3-accelerate.amazonaws.com"}}
end
@@ -3176,7 +3176,7 @@ module Aws::S3
end
end
- context 'use global endpoint + custom endpoint' do
+ context "use global endpoint + custom endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-2", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"http://foo.com/bucket%21"}}
end
@@ -3190,7 +3190,7 @@ module Aws::S3
end
end
- context 'use global endpoint, not us-east-1, force path style' do
+ context "use global endpoint, not us-east-1, force path style" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingRegion"=>"us-east-2", "name"=>"sigv4", "signingName"=>"s3", "disableDoubleEncoding"=>true}]}, "url"=>"http://foo.com/bucket%21"}}
end
@@ -3204,7 +3204,7 @@ module Aws::S3
end
end
- context 'vanilla virtual addressing@us-west-2' do
+ context "vanilla virtual addressing@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.us-west-2.amazonaws.com"}}
end
@@ -3235,7 +3235,7 @@ module Aws::S3
end
end
- context 'virtual addressing + dualstack@us-west-2' do
+ context "virtual addressing + dualstack@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.dualstack.us-west-2.amazonaws.com"}}
end
@@ -3267,7 +3267,7 @@ module Aws::S3
end
end
- context 'accelerate + dualstack@us-west-2' do
+ context "accelerate + dualstack@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-accelerate.dualstack.amazonaws.com"}}
end
@@ -3300,7 +3300,7 @@ module Aws::S3
end
end
- context 'accelerate (dualstack=false)@us-west-2' do
+ context "accelerate (dualstack=false)@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-accelerate.amazonaws.com"}}
end
@@ -3332,7 +3332,7 @@ module Aws::S3
end
end
- context 'virtual addressing + fips@us-west-2' do
+ context "virtual addressing + fips@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-fips.us-west-2.amazonaws.com"}}
end
@@ -3364,7 +3364,7 @@ module Aws::S3
end
end
- context 'virtual addressing + dualstack + fips@us-west-2' do
+ context "virtual addressing + dualstack + fips@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-fips.dualstack.us-west-2.amazonaws.com"}}
end
@@ -3397,7 +3397,7 @@ module Aws::S3
end
end
- context 'accelerate + fips = error@us-west-2' do
+ context "accelerate + fips = error@us-west-2" do
let(:expected) do
{"error"=>"Accelerate cannot be used with FIPS"}
end
@@ -3426,7 +3426,7 @@ module Aws::S3
end
end
- context 'vanilla virtual addressing@cn-north-1' do
+ context "vanilla virtual addressing@cn-north-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.cn-north-1.amazonaws.com.cn"}}
end
@@ -3457,7 +3457,7 @@ module Aws::S3
end
end
- context 'virtual addressing + dualstack@cn-north-1' do
+ context "virtual addressing + dualstack@cn-north-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.dualstack.cn-north-1.amazonaws.com.cn"}}
end
@@ -3489,7 +3489,7 @@ module Aws::S3
end
end
- context 'accelerate (dualstack=false)@cn-north-1' do
+ context "accelerate (dualstack=false)@cn-north-1" do
let(:expected) do
{"error"=>"S3 Accelerate cannot be used in this region"}
end
@@ -3502,7 +3502,7 @@ module Aws::S3
end
end
- context 'virtual addressing + fips@cn-north-1' do
+ context "virtual addressing + fips@cn-north-1" do
let(:expected) do
{"error"=>"Partition does not support FIPS"}
end
@@ -3515,7 +3515,7 @@ module Aws::S3
end
end
- context 'vanilla virtual addressing@af-south-1' do
+ context "vanilla virtual addressing@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.af-south-1.amazonaws.com"}}
end
@@ -3546,7 +3546,7 @@ module Aws::S3
end
end
- context 'virtual addressing + dualstack@af-south-1' do
+ context "virtual addressing + dualstack@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3.dualstack.af-south-1.amazonaws.com"}}
end
@@ -3578,7 +3578,7 @@ module Aws::S3
end
end
- context 'accelerate + dualstack@af-south-1' do
+ context "accelerate + dualstack@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-accelerate.dualstack.amazonaws.com"}}
end
@@ -3611,7 +3611,7 @@ module Aws::S3
end
end
- context 'accelerate (dualstack=false)@af-south-1' do
+ context "accelerate (dualstack=false)@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-accelerate.amazonaws.com"}}
end
@@ -3643,7 +3643,7 @@ module Aws::S3
end
end
- context 'virtual addressing + fips@af-south-1' do
+ context "virtual addressing + fips@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-fips.af-south-1.amazonaws.com"}}
end
@@ -3675,7 +3675,7 @@ module Aws::S3
end
end
- context 'virtual addressing + dualstack + fips@af-south-1' do
+ context "virtual addressing + dualstack + fips@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.s3-fips.dualstack.af-south-1.amazonaws.com"}}
end
@@ -3708,7 +3708,7 @@ module Aws::S3
end
end
- context 'accelerate + fips = error@af-south-1' do
+ context "accelerate + fips = error@af-south-1" do
let(:expected) do
{"error"=>"Accelerate cannot be used with FIPS"}
end
@@ -3737,7 +3737,7 @@ module Aws::S3
end
end
- context 'vanilla path style@us-west-2' do
+ context "vanilla path style@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.us-west-2.amazonaws.com/bucket-name"}}
end
@@ -3769,7 +3769,7 @@ module Aws::S3
end
end
- context 'fips@us-gov-west-2, bucket is not S3-dns-compatible (subdomains)' do
+ context "fips@us-gov-west-2, bucket is not S3-dns-compatible (subdomains)" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingName"=>"s3", "signingRegion"=>"us-gov-west-1", "disableDoubleEncoding"=>true, "name"=>"sigv4"}]}, "url"=>"https://s3-fips.us-gov-west-1.amazonaws.com/bucket.with.dots"}}
end
@@ -3802,7 +3802,7 @@ module Aws::S3
end
end
- context 'path style + accelerate = error@us-west-2' do
+ context "path style + accelerate = error@us-west-2" do
let(:expected) do
{"error"=>"Path-style addressing cannot be used with S3 Accelerate"}
end
@@ -3831,7 +3831,7 @@ module Aws::S3
end
end
- context 'path style + dualstack@us-west-2' do
+ context "path style + dualstack@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.dualstack.us-west-2.amazonaws.com/bucket-name"}}
end
@@ -3864,7 +3864,7 @@ module Aws::S3
end
end
- context 'path style + arn is error@us-west-2' do
+ context "path style + arn is error@us-west-2" do
let(:expected) do
{"error"=>"Path-style addressing cannot be used with ARN buckets"}
end
@@ -3892,7 +3892,7 @@ module Aws::S3
end
end
- context 'path style + invalid DNS name@us-west-2' do
+ context "path style + invalid DNS name@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.us-west-2.amazonaws.com/99a_b"}}
end
@@ -3924,7 +3924,7 @@ module Aws::S3
end
end
- context 'no path style + invalid DNS name@us-west-2' do
+ context "no path style + invalid DNS name@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.us-west-2.amazonaws.com/99a_b"}}
end
@@ -3955,7 +3955,7 @@ module Aws::S3
end
end
- context 'vanilla path style@cn-north-1' do
+ context "vanilla path style@cn-north-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.cn-north-1.amazonaws.com.cn/bucket-name"}}
end
@@ -3987,7 +3987,7 @@ module Aws::S3
end
end
- context 'path style + fips@cn-north-1' do
+ context "path style + fips@cn-north-1" do
let(:expected) do
{"error"=>"Partition does not support FIPS"}
end
@@ -4016,7 +4016,7 @@ module Aws::S3
end
end
- context 'path style + accelerate = error@cn-north-1' do
+ context "path style + accelerate = error@cn-north-1" do
let(:expected) do
{"error"=>"Path-style addressing cannot be used with S3 Accelerate"}
end
@@ -4045,7 +4045,7 @@ module Aws::S3
end
end
- context 'path style + dualstack@cn-north-1' do
+ context "path style + dualstack@cn-north-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.dualstack.cn-north-1.amazonaws.com.cn/bucket-name"}}
end
@@ -4078,7 +4078,7 @@ module Aws::S3
end
end
- context 'path style + arn is error@cn-north-1' do
+ context "path style + arn is error@cn-north-1" do
let(:expected) do
{"error"=>"Path-style addressing cannot be used with ARN buckets"}
end
@@ -4106,7 +4106,7 @@ module Aws::S3
end
end
- context 'path style + invalid DNS name@cn-north-1' do
+ context "path style + invalid DNS name@cn-north-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.cn-north-1.amazonaws.com.cn/99a_b"}}
end
@@ -4138,7 +4138,7 @@ module Aws::S3
end
end
- context 'no path style + invalid DNS name@cn-north-1' do
+ context "no path style + invalid DNS name@cn-north-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.cn-north-1.amazonaws.com.cn/99a_b"}}
end
@@ -4169,7 +4169,7 @@ module Aws::S3
end
end
- context 'vanilla path style@af-south-1' do
+ context "vanilla path style@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.af-south-1.amazonaws.com/bucket-name"}}
end
@@ -4201,7 +4201,7 @@ module Aws::S3
end
end
- context 'path style + fips@af-south-1' do
+ context "path style + fips@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true, "name"=>"sigv4"}]}, "url"=>"https://s3-fips.af-south-1.amazonaws.com/bucket-name"}}
end
@@ -4234,7 +4234,7 @@ module Aws::S3
end
end
- context 'path style + accelerate = error@af-south-1' do
+ context "path style + accelerate = error@af-south-1" do
let(:expected) do
{"error"=>"Path-style addressing cannot be used with S3 Accelerate"}
end
@@ -4263,7 +4263,7 @@ module Aws::S3
end
end
- context 'path style + dualstack@af-south-1' do
+ context "path style + dualstack@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.dualstack.af-south-1.amazonaws.com/bucket-name"}}
end
@@ -4296,7 +4296,7 @@ module Aws::S3
end
end
- context 'path style + arn is error@af-south-1' do
+ context "path style + arn is error@af-south-1" do
let(:expected) do
{"error"=>"Path-style addressing cannot be used with ARN buckets"}
end
@@ -4324,7 +4324,7 @@ module Aws::S3
end
end
- context 'path style + invalid DNS name@af-south-1' do
+ context "path style + invalid DNS name@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.af-south-1.amazonaws.com/99a_b"}}
end
@@ -4356,7 +4356,7 @@ module Aws::S3
end
end
- context 'no path style + invalid DNS name@af-south-1' do
+ context "no path style + invalid DNS name@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3.af-south-1.amazonaws.com/99a_b"}}
end
@@ -4387,7 +4387,7 @@ module Aws::S3
end
end
- context 'virtual addressing + private link@us-west-2' do
+ context "virtual addressing + private link@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"http://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"}}
end
@@ -4419,7 +4419,7 @@ module Aws::S3
end
end
- context 'path style + private link@us-west-2' do
+ context "path style + private link@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name"}}
end
@@ -4452,7 +4452,7 @@ module Aws::S3
end
end
- context 'SDK::Host + FIPS@us-west-2' do
+ context "SDK::Host + FIPS@us-west-2" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with FIPS"}
end
@@ -4481,7 +4481,7 @@ module Aws::S3
end
end
- context 'SDK::Host + DualStack@us-west-2' do
+ context "SDK::Host + DualStack@us-west-2" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -4510,7 +4510,7 @@ module Aws::S3
end
end
- context 'SDK::HOST + accelerate@us-west-2' do
+ context "SDK::HOST + accelerate@us-west-2" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with S3 Accelerate"}
end
@@ -4539,7 +4539,7 @@ module Aws::S3
end
end
- context 'SDK::Host + access point ARN@us-west-2' do
+ context "SDK::Host + access point ARN@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.beta.example.com"}}
end
@@ -4571,7 +4571,7 @@ module Aws::S3
end
end
- context 'virtual addressing + private link@cn-north-1' do
+ context "virtual addressing + private link@cn-north-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"}}
end
@@ -4603,7 +4603,7 @@ module Aws::S3
end
end
- context 'path style + private link@cn-north-1' do
+ context "path style + private link@cn-north-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name"}}
end
@@ -4636,7 +4636,7 @@ module Aws::S3
end
end
- context 'FIPS@cn-north-1' do
+ context "FIPS@cn-north-1" do
let(:expected) do
{"error"=>"Partition does not support FIPS"}
end
@@ -4649,7 +4649,7 @@ module Aws::S3
end
end
- context 'SDK::Host + DualStack@cn-north-1' do
+ context "SDK::Host + DualStack@cn-north-1" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -4678,7 +4678,7 @@ module Aws::S3
end
end
- context 'SDK::HOST + accelerate@cn-north-1' do
+ context "SDK::HOST + accelerate@cn-north-1" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with S3 Accelerate"}
end
@@ -4691,7 +4691,7 @@ module Aws::S3
end
end
- context 'SDK::Host + access point ARN@cn-north-1' do
+ context "SDK::Host + access point ARN@cn-north-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.beta.example.com"}}
end
@@ -4723,7 +4723,7 @@ module Aws::S3
end
end
- context 'virtual addressing + private link@af-south-1' do
+ context "virtual addressing + private link@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://bucket-name.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"}}
end
@@ -4755,7 +4755,7 @@ module Aws::S3
end
end
- context 'path style + private link@af-south-1' do
+ context "path style + private link@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com/bucket-name"}}
end
@@ -4788,7 +4788,7 @@ module Aws::S3
end
end
- context 'SDK::Host + FIPS@af-south-1' do
+ context "SDK::Host + FIPS@af-south-1" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with FIPS"}
end
@@ -4817,7 +4817,7 @@ module Aws::S3
end
end
- context 'SDK::Host + DualStack@af-south-1' do
+ context "SDK::Host + DualStack@af-south-1" do
let(:expected) do
{"error"=>"Cannot set dual-stack in combination with a custom endpoint."}
end
@@ -4846,7 +4846,7 @@ module Aws::S3
end
end
- context 'SDK::HOST + accelerate@af-south-1' do
+ context "SDK::HOST + accelerate@af-south-1" do
let(:expected) do
{"error"=>"A custom endpoint cannot be combined with S3 Accelerate"}
end
@@ -4875,7 +4875,7 @@ module Aws::S3
end
end
- context 'SDK::Host + access point ARN@af-south-1' do
+ context "SDK::Host + access point ARN@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.beta.example.com"}}
end
@@ -4907,7 +4907,7 @@ module Aws::S3
end
end
- context 'vanilla access point arn@us-west-2' do
+ context "vanilla access point arn@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint.us-west-2.amazonaws.com"}}
end
@@ -4938,7 +4938,7 @@ module Aws::S3
end
end
- context 'access point arn + FIPS@us-west-2' do
+ context "access point arn + FIPS@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint-fips.us-west-2.amazonaws.com"}}
end
@@ -4970,7 +4970,7 @@ module Aws::S3
end
end
- context 'access point arn + accelerate = error@us-west-2' do
+ context "access point arn + accelerate = error@us-west-2" do
let(:expected) do
{"error"=>"Access Points do not support S3 Accelerate"}
end
@@ -4998,7 +4998,7 @@ module Aws::S3
end
end
- context 'access point arn + FIPS + DualStack@us-west-2' do
+ context "access point arn + FIPS + DualStack@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.us-west-2.amazonaws.com"}}
end
@@ -5031,7 +5031,7 @@ module Aws::S3
end
end
- context 'vanilla access point arn@cn-north-1' do
+ context "vanilla access point arn@cn-north-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint.cn-north-1.amazonaws.com.cn"}}
end
@@ -5062,7 +5062,7 @@ module Aws::S3
end
end
- context 'access point arn + FIPS@cn-north-1' do
+ context "access point arn + FIPS@cn-north-1" do
let(:expected) do
{"error"=>"Partition does not support FIPS"}
end
@@ -5075,7 +5075,7 @@ module Aws::S3
end
end
- context 'access point arn + accelerate = error@cn-north-1' do
+ context "access point arn + accelerate = error@cn-north-1" do
let(:expected) do
{"error"=>"Access Points do not support S3 Accelerate"}
end
@@ -5103,7 +5103,7 @@ module Aws::S3
end
end
- context 'access point arn + FIPS + DualStack@cn-north-1' do
+ context "access point arn + FIPS + DualStack@cn-north-1" do
let(:expected) do
{"error"=>"Partition does not support FIPS"}
end
@@ -5116,7 +5116,7 @@ module Aws::S3
end
end
- context 'vanilla access point arn@af-south-1' do
+ context "vanilla access point arn@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint.af-south-1.amazonaws.com"}}
end
@@ -5147,7 +5147,7 @@ module Aws::S3
end
end
- context 'access point arn + FIPS@af-south-1' do
+ context "access point arn + FIPS@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint-fips.af-south-1.amazonaws.com"}}
end
@@ -5179,7 +5179,7 @@ module Aws::S3
end
end
- context 'access point arn + accelerate = error@af-south-1' do
+ context "access point arn + accelerate = error@af-south-1" do
let(:expected) do
{"error"=>"Access Points do not support S3 Accelerate"}
end
@@ -5207,7 +5207,7 @@ module Aws::S3
end
end
- context 'access point arn + FIPS + DualStack@af-south-1' do
+ context "access point arn + FIPS + DualStack@af-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://myendpoint-123456789012.s3-accesspoint-fips.dualstack.af-south-1.amazonaws.com"}}
end
@@ -5240,7 +5240,7 @@ module Aws::S3
end
end
- context 'S3 outposts vanilla test' do
+ context "S3 outposts vanilla test" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://reports-123456789012.op-01234567890123456.s3-outposts.us-west-2.amazonaws.com"}}
end
@@ -5271,7 +5271,7 @@ module Aws::S3
end
end
- context 'S3 outposts custom endpoint' do
+ context "S3 outposts custom endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://reports-123456789012.op-01234567890123456.example.amazonaws.com"}}
end
@@ -5303,7 +5303,7 @@ module Aws::S3
end
end
- context 'outposts arn with region mismatch and UseArnRegion=false' do
+ context "outposts arn with region mismatch and UseArnRegion=false" do
let(:expected) do
{"error"=>"Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"}
end
@@ -5331,7 +5331,7 @@ module Aws::S3
end
end
- context 'outposts arn with region mismatch, custom region and UseArnRegion=false' do
+ context "outposts arn with region mismatch, custom region and UseArnRegion=false" do
let(:expected) do
{"error"=>"Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"}
end
@@ -5360,7 +5360,7 @@ module Aws::S3
end
end
- context 'outposts arn with region mismatch and UseArnRegion=true' do
+ context "outposts arn with region mismatch and UseArnRegion=true" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://myaccesspoint-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -5392,7 +5392,7 @@ module Aws::S3
end
end
- context 'outposts arn with region mismatch and UseArnRegion unset' do
+ context "outposts arn with region mismatch and UseArnRegion unset" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://myaccesspoint-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -5423,7 +5423,7 @@ module Aws::S3
end
end
- context 'outposts arn with partition mismatch and UseArnRegion=true' do
+ context "outposts arn with partition mismatch and UseArnRegion=true" do
let(:expected) do
{"error"=>"Client was configured for partition `aws` but ARN (`arn:aws:s3-outposts:cn-north-1:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint`) has `aws-cn`"}
end
@@ -5451,7 +5451,7 @@ module Aws::S3
end
end
- context 'ARN with UseGlobalEndpoint and use-east-1 region uses the regional endpoint' do
+ context "ARN with UseGlobalEndpoint and use-east-1 region uses the regional endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://reports-123456789012.op-01234567890123456.s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -5482,7 +5482,7 @@ module Aws::S3
end
end
- context 'S3 outposts does not support dualstack' do
+ context "S3 outposts does not support dualstack" do
let(:expected) do
{"error"=>"S3 Outposts does not support Dual-stack"}
end
@@ -5495,7 +5495,7 @@ module Aws::S3
end
end
- context 'S3 outposts does not support fips' do
+ context "S3 outposts does not support fips" do
let(:expected) do
{"error"=>"S3 Outposts does not support FIPS"}
end
@@ -5508,7 +5508,7 @@ module Aws::S3
end
end
- context 'S3 outposts does not support accelerate' do
+ context "S3 outposts does not support accelerate" do
let(:expected) do
{"error"=>"S3 Outposts does not support S3 Accelerate"}
end
@@ -5521,7 +5521,7 @@ module Aws::S3
end
end
- context 'validates against subresource' do
+ context "validates against subresource" do
let(:expected) do
{"error"=>"Invalid Arn: Outpost Access Point ARN contains sub resources"}
end
@@ -5534,7 +5534,7 @@ module Aws::S3
end
end
- context 'object lambda @us-east-1' do
+ context "object lambda @us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com"}}
end
@@ -5566,7 +5566,7 @@ module Aws::S3
end
end
- context 'object lambda @us-west-2' do
+ context "object lambda @us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://mybanner-123456789012.s3-object-lambda.us-west-2.amazonaws.com"}}
end
@@ -5598,7 +5598,7 @@ module Aws::S3
end
end
- context 'object lambda, colon resource deliminator @us-west-2' do
+ context "object lambda, colon resource deliminator @us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://mybanner-123456789012.s3-object-lambda.us-west-2.amazonaws.com"}}
end
@@ -5630,7 +5630,7 @@ module Aws::S3
end
end
- context 'object lambda @us-east-1, client region us-west-2, useArnRegion=true' do
+ context "object lambda @us-east-1, client region us-west-2, useArnRegion=true" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com"}}
end
@@ -5662,7 +5662,7 @@ module Aws::S3
end
end
- context 'object lambda @us-east-1, client region s3-external-1, useArnRegion=true' do
+ context "object lambda @us-east-1, client region s3-external-1, useArnRegion=true" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com"}}
end
@@ -5694,7 +5694,7 @@ module Aws::S3
end
end
- context 'object lambda @us-east-1, client region s3-external-1, useArnRegion=false' do
+ context "object lambda @us-east-1, client region s3-external-1, useArnRegion=false" do
let(:expected) do
{"error"=>"Invalid configuration: region from ARN `us-east-1` does not match client region `s3-external-1` and UseArnRegion is `false`"}
end
@@ -5722,7 +5722,7 @@ module Aws::S3
end
end
- context 'object lambda @us-east-1, client region aws-global, useArnRegion=true' do
+ context "object lambda @us-east-1, client region aws-global, useArnRegion=true" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://mybanner-123456789012.s3-object-lambda.us-east-1.amazonaws.com"}}
end
@@ -5754,7 +5754,7 @@ module Aws::S3
end
end
- context 'object lambda @us-east-1, client region aws-global, useArnRegion=false' do
+ context "object lambda @us-east-1, client region aws-global, useArnRegion=false" do
let(:expected) do
{"error"=>"Invalid configuration: region from ARN `us-east-1` does not match client region `aws-global` and UseArnRegion is `false`"}
end
@@ -5782,7 +5782,7 @@ module Aws::S3
end
end
- context 'object lambda @cn-north-1, client region us-west-2 (cross partition), useArnRegion=true' do
+ context "object lambda @cn-north-1, client region us-west-2 (cross partition), useArnRegion=true" do
let(:expected) do
{"error"=>"Client was configured for partition `aws` but ARN (`arn:aws-cn:s3-object-lambda:cn-north-1:123456789012:accesspoint/mybanner`) has `aws-cn`"}
end
@@ -5810,7 +5810,7 @@ module Aws::S3
end
end
- context 'object lambda with dualstack' do
+ context "object lambda with dualstack" do
let(:expected) do
{"error"=>"S3 Object Lambda does not support Dual-stack"}
end
@@ -5839,7 +5839,7 @@ module Aws::S3
end
end
- context 'object lambda @us-gov-east-1' do
+ context "object lambda @us-gov-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-gov-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://mybanner-123456789012.s3-object-lambda.us-gov-east-1.amazonaws.com"}}
end
@@ -5853,7 +5853,7 @@ module Aws::S3
end
end
- context 'object lambda @us-gov-east-1, with fips' do
+ context "object lambda @us-gov-east-1, with fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-gov-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://mybanner-123456789012.s3-object-lambda-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -5867,7 +5867,7 @@ module Aws::S3
end
end
- context 'object lambda @cn-north-1, with fips' do
+ context "object lambda @cn-north-1, with fips" do
let(:expected) do
{"error"=>"Partition does not support FIPS"}
end
@@ -5880,7 +5880,7 @@ module Aws::S3
end
end
- context 'object lambda with accelerate' do
+ context "object lambda with accelerate" do
let(:expected) do
{"error"=>"S3 Object Lambda does not support S3 Accelerate"}
end
@@ -5909,7 +5909,7 @@ module Aws::S3
end
end
- context 'object lambda with invalid arn - bad service and someresource' do
+ context "object lambda with invalid arn - bad service and someresource" do
let(:expected) do
{"error"=>"Invalid ARN: Unrecognized format: arn:aws:sqs:us-west-2:123456789012:someresource (type: someresource)"}
end
@@ -5937,7 +5937,7 @@ module Aws::S3
end
end
- context 'object lambda with invalid arn - invalid resource' do
+ context "object lambda with invalid arn - invalid resource" do
let(:expected) do
{"error"=>"Invalid ARN: Object Lambda ARNs only support `accesspoint` arn types, but found: `bucket_name`"}
end
@@ -5950,7 +5950,7 @@ module Aws::S3
end
end
- context 'object lambda with invalid arn - missing region' do
+ context "object lambda with invalid arn - missing region" do
let(:expected) do
{"error"=>"Invalid ARN: bucket ARN is missing a region"}
end
@@ -5963,7 +5963,7 @@ module Aws::S3
end
end
- context 'object lambda with invalid arn - missing account-id' do
+ context "object lambda with invalid arn - missing account-id" do
let(:expected) do
{"error"=>"Invalid ARN: Missing account id"}
end
@@ -5976,7 +5976,7 @@ module Aws::S3
end
end
- context 'object lambda with invalid arn - account id contains invalid characters' do
+ context "object lambda with invalid arn - account id contains invalid characters" do
let(:expected) do
{"error"=>"Invalid ARN: The account id may only contain a-z, A-Z, 0-9 and `-`. Found: `123.45678.9012`"}
end
@@ -6004,7 +6004,7 @@ module Aws::S3
end
end
- context 'object lambda with invalid arn - missing access point name' do
+ context "object lambda with invalid arn - missing access point name" do
let(:expected) do
{"error"=>"Invalid ARN: Expected a resource of the format `accesspoint:` but no name was provided"}
end
@@ -6017,7 +6017,7 @@ module Aws::S3
end
end
- context 'object lambda with invalid arn - access point name contains invalid character: *' do
+ context "object lambda with invalid arn - access point name contains invalid character: *" do
let(:expected) do
{"error"=>"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `*`"}
end
@@ -6030,7 +6030,7 @@ module Aws::S3
end
end
- context 'object lambda with invalid arn - access point name contains invalid character: .' do
+ context "object lambda with invalid arn - access point name contains invalid character: ." do
let(:expected) do
{"error"=>"Invalid ARN: The access point name may only contain a-z, A-Z, 0-9 and `-`. Found: `my.bucket`"}
end
@@ -6043,7 +6043,7 @@ module Aws::S3
end
end
- context 'object lambda with invalid arn - access point name contains sub resources' do
+ context "object lambda with invalid arn - access point name contains sub resources" do
let(:expected) do
{"error"=>"Invalid ARN: The ARN may only contain a single resource component after `accesspoint`."}
end
@@ -6056,7 +6056,7 @@ module Aws::S3
end
end
- context 'object lambda with custom endpoint' do
+ context "object lambda with custom endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://mybanner-123456789012.my-endpoint.com"}}
end
@@ -6089,7 +6089,7 @@ module Aws::S3
end
end
- context 'object lambda arn with region mismatch and UseArnRegion=false' do
+ context "object lambda arn with region mismatch and UseArnRegion=false" do
let(:expected) do
{"error"=>"Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"}
end
@@ -6117,7 +6117,7 @@ module Aws::S3
end
end
- context 'WriteGetObjectResponse @ us-west-2' do
+ context "WriteGetObjectResponse @ us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-object-lambda.us-west-2.amazonaws.com"}}
end
@@ -6148,7 +6148,7 @@ module Aws::S3
end
end
- context 'WriteGetObjectResponse with custom endpoint' do
+ context "WriteGetObjectResponse with custom endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://my-endpoint.com"}}
end
@@ -6180,7 +6180,7 @@ module Aws::S3
end
end
- context 'WriteGetObjectResponse @ us-east-1' do
+ context "WriteGetObjectResponse @ us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-object-lambda.us-east-1.amazonaws.com"}}
end
@@ -6211,7 +6211,7 @@ module Aws::S3
end
end
- context 'WriteGetObjectResponse with fips' do
+ context "WriteGetObjectResponse with fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-object-lambda-fips.us-east-1.amazonaws.com"}}
end
@@ -6243,7 +6243,7 @@ module Aws::S3
end
end
- context 'WriteGetObjectResponse with dualstack' do
+ context "WriteGetObjectResponse with dualstack" do
let(:expected) do
{"error"=>"S3 Object Lambda does not support Dual-stack"}
end
@@ -6271,7 +6271,7 @@ module Aws::S3
end
end
- context 'WriteGetObjectResponse with accelerate' do
+ context "WriteGetObjectResponse with accelerate" do
let(:expected) do
{"error"=>"S3 Object Lambda does not support S3 Accelerate"}
end
@@ -6284,7 +6284,7 @@ module Aws::S3
end
end
- context 'WriteGetObjectResponse with fips in CN' do
+ context "WriteGetObjectResponse with fips in CN" do
let(:expected) do
{"error"=>"Partition does not support FIPS"}
end
@@ -6297,7 +6297,7 @@ module Aws::S3
end
end
- context 'WriteGetObjectResponse with invalid partition' do
+ context "WriteGetObjectResponse with invalid partition" do
let(:expected) do
{"error"=>"Invalid region: region was not a valid DNS name."}
end
@@ -6310,7 +6310,7 @@ module Aws::S3
end
end
- context 'WriteGetObjectResponse with an unknown partition' do
+ context "WriteGetObjectResponse with an unknown partition" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-object-lambda", "disableDoubleEncoding"=>true, "signingRegion"=>"us-east.special"}]}, "url"=>"https://s3-object-lambda.us-east.special.amazonaws.com"}}
end
@@ -6324,7 +6324,7 @@ module Aws::S3
end
end
- context 'S3 Outposts bucketAlias Real Outpost Prod us-west-1' do
+ context "S3 Outposts bucketAlias Real Outpost Prod us-west-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://test-accessp-o0b1d075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3.op-0b1d075431d83bebd.s3-outposts.us-west-1.amazonaws.com"}}
end
@@ -6338,7 +6338,7 @@ module Aws::S3
end
end
- context 'S3 Outposts bucketAlias Real Outpost Prod ap-east-1' do
+ context "S3 Outposts bucketAlias Real Outpost Prod ap-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"ap-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://test-accessp-o0b1d075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3.op-0b1d075431d83bebd.s3-outposts.ap-east-1.amazonaws.com"}}
end
@@ -6352,7 +6352,7 @@ module Aws::S3
end
end
- context 'S3 Outposts bucketAlias Ec2 Outpost Prod us-east-1' do
+ context "S3 Outposts bucketAlias Ec2 Outpost Prod us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://test-accessp-e0000075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3.ec2.s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -6366,7 +6366,7 @@ module Aws::S3
end
end
- context 'S3 Outposts bucketAlias Ec2 Outpost Prod me-south-1' do
+ context "S3 Outposts bucketAlias Ec2 Outpost Prod me-south-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"me-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://test-accessp-e0000075431d83bebde8xz5w8ijx1qzlbp3i3kuse10--op-s3.ec2.s3-outposts.me-south-1.amazonaws.com"}}
end
@@ -6380,7 +6380,7 @@ module Aws::S3
end
end
- context 'S3 Outposts bucketAlias Real Outpost Beta' do
+ context "S3 Outposts bucketAlias Real Outpost Beta" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://test-accessp-o0b1d075431d83bebde8xz5w8ijx1qzlbp3i3kbeta0--op-s3.op-0b1d075431d83bebd.example.amazonaws.com"}}
end
@@ -6394,7 +6394,7 @@ module Aws::S3
end
end
- context 'S3 Outposts bucketAlias Ec2 Outpost Beta' do
+ context "S3 Outposts bucketAlias Ec2 Outpost Beta" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4a", "signingName"=>"s3-outposts", "signingRegionSet"=>["*"], "disableDoubleEncoding"=>true}, {"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://161743052723-e00000136899934034jeahy1t8gpzpbwjj8kb7beta0--op-s3.ec2.example.amazonaws.com"}}
end
@@ -6408,7 +6408,7 @@ module Aws::S3
end
end
- context 'S3 Outposts bucketAlias - No endpoint set for beta' do
+ context "S3 Outposts bucketAlias - No endpoint set for beta" do
let(:expected) do
{"error"=>"Expected a endpoint to be specified but no endpoint was found"}
end
@@ -6421,7 +6421,7 @@ module Aws::S3
end
end
- context 'S3 Outposts bucketAlias Invalid hardware type' do
+ context "S3 Outposts bucketAlias Invalid hardware type" do
let(:expected) do
{"error"=>"Unrecognized hardware type: \"Expected hardware type o or e but got h\""}
end
@@ -6434,7 +6434,7 @@ module Aws::S3
end
end
- context 'S3 Outposts bucketAlias Special character in Outpost Arn' do
+ context "S3 Outposts bucketAlias Special character in Outpost Arn" do
let(:expected) do
{"error"=>"Invalid ARN: The outpost Id must only contain a-z, A-Z, 0-9 and `-`."}
end
@@ -6447,7 +6447,7 @@ module Aws::S3
end
end
- context 'S3 Outposts bucketAlias - No endpoint set for beta' do
+ context "S3 Outposts bucketAlias - No endpoint set for beta" do
let(:expected) do
{"error"=>"Expected a endpoint to be specified but no endpoint was found"}
end
@@ -6460,7 +6460,7 @@ module Aws::S3
end
end
- context 'S3 Snow with bucket' do
+ context "S3 Snow with bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"snow", "disableDoubleEncoding"=>true}]}, "url"=>"http://10.0.1.12:433/bucketName"}}
end
@@ -6474,7 +6474,7 @@ module Aws::S3
end
end
- context 'S3 Snow without bucket' do
+ context "S3 Snow without bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"snow", "disableDoubleEncoding"=>true}]}, "url"=>"https://10.0.1.12:433"}}
end
@@ -6488,7 +6488,7 @@ module Aws::S3
end
end
- context 'S3 Snow no port' do
+ context "S3 Snow no port" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"snow", "disableDoubleEncoding"=>true}]}, "url"=>"http://10.0.1.12/bucketName"}}
end
@@ -6502,7 +6502,7 @@ module Aws::S3
end
end
- context 'S3 Snow dns endpoint' do
+ context "S3 Snow dns endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"snow", "disableDoubleEncoding"=>true}]}, "url"=>"https://amazonaws.com/bucketName"}}
end
@@ -6516,7 +6516,7 @@ module Aws::S3
end
end
- context 'Data Plane with short AZ' do
+ context "Data Plane with short AZ" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://mybucket--use1-az1--x-s3.s3express-use1-az1.us-east-1.amazonaws.com"}}
end
@@ -6555,7 +6555,7 @@ module Aws::S3
end
end
- context 'Data Plane with short AZ fips' do
+ context "Data Plane with short AZ fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://mybucket--use1-az1--x-s3.s3express-fips-use1-az1.us-east-1.amazonaws.com"}}
end
@@ -6595,7 +6595,7 @@ module Aws::S3
end
end
- context 'Data Plane with long AZ' do
+ context "Data Plane with long AZ" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"ap-northeast-1", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://mybucket--apne1-az1--x-s3.s3express-apne1-az1.ap-northeast-1.amazonaws.com"}}
end
@@ -6634,7 +6634,7 @@ module Aws::S3
end
end
- context 'Data Plane with long AZ fips' do
+ context "Data Plane with long AZ fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"ap-northeast-1", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://mybucket--apne1-az1--x-s3.s3express-fips-apne1-az1.ap-northeast-1.amazonaws.com"}}
end
@@ -6674,7 +6674,7 @@ module Aws::S3
end
end
- context 'Control plane with short AZ bucket' do
+ context "Control plane with short AZ bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://s3express-control.us-east-1.amazonaws.com/mybucket--use1-az1--x-s3"}}
end
@@ -6704,7 +6704,7 @@ module Aws::S3
end
end
- context 'Control plane with short AZ bucket and fips' do
+ context "Control plane with short AZ bucket and fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://s3express-control-fips.us-east-1.amazonaws.com/mybucket--use1-az1--x-s3"}}
end
@@ -6735,7 +6735,7 @@ module Aws::S3
end
end
- context 'Control plane without bucket' do
+ context "Control plane without bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://s3express-control.us-east-1.amazonaws.com"}}
end
@@ -6764,7 +6764,7 @@ module Aws::S3
end
end
- context 'Control plane without bucket and fips' do
+ context "Control plane without bucket and fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://s3express-control-fips.us-east-1.amazonaws.com"}}
end
@@ -6794,7 +6794,7 @@ module Aws::S3
end
end
- context 'Data Plane sigv4 auth with short AZ' do
+ context "Data Plane sigv4 auth with short AZ" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://mybucket--usw2-az1--x-s3.s3express-usw2-az1.us-west-2.amazonaws.com"}}
end
@@ -6808,7 +6808,7 @@ module Aws::S3
end
end
- context 'Data Plane sigv4 auth with short AZ fips' do
+ context "Data Plane sigv4 auth with short AZ fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://mybucket--usw2-az1--x-s3.s3express-fips-usw2-az1.us-west-2.amazonaws.com"}}
end
@@ -6822,7 +6822,7 @@ module Aws::S3
end
end
- context 'Data Plane sigv4 auth with long AZ' do
+ context "Data Plane sigv4 auth with long AZ" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"ap-northeast-1", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://mybucket--apne1-az1--x-s3.s3express-apne1-az1.ap-northeast-1.amazonaws.com"}}
end
@@ -6836,7 +6836,7 @@ module Aws::S3
end
end
- context 'Data Plane sigv4 auth with long AZ fips' do
+ context "Data Plane sigv4 auth with long AZ fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"ap-northeast-1", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://mybucket--apne1-az1--x-s3.s3express-fips-apne1-az1.ap-northeast-1.amazonaws.com"}}
end
@@ -6850,7 +6850,7 @@ module Aws::S3
end
end
- context 'Control Plane host override' do
+ context "Control Plane host override" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://mybucket--usw2-az1--x-s3.custom.com"}}
end
@@ -6864,7 +6864,7 @@ module Aws::S3
end
end
- context 'Control Plane host override no bucket' do
+ context "Control Plane host override no bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://custom.com"}}
end
@@ -6878,7 +6878,7 @@ module Aws::S3
end
end
- context 'Data plane host override non virtual session auth' do
+ context "Data plane host override non virtual session auth" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://10.0.0.1/mybucket--usw2-az1--x-s3"}}
end
@@ -6918,7 +6918,7 @@ module Aws::S3
end
end
- context 'Control Plane host override ip' do
+ context "Control Plane host override ip" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3express", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://10.0.0.1/mybucket--usw2-az1--x-s3"}}
end
@@ -6932,7 +6932,7 @@ module Aws::S3
end
end
- context 'Data plane host override' do
+ context "Data plane host override" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4-s3express", "signingName"=>"s3express", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}], "backend"=>"S3Express"}, "url"=>"https://mybucket--usw2-az1--x-s3.custom.com"}}
end
@@ -6972,7 +6972,7 @@ module Aws::S3
end
end
- context 'bad format error' do
+ context "bad format error" do
let(:expected) do
{"error"=>"Unrecognized S3Express bucket name format."}
end
@@ -6999,7 +6999,7 @@ module Aws::S3
end
end
- context 'bad format error no session auth' do
+ context "bad format error no session auth" do
let(:expected) do
{"error"=>"Unrecognized S3Express bucket name format."}
end
@@ -7026,7 +7026,7 @@ module Aws::S3
end
end
- context 'dual-stack error' do
+ context "dual-stack error" do
let(:expected) do
{"error"=>"S3Express does not support Dual-stack."}
end
@@ -7054,7 +7054,7 @@ module Aws::S3
end
end
- context 'accelerate error' do
+ context "accelerate error" do
let(:expected) do
{"error"=>"S3Express does not support S3 Accelerate."}
end
@@ -7082,7 +7082,7 @@ module Aws::S3
end
end
- context 'Data plane bucket format error' do
+ context "Data plane bucket format error" do
let(:expected) do
{"error"=>"S3Express bucket name is not a valid virtual hostable name."}
end
@@ -7109,7 +7109,7 @@ module Aws::S3
end
end
- context 'host override data plane bucket error session auth' do
+ context "host override data plane bucket error session auth" do
let(:expected) do
{"error"=>"S3Express bucket name is not a valid virtual hostable name."}
end
@@ -7137,7 +7137,7 @@ module Aws::S3
end
end
- context 'host override data plane bucket error' do
+ context "host override data plane bucket error" do
let(:expected) do
{"error"=>"S3Express bucket name is not a valid virtual hostable name."}
end
diff --git a/gems/aws-sdk-s3/spec/presigner_spec.rb b/gems/aws-sdk-s3/spec/presigner_spec.rb
index 10f11ae5454..e306489f3af 100644
--- a/gems/aws-sdk-s3/spec/presigner_spec.rb
+++ b/gems/aws-sdk-s3/spec/presigner_spec.rb
@@ -103,8 +103,6 @@ def initialize(expiration_time)
end
it 'can sign with additional whitelisted headers' do
- skip("CRT does not support whitelisting user-agent") if Aws::Sigv4::Signer.use_crt?
-
actual_url = subject.presigned_url(
:get_object,
bucket: 'examplebucket',
@@ -256,8 +254,6 @@ def initialize(expiration_time)
end
it 'can sign with additional whitelisted headers' do
- skip("CRT is unable to whitelist user-agent") if Aws::Sigv4::Signer.use_crt?
-
actual_url, = subject.presigned_request(
:get_object,
bucket: 'examplebucket',
diff --git a/gems/aws-sdk-s3control/CHANGELOG.md b/gems/aws-sdk-s3control/CHANGELOG.md
index 0f9c7fa1fe1..b8a6dd20cec 100644
--- a/gems/aws-sdk-s3control/CHANGELOG.md
+++ b/gems/aws-sdk-s3control/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.91.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.90.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-s3control/VERSION b/gems/aws-sdk-s3control/VERSION
index 82e24bf241e..6979a6c0661 100644
--- a/gems/aws-sdk-s3control/VERSION
+++ b/gems/aws-sdk-s3control/VERSION
@@ -1 +1 @@
-1.90.0
+1.91.0
diff --git a/gems/aws-sdk-s3control/aws-sdk-s3control.gemspec b/gems/aws-sdk-s3control/aws-sdk-s3control.gemspec
index d081acf1b6f..3189afa630d 100644
--- a/gems/aws-sdk-s3control/aws-sdk-s3control.gemspec
+++ b/gems/aws-sdk-s3control/aws-sdk-s3control.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-s3control/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-s3control/lib/aws-sdk-s3control.rb b/gems/aws-sdk-s3control/lib/aws-sdk-s3control.rb
index b5c3d8d6f9b..d79059d36ed 100644
--- a/gems/aws-sdk-s3control/lib/aws-sdk-s3control.rb
+++ b/gems/aws-sdk-s3control/lib/aws-sdk-s3control.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::S3Control
- GEM_VERSION = '1.90.0'
+ GEM_VERSION = '1.91.0'
end
diff --git a/gems/aws-sdk-s3control/lib/aws-sdk-s3control/client.rb b/gems/aws-sdk-s3control/lib/aws-sdk-s3control/client.rb
index c14b5646173..fae4a8ba03a 100644
--- a/gems/aws-sdk-s3control/lib/aws-sdk-s3control/client.rb
+++ b/gems/aws-sdk-s3control/lib/aws-sdk-s3control/client.rb
@@ -7719,7 +7719,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-s3control'
- context[:gem_version] = '1.90.0'
+ context[:gem_version] = '1.91.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-s3control/lib/aws-sdk-s3control/endpoints.rb b/gems/aws-sdk-s3control/lib/aws-sdk-s3control/endpoints.rb
index 75622ab9541..22a0eb47741 100644
--- a/gems/aws-sdk-s3control/lib/aws-sdk-s3control/endpoints.rb
+++ b/gems/aws-sdk-s3control/lib/aws-sdk-s3control/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class AssociateAccessGrantsIdentityCenter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -34,14 +31,11 @@ def self.build(context)
class CreateAccessGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -54,14 +48,11 @@ def self.build(context)
class CreateAccessGrantsInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -74,14 +65,11 @@ def self.build(context)
class CreateAccessGrantsLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -94,14 +82,11 @@ def self.build(context)
class CreateAccessPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -114,14 +99,11 @@ def self.build(context)
class CreateAccessPointForObjectLambda
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -134,14 +116,11 @@ def self.build(context)
class CreateBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: nil,
requires_account_id: nil,
outpost_id: context.params[:outpost_id],
@@ -154,14 +133,11 @@ def self.build(context)
class CreateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -174,14 +150,11 @@ def self.build(context)
class CreateMultiRegionAccessPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -194,14 +167,11 @@ def self.build(context)
class CreateStorageLensGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -214,14 +184,11 @@ def self.build(context)
class DeleteAccessGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -234,14 +201,11 @@ def self.build(context)
class DeleteAccessGrantsInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -254,14 +218,11 @@ def self.build(context)
class DeleteAccessGrantsInstanceResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -274,14 +235,11 @@ def self.build(context)
class DeleteAccessGrantsLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -294,14 +252,11 @@ def self.build(context)
class DeleteAccessPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -314,14 +269,11 @@ def self.build(context)
class DeleteAccessPointForObjectLambda
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -334,14 +286,11 @@ def self.build(context)
class DeleteAccessPointPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -354,14 +303,11 @@ def self.build(context)
class DeleteAccessPointPolicyForObjectLambda
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -374,14 +320,11 @@ def self.build(context)
class DeleteBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -394,14 +337,11 @@ def self.build(context)
class DeleteBucketLifecycleConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -414,14 +354,11 @@ def self.build(context)
class DeleteBucketPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -434,14 +371,11 @@ def self.build(context)
class DeleteBucketReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -454,14 +388,11 @@ def self.build(context)
class DeleteBucketTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -474,14 +405,11 @@ def self.build(context)
class DeleteJobTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -494,14 +422,11 @@ def self.build(context)
class DeleteMultiRegionAccessPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -514,14 +439,11 @@ def self.build(context)
class DeletePublicAccessBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -534,14 +456,11 @@ def self.build(context)
class DeleteStorageLensConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -554,14 +473,11 @@ def self.build(context)
class DeleteStorageLensConfigurationTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -574,14 +490,11 @@ def self.build(context)
class DeleteStorageLensGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -594,14 +507,11 @@ def self.build(context)
class DescribeJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -614,14 +524,11 @@ def self.build(context)
class DescribeMultiRegionAccessPointOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -634,14 +541,11 @@ def self.build(context)
class DissociateAccessGrantsIdentityCenter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -654,14 +558,11 @@ def self.build(context)
class GetAccessGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -674,14 +575,11 @@ def self.build(context)
class GetAccessGrantsInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -694,14 +592,11 @@ def self.build(context)
class GetAccessGrantsInstanceForPrefix
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -714,14 +609,11 @@ def self.build(context)
class GetAccessGrantsInstanceResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -734,14 +626,11 @@ def self.build(context)
class GetAccessGrantsLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -754,14 +643,11 @@ def self.build(context)
class GetAccessPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -774,14 +660,11 @@ def self.build(context)
class GetAccessPointConfigurationForObjectLambda
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -794,14 +677,11 @@ def self.build(context)
class GetAccessPointForObjectLambda
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -814,14 +694,11 @@ def self.build(context)
class GetAccessPointPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -834,14 +711,11 @@ def self.build(context)
class GetAccessPointPolicyForObjectLambda
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -854,14 +728,11 @@ def self.build(context)
class GetAccessPointPolicyStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -874,14 +745,11 @@ def self.build(context)
class GetAccessPointPolicyStatusForObjectLambda
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -894,14 +762,11 @@ def self.build(context)
class GetBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -914,14 +779,11 @@ def self.build(context)
class GetBucketLifecycleConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -934,14 +796,11 @@ def self.build(context)
class GetBucketPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -954,14 +813,11 @@ def self.build(context)
class GetBucketReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -974,14 +830,11 @@ def self.build(context)
class GetBucketTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -994,14 +847,11 @@ def self.build(context)
class GetBucketVersioning
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1014,14 +864,11 @@ def self.build(context)
class GetDataAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1034,14 +881,11 @@ def self.build(context)
class GetJobTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1054,14 +898,11 @@ def self.build(context)
class GetMultiRegionAccessPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1074,14 +915,11 @@ def self.build(context)
class GetMultiRegionAccessPointPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1094,14 +932,11 @@ def self.build(context)
class GetMultiRegionAccessPointPolicyStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1114,14 +949,11 @@ def self.build(context)
class GetMultiRegionAccessPointRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1134,14 +966,11 @@ def self.build(context)
class GetPublicAccessBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1154,14 +983,11 @@ def self.build(context)
class GetStorageLensConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1174,14 +1000,11 @@ def self.build(context)
class GetStorageLensConfigurationTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1194,14 +1017,11 @@ def self.build(context)
class GetStorageLensGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1214,14 +1034,11 @@ def self.build(context)
class ListAccessGrants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1234,14 +1051,11 @@ def self.build(context)
class ListAccessGrantsInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1254,14 +1068,11 @@ def self.build(context)
class ListAccessGrantsLocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1274,14 +1085,11 @@ def self.build(context)
class ListAccessPoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1294,14 +1102,11 @@ def self.build(context)
class ListAccessPointsForObjectLambda
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1314,14 +1119,11 @@ def self.build(context)
class ListCallerAccessGrants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1334,14 +1136,11 @@ def self.build(context)
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1354,14 +1153,11 @@ def self.build(context)
class ListMultiRegionAccessPoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1374,14 +1170,11 @@ def self.build(context)
class ListRegionalBuckets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: context.params[:outpost_id],
@@ -1394,14 +1187,11 @@ def self.build(context)
class ListStorageLensConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1414,14 +1204,11 @@ def self.build(context)
class ListStorageLensGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1434,14 +1221,11 @@ def self.build(context)
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1454,14 +1238,11 @@ def self.build(context)
class PutAccessGrantsInstanceResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1474,14 +1255,11 @@ def self.build(context)
class PutAccessPointConfigurationForObjectLambda
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1494,14 +1272,11 @@ def self.build(context)
class PutAccessPointPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1514,14 +1289,11 @@ def self.build(context)
class PutAccessPointPolicyForObjectLambda
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1534,14 +1306,11 @@ def self.build(context)
class PutBucketLifecycleConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1554,14 +1323,11 @@ def self.build(context)
class PutBucketPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1574,14 +1340,11 @@ def self.build(context)
class PutBucketReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1594,14 +1357,11 @@ def self.build(context)
class PutBucketTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1614,14 +1374,11 @@ def self.build(context)
class PutBucketVersioning
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1634,14 +1391,11 @@ def self.build(context)
class PutJobTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1654,14 +1408,11 @@ def self.build(context)
class PutMultiRegionAccessPointPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1674,14 +1425,11 @@ def self.build(context)
class PutPublicAccessBlock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1694,14 +1442,11 @@ def self.build(context)
class PutStorageLensConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1714,14 +1459,11 @@ def self.build(context)
class PutStorageLensConfigurationTagging
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1734,14 +1476,11 @@ def self.build(context)
class SubmitMultiRegionAccessPointRoutes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1754,14 +1493,11 @@ def self.build(context)
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1774,14 +1510,11 @@ def self.build(context)
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1794,14 +1527,11 @@ def self.build(context)
class UpdateAccessGrantsLocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1814,14 +1544,11 @@ def self.build(context)
class UpdateJobPriority
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1834,14 +1561,11 @@ def self.build(context)
class UpdateJobStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
@@ -1854,14 +1578,11 @@ def self.build(context)
class UpdateStorageLensGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Control::EndpointParameters.new(
region: context.config.region,
use_fips: context.config.use_fips_endpoint,
use_dual_stack: context[:use_dualstack_endpoint],
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
account_id: context.params[:account_id],
requires_account_id: true,
outpost_id: nil,
diff --git a/gems/aws-sdk-s3control/lib/aws-sdk-s3control/plugins/endpoints.rb b/gems/aws-sdk-s3control/lib/aws-sdk-s3control/plugins/endpoints.rb
index 898377002c3..9b0841b797d 100644
--- a/gems/aws-sdk-s3control/lib/aws-sdk-s3control/plugins/endpoints.rb
+++ b/gems/aws-sdk-s3control/lib/aws-sdk-s3control/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-s3control/spec/endpoint_provider_spec.rb b/gems/aws-sdk-s3control/spec/endpoint_provider_spec.rb
index 31d96f31693..1f926397c28 100644
--- a/gems/aws-sdk-s3control/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-s3control/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::S3Control
describe EndpointProvider do
subject { Aws::S3Control::EndpointProvider.new }
- context 'Vanilla outposts without ARN region + access point ARN@us-west-2' do
+ context "Vanilla outposts without ARN region + access point ARN@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-west-2.amazonaws.com"}}
end
@@ -64,7 +64,7 @@ module Aws::S3Control
end
end
- context 'Vanilla outposts with ARN region + access point ARN@us-west-2' do
+ context "Vanilla outposts with ARN region + access point ARN@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -114,7 +114,7 @@ module Aws::S3Control
end
end
- context 'accept an access point ARN@us-west-2' do
+ context "accept an access point ARN@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-west-2.amazonaws.com"}}
end
@@ -164,7 +164,7 @@ module Aws::S3Control
end
end
- context 'vanilla outposts china@cn-north-1' do
+ context "vanilla outposts china@cn-north-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.cn-north-1.amazonaws.com.cn"}}
end
@@ -214,7 +214,7 @@ module Aws::S3Control
end
end
- context 'gov region@us-west-2' do
+ context "gov region@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-west-2.amazonaws.com"}}
end
@@ -264,7 +264,7 @@ module Aws::S3Control
end
end
- context 'gov cloud with fips@us-west-2' do
+ context "gov cloud with fips@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-west-2.amazonaws.com"}}
end
@@ -316,7 +316,7 @@ module Aws::S3Control
end
end
- context 'govcloud with fips + arn region@us-gov-west-1' do
+ context "govcloud with fips + arn region@us-gov-west-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-gov-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -368,7 +368,7 @@ module Aws::S3Control
end
end
- context 'gov region@cn-north-1' do
+ context "gov region@cn-north-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.cn-north-1.amazonaws.com.cn"}}
end
@@ -418,7 +418,7 @@ module Aws::S3Control
end
end
- context 'gov cloud with fips@cn-north-1' do
+ context "gov cloud with fips@cn-north-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -470,7 +470,7 @@ module Aws::S3Control
end
end
- context 'govcloud with fips + arn region@us-gov-west-1' do
+ context "govcloud with fips + arn region@us-gov-west-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-gov-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -522,7 +522,7 @@ module Aws::S3Control
end
end
- context 'gov region@af-south-1' do
+ context "gov region@af-south-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.af-south-1.amazonaws.com"}}
end
@@ -572,7 +572,7 @@ module Aws::S3Control
end
end
- context 'gov cloud with fips@af-south-1' do
+ context "gov cloud with fips@af-south-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.af-south-1.amazonaws.com"}}
end
@@ -624,7 +624,7 @@ module Aws::S3Control
end
end
- context 'govcloud with fips + arn region@us-gov-west-1' do
+ context "govcloud with fips + arn region@us-gov-west-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-gov-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -676,7 +676,7 @@ module Aws::S3Control
end
end
- context 'CreateBucket + OutpostId = outposts endpoint@us-east-2' do
+ context "CreateBucket + OutpostId = outposts endpoint@us-east-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-east-2.amazonaws.com"}}
end
@@ -706,7 +706,7 @@ module Aws::S3Control
end
end
- context 'CreateBucket + OutpostId with fips = outposts endpoint@us-east-2' do
+ context "CreateBucket + OutpostId with fips = outposts endpoint@us-east-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-east-2.amazonaws.com"}}
end
@@ -737,7 +737,7 @@ module Aws::S3Control
end
end
- context 'CreateBucket without OutpostId = regular endpoint@us-east-2' do
+ context "CreateBucket without OutpostId = regular endpoint@us-east-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-control.us-east-2.amazonaws.com"}}
end
@@ -766,7 +766,7 @@ module Aws::S3Control
end
end
- context 'ListRegionalBuckets + OutpostId = outposts endpoint@us-east-2' do
+ context "ListRegionalBuckets + OutpostId = outposts endpoint@us-east-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-east-2.amazonaws.com"}}
end
@@ -796,7 +796,7 @@ module Aws::S3Control
end
end
- context 'ListRegionalBuckets without OutpostId = regular endpoint@us-east-2' do
+ context "ListRegionalBuckets without OutpostId = regular endpoint@us-east-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://123456789012.s3-control.us-east-2.amazonaws.com"}}
end
@@ -825,7 +825,7 @@ module Aws::S3Control
end
end
- context 'ListRegionalBucket + OutpostId with fips = outposts endpoint@us-east-2' do
+ context "ListRegionalBucket + OutpostId with fips = outposts endpoint@us-east-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-east-2.amazonaws.com"}}
end
@@ -856,7 +856,7 @@ module Aws::S3Control
end
end
- context 'outpost access points support dualstack@us-west-2' do
+ context "outpost access points support dualstack@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-west-2.api.aws"}}
end
@@ -908,7 +908,7 @@ module Aws::S3Control
end
end
- context 'outpost access points support dualstack@af-south-1' do
+ context "outpost access points support dualstack@af-south-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.af-south-1.api.aws"}}
end
@@ -960,7 +960,7 @@ module Aws::S3Control
end
end
- context 'outpost access points support fips + dualstack@af-south-1' do
+ context "outpost access points support fips + dualstack@af-south-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.af-south-1.api.aws"}}
end
@@ -1014,7 +1014,7 @@ module Aws::S3Control
end
end
- context 'invalid ARN: must be include outpost ID@us-west-2' do
+ context "invalid ARN: must be include outpost ID@us-west-2" do
let(:expected) do
{"error"=>"Invalid ARN: The Outpost Id was not set"}
end
@@ -1027,7 +1027,7 @@ module Aws::S3Control
end
end
- context 'invalid ARN: must specify access point@us-west-2' do
+ context "invalid ARN: must specify access point@us-west-2" do
let(:expected) do
{"error"=>"Invalid ARN: Expected a 4-component resource"}
end
@@ -1040,7 +1040,7 @@ module Aws::S3Control
end
end
- context 'invalid ARN@us-west-2' do
+ context "invalid ARN@us-west-2" do
let(:expected) do
{"error"=>"Invalid ARN: Expected a 4-component resource"}
end
@@ -1053,7 +1053,7 @@ module Aws::S3Control
end
end
- context 'when set, AccountId drives AP construction@us-west-2' do
+ context "when set, AccountId drives AP construction@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://myid-1234.s3-control.us-west-2.amazonaws.com"}}
end
@@ -1067,7 +1067,7 @@ module Aws::S3Control
end
end
- context 'Account ID set inline and in ARN but they both match@us-west-2' do
+ context "Account ID set inline and in ARN but they both match@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-west-2.amazonaws.com"}}
end
@@ -1100,7 +1100,7 @@ module Aws::S3Control
end
end
- context 'Account ID set inline and in ARN and they do not match@us-west-2' do
+ context "Account ID set inline and in ARN and they do not match@us-west-2" do
let(:expected) do
{"error"=>"Invalid ARN: the accountId specified in the ARN (`123456789012`) does not match the parameter (`999999999999`)"}
end
@@ -1127,7 +1127,7 @@ module Aws::S3Control
end
end
- context 'get access point prefixed with account id using endpoint url@us-west-2' do
+ context "get access point prefixed with account id using endpoint url@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://123456789012.control.vpce-1a2b3c4d-5e6f.s3.us-west-2.vpce.amazonaws.com"}}
end
@@ -1158,7 +1158,7 @@ module Aws::S3Control
end
end
- context 'endpoint url with s3-outposts@us-west-2' do
+ context "endpoint url with s3-outposts@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://beta.example.com"}}
end
@@ -1191,7 +1191,7 @@ module Aws::S3Control
end
end
- context 'access point name with a bucket arn@us-west-2' do
+ context "access point name with a bucket arn@us-west-2" do
let(:expected) do
{"error"=>"Expected an outpost type `accesspoint`, found `bucket`"}
end
@@ -1204,7 +1204,7 @@ module Aws::S3Control
end
end
- context 'bucket arn with access point name@us-west-2' do
+ context "bucket arn with access point name@us-west-2" do
let(:expected) do
{"error"=>"Invalid ARN: Expected an outpost type `bucket`, found `accesspoint`"}
end
@@ -1217,7 +1217,7 @@ module Aws::S3Control
end
end
- context 'create bucket with outposts@us-west-2' do
+ context "create bucket with outposts@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://beta.example.com"}}
end
@@ -1231,7 +1231,7 @@ module Aws::S3Control
end
end
- context 'get bucket with endpoint_url@us-west-2' do
+ context "get bucket with endpoint_url@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://beta.example.com"}}
end
@@ -1264,7 +1264,7 @@ module Aws::S3Control
end
end
- context 'ListRegionalBucket + OutpostId endpoint url@us-east-2' do
+ context "ListRegionalBucket + OutpostId endpoint url@us-east-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://beta.example.com"}}
end
@@ -1295,7 +1295,7 @@ module Aws::S3Control
end
end
- context 'ListRegionalBucket + OutpostId + fips + endpoint url@us-east-2' do
+ context "ListRegionalBucket + OutpostId + fips + endpoint url@us-east-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://beta.example.com"}}
end
@@ -1327,7 +1327,7 @@ module Aws::S3Control
end
end
- context 'ListRegionalBucket + OutpostId + fips + dualstack@us-east-2' do
+ context "ListRegionalBucket + OutpostId + fips + dualstack@us-east-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-east-2.api.aws"}}
end
@@ -1359,7 +1359,7 @@ module Aws::S3Control
end
end
- context 'CreateBucket + OutpostId endpoint url@us-east-2' do
+ context "CreateBucket + OutpostId endpoint url@us-east-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://beta.example.com"}}
end
@@ -1391,7 +1391,7 @@ module Aws::S3Control
end
end
- context 'dualstack cannot be used with outposts when an endpoint URL is set@us-west-2.' do
+ context "dualstack cannot be used with outposts when an endpoint URL is set@us-west-2." do
let(:expected) do
{"error"=>"Invalid Configuration: DualStack and custom endpoint are not supported"}
end
@@ -1404,7 +1404,7 @@ module Aws::S3Control
end
end
- context 'vanilla bucket arn requires account id@us-west-2' do
+ context "vanilla bucket arn requires account id@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-west-2.amazonaws.com"}}
end
@@ -1437,7 +1437,7 @@ module Aws::S3Control
end
end
- context 'bucket arn with UseArnRegion = true (arn region supercedes client configured region)@us-west-2' do
+ context "bucket arn with UseArnRegion = true (arn region supercedes client configured region)@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -1469,7 +1469,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN in gov partition (non-fips)@us-gov-east-1' do
+ context "bucket ARN in gov partition (non-fips)@us-gov-east-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-gov-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-gov-east-1.amazonaws.com"}}
end
@@ -1501,7 +1501,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN in gov partition with FIPS@us-gov-west-1' do
+ context "bucket ARN in gov partition with FIPS@us-gov-west-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-gov-west-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -1534,7 +1534,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN in aws partition with FIPS@us-east-2' do
+ context "bucket ARN in aws partition with FIPS@us-east-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-east-2.amazonaws.com"}}
end
@@ -1567,7 +1567,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN in aws partition with fips + dualstack@us-east-2' do
+ context "bucket ARN in aws partition with fips + dualstack@us-east-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-east-2.api.aws"}}
end
@@ -1601,7 +1601,7 @@ module Aws::S3Control
end
end
- context 'vanilla bucket arn requires account id@cn-north-1' do
+ context "vanilla bucket arn requires account id@cn-north-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.cn-north-1.amazonaws.com.cn"}}
end
@@ -1634,7 +1634,7 @@ module Aws::S3Control
end
end
- context 'bucket arn with UseArnRegion = true (arn region supercedes client configured region)@us-west-2' do
+ context "bucket arn with UseArnRegion = true (arn region supercedes client configured region)@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -1666,7 +1666,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN in gov partition (non-fips)@us-gov-east-1' do
+ context "bucket ARN in gov partition (non-fips)@us-gov-east-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-gov-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-gov-east-1.amazonaws.com"}}
end
@@ -1698,7 +1698,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN in gov partition with FIPS@us-gov-west-1' do
+ context "bucket ARN in gov partition with FIPS@us-gov-west-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-gov-west-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -1731,7 +1731,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN in aws partition with FIPS@us-east-2' do
+ context "bucket ARN in aws partition with FIPS@us-east-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-east-2.amazonaws.com"}}
end
@@ -1764,7 +1764,7 @@ module Aws::S3Control
end
end
- context 'Outposts support dualstack @us-west-2' do
+ context "Outposts support dualstack @us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-west-2.api.aws"}}
end
@@ -1797,7 +1797,7 @@ module Aws::S3Control
end
end
- context 'vanilla bucket arn requires account id@af-south-1' do
+ context "vanilla bucket arn requires account id@af-south-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"af-south-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.af-south-1.amazonaws.com"}}
end
@@ -1830,7 +1830,7 @@ module Aws::S3Control
end
end
- context 'bucket arn with UseArnRegion = true (arn region supercedes client configured region)@us-west-2' do
+ context "bucket arn with UseArnRegion = true (arn region supercedes client configured region)@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -1862,7 +1862,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN in gov partition (non-fips)@us-gov-east-1' do
+ context "bucket ARN in gov partition (non-fips)@us-gov-east-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-gov-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-gov-east-1.amazonaws.com"}}
end
@@ -1894,7 +1894,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN in gov partition with FIPS@us-gov-west-1' do
+ context "bucket ARN in gov partition with FIPS@us-gov-west-1" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-gov-west-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -1927,7 +1927,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN in aws partition with FIPS@us-east-2' do
+ context "bucket ARN in aws partition with FIPS@us-east-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts-fips.us-east-2.amazonaws.com"}}
end
@@ -1960,7 +1960,7 @@ module Aws::S3Control
end
end
- context 'Invalid ARN: missing outpost id and bucket@us-west-2' do
+ context "Invalid ARN: missing outpost id and bucket@us-west-2" do
let(:expected) do
{"error"=>"Invalid ARN: The Outpost Id was not set"}
end
@@ -1973,7 +1973,7 @@ module Aws::S3Control
end
end
- context 'Invalid ARN: missing bucket@us-west-2' do
+ context "Invalid ARN: missing bucket@us-west-2" do
let(:expected) do
{"error"=>"Invalid ARN: Expected a 4-component resource"}
end
@@ -1986,7 +1986,7 @@ module Aws::S3Control
end
end
- context 'Invalid ARN: missing outpost and bucket ids@us-west-2' do
+ context "Invalid ARN: missing outpost and bucket ids@us-west-2" do
let(:expected) do
{"error"=>"Invalid ARN: Expected a 4-component resource"}
end
@@ -1999,7 +1999,7 @@ module Aws::S3Control
end
end
- context 'Invalid ARN: missing bucket id@us-west-2' do
+ context "Invalid ARN: missing bucket id@us-west-2" do
let(:expected) do
{"error"=>"Invalid ARN: expected a bucket name"}
end
@@ -2012,7 +2012,7 @@ module Aws::S3Control
end
end
- context 'account id inserted into hostname@us-west-2' do
+ context "account id inserted into hostname@us-west-2" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://1234567890.s3-control.us-west-2.amazonaws.com"}}
end
@@ -2026,7 +2026,7 @@ module Aws::S3Control
end
end
- context 'account id prefix with dualstack@us-east-1' do
+ context "account id prefix with dualstack@us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://1234567890.s3-control.dualstack.us-east-1.amazonaws.com"}}
end
@@ -2040,7 +2040,7 @@ module Aws::S3Control
end
end
- context 'account id prefix with fips@us-east-1' do
+ context "account id prefix with fips@us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://1234567890.s3-control-fips.us-east-1.amazonaws.com"}}
end
@@ -2054,7 +2054,7 @@ module Aws::S3Control
end
end
- context 'custom account id prefix with fips@us-east-1' do
+ context "custom account id prefix with fips@us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://123456789012.s3-control-fips.us-east-1.amazonaws.com"}}
end
@@ -2068,7 +2068,7 @@ module Aws::S3Control
end
end
- context 'standard url @ us-east-1' do
+ context "standard url @ us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-control.us-east-1.amazonaws.com"}}
end
@@ -2082,7 +2082,7 @@ module Aws::S3Control
end
end
- context 'fips url @ us-east-1' do
+ context "fips url @ us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-control-fips.us-east-1.amazonaws.com"}}
end
@@ -2096,7 +2096,7 @@ module Aws::S3Control
end
end
- context 'dualstack url @ us-east-1' do
+ context "dualstack url @ us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-control.dualstack.us-east-1.amazonaws.com"}}
end
@@ -2110,7 +2110,7 @@ module Aws::S3Control
end
end
- context 'fips,dualstack url @ us-east-1' do
+ context "fips,dualstack url @ us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-control-fips.dualstack.us-east-1.amazonaws.com"}}
end
@@ -2124,7 +2124,7 @@ module Aws::S3Control
end
end
- context 'standard url @ cn-north-1' do
+ context "standard url @ cn-north-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"cn-north-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-control.cn-north-1.amazonaws.com.cn"}}
end
@@ -2138,7 +2138,7 @@ module Aws::S3Control
end
end
- context 'fips @ cn-north-1' do
+ context "fips @ cn-north-1" do
let(:expected) do
{"error"=>"Partition does not support FIPS"}
end
@@ -2151,7 +2151,7 @@ module Aws::S3Control
end
end
- context 'custom account id prefix @us-east-1' do
+ context "custom account id prefix @us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://123456789012.s3-control.us-east-1.amazonaws.com"}}
end
@@ -2180,7 +2180,7 @@ module Aws::S3Control
end
end
- context 'invalid account id prefix @us-east-1' do
+ context "invalid account id prefix @us-east-1" do
let(:expected) do
{"error"=>"AccountId must only contain a-z, A-Z, 0-9 and `-`."}
end
@@ -2205,7 +2205,7 @@ module Aws::S3Control
end
end
- context 'custom account id prefix with fips@us-east-1' do
+ context "custom account id prefix with fips@us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://123456789012.s3-control-fips.us-east-1.amazonaws.com"}}
end
@@ -2235,7 +2235,7 @@ module Aws::S3Control
end
end
- context 'custom account id prefix with dualstack,fips@us-east-1' do
+ context "custom account id prefix with dualstack,fips@us-east-1" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://123456789012.s3-control-fips.dualstack.us-east-1.amazonaws.com"}}
end
@@ -2266,7 +2266,7 @@ module Aws::S3Control
end
end
- context 'custom account id with custom endpoint' do
+ context "custom account id with custom endpoint" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://123456789012.example.com"}}
end
@@ -2296,7 +2296,7 @@ module Aws::S3Control
end
end
- context 'RequiresAccountId with AccountId unset' do
+ context "RequiresAccountId with AccountId unset" do
let(:expected) do
{"error"=>"AccountId is required but not set"}
end
@@ -2309,7 +2309,7 @@ module Aws::S3Control
end
end
- context 'RequiresAccountId with AccountId unset and custom endpoint' do
+ context "RequiresAccountId with AccountId unset and custom endpoint" do
let(:expected) do
{"error"=>"AccountId is required but not set"}
end
@@ -2322,7 +2322,7 @@ module Aws::S3Control
end
end
- context 'RequiresAccountId with invalid AccountId and custom endpoint' do
+ context "RequiresAccountId with invalid AccountId and custom endpoint" do
let(:expected) do
{"error"=>"AccountId must only contain a-z, A-Z, 0-9 and `-`."}
end
@@ -2348,7 +2348,7 @@ module Aws::S3Control
end
end
- context 'account id with custom endpoint, fips' do
+ context "account id with custom endpoint, fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://123456789012.example.com"}}
end
@@ -2379,7 +2379,7 @@ module Aws::S3Control
end
end
- context 'custom endpoint, fips' do
+ context "custom endpoint, fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://example.com"}}
end
@@ -2393,7 +2393,7 @@ module Aws::S3Control
end
end
- context 'custom endpoint, fips' do
+ context "custom endpoint, fips" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://example.com"}}
end
@@ -2407,7 +2407,7 @@ module Aws::S3Control
end
end
- context 'custom endpoint, DualStack' do
+ context "custom endpoint, DualStack" do
let(:expected) do
{"error"=>"Invalid Configuration: DualStack and custom endpoint are not supported"}
end
@@ -2420,7 +2420,7 @@ module Aws::S3Control
end
end
- context 'region not set' do
+ context "region not set" do
let(:expected) do
{"error"=>"Region must be set"}
end
@@ -2433,7 +2433,7 @@ module Aws::S3Control
end
end
- context 'invalid partition' do
+ context "invalid partition" do
let(:expected) do
{"error"=>"Invalid region: region was not a valid DNS name."}
end
@@ -2446,7 +2446,7 @@ module Aws::S3Control
end
end
- context 'ListRegionalBuckets + OutpostId without accountId set.' do
+ context "ListRegionalBuckets + OutpostId without accountId set." do
let(:expected) do
{"error"=>"AccountId is required but not set"}
end
@@ -2459,7 +2459,7 @@ module Aws::S3Control
end
end
- context 'ListRegionalBuckets + OutpostId with invalid accountId set.' do
+ context "ListRegionalBuckets + OutpostId with invalid accountId set." do
let(:expected) do
{"error"=>"AccountId must only contain a-z, A-Z, 0-9 and `-`."}
end
@@ -2485,7 +2485,7 @@ module Aws::S3Control
end
end
- context 'accesspoint set but missing accountId' do
+ context "accesspoint set but missing accountId" do
let(:expected) do
{"error"=>"AccountId is required but not set"}
end
@@ -2498,7 +2498,7 @@ module Aws::S3Control
end
end
- context 'outpost accesspoint ARN with missing accountId' do
+ context "outpost accesspoint ARN with missing accountId" do
let(:expected) do
{"error"=>"Invalid ARN: missing account ID"}
end
@@ -2511,7 +2511,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN with missing accountId' do
+ context "bucket ARN with missing accountId" do
let(:expected) do
{"error"=>"Invalid ARN: missing account ID"}
end
@@ -2524,7 +2524,7 @@ module Aws::S3Control
end
end
- context 'endpoint url with accesspoint (non-arn)' do
+ context "endpoint url with accesspoint (non-arn)" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://123456789012.beta.example.com"}}
end
@@ -2555,7 +2555,7 @@ module Aws::S3Control
end
end
- context 'access point name with an accesspoint arn@us-west-2' do
+ context "access point name with an accesspoint arn@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://beta.example.com"}}
end
@@ -2569,7 +2569,7 @@ module Aws::S3Control
end
end
- context 'DualStack + Custom endpoint is not supported(non-arn)' do
+ context "DualStack + Custom endpoint is not supported(non-arn)" do
let(:expected) do
{"error"=>"Invalid Configuration: DualStack and custom endpoint are not supported"}
end
@@ -2597,7 +2597,7 @@ module Aws::S3Control
end
end
- context 'get bucket with custom endpoint and dualstack is not supported@us-west-2' do
+ context "get bucket with custom endpoint and dualstack is not supported@us-west-2" do
let(:expected) do
{"error"=>"Invalid Configuration: DualStack and custom endpoint are not supported"}
end
@@ -2625,7 +2625,7 @@ module Aws::S3Control
end
end
- context 'ListRegionalBuckets + OutpostId with fips in CN.' do
+ context "ListRegionalBuckets + OutpostId with fips in CN." do
let(:expected) do
{"error"=>"Partition does not support FIPS"}
end
@@ -2652,7 +2652,7 @@ module Aws::S3Control
end
end
- context 'ListRegionalBuckets + invalid OutpostId.' do
+ context "ListRegionalBuckets + invalid OutpostId." do
let(:expected) do
{"error"=>"OutpostId must only contain a-z, A-Z, 0-9 and `-`."}
end
@@ -2678,7 +2678,7 @@ module Aws::S3Control
end
end
- context 'bucket ARN with mismatched accountId' do
+ context "bucket ARN with mismatched accountId" do
let(:expected) do
{"error"=>"Invalid ARN: the accountId specified in the ARN (`999999`) does not match the parameter (`0123456789012`)"}
end
@@ -2691,7 +2691,7 @@ module Aws::S3Control
end
end
- context 'OutpostId with invalid region' do
+ context "OutpostId with invalid region" do
let(:expected) do
{"error"=>"Invalid region: region was not a valid DNS name."}
end
@@ -2704,7 +2704,7 @@ module Aws::S3Control
end
end
- context 'OutpostId with RequireAccountId unset' do
+ context "OutpostId with RequireAccountId unset" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-west-2.amazonaws.com"}}
end
@@ -2718,7 +2718,7 @@ module Aws::S3Control
end
end
- context 'Outpost Accesspoint ARN with arn region and client region mismatch with UseArnRegion=false' do
+ context "Outpost Accesspoint ARN with arn region and client region mismatch with UseArnRegion=false" do
let(:expected) do
{"error"=>"Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"}
end
@@ -2759,7 +2759,7 @@ module Aws::S3Control
end
end
- context 'Outpost Bucket ARN with arn region and client region mismatch with UseArnRegion=false' do
+ context "Outpost Bucket ARN with arn region and client region mismatch with UseArnRegion=false" do
let(:expected) do
{"error"=>"Invalid configuration: region from ARN `us-east-1` does not match client region `us-west-2` and UseArnRegion is `false`"}
end
@@ -2787,7 +2787,7 @@ module Aws::S3Control
end
end
- context 'Accesspoint ARN with region mismatch and UseArnRegion unset' do
+ context "Accesspoint ARN with region mismatch and UseArnRegion unset" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -2837,7 +2837,7 @@ module Aws::S3Control
end
end
- context 'Bucket ARN with region mismatch and UseArnRegion unset' do
+ context "Bucket ARN with region mismatch and UseArnRegion unset" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-east-1", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -2869,7 +2869,7 @@ module Aws::S3Control
end
end
- context 'Outpost Bucket ARN with partition mismatch with UseArnRegion=true' do
+ context "Outpost Bucket ARN with partition mismatch with UseArnRegion=true" do
let(:expected) do
{"error"=>"Client was configured for partition `aws` but ARN has `aws-cn`"}
end
@@ -2896,7 +2896,7 @@ module Aws::S3Control
end
end
- context 'Accesspoint ARN with partition mismatch and UseArnRegion=true' do
+ context "Accesspoint ARN with partition mismatch and UseArnRegion=true" do
let(:expected) do
{"error"=>"Client was configured for partition `aws` but ARN has `aws-cn`"}
end
@@ -2937,7 +2937,7 @@ module Aws::S3Control
end
end
- context 'Accesspoint ARN with region mismatch, UseArnRegion=false and custom endpoint' do
+ context "Accesspoint ARN with region mismatch, UseArnRegion=false and custom endpoint" do
let(:expected) do
{"error"=>"Invalid configuration: region from ARN `cn-north-1` does not match client region `us-west-2` and UseArnRegion is `false`"}
end
@@ -2950,7 +2950,7 @@ module Aws::S3Control
end
end
- context 'outpost bucket arn@us-west-2' do
+ context "outpost bucket arn@us-west-2" do
let(:expected) do
{"endpoint"=>{"headers"=>{"x-amz-account-id"=>["123456789012"], "x-amz-outpost-id"=>["op-01234567890123456"]}, "properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3-outposts", "signingRegion"=>"us-west-2", "disableDoubleEncoding"=>true}]}, "url"=>"https://s3-outposts.us-west-2.amazonaws.com"}}
end
@@ -3001,7 +3001,7 @@ module Aws::S3Control
end
end
- context 'S3 Snow Control with bucket' do
+ context "S3 Snow Control with bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"snow", "disableDoubleEncoding"=>true}]}, "url"=>"https://10.0.1.12:433"}}
end
@@ -3015,7 +3015,7 @@ module Aws::S3Control
end
end
- context 'S3 Snow Control without bucket' do
+ context "S3 Snow Control without bucket" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"snow", "disableDoubleEncoding"=>true}]}, "url"=>"https://10.0.1.12:433"}}
end
@@ -3029,7 +3029,7 @@ module Aws::S3Control
end
end
- context 'S3 Snow Control with bucket and without port' do
+ context "S3 Snow Control with bucket and without port" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"snow", "disableDoubleEncoding"=>true}]}, "url"=>"https://10.0.1.12"}}
end
@@ -3043,7 +3043,7 @@ module Aws::S3Control
end
end
- context 'S3 Snow Control with bucket and with DNS' do
+ context "S3 Snow Control with bucket and with DNS" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"s3", "signingRegion"=>"snow", "disableDoubleEncoding"=>true}]}, "url"=>"http://s3snow.com"}}
end
@@ -3057,7 +3057,7 @@ module Aws::S3Control
end
end
- context 'S3 Snow Control with FIPS enabled' do
+ context "S3 Snow Control with FIPS enabled" do
let(:expected) do
{"error"=>"S3 Snow does not support FIPS"}
end
@@ -3070,7 +3070,7 @@ module Aws::S3Control
end
end
- context 'S3 Snow Control with Dualstack enabled' do
+ context "S3 Snow Control with Dualstack enabled" do
let(:expected) do
{"error"=>"S3 Snow does not support DualStack"}
end
diff --git a/gems/aws-sdk-s3outposts/CHANGELOG.md b/gems/aws-sdk-s3outposts/CHANGELOG.md
index 858c949cf46..ff446d9505e 100644
--- a/gems/aws-sdk-s3outposts/CHANGELOG.md
+++ b/gems/aws-sdk-s3outposts/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.38.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.37.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-s3outposts/VERSION b/gems/aws-sdk-s3outposts/VERSION
index bf50e910e62..ebeef2f2d61 100644
--- a/gems/aws-sdk-s3outposts/VERSION
+++ b/gems/aws-sdk-s3outposts/VERSION
@@ -1 +1 @@
-1.37.0
+1.38.0
diff --git a/gems/aws-sdk-s3outposts/aws-sdk-s3outposts.gemspec b/gems/aws-sdk-s3outposts/aws-sdk-s3outposts.gemspec
index 911fe04e846..87743114ab0 100644
--- a/gems/aws-sdk-s3outposts/aws-sdk-s3outposts.gemspec
+++ b/gems/aws-sdk-s3outposts/aws-sdk-s3outposts.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-s3outposts/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts.rb b/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts.rb
index 9cb8c22dd17..984431e3125 100644
--- a/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts.rb
+++ b/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::S3Outposts
- GEM_VERSION = '1.37.0'
+ GEM_VERSION = '1.38.0'
end
diff --git a/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/client.rb b/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/client.rb
index 7bf84dce31a..e354772546b 100644
--- a/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/client.rb
+++ b/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/client.rb
@@ -752,7 +752,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-s3outposts'
- context[:gem_version] = '1.37.0'
+ context[:gem_version] = '1.38.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/endpoints.rb b/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/endpoints.rb
index 8e5786c8401..75fcc770b8c 100644
--- a/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/endpoints.rb
+++ b/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/endpoints.rb
@@ -14,70 +14,55 @@ module Endpoints
class CreateEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOutpostsWithS3
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSharedEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::S3Outposts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/plugins/endpoints.rb b/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/plugins/endpoints.rb
index 40ab195f7c4..dc124332afd 100644
--- a/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/plugins/endpoints.rb
+++ b/gems/aws-sdk-s3outposts/lib/aws-sdk-s3outposts/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-s3outposts/spec/endpoint_provider_spec.rb b/gems/aws-sdk-s3outposts/spec/endpoint_provider_spec.rb
index fc3e01d0751..9b483fed357 100644
--- a/gems/aws-sdk-s3outposts/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-s3outposts/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::S3Outposts
describe EndpointProvider do
subject { Aws::S3Outposts::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::S3Outposts
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::S3Outposts
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::S3Outposts
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::S3Outposts
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::S3Outposts
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::S3Outposts
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::S3Outposts
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::S3Outposts
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::S3Outposts
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::S3Outposts
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::S3Outposts
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::S3Outposts
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::S3Outposts
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::S3Outposts
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::S3Outposts
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::S3Outposts
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts-fips.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts-fips.us-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::S3Outposts
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::S3Outposts
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::S3Outposts
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::S3Outposts
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts-fips.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -475,7 +475,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -489,7 +489,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -502,7 +502,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.us-iso-east-1.c2s.ic.gov"}}
end
@@ -516,7 +516,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -529,7 +529,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -543,7 +543,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -556,7 +556,7 @@ module Aws::S3Outposts
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://s3-outposts.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -570,7 +570,7 @@ module Aws::S3Outposts
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::S3Outposts
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::S3Outposts
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -611,7 +611,7 @@ module Aws::S3Outposts
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -624,7 +624,7 @@ module Aws::S3Outposts
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-sagemaker/CHANGELOG.md b/gems/aws-sdk-sagemaker/CHANGELOG.md
index 32435574d82..51fb81a05aa 100644
--- a/gems/aws-sdk-sagemaker/CHANGELOG.md
+++ b/gems/aws-sdk-sagemaker/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.263.0 (2024-09-19)
+------------------
+
+* Feature - Introduced support for G6e instance types on SageMaker Studio for JupyterLab and CodeEditor applications.
+
+1.262.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.261.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-sagemaker/VERSION b/gems/aws-sdk-sagemaker/VERSION
index b97b56e7e3f..53f6590c652 100644
--- a/gems/aws-sdk-sagemaker/VERSION
+++ b/gems/aws-sdk-sagemaker/VERSION
@@ -1 +1 @@
-1.261.0
+1.263.0
diff --git a/gems/aws-sdk-sagemaker/aws-sdk-sagemaker.gemspec b/gems/aws-sdk-sagemaker/aws-sdk-sagemaker.gemspec
index fc1dd526991..da5f6b9c62e 100644
--- a/gems/aws-sdk-sagemaker/aws-sdk-sagemaker.gemspec
+++ b/gems/aws-sdk-sagemaker/aws-sdk-sagemaker.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemaker/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb
index c014a161a62..d4acea99bc7 100644
--- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb
+++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::SageMaker
- GEM_VERSION = '1.261.0'
+ GEM_VERSION = '1.263.0'
end
diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb
index a43ce499b92..315d92d907f 100644
--- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb
+++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/client.rb
@@ -1131,7 +1131,7 @@ def create_algorithm(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# })
@@ -2609,7 +2609,7 @@ def create_device_fleet(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# lifecycle_config_arns: ["StudioLifecycleConfigArn"],
@@ -2624,7 +2624,7 @@ def create_device_fleet(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -2641,7 +2641,7 @@ def create_device_fleet(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# },
@@ -2654,7 +2654,7 @@ def create_device_fleet(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -2704,7 +2704,7 @@ def create_device_fleet(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -2729,7 +2729,7 @@ def create_device_fleet(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -2794,7 +2794,7 @@ def create_device_fleet(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# },
@@ -2828,7 +2828,7 @@ def create_device_fleet(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# lifecycle_config_arns: ["StudioLifecycleConfigArn"],
@@ -2843,7 +2843,7 @@ def create_device_fleet(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -2860,7 +2860,7 @@ def create_device_fleet(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -8250,7 +8250,7 @@ def create_project(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# lifecycle_config_arns: ["StudioLifecycleConfigArn"],
@@ -8265,7 +8265,7 @@ def create_project(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -8282,7 +8282,7 @@ def create_project(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# app_lifecycle_management: {
@@ -8296,7 +8296,7 @@ def create_project(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# code_repositories: [
@@ -9388,7 +9388,7 @@ def create_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# lifecycle_config_arns: ["StudioLifecycleConfigArn"],
@@ -9403,7 +9403,7 @@ def create_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -9420,7 +9420,7 @@ def create_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# },
@@ -9433,7 +9433,7 @@ def create_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -9483,7 +9483,7 @@ def create_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -9508,7 +9508,7 @@ def create_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -11614,7 +11614,7 @@ def describe_algorithm(params = {}, options = {})
# resp.resource_spec.sage_maker_image_arn #=> String
# resp.resource_spec.sage_maker_image_version_arn #=> String
# resp.resource_spec.sage_maker_image_version_alias #=> String
- # resp.resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.resource_spec.lifecycle_config_arn #=> String
#
# @see http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp AWS API Documentation
@@ -12621,7 +12621,7 @@ def describe_device_fleet(params = {}, options = {})
# resp.default_user_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.default_user_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.default_user_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.default_user_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.default_user_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.default_user_settings.jupyter_server_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.default_user_settings.jupyter_server_app_settings.lifecycle_config_arns #=> Array
# resp.default_user_settings.jupyter_server_app_settings.lifecycle_config_arns[0] #=> String
@@ -12630,7 +12630,7 @@ def describe_device_fleet(params = {}, options = {})
# resp.default_user_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.default_user_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.default_user_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.default_user_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.default_user_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.default_user_settings.kernel_gateway_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.default_user_settings.kernel_gateway_app_settings.custom_images #=> Array
# resp.default_user_settings.kernel_gateway_app_settings.custom_images[0].image_name #=> String
@@ -12641,14 +12641,14 @@ def describe_device_fleet(params = {}, options = {})
# resp.default_user_settings.tensor_board_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.default_user_settings.tensor_board_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.default_user_settings.tensor_board_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.default_user_settings.tensor_board_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.default_user_settings.tensor_board_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.default_user_settings.tensor_board_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.default_user_settings.r_studio_server_pro_app_settings.access_status #=> String, one of "ENABLED", "DISABLED"
# resp.default_user_settings.r_studio_server_pro_app_settings.user_group #=> String, one of "R_STUDIO_ADMIN", "R_STUDIO_USER"
# resp.default_user_settings.r_session_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.default_user_settings.r_session_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.default_user_settings.r_session_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.default_user_settings.r_session_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.default_user_settings.r_session_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.default_user_settings.r_session_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.default_user_settings.r_session_app_settings.custom_images #=> Array
# resp.default_user_settings.r_session_app_settings.custom_images[0].image_name #=> String
@@ -12672,7 +12672,7 @@ def describe_device_fleet(params = {}, options = {})
# resp.default_user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.default_user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.default_user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.default_user_settings.code_editor_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.default_user_settings.code_editor_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.default_user_settings.code_editor_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.default_user_settings.code_editor_app_settings.custom_images #=> Array
# resp.default_user_settings.code_editor_app_settings.custom_images[0].image_name #=> String
@@ -12687,7 +12687,7 @@ def describe_device_fleet(params = {}, options = {})
# resp.default_user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.default_user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.default_user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.default_user_settings.jupyter_lab_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.default_user_settings.jupyter_lab_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.default_user_settings.jupyter_lab_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.default_user_settings.jupyter_lab_app_settings.custom_images #=> Array
# resp.default_user_settings.jupyter_lab_app_settings.custom_images[0].image_name #=> String
@@ -12727,7 +12727,7 @@ def describe_device_fleet(params = {}, options = {})
# resp.domain_settings.r_studio_server_pro_domain_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.domain_settings.r_studio_server_pro_domain_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.domain_settings.r_studio_server_pro_domain_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.domain_settings.r_studio_server_pro_domain_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.domain_settings.r_studio_server_pro_domain_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.domain_settings.r_studio_server_pro_domain_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.domain_settings.execution_role_identity_config #=> String, one of "USER_PROFILE_NAME", "DISABLED"
# resp.domain_settings.docker_settings.enable_docker_access #=> String, one of "ENABLED", "DISABLED"
@@ -12749,7 +12749,7 @@ def describe_device_fleet(params = {}, options = {})
# resp.default_space_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.default_space_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.default_space_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.default_space_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.default_space_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.default_space_settings.jupyter_server_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.default_space_settings.jupyter_server_app_settings.lifecycle_config_arns #=> Array
# resp.default_space_settings.jupyter_server_app_settings.lifecycle_config_arns[0] #=> String
@@ -12758,7 +12758,7 @@ def describe_device_fleet(params = {}, options = {})
# resp.default_space_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.default_space_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.default_space_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.default_space_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.default_space_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.default_space_settings.kernel_gateway_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.default_space_settings.kernel_gateway_app_settings.custom_images #=> Array
# resp.default_space_settings.kernel_gateway_app_settings.custom_images[0].image_name #=> String
@@ -12769,7 +12769,7 @@ def describe_device_fleet(params = {}, options = {})
# resp.default_space_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.default_space_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.default_space_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.default_space_settings.jupyter_lab_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.default_space_settings.jupyter_lab_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.default_space_settings.jupyter_lab_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.default_space_settings.jupyter_lab_app_settings.custom_images #=> Array
# resp.default_space_settings.jupyter_lab_app_settings.custom_images[0].image_name #=> String
@@ -16084,7 +16084,7 @@ def describe_project(params = {}, options = {})
# resp.space_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.space_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.space_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.space_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.space_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.space_settings.jupyter_server_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.space_settings.jupyter_server_app_settings.lifecycle_config_arns #=> Array
# resp.space_settings.jupyter_server_app_settings.lifecycle_config_arns[0] #=> String
@@ -16093,7 +16093,7 @@ def describe_project(params = {}, options = {})
# resp.space_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.space_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.space_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.space_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.space_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.space_settings.kernel_gateway_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.space_settings.kernel_gateway_app_settings.custom_images #=> Array
# resp.space_settings.kernel_gateway_app_settings.custom_images[0].image_name #=> String
@@ -16104,13 +16104,13 @@ def describe_project(params = {}, options = {})
# resp.space_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.space_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.space_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.space_settings.code_editor_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.space_settings.code_editor_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.space_settings.code_editor_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.space_settings.code_editor_app_settings.app_lifecycle_management.idle_settings.idle_timeout_in_minutes #=> Integer
# resp.space_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.space_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.space_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.space_settings.jupyter_lab_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.space_settings.jupyter_lab_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.space_settings.jupyter_lab_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.space_settings.jupyter_lab_app_settings.code_repositories #=> Array
# resp.space_settings.jupyter_lab_app_settings.code_repositories[0].repository_url #=> String
@@ -16723,7 +16723,7 @@ def describe_trial_component(params = {}, options = {})
# resp.user_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.user_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.user_settings.jupyter_server_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.user_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.user_settings.jupyter_server_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.user_settings.jupyter_server_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.user_settings.jupyter_server_app_settings.lifecycle_config_arns #=> Array
# resp.user_settings.jupyter_server_app_settings.lifecycle_config_arns[0] #=> String
@@ -16732,7 +16732,7 @@ def describe_trial_component(params = {}, options = {})
# resp.user_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.user_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.user_settings.kernel_gateway_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.user_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.user_settings.kernel_gateway_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.user_settings.kernel_gateway_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.user_settings.kernel_gateway_app_settings.custom_images #=> Array
# resp.user_settings.kernel_gateway_app_settings.custom_images[0].image_name #=> String
@@ -16743,14 +16743,14 @@ def describe_trial_component(params = {}, options = {})
# resp.user_settings.tensor_board_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.user_settings.tensor_board_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.user_settings.tensor_board_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.user_settings.tensor_board_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.user_settings.tensor_board_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.user_settings.tensor_board_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.user_settings.r_studio_server_pro_app_settings.access_status #=> String, one of "ENABLED", "DISABLED"
# resp.user_settings.r_studio_server_pro_app_settings.user_group #=> String, one of "R_STUDIO_ADMIN", "R_STUDIO_USER"
# resp.user_settings.r_session_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.user_settings.r_session_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.user_settings.r_session_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.user_settings.r_session_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.user_settings.r_session_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.user_settings.r_session_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.user_settings.r_session_app_settings.custom_images #=> Array
# resp.user_settings.r_session_app_settings.custom_images[0].image_name #=> String
@@ -16774,7 +16774,7 @@ def describe_trial_component(params = {}, options = {})
# resp.user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.user_settings.code_editor_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.user_settings.code_editor_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.user_settings.code_editor_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.user_settings.code_editor_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.user_settings.code_editor_app_settings.custom_images #=> Array
# resp.user_settings.code_editor_app_settings.custom_images[0].image_name #=> String
@@ -16789,7 +16789,7 @@ def describe_trial_component(params = {}, options = {})
# resp.user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_arn #=> String
# resp.user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_arn #=> String
# resp.user_settings.jupyter_lab_app_settings.default_resource_spec.sage_maker_image_version_alias #=> String
- # resp.user_settings.jupyter_lab_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.user_settings.jupyter_lab_app_settings.default_resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.user_settings.jupyter_lab_app_settings.default_resource_spec.lifecycle_config_arn #=> String
# resp.user_settings.jupyter_lab_app_settings.custom_images #=> Array
# resp.user_settings.jupyter_lab_app_settings.custom_images[0].image_name #=> String
@@ -17723,7 +17723,7 @@ def list_app_image_configs(params = {}, options = {})
# resp.apps[0].resource_spec.sage_maker_image_arn #=> String
# resp.apps[0].resource_spec.sage_maker_image_version_arn #=> String
# resp.apps[0].resource_spec.sage_maker_image_version_alias #=> String
- # resp.apps[0].resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
+ # resp.apps[0].resource_spec.instance_type #=> String, one of "system", "ml.t3.micro", "ml.t3.small", "ml.t3.medium", "ml.t3.large", "ml.t3.xlarge", "ml.t3.2xlarge", "ml.m5.large", "ml.m5.xlarge", "ml.m5.2xlarge", "ml.m5.4xlarge", "ml.m5.8xlarge", "ml.m5.12xlarge", "ml.m5.16xlarge", "ml.m5.24xlarge", "ml.m5d.large", "ml.m5d.xlarge", "ml.m5d.2xlarge", "ml.m5d.4xlarge", "ml.m5d.8xlarge", "ml.m5d.12xlarge", "ml.m5d.16xlarge", "ml.m5d.24xlarge", "ml.c5.large", "ml.c5.xlarge", "ml.c5.2xlarge", "ml.c5.4xlarge", "ml.c5.9xlarge", "ml.c5.12xlarge", "ml.c5.18xlarge", "ml.c5.24xlarge", "ml.p3.2xlarge", "ml.p3.8xlarge", "ml.p3.16xlarge", "ml.p3dn.24xlarge", "ml.g4dn.xlarge", "ml.g4dn.2xlarge", "ml.g4dn.4xlarge", "ml.g4dn.8xlarge", "ml.g4dn.12xlarge", "ml.g4dn.16xlarge", "ml.r5.large", "ml.r5.xlarge", "ml.r5.2xlarge", "ml.r5.4xlarge", "ml.r5.8xlarge", "ml.r5.12xlarge", "ml.r5.16xlarge", "ml.r5.24xlarge", "ml.g5.xlarge", "ml.g5.2xlarge", "ml.g5.4xlarge", "ml.g5.8xlarge", "ml.g5.16xlarge", "ml.g5.12xlarge", "ml.g5.24xlarge", "ml.g5.48xlarge", "ml.g6.xlarge", "ml.g6.2xlarge", "ml.g6.4xlarge", "ml.g6.8xlarge", "ml.g6.12xlarge", "ml.g6.16xlarge", "ml.g6.24xlarge", "ml.g6.48xlarge", "ml.g6e.xlarge", "ml.g6e.2xlarge", "ml.g6e.4xlarge", "ml.g6e.8xlarge", "ml.g6e.12xlarge", "ml.g6e.16xlarge", "ml.g6e.24xlarge", "ml.g6e.48xlarge", "ml.geospatial.interactive", "ml.p4d.24xlarge", "ml.p4de.24xlarge", "ml.trn1.2xlarge", "ml.trn1.32xlarge", "ml.trn1n.32xlarge", "ml.p5.48xlarge", "ml.m6i.large", "ml.m6i.xlarge", "ml.m6i.2xlarge", "ml.m6i.4xlarge", "ml.m6i.8xlarge", "ml.m6i.12xlarge", "ml.m6i.16xlarge", "ml.m6i.24xlarge", "ml.m6i.32xlarge", "ml.m7i.large", "ml.m7i.xlarge", "ml.m7i.2xlarge", "ml.m7i.4xlarge", "ml.m7i.8xlarge", "ml.m7i.12xlarge", "ml.m7i.16xlarge", "ml.m7i.24xlarge", "ml.m7i.48xlarge", "ml.c6i.large", "ml.c6i.xlarge", "ml.c6i.2xlarge", "ml.c6i.4xlarge", "ml.c6i.8xlarge", "ml.c6i.12xlarge", "ml.c6i.16xlarge", "ml.c6i.24xlarge", "ml.c6i.32xlarge", "ml.c7i.large", "ml.c7i.xlarge", "ml.c7i.2xlarge", "ml.c7i.4xlarge", "ml.c7i.8xlarge", "ml.c7i.12xlarge", "ml.c7i.16xlarge", "ml.c7i.24xlarge", "ml.c7i.48xlarge", "ml.r6i.large", "ml.r6i.xlarge", "ml.r6i.2xlarge", "ml.r6i.4xlarge", "ml.r6i.8xlarge", "ml.r6i.12xlarge", "ml.r6i.16xlarge", "ml.r6i.24xlarge", "ml.r6i.32xlarge", "ml.r7i.large", "ml.r7i.xlarge", "ml.r7i.2xlarge", "ml.r7i.4xlarge", "ml.r7i.8xlarge", "ml.r7i.12xlarge", "ml.r7i.16xlarge", "ml.r7i.24xlarge", "ml.r7i.48xlarge", "ml.m6id.large", "ml.m6id.xlarge", "ml.m6id.2xlarge", "ml.m6id.4xlarge", "ml.m6id.8xlarge", "ml.m6id.12xlarge", "ml.m6id.16xlarge", "ml.m6id.24xlarge", "ml.m6id.32xlarge", "ml.c6id.large", "ml.c6id.xlarge", "ml.c6id.2xlarge", "ml.c6id.4xlarge", "ml.c6id.8xlarge", "ml.c6id.12xlarge", "ml.c6id.16xlarge", "ml.c6id.24xlarge", "ml.c6id.32xlarge", "ml.r6id.large", "ml.r6id.xlarge", "ml.r6id.2xlarge", "ml.r6id.4xlarge", "ml.r6id.8xlarge", "ml.r6id.12xlarge", "ml.r6id.16xlarge", "ml.r6id.24xlarge", "ml.r6id.32xlarge"
# resp.apps[0].resource_spec.lifecycle_config_arn #=> String
# resp.next_token #=> String
#
@@ -25062,7 +25062,7 @@ def update_devices(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# lifecycle_config_arns: ["StudioLifecycleConfigArn"],
@@ -25077,7 +25077,7 @@ def update_devices(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -25094,7 +25094,7 @@ def update_devices(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# },
@@ -25107,7 +25107,7 @@ def update_devices(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -25157,7 +25157,7 @@ def update_devices(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -25182,7 +25182,7 @@ def update_devices(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -25244,7 +25244,7 @@ def update_devices(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# r_studio_connect_url: "String",
@@ -25270,7 +25270,7 @@ def update_devices(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# lifecycle_config_arns: ["StudioLifecycleConfigArn"],
@@ -25285,7 +25285,7 @@ def update_devices(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -25302,7 +25302,7 @@ def update_devices(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -26982,7 +26982,7 @@ def update_project(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# lifecycle_config_arns: ["StudioLifecycleConfigArn"],
@@ -26997,7 +26997,7 @@ def update_project(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -27014,7 +27014,7 @@ def update_project(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# app_lifecycle_management: {
@@ -27028,7 +27028,7 @@ def update_project(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# code_repositories: [
@@ -27316,7 +27316,7 @@ def update_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# lifecycle_config_arns: ["StudioLifecycleConfigArn"],
@@ -27331,7 +27331,7 @@ def update_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -27348,7 +27348,7 @@ def update_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# },
@@ -27361,7 +27361,7 @@ def update_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -27411,7 +27411,7 @@ def update_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -27436,7 +27436,7 @@ def update_trial_component(params = {}, options = {})
# sage_maker_image_arn: "ImageArn",
# sage_maker_image_version_arn: "ImageVersionArn",
# sage_maker_image_version_alias: "ImageVersionAlias",
- # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
+ # instance_type: "system", # accepts system, ml.t3.micro, ml.t3.small, ml.t3.medium, ml.t3.large, ml.t3.xlarge, ml.t3.2xlarge, ml.m5.large, ml.m5.xlarge, ml.m5.2xlarge, ml.m5.4xlarge, ml.m5.8xlarge, ml.m5.12xlarge, ml.m5.16xlarge, ml.m5.24xlarge, ml.m5d.large, ml.m5d.xlarge, ml.m5d.2xlarge, ml.m5d.4xlarge, ml.m5d.8xlarge, ml.m5d.12xlarge, ml.m5d.16xlarge, ml.m5d.24xlarge, ml.c5.large, ml.c5.xlarge, ml.c5.2xlarge, ml.c5.4xlarge, ml.c5.9xlarge, ml.c5.12xlarge, ml.c5.18xlarge, ml.c5.24xlarge, ml.p3.2xlarge, ml.p3.8xlarge, ml.p3.16xlarge, ml.p3dn.24xlarge, ml.g4dn.xlarge, ml.g4dn.2xlarge, ml.g4dn.4xlarge, ml.g4dn.8xlarge, ml.g4dn.12xlarge, ml.g4dn.16xlarge, ml.r5.large, ml.r5.xlarge, ml.r5.2xlarge, ml.r5.4xlarge, ml.r5.8xlarge, ml.r5.12xlarge, ml.r5.16xlarge, ml.r5.24xlarge, ml.g5.xlarge, ml.g5.2xlarge, ml.g5.4xlarge, ml.g5.8xlarge, ml.g5.16xlarge, ml.g5.12xlarge, ml.g5.24xlarge, ml.g5.48xlarge, ml.g6.xlarge, ml.g6.2xlarge, ml.g6.4xlarge, ml.g6.8xlarge, ml.g6.12xlarge, ml.g6.16xlarge, ml.g6.24xlarge, ml.g6.48xlarge, ml.g6e.xlarge, ml.g6e.2xlarge, ml.g6e.4xlarge, ml.g6e.8xlarge, ml.g6e.12xlarge, ml.g6e.16xlarge, ml.g6e.24xlarge, ml.g6e.48xlarge, ml.geospatial.interactive, ml.p4d.24xlarge, ml.p4de.24xlarge, ml.trn1.2xlarge, ml.trn1.32xlarge, ml.trn1n.32xlarge, ml.p5.48xlarge, ml.m6i.large, ml.m6i.xlarge, ml.m6i.2xlarge, ml.m6i.4xlarge, ml.m6i.8xlarge, ml.m6i.12xlarge, ml.m6i.16xlarge, ml.m6i.24xlarge, ml.m6i.32xlarge, ml.m7i.large, ml.m7i.xlarge, ml.m7i.2xlarge, ml.m7i.4xlarge, ml.m7i.8xlarge, ml.m7i.12xlarge, ml.m7i.16xlarge, ml.m7i.24xlarge, ml.m7i.48xlarge, ml.c6i.large, ml.c6i.xlarge, ml.c6i.2xlarge, ml.c6i.4xlarge, ml.c6i.8xlarge, ml.c6i.12xlarge, ml.c6i.16xlarge, ml.c6i.24xlarge, ml.c6i.32xlarge, ml.c7i.large, ml.c7i.xlarge, ml.c7i.2xlarge, ml.c7i.4xlarge, ml.c7i.8xlarge, ml.c7i.12xlarge, ml.c7i.16xlarge, ml.c7i.24xlarge, ml.c7i.48xlarge, ml.r6i.large, ml.r6i.xlarge, ml.r6i.2xlarge, ml.r6i.4xlarge, ml.r6i.8xlarge, ml.r6i.12xlarge, ml.r6i.16xlarge, ml.r6i.24xlarge, ml.r6i.32xlarge, ml.r7i.large, ml.r7i.xlarge, ml.r7i.2xlarge, ml.r7i.4xlarge, ml.r7i.8xlarge, ml.r7i.12xlarge, ml.r7i.16xlarge, ml.r7i.24xlarge, ml.r7i.48xlarge, ml.m6id.large, ml.m6id.xlarge, ml.m6id.2xlarge, ml.m6id.4xlarge, ml.m6id.8xlarge, ml.m6id.12xlarge, ml.m6id.16xlarge, ml.m6id.24xlarge, ml.m6id.32xlarge, ml.c6id.large, ml.c6id.xlarge, ml.c6id.2xlarge, ml.c6id.4xlarge, ml.c6id.8xlarge, ml.c6id.12xlarge, ml.c6id.16xlarge, ml.c6id.24xlarge, ml.c6id.32xlarge, ml.r6id.large, ml.r6id.xlarge, ml.r6id.2xlarge, ml.r6id.4xlarge, ml.r6id.8xlarge, ml.r6id.12xlarge, ml.r6id.16xlarge, ml.r6id.24xlarge, ml.r6id.32xlarge
# lifecycle_config_arn: "StudioLifecycleConfigArn",
# },
# custom_images: [
@@ -27774,7 +27774,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-sagemaker'
- context[:gem_version] = '1.261.0'
+ context[:gem_version] = '1.263.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/endpoints.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/endpoints.rb
index afe7c14397b..91ac06c7a2f 100644
--- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/endpoints.rb
+++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/endpoints.rb
@@ -14,4690 +14,3685 @@ module Endpoints
class AddAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateTrialComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDescribeModelPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAlgorithm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAppImageConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAutoMLJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAutoMLJobV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCodeRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCompilationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContext
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataQualityJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeviceFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEdgeDeploymentPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEdgeDeploymentStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEdgePackagingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEndpointConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFeatureGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFlowDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHub
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHubContentReference
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHumanTaskUi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateHyperParameterTuningJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateImageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInferenceComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInferenceExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInferenceRecommendationsJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLabelingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMlflowTrackingServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelBiasJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelCard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelCardExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelExplainabilityJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelPackageGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateModelQualityJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMonitoringSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNotebookInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNotebookInstanceLifecycleConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOptimizationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePresignedDomainUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePresignedMlflowTrackingServerUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePresignedNotebookInstanceUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProcessingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSpace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStudioLifecycleConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrainingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTransformJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrial
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrialComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkforce
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkteam
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAlgorithm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppImageConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCodeRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCompilationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContext
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataQualityJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDeviceFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEdgeDeploymentPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEdgeDeploymentStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEndpointConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFeatureGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFlowDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHub
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHubContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHubContentReference
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHumanTaskUi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHyperParameterTuningJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInferenceComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInferenceExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMlflowTrackingServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModelBiasJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModelCard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModelExplainabilityJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModelPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModelPackageGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModelPackageGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteModelQualityJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMonitoringSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNotebookInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNotebookInstanceLifecycleConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOptimizationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSpace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStudioLifecycleConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrial
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrialComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkforce
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkteam
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAlgorithm
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAppImageConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAutoMLJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAutoMLJobV2
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClusterNode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCodeRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCompilationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeContext
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDataQualityJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDeviceFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEdgeDeploymentPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEdgePackagingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpointConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFeatureGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFeatureMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFlowDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHub
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHubContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHumanTaskUi
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHyperParameterTuningJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInferenceComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInferenceExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInferenceRecommendationsJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLabelingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLineageGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMlflowTrackingServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModelBiasJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModelCard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModelCardExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModelExplainabilityJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModelPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModelPackageGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeModelQualityJobDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMonitoringSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNotebookInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNotebookInstanceLifecycleConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOptimizationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePipelineDefinitionForExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePipelineExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProcessingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSpace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStudioLifecycleConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSubscribedWorkteam
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrainingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTransformJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrial
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrialComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkforce
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkteam
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableSagemakerServicecatalogPortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateTrialComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableSagemakerServicecatalogPortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeviceFleetReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLineageGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetModelPackageGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSagemakerServicecatalogPortfolioStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetScalingConfigurationRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSearchSuggestions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportHubContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAlgorithms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAppImageConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListArtifacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAutoMLJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCandidatesForAutoMLJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusterNodes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCodeRepositories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCompilationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContexts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataQualityJobDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeviceFleets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEdgeDeploymentPlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEdgePackagingJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEndpointConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExperiments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFeatureGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFlowDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHubContentVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHubContents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHubs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHumanTaskUis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHyperParameterTuningJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImageVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInferenceComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInferenceExperiments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInferenceRecommendationsJobSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInferenceRecommendationsJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLabelingJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLabelingJobsForWorkteam
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLineageGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMlflowTrackingServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelBiasJobDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelCardExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelCardVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelCards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelExplainabilityJobDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelPackageGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelPackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModelQualityJobDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMonitoringAlertHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMonitoringAlerts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMonitoringExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMonitoringSchedules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNotebookInstanceLifecycleConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNotebookInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOptimizationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipelineExecutionSteps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipelineExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipelineParametersForExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPipelines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProcessingJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProjects
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceCatalogs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSpaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStageDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStudioLifecycleConfigs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscribedWorkteams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrainingJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrainingJobsForHyperParameterTuningJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTransformJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrialComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkforces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkteams
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutModelPackageGroupPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class QueryLineage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RenderUiTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetryPipelineExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Search
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendPipelineExecutionStepFailure
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendPipelineExecutionStepSuccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartEdgeDeploymentStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartInferenceExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMlflowTrackingServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMonitoringSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartNotebookInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartPipelineExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopAutoMLJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopCompilationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopEdgeDeploymentStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopEdgePackagingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopHyperParameterTuningJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopInferenceExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopInferenceRecommendationsJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopLabelingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopMlflowTrackingServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopMonitoringSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopNotebookInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopOptimizationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopPipelineExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopProcessingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopTrainingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopTransformJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAppImageConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateClusterSoftware
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCodeRepository
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContext
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeviceFleet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEndpointWeightsAndCapacities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFeatureGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFeatureMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateHub
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateImageVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInferenceComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInferenceComponentRuntimeConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInferenceExperiment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMlflowTrackingServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateModelCard
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateModelPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMonitoringAlert
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMonitoringSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNotebookInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNotebookInstanceLifecycleConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePipeline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePipelineExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProject
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSpace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrainingJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrial
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrialComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkforce
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkteam
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMaker::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/plugins/endpoints.rb b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/plugins/endpoints.rb
index 75bb640b884..70d6c56ffab 100644
--- a/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/plugins/endpoints.rb
+++ b/gems/aws-sdk-sagemaker/lib/aws-sdk-sagemaker/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-sagemaker/sig/client.rbs b/gems/aws-sdk-sagemaker/sig/client.rbs
index 66d2d994915..8779f2c147f 100644
--- a/gems/aws-sdk-sagemaker/sig/client.rbs
+++ b/gems/aws-sdk-sagemaker/sig/client.rbs
@@ -384,7 +384,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}
) -> _CreateAppResponseSuccess
@@ -970,7 +970,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
lifecycle_config_arns: Array[::String]?,
@@ -985,7 +985,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -1002,7 +1002,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?
}?,
@@ -1015,7 +1015,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -1065,7 +1065,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -1090,7 +1090,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -1155,7 +1155,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?
}?,
@@ -1189,7 +1189,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
lifecycle_config_arns: Array[::String]?,
@@ -1204,7 +1204,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -1221,7 +1221,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -3627,7 +3627,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
lifecycle_config_arns: Array[::String]?,
@@ -3642,7 +3642,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -3659,7 +3659,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
app_lifecycle_management: {
@@ -3673,7 +3673,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
code_repositories: Array[
@@ -4048,7 +4048,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
lifecycle_config_arns: Array[::String]?,
@@ -4063,7 +4063,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -4080,7 +4080,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?
}?,
@@ -4093,7 +4093,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -4143,7 +4143,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -4168,7 +4168,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -8176,7 +8176,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
lifecycle_config_arns: Array[::String]?,
@@ -8191,7 +8191,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -8208,7 +8208,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?
}?,
@@ -8221,7 +8221,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -8271,7 +8271,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -8296,7 +8296,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -8358,7 +8358,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
r_studio_connect_url: ::String?,
@@ -8384,7 +8384,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
lifecycle_config_arns: Array[::String]?,
@@ -8399,7 +8399,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -8416,7 +8416,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -9115,7 +9115,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
lifecycle_config_arns: Array[::String]?,
@@ -9130,7 +9130,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -9147,7 +9147,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
app_lifecycle_management: {
@@ -9161,7 +9161,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
code_repositories: Array[
@@ -9290,7 +9290,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
lifecycle_config_arns: Array[::String]?,
@@ -9305,7 +9305,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -9322,7 +9322,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?
}?,
@@ -9335,7 +9335,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -9385,7 +9385,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
@@ -9410,7 +9410,7 @@ module Aws
sage_maker_image_arn: ::String?,
sage_maker_image_version_arn: ::String?,
sage_maker_image_version_alias: ::String?,
- instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
+ instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")?,
lifecycle_config_arn: ::String?
}?,
custom_images: Array[
diff --git a/gems/aws-sdk-sagemaker/sig/types.rbs b/gems/aws-sdk-sagemaker/sig/types.rbs
index 888ea2dca99..14f0364e3c1 100644
--- a/gems/aws-sdk-sagemaker/sig/types.rbs
+++ b/gems/aws-sdk-sagemaker/sig/types.rbs
@@ -8289,7 +8289,7 @@ module Aws::SageMaker
attr_accessor sage_maker_image_arn: ::String
attr_accessor sage_maker_image_version_arn: ::String
attr_accessor sage_maker_image_version_alias: ::String
- attr_accessor instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")
+ attr_accessor instance_type: ("system" | "ml.t3.micro" | "ml.t3.small" | "ml.t3.medium" | "ml.t3.large" | "ml.t3.xlarge" | "ml.t3.2xlarge" | "ml.m5.large" | "ml.m5.xlarge" | "ml.m5.2xlarge" | "ml.m5.4xlarge" | "ml.m5.8xlarge" | "ml.m5.12xlarge" | "ml.m5.16xlarge" | "ml.m5.24xlarge" | "ml.m5d.large" | "ml.m5d.xlarge" | "ml.m5d.2xlarge" | "ml.m5d.4xlarge" | "ml.m5d.8xlarge" | "ml.m5d.12xlarge" | "ml.m5d.16xlarge" | "ml.m5d.24xlarge" | "ml.c5.large" | "ml.c5.xlarge" | "ml.c5.2xlarge" | "ml.c5.4xlarge" | "ml.c5.9xlarge" | "ml.c5.12xlarge" | "ml.c5.18xlarge" | "ml.c5.24xlarge" | "ml.p3.2xlarge" | "ml.p3.8xlarge" | "ml.p3.16xlarge" | "ml.p3dn.24xlarge" | "ml.g4dn.xlarge" | "ml.g4dn.2xlarge" | "ml.g4dn.4xlarge" | "ml.g4dn.8xlarge" | "ml.g4dn.12xlarge" | "ml.g4dn.16xlarge" | "ml.r5.large" | "ml.r5.xlarge" | "ml.r5.2xlarge" | "ml.r5.4xlarge" | "ml.r5.8xlarge" | "ml.r5.12xlarge" | "ml.r5.16xlarge" | "ml.r5.24xlarge" | "ml.g5.xlarge" | "ml.g5.2xlarge" | "ml.g5.4xlarge" | "ml.g5.8xlarge" | "ml.g5.16xlarge" | "ml.g5.12xlarge" | "ml.g5.24xlarge" | "ml.g5.48xlarge" | "ml.g6.xlarge" | "ml.g6.2xlarge" | "ml.g6.4xlarge" | "ml.g6.8xlarge" | "ml.g6.12xlarge" | "ml.g6.16xlarge" | "ml.g6.24xlarge" | "ml.g6.48xlarge" | "ml.g6e.xlarge" | "ml.g6e.2xlarge" | "ml.g6e.4xlarge" | "ml.g6e.8xlarge" | "ml.g6e.12xlarge" | "ml.g6e.16xlarge" | "ml.g6e.24xlarge" | "ml.g6e.48xlarge" | "ml.geospatial.interactive" | "ml.p4d.24xlarge" | "ml.p4de.24xlarge" | "ml.trn1.2xlarge" | "ml.trn1.32xlarge" | "ml.trn1n.32xlarge" | "ml.p5.48xlarge" | "ml.m6i.large" | "ml.m6i.xlarge" | "ml.m6i.2xlarge" | "ml.m6i.4xlarge" | "ml.m6i.8xlarge" | "ml.m6i.12xlarge" | "ml.m6i.16xlarge" | "ml.m6i.24xlarge" | "ml.m6i.32xlarge" | "ml.m7i.large" | "ml.m7i.xlarge" | "ml.m7i.2xlarge" | "ml.m7i.4xlarge" | "ml.m7i.8xlarge" | "ml.m7i.12xlarge" | "ml.m7i.16xlarge" | "ml.m7i.24xlarge" | "ml.m7i.48xlarge" | "ml.c6i.large" | "ml.c6i.xlarge" | "ml.c6i.2xlarge" | "ml.c6i.4xlarge" | "ml.c6i.8xlarge" | "ml.c6i.12xlarge" | "ml.c6i.16xlarge" | "ml.c6i.24xlarge" | "ml.c6i.32xlarge" | "ml.c7i.large" | "ml.c7i.xlarge" | "ml.c7i.2xlarge" | "ml.c7i.4xlarge" | "ml.c7i.8xlarge" | "ml.c7i.12xlarge" | "ml.c7i.16xlarge" | "ml.c7i.24xlarge" | "ml.c7i.48xlarge" | "ml.r6i.large" | "ml.r6i.xlarge" | "ml.r6i.2xlarge" | "ml.r6i.4xlarge" | "ml.r6i.8xlarge" | "ml.r6i.12xlarge" | "ml.r6i.16xlarge" | "ml.r6i.24xlarge" | "ml.r6i.32xlarge" | "ml.r7i.large" | "ml.r7i.xlarge" | "ml.r7i.2xlarge" | "ml.r7i.4xlarge" | "ml.r7i.8xlarge" | "ml.r7i.12xlarge" | "ml.r7i.16xlarge" | "ml.r7i.24xlarge" | "ml.r7i.48xlarge" | "ml.m6id.large" | "ml.m6id.xlarge" | "ml.m6id.2xlarge" | "ml.m6id.4xlarge" | "ml.m6id.8xlarge" | "ml.m6id.12xlarge" | "ml.m6id.16xlarge" | "ml.m6id.24xlarge" | "ml.m6id.32xlarge" | "ml.c6id.large" | "ml.c6id.xlarge" | "ml.c6id.2xlarge" | "ml.c6id.4xlarge" | "ml.c6id.8xlarge" | "ml.c6id.12xlarge" | "ml.c6id.16xlarge" | "ml.c6id.24xlarge" | "ml.c6id.32xlarge" | "ml.r6id.large" | "ml.r6id.xlarge" | "ml.r6id.2xlarge" | "ml.r6id.4xlarge" | "ml.r6id.8xlarge" | "ml.r6id.12xlarge" | "ml.r6id.16xlarge" | "ml.r6id.24xlarge" | "ml.r6id.32xlarge")
attr_accessor lifecycle_config_arn: ::String
SENSITIVE: []
end
diff --git a/gems/aws-sdk-sagemaker/spec/endpoint_provider_spec.rb b/gems/aws-sdk-sagemaker/spec/endpoint_provider_spec.rb
index a28a518af64..f8c25d5d5f6 100644
--- a/gems/aws-sdk-sagemaker/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-sagemaker/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SageMaker
describe EndpointProvider do
subject { Aws::SageMaker::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SageMaker
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SageMaker
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SageMaker
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SageMaker
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SageMaker
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SageMaker
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SageMaker
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SageMaker
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SageMaker
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SageMaker
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SageMaker
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SageMaker
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SageMaker
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SageMaker
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SageMaker
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SageMaker
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SageMaker
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SageMaker
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api-fips.sagemaker.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SageMaker
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::SageMaker
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api-fips.sagemaker.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SageMaker
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::SageMaker
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api-fips.sagemaker.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::SageMaker
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-west-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::SageMaker
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api-fips.sagemaker.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::SageMaker
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker-fips.us-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::SageMaker
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::SageMaker
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::SageMaker
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::SageMaker
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::SageMaker
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::SageMaker
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::SageMaker
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::SageMaker
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::SageMaker
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker-fips.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::SageMaker
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::SageMaker
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::SageMaker
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-gov-east-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::SageMaker
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-iso-east-1.c2s.ic.gov"}}
end
@@ -560,7 +560,7 @@ module Aws::SageMaker
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::SageMaker
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::SageMaker
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::SageMaker
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::SageMaker
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::SageMaker
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::SageMaker
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://api.sagemaker.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -654,7 +654,7 @@ module Aws::SageMaker
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::SageMaker
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::SageMaker
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -695,7 +695,7 @@ module Aws::SageMaker
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -708,7 +708,7 @@ module Aws::SageMaker
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-sagemakeredgemanager/CHANGELOG.md b/gems/aws-sdk-sagemakeredgemanager/CHANGELOG.md
index 1a33ff0f37d..2254f1a8a73 100644
--- a/gems/aws-sdk-sagemakeredgemanager/CHANGELOG.md
+++ b/gems/aws-sdk-sagemakeredgemanager/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.34.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.33.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-sagemakeredgemanager/VERSION b/gems/aws-sdk-sagemakeredgemanager/VERSION
index 7aa332e4163..2b17ffd5042 100644
--- a/gems/aws-sdk-sagemakeredgemanager/VERSION
+++ b/gems/aws-sdk-sagemakeredgemanager/VERSION
@@ -1 +1 @@
-1.33.0
+1.34.0
diff --git a/gems/aws-sdk-sagemakeredgemanager/aws-sdk-sagemakeredgemanager.gemspec b/gems/aws-sdk-sagemakeredgemanager/aws-sdk-sagemakeredgemanager.gemspec
index 3ad92b9eee4..81b9b742873 100644
--- a/gems/aws-sdk-sagemakeredgemanager/aws-sdk-sagemakeredgemanager.gemspec
+++ b/gems/aws-sdk-sagemakeredgemanager/aws-sdk-sagemakeredgemanager.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemakeredgemanager/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager.rb b/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager.rb
index d8bc376faeb..6009f44a496 100644
--- a/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager.rb
+++ b/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SagemakerEdgeManager
- GEM_VERSION = '1.33.0'
+ GEM_VERSION = '1.34.0'
end
diff --git a/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/client.rb b/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/client.rb
index 1114da10dbc..b3609f7f374 100644
--- a/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/client.rb
+++ b/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/client.rb
@@ -622,7 +622,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-sagemakeredgemanager'
- context[:gem_version] = '1.33.0'
+ context[:gem_version] = '1.34.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/endpoints.rb b/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/endpoints.rb
index 103ebe5f875..3ac22b29722 100644
--- a/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/endpoints.rb
+++ b/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/endpoints.rb
@@ -14,42 +14,33 @@ module Endpoints
class GetDeployments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SagemakerEdgeManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeviceRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SagemakerEdgeManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendHeartbeat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SagemakerEdgeManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/plugins/endpoints.rb b/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/plugins/endpoints.rb
index 1a612376aa9..33dcb42cf80 100644
--- a/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/plugins/endpoints.rb
+++ b/gems/aws-sdk-sagemakeredgemanager/lib/aws-sdk-sagemakeredgemanager/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-sagemakeredgemanager/spec/endpoint_provider_spec.rb b/gems/aws-sdk-sagemakeredgemanager/spec/endpoint_provider_spec.rb
index 0ea53803b85..eae255d6001 100644
--- a/gems/aws-sdk-sagemakeredgemanager/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-sagemakeredgemanager/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SagemakerEdgeManager
describe EndpointProvider do
subject { Aws::SagemakerEdgeManager::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.eu-central-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.eu-west-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.us-east-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.us-west-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker-fips.us-east-1.api.aws"}}
end
@@ -112,7 +112,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker-fips.us-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.cn-north-1.amazonaws.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker-fips.us-gov-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.us-gov-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.us-gov-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -265,7 +265,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -279,7 +279,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -292,7 +292,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.us-iso-east-1.c2s.ic.gov"}}
end
@@ -306,7 +306,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -319,7 +319,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -333,7 +333,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -346,7 +346,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://edge.sagemaker.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -360,7 +360,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -374,7 +374,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -401,7 +401,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -414,7 +414,7 @@ module Aws::SagemakerEdgeManager
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-sagemakerfeaturestoreruntime/CHANGELOG.md b/gems/aws-sdk-sagemakerfeaturestoreruntime/CHANGELOG.md
index 7c4fa5bf335..8bcdf1142ad 100644
--- a/gems/aws-sdk-sagemakerfeaturestoreruntime/CHANGELOG.md
+++ b/gems/aws-sdk-sagemakerfeaturestoreruntime/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.39.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.38.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-sagemakerfeaturestoreruntime/VERSION b/gems/aws-sdk-sagemakerfeaturestoreruntime/VERSION
index ebeef2f2d61..5edffce6d57 100644
--- a/gems/aws-sdk-sagemakerfeaturestoreruntime/VERSION
+++ b/gems/aws-sdk-sagemakerfeaturestoreruntime/VERSION
@@ -1 +1 @@
-1.38.0
+1.39.0
diff --git a/gems/aws-sdk-sagemakerfeaturestoreruntime/aws-sdk-sagemakerfeaturestoreruntime.gemspec b/gems/aws-sdk-sagemakerfeaturestoreruntime/aws-sdk-sagemakerfeaturestoreruntime.gemspec
index af29b229a06..66c11b8178e 100644
--- a/gems/aws-sdk-sagemakerfeaturestoreruntime/aws-sdk-sagemakerfeaturestoreruntime.gemspec
+++ b/gems/aws-sdk-sagemakerfeaturestoreruntime/aws-sdk-sagemakerfeaturestoreruntime.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemakerfeaturestoreruntime/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime.rb b/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime.rb
index cca43e9c196..45e1cff32f2 100644
--- a/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime.rb
+++ b/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SageMakerFeatureStoreRuntime
- GEM_VERSION = '1.38.0'
+ GEM_VERSION = '1.39.0'
end
diff --git a/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/client.rb b/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/client.rb
index e70e79ba374..aac75398bb7 100644
--- a/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/client.rb
+++ b/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/client.rb
@@ -733,7 +733,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-sagemakerfeaturestoreruntime'
- context[:gem_version] = '1.38.0'
+ context[:gem_version] = '1.39.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/endpoints.rb b/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/endpoints.rb
index cb66a0fb157..02b01f73ca7 100644
--- a/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/endpoints.rb
+++ b/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/endpoints.rb
@@ -14,56 +14,44 @@ module Endpoints
class BatchGetRecord
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerFeatureStoreRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRecord
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerFeatureStoreRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecord
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerFeatureStoreRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRecord
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerFeatureStoreRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/plugins/endpoints.rb b/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/plugins/endpoints.rb
index 84857c294ec..dcb118cbfc3 100644
--- a/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/plugins/endpoints.rb
+++ b/gems/aws-sdk-sagemakerfeaturestoreruntime/lib/aws-sdk-sagemakerfeaturestoreruntime/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-sagemakerfeaturestoreruntime/spec/endpoint_provider_spec.rb b/gems/aws-sdk-sagemakerfeaturestoreruntime/spec/endpoint_provider_spec.rb
index 1ad100a77fa..1f75d58153c 100644
--- a/gems/aws-sdk-sagemakerfeaturestoreruntime/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-sagemakerfeaturestoreruntime/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SageMakerFeatureStoreRuntime
describe EndpointProvider do
subject { Aws::SageMakerFeatureStoreRuntime::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://featurestore-runtime.sagemaker.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::SageMakerFeatureStoreRuntime
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-sagemakergeospatial/CHANGELOG.md b/gems/aws-sdk-sagemakergeospatial/CHANGELOG.md
index 0b5f9c59d71..f0c9f38d202 100644
--- a/gems/aws-sdk-sagemakergeospatial/CHANGELOG.md
+++ b/gems/aws-sdk-sagemakergeospatial/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.22.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.21.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-sagemakergeospatial/VERSION b/gems/aws-sdk-sagemakergeospatial/VERSION
index 3500250a4b0..57807d6d0d0 100644
--- a/gems/aws-sdk-sagemakergeospatial/VERSION
+++ b/gems/aws-sdk-sagemakergeospatial/VERSION
@@ -1 +1 @@
-1.21.0
+1.22.0
diff --git a/gems/aws-sdk-sagemakergeospatial/aws-sdk-sagemakergeospatial.gemspec b/gems/aws-sdk-sagemakergeospatial/aws-sdk-sagemakergeospatial.gemspec
index f48d6fdfe40..d2d2c17f5d1 100644
--- a/gems/aws-sdk-sagemakergeospatial/aws-sdk-sagemakergeospatial.gemspec
+++ b/gems/aws-sdk-sagemakergeospatial/aws-sdk-sagemakergeospatial.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemakergeospatial/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial.rb b/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial.rb
index 979e19b6d3a..6d575044966 100644
--- a/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial.rb
+++ b/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SageMakerGeospatial
- GEM_VERSION = '1.21.0'
+ GEM_VERSION = '1.22.0'
end
diff --git a/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/client.rb b/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/client.rb
index fda833254c6..a05fa01ea20 100644
--- a/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/client.rb
+++ b/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/client.rb
@@ -1731,7 +1731,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-sagemakergeospatial'
- context[:gem_version] = '1.21.0'
+ context[:gem_version] = '1.22.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/endpoints.rb b/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/endpoints.rb
index b8b2e6a626f..a09893fbcfa 100644
--- a/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/endpoints.rb
+++ b/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/endpoints.rb
@@ -14,266 +14,209 @@ module Endpoints
class DeleteEarthObservationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVectorEnrichmentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportEarthObservationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportVectorEnrichmentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEarthObservationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRasterDataCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVectorEnrichmentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEarthObservationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRasterDataCollections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVectorEnrichmentJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchRasterDataCollection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartEarthObservationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartVectorEnrichmentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopEarthObservationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopVectorEnrichmentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerGeospatial::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/plugins/endpoints.rb b/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/plugins/endpoints.rb
index ed5bcc6db84..9237f7b1c0f 100644
--- a/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/plugins/endpoints.rb
+++ b/gems/aws-sdk-sagemakergeospatial/lib/aws-sdk-sagemakergeospatial/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-sagemakergeospatial/spec/endpoint_provider_spec.rb b/gems/aws-sdk-sagemakergeospatial/spec/endpoint_provider_spec.rb
index f5c4af4a915..3ef4affef44 100644
--- a/gems/aws-sdk-sagemakergeospatial/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-sagemakergeospatial/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SageMakerGeospatial
describe EndpointProvider do
subject { Aws::SageMakerGeospatial::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sagemaker-geospatial.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::SageMakerGeospatial
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-sagemakermetrics/CHANGELOG.md b/gems/aws-sdk-sagemakermetrics/CHANGELOG.md
index 82e1ab38894..bf5f64620be 100644
--- a/gems/aws-sdk-sagemakermetrics/CHANGELOG.md
+++ b/gems/aws-sdk-sagemakermetrics/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.22.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.21.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-sagemakermetrics/VERSION b/gems/aws-sdk-sagemakermetrics/VERSION
index 3500250a4b0..57807d6d0d0 100644
--- a/gems/aws-sdk-sagemakermetrics/VERSION
+++ b/gems/aws-sdk-sagemakermetrics/VERSION
@@ -1 +1 @@
-1.21.0
+1.22.0
diff --git a/gems/aws-sdk-sagemakermetrics/aws-sdk-sagemakermetrics.gemspec b/gems/aws-sdk-sagemakermetrics/aws-sdk-sagemakermetrics.gemspec
index 3c65822efb4..c98ba025e24 100644
--- a/gems/aws-sdk-sagemakermetrics/aws-sdk-sagemakermetrics.gemspec
+++ b/gems/aws-sdk-sagemakermetrics/aws-sdk-sagemakermetrics.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemakermetrics/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics.rb b/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics.rb
index ce4f05e794b..dbbddfb9fea 100644
--- a/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics.rb
+++ b/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SageMakerMetrics
- GEM_VERSION = '1.21.0'
+ GEM_VERSION = '1.22.0'
end
diff --git a/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/client.rb b/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/client.rb
index 85313118a6e..11d86eea4d6 100644
--- a/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/client.rb
+++ b/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/client.rb
@@ -504,7 +504,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-sagemakermetrics'
- context[:gem_version] = '1.21.0'
+ context[:gem_version] = '1.22.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/endpoints.rb b/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/endpoints.rb
index 2f6cd039535..db1a8cfc0c5 100644
--- a/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/endpoints.rb
+++ b/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/endpoints.rb
@@ -14,14 +14,11 @@ module Endpoints
class BatchPutMetrics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerMetrics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/plugins/endpoints.rb b/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/plugins/endpoints.rb
index 9d038f737c8..c8d44f72330 100644
--- a/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/plugins/endpoints.rb
+++ b/gems/aws-sdk-sagemakermetrics/lib/aws-sdk-sagemakermetrics/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-sagemakermetrics/spec/endpoint_provider_spec.rb b/gems/aws-sdk-sagemakermetrics/spec/endpoint_provider_spec.rb
index bab48a4428d..22ba3f3a695 100644
--- a/gems/aws-sdk-sagemakermetrics/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-sagemakermetrics/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SageMakerMetrics
describe EndpointProvider do
subject { Aws::SageMakerMetrics::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://metrics.sagemaker.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::SageMakerMetrics
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::SageMakerMetrics
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-sagemakerruntime/CHANGELOG.md b/gems/aws-sdk-sagemakerruntime/CHANGELOG.md
index 5db63097250..6bdc4522872 100644
--- a/gems/aws-sdk-sagemakerruntime/CHANGELOG.md
+++ b/gems/aws-sdk-sagemakerruntime/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.72.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.71.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-sagemakerruntime/VERSION b/gems/aws-sdk-sagemakerruntime/VERSION
index df484cbb1d9..0834888f558 100644
--- a/gems/aws-sdk-sagemakerruntime/VERSION
+++ b/gems/aws-sdk-sagemakerruntime/VERSION
@@ -1 +1 @@
-1.71.0
+1.72.0
diff --git a/gems/aws-sdk-sagemakerruntime/aws-sdk-sagemakerruntime.gemspec b/gems/aws-sdk-sagemakerruntime/aws-sdk-sagemakerruntime.gemspec
index 9e646e6fd4f..ca7d9183625 100644
--- a/gems/aws-sdk-sagemakerruntime/aws-sdk-sagemakerruntime.gemspec
+++ b/gems/aws-sdk-sagemakerruntime/aws-sdk-sagemakerruntime.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sagemakerruntime/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime.rb b/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime.rb
index 451b6bccb8d..83534e01405 100644
--- a/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime.rb
+++ b/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::SageMakerRuntime
- GEM_VERSION = '1.71.0'
+ GEM_VERSION = '1.72.0'
end
diff --git a/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/client.rb b/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/client.rb
index e35a94c9b33..2791e05bf02 100644
--- a/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/client.rb
+++ b/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/client.rb
@@ -1069,7 +1069,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-sagemakerruntime'
- context[:gem_version] = '1.71.0'
+ context[:gem_version] = '1.72.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/endpoints.rb b/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/endpoints.rb
index 6238b80d2f1..e3feba45ffa 100644
--- a/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/endpoints.rb
+++ b/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/endpoints.rb
@@ -14,42 +14,33 @@ module Endpoints
class InvokeEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InvokeEndpointAsync
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InvokeEndpointWithResponseStream
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SageMakerRuntime::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/plugins/endpoints.rb b/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/plugins/endpoints.rb
index 9ff2dd5d2eb..623b7276480 100644
--- a/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/plugins/endpoints.rb
+++ b/gems/aws-sdk-sagemakerruntime/lib/aws-sdk-sagemakerruntime/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-sagemakerruntime/spec/endpoint_provider_spec.rb b/gems/aws-sdk-sagemakerruntime/spec/endpoint_provider_spec.rb
index 6f4a121142c..6eeafe4da82 100644
--- a/gems/aws-sdk-sagemakerruntime/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-sagemakerruntime/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SageMakerRuntime
describe EndpointProvider do
subject { Aws::SageMakerRuntime::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-fips.sagemaker.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-fips.sagemaker.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-fips.sagemaker.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-west-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime-fips.sagemaker.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker-fips.us-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker-fips.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-gov-east-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-iso-east-1.c2s.ic.gov"}}
end
@@ -560,7 +560,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://runtime.sagemaker.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -654,7 +654,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -695,7 +695,7 @@ module Aws::SageMakerRuntime
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -708,7 +708,7 @@ module Aws::SageMakerRuntime
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-savingsplans/CHANGELOG.md b/gems/aws-sdk-savingsplans/CHANGELOG.md
index 77ad02a1949..86284a2d697 100644
--- a/gems/aws-sdk-savingsplans/CHANGELOG.md
+++ b/gems/aws-sdk-savingsplans/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.49.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.48.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-savingsplans/VERSION b/gems/aws-sdk-savingsplans/VERSION
index 9db5ea12f52..7f3a46a841e 100644
--- a/gems/aws-sdk-savingsplans/VERSION
+++ b/gems/aws-sdk-savingsplans/VERSION
@@ -1 +1 @@
-1.48.0
+1.49.0
diff --git a/gems/aws-sdk-savingsplans/aws-sdk-savingsplans.gemspec b/gems/aws-sdk-savingsplans/aws-sdk-savingsplans.gemspec
index c373283df33..6039f71efb9 100644
--- a/gems/aws-sdk-savingsplans/aws-sdk-savingsplans.gemspec
+++ b/gems/aws-sdk-savingsplans/aws-sdk-savingsplans.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-savingsplans/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans.rb b/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans.rb
index 5fe13b6fed4..079f96235a5 100644
--- a/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans.rb
+++ b/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SavingsPlans
- GEM_VERSION = '1.48.0'
+ GEM_VERSION = '1.49.0'
end
diff --git a/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/client.rb b/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/client.rb
index 05f997ad8cd..d9801b31f30 100644
--- a/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/client.rb
+++ b/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/client.rb
@@ -990,7 +990,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-savingsplans'
- context[:gem_version] = '1.48.0'
+ context[:gem_version] = '1.49.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/endpoints.rb b/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/endpoints.rb
index d280fa602a8..beb5e98f616 100644
--- a/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/endpoints.rb
+++ b/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/endpoints.rb
@@ -14,140 +14,110 @@ module Endpoints
class CreateSavingsPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SavingsPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueuedSavingsPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SavingsPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSavingsPlanRates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SavingsPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSavingsPlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SavingsPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSavingsPlansOfferingRates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SavingsPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSavingsPlansOfferings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SavingsPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SavingsPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReturnSavingsPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SavingsPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SavingsPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SavingsPlans::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/plugins/endpoints.rb b/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/plugins/endpoints.rb
index ef4236a50c1..1d91538c1ec 100644
--- a/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/plugins/endpoints.rb
+++ b/gems/aws-sdk-savingsplans/lib/aws-sdk-savingsplans/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-savingsplans/spec/endpoint_provider_spec.rb b/gems/aws-sdk-savingsplans/spec/endpoint_provider_spec.rb
index 064cf4bce68..957c7a16c88 100644
--- a/gems/aws-sdk-savingsplans/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-savingsplans/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SavingsPlans
describe EndpointProvider do
subject { Aws::SavingsPlans::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"savingsplans", "signingRegion"=>"us-east-1"}]}, "url"=>"https://savingsplans.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"savingsplans", "signingRegion"=>"us-east-1"}]}, "url"=>"https://savingsplans.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SavingsPlans
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SavingsPlans
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SavingsPlans
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SavingsPlans
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans.cn-north-1.amazonaws.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans-fips.us-gov-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans.us-gov-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans.us-gov-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -209,7 +209,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -223,7 +223,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -236,7 +236,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans.us-iso-east-1.c2s.ic.gov"}}
end
@@ -250,7 +250,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -263,7 +263,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -277,7 +277,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -290,7 +290,7 @@ module Aws::SavingsPlans
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://savingsplans.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -304,7 +304,7 @@ module Aws::SavingsPlans
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SavingsPlans
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::SavingsPlans
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -345,7 +345,7 @@ module Aws::SavingsPlans
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -358,7 +358,7 @@ module Aws::SavingsPlans
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-scheduler/CHANGELOG.md b/gems/aws-sdk-scheduler/CHANGELOG.md
index bfb2dfe5b9f..ee4fd8672fa 100644
--- a/gems/aws-sdk-scheduler/CHANGELOG.md
+++ b/gems/aws-sdk-scheduler/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.22.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.21.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-scheduler/VERSION b/gems/aws-sdk-scheduler/VERSION
index 3500250a4b0..57807d6d0d0 100644
--- a/gems/aws-sdk-scheduler/VERSION
+++ b/gems/aws-sdk-scheduler/VERSION
@@ -1 +1 @@
-1.21.0
+1.22.0
diff --git a/gems/aws-sdk-scheduler/aws-sdk-scheduler.gemspec b/gems/aws-sdk-scheduler/aws-sdk-scheduler.gemspec
index aa3051b9188..4290bc728fc 100644
--- a/gems/aws-sdk-scheduler/aws-sdk-scheduler.gemspec
+++ b/gems/aws-sdk-scheduler/aws-sdk-scheduler.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-scheduler/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler.rb b/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler.rb
index 2f7a1909aff..d2581ff6190 100644
--- a/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler.rb
+++ b/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Scheduler
- GEM_VERSION = '1.21.0'
+ GEM_VERSION = '1.22.0'
end
diff --git a/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/client.rb b/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/client.rb
index bfb77b64640..7bfff01849f 100644
--- a/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/client.rb
+++ b/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/client.rb
@@ -1332,7 +1332,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-scheduler'
- context[:gem_version] = '1.21.0'
+ context[:gem_version] = '1.22.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/endpoints.rb b/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/endpoints.rb
index 00b730747a8..00bdd7409eb 100644
--- a/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/endpoints.rb
+++ b/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/endpoints.rb
@@ -14,168 +14,132 @@ module Endpoints
class CreateSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateScheduleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScheduleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetScheduleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListScheduleGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchedules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Scheduler::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/plugins/endpoints.rb b/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/plugins/endpoints.rb
index e6f25e8796d..109336c9b6a 100644
--- a/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/plugins/endpoints.rb
+++ b/gems/aws-sdk-scheduler/lib/aws-sdk-scheduler/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-scheduler/spec/endpoint_provider_spec.rb b/gems/aws-sdk-scheduler/spec/endpoint_provider_spec.rb
index 71b2d5eb53f..823470c239e 100644
--- a/gems/aws-sdk-scheduler/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-scheduler/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Scheduler
describe EndpointProvider do
subject { Aws::Scheduler::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Scheduler
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Scheduler
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Scheduler
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Scheduler
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Scheduler
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Scheduler
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Scheduler
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Scheduler
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Scheduler
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Scheduler
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Scheduler
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Scheduler
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Scheduler
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Scheduler
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Scheduler
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Scheduler
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Scheduler
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Scheduler
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Scheduler
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scheduler.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Scheduler
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Scheduler
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Scheduler
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Scheduler
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Scheduler
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-schemas/CHANGELOG.md b/gems/aws-sdk-schemas/CHANGELOG.md
index d4741634cdd..da901b57fff 100644
--- a/gems/aws-sdk-schemas/CHANGELOG.md
+++ b/gems/aws-sdk-schemas/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.44.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.43.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-schemas/VERSION b/gems/aws-sdk-schemas/VERSION
index b978278f05f..372cf402c73 100644
--- a/gems/aws-sdk-schemas/VERSION
+++ b/gems/aws-sdk-schemas/VERSION
@@ -1 +1 @@
-1.43.0
+1.44.0
diff --git a/gems/aws-sdk-schemas/aws-sdk-schemas.gemspec b/gems/aws-sdk-schemas/aws-sdk-schemas.gemspec
index 5fb8d376d38..18dd24d77e8 100644
--- a/gems/aws-sdk-schemas/aws-sdk-schemas.gemspec
+++ b/gems/aws-sdk-schemas/aws-sdk-schemas.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-schemas/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-schemas/lib/aws-sdk-schemas.rb b/gems/aws-sdk-schemas/lib/aws-sdk-schemas.rb
index cef3a43eaba..d2027e1eba8 100644
--- a/gems/aws-sdk-schemas/lib/aws-sdk-schemas.rb
+++ b/gems/aws-sdk-schemas/lib/aws-sdk-schemas.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Schemas
- GEM_VERSION = '1.43.0'
+ GEM_VERSION = '1.44.0'
end
diff --git a/gems/aws-sdk-schemas/lib/aws-sdk-schemas/client.rb b/gems/aws-sdk-schemas/lib/aws-sdk-schemas/client.rb
index 6f0de2f564f..0d935a4381c 100644
--- a/gems/aws-sdk-schemas/lib/aws-sdk-schemas/client.rb
+++ b/gems/aws-sdk-schemas/lib/aws-sdk-schemas/client.rb
@@ -1635,7 +1635,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-schemas'
- context[:gem_version] = '1.43.0'
+ context[:gem_version] = '1.44.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-schemas/lib/aws-sdk-schemas/endpoints.rb b/gems/aws-sdk-schemas/lib/aws-sdk-schemas/endpoints.rb
index 8d7d426af2d..962b3bd33a6 100644
--- a/gems/aws-sdk-schemas/lib/aws-sdk-schemas/endpoints.rb
+++ b/gems/aws-sdk-schemas/lib/aws-sdk-schemas/endpoints.rb
@@ -14,434 +14,341 @@ module Endpoints
class CreateDiscoverer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRegistry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDiscoverer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegistry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSchemaVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCodeBinding
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDiscoverer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRegistry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCodeBindingSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDiscoveredSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDiscoverers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRegistries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchemaVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSchemas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutCodeBinding
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchSchemas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDiscoverer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopDiscoverer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDiscoverer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRegistry
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Schemas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-schemas/lib/aws-sdk-schemas/plugins/endpoints.rb b/gems/aws-sdk-schemas/lib/aws-sdk-schemas/plugins/endpoints.rb
index a83a7c5907c..2b6a11f1682 100644
--- a/gems/aws-sdk-schemas/lib/aws-sdk-schemas/plugins/endpoints.rb
+++ b/gems/aws-sdk-schemas/lib/aws-sdk-schemas/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-schemas/spec/endpoint_provider_spec.rb b/gems/aws-sdk-schemas/spec/endpoint_provider_spec.rb
index c31f4859508..bd6afa83513 100644
--- a/gems/aws-sdk-schemas/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-schemas/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Schemas
describe EndpointProvider do
subject { Aws::Schemas::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Schemas
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Schemas
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Schemas
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Schemas
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Schemas
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Schemas
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Schemas
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Schemas
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Schemas
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Schemas
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Schemas
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Schemas
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.sa-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Schemas
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Schemas
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.us-east-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Schemas
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.us-west-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Schemas
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.us-west-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Schemas
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas-fips.us-east-1.api.aws"}}
end
@@ -266,7 +266,7 @@ module Aws::Schemas
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas-fips.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Schemas
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::Schemas
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::Schemas
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::Schemas
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::Schemas
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::Schemas
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas-fips.us-gov-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::Schemas
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Schemas
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.us-gov-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Schemas
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.us-gov-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::Schemas
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -419,7 +419,7 @@ module Aws::Schemas
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -433,7 +433,7 @@ module Aws::Schemas
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -446,7 +446,7 @@ module Aws::Schemas
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.us-iso-east-1.c2s.ic.gov"}}
end
@@ -460,7 +460,7 @@ module Aws::Schemas
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -473,7 +473,7 @@ module Aws::Schemas
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -487,7 +487,7 @@ module Aws::Schemas
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -500,7 +500,7 @@ module Aws::Schemas
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://schemas.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -514,7 +514,7 @@ module Aws::Schemas
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::Schemas
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -542,7 +542,7 @@ module Aws::Schemas
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -555,7 +555,7 @@ module Aws::Schemas
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -568,7 +568,7 @@ module Aws::Schemas
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-secretsmanager/CHANGELOG.md b/gems/aws-sdk-secretsmanager/CHANGELOG.md
index a32c76e4255..d1845e67e3f 100644
--- a/gems/aws-sdk-secretsmanager/CHANGELOG.md
+++ b/gems/aws-sdk-secretsmanager/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.105.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.104.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-secretsmanager/VERSION b/gems/aws-sdk-secretsmanager/VERSION
index 9f0b4661158..e38c0a0f75c 100644
--- a/gems/aws-sdk-secretsmanager/VERSION
+++ b/gems/aws-sdk-secretsmanager/VERSION
@@ -1 +1 @@
-1.104.0
+1.105.0
diff --git a/gems/aws-sdk-secretsmanager/aws-sdk-secretsmanager.gemspec b/gems/aws-sdk-secretsmanager/aws-sdk-secretsmanager.gemspec
index 71404e45a42..38be56b02f1 100644
--- a/gems/aws-sdk-secretsmanager/aws-sdk-secretsmanager.gemspec
+++ b/gems/aws-sdk-secretsmanager/aws-sdk-secretsmanager.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-secretsmanager/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager.rb b/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager.rb
index 83746561a63..8fa03c980bf 100644
--- a/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager.rb
+++ b/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SecretsManager
- GEM_VERSION = '1.104.0'
+ GEM_VERSION = '1.105.0'
end
diff --git a/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/client.rb b/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/client.rb
index 1c0e273ff2f..6493e92174c 100644
--- a/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/client.rb
+++ b/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/client.rb
@@ -3391,7 +3391,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-secretsmanager'
- context[:gem_version] = '1.104.0'
+ context[:gem_version] = '1.105.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/endpoints.rb b/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/endpoints.rb
index a11c2a94eca..5919ad17bf1 100644
--- a/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/endpoints.rb
+++ b/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/endpoints.rb
@@ -14,322 +14,253 @@ module Endpoints
class BatchGetSecretValue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelRotateSecret
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSecret
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSecret
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSecret
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRandomPassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSecretValue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecretVersionIds
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecrets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSecretValue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveRegionsFromReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReplicateSecretToRegions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreSecret
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RotateSecret
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopReplicationToReplica
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSecret
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSecretVersionStage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecretsManager::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/plugins/endpoints.rb b/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/plugins/endpoints.rb
index 094c9daad2f..c6ccfc6585a 100644
--- a/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/plugins/endpoints.rb
+++ b/gems/aws-sdk-secretsmanager/lib/aws-sdk-secretsmanager/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-secretsmanager/spec/endpoint_provider_spec.rb b/gems/aws-sdk-secretsmanager/spec/endpoint_provider_spec.rb
index 4f78556a1ab..e91df7e1e26 100644
--- a/gems/aws-sdk-secretsmanager/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-secretsmanager/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SecretsManager
describe EndpointProvider do
subject { Aws::SecretsManager::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SecretsManager
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SecretsManager
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SecretsManager
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SecretsManager
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SecretsManager
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SecretsManager
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SecretsManager
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SecretsManager
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SecretsManager
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SecretsManager
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SecretsManager
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SecretsManager
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SecretsManager
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SecretsManager
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SecretsManager
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SecretsManager
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SecretsManager
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SecretsManager
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.us-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.us-east-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::SecretsManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::SecretsManager
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::SecretsManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::SecretsManager
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::SecretsManager
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.cn-north-1.amazonaws.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -560,7 +560,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.us-gov-east-1.amazonaws.com"}}
end
@@ -574,7 +574,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.us-iso-east-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -641,7 +641,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -655,7 +655,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -668,7 +668,7 @@ module Aws::SecretsManager
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://secretsmanager.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -682,7 +682,7 @@ module Aws::SecretsManager
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::SecretsManager
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::SecretsManager
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::SecretsManager
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::SecretsManager
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-securityhub/CHANGELOG.md b/gems/aws-sdk-securityhub/CHANGELOG.md
index f8c798aafc1..698431d5321 100644
--- a/gems/aws-sdk-securityhub/CHANGELOG.md
+++ b/gems/aws-sdk-securityhub/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.117.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.116.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-securityhub/VERSION b/gems/aws-sdk-securityhub/VERSION
index 10c8812fe5e..8de9ac240a8 100644
--- a/gems/aws-sdk-securityhub/VERSION
+++ b/gems/aws-sdk-securityhub/VERSION
@@ -1 +1 @@
-1.116.0
+1.117.0
diff --git a/gems/aws-sdk-securityhub/aws-sdk-securityhub.gemspec b/gems/aws-sdk-securityhub/aws-sdk-securityhub.gemspec
index 636dfe7db88..ca0d90ff2ef 100644
--- a/gems/aws-sdk-securityhub/aws-sdk-securityhub.gemspec
+++ b/gems/aws-sdk-securityhub/aws-sdk-securityhub.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-securityhub/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub.rb b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub.rb
index bff80f9b112..4f5984a627a 100644
--- a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub.rb
+++ b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SecurityHub
- GEM_VERSION = '1.116.0'
+ GEM_VERSION = '1.117.0'
end
diff --git a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client.rb b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client.rb
index 4895c5c4c70..1ddd5294ce3 100644
--- a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client.rb
+++ b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/client.rb
@@ -10456,7 +10456,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-securityhub'
- context[:gem_version] = '1.116.0'
+ context[:gem_version] = '1.117.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/endpoints.rb b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/endpoints.rb
index 38bc69770e3..41df268e5e7 100644
--- a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/endpoints.rb
+++ b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/endpoints.rb
@@ -14,1106 +14,869 @@ module Endpoints
class AcceptAdministratorInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AcceptInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDeleteAutomationRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisableStandards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchEnableStandards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetAutomationRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetConfigurationPolicyAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetSecurityControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchGetStandardsControlAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchImportFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateAutomationRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchUpdateStandardsControlAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateActionTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAutomationRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfigurationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFindingAggregator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInsight
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeclineInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteActionTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFindingAggregator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInsight
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeActionTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHub
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProducts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStandards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStandardsControls
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableImportFindingsForProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableSecurityHub
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFromAdministratorAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFromMasterAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableImportFindingsForProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableOrganizationAdminAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableSecurityHub
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAdministratorAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfigurationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfigurationPolicyAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnabledStandards
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindingAggregator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindingHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInsightResults
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInvitationsCount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMasterAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSecurityControlDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InviteMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAutomationRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurationPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurationPolicyAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnabledProductsForImport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFindingAggregators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizationAdminAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityControlDefinitions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStandardsControlAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartConfigurationPolicyAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartConfigurationPolicyDisassociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateActionTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFindingAggregator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInsight
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSecurityControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSecurityHubConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStandardsControl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityHub::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/plugins/endpoints.rb b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/plugins/endpoints.rb
index f1ed3deaa2b..d4fd853bc19 100644
--- a/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/plugins/endpoints.rb
+++ b/gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-securityhub/spec/endpoint_provider_spec.rb b/gems/aws-sdk-securityhub/spec/endpoint_provider_spec.rb
index a355e17ff79..e9db1c35a5a 100644
--- a/gems/aws-sdk-securityhub/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-securityhub/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SecurityHub
describe EndpointProvider do
subject { Aws::SecurityHub::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SecurityHub
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SecurityHub
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SecurityHub
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SecurityHub
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SecurityHub
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SecurityHub
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SecurityHub
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SecurityHub
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SecurityHub
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SecurityHub
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SecurityHub
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SecurityHub
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SecurityHub
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SecurityHub
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SecurityHub
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SecurityHub
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SecurityHub
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::SecurityHub
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::SecurityHub
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::SecurityHub
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::SecurityHub
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::SecurityHub
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::SecurityHub
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securityhub.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::SecurityHub
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::SecurityHub
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::SecurityHub
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::SecurityHub
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::SecurityHub
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-securitylake/CHANGELOG.md b/gems/aws-sdk-securitylake/CHANGELOG.md
index ee79e5a4817..b04f67733b5 100644
--- a/gems/aws-sdk-securitylake/CHANGELOG.md
+++ b/gems/aws-sdk-securitylake/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.27.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.26.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-securitylake/VERSION b/gems/aws-sdk-securitylake/VERSION
index 5ff8c4f5d2a..5db08bf2dc5 100644
--- a/gems/aws-sdk-securitylake/VERSION
+++ b/gems/aws-sdk-securitylake/VERSION
@@ -1 +1 @@
-1.26.0
+1.27.0
diff --git a/gems/aws-sdk-securitylake/aws-sdk-securitylake.gemspec b/gems/aws-sdk-securitylake/aws-sdk-securitylake.gemspec
index 58ce4f32402..53e56ddca06 100644
--- a/gems/aws-sdk-securitylake/aws-sdk-securitylake.gemspec
+++ b/gems/aws-sdk-securitylake/aws-sdk-securitylake.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-securitylake/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake.rb b/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake.rb
index 9dcaf254fe0..693df2ade6f 100644
--- a/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake.rb
+++ b/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SecurityLake
- GEM_VERSION = '1.26.0'
+ GEM_VERSION = '1.27.0'
end
diff --git a/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/client.rb b/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/client.rb
index 36d50a293b0..4c7ebe9b6f8 100644
--- a/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/client.rb
+++ b/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/client.rb
@@ -1993,7 +1993,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-securitylake'
- context[:gem_version] = '1.26.0'
+ context[:gem_version] = '1.27.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/endpoints.rb b/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/endpoints.rb
index 4f04ccfebea..c679c0e4171 100644
--- a/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/endpoints.rb
+++ b/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/endpoints.rb
@@ -14,434 +14,341 @@ module Endpoints
class CreateAwsLogSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomLogSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataLake
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataLakeExceptionSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDataLakeOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubscriber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubscriberNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAwsLogSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomLogSource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataLake
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataLakeExceptionSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDataLakeOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubscriber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubscriberNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterDataLakeDelegatedAdministrator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataLakeExceptionSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataLakeOrganizationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataLakeSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubscriber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataLakeExceptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDataLakes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLogSources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscribers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterDataLakeDelegatedAdministrator
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataLake
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDataLakeExceptionSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubscriber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubscriberNotification
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SecurityLake::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/plugins/endpoints.rb b/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/plugins/endpoints.rb
index 8a5f6f03993..d2ad0b694e1 100644
--- a/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/plugins/endpoints.rb
+++ b/gems/aws-sdk-securitylake/lib/aws-sdk-securitylake/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-securitylake/spec/endpoint_provider_spec.rb b/gems/aws-sdk-securitylake/spec/endpoint_provider_spec.rb
index 066e909a54c..2f81971e72a 100644
--- a/gems/aws-sdk-securitylake/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-securitylake/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SecurityLake
describe EndpointProvider do
subject { Aws::SecurityLake::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SecurityLake
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::SecurityLake
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SecurityLake
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SecurityLake
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::SecurityLake
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://securitylake.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::SecurityLake
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::SecurityLake
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SecurityLake
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::SecurityLake
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::SecurityLake
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-serverlessapplicationrepository/CHANGELOG.md b/gems/aws-sdk-serverlessapplicationrepository/CHANGELOG.md
index 36cad6407be..76cdd70a809 100644
--- a/gems/aws-sdk-serverlessapplicationrepository/CHANGELOG.md
+++ b/gems/aws-sdk-serverlessapplicationrepository/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.65.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.64.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-serverlessapplicationrepository/VERSION b/gems/aws-sdk-serverlessapplicationrepository/VERSION
index 9405730420f..902c74186fb 100644
--- a/gems/aws-sdk-serverlessapplicationrepository/VERSION
+++ b/gems/aws-sdk-serverlessapplicationrepository/VERSION
@@ -1 +1 @@
-1.64.0
+1.65.0
diff --git a/gems/aws-sdk-serverlessapplicationrepository/aws-sdk-serverlessapplicationrepository.gemspec b/gems/aws-sdk-serverlessapplicationrepository/aws-sdk-serverlessapplicationrepository.gemspec
index 019570c349d..a8ba130d3e4 100644
--- a/gems/aws-sdk-serverlessapplicationrepository/aws-sdk-serverlessapplicationrepository.gemspec
+++ b/gems/aws-sdk-serverlessapplicationrepository/aws-sdk-serverlessapplicationrepository.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-serverlessapplicationrepository/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository.rb b/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository.rb
index 3544542d941..ac430db7b37 100644
--- a/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository.rb
+++ b/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ServerlessApplicationRepository
- GEM_VERSION = '1.64.0'
+ GEM_VERSION = '1.65.0'
end
diff --git a/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb b/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb
index 8887ce99d1a..3ed1b78e8ba 100644
--- a/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb
+++ b/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/client.rb
@@ -1259,7 +1259,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-serverlessapplicationrepository'
- context[:gem_version] = '1.64.0'
+ context[:gem_version] = '1.65.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/endpoints.rb b/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/endpoints.rb
index 5356f46f284..3636ed673f3 100644
--- a/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/endpoints.rb
+++ b/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/endpoints.rb
@@ -14,196 +14,154 @@ module Endpoints
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplicationVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCloudFormationChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCloudFormationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplicationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCloudFormationTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationDependencies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutApplicationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnshareApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServerlessApplicationRepository::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/plugins/endpoints.rb b/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/plugins/endpoints.rb
index 17d5324231d..c3872026783 100644
--- a/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/plugins/endpoints.rb
+++ b/gems/aws-sdk-serverlessapplicationrepository/lib/aws-sdk-serverlessapplicationrepository/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-serverlessapplicationrepository/spec/endpoint_provider_spec.rb b/gems/aws-sdk-serverlessapplicationrepository/spec/endpoint_provider_spec.rb
index fed73d464fc..c7e5afaef79 100644
--- a/gems/aws-sdk-serverlessapplicationrepository/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-serverlessapplicationrepository/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ServerlessApplicationRepository
describe EndpointProvider do
subject { Aws::ServerlessApplicationRepository::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.me-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.sa-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-east-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-west-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-west-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo-fips.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.cn-north-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-gov-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-gov-west-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-gov-west-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo-fips.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -475,7 +475,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -489,7 +489,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -502,7 +502,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-iso-east-1.c2s.ic.gov"}}
end
@@ -516,7 +516,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -529,7 +529,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -543,7 +543,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -556,7 +556,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://serverlessrepo.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -570,7 +570,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -611,7 +611,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -624,7 +624,7 @@ module Aws::ServerlessApplicationRepository
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-servicecatalog/CHANGELOG.md b/gems/aws-sdk-servicecatalog/CHANGELOG.md
index db2fe5ec648..b423b6775ad 100644
--- a/gems/aws-sdk-servicecatalog/CHANGELOG.md
+++ b/gems/aws-sdk-servicecatalog/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.102.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.101.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-servicecatalog/VERSION b/gems/aws-sdk-servicecatalog/VERSION
index f19e6677313..1c55b869e98 100644
--- a/gems/aws-sdk-servicecatalog/VERSION
+++ b/gems/aws-sdk-servicecatalog/VERSION
@@ -1 +1 @@
-1.101.0
+1.102.0
diff --git a/gems/aws-sdk-servicecatalog/aws-sdk-servicecatalog.gemspec b/gems/aws-sdk-servicecatalog/aws-sdk-servicecatalog.gemspec
index 4cbbb69715d..ac00ce49e99 100644
--- a/gems/aws-sdk-servicecatalog/aws-sdk-servicecatalog.gemspec
+++ b/gems/aws-sdk-servicecatalog/aws-sdk-servicecatalog.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-servicecatalog/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog.rb b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog.rb
index 261948e8a6a..86404a1394a 100644
--- a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog.rb
+++ b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ServiceCatalog
- GEM_VERSION = '1.101.0'
+ GEM_VERSION = '1.102.0'
end
diff --git a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/client.rb b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/client.rb
index cb680c08a5c..40abe066869 100644
--- a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/client.rb
+++ b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/client.rb
@@ -6346,7 +6346,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-servicecatalog'
- context[:gem_version] = '1.101.0'
+ context[:gem_version] = '1.102.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/endpoints.rb b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/endpoints.rb
index 8fe020cdd7e..5108179d2e6 100644
--- a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/endpoints.rb
+++ b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/endpoints.rb
@@ -14,1260 +14,990 @@ module Endpoints
class AcceptPortfolioShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateBudgetWithResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociatePrincipalWithPortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateProductWithPortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateServiceActionWithProvisioningArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateTagOptionWithResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchAssociateServiceActionWithProvisioningArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchDisassociateServiceActionFromProvisioningArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConstraint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePortfolioShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProvisionedProductPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProvisioningArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServiceAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTagOption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConstraint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePortfolioShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProvisionedProductPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProvisioningArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServiceAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTagOption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConstraint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCopyProductStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePortfolioShareStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePortfolioShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProductAsAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProductView
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProvisionedProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProvisionedProductPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProvisioningArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProvisioningParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRecord
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServiceAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServiceActionExecutionParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTagOption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableAWSOrganizationsAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateBudgetFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociatePrincipalFromPortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateProductFromPortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateServiceActionFromProvisioningArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateTagOptionFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableAWSOrganizationsAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteProvisionedProductPlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteProvisionedProductServiceAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAWSOrganizationsAccessStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProvisionedProductOutputs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportAsProvisionedProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAcceptedPortfolioShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBudgetsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConstraintsForPortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLaunchPaths
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizationPortfolioAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPortfolioAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPortfolios
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPortfoliosForProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPrincipalsForPortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProvisionedProductPlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProvisioningArtifacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProvisioningArtifactsForServiceAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecordHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourcesForTagOption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceActions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceActionsForProvisioningArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStackInstancesForProvisionedProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class NotifyProvisionProductEngineWorkflowResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class NotifyTerminateProvisionedProductEngineWorkflowResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class NotifyUpdateProvisionedProductEngineWorkflowResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ProvisionProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectPortfolioShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ScanProvisionedProducts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchProducts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchProductsAsAdmin
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchProvisionedProducts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateProvisionedProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConstraint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePortfolio
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePortfolioShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProvisionedProduct
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProvisionedProductProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProvisioningArtifact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceAction
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTagOption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceCatalog::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/plugins/endpoints.rb b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/plugins/endpoints.rb
index 0e4c85e848c..11c3350ddd2 100644
--- a/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/plugins/endpoints.rb
+++ b/gems/aws-sdk-servicecatalog/lib/aws-sdk-servicecatalog/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-servicecatalog/spec/endpoint_provider_spec.rb b/gems/aws-sdk-servicecatalog/spec/endpoint_provider_spec.rb
index e5f08f602f1..77222a4f4ac 100644
--- a/gems/aws-sdk-servicecatalog/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-servicecatalog/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ServiceCatalog
describe EndpointProvider do
subject { Aws::ServiceCatalog::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::ServiceCatalog
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicecatalog.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::ServiceCatalog
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::ServiceCatalog
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::ServiceCatalog
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::ServiceCatalog
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::ServiceCatalog
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-servicediscovery/CHANGELOG.md b/gems/aws-sdk-servicediscovery/CHANGELOG.md
index ac9320af757..6de0f9759c5 100644
--- a/gems/aws-sdk-servicediscovery/CHANGELOG.md
+++ b/gems/aws-sdk-servicediscovery/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.72.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.71.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-servicediscovery/VERSION b/gems/aws-sdk-servicediscovery/VERSION
index df484cbb1d9..0834888f558 100644
--- a/gems/aws-sdk-servicediscovery/VERSION
+++ b/gems/aws-sdk-servicediscovery/VERSION
@@ -1 +1 @@
-1.71.0
+1.72.0
diff --git a/gems/aws-sdk-servicediscovery/aws-sdk-servicediscovery.gemspec b/gems/aws-sdk-servicediscovery/aws-sdk-servicediscovery.gemspec
index d2c167b3837..cf626ff1f59 100644
--- a/gems/aws-sdk-servicediscovery/aws-sdk-servicediscovery.gemspec
+++ b/gems/aws-sdk-servicediscovery/aws-sdk-servicediscovery.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-servicediscovery/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery.rb b/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery.rb
index e33a6eda07e..27618109996 100644
--- a/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery.rb
+++ b/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ServiceDiscovery
- GEM_VERSION = '1.71.0'
+ GEM_VERSION = '1.72.0'
end
diff --git a/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/client.rb b/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/client.rb
index a19502044c4..167a638479b 100644
--- a/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/client.rb
+++ b/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/client.rb
@@ -2827,7 +2827,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-servicediscovery'
- context[:gem_version] = '1.71.0'
+ context[:gem_version] = '1.72.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/endpoints.rb b/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/endpoints.rb
index b480a67b76d..37b0c86b3d0 100644
--- a/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/endpoints.rb
+++ b/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/endpoints.rb
@@ -14,378 +14,297 @@ module Endpoints
class CreateHttpNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePrivateDnsNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePublicDnsNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DiscoverInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DiscoverInstancesRevision
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInstancesHealthStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNamespaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateHttpNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInstanceCustomHealthStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePrivateDnsNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePublicDnsNamespace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceDiscovery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/plugins/endpoints.rb b/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/plugins/endpoints.rb
index 44406b31b24..cc81100b142 100644
--- a/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/plugins/endpoints.rb
+++ b/gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-servicediscovery/spec/endpoint_provider_spec.rb b/gems/aws-sdk-servicediscovery/spec/endpoint_provider_spec.rb
index 6b85a79f5f0..352738bc778 100644
--- a/gems/aws-sdk-servicediscovery/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-servicediscovery/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ServiceDiscovery
describe EndpointProvider do
subject { Aws::ServiceDiscovery::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.eu-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.eu-west-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.eu-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.eu-west-3.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.me-south-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.sa-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.us-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.us-west-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.us-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.us-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.us-gov-east-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -559,7 +559,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -573,7 +573,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -586,7 +586,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.us-iso-east-1.c2s.ic.gov"}}
end
@@ -600,7 +600,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -613,7 +613,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -627,7 +627,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -640,7 +640,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicediscovery.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -654,7 +654,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -695,7 +695,7 @@ module Aws::ServiceDiscovery
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -708,7 +708,7 @@ module Aws::ServiceDiscovery
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-servicequotas/CHANGELOG.md b/gems/aws-sdk-servicequotas/CHANGELOG.md
index 57718584866..3ebaf74c1cc 100644
--- a/gems/aws-sdk-servicequotas/CHANGELOG.md
+++ b/gems/aws-sdk-servicequotas/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.45.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.44.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-servicequotas/VERSION b/gems/aws-sdk-servicequotas/VERSION
index 372cf402c73..50aceaa7b71 100644
--- a/gems/aws-sdk-servicequotas/VERSION
+++ b/gems/aws-sdk-servicequotas/VERSION
@@ -1 +1 @@
-1.44.0
+1.45.0
diff --git a/gems/aws-sdk-servicequotas/aws-sdk-servicequotas.gemspec b/gems/aws-sdk-servicequotas/aws-sdk-servicequotas.gemspec
index 4c26574b7fa..50332135a8d 100644
--- a/gems/aws-sdk-servicequotas/aws-sdk-servicequotas.gemspec
+++ b/gems/aws-sdk-servicequotas/aws-sdk-servicequotas.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-servicequotas/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas.rb b/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas.rb
index 811b85f9509..f573991e367 100644
--- a/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas.rb
+++ b/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::ServiceQuotas
- GEM_VERSION = '1.44.0'
+ GEM_VERSION = '1.45.0'
end
diff --git a/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb b/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb
index 15c33660a51..82b7c3f5d83 100644
--- a/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb
+++ b/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/client.rb
@@ -1473,7 +1473,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-servicequotas'
- context[:gem_version] = '1.44.0'
+ context[:gem_version] = '1.45.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/endpoints.rb b/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/endpoints.rb
index 23015ebd6d2..cc92846ffd9 100644
--- a/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/endpoints.rb
+++ b/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/endpoints.rb
@@ -14,266 +14,209 @@ module Endpoints
class AssociateServiceQuotaTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServiceQuotaIncreaseRequestFromTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateServiceQuotaTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAWSDefaultServiceQuota
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAssociationForServiceQuotaTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRequestedServiceQuotaChange
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceQuota
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceQuotaIncreaseRequestFromTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAWSDefaultServiceQuotas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRequestedServiceQuotaChangeHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRequestedServiceQuotaChangeHistoryByQuota
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceQuotaIncreaseRequestsInTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceQuotas
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutServiceQuotaIncreaseRequestIntoTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RequestServiceQuotaIncrease
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::ServiceQuotas::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/plugins/endpoints.rb b/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/plugins/endpoints.rb
index 90f2572d464..28f99c777d8 100644
--- a/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/plugins/endpoints.rb
+++ b/gems/aws-sdk-servicequotas/lib/aws-sdk-servicequotas/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-servicequotas/spec/endpoint_provider_spec.rb b/gems/aws-sdk-servicequotas/spec/endpoint_provider_spec.rb
index 5d7b65abb04..fea89538951 100644
--- a/gems/aws-sdk-servicequotas/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-servicequotas/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::ServiceQuotas
describe EndpointProvider do
subject { Aws::ServiceQuotas::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas-fips.us-east-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-gov-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-gov-west-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-gov-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas-fips.us-gov-east-1.api.aws"}}
end
@@ -490,7 +490,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-gov-east-1.api.aws"}}
end
@@ -504,7 +504,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -517,7 +517,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -531,7 +531,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -544,7 +544,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-iso-east-1.c2s.ic.gov"}}
end
@@ -558,7 +558,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -571,7 +571,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -585,7 +585,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -598,7 +598,7 @@ module Aws::ServiceQuotas
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://servicequotas.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -612,7 +612,7 @@ module Aws::ServiceQuotas
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::ServiceQuotas
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -640,7 +640,7 @@ module Aws::ServiceQuotas
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -653,7 +653,7 @@ module Aws::ServiceQuotas
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -666,7 +666,7 @@ module Aws::ServiceQuotas
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ses/CHANGELOG.md b/gems/aws-sdk-ses/CHANGELOG.md
index 73eb3f6def9..74c1260ba40 100644
--- a/gems/aws-sdk-ses/CHANGELOG.md
+++ b/gems/aws-sdk-ses/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.72.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.71.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ses/VERSION b/gems/aws-sdk-ses/VERSION
index df484cbb1d9..0834888f558 100644
--- a/gems/aws-sdk-ses/VERSION
+++ b/gems/aws-sdk-ses/VERSION
@@ -1 +1 @@
-1.71.0
+1.72.0
diff --git a/gems/aws-sdk-ses/aws-sdk-ses.gemspec b/gems/aws-sdk-ses/aws-sdk-ses.gemspec
index 256b038b004..7506691dac9 100644
--- a/gems/aws-sdk-ses/aws-sdk-ses.gemspec
+++ b/gems/aws-sdk-ses/aws-sdk-ses.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ses/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ses/lib/aws-sdk-ses.rb b/gems/aws-sdk-ses/lib/aws-sdk-ses.rb
index 141589d1c7b..ae7e5fb6777 100644
--- a/gems/aws-sdk-ses/lib/aws-sdk-ses.rb
+++ b/gems/aws-sdk-ses/lib/aws-sdk-ses.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::SES
- GEM_VERSION = '1.71.0'
+ GEM_VERSION = '1.72.0'
end
diff --git a/gems/aws-sdk-ses/lib/aws-sdk-ses/client.rb b/gems/aws-sdk-ses/lib/aws-sdk-ses/client.rb
index d6dfce7bd27..6f1ea709286 100644
--- a/gems/aws-sdk-ses/lib/aws-sdk-ses/client.rb
+++ b/gems/aws-sdk-ses/lib/aws-sdk-ses/client.rb
@@ -5179,7 +5179,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ses'
- context[:gem_version] = '1.71.0'
+ context[:gem_version] = '1.72.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ses/lib/aws-sdk-ses/endpoints.rb b/gems/aws-sdk-ses/lib/aws-sdk-ses/endpoints.rb
index 02bad88eb52..5a01925c90b 100644
--- a/gems/aws-sdk-ses/lib/aws-sdk-ses/endpoints.rb
+++ b/gems/aws-sdk-ses/lib/aws-sdk-ses/endpoints.rb
@@ -14,994 +14,781 @@ module Endpoints
class CloneReceiptRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfigurationSetTrackingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomVerificationEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReceiptFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReceiptRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReceiptRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationSetTrackingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomVerificationEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdentityPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReceiptFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReceiptRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReceiptRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVerifiedEmailAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeActiveReceiptRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReceiptRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReceiptRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountSendingEnabled
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCustomVerificationEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdentityDkimAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdentityMailFromDomainAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdentityNotificationAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdentityPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdentityVerificationAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSendQuota
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSendStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurationSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomVerificationEmailTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentityPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReceiptFilters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReceiptRuleSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVerifiedEmailAddresses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationSetDeliveryOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutIdentityPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReorderReceiptRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendBounce
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendBulkTemplatedEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendCustomVerificationEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendRawEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendTemplatedEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetActiveReceiptRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetIdentityDkimEnabled
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetIdentityFeedbackForwardingEnabled
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetIdentityHeadersInNotificationsEnabled
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetIdentityMailFromDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetIdentityNotificationTopic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetReceiptRulePosition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestRenderTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountSendingEnabled
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationSetReputationMetricsEnabled
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationSetSendingEnabled
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationSetTrackingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCustomVerificationEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReceiptRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyDomainDkim
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyDomainIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyEmailAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifyEmailIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SES::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ses/lib/aws-sdk-ses/plugins/endpoints.rb b/gems/aws-sdk-ses/lib/aws-sdk-ses/plugins/endpoints.rb
index 3243095af18..9c318d62f62 100644
--- a/gems/aws-sdk-ses/lib/aws-sdk-ses/plugins/endpoints.rb
+++ b/gems/aws-sdk-ses/lib/aws-sdk-ses/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ses/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ses/spec/endpoint_provider_spec.rb
index d62b6628215..3519fcfaf8d 100644
--- a/gems/aws-sdk-ses/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ses/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SES
describe EndpointProvider do
subject { Aws::SES::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SES
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SES
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SES
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-northeast-3.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SES
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SES
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SES
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SES
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SES
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SES
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SES
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SES
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SES
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SES
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SES
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.me-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SES
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.sa-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SES
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SES
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SES
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SES
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::SES
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SES
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::SES
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::SES
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::SES
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::SES
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::SES
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::SES
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::SES
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-gov-west-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::SES
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::SES
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::SES
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::SES
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::SES
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::SES
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -503,7 +503,7 @@ module Aws::SES
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -517,7 +517,7 @@ module Aws::SES
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -530,7 +530,7 @@ module Aws::SES
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-iso-east-1.c2s.ic.gov"}}
end
@@ -544,7 +544,7 @@ module Aws::SES
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -557,7 +557,7 @@ module Aws::SES
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -571,7 +571,7 @@ module Aws::SES
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -584,7 +584,7 @@ module Aws::SES
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -598,7 +598,7 @@ module Aws::SES
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::SES
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::SES
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -639,7 +639,7 @@ module Aws::SES
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -652,7 +652,7 @@ module Aws::SES
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-sesv2/CHANGELOG.md b/gems/aws-sdk-sesv2/CHANGELOG.md
index 49d4aea4691..71ecf517c55 100644
--- a/gems/aws-sdk-sesv2/CHANGELOG.md
+++ b/gems/aws-sdk-sesv2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.59.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.58.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-sesv2/VERSION b/gems/aws-sdk-sesv2/VERSION
index 79f82f6b8e0..bb120e876c6 100644
--- a/gems/aws-sdk-sesv2/VERSION
+++ b/gems/aws-sdk-sesv2/VERSION
@@ -1 +1 @@
-1.58.0
+1.59.0
diff --git a/gems/aws-sdk-sesv2/aws-sdk-sesv2.gemspec b/gems/aws-sdk-sesv2/aws-sdk-sesv2.gemspec
index 7dcad3a3f7b..6ba11b70c42 100644
--- a/gems/aws-sdk-sesv2/aws-sdk-sesv2.gemspec
+++ b/gems/aws-sdk-sesv2/aws-sdk-sesv2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sesv2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2.rb b/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2.rb
index 7fd66df78b8..16869d9e256 100644
--- a/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2.rb
+++ b/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SESV2
- GEM_VERSION = '1.58.0'
+ GEM_VERSION = '1.59.0'
end
diff --git a/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/client.rb b/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/client.rb
index 35a1e88f09f..0d92c5885b4 100644
--- a/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/client.rb
+++ b/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/client.rb
@@ -5161,7 +5161,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-sesv2'
- context[:gem_version] = '1.58.0'
+ context[:gem_version] = '1.59.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/endpoints.rb b/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/endpoints.rb
index 8a8e1d0bb30..a6eca03cf1d 100644
--- a/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/endpoints.rb
+++ b/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/endpoints.rb
@@ -14,1288 +14,1012 @@ module Endpoints
class BatchGetMetricData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContactList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomVerificationEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDedicatedIpPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDeliverabilityTestReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEmailIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEmailIdentityPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContactList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomVerificationEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDedicatedIpPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEmailIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEmailIdentityPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSuppressedDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBlacklistReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfigurationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfigurationSetEventDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContactList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCustomVerificationEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDedicatedIp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDedicatedIpPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDedicatedIps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeliverabilityDashboardOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeliverabilityTestReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainDeliverabilityCampaign
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDomainStatisticsReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEmailIdentity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEmailIdentityPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMessageInsights
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSuppressedDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurationSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContactLists
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomVerificationEmailTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDedicatedIpPools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeliverabilityTestReports
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomainDeliverabilityCampaigns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEmailIdentities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEmailTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSuppressedDestinations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountDedicatedIpWarmupAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountSendingAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountSuppressionAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountVdmAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationSetDeliveryOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationSetReputationOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationSetSendingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationSetSuppressionOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationSetTrackingOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutConfigurationSetVdmOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDedicatedIpInPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDedicatedIpPoolScalingAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDedicatedIpWarmupAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDeliverabilityDashboardOption
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEmailIdentityConfigurationSetAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEmailIdentityDkimAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEmailIdentityDkimSigningAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEmailIdentityFeedbackAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEmailIdentityMailFromAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSuppressedDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendBulkEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendCustomVerificationEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendEmail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestRenderEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationSetEventDestination
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContactList
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCustomVerificationEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEmailIdentityPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEmailTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SESV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/plugins/endpoints.rb b/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/plugins/endpoints.rb
index 91b3d2e8bb2..7f6264fcccb 100644
--- a/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/plugins/endpoints.rb
+++ b/gems/aws-sdk-sesv2/lib/aws-sdk-sesv2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-sesv2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-sesv2/spec/endpoint_provider_spec.rb
index 98c3c5c5f94..d5f06bad65a 100644
--- a/gems/aws-sdk-sesv2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-sesv2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SESV2
describe EndpointProvider do
subject { Aws::SESV2::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SESV2
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SESV2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SESV2
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-northeast-3.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SESV2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SESV2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SESV2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SESV2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SESV2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SESV2
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SESV2
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SESV2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SESV2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SESV2
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SESV2
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.me-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SESV2
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.sa-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SESV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SESV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SESV2
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SESV2
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-west-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::SESV2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-west-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SESV2
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-west-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::SESV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-east-1.api.aws"}}
end
@@ -336,7 +336,7 @@ module Aws::SESV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::SESV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::SESV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::SESV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::SESV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.cn-north-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::SESV2
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-gov-west-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::SESV2
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::SESV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::SESV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::SESV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-gov-east-1.api.aws"}}
end
@@ -476,7 +476,7 @@ module Aws::SESV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::SESV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -503,7 +503,7 @@ module Aws::SESV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -517,7 +517,7 @@ module Aws::SESV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -530,7 +530,7 @@ module Aws::SESV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-iso-east-1.c2s.ic.gov"}}
end
@@ -544,7 +544,7 @@ module Aws::SESV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -557,7 +557,7 @@ module Aws::SESV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -571,7 +571,7 @@ module Aws::SESV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -584,7 +584,7 @@ module Aws::SESV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://email.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -598,7 +598,7 @@ module Aws::SESV2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -612,7 +612,7 @@ module Aws::SESV2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -626,7 +626,7 @@ module Aws::SESV2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -639,7 +639,7 @@ module Aws::SESV2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -652,7 +652,7 @@ module Aws::SESV2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-shield/CHANGELOG.md b/gems/aws-sdk-shield/CHANGELOG.md
index cfe299c4934..3f4604218fa 100644
--- a/gems/aws-sdk-shield/CHANGELOG.md
+++ b/gems/aws-sdk-shield/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.71.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.70.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-shield/VERSION b/gems/aws-sdk-shield/VERSION
index 832e9afb6c1..df484cbb1d9 100644
--- a/gems/aws-sdk-shield/VERSION
+++ b/gems/aws-sdk-shield/VERSION
@@ -1 +1 @@
-1.70.0
+1.71.0
diff --git a/gems/aws-sdk-shield/aws-sdk-shield.gemspec b/gems/aws-sdk-shield/aws-sdk-shield.gemspec
index ca628270d64..6bcc0751bfe 100644
--- a/gems/aws-sdk-shield/aws-sdk-shield.gemspec
+++ b/gems/aws-sdk-shield/aws-sdk-shield.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-shield/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-shield/lib/aws-sdk-shield.rb b/gems/aws-sdk-shield/lib/aws-sdk-shield.rb
index de6606401eb..5872a23dcfd 100644
--- a/gems/aws-sdk-shield/lib/aws-sdk-shield.rb
+++ b/gems/aws-sdk-shield/lib/aws-sdk-shield.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Shield
- GEM_VERSION = '1.70.0'
+ GEM_VERSION = '1.71.0'
end
diff --git a/gems/aws-sdk-shield/lib/aws-sdk-shield/client.rb b/gems/aws-sdk-shield/lib/aws-sdk-shield/client.rb
index 03669aa7f78..de7bf8e0c19 100644
--- a/gems/aws-sdk-shield/lib/aws-sdk-shield/client.rb
+++ b/gems/aws-sdk-shield/lib/aws-sdk-shield/client.rb
@@ -1985,7 +1985,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-shield'
- context[:gem_version] = '1.70.0'
+ context[:gem_version] = '1.71.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-shield/lib/aws-sdk-shield/endpoints.rb b/gems/aws-sdk-shield/lib/aws-sdk-shield/endpoints.rb
index 04814082f24..b96ff18e3b1 100644
--- a/gems/aws-sdk-shield/lib/aws-sdk-shield/endpoints.rb
+++ b/gems/aws-sdk-shield/lib/aws-sdk-shield/endpoints.rb
@@ -14,504 +14,396 @@ module Endpoints
class AssociateDRTLogBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateDRTRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateHealthCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateProactiveEngagementDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProtectionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProtectionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAttack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAttackStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDRTAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEmergencyContactSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProtectionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableApplicationLayerAutomaticResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableProactiveEngagement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateDRTLogBucket
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateDRTRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateHealthCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableApplicationLayerAutomaticResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EnableProactiveEngagement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubscriptionState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAttacks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProtectionGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProtections
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourcesInProtectionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplicationLayerAutomaticResponse
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEmergencyContactSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProtectionGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Shield::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-shield/lib/aws-sdk-shield/plugins/endpoints.rb b/gems/aws-sdk-shield/lib/aws-sdk-shield/plugins/endpoints.rb
index ecd08c8a26b..ac560a47798 100644
--- a/gems/aws-sdk-shield/lib/aws-sdk-shield/plugins/endpoints.rb
+++ b/gems/aws-sdk-shield/lib/aws-sdk-shield/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-shield/spec/endpoint_provider_spec.rb b/gems/aws-sdk-shield/spec/endpoint_provider_spec.rb
index 56fcfb8bbcb..64249071c8a 100644
--- a/gems/aws-sdk-shield/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-shield/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Shield
describe EndpointProvider do
subject { Aws::Shield::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"shield", "signingRegion"=>"us-east-1"}]}, "url"=>"https://shield.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Shield
end
end
- context 'For region aws-global with FIPS enabled and DualStack disabled' do
+ context "For region aws-global with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"shield", "signingRegion"=>"us-east-1"}]}, "url"=>"https://shield-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Shield
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield-fips.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Shield
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"shield", "signingRegion"=>"us-east-1"}]}, "url"=>"https://shield-fips.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Shield
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::Shield
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"shield", "signingRegion"=>"us-east-1"}]}, "url"=>"https://shield.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Shield
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Shield
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Shield
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Shield
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::Shield
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Shield
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Shield
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::Shield
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Shield
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::Shield
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::Shield
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::Shield
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::Shield
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::Shield
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::Shield
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::Shield
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://shield.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::Shield
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::Shield
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::Shield
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::Shield
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::Shield
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-signer/CHANGELOG.md b/gems/aws-sdk-signer/CHANGELOG.md
index 88f5c6623e7..ebdb1938080 100644
--- a/gems/aws-sdk-signer/CHANGELOG.md
+++ b/gems/aws-sdk-signer/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.62.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.61.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-signer/VERSION b/gems/aws-sdk-signer/VERSION
index 91951fd8ad7..76d05362056 100644
--- a/gems/aws-sdk-signer/VERSION
+++ b/gems/aws-sdk-signer/VERSION
@@ -1 +1 @@
-1.61.0
+1.62.0
diff --git a/gems/aws-sdk-signer/aws-sdk-signer.gemspec b/gems/aws-sdk-signer/aws-sdk-signer.gemspec
index b525d5c4b97..818aaeca5ff 100644
--- a/gems/aws-sdk-signer/aws-sdk-signer.gemspec
+++ b/gems/aws-sdk-signer/aws-sdk-signer.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-signer/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-signer/lib/aws-sdk-signer.rb b/gems/aws-sdk-signer/lib/aws-sdk-signer.rb
index bc0ceaf8a9d..d99dc614728 100644
--- a/gems/aws-sdk-signer/lib/aws-sdk-signer.rb
+++ b/gems/aws-sdk-signer/lib/aws-sdk-signer.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Signer
- GEM_VERSION = '1.61.0'
+ GEM_VERSION = '1.62.0'
end
diff --git a/gems/aws-sdk-signer/lib/aws-sdk-signer/client.rb b/gems/aws-sdk-signer/lib/aws-sdk-signer/client.rb
index 6583e97877a..f259580fe41 100644
--- a/gems/aws-sdk-signer/lib/aws-sdk-signer/client.rb
+++ b/gems/aws-sdk-signer/lib/aws-sdk-signer/client.rb
@@ -1516,7 +1516,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-signer'
- context[:gem_version] = '1.61.0'
+ context[:gem_version] = '1.62.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-signer/lib/aws-sdk-signer/endpoints.rb b/gems/aws-sdk-signer/lib/aws-sdk-signer/endpoints.rb
index 1cc63cd2872..dee7daea009 100644
--- a/gems/aws-sdk-signer/lib/aws-sdk-signer/endpoints.rb
+++ b/gems/aws-sdk-signer/lib/aws-sdk-signer/endpoints.rb
@@ -14,266 +14,209 @@ module Endpoints
class AddProfilePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelSigningProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSigningJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRevocationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSigningPlatform
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSigningProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfilePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSigningJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSigningPlatforms
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSigningProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSigningProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveProfilePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeSignature
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeSigningProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SignPayload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSigningJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Signer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-signer/lib/aws-sdk-signer/plugins/endpoints.rb b/gems/aws-sdk-signer/lib/aws-sdk-signer/plugins/endpoints.rb
index 9517c624926..9e72e01f9ad 100644
--- a/gems/aws-sdk-signer/lib/aws-sdk-signer/plugins/endpoints.rb
+++ b/gems/aws-sdk-signer/lib/aws-sdk-signer/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-signer/spec/endpoint_provider_spec.rb b/gems/aws-sdk-signer/spec/endpoint_provider_spec.rb
index 08031a0d0ef..fd49d833955 100644
--- a/gems/aws-sdk-signer/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-signer/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Signer
describe EndpointProvider do
subject { Aws::Signer::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Signer
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Signer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Signer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Signer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Signer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Signer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Signer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Signer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Signer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Signer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Signer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Signer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Signer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Signer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Signer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Signer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Signer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Signer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Signer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://signer.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Signer
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Signer
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Signer
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Signer
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Signer
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-simpledb/CHANGELOG.md b/gems/aws-sdk-simpledb/CHANGELOG.md
index 92a6f414592..6086f0a6af9 100644
--- a/gems/aws-sdk-simpledb/CHANGELOG.md
+++ b/gems/aws-sdk-simpledb/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.54.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.53.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-simpledb/VERSION b/gems/aws-sdk-simpledb/VERSION
index 3f4830156cb..b7921ae87bc 100644
--- a/gems/aws-sdk-simpledb/VERSION
+++ b/gems/aws-sdk-simpledb/VERSION
@@ -1 +1 @@
-1.53.0
+1.54.0
diff --git a/gems/aws-sdk-simpledb/aws-sdk-simpledb.gemspec b/gems/aws-sdk-simpledb/aws-sdk-simpledb.gemspec
index b663f644cb8..b78f0c92b92 100644
--- a/gems/aws-sdk-simpledb/aws-sdk-simpledb.gemspec
+++ b/gems/aws-sdk-simpledb/aws-sdk-simpledb.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-simpledb/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv2', '~> 1.0')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-simpledb/lib/aws-sdk-simpledb.rb b/gems/aws-sdk-simpledb/lib/aws-sdk-simpledb.rb
index 65cc34a49a7..4335b3e9d75 100644
--- a/gems/aws-sdk-simpledb/lib/aws-sdk-simpledb.rb
+++ b/gems/aws-sdk-simpledb/lib/aws-sdk-simpledb.rb
@@ -48,6 +48,6 @@
# @!group service
module Aws::SimpleDB
- GEM_VERSION = '1.53.0'
+ GEM_VERSION = '1.54.0'
end
diff --git a/gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/client.rb b/gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/client.rb
index b5e2781e9c6..2b43a93dfee 100644
--- a/gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/client.rb
+++ b/gems/aws-sdk-simpledb/lib/aws-sdk-simpledb/client.rb
@@ -962,7 +962,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-simpledb'
- context[:gem_version] = '1.53.0'
+ context[:gem_version] = '1.54.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-simspaceweaver/CHANGELOG.md b/gems/aws-sdk-simspaceweaver/CHANGELOG.md
index 6e06189e11d..4aa9f173779 100644
--- a/gems/aws-sdk-simspaceweaver/CHANGELOG.md
+++ b/gems/aws-sdk-simspaceweaver/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.23.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.22.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-simspaceweaver/VERSION b/gems/aws-sdk-simspaceweaver/VERSION
index 57807d6d0d0..a6c2798a482 100644
--- a/gems/aws-sdk-simspaceweaver/VERSION
+++ b/gems/aws-sdk-simspaceweaver/VERSION
@@ -1 +1 @@
-1.22.0
+1.23.0
diff --git a/gems/aws-sdk-simspaceweaver/aws-sdk-simspaceweaver.gemspec b/gems/aws-sdk-simspaceweaver/aws-sdk-simspaceweaver.gemspec
index 989977fc9c8..226bd5f69e2 100644
--- a/gems/aws-sdk-simspaceweaver/aws-sdk-simspaceweaver.gemspec
+++ b/gems/aws-sdk-simspaceweaver/aws-sdk-simspaceweaver.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-simspaceweaver/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver.rb b/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver.rb
index fdfdc38ebfc..1a7650f5f7b 100644
--- a/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver.rb
+++ b/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SimSpaceWeaver
- GEM_VERSION = '1.22.0'
+ GEM_VERSION = '1.23.0'
end
diff --git a/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/client.rb b/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/client.rb
index 93a856725cf..da811585978 100644
--- a/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/client.rb
+++ b/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/client.rb
@@ -1212,7 +1212,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-simspaceweaver'
- context[:gem_version] = '1.22.0'
+ context[:gem_version] = '1.23.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/endpoints.rb b/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/endpoints.rb
index 26bce0cafec..71f3f6ea5f0 100644
--- a/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/endpoints.rb
+++ b/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/endpoints.rb
@@ -14,224 +14,176 @@ module Endpoints
class CreateSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSimulation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSimulation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSimulations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartClock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSimulation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopClock
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopSimulation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SimSpaceWeaver::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/plugins/endpoints.rb b/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/plugins/endpoints.rb
index c0585273f95..6f10e89644f 100644
--- a/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/plugins/endpoints.rb
+++ b/gems/aws-sdk-simspaceweaver/lib/aws-sdk-simspaceweaver/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-simspaceweaver/spec/endpoint_provider_spec.rb b/gems/aws-sdk-simspaceweaver/spec/endpoint_provider_spec.rb
index adcfc962f95..8d9281f0269 100644
--- a/gems/aws-sdk-simspaceweaver/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-simspaceweaver/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SimSpaceWeaver
describe EndpointProvider do
subject { Aws::SimSpaceWeaver::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://simspaceweaver.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::SimSpaceWeaver
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-sms/CHANGELOG.md b/gems/aws-sdk-sms/CHANGELOG.md
index d862c6ebb50..bd22d6aa1d7 100644
--- a/gems/aws-sdk-sms/CHANGELOG.md
+++ b/gems/aws-sdk-sms/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.62.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.61.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-sms/VERSION b/gems/aws-sdk-sms/VERSION
index 91951fd8ad7..76d05362056 100644
--- a/gems/aws-sdk-sms/VERSION
+++ b/gems/aws-sdk-sms/VERSION
@@ -1 +1 @@
-1.61.0
+1.62.0
diff --git a/gems/aws-sdk-sms/aws-sdk-sms.gemspec b/gems/aws-sdk-sms/aws-sdk-sms.gemspec
index 15ab302a7f7..f04d247fba7 100644
--- a/gems/aws-sdk-sms/aws-sdk-sms.gemspec
+++ b/gems/aws-sdk-sms/aws-sdk-sms.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sms/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-sms/lib/aws-sdk-sms.rb b/gems/aws-sdk-sms/lib/aws-sdk-sms.rb
index 18d4ca741f2..295bae4ea81 100644
--- a/gems/aws-sdk-sms/lib/aws-sdk-sms.rb
+++ b/gems/aws-sdk-sms/lib/aws-sdk-sms.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SMS
- GEM_VERSION = '1.61.0'
+ GEM_VERSION = '1.62.0'
end
diff --git a/gems/aws-sdk-sms/lib/aws-sdk-sms/client.rb b/gems/aws-sdk-sms/lib/aws-sdk-sms/client.rb
index 2dffc1d6f69..e87f7a3ff41 100644
--- a/gems/aws-sdk-sms/lib/aws-sdk-sms/client.rb
+++ b/gems/aws-sdk-sms/lib/aws-sdk-sms/client.rb
@@ -2166,7 +2166,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-sms'
- context[:gem_version] = '1.61.0'
+ context[:gem_version] = '1.62.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-sms/lib/aws-sdk-sms/endpoints.rb b/gems/aws-sdk-sms/lib/aws-sdk-sms/endpoints.rb
index e96270f2234..1f79a8b805d 100644
--- a/gems/aws-sdk-sms/lib/aws-sdk-sms/endpoints.rb
+++ b/gems/aws-sdk-sms/lib/aws-sdk-sms/endpoints.rb
@@ -14,490 +14,385 @@ module Endpoints
class CreateApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplicationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppLaunchConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAppValidationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServerCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateChangeSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppLaunchConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppValidationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAppValidationOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReplicationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReplicationRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportAppCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportServerCatalog
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class LaunchApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApps
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class NotifyAppValidationOutput
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAppLaunchConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAppReplicationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAppValidationConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAppReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartOnDemandAppReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartOnDemandReplicationRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopAppReplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApp
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReplicationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SMS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-sms/lib/aws-sdk-sms/plugins/endpoints.rb b/gems/aws-sdk-sms/lib/aws-sdk-sms/plugins/endpoints.rb
index 8e14c9fb6b4..cc9c4f28ec0 100644
--- a/gems/aws-sdk-sms/lib/aws-sdk-sms/plugins/endpoints.rb
+++ b/gems/aws-sdk-sms/lib/aws-sdk-sms/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-sms/spec/endpoint_provider_spec.rb b/gems/aws-sdk-sms/spec/endpoint_provider_spec.rb
index b1b99d6c5a7..a670b44e322 100644
--- a/gems/aws-sdk-sms/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-sms/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SMS
describe EndpointProvider do
subject { Aws::SMS::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SMS
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SMS
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SMS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SMS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SMS
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SMS
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SMS
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SMS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SMS
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SMS
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SMS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SMS
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SMS
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SMS
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.me-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SMS
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.sa-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SMS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SMS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SMS
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SMS
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::SMS
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SMS
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.us-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::SMS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.us-west-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::SMS
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.us-west-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::SMS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::SMS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.us-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::SMS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.cn-north-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::SMS
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::SMS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::SMS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::SMS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::SMS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::SMS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::SMS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::SMS
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::SMS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::SMS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::SMS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -545,7 +545,7 @@ module Aws::SMS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -559,7 +559,7 @@ module Aws::SMS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -572,7 +572,7 @@ module Aws::SMS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.us-iso-east-1.c2s.ic.gov"}}
end
@@ -586,7 +586,7 @@ module Aws::SMS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -599,7 +599,7 @@ module Aws::SMS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -613,7 +613,7 @@ module Aws::SMS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -626,7 +626,7 @@ module Aws::SMS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sms.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -640,7 +640,7 @@ module Aws::SMS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::SMS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::SMS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -681,7 +681,7 @@ module Aws::SMS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -694,7 +694,7 @@ module Aws::SMS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-snowball/CHANGELOG.md b/gems/aws-sdk-snowball/CHANGELOG.md
index 98d5581153a..349d347d4ff 100644
--- a/gems/aws-sdk-snowball/CHANGELOG.md
+++ b/gems/aws-sdk-snowball/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.76.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.75.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-snowball/VERSION b/gems/aws-sdk-snowball/VERSION
index 7c7053aa238..32a6ce3c719 100644
--- a/gems/aws-sdk-snowball/VERSION
+++ b/gems/aws-sdk-snowball/VERSION
@@ -1 +1 @@
-1.75.0
+1.76.0
diff --git a/gems/aws-sdk-snowball/aws-sdk-snowball.gemspec b/gems/aws-sdk-snowball/aws-sdk-snowball.gemspec
index 6f065c88b8b..a879084dcc7 100644
--- a/gems/aws-sdk-snowball/aws-sdk-snowball.gemspec
+++ b/gems/aws-sdk-snowball/aws-sdk-snowball.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-snowball/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-snowball/lib/aws-sdk-snowball.rb b/gems/aws-sdk-snowball/lib/aws-sdk-snowball.rb
index 82ba6c00558..42a396f7d18 100644
--- a/gems/aws-sdk-snowball/lib/aws-sdk-snowball.rb
+++ b/gems/aws-sdk-snowball/lib/aws-sdk-snowball.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Snowball
- GEM_VERSION = '1.75.0'
+ GEM_VERSION = '1.76.0'
end
diff --git a/gems/aws-sdk-snowball/lib/aws-sdk-snowball/client.rb b/gems/aws-sdk-snowball/lib/aws-sdk-snowball/client.rb
index b93efa67d05..b26b571706b 100644
--- a/gems/aws-sdk-snowball/lib/aws-sdk-snowball/client.rb
+++ b/gems/aws-sdk-snowball/lib/aws-sdk-snowball/client.rb
@@ -2950,7 +2950,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-snowball'
- context[:gem_version] = '1.75.0'
+ context[:gem_version] = '1.76.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-snowball/lib/aws-sdk-snowball/endpoints.rb b/gems/aws-sdk-snowball/lib/aws-sdk-snowball/endpoints.rb
index 1a6502d1f62..8fe37f76f22 100644
--- a/gems/aws-sdk-snowball/lib/aws-sdk-snowball/endpoints.rb
+++ b/gems/aws-sdk-snowball/lib/aws-sdk-snowball/endpoints.rb
@@ -14,378 +14,297 @@ module Endpoints
class CancelCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLongTermPricing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReturnShippingLabel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAddresses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeReturnShippingLabel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobManifest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetJobUnlockCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSnowballUsage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSoftwareUpdates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusterJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClusters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCompatibleImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLongTermPricing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPickupLocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCluster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateJobShipmentState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLongTermPricing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Snowball::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-snowball/lib/aws-sdk-snowball/plugins/endpoints.rb b/gems/aws-sdk-snowball/lib/aws-sdk-snowball/plugins/endpoints.rb
index 85dfca5ea04..f562db11c3e 100644
--- a/gems/aws-sdk-snowball/lib/aws-sdk-snowball/plugins/endpoints.rb
+++ b/gems/aws-sdk-snowball/lib/aws-sdk-snowball/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-snowball/spec/endpoint_provider_spec.rb b/gems/aws-sdk-snowball/spec/endpoint_provider_spec.rb
index fa282836a84..37f94c9c68f 100644
--- a/gems/aws-sdk-snowball/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-snowball/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Snowball
describe EndpointProvider do
subject { Aws::Snowball::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Snowball
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Snowball
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Snowball
end
end
- context 'For region ap-northeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.ap-northeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Snowball
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.ap-northeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Snowball
end
end
- context 'For region ap-northeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.ap-northeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Snowball
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.ap-northeast-3.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Snowball
end
end
- context 'For region ap-northeast-3 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.ap-northeast-3.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Snowball
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.ap-south-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Snowball
end
end
- context 'For region ap-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.ap-south-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Snowball
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.ap-southeast-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Snowball
end
end
- context 'For region ap-southeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.ap-southeast-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Snowball
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.ap-southeast-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Snowball
end
end
- context 'For region ap-southeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.ap-southeast-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Snowball
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.ca-central-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Snowball
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.ca-central-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Snowball
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.eu-central-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Snowball
end
end
- context 'For region eu-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.eu-central-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Snowball
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.eu-north-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Snowball
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.eu-south-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Snowball
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.eu-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Snowball
end
end
- context 'For region eu-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.eu-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Snowball
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.eu-west-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Snowball
end
end
- context 'For region eu-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.eu-west-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Snowball
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.eu-west-3.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Snowball
end
end
- context 'For region eu-west-3 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.eu-west-3.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Snowball
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.sa-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::Snowball
end
end
- context 'For region sa-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.sa-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::Snowball
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.us-east-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::Snowball
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.us-east-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::Snowball
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.us-east-2.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::Snowball
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.us-east-2.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::Snowball
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.us-west-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::Snowball
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.us-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Snowball
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.us-west-2.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Snowball
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.us-west-2.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Snowball
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.us-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::Snowball
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.us-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::Snowball
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.cn-north-1.amazonaws.com.cn"}}
end
@@ -560,7 +560,7 @@ module Aws::Snowball
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -574,7 +574,7 @@ module Aws::Snowball
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -588,7 +588,7 @@ module Aws::Snowball
end
end
- context 'For region cn-northwest-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -602,7 +602,7 @@ module Aws::Snowball
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -616,7 +616,7 @@ module Aws::Snowball
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -630,7 +630,7 @@ module Aws::Snowball
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.us-gov-east-1.amazonaws.com"}}
end
@@ -644,7 +644,7 @@ module Aws::Snowball
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -658,7 +658,7 @@ module Aws::Snowball
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.us-gov-west-1.amazonaws.com"}}
end
@@ -672,7 +672,7 @@ module Aws::Snowball
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -686,7 +686,7 @@ module Aws::Snowball
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.us-gov-east-1.api.aws"}}
end
@@ -700,7 +700,7 @@ module Aws::Snowball
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.us-gov-east-1.api.aws"}}
end
@@ -714,7 +714,7 @@ module Aws::Snowball
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.us-iso-east-1.c2s.ic.gov"}}
end
@@ -728,7 +728,7 @@ module Aws::Snowball
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -741,7 +741,7 @@ module Aws::Snowball
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -755,7 +755,7 @@ module Aws::Snowball
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -768,7 +768,7 @@ module Aws::Snowball
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -782,7 +782,7 @@ module Aws::Snowball
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -795,7 +795,7 @@ module Aws::Snowball
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snowball-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -809,7 +809,7 @@ module Aws::Snowball
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -822,7 +822,7 @@ module Aws::Snowball
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -836,7 +836,7 @@ module Aws::Snowball
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -850,7 +850,7 @@ module Aws::Snowball
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -863,7 +863,7 @@ module Aws::Snowball
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -876,7 +876,7 @@ module Aws::Snowball
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-snowdevicemanagement/CHANGELOG.md b/gems/aws-sdk-snowdevicemanagement/CHANGELOG.md
index 8e271f1aca5..cac0a715f0c 100644
--- a/gems/aws-sdk-snowdevicemanagement/CHANGELOG.md
+++ b/gems/aws-sdk-snowdevicemanagement/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.28.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.27.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-snowdevicemanagement/VERSION b/gems/aws-sdk-snowdevicemanagement/VERSION
index 5db08bf2dc5..cfc730712d5 100644
--- a/gems/aws-sdk-snowdevicemanagement/VERSION
+++ b/gems/aws-sdk-snowdevicemanagement/VERSION
@@ -1 +1 @@
-1.27.0
+1.28.0
diff --git a/gems/aws-sdk-snowdevicemanagement/aws-sdk-snowdevicemanagement.gemspec b/gems/aws-sdk-snowdevicemanagement/aws-sdk-snowdevicemanagement.gemspec
index 46efb9e0884..de98dc4477d 100644
--- a/gems/aws-sdk-snowdevicemanagement/aws-sdk-snowdevicemanagement.gemspec
+++ b/gems/aws-sdk-snowdevicemanagement/aws-sdk-snowdevicemanagement.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-snowdevicemanagement/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement.rb b/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement.rb
index 9f0a9d822b3..61b9c7c2146 100644
--- a/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement.rb
+++ b/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SnowDeviceManagement
- GEM_VERSION = '1.27.0'
+ GEM_VERSION = '1.28.0'
end
diff --git a/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/client.rb b/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/client.rb
index b9874acc1f1..e06582f8f34 100644
--- a/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/client.rb
+++ b/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/client.rb
@@ -1045,7 +1045,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-snowdevicemanagement'
- context[:gem_version] = '1.27.0'
+ context[:gem_version] = '1.28.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/endpoints.rb b/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/endpoints.rb
index 7b091185915..19b905a48d5 100644
--- a/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/endpoints.rb
+++ b/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/endpoints.rb
@@ -14,182 +14,143 @@ module Endpoints
class CancelTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDeviceEc2Instances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeviceResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SnowDeviceManagement::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/plugins/endpoints.rb b/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/plugins/endpoints.rb
index 50015ef89dd..b5e4c90c7f8 100644
--- a/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/plugins/endpoints.rb
+++ b/gems/aws-sdk-snowdevicemanagement/lib/aws-sdk-snowdevicemanagement/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-snowdevicemanagement/spec/endpoint_provider_spec.rb b/gems/aws-sdk-snowdevicemanagement/spec/endpoint_provider_spec.rb
index bf7eab189d4..a990c29db85 100644
--- a/gems/aws-sdk-snowdevicemanagement/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-snowdevicemanagement/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SnowDeviceManagement
describe EndpointProvider do
subject { Aws::SnowDeviceManagement::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://snow-device-management.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::SnowDeviceManagement
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-sns/CHANGELOG.md b/gems/aws-sdk-sns/CHANGELOG.md
index 39b493ae0ff..99ccf13af77 100644
--- a/gems/aws-sdk-sns/CHANGELOG.md
+++ b/gems/aws-sdk-sns/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.85.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.84.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-sns/VERSION b/gems/aws-sdk-sns/VERSION
index bd0f9e6c28f..f288d11142d 100644
--- a/gems/aws-sdk-sns/VERSION
+++ b/gems/aws-sdk-sns/VERSION
@@ -1 +1 @@
-1.84.0
+1.85.0
diff --git a/gems/aws-sdk-sns/aws-sdk-sns.gemspec b/gems/aws-sdk-sns/aws-sdk-sns.gemspec
index 8cc525e6af6..18c09d0ff29 100644
--- a/gems/aws-sdk-sns/aws-sdk-sns.gemspec
+++ b/gems/aws-sdk-sns/aws-sdk-sns.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sns/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-sns/lib/aws-sdk-sns.rb b/gems/aws-sdk-sns/lib/aws-sdk-sns.rb
index 26ec56ef2e6..4f2b597753a 100644
--- a/gems/aws-sdk-sns/lib/aws-sdk-sns.rb
+++ b/gems/aws-sdk-sns/lib/aws-sdk-sns.rb
@@ -56,6 +56,6 @@
# @!group service
module Aws::SNS
- GEM_VERSION = '1.84.0'
+ GEM_VERSION = '1.85.0'
end
diff --git a/gems/aws-sdk-sns/lib/aws-sdk-sns/client.rb b/gems/aws-sdk-sns/lib/aws-sdk-sns/client.rb
index 02805319ee4..291a2d695dc 100644
--- a/gems/aws-sdk-sns/lib/aws-sdk-sns/client.rb
+++ b/gems/aws-sdk-sns/lib/aws-sdk-sns/client.rb
@@ -2991,7 +2991,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-sns'
- context[:gem_version] = '1.84.0'
+ context[:gem_version] = '1.85.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-sns/lib/aws-sdk-sns/endpoints.rb b/gems/aws-sdk-sns/lib/aws-sdk-sns/endpoints.rb
index 5711c2517f3..fa6a3d921b4 100644
--- a/gems/aws-sdk-sns/lib/aws-sdk-sns/endpoints.rb
+++ b/gems/aws-sdk-sns/lib/aws-sdk-sns/endpoints.rb
@@ -14,588 +14,462 @@ module Endpoints
class AddPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckIfPhoneNumberIsOptedOut
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ConfirmSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePlatformApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePlatformEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSMSSandboxPhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTopic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEndpoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePlatformApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSMSSandboxPhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTopic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDataProtectionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEndpointAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPlatformApplicationAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSMSAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSMSSandboxAccountStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSubscriptionAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTopicAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEndpointsByPlatformApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOriginationNumbers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPhoneNumbersOptedOut
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPlatformApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSMSSandboxPhoneNumbers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscriptionsByTopic
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTopics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class OptInPhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Publish
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PublishBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutDataProtectionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemovePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetEndpointAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetPlatformApplicationAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetSMSAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetSubscriptionAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetTopicAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Subscribe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Unsubscribe
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class VerifySMSSandboxPhoneNumber
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SNS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-sns/lib/aws-sdk-sns/plugins/endpoints.rb b/gems/aws-sdk-sns/lib/aws-sdk-sns/plugins/endpoints.rb
index 18396743184..da8dbeab10f 100644
--- a/gems/aws-sdk-sns/lib/aws-sdk-sns/plugins/endpoints.rb
+++ b/gems/aws-sdk-sns/lib/aws-sdk-sns/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-sns/spec/endpoint_provider_spec.rb b/gems/aws-sdk-sns/spec/endpoint_provider_spec.rb
index 855493be933..7aa4d3a6c80 100644
--- a/gems/aws-sdk-sns/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-sns/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SNS
describe EndpointProvider do
subject { Aws::SNS::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SNS
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SNS
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SNS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SNS
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SNS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SNS
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SNS
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SNS
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SNS
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SNS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SNS
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SNS
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SNS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SNS
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SNS
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SNS
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SNS
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SNS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SNS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::SNS
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SNS
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::SNS
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::SNS
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::SNS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::SNS
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::SNS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::SNS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::SNS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::SNS
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::SNS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::SNS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::SNS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::SNS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::SNS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::SNS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::SNS
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::SNS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::SNS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::SNS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::SNS
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::SNS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::SNS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::SNS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::SNS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::SNS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::SNS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sns-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::SNS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::SNS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::SNS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::SNS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::SNS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::SNS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-sqs/CHANGELOG.md b/gems/aws-sdk-sqs/CHANGELOG.md
index 372b67abc16..23a74180e35 100644
--- a/gems/aws-sdk-sqs/CHANGELOG.md
+++ b/gems/aws-sdk-sqs/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.83.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.82.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-sqs/VERSION b/gems/aws-sdk-sqs/VERSION
index 71fae54fb27..6b4de0a42b0 100644
--- a/gems/aws-sdk-sqs/VERSION
+++ b/gems/aws-sdk-sqs/VERSION
@@ -1 +1 @@
-1.82.0
+1.83.0
diff --git a/gems/aws-sdk-sqs/aws-sdk-sqs.gemspec b/gems/aws-sdk-sqs/aws-sdk-sqs.gemspec
index bd613a5aba4..58656a3119c 100644
--- a/gems/aws-sdk-sqs/aws-sdk-sqs.gemspec
+++ b/gems/aws-sdk-sqs/aws-sdk-sqs.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-sqs/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-sqs/lib/aws-sdk-sqs.rb b/gems/aws-sdk-sqs/lib/aws-sdk-sqs.rb
index c3a6bb35d28..9b4e1004fae 100644
--- a/gems/aws-sdk-sqs/lib/aws-sdk-sqs.rb
+++ b/gems/aws-sdk-sqs/lib/aws-sdk-sqs.rb
@@ -54,6 +54,6 @@
# @!group service
module Aws::SQS
- GEM_VERSION = '1.82.0'
+ GEM_VERSION = '1.83.0'
end
diff --git a/gems/aws-sdk-sqs/lib/aws-sdk-sqs/client.rb b/gems/aws-sdk-sqs/lib/aws-sdk-sqs/client.rb
index 188d9315fa1..65c4d7c472d 100644
--- a/gems/aws-sdk-sqs/lib/aws-sdk-sqs/client.rb
+++ b/gems/aws-sdk-sqs/lib/aws-sdk-sqs/client.rb
@@ -2904,7 +2904,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-sqs'
- context[:gem_version] = '1.82.0'
+ context[:gem_version] = '1.83.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-sqs/lib/aws-sdk-sqs/endpoints.rb b/gems/aws-sdk-sqs/lib/aws-sdk-sqs/endpoints.rb
index 13d38d2dca7..15dbd7750aa 100644
--- a/gems/aws-sdk-sqs/lib/aws-sdk-sqs/endpoints.rb
+++ b/gems/aws-sdk-sqs/lib/aws-sdk-sqs/endpoints.rb
@@ -14,322 +14,253 @@ module Endpoints
class AddPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelMessageMoveTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ChangeMessageVisibility
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ChangeMessageVisibilityBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMessageBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueueAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetQueueUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDeadLetterSourceQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMessageMoveTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueueTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQueues
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PurgeQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ReceiveMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemovePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendMessage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendMessageBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetQueueAttributes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMessageMoveTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagQueue
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SQS::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-sqs/lib/aws-sdk-sqs/plugins/endpoints.rb b/gems/aws-sdk-sqs/lib/aws-sdk-sqs/plugins/endpoints.rb
index d5bbf083776..e41623034d5 100644
--- a/gems/aws-sdk-sqs/lib/aws-sdk-sqs/plugins/endpoints.rb
+++ b/gems/aws-sdk-sqs/lib/aws-sdk-sqs/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-sqs/spec/endpoint_provider_spec.rb b/gems/aws-sdk-sqs/spec/endpoint_provider_spec.rb
index be8dd7ceefa..f9a870bac46 100644
--- a/gems/aws-sdk-sqs/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-sqs/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SQS
describe EndpointProvider do
subject { Aws::SQS::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SQS
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SQS
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SQS
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SQS
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SQS
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SQS
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SQS
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SQS
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SQS
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SQS
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SQS
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SQS
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SQS
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SQS
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SQS
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SQS
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SQS
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SQS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SQS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::SQS
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SQS
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::SQS
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::SQS
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::SQS
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::SQS
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::SQS
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::SQS
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::SQS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::SQS
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::SQS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::SQS
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::SQS
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::SQS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::SQS
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::SQS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs-fips.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::SQS
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-gov-east-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::SQS
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::SQS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-iso-east-1.c2s.ic.gov"}}
end
@@ -560,7 +560,7 @@ module Aws::SQS
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-iso-west-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::SQS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -587,7 +587,7 @@ module Aws::SQS
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -601,7 +601,7 @@ module Aws::SQS
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -614,7 +614,7 @@ module Aws::SQS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -628,7 +628,7 @@ module Aws::SQS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -641,7 +641,7 @@ module Aws::SQS
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sqs-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -655,7 +655,7 @@ module Aws::SQS
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -668,7 +668,7 @@ module Aws::SQS
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::SQS
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::SQS
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::SQS
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::SQS
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ssm/CHANGELOG.md b/gems/aws-sdk-ssm/CHANGELOG.md
index a60e9875d12..6cd8d7c75ac 100644
--- a/gems/aws-sdk-ssm/CHANGELOG.md
+++ b/gems/aws-sdk-ssm/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.179.0 (2024-09-17)
+------------------
+
+* Feature - Support for additional levels of cross-account, cross-Region organizational units in Automation. Various documentation updates.
+
+1.178.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.177.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ssm/VERSION b/gems/aws-sdk-ssm/VERSION
index d27bb5e44bf..396441d8423 100644
--- a/gems/aws-sdk-ssm/VERSION
+++ b/gems/aws-sdk-ssm/VERSION
@@ -1 +1 @@
-1.177.0
+1.179.0
diff --git a/gems/aws-sdk-ssm/aws-sdk-ssm.gemspec b/gems/aws-sdk-ssm/aws-sdk-ssm.gemspec
index 7c3d02d4ccf..7b72354be38 100644
--- a/gems/aws-sdk-ssm/aws-sdk-ssm.gemspec
+++ b/gems/aws-sdk-ssm/aws-sdk-ssm.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ssm/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ssm/lib/aws-sdk-ssm.rb b/gems/aws-sdk-ssm/lib/aws-sdk-ssm.rb
index 77bbf38f9b1..9610935962b 100644
--- a/gems/aws-sdk-ssm/lib/aws-sdk-ssm.rb
+++ b/gems/aws-sdk-ssm/lib/aws-sdk-ssm.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::SSM
- GEM_VERSION = '1.177.0'
+ GEM_VERSION = '1.179.0'
end
diff --git a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client.rb b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client.rb
index ee565b68f21..1e3cfe1b1d5 100644
--- a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client.rb
+++ b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client.rb
@@ -678,9 +678,9 @@ def cancel_maintenance_window_execution(params = {}, options = {})
# capabilities. You use the activation code and ID when installing SSM
# Agent on machines in your hybrid environment. For more information
# about requirements for managing on-premises machines using Systems
- # Manager, see [Setting up Amazon Web Services Systems Manager for
- # hybrid and multicloud environments][1] in the *Amazon Web Services
- # Systems Manager User Guide*.
+ # Manager, see [Using Amazon Web Services Systems Manager in hybrid and
+ # multicloud environments][1] in the *Amazon Web Services Systems
+ # Manager User Guide*.
#
# Amazon Elastic Compute Cloud (Amazon EC2) instances, edge devices, and
# on-premises servers and VMs that are configured for Systems Manager
@@ -690,7 +690,7 @@ def cancel_maintenance_window_execution(params = {}, options = {})
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-managedinstances.html
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/systems-manager-hybrid-multicloud.html
#
# @option params [String] :description
# A user-defined description of the resource that you want to register
@@ -710,9 +710,9 @@ def cancel_maintenance_window_execution(params = {}, options = {})
# want to assign to the managed node. This IAM role must provide
# AssumeRole permissions for the Amazon Web Services Systems Manager
# service principal `ssm.amazonaws.com`. For more information, see
- # [Create an IAM service role for a hybrid and multicloud
- # environment][1] in the *Amazon Web Services Systems Manager User
- # Guide*.
+ # [Create the IAM service role required for Systems Manager in a hybrid
+ # and multicloud environments][1] in the *Amazon Web Services Systems
+ # Manager User Guide*.
#
# You can't specify an IAM service-linked role for this parameter. You
# must create a unique role.
@@ -721,7 +721,7 @@ def cancel_maintenance_window_execution(params = {}, options = {})
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/hybrid-multicloud-service-role.html
#
# @option params [Integer] :registration_limit
# Specify the maximum number of managed nodes you want to register. The
@@ -729,7 +729,7 @@ def cancel_maintenance_window_execution(params = {}, options = {})
#
# @option params [Time,DateTime,Date,Integer,String] :expiration_date
# The date by which this activation request should expire, in timestamp
- # format, such as "2021-07-07T00:00:00". You can specify a date up to
+ # format, such as "2024-07-07T00:00:00". You can specify a date up to
# 30 days in advance. If you don't provide an expiration date, the
# activation code expires in 24 hours.
#
@@ -876,9 +876,10 @@ def create_activation(params = {}, options = {})
# Amazon Web Services account, or individual managed node IDs. You can
# target all managed nodes in an Amazon Web Services account by
# specifying the `InstanceIds` key with a value of `*`. For more
- # information about choosing targets for an association, see [About
- # targets and rate controls in State Manager associations][1] in the
- # *Amazon Web Services Systems Manager User Guide*.
+ # information about choosing targets for an association, see
+ # [Understanding targets and rate controls in State Manager
+ # associations][1] in the *Amazon Web Services Systems Manager User
+ # Guide*.
#
#
#
@@ -1072,6 +1073,16 @@ def create_activation(params = {}, options = {})
# },
# ],
# },
+ # include_child_organization_units: false,
+ # exclude_accounts: ["ExcludeAccount"],
+ # targets: [
+ # {
+ # key: "TargetKey",
+ # values: ["TargetValue"],
+ # },
+ # ],
+ # targets_max_concurrency: "MaxConcurrency",
+ # targets_max_errors: "MaxErrors",
# },
# ],
# schedule_offset: 1,
@@ -1147,6 +1158,15 @@ def create_activation(params = {}, options = {})
# resp.association_description.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.association_description.target_locations[0].include_child_organization_units #=> Boolean
+ # resp.association_description.target_locations[0].exclude_accounts #=> Array
+ # resp.association_description.target_locations[0].exclude_accounts[0] #=> String
+ # resp.association_description.target_locations[0].targets #=> Array
+ # resp.association_description.target_locations[0].targets[0].key #=> String
+ # resp.association_description.target_locations[0].targets[0].values #=> Array
+ # resp.association_description.target_locations[0].targets[0].values[0] #=> String
+ # resp.association_description.target_locations[0].targets_max_concurrency #=> String
+ # resp.association_description.target_locations[0].targets_max_errors #=> String
# resp.association_description.schedule_offset #=> Integer
# resp.association_description.duration #=> Integer
# resp.association_description.target_maps #=> Array
@@ -1237,6 +1257,16 @@ def create_association(params = {}, options = {})
# },
# ],
# },
+ # include_child_organization_units: false,
+ # exclude_accounts: ["ExcludeAccount"],
+ # targets: [
+ # {
+ # key: "TargetKey",
+ # values: ["TargetValue"],
+ # },
+ # ],
+ # targets_max_concurrency: "MaxConcurrency",
+ # targets_max_errors: "MaxErrors",
# },
# ],
# schedule_offset: 1,
@@ -1309,6 +1339,15 @@ def create_association(params = {}, options = {})
# resp.successful[0].target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.successful[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
# resp.successful[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.successful[0].target_locations[0].include_child_organization_units #=> Boolean
+ # resp.successful[0].target_locations[0].exclude_accounts #=> Array
+ # resp.successful[0].target_locations[0].exclude_accounts[0] #=> String
+ # resp.successful[0].target_locations[0].targets #=> Array
+ # resp.successful[0].target_locations[0].targets[0].key #=> String
+ # resp.successful[0].target_locations[0].targets[0].values #=> Array
+ # resp.successful[0].target_locations[0].targets[0].values[0] #=> String
+ # resp.successful[0].target_locations[0].targets_max_concurrency #=> String
+ # resp.successful[0].target_locations[0].targets_max_errors #=> String
# resp.successful[0].schedule_offset #=> Integer
# resp.successful[0].duration #=> Integer
# resp.successful[0].target_maps #=> Array
@@ -1356,6 +1395,15 @@ def create_association(params = {}, options = {})
# resp.failed[0].entry.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.failed[0].entry.target_locations[0].target_location_alarm_configuration.alarms #=> Array
# resp.failed[0].entry.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.failed[0].entry.target_locations[0].include_child_organization_units #=> Boolean
+ # resp.failed[0].entry.target_locations[0].exclude_accounts #=> Array
+ # resp.failed[0].entry.target_locations[0].exclude_accounts[0] #=> String
+ # resp.failed[0].entry.target_locations[0].targets #=> Array
+ # resp.failed[0].entry.target_locations[0].targets[0].key #=> String
+ # resp.failed[0].entry.target_locations[0].targets[0].values #=> Array
+ # resp.failed[0].entry.target_locations[0].targets[0].values[0] #=> String
+ # resp.failed[0].entry.target_locations[0].targets_max_concurrency #=> String
+ # resp.failed[0].entry.target_locations[0].targets_max_errors #=> String
# resp.failed[0].entry.schedule_offset #=> Integer
# resp.failed[0].entry.duration #=> Integer
# resp.failed[0].entry.target_maps #=> Array
@@ -1386,7 +1434,7 @@ def create_association_batch(params = {}, options = {})
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-ssm-docs.html
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/documents.html
#
# @option params [required, String] :content
# The content for the new SSM document in JSON or YAML format. The
@@ -2021,7 +2069,7 @@ def create_ops_metadata(params = {}, options = {})
# A list of explicitly approved patches for the baseline.
#
# For information about accepted formats for lists of approved patches
- # and rejected patches, see [About package name formats for approved and
+ # and rejected patches, see [Package name formats for approved and
# rejected patch lists][1] in the *Amazon Web Services Systems Manager
# User Guide*.
#
@@ -2043,7 +2091,7 @@ def create_ops_metadata(params = {}, options = {})
# A list of explicitly rejected patches for the baseline.
#
# For information about accepted formats for lists of approved patches
- # and rejected patches, see [About package name formats for approved and
+ # and rejected patches, see [Package name formats for approved and
# rejected patch lists][1] in the *Amazon Web Services Systems Manager
# User Guide*.
#
@@ -2186,7 +2234,7 @@ def create_patch_baseline(params = {}, options = {})
# You can configure Systems Manager Inventory to use the
# `SyncToDestination` type to synchronize Inventory data from multiple
# Amazon Web Services Regions to a single Amazon Simple Storage Service
- # (Amazon S3) bucket. For more information, see [Configuring resource
+ # (Amazon S3) bucket. For more information, see [Creatinga a resource
# data sync for Inventory][1] in the *Amazon Web Services Systems
# Manager User Guide*.
#
@@ -2214,7 +2262,7 @@ def create_patch_baseline(params = {}, options = {})
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-datasync.html
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/inventory-create-resource-data-sync.html
# [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/Explorer-resource-data-sync.html
#
# @option params [required, String] :sync_name
@@ -3022,6 +3070,15 @@ def describe_activations(params = {}, options = {})
# resp.association_description.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.association_description.target_locations[0].include_child_organization_units #=> Boolean
+ # resp.association_description.target_locations[0].exclude_accounts #=> Array
+ # resp.association_description.target_locations[0].exclude_accounts[0] #=> String
+ # resp.association_description.target_locations[0].targets #=> Array
+ # resp.association_description.target_locations[0].targets[0].key #=> String
+ # resp.association_description.target_locations[0].targets[0].values #=> Array
+ # resp.association_description.target_locations[0].targets[0].values[0] #=> String
+ # resp.association_description.target_locations[0].targets_max_concurrency #=> String
+ # resp.association_description.target_locations[0].targets_max_errors #=> String
# resp.association_description.schedule_offset #=> Integer
# resp.association_description.duration #=> Integer
# resp.association_description.target_maps #=> Array
@@ -3270,6 +3327,7 @@ def describe_association_executions(params = {}, options = {})
# resp.automation_execution_metadata_list[0].triggered_alarms #=> Array
# resp.automation_execution_metadata_list[0].triggered_alarms[0].name #=> String
# resp.automation_execution_metadata_list[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
+ # resp.automation_execution_metadata_list[0].target_locations_url #=> String
# resp.automation_execution_metadata_list[0].automation_subtype #=> String, one of "ChangeRequest"
# resp.automation_execution_metadata_list[0].scheduled_time #=> Time
# resp.automation_execution_metadata_list[0].runbooks #=> Array
@@ -3300,6 +3358,15 @@ def describe_association_executions(params = {}, options = {})
# resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
# resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].include_child_organization_units #=> Boolean
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].exclude_accounts #=> Array
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].exclude_accounts[0] #=> String
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].targets #=> Array
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].targets[0].key #=> String
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].targets[0].values #=> Array
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].targets[0].values[0] #=> String
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].targets_max_concurrency #=> String
+ # resp.automation_execution_metadata_list[0].runbooks[0].target_locations[0].targets_max_errors #=> String
# resp.automation_execution_metadata_list[0].ops_item_id #=> String
# resp.automation_execution_metadata_list[0].association_id #=> String
# resp.automation_execution_metadata_list[0].change_request_name #=> String
@@ -3407,6 +3474,15 @@ def describe_automation_executions(params = {}, options = {})
# resp.step_executions[0].target_location.target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.step_executions[0].target_location.target_location_alarm_configuration.alarms #=> Array
# resp.step_executions[0].target_location.target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.step_executions[0].target_location.include_child_organization_units #=> Boolean
+ # resp.step_executions[0].target_location.exclude_accounts #=> Array
+ # resp.step_executions[0].target_location.exclude_accounts[0] #=> String
+ # resp.step_executions[0].target_location.targets #=> Array
+ # resp.step_executions[0].target_location.targets[0].key #=> String
+ # resp.step_executions[0].target_location.targets[0].values #=> Array
+ # resp.step_executions[0].target_location.targets[0].values[0] #=> String
+ # resp.step_executions[0].target_location.targets_max_concurrency #=> String
+ # resp.step_executions[0].target_location.targets_max_errors #=> String
# resp.step_executions[0].triggered_alarms #=> Array
# resp.step_executions[0].triggered_alarms[0].name #=> String
# resp.step_executions[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
@@ -4191,9 +4267,8 @@ def describe_instance_patch_states_for_patch_group(params = {}, options = {})
# Sample values: `Installed` \| `InstalledOther` \|
# `InstalledPendingReboot`
#
- # For lists of all `State` values, see [Understanding patch compliance
- # state values][1] in the *Amazon Web Services Systems Manager User
- # Guide*.
+ # For lists of all `State` values, see [Patch compliance state
+ # values][1] in the *Amazon Web Services Systems Manager User Guide*.
#
#
#
@@ -4551,7 +4626,7 @@ def describe_maintenance_window_execution_tasks(params = {}, options = {})
#
# * Values. An array of strings, each between 1 and 256 characters.
# Supported values are date/time strings in a valid ISO 8601 date/time
- # format, such as `2021-11-04T05:00:00Z`.
+ # format, such as `2024-11-04T05:00:00Z`.
#
# @option params [Integer] :max_results
# The maximum number of items to return for this call. The call also
@@ -5659,6 +5734,15 @@ def disassociate_ops_item_related_item(params = {}, options = {})
# resp.automation_execution.step_executions[0].target_location.target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.automation_execution.step_executions[0].target_location.target_location_alarm_configuration.alarms #=> Array
# resp.automation_execution.step_executions[0].target_location.target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.automation_execution.step_executions[0].target_location.include_child_organization_units #=> Boolean
+ # resp.automation_execution.step_executions[0].target_location.exclude_accounts #=> Array
+ # resp.automation_execution.step_executions[0].target_location.exclude_accounts[0] #=> String
+ # resp.automation_execution.step_executions[0].target_location.targets #=> Array
+ # resp.automation_execution.step_executions[0].target_location.targets[0].key #=> String
+ # resp.automation_execution.step_executions[0].target_location.targets[0].values #=> Array
+ # resp.automation_execution.step_executions[0].target_location.targets[0].values[0] #=> String
+ # resp.automation_execution.step_executions[0].target_location.targets_max_concurrency #=> String
+ # resp.automation_execution.step_executions[0].target_location.targets_max_errors #=> String
# resp.automation_execution.step_executions[0].triggered_alarms #=> Array
# resp.automation_execution.step_executions[0].triggered_alarms[0].name #=> String
# resp.automation_execution.step_executions[0].triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
@@ -5706,6 +5790,15 @@ def disassociate_ops_item_related_item(params = {}, options = {})
# resp.automation_execution.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.automation_execution.target_locations[0].target_location_alarm_configuration.alarms #=> Array
# resp.automation_execution.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.automation_execution.target_locations[0].include_child_organization_units #=> Boolean
+ # resp.automation_execution.target_locations[0].exclude_accounts #=> Array
+ # resp.automation_execution.target_locations[0].exclude_accounts[0] #=> String
+ # resp.automation_execution.target_locations[0].targets #=> Array
+ # resp.automation_execution.target_locations[0].targets[0].key #=> String
+ # resp.automation_execution.target_locations[0].targets[0].values #=> Array
+ # resp.automation_execution.target_locations[0].targets[0].values[0] #=> String
+ # resp.automation_execution.target_locations[0].targets_max_concurrency #=> String
+ # resp.automation_execution.target_locations[0].targets_max_errors #=> String
# resp.automation_execution.progress_counters.total_steps #=> Integer
# resp.automation_execution.progress_counters.success_steps #=> Integer
# resp.automation_execution.progress_counters.failed_steps #=> Integer
@@ -5717,6 +5810,7 @@ def disassociate_ops_item_related_item(params = {}, options = {})
# resp.automation_execution.triggered_alarms #=> Array
# resp.automation_execution.triggered_alarms[0].name #=> String
# resp.automation_execution.triggered_alarms[0].state #=> String, one of "UNKNOWN", "ALARM"
+ # resp.automation_execution.target_locations_url #=> String
# resp.automation_execution.automation_subtype #=> String, one of "ChangeRequest"
# resp.automation_execution.scheduled_time #=> Time
# resp.automation_execution.runbooks #=> Array
@@ -5747,6 +5841,15 @@ def disassociate_ops_item_related_item(params = {}, options = {})
# resp.automation_execution.runbooks[0].target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.automation_execution.runbooks[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
# resp.automation_execution.runbooks[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.automation_execution.runbooks[0].target_locations[0].include_child_organization_units #=> Boolean
+ # resp.automation_execution.runbooks[0].target_locations[0].exclude_accounts #=> Array
+ # resp.automation_execution.runbooks[0].target_locations[0].exclude_accounts[0] #=> String
+ # resp.automation_execution.runbooks[0].target_locations[0].targets #=> Array
+ # resp.automation_execution.runbooks[0].target_locations[0].targets[0].key #=> String
+ # resp.automation_execution.runbooks[0].target_locations[0].targets[0].values #=> Array
+ # resp.automation_execution.runbooks[0].target_locations[0].targets[0].values[0] #=> String
+ # resp.automation_execution.runbooks[0].target_locations[0].targets_max_concurrency #=> String
+ # resp.automation_execution.runbooks[0].target_locations[0].targets_max_errors #=> String
# resp.automation_execution.ops_item_id #=> String
# resp.automation_execution.association_id #=> String
# resp.automation_execution.change_request_name #=> String
@@ -6894,7 +6997,7 @@ def get_ops_summary(params = {}, options = {})
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sharing.html
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-shared-parameters.html
#
# @option params [Boolean] :with_decryption
# Return decrypted values for secure string parameters. This flag is
@@ -7554,6 +7657,15 @@ def label_parameter_version(params = {}, options = {})
# resp.association_versions[0].target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.association_versions[0].target_locations[0].target_location_alarm_configuration.alarms #=> Array
# resp.association_versions[0].target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.association_versions[0].target_locations[0].include_child_organization_units #=> Boolean
+ # resp.association_versions[0].target_locations[0].exclude_accounts #=> Array
+ # resp.association_versions[0].target_locations[0].exclude_accounts[0] #=> String
+ # resp.association_versions[0].target_locations[0].targets #=> Array
+ # resp.association_versions[0].target_locations[0].targets[0].key #=> String
+ # resp.association_versions[0].target_locations[0].targets[0].values #=> Array
+ # resp.association_versions[0].target_locations[0].targets[0].values[0] #=> String
+ # resp.association_versions[0].target_locations[0].targets_max_concurrency #=> String
+ # resp.association_versions[0].target_locations[0].targets_max_errors #=> String
# resp.association_versions[0].schedule_offset #=> Integer
# resp.association_versions[0].duration #=> Integer
# resp.association_versions[0].target_maps #=> Array
@@ -9500,7 +9612,7 @@ def register_target_with_maintenance_window(params = {}, options = {})
# creating a custom policy and custom service role for running your
# maintenance window tasks. The policy can be crafted to provide only
# the permissions needed for your particular maintenance window tasks.
- # For more information, see [Setting up maintenance windows][1] in the
+ # For more information, see [Setting up Maintenance Windows][1] in the
# in the *Amazon Web Services Systems Manager User Guide*.
#
#
@@ -10254,6 +10366,9 @@ def start_associations_once(params = {}, options = {})
# A key-value mapping to target resources. Required if you specify
# TargetParameterName.
#
+ # If both this parameter and the `TargetLocation:Targets` parameter are
+ # supplied, `TargetLocation:Targets` takes precedence.
+ #
# @option params [Array] :target_maps
# A key-value mapping of document parameters to target resources. Both
# Targets and TargetMaps can't be specified together.
@@ -10263,6 +10378,9 @@ def start_associations_once(params = {}, options = {})
# You can specify a number, such as 10, or a percentage, such as 10%.
# The default value is `10`.
#
+ # If both this parameter and the `TargetLocation:TargetsMaxConcurrency`
+ # are supplied, `TargetLocation:TargetsMaxConcurrency` takes precedence.
+ #
# @option params [String] :max_errors
# The number of errors that are allowed before the system stops running
# the automation on additional targets. You can specify either an
@@ -10281,14 +10399,17 @@ def start_associations_once(params = {}, options = {})
# max-errors failed executions, set max-concurrency to 1 so the
# executions proceed one at a time.
#
+ # If this parameter and the `TargetLocation:TargetsMaxErrors` parameter
+ # are both supplied, `TargetLocation:TargetsMaxErrors` takes precedence.
+ #
# @option params [Array] :target_locations
# A location is a combination of Amazon Web Services Regions and/or
# Amazon Web Services accounts where you want to run the automation. Use
# this operation to start an automation in multiple Amazon Web Services
# Regions and multiple Amazon Web Services accounts. For more
- # information, see [Running Automation workflows in multiple Amazon Web
- # Services Regions and Amazon Web Services accounts][1] in the *Amazon
- # Web Services Systems Manager User Guide*.
+ # information, see [Running automations in multiple Amazon Web Services
+ # Regions and accounts][1] in the *Amazon Web Services Systems Manager
+ # User Guide*.
#
#
#
@@ -10314,6 +10435,11 @@ def start_associations_once(params = {}, options = {})
# @option params [Types::AlarmConfiguration] :alarm_configuration
# The CloudWatch alarm you want to apply to your automation.
#
+ # @option params [String] :target_locations_url
+ # Specify a publicly accessible URL for a file that contains the
+ # `TargetLocations` body. Currently, only files in presigned Amazon S3
+ # buckets are supported.
+ #
# @return [Types::StartAutomationExecutionResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
# * {Types::StartAutomationExecutionResult#automation_execution_id #automation_execution_id} => String
@@ -10357,6 +10483,16 @@ def start_associations_once(params = {}, options = {})
# },
# ],
# },
+ # include_child_organization_units: false,
+ # exclude_accounts: ["ExcludeAccount"],
+ # targets: [
+ # {
+ # key: "TargetKey",
+ # values: ["TargetValue"],
+ # },
+ # ],
+ # targets_max_concurrency: "MaxConcurrency",
+ # targets_max_errors: "MaxErrors",
# },
# ],
# tags: [
@@ -10373,6 +10509,7 @@ def start_associations_once(params = {}, options = {})
# },
# ],
# },
+ # target_locations_url: "TargetLocationsURL",
# })
#
# @example Response structure
@@ -10522,6 +10659,16 @@ def start_automation_execution(params = {}, options = {})
# },
# ],
# },
+ # include_child_organization_units: false,
+ # exclude_accounts: ["ExcludeAccount"],
+ # targets: [
+ # {
+ # key: "TargetKey",
+ # values: ["TargetValue"],
+ # },
+ # ],
+ # targets_max_concurrency: "MaxConcurrency",
+ # targets_max_errors: "MaxErrors",
# },
# ],
# },
@@ -11005,6 +11152,16 @@ def unlabel_parameter_version(params = {}, options = {})
# },
# ],
# },
+ # include_child_organization_units: false,
+ # exclude_accounts: ["ExcludeAccount"],
+ # targets: [
+ # {
+ # key: "TargetKey",
+ # values: ["TargetValue"],
+ # },
+ # ],
+ # targets_max_concurrency: "MaxConcurrency",
+ # targets_max_errors: "MaxErrors",
# },
# ],
# schedule_offset: 1,
@@ -11074,6 +11231,15 @@ def unlabel_parameter_version(params = {}, options = {})
# resp.association_description.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.association_description.target_locations[0].include_child_organization_units #=> Boolean
+ # resp.association_description.target_locations[0].exclude_accounts #=> Array
+ # resp.association_description.target_locations[0].exclude_accounts[0] #=> String
+ # resp.association_description.target_locations[0].targets #=> Array
+ # resp.association_description.target_locations[0].targets[0].key #=> String
+ # resp.association_description.target_locations[0].targets[0].values #=> Array
+ # resp.association_description.target_locations[0].targets[0].values[0] #=> String
+ # resp.association_description.target_locations[0].targets_max_concurrency #=> String
+ # resp.association_description.target_locations[0].targets_max_errors #=> String
# resp.association_description.schedule_offset #=> Integer
# resp.association_description.duration #=> Integer
# resp.association_description.target_maps #=> Array
@@ -11180,6 +11346,15 @@ def update_association(params = {}, options = {})
# resp.association_description.target_locations[0].target_location_alarm_configuration.ignore_poll_alarm_failure #=> Boolean
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms #=> Array
# resp.association_description.target_locations[0].target_location_alarm_configuration.alarms[0].name #=> String
+ # resp.association_description.target_locations[0].include_child_organization_units #=> Boolean
+ # resp.association_description.target_locations[0].exclude_accounts #=> Array
+ # resp.association_description.target_locations[0].exclude_accounts[0] #=> String
+ # resp.association_description.target_locations[0].targets #=> Array
+ # resp.association_description.target_locations[0].targets[0].key #=> String
+ # resp.association_description.target_locations[0].targets[0].values #=> Array
+ # resp.association_description.target_locations[0].targets[0].values[0] #=> String
+ # resp.association_description.target_locations[0].targets_max_concurrency #=> String
+ # resp.association_description.target_locations[0].targets_max_errors #=> String
# resp.association_description.schedule_offset #=> Integer
# resp.association_description.duration #=> Integer
# resp.association_description.target_maps #=> Array
@@ -11728,7 +11903,7 @@ def update_maintenance_window_target(params = {}, options = {})
# creating a custom policy and custom service role for running your
# maintenance window tasks. The policy can be crafted to provide only
# the permissions needed for your particular maintenance window tasks.
- # For more information, see [Setting up maintenance windows][1] in the
+ # For more information, see [Setting up Maintenance Windows][1] in the
# in the *Amazon Web Services Systems Manager User Guide*.
#
#
@@ -12032,9 +12207,9 @@ def update_maintenance_window_task(params = {}, options = {})
# want to assign to the managed node. This IAM role must provide
# AssumeRole permissions for the Amazon Web Services Systems Manager
# service principal `ssm.amazonaws.com`. For more information, see
- # [Create an IAM service role for a hybrid and multicloud
- # environment][1] in the *Amazon Web Services Systems Manager User
- # Guide*.
+ # [Create the IAM service role required for Systems Manager in hybrid
+ # and multicloud environments][1] in the *Amazon Web Services Systems
+ # Manager User Guide*.
#
# You can't specify an IAM service-linked role for this parameter. You
# must create a unique role.
@@ -12043,7 +12218,7 @@ def update_maintenance_window_task(params = {}, options = {})
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/hybrid-multicloud-service-role.html
#
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
#
@@ -12134,9 +12309,8 @@ def update_managed_instance_role(params = {}, options = {})
# impacted resource.
#
# @option params [String] :status
- # The OpsItem status. Status can be `Open`, `In Progress`, or
- # `Resolved`. For more information, see [Editing OpsItem details][1] in
- # the *Amazon Web Services Systems Manager User Guide*.
+ # The OpsItem status. For more information, see [Editing OpsItem
+ # details][1] in the *Amazon Web Services Systems Manager User Guide*.
#
#
#
@@ -12285,7 +12459,7 @@ def update_ops_metadata(params = {}, options = {})
# A list of explicitly approved patches for the baseline.
#
# For information about accepted formats for lists of approved patches
- # and rejected patches, see [About package name formats for approved and
+ # and rejected patches, see [Package name formats for approved and
# rejected patch lists][1] in the *Amazon Web Services Systems Manager
# User Guide*.
#
@@ -12305,7 +12479,7 @@ def update_ops_metadata(params = {}, options = {})
# A list of explicitly rejected patches for the baseline.
#
# For information about accepted formats for lists of approved patches
- # and rejected patches, see [About package name formats for approved and
+ # and rejected patches, see [Package name formats for approved and
# rejected patch lists][1] in the *Amazon Web Services Systems Manager
# User Guide*.
#
@@ -12627,7 +12801,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ssm'
- context[:gem_version] = '1.177.0'
+ context[:gem_version] = '1.179.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client_api.rb b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client_api.rb
index a0a8d44fbc3..f58649a5201 100644
--- a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client_api.rb
+++ b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/client_api.rb
@@ -394,6 +394,8 @@ module ClientApi
EffectivePatch = Shapes::StructureShape.new(name: 'EffectivePatch')
EffectivePatchList = Shapes::ListShape.new(name: 'EffectivePatchList')
ErrorCount = Shapes::IntegerShape.new(name: 'ErrorCount')
+ ExcludeAccount = Shapes::StringShape.new(name: 'ExcludeAccount')
+ ExcludeAccounts = Shapes::ListShape.new(name: 'ExcludeAccounts')
ExecutionMode = Shapes::StringShape.new(name: 'ExecutionMode')
ExecutionRoleName = Shapes::StringShape.new(name: 'ExecutionRoleName')
ExpirationDate = Shapes::TimestampShape.new(name: 'ExpirationDate')
@@ -1170,6 +1172,7 @@ module ClientApi
TargetKey = Shapes::StringShape.new(name: 'TargetKey')
TargetLocation = Shapes::StructureShape.new(name: 'TargetLocation')
TargetLocations = Shapes::ListShape.new(name: 'TargetLocations')
+ TargetLocationsURL = Shapes::StringShape.new(name: 'TargetLocationsURL')
TargetMap = Shapes::MapShape.new(name: 'TargetMap')
TargetMapKey = Shapes::StringShape.new(name: 'TargetMapKey')
TargetMapValue = Shapes::StringShape.new(name: 'TargetMapValue')
@@ -1500,6 +1503,7 @@ module ClientApi
AutomationExecution.add_member(:progress_counters, Shapes::ShapeRef.new(shape: ProgressCounters, location_name: "ProgressCounters"))
AutomationExecution.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
AutomationExecution.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
+ AutomationExecution.add_member(:target_locations_url, Shapes::ShapeRef.new(shape: TargetLocationsURL, location_name: "TargetLocationsURL"))
AutomationExecution.add_member(:automation_subtype, Shapes::ShapeRef.new(shape: AutomationSubtype, location_name: "AutomationSubtype"))
AutomationExecution.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ScheduledTime"))
AutomationExecution.add_member(:runbooks, Shapes::ShapeRef.new(shape: Runbooks, location_name: "Runbooks"))
@@ -1544,6 +1548,7 @@ module ClientApi
AutomationExecutionMetadata.add_member(:automation_type, Shapes::ShapeRef.new(shape: AutomationType, location_name: "AutomationType"))
AutomationExecutionMetadata.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
AutomationExecutionMetadata.add_member(:triggered_alarms, Shapes::ShapeRef.new(shape: AlarmStateInformationList, location_name: "TriggeredAlarms"))
+ AutomationExecutionMetadata.add_member(:target_locations_url, Shapes::ShapeRef.new(shape: TargetLocationsURL, location_name: "TargetLocationsURL"))
AutomationExecutionMetadata.add_member(:automation_subtype, Shapes::ShapeRef.new(shape: AutomationSubtype, location_name: "AutomationSubtype"))
AutomationExecutionMetadata.add_member(:scheduled_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "ScheduledTime"))
AutomationExecutionMetadata.add_member(:runbooks, Shapes::ShapeRef.new(shape: Runbooks, location_name: "Runbooks"))
@@ -2489,6 +2494,8 @@ module ClientApi
EffectivePatchList.member = Shapes::ShapeRef.new(shape: EffectivePatch)
+ ExcludeAccounts.member = Shapes::ShapeRef.new(shape: ExcludeAccount)
+
FailedCreateAssociation.add_member(:entry, Shapes::ShapeRef.new(shape: CreateAssociationBatchRequestEntry, location_name: "Entry"))
FailedCreateAssociation.add_member(:message, Shapes::ShapeRef.new(shape: BatchErrorMessage, location_name: "Message"))
FailedCreateAssociation.add_member(:fault, Shapes::ShapeRef.new(shape: Fault, location_name: "Fault"))
@@ -4437,6 +4444,7 @@ module ClientApi
StartAutomationExecutionRequest.add_member(:target_locations, Shapes::ShapeRef.new(shape: TargetLocations, location_name: "TargetLocations", metadata: {"box"=>true}))
StartAutomationExecutionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
StartAutomationExecutionRequest.add_member(:alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "AlarmConfiguration"))
+ StartAutomationExecutionRequest.add_member(:target_locations_url, Shapes::ShapeRef.new(shape: TargetLocationsURL, location_name: "TargetLocationsURL"))
StartAutomationExecutionRequest.struct_class = Types::StartAutomationExecutionRequest
StartAutomationExecutionResult.add_member(:automation_execution_id, Shapes::ShapeRef.new(shape: AutomationExecutionId, location_name: "AutomationExecutionId"))
@@ -4537,6 +4545,11 @@ module ClientApi
TargetLocation.add_member(:target_location_max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "TargetLocationMaxErrors", metadata: {"box"=>true}))
TargetLocation.add_member(:execution_role_name, Shapes::ShapeRef.new(shape: ExecutionRoleName, location_name: "ExecutionRoleName", metadata: {"box"=>true}))
TargetLocation.add_member(:target_location_alarm_configuration, Shapes::ShapeRef.new(shape: AlarmConfiguration, location_name: "TargetLocationAlarmConfiguration", metadata: {"box"=>true}))
+ TargetLocation.add_member(:include_child_organization_units, Shapes::ShapeRef.new(shape: Boolean, location_name: "IncludeChildOrganizationUnits"))
+ TargetLocation.add_member(:exclude_accounts, Shapes::ShapeRef.new(shape: ExcludeAccounts, location_name: "ExcludeAccounts"))
+ TargetLocation.add_member(:targets, Shapes::ShapeRef.new(shape: Targets, location_name: "Targets"))
+ TargetLocation.add_member(:targets_max_concurrency, Shapes::ShapeRef.new(shape: MaxConcurrency, location_name: "TargetsMaxConcurrency"))
+ TargetLocation.add_member(:targets_max_errors, Shapes::ShapeRef.new(shape: MaxErrors, location_name: "TargetsMaxErrors"))
TargetLocation.struct_class = Types::TargetLocation
TargetLocations.member = Shapes::ShapeRef.new(shape: TargetLocation)
diff --git a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/endpoints.rb b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/endpoints.rb
index ec8369b7a2f..f78ac5261d0 100644
--- a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/endpoints.rb
+++ b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/endpoints.rb
@@ -14,1960 +14,1540 @@ module Endpoints
class AddTagsToResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateOpsItemRelatedItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelCommand
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelMaintenanceWindowExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateActivation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAssociationBatch
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMaintenanceWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOpsItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOpsMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePatchBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResourceDataSync
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteActivation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInventory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMaintenanceWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOpsItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOpsMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteParameter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePatchBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourceDataSync
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterManagedInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterPatchBaselineForPatchGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterTargetFromMaintenanceWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterTaskFromMaintenanceWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeActivations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssociationExecutionTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAssociationExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAutomationExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAutomationStepExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAvailablePatches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDocumentPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEffectiveInstanceAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEffectivePatchesForPatchBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceAssociationsStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceInformation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstancePatchStates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstancePatchStatesForPatchGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstancePatches
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInventoryDeletions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMaintenanceWindowExecutionTaskInvocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMaintenanceWindowExecutionTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMaintenanceWindowExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMaintenanceWindowSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMaintenanceWindowTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMaintenanceWindowTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMaintenanceWindows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMaintenanceWindowsForTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOpsItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePatchBaselines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePatchGroupState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePatchGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePatchProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateOpsItemRelatedItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAutomationExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCalendarState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCommandInvocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConnectionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDefaultPatchBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDeployablePatchSnapshotForInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInventory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInventorySchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMaintenanceWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMaintenanceWindowExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMaintenanceWindowExecutionTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMaintenanceWindowExecutionTaskInvocation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMaintenanceWindowTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOpsItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOpsMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOpsSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetParameter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetParameterHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetParameters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetParametersByPath
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPatchBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPatchBaselineForPatchGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceSetting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class LabelParameterVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociationVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCommandInvocations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCommands
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComplianceItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComplianceSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDocumentMetadataHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDocumentVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDocuments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInventoryEntries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOpsItemEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOpsItemRelatedItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOpsMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceComplianceSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceDataSync
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyDocumentPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutComplianceItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutInventory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutParameter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterDefaultPatchBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterPatchBaselineForPatchGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterTargetWithMaintenanceWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterTaskWithMaintenanceWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetServiceSetting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendAutomationSignal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendCommand
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAssociationsOnce
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAutomationExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartChangeRequestExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopAutomationExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UnlabelParameterVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAssociationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDocumentDefaultVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDocumentMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMaintenanceWindow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMaintenanceWindowTarget
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMaintenanceWindowTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateManagedInstanceRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOpsItem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOpsMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePatchBaseline
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResourceDataSync
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceSetting
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSM::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/plugins/endpoints.rb b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/plugins/endpoints.rb
index 44c9cf6d658..cc93467cf47 100644
--- a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/plugins/endpoints.rb
+++ b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb
index 1d332784016..08a435024f8 100644
--- a/gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb
+++ b/gems/aws-sdk-ssm/lib/aws-sdk-ssm/types.rb
@@ -1124,12 +1124,12 @@ class AttachmentInformation < Struct.new(
# * For the key *SourceUrl*, the value is an S3 bucket location. For
# example:
#
- # `"Values": [ "s3://doc-example-bucket/my-folder" ]`
+ # `"Values": [ "s3://amzn-s3-demo-bucket/my-prefix" ]`
#
# * For the key *S3FileUrl*, the value is a file in an S3 bucket. For
# example:
#
- # `"Values": [ "s3://doc-example-bucket/my-folder/my-file.py" ]`
+ # `"Values": [ "s3://amzn-s3-demo-bucket/my-prefix/my-file.py" ]`
#
# * For the key *AttachmentReference*, the value is constructed from
# the name of another SSM document in your account, a version number
@@ -1326,6 +1326,12 @@ class AutomationDefinitionVersionNotFoundException < Struct.new(
# The CloudWatch alarm that was invoked by the automation.
# @return [Array]
#
+ # @!attribute [rw] target_locations_url
+ # A publicly accessible URL for a file that contains the
+ # `TargetLocations` body. Currently, only files in presigned Amazon S3
+ # buckets are supported
+ # @return [String]
+ #
# @!attribute [rw] automation_subtype
# The subtype of the Automation operation. Currently, the only
# supported value is `ChangeRequest`.
@@ -1394,6 +1400,7 @@ class AutomationExecution < Struct.new(
:progress_counters,
:alarm_configuration,
:triggered_alarms,
+ :target_locations_url,
:automation_subtype,
:scheduled_time,
:runbooks,
@@ -1534,9 +1541,9 @@ class AutomationExecutionLimitExceededException < Struct.new(
# Use this filter with DescribeAutomationExecutions. Specify either
# Local or CrossAccount. CrossAccount is an Automation that runs in
# multiple Amazon Web Services Regions and Amazon Web Services
- # accounts. For more information, see [Running Automation workflows in
- # multiple Amazon Web Services Regions and accounts][1] in the *Amazon
- # Web Services Systems Manager User Guide*.
+ # accounts. For more information, see [Running automations in multiple
+ # Amazon Web Services Regions and accounts][1] in the *Amazon Web
+ # Services Systems Manager User Guide*.
#
#
#
@@ -1551,6 +1558,12 @@ class AutomationExecutionLimitExceededException < Struct.new(
# The CloudWatch alarm that was invoked by the automation.
# @return [Array]
#
+ # @!attribute [rw] target_locations_url
+ # A publicly accessible URL for a file that contains the
+ # `TargetLocations` body. Currently, only files in presigned Amazon S3
+ # buckets are supported
+ # @return [String]
+ #
# @!attribute [rw] automation_subtype
# The subtype of the Automation operation. Currently, the only
# supported value is `ChangeRequest`.
@@ -1612,6 +1625,7 @@ class AutomationExecutionMetadata < Struct.new(
:automation_type,
:alarm_configuration,
:triggered_alarms,
+ :target_locations_url,
:automation_subtype,
:scheduled_time,
:runbooks,
@@ -1668,9 +1682,9 @@ class AutomationStepNotFoundException < Struct.new(
# A list of explicitly approved patches for the baseline.
#
# For information about accepted formats for lists of approved patches
- # and rejected patches, see [About package name formats for approved
- # and rejected patch lists][1] in the *Amazon Web Services Systems
- # Manager User Guide*.
+ # and rejected patches, see [Package name formats for approved and
+ # rejected patch lists][1] in the *Amazon Web Services Systems Manager
+ # User Guide*.
#
#
#
@@ -1687,9 +1701,9 @@ class AutomationStepNotFoundException < Struct.new(
# A list of explicitly rejected patches for the baseline.
#
# For information about accepted formats for lists of approved patches
- # and rejected patches, see [About package name formats for approved
- # and rejected patch lists][1] in the *Amazon Web Services Systems
- # Manager User Guide*.
+ # and rejected patches, see [Package name formats for approved and
+ # rejected patch lists][1] in the *Amazon Web Services Systems Manager
+ # User Guide*.
#
#
#
@@ -2055,11 +2069,11 @@ class Command < Struct.new(
# The filter value. Valid values for each filter key are as follows:
#
# * **InvokedAfter**: Specify a timestamp to limit your results. For
- # example, specify `2021-07-07T00:00:00Z` to see a list of command
+ # example, specify `2024-07-07T00:00:00Z` to see a list of command
# executions occurring July 7, 2021, and later.
#
# * **InvokedBefore**: Specify a timestamp to limit your results. For
- # example, specify `2021-07-07T00:00:00Z` to see a list of command
+ # example, specify `2024-07-07T00:00:00Z` to see a list of command
# executions from before July 7, 2021.
#
# * **Status**: Specify a valid command status to see a list of all
@@ -2413,12 +2427,11 @@ class CommandInvocation < Struct.new(
# be stored. This was requested when issuing the command. For example,
# in the following response:
#
- # `doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript`
+ # `amzn-s3-demo-bucket/my-prefix/i-02573cafcfEXAMPLE/awsrunShellScript`
#
- # `doc-example-bucket` is the name of the S3 bucket;
+ # `amzn-s3-demo-bucket` is the name of the S3 bucket;
#
- # `ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix` is the name of the S3
- # prefix;
+ # `my-prefix` is the name of the S3 prefix;
#
# `i-02573cafcfEXAMPLE` is the managed node ID;
#
@@ -2430,12 +2443,11 @@ class CommandInvocation < Struct.new(
# command executions should be stored. This was requested when issuing
# the command. For example, in the following response:
#
- # `doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript`
+ # `amzn-s3-demo-bucket/my-prefix/i-02573cafcfEXAMPLE/awsrunShellScript`
#
- # `doc-example-bucket` is the name of the S3 bucket;
+ # `amzn-s3-demo-bucket` is the name of the S3 bucket;
#
- # `ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix` is the name of the S3
- # prefix;
+ # `my-prefix` is the name of the S3 prefix;
#
# `i-02573cafcfEXAMPLE` is the managed node ID;
#
@@ -2707,9 +2719,9 @@ class CompliantSummary < Struct.new(
# want to assign to the managed node. This IAM role must provide
# AssumeRole permissions for the Amazon Web Services Systems Manager
# service principal `ssm.amazonaws.com`. For more information, see
- # [Create an IAM service role for a hybrid and multicloud
- # environment][1] in the *Amazon Web Services Systems Manager User
- # Guide*.
+ # [Create the IAM service role required for Systems Manager in a
+ # hybrid and multicloud environments][1] in the *Amazon Web Services
+ # Systems Manager User Guide*.
#
# You can't specify an IAM service-linked role for this parameter.
# You must create a unique role.
@@ -2718,7 +2730,7 @@ class CompliantSummary < Struct.new(
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/hybrid-multicloud-service-role.html
# @return [String]
#
# @!attribute [rw] registration_limit
@@ -2728,7 +2740,7 @@ class CompliantSummary < Struct.new(
#
# @!attribute [rw] expiration_date
# The date by which this activation request should expire, in
- # timestamp format, such as "2021-07-07T00:00:00". You can specify a
+ # timestamp format, such as "2024-07-07T00:00:00". You can specify a
# date up to 30 days in advance. If you don't provide an expiration
# date, the activation code expires in 24 hours.
# @return [Time]
@@ -3099,9 +3111,10 @@ class CreateAssociationBatchResult < Struct.new(
# in an Amazon Web Services account, or individual managed node IDs.
# You can target all managed nodes in an Amazon Web Services account
# by specifying the `InstanceIds` key with a value of `*`. For more
- # information about choosing targets for an association, see [About
- # targets and rate controls in State Manager associations][1] in the
- # *Amazon Web Services Systems Manager User Guide*.
+ # information about choosing targets for an association, see
+ # [Understanding targets and rate controls in State Manager
+ # associations][1] in the *Amazon Web Services Systems Manager User
+ # Guide*.
#
#
#
@@ -3846,9 +3859,9 @@ class CreateOpsMetadataResult < Struct.new(
# A list of explicitly approved patches for the baseline.
#
# For information about accepted formats for lists of approved patches
- # and rejected patches, see [About package name formats for approved
- # and rejected patch lists][1] in the *Amazon Web Services Systems
- # Manager User Guide*.
+ # and rejected patches, see [Package name formats for approved and
+ # rejected patch lists][1] in the *Amazon Web Services Systems Manager
+ # User Guide*.
#
#
#
@@ -3871,9 +3884,9 @@ class CreateOpsMetadataResult < Struct.new(
# A list of explicitly rejected patches for the baseline.
#
# For information about accepted formats for lists of approved patches
- # and rejected patches, see [About package name formats for approved
- # and rejected patch lists][1] in the *Amazon Web Services Systems
- # Manager User Guide*.
+ # and rejected patches, see [Package name formats for approved and
+ # rejected patch lists][1] in the *Amazon Web Services Systems Manager
+ # User Guide*.
#
#
#
@@ -4178,12 +4191,12 @@ class DeleteInventoryRequest < Struct.new(
#
# @!attribute [rw] deletion_summary
# A summary of the delete operation. For more information about this
- # summary, see [Understanding the delete inventory summary][1] in the
- # *Amazon Web Services Systems Manager User Guide*.
+ # summary, see [Deleting custom inventory][1] in the *Amazon Web
+ # Services Systems Manager User Guide*.
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-custom.html#sysman-inventory-delete-summary
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/inventory-custom.html#delete-custom-inventory-summary
# @return [Types::InventoryDeletionSummary]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/DeleteInventoryResult AWS API Documentation
@@ -5372,9 +5385,9 @@ class DescribeInstancePatchStatesResult < Struct.new(
# Sample values: `Installed` \| `InstalledOther` \|
# `InstalledPendingReboot`
#
- # For lists of all `State` values, see [Understanding patch
- # compliance state values][1] in the *Amazon Web Services Systems
- # Manager User Guide*.
+ # For lists of all `State` values, see [Patch compliance state
+ # values][1] in the *Amazon Web Services Systems Manager User
+ # Guide*.
#
#
#
@@ -5647,7 +5660,7 @@ class DescribeMaintenanceWindowExecutionTasksResult < Struct.new(
#
# * Values. An array of strings, each between 1 and 256 characters.
# Supported values are date/time strings in a valid ISO 8601
- # date/time format, such as `2021-11-04T05:00:00Z`.
+ # date/time format, such as `2024-11-04T05:00:00Z`.
# @return [Array]
#
# @!attribute [rw] max_results
@@ -8428,7 +8441,7 @@ class GetMaintenanceWindowTaskRequest < Struct.new(
# creating a custom policy and custom service role for running your
# maintenance window tasks. The policy can be crafted to provide only
# the permissions needed for your particular maintenance window tasks.
- # For more information, see [Setting up maintenance windows][1] in the
+ # For more information, see [Setting up Maintenance Windows][1] in the
# in the *Amazon Web Services Systems Manager User Guide*.
#
#
@@ -8749,7 +8762,7 @@ class GetParameterHistoryResult < Struct.new(
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sharing.html
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-shared-parameters.html
# @return [String]
#
# @!attribute [rw] with_decryption
@@ -9507,19 +9520,18 @@ class InstanceAssociationStatusInfo < Struct.new(
# The name is specified as the `DefaultInstanceName` property using
# the CreateActivation command. It is applied to the managed node by
# specifying the Activation Code and Activation ID when you install
- # SSM Agent on the node, as explained in [Install SSM Agent for a
- # hybrid and multicloud environment (Linux)][1] and [Install SSM Agent
- # for a hybrid and multicloud environment (Windows)][2]. To retrieve
- # the `Name` tag of an EC2 instance, use the Amazon EC2
- # `DescribeInstances` operation. For information, see
- # [DescribeInstances][3] in the *Amazon EC2 API Reference* or
- # [describe-instances][4] in the *Amazon Web Services CLI Command
- # Reference*.
+ # SSM Agent on the node, as explained in [How to install SSM Agent on
+ # hybrid Linux nodes][1] and [How to install SSM Agent on hybrid
+ # Windows Server nodes][2]. To retrieve the `Name` tag of an EC2
+ # instance, use the Amazon EC2 `DescribeInstances` operation. For
+ # information, see [DescribeInstances][3] in the *Amazon EC2 API
+ # Reference* or [describe-instances][4] in the *Amazon Web Services
+ # CLI Command Reference*.
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-install-managed-linux.html
- # [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-install-managed-win.html
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/hybrid-multicloud-ssm-agent-install-linux.html
+ # [2]: https://docs.aws.amazon.com/systems-manager/latest/userguide/hybrid-multicloud-ssm-agent-install-windows.html
# [3]: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeInstances.html
# [4]: https://docs.aws.amazon.com/cli/latest/reference/ec2/describe-instances.html
# @return [String]
@@ -9685,8 +9697,8 @@ class InstanceInformationStringFilter < Struct.new(
# the patches specified by the default patch baseline.
#
# For more information about the `InstallOverrideList` parameter, see
- # [About the `AWS-RunPatchBaseline SSM document` ][1] in the *Amazon
- # Web Services Systems Manager User Guide*.
+ # [SSM Command document for patching: `AWS-RunPatchBaseline` ][1] in
+ # the *Amazon Web Services Systems Manager User Guide*.
#
#
#
@@ -10822,7 +10834,7 @@ class InventoryAggregator < Struct.new(
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-custom.html#sysman-inventory-delete
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/inventory-custom.html#delete-custom-inventory
# @return [Types::InventoryDeletionSummary]
#
# @!attribute [rw] last_status_update_time
@@ -10918,7 +10930,7 @@ class InventoryDeletionSummaryItem < Struct.new(
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-inventory-aggregate.html
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/inventory-aggregate.html
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/InventoryFilter AWS API Documentation
@@ -12577,7 +12589,7 @@ class MaintenanceWindowLambdaParameters < Struct.new(
# creating a custom policy and custom service role for running your
# maintenance window tasks. The policy can be crafted to provide only
# the permissions needed for your particular maintenance window tasks.
- # For more information, see [Setting up maintenance windows][1] in the
+ # For more information, see [Setting up Maintenance Windows][1] in the
# in the *Amazon Web Services Systems Manager User Guide*.
#
#
@@ -12778,7 +12790,7 @@ class MaintenanceWindowTarget < Struct.new(
# creating a custom policy and custom service role for running your
# maintenance window tasks. The policy can be crafted to provide only
# the permissions needed for your particular maintenance window tasks.
- # For more information, see [Setting up maintenance windows][1] in the
+ # For more information, see [Setting up Maintenance Windows][1] in the
# in the *Amazon Web Services Systems Manager User Guide*.
#
#
@@ -13246,9 +13258,8 @@ class OpsFilter < Struct.new(
# @return [Array]
#
# @!attribute [rw] status
- # The OpsItem status. Status can be `Open`, `In Progress`, or
- # `Resolved`. For more information, see [Editing OpsItem details][1]
- # in the *Amazon Web Services Systems Manager User Guide*.
+ # The OpsItem status. For more information, see [Editing OpsItem
+ # details][1] in the *Amazon Web Services Systems Manager User Guide*.
#
#
#
@@ -13768,8 +13779,7 @@ class OpsItemRelatedItemsFilter < Struct.new(
# @return [String]
#
# @!attribute [rw] status
- # The OpsItem status. Status can be `Open`, `In Progress`, or
- # `Resolved`.
+ # The OpsItem status.
# @return [String]
#
# @!attribute [rw] ops_item_id
@@ -14740,7 +14750,7 @@ class PatchBaselineIdentity < Struct.new(
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-compliance-about.html#sysman-compliance-monitor-patch
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/compliance-about.html#compliance-monitor-patch
# @return [String]
#
# @!attribute [rw] installed_time
@@ -14896,26 +14906,46 @@ class PatchOrchestratorFilter < Struct.new(
# For example, a value of `7` means that patches are approved seven
# days after they are released.
#
- # This parameter is marked as not required, but your request must
+ # This parameter is marked as `Required: No`, but your request must
# include a value for either `ApproveAfterDays` or `ApproveUntilDate`.
#
- #
- #
# Not supported for Debian Server or Ubuntu Server.
+ #
+ # Use caution when setting this value for Windows Server patch
+ # baselines. Because patch updates that are replaced by later updates
+ # are removed, setting too broad a value for this parameter can result
+ # in crucial patches not being installed. For more information, see
+ # the **Windows Server** tab in the topic [How security patches are
+ # selected][1] in the *Amazon Web Services Systems Manager User
+ # Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-selecting-patches.html
# @return [Integer]
#
# @!attribute [rw] approve_until_date
# The cutoff date for auto approval of released patches. Any patches
# released on or before this date are installed automatically.
#
- # Enter dates in the format `YYYY-MM-DD`. For example, `2021-12-31`.
+ # Enter dates in the format `YYYY-MM-DD`. For example, `2024-12-31`.
#
- # This parameter is marked as not required, but your request must
+ # This parameter is marked as `Required: No`, but your request must
# include a value for either `ApproveUntilDate` or `ApproveAfterDays`.
#
- #
- #
# Not supported for Debian Server or Ubuntu Server.
+ #
+ # Use caution when setting this value for Windows Server patch
+ # baselines. Because patch updates that are replaced by later updates
+ # are removed, setting too broad a value for this parameter can result
+ # in crucial patches not being installed. For more information, see
+ # the **Windows Server** tab in the topic [How security patches are
+ # selected][1] in the *Amazon Web Services Systems Manager User
+ # Guide*.
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/patch-manager-selecting-patches.html
# @return [String]
#
# @!attribute [rw] enable_non_security
@@ -15772,7 +15802,7 @@ class RegisterTargetWithMaintenanceWindowResult < Struct.new(
# creating a custom policy and custom service role for running your
# maintenance window tasks. The policy can be crafted to provide only
# the permissions needed for your particular maintenance window tasks.
- # For more information, see [Setting up maintenance windows][1] in the
+ # For more information, see [Setting up Maintenance Windows][1] in the
# in the *Amazon Web Services Systems Manager User Guide*.
#
#
@@ -17289,12 +17319,12 @@ class Session < Struct.new(
# The filter value. Valid values for each filter key are as follows:
#
# * InvokedAfter: Specify a timestamp to limit your results. For
- # example, specify 2018-08-29T00:00:00Z to see sessions that started
- # August 29, 2018, and later.
+ # example, specify 2024-08-29T00:00:00Z to see sessions that started
+ # August 29, 2024, and later.
#
# * InvokedBefore: Specify a timestamp to limit your results. For
- # example, specify 2018-08-29T00:00:00Z to see sessions that started
- # before August 29, 2018.
+ # example, specify 2024-08-29T00:00:00Z to see sessions that started
+ # before August 29, 2024.
#
# * Target: Specify a managed node to which session connections have
# been made.
@@ -17457,6 +17487,9 @@ class StartAssociationsOnceResult < Aws::EmptyStructure; end
# @!attribute [rw] targets
# A key-value mapping to target resources. Required if you specify
# TargetParameterName.
+ #
+ # If both this parameter and the `TargetLocation:Targets` parameter
+ # are supplied, `TargetLocation:Targets` takes precedence.
# @return [Array]
#
# @!attribute [rw] target_maps
@@ -17468,6 +17501,10 @@ class StartAssociationsOnceResult < Aws::EmptyStructure; end
# The maximum number of targets allowed to run this task in parallel.
# You can specify a number, such as 10, or a percentage, such as 10%.
# The default value is `10`.
+ #
+ # If both this parameter and the
+ # `TargetLocation:TargetsMaxConcurrency` are supplied,
+ # `TargetLocation:TargetsMaxConcurrency` takes precedence.
# @return [String]
#
# @!attribute [rw] max_errors
@@ -17487,6 +17524,10 @@ class StartAssociationsOnceResult < Aws::EmptyStructure; end
# fail as well. If you need to ensure that there won't be more than
# max-errors failed executions, set max-concurrency to 1 so the
# executions proceed one at a time.
+ #
+ # If this parameter and the `TargetLocation:TargetsMaxErrors`
+ # parameter are both supplied, `TargetLocation:TargetsMaxErrors` takes
+ # precedence.
# @return [String]
#
# @!attribute [rw] target_locations
@@ -17494,9 +17535,9 @@ class StartAssociationsOnceResult < Aws::EmptyStructure; end
# Amazon Web Services accounts where you want to run the automation.
# Use this operation to start an automation in multiple Amazon Web
# Services Regions and multiple Amazon Web Services accounts. For more
- # information, see [Running Automation workflows in multiple Amazon
- # Web Services Regions and Amazon Web Services accounts][1] in the
- # *Amazon Web Services Systems Manager User Guide*.
+ # information, see [Running automations in multiple Amazon Web
+ # Services Regions and accounts][1] in the *Amazon Web Services
+ # Systems Manager User Guide*.
#
#
#
@@ -17525,6 +17566,12 @@ class StartAssociationsOnceResult < Aws::EmptyStructure; end
# The CloudWatch alarm you want to apply to your automation.
# @return [Types::AlarmConfiguration]
#
+ # @!attribute [rw] target_locations_url
+ # Specify a publicly accessible URL for a file that contains the
+ # `TargetLocations` body. Currently, only files in presigned Amazon S3
+ # buckets are supported.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/StartAutomationExecutionRequest AWS API Documentation
#
class StartAutomationExecutionRequest < Struct.new(
@@ -17540,7 +17587,8 @@ class StartAutomationExecutionRequest < Struct.new(
:max_errors,
:target_locations,
:tags,
- :alarm_configuration)
+ :alarm_configuration,
+ :target_locations_url)
SENSITIVE = []
include Aws::Structure
end
@@ -18130,6 +18178,39 @@ class TargetInUseException < Struct.new(
# automation or command.
# @return [Types::AlarmConfiguration]
#
+ # @!attribute [rw] include_child_organization_units
+ # Indicates whether to include child organizational units (OUs) that
+ # are children of the targeted OUs. The default is `false`.
+ # @return [Boolean]
+ #
+ # @!attribute [rw] exclude_accounts
+ # Amazon Web Services accounts or organizational units to exclude as
+ # expanded targets.
+ # @return [Array]
+ #
+ # @!attribute [rw] targets
+ # A list of key-value mappings to target resources. If you specify
+ # values for this data type, you must also specify a value for
+ # `TargetParameterName`.
+ #
+ # This `Targets` parameter takes precedence over the
+ # `StartAutomationExecution:Targets` parameter if both are supplied.
+ # @return [Array]
+ #
+ # @!attribute [rw] targets_max_concurrency
+ # The maximum number of targets allowed to run this task in parallel.
+ # This `TargetsMaxConcurrency` takes precedence over the
+ # `StartAutomationExecution:MaxConcurrency` parameter if both are
+ # supplied.
+ # @return [String]
+ #
+ # @!attribute [rw] targets_max_errors
+ # The maximum number of errors that are allowed before the system
+ # stops running the automation on additional targets. This
+ # `TargetsMaxErrors` parameter takes precedence over the
+ # `StartAutomationExecution:MaxErrors` parameter if both are supplied.
+ # @return [String]
+ #
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/TargetLocation AWS API Documentation
#
class TargetLocation < Struct.new(
@@ -18138,17 +18219,22 @@ class TargetLocation < Struct.new(
:target_location_max_concurrency,
:target_location_max_errors,
:execution_role_name,
- :target_location_alarm_configuration)
+ :target_location_alarm_configuration,
+ :include_child_organization_units,
+ :exclude_accounts,
+ :targets,
+ :targets_max_concurrency,
+ :targets_max_errors)
SENSITIVE = []
include Aws::Structure
end
# The specified target managed node for the session isn't fully
# configured for use with Session Manager. For more information, see
- # [Getting started with Session Manager][1] in the *Amazon Web Services
- # Systems Manager User Guide*. This error is also returned if you
- # attempt to start a session on a managed node that is located in a
- # different account or Region
+ # [Setting up Session Manager][1] in the *Amazon Web Services Systems
+ # Manager User Guide*. This error is also returned if you attempt to
+ # start a session on a managed node that is located in a different
+ # account or Region
#
#
#
@@ -19134,7 +19220,7 @@ class UpdateMaintenanceWindowTargetResult < Struct.new(
# creating a custom policy and custom service role for running your
# maintenance window tasks. The policy can be crafted to provide only
# the permissions needed for your particular maintenance window tasks.
- # For more information, see [Setting up maintenance windows][1] in the
+ # For more information, see [Setting up Maintenance Windows][1] in the
# in the *Amazon Web Services Systems Manager User Guide*.
#
#
@@ -19334,7 +19420,7 @@ class UpdateMaintenanceWindowTaskRequest < Struct.new(
# creating a custom policy and custom service role for running your
# maintenance window tasks. The policy can be crafted to provide only
# the permissions needed for your particular maintenance window tasks.
- # For more information, see [Setting up maintenance windows][1] in the
+ # For more information, see [Setting up Maintenance Windows][1] in the
# in the *Amazon Web Services Systems Manager User Guide*.
#
#
@@ -19433,9 +19519,9 @@ class UpdateMaintenanceWindowTaskResult < Struct.new(
# want to assign to the managed node. This IAM role must provide
# AssumeRole permissions for the Amazon Web Services Systems Manager
# service principal `ssm.amazonaws.com`. For more information, see
- # [Create an IAM service role for a hybrid and multicloud
- # environment][1] in the *Amazon Web Services Systems Manager User
- # Guide*.
+ # [Create the IAM service role required for Systems Manager in hybrid
+ # and multicloud environments][1] in the *Amazon Web Services Systems
+ # Manager User Guide*.
#
# You can't specify an IAM service-linked role for this parameter.
# You must create a unique role.
@@ -19444,7 +19530,7 @@ class UpdateMaintenanceWindowTaskResult < Struct.new(
#
#
#
- # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-service-role.html
+ # [1]: https://docs.aws.amazon.com/systems-manager/latest/userguide/hybrid-multicloud-service-role.html
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/ssm-2014-11-06/UpdateManagedInstanceRoleRequest AWS API Documentation
@@ -19521,9 +19607,8 @@ class UpdateManagedInstanceRoleResult < Aws::EmptyStructure; end
# @return [Array]
#
# @!attribute [rw] status
- # The OpsItem status. Status can be `Open`, `In Progress`, or
- # `Resolved`. For more information, see [Editing OpsItem details][1]
- # in the *Amazon Web Services Systems Manager User Guide*.
+ # The OpsItem status. For more information, see [Editing OpsItem
+ # details][1] in the *Amazon Web Services Systems Manager User Guide*.
#
#
#
@@ -19655,9 +19740,9 @@ class UpdateOpsMetadataResult < Struct.new(
# A list of explicitly approved patches for the baseline.
#
# For information about accepted formats for lists of approved patches
- # and rejected patches, see [About package name formats for approved
- # and rejected patch lists][1] in the *Amazon Web Services Systems
- # Manager User Guide*.
+ # and rejected patches, see [Package name formats for approved and
+ # rejected patch lists][1] in the *Amazon Web Services Systems Manager
+ # User Guide*.
#
#
#
@@ -19679,9 +19764,9 @@ class UpdateOpsMetadataResult < Struct.new(
# A list of explicitly rejected patches for the baseline.
#
# For information about accepted formats for lists of approved patches
- # and rejected patches, see [About package name formats for approved
- # and rejected patch lists][1] in the *Amazon Web Services Systems
- # Manager User Guide*.
+ # and rejected patches, see [Package name formats for approved and
+ # rejected patch lists][1] in the *Amazon Web Services Systems Manager
+ # User Guide*.
#
#
#
diff --git a/gems/aws-sdk-ssm/sig/client.rbs b/gems/aws-sdk-ssm/sig/client.rbs
index b1ef13b2258..e5b3fe48a70 100644
--- a/gems/aws-sdk-ssm/sig/client.rbs
+++ b/gems/aws-sdk-ssm/sig/client.rbs
@@ -197,7 +197,17 @@ module Aws
name: ::String
},
]
- }?
+ }?,
+ include_child_organization_units: bool?,
+ exclude_accounts: Array[::String]?,
+ targets: Array[
+ {
+ key: ::String?,
+ values: Array[::String]?
+ },
+ ]?,
+ targets_max_concurrency: ::String?,
+ targets_max_errors: ::String?
},
],
?schedule_offset: ::Integer,
@@ -271,7 +281,17 @@ module Aws
name: ::String
},
]
- }?
+ }?,
+ include_child_organization_units: bool?,
+ exclude_accounts: Array[::String]?,
+ targets: Array[
+ {
+ key: ::String?,
+ values: Array[::String]?
+ },
+ ]?,
+ targets_max_concurrency: ::String?,
+ targets_max_errors: ::String?
},
]?,
schedule_offset: ::Integer?,
@@ -2462,7 +2482,17 @@ module Aws
name: ::String
},
]
- }?
+ }?,
+ include_child_organization_units: bool?,
+ exclude_accounts: Array[::String]?,
+ targets: Array[
+ {
+ key: ::String?,
+ values: Array[::String]?
+ },
+ ]?,
+ targets_max_concurrency: ::String?,
+ targets_max_errors: ::String?
},
],
?tags: Array[
@@ -2478,7 +2508,8 @@ module Aws
name: ::String
},
]
- }
+ },
+ ?target_locations_url: ::String
) -> _StartAutomationExecutionResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartAutomationExecutionResponseSuccess
@@ -2526,7 +2557,17 @@ module Aws
name: ::String
},
]
- }?
+ }?,
+ include_child_organization_units: bool?,
+ exclude_accounts: Array[::String]?,
+ targets: Array[
+ {
+ key: ::String?,
+ values: Array[::String]?
+ },
+ ]?,
+ targets_max_concurrency: ::String?,
+ targets_max_errors: ::String?
},
]?
},
@@ -2637,7 +2678,17 @@ module Aws
name: ::String
},
]
- }?
+ }?,
+ include_child_organization_units: bool?,
+ exclude_accounts: Array[::String]?,
+ targets: Array[
+ {
+ key: ::String?,
+ values: Array[::String]?
+ },
+ ]?,
+ targets_max_concurrency: ::String?,
+ targets_max_errors: ::String?
},
],
?schedule_offset: ::Integer,
diff --git a/gems/aws-sdk-ssm/sig/types.rbs b/gems/aws-sdk-ssm/sig/types.rbs
index 78fa887323a..f57b66d43fe 100644
--- a/gems/aws-sdk-ssm/sig/types.rbs
+++ b/gems/aws-sdk-ssm/sig/types.rbs
@@ -296,6 +296,7 @@ module Aws::SSM
attr_accessor progress_counters: Types::ProgressCounters
attr_accessor alarm_configuration: Types::AlarmConfiguration
attr_accessor triggered_alarms: ::Array[Types::AlarmStateInformation]
+ attr_accessor target_locations_url: ::String
attr_accessor automation_subtype: ("ChangeRequest")
attr_accessor scheduled_time: ::Time
attr_accessor runbooks: ::Array[Types::Runbook]
@@ -342,6 +343,7 @@ module Aws::SSM
attr_accessor automation_type: ("CrossAccount" | "Local")
attr_accessor alarm_configuration: Types::AlarmConfiguration
attr_accessor triggered_alarms: ::Array[Types::AlarmStateInformation]
+ attr_accessor target_locations_url: ::String
attr_accessor automation_subtype: ("ChangeRequest")
attr_accessor scheduled_time: ::Time
attr_accessor runbooks: ::Array[Types::Runbook]
@@ -3841,6 +3843,7 @@ module Aws::SSM
attr_accessor target_locations: ::Array[Types::TargetLocation]
attr_accessor tags: ::Array[Types::Tag]
attr_accessor alarm_configuration: Types::AlarmConfiguration
+ attr_accessor target_locations_url: ::String
SENSITIVE: []
end
@@ -3959,6 +3962,11 @@ module Aws::SSM
attr_accessor target_location_max_errors: ::String
attr_accessor execution_role_name: ::String
attr_accessor target_location_alarm_configuration: Types::AlarmConfiguration
+ attr_accessor include_child_organization_units: bool
+ attr_accessor exclude_accounts: ::Array[::String]
+ attr_accessor targets: ::Array[Types::Target]
+ attr_accessor targets_max_concurrency: ::String
+ attr_accessor targets_max_errors: ::String
SENSITIVE: []
end
diff --git a/gems/aws-sdk-ssm/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ssm/spec/endpoint_provider_spec.rb
index b7a10f75180..7bf556c7e5d 100644
--- a/gems/aws-sdk-ssm/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ssm/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SSM
describe EndpointProvider do
subject { Aws::SSM::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SSM
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SSM
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SSM
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SSM
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SSM
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SSM
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SSM
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SSM
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SSM
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SSM
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SSM
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SSM
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SSM
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SSM
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SSM
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SSM
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SSM
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SSM
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SSM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::SSM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SSM
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::SSM
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::SSM
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::SSM
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::SSM
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::SSM
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::SSM
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::SSM
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::SSM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::SSM
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::SSM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::SSM
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::SSM
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::SSM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::SSM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::SSM
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::SSM
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::SSM
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::SSM
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::SSM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-iso-east-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::SSM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::SSM
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::SSM
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::SSM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::SSM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::SSM
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::SSM
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::SSM
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::SSM
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::SSM
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::SSM
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::SSM
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ssmcontacts/CHANGELOG.md b/gems/aws-sdk-ssmcontacts/CHANGELOG.md
index dce5d3caa17..62db87ca770 100644
--- a/gems/aws-sdk-ssmcontacts/CHANGELOG.md
+++ b/gems/aws-sdk-ssmcontacts/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.37.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.36.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ssmcontacts/VERSION b/gems/aws-sdk-ssmcontacts/VERSION
index 39fc130ef85..bf50e910e62 100644
--- a/gems/aws-sdk-ssmcontacts/VERSION
+++ b/gems/aws-sdk-ssmcontacts/VERSION
@@ -1 +1 @@
-1.36.0
+1.37.0
diff --git a/gems/aws-sdk-ssmcontacts/aws-sdk-ssmcontacts.gemspec b/gems/aws-sdk-ssmcontacts/aws-sdk-ssmcontacts.gemspec
index e496bedea63..b42a5033e37 100644
--- a/gems/aws-sdk-ssmcontacts/aws-sdk-ssmcontacts.gemspec
+++ b/gems/aws-sdk-ssmcontacts/aws-sdk-ssmcontacts.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ssmcontacts/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts.rb b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts.rb
index 9e8cd6325ee..776553e0c0a 100644
--- a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts.rb
+++ b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SSMContacts
- GEM_VERSION = '1.36.0'
+ GEM_VERSION = '1.37.0'
end
diff --git a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/client.rb b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/client.rb
index 6137eada7b7..ae6ab900584 100644
--- a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/client.rb
+++ b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/client.rb
@@ -2407,7 +2407,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ssmcontacts'
- context[:gem_version] = '1.36.0'
+ context[:gem_version] = '1.37.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/endpoints.rb b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/endpoints.rb
index 578ed8bb0f7..5c0d094de96 100644
--- a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/endpoints.rb
+++ b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/endpoints.rb
@@ -14,546 +14,429 @@ module Endpoints
class AcceptPage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ActivateContactChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateContactChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRotation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRotationOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeactivateContactChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteContactChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRotation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRotationOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEngagement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContactChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetContactPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRotation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRotationOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContactChannels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListContacts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEngagements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPageReceipts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPageResolutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPagesByContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPagesByEngagement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPreviewRotationShifts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRotationOverrides
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRotationShifts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRotations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutContactPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendActivationCode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartEngagement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopEngagement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContact
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateContactChannel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRotation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMContacts::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/plugins/endpoints.rb b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/plugins/endpoints.rb
index fc12b78f700..650a93fb8d0 100644
--- a/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/plugins/endpoints.rb
+++ b/gems/aws-sdk-ssmcontacts/lib/aws-sdk-ssmcontacts/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ssmcontacts/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ssmcontacts/spec/endpoint_provider_spec.rb
index 7ba9779b8c5..0c3c4f74fc4 100644
--- a/gems/aws-sdk-ssmcontacts/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ssmcontacts/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SSMContacts
describe EndpointProvider do
subject { Aws::SSMContacts::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SSMContacts
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::SSMContacts
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SSMContacts
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SSMContacts
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::SSMContacts
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-contacts.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::SSMContacts
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::SSMContacts
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SSMContacts
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::SSMContacts
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::SSMContacts
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ssmincidents/CHANGELOG.md b/gems/aws-sdk-ssmincidents/CHANGELOG.md
index cb61212ec07..ba69caf2e6f 100644
--- a/gems/aws-sdk-ssmincidents/CHANGELOG.md
+++ b/gems/aws-sdk-ssmincidents/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.42.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.41.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ssmincidents/VERSION b/gems/aws-sdk-ssmincidents/VERSION
index 7d47e599800..a50908ca3da 100644
--- a/gems/aws-sdk-ssmincidents/VERSION
+++ b/gems/aws-sdk-ssmincidents/VERSION
@@ -1 +1 @@
-1.41.0
+1.42.0
diff --git a/gems/aws-sdk-ssmincidents/aws-sdk-ssmincidents.gemspec b/gems/aws-sdk-ssmincidents/aws-sdk-ssmincidents.gemspec
index 0a46525fba4..6709c791fb2 100644
--- a/gems/aws-sdk-ssmincidents/aws-sdk-ssmincidents.gemspec
+++ b/gems/aws-sdk-ssmincidents/aws-sdk-ssmincidents.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ssmincidents/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents.rb b/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents.rb
index 5dd882231be..6347ac6fa4d 100644
--- a/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents.rb
+++ b/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::SSMIncidents
- GEM_VERSION = '1.41.0'
+ GEM_VERSION = '1.42.0'
end
diff --git a/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/client.rb b/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/client.rb
index 122c341d6ab..599a348e7c2 100644
--- a/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/client.rb
+++ b/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/client.rb
@@ -2144,7 +2144,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ssmincidents'
- context[:gem_version] = '1.41.0'
+ context[:gem_version] = '1.42.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/endpoints.rb b/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/endpoints.rb
index 9910391b6e1..35fe56af7e6 100644
--- a/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/endpoints.rb
+++ b/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/endpoints.rb
@@ -14,434 +14,341 @@ module Endpoints
class BatchGetIncidentFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReplicationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResponsePlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTimelineEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIncidentRecord
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReplicationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResponsePlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTimelineEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIncidentRecord
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReplicationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResponsePlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTimelineEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIncidentFindings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIncidentRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRelatedItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReplicationSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResponsePlans
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTimelineEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartIncident
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDeletionProtection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIncidentRecord
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRelatedItems
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReplicationSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResponsePlan
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTimelineEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMIncidents::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/plugins/endpoints.rb b/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/plugins/endpoints.rb
index 1ab5989c2df..517e5eb2f2c 100644
--- a/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/plugins/endpoints.rb
+++ b/gems/aws-sdk-ssmincidents/lib/aws-sdk-ssmincidents/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ssmincidents/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ssmincidents/spec/endpoint_provider_spec.rb
index 763a4039355..14ed68583bb 100644
--- a/gems/aws-sdk-ssmincidents/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ssmincidents/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SSMIncidents
describe EndpointProvider do
subject { Aws::SSMIncidents::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SSMIncidents
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SSMIncidents
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SSMIncidents
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SSMIncidents
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SSMIncidents
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SSMIncidents
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SSMIncidents
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.eu-north-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SSMIncidents
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.eu-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SSMIncidents
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.eu-west-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SSMIncidents
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.eu-west-3.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SSMIncidents
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.sa-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.us-east-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.us-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.us-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents-fips.us-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents-fips.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::SSMIncidents
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::SSMIncidents
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::SSMIncidents
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::SSMIncidents
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -405,7 +405,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -419,7 +419,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -432,7 +432,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.us-iso-east-1.c2s.ic.gov"}}
end
@@ -446,7 +446,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -459,7 +459,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -473,7 +473,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -486,7 +486,7 @@ module Aws::SSMIncidents
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-incidents.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -500,7 +500,7 @@ module Aws::SSMIncidents
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::SSMIncidents
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::SSMIncidents
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::SSMIncidents
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::SSMIncidents
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ssmquicksetup/CHANGELOG.md b/gems/aws-sdk-ssmquicksetup/CHANGELOG.md
index 90af06a1f6d..82e1aa5af24 100644
--- a/gems/aws-sdk-ssmquicksetup/CHANGELOG.md
+++ b/gems/aws-sdk-ssmquicksetup/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.3.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.2.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ssmquicksetup/VERSION b/gems/aws-sdk-ssmquicksetup/VERSION
index 26aaba0e866..f0bb29e7638 100644
--- a/gems/aws-sdk-ssmquicksetup/VERSION
+++ b/gems/aws-sdk-ssmquicksetup/VERSION
@@ -1 +1 @@
-1.2.0
+1.3.0
diff --git a/gems/aws-sdk-ssmquicksetup/aws-sdk-ssmquicksetup.gemspec b/gems/aws-sdk-ssmquicksetup/aws-sdk-ssmquicksetup.gemspec
index a885ad83eee..ba70335d0a2 100644
--- a/gems/aws-sdk-ssmquicksetup/aws-sdk-ssmquicksetup.gemspec
+++ b/gems/aws-sdk-ssmquicksetup/aws-sdk-ssmquicksetup.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ssmquicksetup/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup.rb b/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup.rb
index a4903f0ea15..1fcde1a3b06 100644
--- a/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup.rb
+++ b/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SSMQuickSetup
- GEM_VERSION = '1.2.0'
+ GEM_VERSION = '1.3.0'
end
diff --git a/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/client.rb b/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/client.rb
index 109738b23af..dbff8a3e04a 100644
--- a/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/client.rb
+++ b/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/client.rb
@@ -880,7 +880,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ssmquicksetup'
- context[:gem_version] = '1.2.0'
+ context[:gem_version] = '1.3.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/endpoints.rb b/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/endpoints.rb
index b434f499a42..9fca1acfeb7 100644
--- a/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/endpoints.rb
+++ b/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/endpoints.rb
@@ -14,168 +14,132 @@ module Endpoints
class CreateConfigurationManager
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConfigurationManager
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConfigurationManager
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConfigurationManagers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListQuickSetupTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConfigurationManager
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSMQuickSetup::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/plugins/endpoints.rb b/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/plugins/endpoints.rb
index 4310ec162e0..1bccf65d321 100644
--- a/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/plugins/endpoints.rb
+++ b/gems/aws-sdk-ssmquicksetup/lib/aws-sdk-ssmquicksetup/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ssmquicksetup/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ssmquicksetup/spec/endpoint_provider_spec.rb
index 510f43a35e0..a7d0db6062c 100644
--- a/gems/aws-sdk-ssmquicksetup/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ssmquicksetup/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SSMQuickSetup
describe EndpointProvider do
subject { Aws::SSMQuickSetup::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-quicksetup.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::SSMQuickSetup
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::SSMQuickSetup
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ssmsap/CHANGELOG.md b/gems/aws-sdk-ssmsap/CHANGELOG.md
index beb349ac736..036f61e047f 100644
--- a/gems/aws-sdk-ssmsap/CHANGELOG.md
+++ b/gems/aws-sdk-ssmsap/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.27.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.26.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ssmsap/VERSION b/gems/aws-sdk-ssmsap/VERSION
index 5ff8c4f5d2a..5db08bf2dc5 100644
--- a/gems/aws-sdk-ssmsap/VERSION
+++ b/gems/aws-sdk-ssmsap/VERSION
@@ -1 +1 @@
-1.26.0
+1.27.0
diff --git a/gems/aws-sdk-ssmsap/aws-sdk-ssmsap.gemspec b/gems/aws-sdk-ssmsap/aws-sdk-ssmsap.gemspec
index 466ba02d1f9..84254ec545f 100644
--- a/gems/aws-sdk-ssmsap/aws-sdk-ssmsap.gemspec
+++ b/gems/aws-sdk-ssmsap/aws-sdk-ssmsap.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ssmsap/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap.rb b/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap.rb
index 03b5ae9c334..8b20c2bd56f 100644
--- a/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap.rb
+++ b/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SsmSap
- GEM_VERSION = '1.26.0'
+ GEM_VERSION = '1.27.0'
end
diff --git a/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/client.rb b/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/client.rb
index 1c96c54b9d8..6fe6969301b 100644
--- a/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/client.rb
+++ b/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/client.rb
@@ -1442,7 +1442,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ssmsap'
- context[:gem_version] = '1.26.0'
+ context[:gem_version] = '1.27.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/endpoints.rb b/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/endpoints.rb
index 2928d0e89ef..470f5416d5c 100644
--- a/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/endpoints.rb
+++ b/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/endpoints.rb
@@ -14,294 +14,231 @@ module Endpoints
class DeleteResourcePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetComponent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListComponents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOperationEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartApplicationRefresh
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplicationSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SsmSap::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/plugins/endpoints.rb b/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/plugins/endpoints.rb
index 9c1bb0a4a75..bd44b06b4d6 100644
--- a/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/plugins/endpoints.rb
+++ b/gems/aws-sdk-ssmsap/lib/aws-sdk-ssmsap/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ssmsap/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ssmsap/spec/endpoint_provider_spec.rb
index 7d99ca327b2..fd9e7e3cb66 100644
--- a/gems/aws-sdk-ssmsap/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ssmsap/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SsmSap
describe EndpointProvider do
subject { Aws::SsmSap::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::SsmSap
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SsmSap
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::SsmSap
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SsmSap
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::SsmSap
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SsmSap
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SsmSap
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SsmSap
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SsmSap
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SsmSap
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::SsmSap
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SsmSap
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::SsmSap
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::SsmSap
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::SsmSap
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::SsmSap
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::SsmSap
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::SsmSap
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::SsmSap
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ssm-sap.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::SsmSap
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::SsmSap
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SsmSap
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::SsmSap
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::SsmSap
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-ssoadmin/CHANGELOG.md b/gems/aws-sdk-ssoadmin/CHANGELOG.md
index 9c52695cdb2..58f66d9fda1 100644
--- a/gems/aws-sdk-ssoadmin/CHANGELOG.md
+++ b/gems/aws-sdk-ssoadmin/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.44.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.43.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-ssoadmin/VERSION b/gems/aws-sdk-ssoadmin/VERSION
index b978278f05f..372cf402c73 100644
--- a/gems/aws-sdk-ssoadmin/VERSION
+++ b/gems/aws-sdk-ssoadmin/VERSION
@@ -1 +1 @@
-1.43.0
+1.44.0
diff --git a/gems/aws-sdk-ssoadmin/aws-sdk-ssoadmin.gemspec b/gems/aws-sdk-ssoadmin/aws-sdk-ssoadmin.gemspec
index 55431c1c7a1..eb6cfce8ba7 100644
--- a/gems/aws-sdk-ssoadmin/aws-sdk-ssoadmin.gemspec
+++ b/gems/aws-sdk-ssoadmin/aws-sdk-ssoadmin.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-ssoadmin/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin.rb b/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin.rb
index fb04bbb32d3..cc53f41a46f 100644
--- a/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin.rb
+++ b/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SSOAdmin
- GEM_VERSION = '1.43.0'
+ GEM_VERSION = '1.44.0'
end
diff --git a/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/client.rb b/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/client.rb
index 3d4939bc782..7e61e6dd47c 100644
--- a/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/client.rb
+++ b/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/client.rb
@@ -3865,7 +3865,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-ssoadmin'
- context[:gem_version] = '1.43.0'
+ context[:gem_version] = '1.44.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/endpoints.rb b/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/endpoints.rb
index 67cb84dca54..e6f1127617a 100644
--- a/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/endpoints.rb
+++ b/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/endpoints.rb
@@ -14,1022 +14,803 @@ module Endpoints
class AttachCustomerManagedPolicyReferenceToPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachManagedPolicyToPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccountAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateApplicationAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateInstanceAccessControlAttributeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrustedTokenIssuer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccountAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationAccessScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationAuthenticationMethod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteApplicationGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInlinePolicyFromPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteInstanceAccessControlAttributeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePermissionsBoundaryFromPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrustedTokenIssuer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountAssignmentCreationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountAssignmentDeletionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicationAssignment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicationProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInstanceAccessControlAttributeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribePermissionSetProvisioningStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrustedTokenIssuer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachCustomerManagedPolicyReferenceFromPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachManagedPolicyFromPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplicationAccessScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplicationAssignmentConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplicationAuthenticationMethod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetApplicationGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInlinePolicyForPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPermissionsBoundaryForPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountAssignmentCreationStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountAssignmentDeletionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountAssignments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountAssignmentsForPrincipal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountsForProvisionedPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationAccessScopes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationAssignments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationAssignmentsForPrincipal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationAuthenticationMethods
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationGrants
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplicationProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCustomerManagedPolicyReferencesInPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListManagedPoliciesInPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPermissionSetProvisioningStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPermissionSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPermissionSetsProvisionedToAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrustedTokenIssuers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ProvisionPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutApplicationAccessScope
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutApplicationAssignmentConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutApplicationAuthenticationMethod
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutApplicationGrant
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutInlinePolicyToPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPermissionsBoundaryToPermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateInstanceAccessControlAttributeConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePermissionSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrustedTokenIssuer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SSOAdmin::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/plugins/endpoints.rb b/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/plugins/endpoints.rb
index 9b7354c1b7f..c3c7788bc1c 100644
--- a/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/plugins/endpoints.rb
+++ b/gems/aws-sdk-ssoadmin/lib/aws-sdk-ssoadmin/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-ssoadmin/spec/endpoint_provider_spec.rb b/gems/aws-sdk-ssoadmin/spec/endpoint_provider_spec.rb
index 0c82a0fe2b8..43a8af3ea0b 100644
--- a/gems/aws-sdk-ssoadmin/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-ssoadmin/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SSOAdmin
describe EndpointProvider do
subject { Aws::SSOAdmin::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SSOAdmin
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SSOAdmin
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SSOAdmin
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.ap-northeast-3.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SSOAdmin
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SSOAdmin
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SSOAdmin
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SSOAdmin
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SSOAdmin
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.eu-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SSOAdmin
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.eu-north-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SSOAdmin
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.eu-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SSOAdmin
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SSOAdmin
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SSOAdmin
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SSOAdmin
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.me-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SSOAdmin
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.sa-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.us-east-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.us-west-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso-fips.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.us-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::SSOAdmin
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::SSOAdmin
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::SSOAdmin
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::SSOAdmin
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.cn-north-1.amazonaws.com.cn"}}
end
@@ -378,7 +378,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.us-gov-east-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.us-gov-west-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.us-gov-west-1.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso-fips.us-gov-east-1.api.aws"}}
end
@@ -448,7 +448,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.us-gov-east-1.api.aws"}}
end
@@ -462,7 +462,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -475,7 +475,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -489,7 +489,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -502,7 +502,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.us-iso-east-1.c2s.ic.gov"}}
end
@@ -516,7 +516,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -529,7 +529,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -543,7 +543,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -556,7 +556,7 @@ module Aws::SSOAdmin
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://sso.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -570,7 +570,7 @@ module Aws::SSOAdmin
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::SSOAdmin
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -598,7 +598,7 @@ module Aws::SSOAdmin
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -611,7 +611,7 @@ module Aws::SSOAdmin
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -624,7 +624,7 @@ module Aws::SSOAdmin
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-states/CHANGELOG.md b/gems/aws-sdk-states/CHANGELOG.md
index a39cb9f5c71..f9732c5a4b4 100644
--- a/gems/aws-sdk-states/CHANGELOG.md
+++ b/gems/aws-sdk-states/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.77.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.76.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-states/VERSION b/gems/aws-sdk-states/VERSION
index 32a6ce3c719..79e15fd4937 100644
--- a/gems/aws-sdk-states/VERSION
+++ b/gems/aws-sdk-states/VERSION
@@ -1 +1 @@
-1.76.0
+1.77.0
diff --git a/gems/aws-sdk-states/aws-sdk-states.gemspec b/gems/aws-sdk-states/aws-sdk-states.gemspec
index 3da622fc200..17fd6916656 100644
--- a/gems/aws-sdk-states/aws-sdk-states.gemspec
+++ b/gems/aws-sdk-states/aws-sdk-states.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-states/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-states/lib/aws-sdk-states.rb b/gems/aws-sdk-states/lib/aws-sdk-states.rb
index 60761896850..cfb3888afe0 100644
--- a/gems/aws-sdk-states/lib/aws-sdk-states.rb
+++ b/gems/aws-sdk-states/lib/aws-sdk-states.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::States
- GEM_VERSION = '1.76.0'
+ GEM_VERSION = '1.77.0'
end
diff --git a/gems/aws-sdk-states/lib/aws-sdk-states/client.rb b/gems/aws-sdk-states/lib/aws-sdk-states/client.rb
index 93ef10a01eb..2910d22b01e 100644
--- a/gems/aws-sdk-states/lib/aws-sdk-states/client.rb
+++ b/gems/aws-sdk-states/lib/aws-sdk-states/client.rb
@@ -3422,7 +3422,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-states'
- context[:gem_version] = '1.76.0'
+ context[:gem_version] = '1.77.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-states/lib/aws-sdk-states/endpoints.rb b/gems/aws-sdk-states/lib/aws-sdk-states/endpoints.rb
index e99e2fea375..223caa0ca85 100644
--- a/gems/aws-sdk-states/lib/aws-sdk-states/endpoints.rb
+++ b/gems/aws-sdk-states/lib/aws-sdk-states/endpoints.rb
@@ -14,518 +14,407 @@ module Endpoints
class CreateActivity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStateMachine
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStateMachineAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteActivity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStateMachine
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStateMachineAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteStateMachineVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeActivity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMapRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStateMachine
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStateMachineAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStateMachineForExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetActivityTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExecutionHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListActivities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMapRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStateMachineAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStateMachineVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListStateMachines
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PublishStateMachineVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RedriveExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendTaskFailure
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendTaskHeartbeat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendTaskSuccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSyncExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMapRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStateMachine
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateStateMachineAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateStateMachineDefinition
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::States::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-states/lib/aws-sdk-states/plugins/endpoints.rb b/gems/aws-sdk-states/lib/aws-sdk-states/plugins/endpoints.rb
index 2dba015a333..3e154b58cc6 100644
--- a/gems/aws-sdk-states/lib/aws-sdk-states/plugins/endpoints.rb
+++ b/gems/aws-sdk-states/lib/aws-sdk-states/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-states/spec/endpoint_provider_spec.rb b/gems/aws-sdk-states/spec/endpoint_provider_spec.rb
index 5ac83a5ad4a..4198110b053 100644
--- a/gems/aws-sdk-states/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-states/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::States
describe EndpointProvider do
subject { Aws::States::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::States
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::States
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::States
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::States
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::States
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::States
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::States
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::States
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::States
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::States
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::States
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::States
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::States
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::States
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::States
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::States
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::States
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::States
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::States
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::States
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::States
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::States
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::States
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::States
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::States
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::States
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::States
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::States
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::States
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::States
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::States
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::States
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::States
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::States
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::States
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::States
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::States
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::States
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::States
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::States
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::States
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::States
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::States
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::States
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::States
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::States
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://states-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::States
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::States
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::States
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::States
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::States
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::States
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-storagegateway/CHANGELOG.md b/gems/aws-sdk-storagegateway/CHANGELOG.md
index 6cf5d6449a7..0676d2965b3 100644
--- a/gems/aws-sdk-storagegateway/CHANGELOG.md
+++ b/gems/aws-sdk-storagegateway/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.95.0 (2024-09-12)
+------------------
+
+* Feature - The S3 File Gateway now supports DSSE-KMS encryption. A new parameter EncryptionType is added to these APIs: CreateSmbFileShare, CreateNfsFileShare, UpdateSmbFileShare, UpdateNfsFileShare, DescribeSmbFileShares, DescribeNfsFileShares. Also, in favor of EncryptionType, KmsEncrypted is deprecated.
+
+1.94.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.93.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-storagegateway/VERSION b/gems/aws-sdk-storagegateway/VERSION
index 95784efddbc..55f6ae93382 100644
--- a/gems/aws-sdk-storagegateway/VERSION
+++ b/gems/aws-sdk-storagegateway/VERSION
@@ -1 +1 @@
-1.93.0
+1.95.0
diff --git a/gems/aws-sdk-storagegateway/aws-sdk-storagegateway.gemspec b/gems/aws-sdk-storagegateway/aws-sdk-storagegateway.gemspec
index 34b21acc9d2..ea08c6a939e 100644
--- a/gems/aws-sdk-storagegateway/aws-sdk-storagegateway.gemspec
+++ b/gems/aws-sdk-storagegateway/aws-sdk-storagegateway.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-storagegateway/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway.rb b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway.rb
index 46c7f10400e..16869dfcb65 100644
--- a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway.rb
+++ b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::StorageGateway
- GEM_VERSION = '1.93.0'
+ GEM_VERSION = '1.95.0'
end
diff --git a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/client.rb b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/client.rb
index 80a454b4432..4d22b25e4e8 100644
--- a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/client.rb
+++ b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/client.rb
@@ -1367,17 +1367,48 @@ def create_cached_iscsi_volume(params = {}, options = {})
# The Amazon Resource Name (ARN) of the S3 File Gateway on which you
# want to create a file share.
#
+ # @option params [String] :encryption_type
+ # A value that specifies the type of server-side encryption that the
+ # file share will use for the data that it stores in Amazon S3.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
+ # `true`.
+ #
+ #
+ #
# @option params [Boolean] :kms_encrypted
- # Set to `true` to use Amazon S3 server-side encryption with your own
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
+ # S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
+ # `EncryptionType` parameter instead.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
+ # `true`.
+ #
+ #
#
# Valid Values: `true` \| `false`
#
# @option params [String] :kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway does
- # not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
#
# @option params [required, String] :role
# The ARN of the Identity and Access Management (IAM) role that an S3
@@ -1503,6 +1534,10 @@ def create_cached_iscsi_volume(params = {}, options = {})
# `SettlingTimeInSeconds` has no effect on the timing of the object
# uploading to Amazon S3, only the timing of the notification.
#
+ # This setting is not meant to specify an exact time at which the
+ # notification will be sent. In some cases, the gateway might require
+ # more than the specified delay time to generate and send notifications.
+ #
#
#
# The following example sets `NotificationPolicy` on with
@@ -1552,6 +1587,7 @@ def create_cached_iscsi_volume(params = {}, options = {})
# owner_id: 1,
# },
# gateway_arn: "GatewayARN", # required
+ # encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
# kms_encrypted: false,
# kms_key: "KMSKey",
# role: "Role", # required
@@ -1624,17 +1660,48 @@ def create_nfs_file_share(params = {}, options = {})
# The ARN of the S3 File Gateway on which you want to create a file
# share.
#
+ # @option params [String] :encryption_type
+ # A value that specifies the type of server-side encryption that the
+ # file share will use for the data that it stores in Amazon S3.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
+ # `true`.
+ #
+ #
+ #
# @option params [Boolean] :kms_encrypted
- # Set to `true` to use Amazon S3 server-side encryption with your own
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
+ # S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
+ # `EncryptionType` parameter instead.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
+ # `true`.
+ #
+ #
#
# Valid Values: `true` \| `false`
#
# @option params [String] :kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway does
- # not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
#
# @option params [required, String] :role
# The ARN of the Identity and Access Management (IAM) role that an S3
@@ -1716,14 +1783,14 @@ def create_nfs_file_share(params = {}, options = {})
# SMB file share. Set it to `false` to map file and directory
# permissions to the POSIX permissions.
#
- # For more information, see [Using Microsoft Windows ACLs to control
- # access to an SMB file share][1] in the *Storage Gateway User Guide*.
+ # For more information, see [Using Windows ACLs to limit SMB file share
+ # access][1] in the *Amazon S3 File Gateway User Guide*.
#
# Valid Values: `true` \| `false`
#
#
#
- # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
+ # [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
#
# @option params [Boolean] :access_based_enumeration
# The files and folders on this share will only be visible to users with
@@ -1801,6 +1868,10 @@ def create_nfs_file_share(params = {}, options = {})
# `SettlingTimeInSeconds` has no effect on the timing of the object
# uploading to Amazon S3, only the timing of the notification.
#
+ # This setting is not meant to specify an exact time at which the
+ # notification will be sent. In some cases, the gateway might require
+ # more than the specified delay time to generate and send notifications.
+ #
#
#
# The following example sets `NotificationPolicy` on with
@@ -1853,6 +1924,7 @@ def create_nfs_file_share(params = {}, options = {})
# resp = client.create_smb_file_share({
# client_token: "ClientToken", # required
# gateway_arn: "GatewayARN", # required
+ # encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
# kms_encrypted: false,
# kms_key: "KMSKey",
# role: "Role", # required
@@ -3701,6 +3773,7 @@ def describe_maintenance_start_time(params = {}, options = {})
# resp.nfs_file_share_info_list[0].file_share_id #=> String
# resp.nfs_file_share_info_list[0].file_share_status #=> String
# resp.nfs_file_share_info_list[0].gateway_arn #=> String
+ # resp.nfs_file_share_info_list[0].encryption_type #=> String, one of "SseS3", "SseKms", "DsseKms"
# resp.nfs_file_share_info_list[0].kms_encrypted #=> Boolean
# resp.nfs_file_share_info_list[0].kms_key #=> String
# resp.nfs_file_share_info_list[0].path #=> String
@@ -3758,6 +3831,7 @@ def describe_nfs_file_shares(params = {}, options = {})
# resp.smb_file_share_info_list[0].file_share_id #=> String
# resp.smb_file_share_info_list[0].file_share_status #=> String
# resp.smb_file_share_info_list[0].gateway_arn #=> String
+ # resp.smb_file_share_info_list[0].encryption_type #=> String, one of "SseS3", "SseKms", "DsseKms"
# resp.smb_file_share_info_list[0].kms_encrypted #=> Boolean
# resp.smb_file_share_info_list[0].kms_key #=> String
# resp.smb_file_share_info_list[0].path #=> String
@@ -6654,7 +6728,11 @@ def update_gateway_software_now(params = {}, options = {})
# `ALL_VERSIONS` - Enables regular gateway maintenance updates.
#
# `EMERGENCY_VERSIONS_ONLY` - Disables regular gateway maintenance
- # updates.
+ # updates. The gateway will still receive emergency version updates on
+ # rare occasions if necessary to remedy highly critical security or
+ # durability issues. You will be notified before an emergency version
+ # update is applied. These updates are applied during your gateway's
+ # scheduled maintenance window.
#
# @return [Types::UpdateMaintenanceStartTimeOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
#
@@ -6727,17 +6805,48 @@ def update_maintenance_start_time(params = {}, options = {})
# @option params [required, String] :file_share_arn
# The Amazon Resource Name (ARN) of the file share to be updated.
#
+ # @option params [String] :encryption_type
+ # A value that specifies the type of server-side encryption that the
+ # file share will use for the data that it stores in Amazon S3.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
+ # `true`.
+ #
+ #
+ #
# @option params [Boolean] :kms_encrypted
- # Set to `true` to use Amazon S3 server-side encryption with your own
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
+ # S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
+ # `EncryptionType` parameter instead.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
+ # `true`.
+ #
+ #
#
# Valid Values: `true` \| `false`
#
# @option params [String] :kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway does
- # not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
#
# @option params [Types::NFSFileShareDefaults] :nfs_file_share_defaults
# The default values for the file share. Optional.
@@ -6820,6 +6929,10 @@ def update_maintenance_start_time(params = {}, options = {})
# `SettlingTimeInSeconds` has no effect on the timing of the object
# uploading to Amazon S3, only the timing of the notification.
#
+ # This setting is not meant to specify an exact time at which the
+ # notification will be sent. In some cases, the gateway might require
+ # more than the specified delay time to generate and send notifications.
+ #
#
#
# The following example sets `NotificationPolicy` on with
@@ -6842,6 +6955,7 @@ def update_maintenance_start_time(params = {}, options = {})
#
# resp = client.update_nfs_file_share({
# file_share_arn: "FileShareARN", # required
+ # encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
# kms_encrypted: false,
# kms_key: "KMSKey",
# nfs_file_share_defaults: {
@@ -6908,17 +7022,48 @@ def update_nfs_file_share(params = {}, options = {})
# The Amazon Resource Name (ARN) of the SMB file share that you want to
# update.
#
+ # @option params [String] :encryption_type
+ # A value that specifies the type of server-side encryption that the
+ # file share will use for the data that it stores in Amazon S3.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
+ # `true`.
+ #
+ #
+ #
# @option params [Boolean] :kms_encrypted
- # Set to `true` to use Amazon S3 server-side encryption with your own
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by Amazon
+ # S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
+ # `EncryptionType` parameter instead.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must be
+ # `true`.
+ #
+ #
#
# Valid Values: `true` \| `false`
#
# @option params [String] :kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway does
- # not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
#
# @option params [String] :default_storage_class
# The default storage class for objects put into an Amazon S3 bucket by
@@ -6965,14 +7110,14 @@ def update_nfs_file_share(params = {}, options = {})
# SMB file share. Set it to `false` to map file and directory
# permissions to the POSIX permissions.
#
- # For more information, see [Using Microsoft Windows ACLs to control
- # access to an SMB file share][1] in the *Storage Gateway User Guide*.
+ # For more information, see [Using Windows ACLs to limit SMB file share
+ # access][1] in the *Amazon S3 File Gateway User Guide*.
#
# Valid Values: `true` \| `false`
#
#
#
- # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
+ # [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
#
# @option params [Boolean] :access_based_enumeration
# The files and folders on this share will only be visible to users with
@@ -7031,6 +7176,10 @@ def update_nfs_file_share(params = {}, options = {})
# `SettlingTimeInSeconds` has no effect on the timing of the object
# uploading to Amazon S3, only the timing of the notification.
#
+ # This setting is not meant to specify an exact time at which the
+ # notification will be sent. In some cases, the gateway might require
+ # more than the specified delay time to generate and send notifications.
+ #
#
#
# The following example sets `NotificationPolicy` on with
@@ -7062,6 +7211,7 @@ def update_nfs_file_share(params = {}, options = {})
#
# resp = client.update_smb_file_share({
# file_share_arn: "FileShareARN", # required
+ # encryption_type: "SseS3", # accepts SseS3, SseKms, DsseKms
# kms_encrypted: false,
# kms_key: "KMSKey",
# default_storage_class: "StorageClass",
@@ -7403,7 +7553,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-storagegateway'
- context[:gem_version] = '1.93.0'
+ context[:gem_version] = '1.95.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/client_api.rb b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/client_api.rb
index cb95167393f..256d3a42ca8 100644
--- a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/client_api.rb
+++ b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/client_api.rb
@@ -165,6 +165,7 @@ module ClientApi
DoubleObject = Shapes::FloatShape.new(name: 'DoubleObject')
Ec2InstanceId = Shapes::StringShape.new(name: 'Ec2InstanceId')
Ec2InstanceRegion = Shapes::StringShape.new(name: 'Ec2InstanceRegion')
+ EncryptionType = Shapes::StringShape.new(name: 'EncryptionType')
EndpointNetworkConfiguration = Shapes::StructureShape.new(name: 'EndpointNetworkConfiguration')
EndpointType = Shapes::StringShape.new(name: 'EndpointType')
ErrorCode = Shapes::StringShape.new(name: 'ErrorCode')
@@ -561,7 +562,8 @@ module ClientApi
CreateNFSFileShareInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken"))
CreateNFSFileShareInput.add_member(:nfs_file_share_defaults, Shapes::ShapeRef.new(shape: NFSFileShareDefaults, location_name: "NFSFileShareDefaults"))
CreateNFSFileShareInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
- CreateNFSFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
+ CreateNFSFileShareInput.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
+ CreateNFSFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
CreateNFSFileShareInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
CreateNFSFileShareInput.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
CreateNFSFileShareInput.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationARN, required: true, location_name: "LocationARN"))
@@ -586,7 +588,8 @@ module ClientApi
CreateSMBFileShareInput.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, required: true, location_name: "ClientToken"))
CreateSMBFileShareInput.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, required: true, location_name: "GatewayARN"))
- CreateSMBFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
+ CreateSMBFileShareInput.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
+ CreateSMBFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
CreateSMBFileShareInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
CreateSMBFileShareInput.add_member(:role, Shapes::ShapeRef.new(shape: Role, required: true, location_name: "Role"))
CreateSMBFileShareInput.add_member(:location_arn, Shapes::ShapeRef.new(shape: LocationARN, required: true, location_name: "LocationARN"))
@@ -1183,7 +1186,8 @@ module ClientApi
NFSFileShareInfo.add_member(:file_share_id, Shapes::ShapeRef.new(shape: FileShareId, location_name: "FileShareId"))
NFSFileShareInfo.add_member(:file_share_status, Shapes::ShapeRef.new(shape: FileShareStatus, location_name: "FileShareStatus"))
NFSFileShareInfo.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
- NFSFileShareInfo.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: boolean, location_name: "KMSEncrypted"))
+ NFSFileShareInfo.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
+ NFSFileShareInfo.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
NFSFileShareInfo.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
NFSFileShareInfo.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
NFSFileShareInfo.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
@@ -1270,7 +1274,8 @@ module ClientApi
SMBFileShareInfo.add_member(:file_share_id, Shapes::ShapeRef.new(shape: FileShareId, location_name: "FileShareId"))
SMBFileShareInfo.add_member(:file_share_status, Shapes::ShapeRef.new(shape: FileShareStatus, location_name: "FileShareStatus"))
SMBFileShareInfo.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayARN, location_name: "GatewayARN"))
- SMBFileShareInfo.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: boolean, location_name: "KMSEncrypted"))
+ SMBFileShareInfo.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
+ SMBFileShareInfo.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
SMBFileShareInfo.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
SMBFileShareInfo.add_member(:path, Shapes::ShapeRef.new(shape: Path, location_name: "Path"))
SMBFileShareInfo.add_member(:role, Shapes::ShapeRef.new(shape: Role, location_name: "Role"))
@@ -1501,7 +1506,8 @@ module ClientApi
UpdateMaintenanceStartTimeOutput.struct_class = Types::UpdateMaintenanceStartTimeOutput
UpdateNFSFileShareInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
- UpdateNFSFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
+ UpdateNFSFileShareInput.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
+ UpdateNFSFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
UpdateNFSFileShareInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
UpdateNFSFileShareInput.add_member(:nfs_file_share_defaults, Shapes::ShapeRef.new(shape: NFSFileShareDefaults, location_name: "NFSFileShareDefaults"))
UpdateNFSFileShareInput.add_member(:default_storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "DefaultStorageClass"))
@@ -1521,7 +1527,8 @@ module ClientApi
UpdateNFSFileShareOutput.struct_class = Types::UpdateNFSFileShareOutput
UpdateSMBFileShareInput.add_member(:file_share_arn, Shapes::ShapeRef.new(shape: FileShareARN, required: true, location_name: "FileShareARN"))
- UpdateSMBFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, location_name: "KMSEncrypted"))
+ UpdateSMBFileShareInput.add_member(:encryption_type, Shapes::ShapeRef.new(shape: EncryptionType, location_name: "EncryptionType"))
+ UpdateSMBFileShareInput.add_member(:kms_encrypted, Shapes::ShapeRef.new(shape: Boolean, deprecated: true, location_name: "KMSEncrypted", metadata: {"deprecatedMessage"=>"KMSEncrypted is deprecated, use EncryptionType instead."}))
UpdateSMBFileShareInput.add_member(:kms_key, Shapes::ShapeRef.new(shape: KMSKey, location_name: "KMSKey"))
UpdateSMBFileShareInput.add_member(:default_storage_class, Shapes::ShapeRef.new(shape: StorageClass, location_name: "DefaultStorageClass"))
UpdateSMBFileShareInput.add_member(:object_acl, Shapes::ShapeRef.new(shape: ObjectACL, location_name: "ObjectACL"))
diff --git a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/endpoints.rb b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/endpoints.rb
index 11ea2390533..6a6eb274244 100644
--- a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/endpoints.rb
+++ b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/endpoints.rb
@@ -14,1260 +14,990 @@ module Endpoints
class ActivateGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddTagsToResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddUploadBuffer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddWorkingStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssignTapePool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateFileSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AttachVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelArchival
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelRetrieval
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCachediSCSIVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNFSFileShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSMBFileShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshot
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSnapshotFromVolumeRecoveryPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStorediSCSIVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTapePool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTapeWithBarcode
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTapes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAutomaticTapeCreationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBandwidthRateLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteChapCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFileShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSnapshotSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTape
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTapeArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTapePool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAvailabilityMonitorTest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBandwidthRateLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBandwidthRateLimitSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCachediSCSIVolumes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeChapCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFileSystemAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGatewayInformation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMaintenanceStartTime
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNFSFileShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSMBFileShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSMBSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSnapshotSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeStorediSCSIVolumes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTapeArchives
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTapeRecoveryPoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTapes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUploadBuffer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeVTLDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkingStorage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetachVolume
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisableGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFileSystem
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class JoinDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAutomaticTapeCreationPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFileShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFileSystemAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGateways
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLocalDisks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTapePools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTapes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVolumeInitiators
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVolumeRecoveryPoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVolumes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class NotifyWhenUploaded
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RefreshCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveTagsFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetCache
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetrieveTapeArchive
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RetrieveTapeRecoveryPoint
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetLocalConsolePassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SetSMBGuestPassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ShutdownGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartAvailabilityMonitorTest
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartGateway
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAutomaticTapeCreationPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBandwidthRateLimit
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBandwidthRateLimitSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateChapCredentials
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFileSystemAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGatewayInformation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGatewaySoftwareNow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMaintenanceStartTime
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNFSFileShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSMBFileShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSMBFileShareVisibility
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSMBLocalGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSMBSecurityStrategy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSnapshotSchedule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVTLDeviceType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::StorageGateway::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/plugins/endpoints.rb b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/plugins/endpoints.rb
index db2434cac99..ece376c7a76 100644
--- a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/plugins/endpoints.rb
+++ b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb
index 5c6b9522418..729645112fd 100644
--- a/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb
+++ b/gems/aws-sdk-storagegateway/lib/aws-sdk-storagegateway/types.rb
@@ -762,10 +762,11 @@ class CacheAttributes < Struct.new(
# @return [Integer]
#
# @!attribute [rw] kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway
- # does not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
# @return [String]
#
# @!attribute [rw] target_name
@@ -1044,18 +1045,50 @@ class CreateCachediSCSIVolumeOutput < Struct.new(
# want to create a file share.
# @return [String]
#
+ # @!attribute [rw] encryption_type
+ # A value that specifies the type of server-side encryption that the
+ # file share will use for the data that it stores in Amazon S3.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
+ # @return [String]
+ #
# @!attribute [rw] kms_encrypted
- # Set to `true` to use Amazon S3 server-side encryption with your own
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by
+ # Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
+ # `EncryptionType` parameter instead.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
#
# Valid Values: `true` \| `false`
# @return [Boolean]
#
# @!attribute [rw] kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway
- # does not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
# @return [String]
#
# @!attribute [rw] role
@@ -1198,6 +1231,11 @@ class CreateCachediSCSIVolumeOutput < Struct.new(
# `SettlingTimeInSeconds` has no effect on the timing of the object
# uploading to Amazon S3, only the timing of the notification.
#
+ # This setting is not meant to specify an exact time at which the
+ # notification will be sent. In some cases, the gateway might require
+ # more than the specified delay time to generate and send
+ # notifications.
+ #
#
#
# The following example sets `NotificationPolicy` on with
@@ -1242,6 +1280,7 @@ class CreateNFSFileShareInput < Struct.new(
:client_token,
:nfs_file_share_defaults,
:gateway_arn,
+ :encryption_type,
:kms_encrypted,
:kms_key,
:role,
@@ -1290,18 +1329,50 @@ class CreateNFSFileShareOutput < Struct.new(
# share.
# @return [String]
#
+ # @!attribute [rw] encryption_type
+ # A value that specifies the type of server-side encryption that the
+ # file share will use for the data that it stores in Amazon S3.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
+ # @return [String]
+ #
# @!attribute [rw] kms_encrypted
- # Set to `true` to use Amazon S3 server-side encryption with your own
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by
+ # Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
+ # `EncryptionType` parameter instead.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
#
# Valid Values: `true` \| `false`
# @return [Boolean]
#
# @!attribute [rw] kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway
- # does not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
# @return [String]
#
# @!attribute [rw] role
@@ -1394,14 +1465,14 @@ class CreateNFSFileShareOutput < Struct.new(
# SMB file share. Set it to `false` to map file and directory
# permissions to the POSIX permissions.
#
- # For more information, see [Using Microsoft Windows ACLs to control
- # access to an SMB file share][1] in the *Storage Gateway User Guide*.
+ # For more information, see [Using Windows ACLs to limit SMB file
+ # share access][1] in the *Amazon S3 File Gateway User Guide*.
#
# Valid Values: `true` \| `false`
#
#
#
- # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
+ # [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
# @return [Boolean]
#
# @!attribute [rw] access_based_enumeration
@@ -1491,6 +1562,11 @@ class CreateNFSFileShareOutput < Struct.new(
# `SettlingTimeInSeconds` has no effect on the timing of the object
# uploading to Amazon S3, only the timing of the notification.
#
+ # This setting is not meant to specify an exact time at which the
+ # notification will be sent. In some cases, the gateway might require
+ # more than the specified delay time to generate and send
+ # notifications.
+ #
#
#
# The following example sets `NotificationPolicy` on with
@@ -1543,6 +1619,7 @@ class CreateNFSFileShareOutput < Struct.new(
class CreateSMBFileShareInput < Struct.new(
:client_token,
:gateway_arn,
+ :encryption_type,
:kms_encrypted,
:kms_key,
:role,
@@ -2997,12 +3074,17 @@ class DescribeMaintenanceStartTimeInput < Struct.new(
# A set of variables indicating the software update preferences for
# the gateway.
#
- # Includes `AutomaticUpdatePolicy` field with the following inputs:
+ # Includes `AutomaticUpdatePolicy` parameter with the following
+ # inputs:
#
# `ALL_VERSIONS` - Enables regular gateway maintenance updates.
#
# `EMERGENCY_VERSIONS_ONLY` - Disables regular gateway maintenance
- # updates.
+ # updates. The gateway will still receive emergency version updates on
+ # rare occasions if necessary to remedy highly critical security or
+ # durability issues. You will be notified before an emergency version
+ # update is applied. These updates are applied during your gateway's
+ # scheduled maintenance window.
# @return [Types::SoftwareUpdatePreferences]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/DescribeMaintenanceStartTimeOutput AWS API Documentation
@@ -4857,18 +4939,50 @@ class NFSFileShareDefaults < Struct.new(
# Web Services Region.
# @return [String]
#
+ # @!attribute [rw] encryption_type
+ # A value that specifies the type of server-side encryption that the
+ # file share will use for the data that it stores in Amazon S3.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
+ # @return [String]
+ #
# @!attribute [rw] kms_encrypted
- # Set to `true` to use Amazon S3 server-side encryption with your own
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by
+ # Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
+ # `EncryptionType` parameter instead.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
#
# Valid Values: `true` \| `false`
# @return [Boolean]
#
# @!attribute [rw] kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway
- # does not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
# @return [String]
#
# @!attribute [rw] path
@@ -5009,6 +5123,11 @@ class NFSFileShareDefaults < Struct.new(
# `SettlingTimeInSeconds` has no effect on the timing of the object
# uploading to Amazon S3, only the timing of the notification.
#
+ # This setting is not meant to specify an exact time at which the
+ # notification will be sent. In some cases, the gateway might require
+ # more than the specified delay time to generate and send
+ # notifications.
+ #
#
#
# The following example sets `NotificationPolicy` on with
@@ -5055,6 +5174,7 @@ class NFSFileShareInfo < Struct.new(
:file_share_id,
:file_share_status,
:gateway_arn,
+ :encryption_type,
:kms_encrypted,
:kms_key,
:path,
@@ -5413,18 +5533,50 @@ class RetrieveTapeRecoveryPointOutput < Struct.new(
# Web Services Region.
# @return [String]
#
+ # @!attribute [rw] encryption_type
+ # A value that specifies the type of server-side encryption that the
+ # file share will use for the data that it stores in Amazon S3.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
+ # @return [String]
+ #
# @!attribute [rw] kms_encrypted
- # Set to `true` to use Amazon S3 server-side encryption with your own
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by
+ # Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
+ # `EncryptionType` parameter instead.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
#
# Valid Values: `true` \| `false`
# @return [Boolean]
#
# @!attribute [rw] kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway
- # does not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
# @return [String]
#
# @!attribute [rw] path
@@ -5523,12 +5675,12 @@ class RetrieveTapeRecoveryPointOutput < Struct.new(
# `false`, it indicates that file and directory permissions are mapped
# to the POSIX permission.
#
- # For more information, see [Using Microsoft Windows ACLs to control
- # access to an SMB file share][1] in the *Storage Gateway User Guide*.
+ # For more information, see [Using Windows ACLs to limit SMB file
+ # share access][1] in the *Amazon S3 File Gateway User Guide*.
#
#
#
- # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
+ # [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
# @return [Boolean]
#
# @!attribute [rw] access_based_enumeration
@@ -5609,6 +5761,11 @@ class RetrieveTapeRecoveryPointOutput < Struct.new(
# `SettlingTimeInSeconds` has no effect on the timing of the object
# uploading to Amazon S3, only the timing of the notification.
#
+ # This setting is not meant to specify an exact time at which the
+ # notification will be sent. In some cases, the gateway might require
+ # more than the specified delay time to generate and send
+ # notifications.
+ #
#
#
# The following example sets `NotificationPolicy` on with
@@ -5663,6 +5820,7 @@ class SMBFileShareInfo < Struct.new(
:file_share_id,
:file_share_status,
:gateway_arn,
+ :encryption_type,
:kms_encrypted,
:kms_key,
:path,
@@ -5845,7 +6003,11 @@ class ShutdownGatewayOutput < Struct.new(
# `ALL_VERSIONS` - Enables regular gateway maintenance updates.
#
# `EMERGENCY_VERSIONS_ONLY` - Disables regular gateway maintenance
- # updates.
+ # updates. The gateway will still receive emergency version updates on
+ # rare occasions if necessary to remedy highly critical security or
+ # durability issues. You will be notified before an emergency version
+ # update is applied. These updates are applied during your gateway's
+ # scheduled maintenance window.
# @return [String]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/SoftwareUpdatePreferences AWS API Documentation
@@ -6026,10 +6188,11 @@ class StorageGatewayError < Struct.new(
# @return [Integer]
#
# @!attribute [rw] kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway
- # does not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
# @return [String]
#
# @!attribute [rw] target_name
@@ -6129,10 +6292,11 @@ class Tag < Struct.new(
# @return [Integer]
#
# @!attribute [rw] kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway
- # does not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
# @return [String]
#
# @!attribute [rw] pool_id
@@ -6224,10 +6388,11 @@ class Tape < Struct.new(
# @return [Integer]
#
# @!attribute [rw] kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway
- # does not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
# @return [String]
#
# @!attribute [rw] pool_id
@@ -6759,7 +6924,11 @@ class UpdateGatewaySoftwareNowOutput < Struct.new(
# `ALL_VERSIONS` - Enables regular gateway maintenance updates.
#
# `EMERGENCY_VERSIONS_ONLY` - Disables regular gateway maintenance
- # updates.
+ # updates. The gateway will still receive emergency version updates on
+ # rare occasions if necessary to remedy highly critical security or
+ # durability issues. You will be notified before an emergency version
+ # update is applied. These updates are applied during your gateway's
+ # scheduled maintenance window.
# @return [Types::SoftwareUpdatePreferences]
#
# @see http://docs.aws.amazon.com/goto/WebAPI/storagegateway-2013-06-30/UpdateMaintenanceStartTimeInput AWS API Documentation
@@ -6798,18 +6967,50 @@ class UpdateMaintenanceStartTimeOutput < Struct.new(
# The Amazon Resource Name (ARN) of the file share to be updated.
# @return [String]
#
+ # @!attribute [rw] encryption_type
+ # A value that specifies the type of server-side encryption that the
+ # file share will use for the data that it stores in Amazon S3.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
+ # @return [String]
+ #
# @!attribute [rw] kms_encrypted
- # Set to `true` to use Amazon S3 server-side encryption with your own
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by
+ # Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
+ # `EncryptionType` parameter instead.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
#
# Valid Values: `true` \| `false`
# @return [Boolean]
#
# @!attribute [rw] kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway
- # does not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
# @return [String]
#
# @!attribute [rw] nfs_file_share_defaults
@@ -6907,6 +7108,11 @@ class UpdateMaintenanceStartTimeOutput < Struct.new(
# `SettlingTimeInSeconds` has no effect on the timing of the object
# uploading to Amazon S3, only the timing of the notification.
#
+ # This setting is not meant to specify an exact time at which the
+ # notification will be sent. In some cases, the gateway might require
+ # more than the specified delay time to generate and send
+ # notifications.
+ #
#
#
# The following example sets `NotificationPolicy` on with
@@ -6927,6 +7133,7 @@ class UpdateMaintenanceStartTimeOutput < Struct.new(
#
class UpdateNFSFileShareInput < Struct.new(
:file_share_arn,
+ :encryption_type,
:kms_encrypted,
:kms_key,
:nfs_file_share_defaults,
@@ -6966,18 +7173,50 @@ class UpdateNFSFileShareOutput < Struct.new(
# to update.
# @return [String]
#
+ # @!attribute [rw] encryption_type
+ # A value that specifies the type of server-side encryption that the
+ # file share will use for the data that it stores in Amazon S3.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
+ # @return [String]
+ #
# @!attribute [rw] kms_encrypted
- # Set to `true` to use Amazon S3 server-side encryption with your own
- # KMS key, or `false` to use a key managed by Amazon S3. Optional.
+ # Optional. Set to `true` to use Amazon S3 server-side encryption with
+ # your own KMS key (SSE-KMS), or `false` to use a key managed by
+ # Amazon S3 (SSE-S3). To use dual-layer encryption (DSSE-KMS), set the
+ # `EncryptionType` parameter instead.
+ #
+ # We recommend using `EncryptionType` instead of `KMSEncrypted` to set
+ # the file share encryption method. You do not need to provide values
+ # for both parameters.
+ #
+ # If values for both parameters exist in the same request, then the
+ # specified encryption methods must not conflict. For example, if
+ # `EncryptionType` is `SseS3`, then `KMSEncrypted` must be `false`. If
+ # `EncryptionType` is `SseKms` or `DsseKms`, then `KMSEncrypted` must
+ # be `true`.
+ #
+ #
#
# Valid Values: `true` \| `false`
# @return [Boolean]
#
# @!attribute [rw] kms_key
- # The Amazon Resource Name (ARN) of a symmetric customer master key
- # (CMK) used for Amazon S3 server-side encryption. Storage Gateway
- # does not support asymmetric CMKs. This value can only be set when
- # `KMSEncrypted` is `true`. Optional.
+ # Optional. The Amazon Resource Name (ARN) of a symmetric customer
+ # master key (CMK) used for Amazon S3 server-side encryption. Storage
+ # Gateway does not support asymmetric CMKs. This value must be set if
+ # `KMSEncrypted` is `true`, or if `EncryptionType` is `SseKms` or
+ # `DsseKms`.
# @return [String]
#
# @!attribute [rw] default_storage_class
@@ -7033,14 +7272,14 @@ class UpdateNFSFileShareOutput < Struct.new(
# SMB file share. Set it to `false` to map file and directory
# permissions to the POSIX permissions.
#
- # For more information, see [Using Microsoft Windows ACLs to control
- # access to an SMB file share][1] in the *Storage Gateway User Guide*.
+ # For more information, see [Using Windows ACLs to limit SMB file
+ # share access][1] in the *Amazon S3 File Gateway User Guide*.
#
# Valid Values: `true` \| `false`
#
#
#
- # [1]: https://docs.aws.amazon.com/storagegateway/latest/userguide/smb-acl.html
+ # [1]: https://docs.aws.amazon.com/filegateway/latest/files3/smb-acl.html
# @return [Boolean]
#
# @!attribute [rw] access_based_enumeration
@@ -7108,6 +7347,11 @@ class UpdateNFSFileShareOutput < Struct.new(
# `SettlingTimeInSeconds` has no effect on the timing of the object
# uploading to Amazon S3, only the timing of the notification.
#
+ # This setting is not meant to specify an exact time at which the
+ # notification will be sent. In some cases, the gateway might require
+ # more than the specified delay time to generate and send
+ # notifications.
+ #
#
#
# The following example sets `NotificationPolicy` on with
@@ -7137,6 +7381,7 @@ class UpdateNFSFileShareOutput < Struct.new(
#
class UpdateSMBFileShareInput < Struct.new(
:file_share_arn,
+ :encryption_type,
:kms_encrypted,
:kms_key,
:default_storage_class,
diff --git a/gems/aws-sdk-storagegateway/sig/client.rbs b/gems/aws-sdk-storagegateway/sig/client.rbs
index 170086ac0f1..06bcc4f8369 100644
--- a/gems/aws-sdk-storagegateway/sig/client.rbs
+++ b/gems/aws-sdk-storagegateway/sig/client.rbs
@@ -261,6 +261,7 @@ module Aws
owner_id: ::Integer?
},
gateway_arn: ::String,
+ ?encryption_type: ("SseS3" | "SseKms" | "DsseKms"),
?kms_encrypted: bool,
?kms_key: ::String,
role: ::String,
@@ -297,6 +298,7 @@ module Aws
def create_smb_file_share: (
client_token: ::String,
gateway_arn: ::String,
+ ?encryption_type: ("SseS3" | "SseKms" | "DsseKms"),
?kms_encrypted: bool,
?kms_key: ::String,
role: ::String,
@@ -1271,6 +1273,7 @@ module Aws
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/StorageGateway/Client.html#update_nfs_file_share-instance_method
def update_nfs_file_share: (
file_share_arn: ::String,
+ ?encryption_type: ("SseS3" | "SseKms" | "DsseKms"),
?kms_encrypted: bool,
?kms_key: ::String,
?nfs_file_share_defaults: {
@@ -1302,6 +1305,7 @@ module Aws
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/StorageGateway/Client.html#update_smb_file_share-instance_method
def update_smb_file_share: (
file_share_arn: ::String,
+ ?encryption_type: ("SseS3" | "SseKms" | "DsseKms"),
?kms_encrypted: bool,
?kms_key: ::String,
?default_storage_class: ::String,
diff --git a/gems/aws-sdk-storagegateway/sig/types.rbs b/gems/aws-sdk-storagegateway/sig/types.rbs
index 31f289fe45a..fd08366dfdf 100644
--- a/gems/aws-sdk-storagegateway/sig/types.rbs
+++ b/gems/aws-sdk-storagegateway/sig/types.rbs
@@ -216,6 +216,7 @@ module Aws::StorageGateway
attr_accessor client_token: ::String
attr_accessor nfs_file_share_defaults: Types::NFSFileShareDefaults
attr_accessor gateway_arn: ::String
+ attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
attr_accessor kms_encrypted: bool
attr_accessor kms_key: ::String
attr_accessor role: ::String
@@ -245,6 +246,7 @@ module Aws::StorageGateway
class CreateSMBFileShareInput
attr_accessor client_token: ::String
attr_accessor gateway_arn: ::String
+ attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
attr_accessor kms_encrypted: bool
attr_accessor kms_key: ::String
attr_accessor role: ::String
@@ -1038,6 +1040,7 @@ module Aws::StorageGateway
attr_accessor file_share_id: ::String
attr_accessor file_share_status: ::String
attr_accessor gateway_arn: ::String
+ attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
attr_accessor kms_encrypted: bool
attr_accessor kms_key: ::String
attr_accessor path: ::String
@@ -1149,6 +1152,7 @@ module Aws::StorageGateway
attr_accessor file_share_id: ::String
attr_accessor file_share_status: ::String
attr_accessor gateway_arn: ::String
+ attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
attr_accessor kms_encrypted: bool
attr_accessor kms_key: ::String
attr_accessor path: ::String
@@ -1434,6 +1438,7 @@ module Aws::StorageGateway
class UpdateNFSFileShareInput
attr_accessor file_share_arn: ::String
+ attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
attr_accessor kms_encrypted: bool
attr_accessor kms_key: ::String
attr_accessor nfs_file_share_defaults: Types::NFSFileShareDefaults
@@ -1458,6 +1463,7 @@ module Aws::StorageGateway
class UpdateSMBFileShareInput
attr_accessor file_share_arn: ::String
+ attr_accessor encryption_type: ("SseS3" | "SseKms" | "DsseKms")
attr_accessor kms_encrypted: bool
attr_accessor kms_key: ::String
attr_accessor default_storage_class: ::String
diff --git a/gems/aws-sdk-storagegateway/spec/endpoint_provider_spec.rb b/gems/aws-sdk-storagegateway/spec/endpoint_provider_spec.rb
index 4e2bceed22b..adb1cef56b2 100644
--- a/gems/aws-sdk-storagegateway/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-storagegateway/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::StorageGateway
describe EndpointProvider do
subject { Aws::StorageGateway::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::StorageGateway
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::StorageGateway
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::StorageGateway
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::StorageGateway
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::StorageGateway
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::StorageGateway
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::StorageGateway
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::StorageGateway
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::StorageGateway
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::StorageGateway
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.ca-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::StorageGateway
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.eu-central-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::StorageGateway
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.eu-north-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::StorageGateway
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.eu-south-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::StorageGateway
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.eu-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::StorageGateway
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.eu-west-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::StorageGateway
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.eu-west-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::StorageGateway
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.me-south-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::StorageGateway
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.sa-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.us-east-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.us-east-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.us-west-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.us-west-2.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.us-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::StorageGateway
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::StorageGateway
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::StorageGateway
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::StorageGateway
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::StorageGateway
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -490,7 +490,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.us-gov-east-1.api.aws"}}
end
@@ -574,7 +574,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -587,7 +587,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -601,7 +601,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -614,7 +614,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.us-iso-east-1.c2s.ic.gov"}}
end
@@ -628,7 +628,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -641,7 +641,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -655,7 +655,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -668,7 +668,7 @@ module Aws::StorageGateway
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://storagegateway.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -682,7 +682,7 @@ module Aws::StorageGateway
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::StorageGateway
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::StorageGateway
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::StorageGateway
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::StorageGateway
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-supplychain/CHANGELOG.md b/gems/aws-sdk-supplychain/CHANGELOG.md
index dc7a7294b25..0e0ebb20f85 100644
--- a/gems/aws-sdk-supplychain/CHANGELOG.md
+++ b/gems/aws-sdk-supplychain/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.12.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.11.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-supplychain/VERSION b/gems/aws-sdk-supplychain/VERSION
index 1cac385c6cb..0eed1a29efd 100644
--- a/gems/aws-sdk-supplychain/VERSION
+++ b/gems/aws-sdk-supplychain/VERSION
@@ -1 +1 @@
-1.11.0
+1.12.0
diff --git a/gems/aws-sdk-supplychain/aws-sdk-supplychain.gemspec b/gems/aws-sdk-supplychain/aws-sdk-supplychain.gemspec
index 5d2da91418c..8eb2832ac4f 100644
--- a/gems/aws-sdk-supplychain/aws-sdk-supplychain.gemspec
+++ b/gems/aws-sdk-supplychain/aws-sdk-supplychain.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-supplychain/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain.rb b/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain.rb
index bc558f0d659..ba8f3aee299 100644
--- a/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain.rb
+++ b/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SupplyChain
- GEM_VERSION = '1.11.0'
+ GEM_VERSION = '1.12.0'
end
diff --git a/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/client.rb b/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/client.rb
index f77f5bc982a..ec75062e1e0 100644
--- a/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/client.rb
+++ b/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/client.rb
@@ -881,7 +881,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-supplychain'
- context[:gem_version] = '1.11.0'
+ context[:gem_version] = '1.12.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/endpoints.rb b/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/endpoints.rb
index 91e21fce6ab..e0c1070db3a 100644
--- a/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/endpoints.rb
+++ b/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/endpoints.rb
@@ -14,42 +14,33 @@ module Endpoints
class CreateBillOfMaterialsImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupplyChain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBillOfMaterialsImportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupplyChain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendDataIntegrationEvent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupplyChain::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/plugins/endpoints.rb b/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/plugins/endpoints.rb
index a0b7d62fb3d..370b3b8ced9 100644
--- a/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/plugins/endpoints.rb
+++ b/gems/aws-sdk-supplychain/lib/aws-sdk-supplychain/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-supplychain/spec/endpoint_provider_spec.rb b/gems/aws-sdk-supplychain/spec/endpoint_provider_spec.rb
index 87e0c1aa9f5..618fabe205a 100644
--- a/gems/aws-sdk-supplychain/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-supplychain/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SupplyChain
describe EndpointProvider do
subject { Aws::SupplyChain::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SupplyChain
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::SupplyChain
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SupplyChain
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SupplyChain
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::SupplyChain
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://scn.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::SupplyChain
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::SupplyChain
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SupplyChain
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::SupplyChain
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::SupplyChain
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-support/CHANGELOG.md b/gems/aws-sdk-support/CHANGELOG.md
index 65b240655be..bb821bb7a1e 100644
--- a/gems/aws-sdk-support/CHANGELOG.md
+++ b/gems/aws-sdk-support/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.67.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.66.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-support/VERSION b/gems/aws-sdk-support/VERSION
index b6148bc0a75..65ee0959841 100644
--- a/gems/aws-sdk-support/VERSION
+++ b/gems/aws-sdk-support/VERSION
@@ -1 +1 @@
-1.66.0
+1.67.0
diff --git a/gems/aws-sdk-support/aws-sdk-support.gemspec b/gems/aws-sdk-support/aws-sdk-support.gemspec
index bac77268574..6faf5c8f0ec 100644
--- a/gems/aws-sdk-support/aws-sdk-support.gemspec
+++ b/gems/aws-sdk-support/aws-sdk-support.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-support/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-support/lib/aws-sdk-support.rb b/gems/aws-sdk-support/lib/aws-sdk-support.rb
index b5ad29af88b..e45d75b8850 100644
--- a/gems/aws-sdk-support/lib/aws-sdk-support.rb
+++ b/gems/aws-sdk-support/lib/aws-sdk-support.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Support
- GEM_VERSION = '1.66.0'
+ GEM_VERSION = '1.67.0'
end
diff --git a/gems/aws-sdk-support/lib/aws-sdk-support/client.rb b/gems/aws-sdk-support/lib/aws-sdk-support/client.rb
index b4efe2b2479..1a6e56c526e 100644
--- a/gems/aws-sdk-support/lib/aws-sdk-support/client.rb
+++ b/gems/aws-sdk-support/lib/aws-sdk-support/client.rb
@@ -1723,7 +1723,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-support'
- context[:gem_version] = '1.66.0'
+ context[:gem_version] = '1.67.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-support/lib/aws-sdk-support/endpoints.rb b/gems/aws-sdk-support/lib/aws-sdk-support/endpoints.rb
index 4069f1933bb..2e38ba07079 100644
--- a/gems/aws-sdk-support/lib/aws-sdk-support/endpoints.rb
+++ b/gems/aws-sdk-support/lib/aws-sdk-support/endpoints.rb
@@ -14,224 +14,176 @@ module Endpoints
class AddAttachmentsToSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddCommunicationToCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAttachment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCommunications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCreateCaseOptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSeverityLevels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSupportedLanguages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrustedAdvisorCheckRefreshStatuses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrustedAdvisorCheckResult
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrustedAdvisorCheckSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTrustedAdvisorChecks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RefreshTrustedAdvisorCheck
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResolveCase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Support::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-support/lib/aws-sdk-support/plugins/endpoints.rb b/gems/aws-sdk-support/lib/aws-sdk-support/plugins/endpoints.rb
index 549740769b3..cb3b8cc8d98 100644
--- a/gems/aws-sdk-support/lib/aws-sdk-support/plugins/endpoints.rb
+++ b/gems/aws-sdk-support/lib/aws-sdk-support/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-support/spec/endpoint_provider_spec.rb b/gems/aws-sdk-support/spec/endpoint_provider_spec.rb
index 84be51930ba..e7c0368e1b8 100644
--- a/gems/aws-sdk-support/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-support/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Support
describe EndpointProvider do
subject { Aws::Support::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-east-1"}]}, "url"=>"https://support.us-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Support
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://support-fips.us-east-1.api.aws"}}
end
@@ -42,7 +42,7 @@ module Aws::Support
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://support-fips.us-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Support
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://support.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::Support
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-east-1"}]}, "url"=>"https://support.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Support
end
end
- context 'For region aws-cn-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-cn-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"cn-north-1"}]}, "url"=>"https://support.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Support
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://support-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Support
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://support-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Support
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://support.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::Support
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"cn-north-1"}]}, "url"=>"https://support.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::Support
end
end
- context 'For region aws-us-gov-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-us-gov-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://support.us-gov-west-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Support
end
end
- context 'For region aws-us-gov-global with FIPS enabled and DualStack disabled' do
+ context "For region aws-us-gov-global with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://support.us-gov-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Support
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://support-fips.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::Support
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://support.us-gov-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Support
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://support.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::Support
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://support.us-gov-west-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Support
end
end
- context 'For region aws-iso-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-iso-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://support.us-iso-east-1.c2s.ic.gov"}}
end
@@ -252,7 +252,7 @@ module Aws::Support
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -265,7 +265,7 @@ module Aws::Support
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://support-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -279,7 +279,7 @@ module Aws::Support
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -292,7 +292,7 @@ module Aws::Support
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://support.us-iso-east-1.c2s.ic.gov"}}
end
@@ -306,7 +306,7 @@ module Aws::Support
end
end
- context 'For region aws-iso-b-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-iso-b-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://support.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::Support
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::Support
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://support-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::Support
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::Support
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"support", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://support.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::Support
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::Support
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::Support
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::Support
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::Support
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-supportapp/CHANGELOG.md b/gems/aws-sdk-supportapp/CHANGELOG.md
index 3294ed3d905..20949ef7f1e 100644
--- a/gems/aws-sdk-supportapp/CHANGELOG.md
+++ b/gems/aws-sdk-supportapp/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.23.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.22.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-supportapp/VERSION b/gems/aws-sdk-supportapp/VERSION
index 57807d6d0d0..a6c2798a482 100644
--- a/gems/aws-sdk-supportapp/VERSION
+++ b/gems/aws-sdk-supportapp/VERSION
@@ -1 +1 @@
-1.22.0
+1.23.0
diff --git a/gems/aws-sdk-supportapp/aws-sdk-supportapp.gemspec b/gems/aws-sdk-supportapp/aws-sdk-supportapp.gemspec
index d52baf3cfea..1ec869d9adc 100644
--- a/gems/aws-sdk-supportapp/aws-sdk-supportapp.gemspec
+++ b/gems/aws-sdk-supportapp/aws-sdk-supportapp.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-supportapp/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp.rb b/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp.rb
index 1f3229fce7e..9240e9b9eed 100644
--- a/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp.rb
+++ b/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SupportApp
- GEM_VERSION = '1.22.0'
+ GEM_VERSION = '1.23.0'
end
diff --git a/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/client.rb b/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/client.rb
index bf2742910b8..1e6a488ad04 100644
--- a/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/client.rb
+++ b/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/client.rb
@@ -950,7 +950,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-supportapp'
- context[:gem_version] = '1.22.0'
+ context[:gem_version] = '1.23.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/endpoints.rb b/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/endpoints.rb
index 45630cef32e..b0f156f20cb 100644
--- a/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/endpoints.rb
+++ b/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/endpoints.rb
@@ -14,140 +14,110 @@ module Endpoints
class CreateSlackChannelConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupportApp::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccountAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupportApp::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSlackChannelConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupportApp::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSlackWorkspaceConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupportApp::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupportApp::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSlackChannelConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupportApp::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSlackWorkspaceConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupportApp::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccountAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupportApp::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterSlackWorkspaceForOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupportApp::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSlackChannelConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SupportApp::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/plugins/endpoints.rb b/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/plugins/endpoints.rb
index f40a34b0010..d49963d2a98 100644
--- a/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/plugins/endpoints.rb
+++ b/gems/aws-sdk-supportapp/lib/aws-sdk-supportapp/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-supportapp/spec/endpoint_provider_spec.rb b/gems/aws-sdk-supportapp/spec/endpoint_provider_spec.rb
index 39cb72929f1..6379973428b 100644
--- a/gems/aws-sdk-supportapp/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-supportapp/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SupportApp
describe EndpointProvider do
subject { Aws::SupportApp::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::SupportApp
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SupportApp
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::SupportApp
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SupportApp
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::SupportApp
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::SupportApp
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::SupportApp
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::SupportApp
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::SupportApp
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SupportApp
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::SupportApp
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SupportApp
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::SupportApp
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::SupportApp
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::SupportApp
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::SupportApp
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::SupportApp
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::SupportApp
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::SupportApp
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://supportapp.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::SupportApp
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::SupportApp
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::SupportApp
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::SupportApp
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::SupportApp
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-swf/CHANGELOG.md b/gems/aws-sdk-swf/CHANGELOG.md
index 41150da6dbd..a7cd6ddd286 100644
--- a/gems/aws-sdk-swf/CHANGELOG.md
+++ b/gems/aws-sdk-swf/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.62.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.61.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-swf/VERSION b/gems/aws-sdk-swf/VERSION
index 91951fd8ad7..76d05362056 100644
--- a/gems/aws-sdk-swf/VERSION
+++ b/gems/aws-sdk-swf/VERSION
@@ -1 +1 @@
-1.61.0
+1.62.0
diff --git a/gems/aws-sdk-swf/aws-sdk-swf.gemspec b/gems/aws-sdk-swf/aws-sdk-swf.gemspec
index 9df1e41f4b8..388628e3f8e 100644
--- a/gems/aws-sdk-swf/aws-sdk-swf.gemspec
+++ b/gems/aws-sdk-swf/aws-sdk-swf.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-swf/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-swf/lib/aws-sdk-swf.rb b/gems/aws-sdk-swf/lib/aws-sdk-swf.rb
index 31155bf4713..1483c0a2145 100644
--- a/gems/aws-sdk-swf/lib/aws-sdk-swf.rb
+++ b/gems/aws-sdk-swf/lib/aws-sdk-swf.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::SWF
- GEM_VERSION = '1.61.0'
+ GEM_VERSION = '1.62.0'
end
diff --git a/gems/aws-sdk-swf/lib/aws-sdk-swf/client.rb b/gems/aws-sdk-swf/lib/aws-sdk-swf/client.rb
index 1a1bdd48831..89957ef6fd1 100644
--- a/gems/aws-sdk-swf/lib/aws-sdk-swf/client.rb
+++ b/gems/aws-sdk-swf/lib/aws-sdk-swf/client.rb
@@ -4562,7 +4562,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-swf'
- context[:gem_version] = '1.61.0'
+ context[:gem_version] = '1.62.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-swf/lib/aws-sdk-swf/endpoints.rb b/gems/aws-sdk-swf/lib/aws-sdk-swf/endpoints.rb
index 8c111f59a35..c4d60d4fc35 100644
--- a/gems/aws-sdk-swf/lib/aws-sdk-swf/endpoints.rb
+++ b/gems/aws-sdk-swf/lib/aws-sdk-swf/endpoints.rb
@@ -14,546 +14,429 @@ module Endpoints
class CountClosedWorkflowExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CountOpenWorkflowExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CountPendingActivityTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CountPendingDecisionTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteActivityType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkflowType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeprecateActivityType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeprecateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeprecateWorkflowType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeActivityType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkflowExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkflowType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkflowExecutionHistory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListActivityTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListClosedWorkflowExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOpenWorkflowExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflowTypes
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PollForActivityTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PollForDecisionTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RecordActivityTaskHeartbeat
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterActivityType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterWorkflowType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RequestCancelWorkflowExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RespondActivityTaskCanceled
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RespondActivityTaskCompleted
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RespondActivityTaskFailed
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RespondDecisionTaskCompleted
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SignalWorkflowExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartWorkflowExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateWorkflowExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UndeprecateActivityType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UndeprecateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UndeprecateWorkflowType
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::SWF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-swf/lib/aws-sdk-swf/plugins/endpoints.rb b/gems/aws-sdk-swf/lib/aws-sdk-swf/plugins/endpoints.rb
index 24dafa4c5d5..e5d8b052f5b 100644
--- a/gems/aws-sdk-swf/lib/aws-sdk-swf/plugins/endpoints.rb
+++ b/gems/aws-sdk-swf/lib/aws-sdk-swf/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-swf/spec/endpoint_provider_spec.rb b/gems/aws-sdk-swf/spec/endpoint_provider_spec.rb
index 808ee94a1c1..987b7423bd4 100644
--- a/gems/aws-sdk-swf/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-swf/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::SWF
describe EndpointProvider do
subject { Aws::SWF::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::SWF
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::SWF
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::SWF
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::SWF
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::SWF
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::SWF
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::SWF
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::SWF
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::SWF
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::SWF
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::SWF
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::SWF
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::SWF
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::SWF
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::SWF
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::SWF
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::SWF
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::SWF
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::SWF
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::SWF
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::SWF
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::SWF
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::SWF
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::SWF
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::SWF
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::SWF
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::SWF
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::SWF
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::SWF
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::SWF
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::SWF
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::SWF
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::SWF
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::SWF
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::SWF
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::SWF
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::SWF
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::SWF
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::SWF
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::SWF
end
end
- context 'For region us-iso-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-iso-west-1.c2s.ic.gov"}}
end
@@ -588,7 +588,7 @@ module Aws::SWF
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -601,7 +601,7 @@ module Aws::SWF
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -615,7 +615,7 @@ module Aws::SWF
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -628,7 +628,7 @@ module Aws::SWF
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -642,7 +642,7 @@ module Aws::SWF
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -655,7 +655,7 @@ module Aws::SWF
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://swf-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -669,7 +669,7 @@ module Aws::SWF
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -682,7 +682,7 @@ module Aws::SWF
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::SWF
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -710,7 +710,7 @@ module Aws::SWF
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -723,7 +723,7 @@ module Aws::SWF
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -736,7 +736,7 @@ module Aws::SWF
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-synthetics/CHANGELOG.md b/gems/aws-sdk-synthetics/CHANGELOG.md
index 601cd71b393..f64ac3a7e3d 100644
--- a/gems/aws-sdk-synthetics/CHANGELOG.md
+++ b/gems/aws-sdk-synthetics/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.51.0 (2024-09-12)
+------------------
+
+* Feature - This release introduces two features. The first is tag replication, which allows for the propagation of canary tags onto Synthetics related resources, such as Lambda functions. The second is a limit increase in canary name length, which has now been increased from 21 to 255 characters.
+
+1.50.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.49.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-synthetics/VERSION b/gems/aws-sdk-synthetics/VERSION
index 7f3a46a841e..ba0a719118c 100644
--- a/gems/aws-sdk-synthetics/VERSION
+++ b/gems/aws-sdk-synthetics/VERSION
@@ -1 +1 @@
-1.49.0
+1.51.0
diff --git a/gems/aws-sdk-synthetics/aws-sdk-synthetics.gemspec b/gems/aws-sdk-synthetics/aws-sdk-synthetics.gemspec
index 24d11e3b00c..00abc12c61f 100644
--- a/gems/aws-sdk-synthetics/aws-sdk-synthetics.gemspec
+++ b/gems/aws-sdk-synthetics/aws-sdk-synthetics.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-synthetics/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics.rb b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics.rb
index 350fc146cfb..eb7fa6746f2 100644
--- a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics.rb
+++ b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Synthetics
- GEM_VERSION = '1.49.0'
+ GEM_VERSION = '1.51.0'
end
diff --git a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client.rb b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client.rb
index a17c5cd75e3..96a9eeb5e70 100644
--- a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client.rb
+++ b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client.rb
@@ -584,6 +584,14 @@ def associate_resource(params = {}, options = {})
#
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html
#
+ # @option params [Array] :resources_to_replicate_tags
+ # To have the tags that you apply to this canary also be applied to the
+ # Lambda function that the canary uses, specify this parameter with the
+ # value `lambda-function`.
+ #
+ # If you specify this parameter and don't specify any tags in the
+ # `Tags` parameter, the canary creation fails.
+ #
# @option params [Hash] :tags
# A list of key-value pairs to associate with the canary. You can
# associate as many as 50 tags with a canary.
@@ -592,6 +600,10 @@ def associate_resource(params = {}, options = {})
# use them to scope user permissions, by granting a user permission to
# access or change only the resources that have certain tag values.
#
+ # To have the tags that you apply to this canary also be applied to the
+ # Lambda function that the canary uses, specify this parameter with the
+ # value `lambda-function`.
+ #
# @option params [Types::ArtifactConfigInput] :artifact_config
# A structure that contains the configuration for canary artifacts,
# including the encryption-at-rest settings for artifacts that the
@@ -633,6 +645,7 @@ def associate_resource(params = {}, options = {})
# subnet_ids: ["SubnetId"],
# security_group_ids: ["SecurityGroupId"],
# },
+ # resources_to_replicate_tags: ["lambda-function"], # accepts lambda-function
# tags: {
# "TagKey" => "TagValue",
# },
@@ -773,17 +786,20 @@ def create_group(params = {}, options = {})
# again, you should also delete the following:
#
# * The CloudWatch alarms created for this canary. These alarms have a
- # name of `Synthetics-SharpDrop-Alarm-MyCanaryName `.
+ # name of
+ # `Synthetics-Alarm-first-198-characters-of-canary-name-canaryId-alarm
+ # number `
#
# * Amazon S3 objects and buckets, such as the canary's artifact
# location.
#
# * IAM roles created for the canary. If they were created in the
# console, these roles have the name `
- # role/service-role/CloudWatchSyntheticsRole-MyCanaryName `.
+ # role/service-role/CloudWatchSyntheticsRole-First-21-Characters-of-CanaryName
+ # `
#
# * CloudWatch Logs log groups created for the canary. These logs groups
- # have the name `/aws/lambda/cwsyn-MyCanaryName `.
+ # have the name `/aws/lambda/cwsyn-First-21-Characters-of-CanaryName `
#
# Before you delete a canary, you might want to use `GetCanary` to
# display the information about this canary. Make note of the
@@ -878,7 +894,7 @@ def delete_group(params = {}, options = {})
# @option params [Integer] :max_results
# Specify this parameter to limit how many canaries are returned each
# time you use the `DescribeCanaries` operation. If you omit this
- # parameter, the default of 100 is used.
+ # parameter, the default of 20 is used.
#
# @option params [Array] :names
# Use this parameter to return only canaries that match the names that
@@ -1790,7 +1806,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-synthetics'
- context[:gem_version] = '1.49.0'
+ context[:gem_version] = '1.51.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client_api.rb b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client_api.rb
index 597f969a3e1..e1381bf2f77 100644
--- a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client_api.rb
+++ b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/client_api.rb
@@ -106,7 +106,9 @@ module ClientApi
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
RequestEntityTooLargeException = Shapes::StructureShape.new(name: 'RequestEntityTooLargeException')
ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
+ ResourceList = Shapes::ListShape.new(name: 'ResourceList')
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
+ ResourceToTag = Shapes::StringShape.new(name: 'ResourceToTag')
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
RuntimeVersion = Shapes::StructureShape.new(name: 'RuntimeVersion')
RuntimeVersionList = Shapes::ListShape.new(name: 'RuntimeVersionList')
@@ -266,6 +268,7 @@ module ClientApi
CreateCanaryRequest.add_member(:failure_retention_period_in_days, Shapes::ShapeRef.new(shape: MaxSize1024, location_name: "FailureRetentionPeriodInDays"))
CreateCanaryRequest.add_member(:runtime_version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "RuntimeVersion"))
CreateCanaryRequest.add_member(:vpc_config, Shapes::ShapeRef.new(shape: VpcConfigInput, location_name: "VpcConfig"))
+ CreateCanaryRequest.add_member(:resources_to_replicate_tags, Shapes::ShapeRef.new(shape: ResourceList, location_name: "ResourcesToReplicateTags"))
CreateCanaryRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
CreateCanaryRequest.add_member(:artifact_config, Shapes::ShapeRef.new(shape: ArtifactConfigInput, location_name: "ArtifactConfig"))
CreateCanaryRequest.struct_class = Types::CreateCanaryRequest
@@ -410,6 +413,8 @@ module ClientApi
RequestEntityTooLargeException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
RequestEntityTooLargeException.struct_class = Types::RequestEntityTooLargeException
+ ResourceList.member = Shapes::ShapeRef.new(shape: ResourceToTag)
+
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "Message"))
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
diff --git a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/endpoint_provider.rb b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/endpoint_provider.rb
index 01d42dc249b..c4b5bcabc2d 100644
--- a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/endpoint_provider.rb
+++ b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/endpoint_provider.rb
@@ -32,7 +32,7 @@ def resolve_endpoint(parameters)
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
end
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
- if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
+ if Aws::Endpoints::Matchers.boolean_equals?(Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"), true)
return Aws::Endpoints::Endpoint.new(url: "https://synthetics-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
end
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
diff --git a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/endpoints.rb b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/endpoints.rb
index 8e233efdd26..3df2318a4a9 100644
--- a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/endpoints.rb
+++ b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/endpoints.rb
@@ -14,294 +14,231 @@ module Endpoints
class AssociateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCanary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCanary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCanaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCanariesLastRun
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRuntimeVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCanary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCanaryRuns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAssociatedGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCanary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopCanary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCanary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Synthetics::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/plugins/endpoints.rb b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/plugins/endpoints.rb
index d3a0a91207f..bc66d25c5a7 100644
--- a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/plugins/endpoints.rb
+++ b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb
index c1166977e1f..be33002638e 100644
--- a/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb
+++ b/gems/aws-sdk-synthetics/lib/aws-sdk-synthetics/types.rb
@@ -250,6 +250,23 @@ class Canary < Struct.new(
# script was passed into the canary directly, the script code is
# contained in the value of `Zipfile`.
#
+ # If you are uploading your canary scripts with an Amazon S3 bucket,
+ # your zip file should include your script in a certain folder
+ # structure.
+ #
+ # * For Node.js canaries, the folder structure must be
+ # `nodejs/node_modules/myCanaryFilename.js ` For more information, see
+ # [Packaging your Node.js canary files][1]
+ #
+ # * For Python canaries, the folder structure must be
+ # `python/myCanaryFilename.p ` or `python/myFolder/myCanaryFilename.py
+ # ` For more information, see [Packaging your Python canary files][2]
+ #
+ #
+ #
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_WritingCanary_Nodejs.html#CloudWatch_Synthetics_Canaries_package
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_WritingCanary_Python.html#CloudWatch_Synthetics_Canaries_WritingCanary_Python_package
+ #
# @!attribute [rw] s3_bucket
# If your canary script is located in S3, specify the bucket name
# here. Do not include `s3://` as the start of the bucket name.
@@ -761,6 +778,15 @@ class ConflictException < Struct.new(
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_VPC.html
# @return [Types::VpcConfigInput]
#
+ # @!attribute [rw] resources_to_replicate_tags
+ # To have the tags that you apply to this canary also be applied to
+ # the Lambda function that the canary uses, specify this parameter
+ # with the value `lambda-function`.
+ #
+ # If you specify this parameter and don't specify any tags in the
+ # `Tags` parameter, the canary creation fails.
+ # @return [Array]
+ #
# @!attribute [rw] tags
# A list of key-value pairs to associate with the canary. You can
# associate as many as 50 tags with a canary.
@@ -769,6 +795,10 @@ class ConflictException < Struct.new(
# also use them to scope user permissions, by granting a user
# permission to access or change only the resources that have certain
# tag values.
+ #
+ # To have the tags that you apply to this canary also be applied to
+ # the Lambda function that the canary uses, specify this parameter
+ # with the value `lambda-function`.
# @return [Hash]
#
# @!attribute [rw] artifact_config
@@ -790,6 +820,7 @@ class CreateCanaryRequest < Struct.new(
:failure_retention_period_in_days,
:runtime_version,
:vpc_config,
+ :resources_to_replicate_tags,
:tags,
:artifact_config)
SENSITIVE = []
@@ -963,7 +994,7 @@ class DescribeCanariesLastRunResponse < Struct.new(
# @!attribute [rw] max_results
# Specify this parameter to limit how many canaries are returned each
# time you use the `DescribeCanaries` operation. If you omit this
- # parameter, the default of 100 is used.
+ # parameter, the default of 20 is used.
# @return [Integer]
#
# @!attribute [rw] names
diff --git a/gems/aws-sdk-synthetics/sig/client.rbs b/gems/aws-sdk-synthetics/sig/client.rbs
index 948ed8fafc9..e3e0acd5707 100644
--- a/gems/aws-sdk-synthetics/sig/client.rbs
+++ b/gems/aws-sdk-synthetics/sig/client.rbs
@@ -117,6 +117,7 @@ module Aws
subnet_ids: Array[::String]?,
security_group_ids: Array[::String]?
},
+ ?resources_to_replicate_tags: Array[("lambda-function")],
?tags: Hash[::String, ::String],
?artifact_config: {
s3_encryption: {
diff --git a/gems/aws-sdk-synthetics/sig/types.rbs b/gems/aws-sdk-synthetics/sig/types.rbs
index 2b267affe46..5d15d347128 100644
--- a/gems/aws-sdk-synthetics/sig/types.rbs
+++ b/gems/aws-sdk-synthetics/sig/types.rbs
@@ -160,6 +160,7 @@ module Aws::Synthetics
attr_accessor failure_retention_period_in_days: ::Integer
attr_accessor runtime_version: ::String
attr_accessor vpc_config: Types::VpcConfigInput
+ attr_accessor resources_to_replicate_tags: ::Array[("lambda-function")]
attr_accessor tags: ::Hash[::String, ::String]
attr_accessor artifact_config: Types::ArtifactConfigInput
SENSITIVE: []
diff --git a/gems/aws-sdk-synthetics/spec/endpoint_provider_spec.rb b/gems/aws-sdk-synthetics/spec/endpoint_provider_spec.rb
index a3699a02dbc..09c4c1244b8 100644
--- a/gems/aws-sdk-synthetics/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-synthetics/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Synthetics
describe EndpointProvider do
subject { Aws::Synthetics::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Synthetics
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Synthetics
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Synthetics
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Synthetics
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Synthetics
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Synthetics
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Synthetics
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Synthetics
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Synthetics
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Synthetics
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Synthetics
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Synthetics
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Synthetics
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Synthetics
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Synthetics
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Synthetics
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Synthetics
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Synthetics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Synthetics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Synthetics
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Synthetics
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Synthetics
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Synthetics
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Synthetics
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Synthetics
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Synthetics
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Synthetics
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Synthetics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Synthetics
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Synthetics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Synthetics
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::Synthetics
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::Synthetics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Synthetics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Synthetics
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Synthetics
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::Synthetics
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::Synthetics
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::Synthetics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.us-iso-east-1.c2s.ic.gov"}}
end
@@ -574,7 +574,7 @@ module Aws::Synthetics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -587,7 +587,7 @@ module Aws::Synthetics
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -601,7 +601,7 @@ module Aws::Synthetics
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -614,7 +614,7 @@ module Aws::Synthetics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -628,7 +628,7 @@ module Aws::Synthetics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -641,7 +641,7 @@ module Aws::Synthetics
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://synthetics-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -655,7 +655,7 @@ module Aws::Synthetics
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -668,7 +668,7 @@ module Aws::Synthetics
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::Synthetics
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::Synthetics
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::Synthetics
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::Synthetics
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-taxsettings/CHANGELOG.md b/gems/aws-sdk-taxsettings/CHANGELOG.md
index 96558cf04c7..628c826c017 100644
--- a/gems/aws-sdk-taxsettings/CHANGELOG.md
+++ b/gems/aws-sdk-taxsettings/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.8.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.7.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-taxsettings/VERSION b/gems/aws-sdk-taxsettings/VERSION
index bd8bf882d06..27f9cd322bb 100644
--- a/gems/aws-sdk-taxsettings/VERSION
+++ b/gems/aws-sdk-taxsettings/VERSION
@@ -1 +1 @@
-1.7.0
+1.8.0
diff --git a/gems/aws-sdk-taxsettings/aws-sdk-taxsettings.gemspec b/gems/aws-sdk-taxsettings/aws-sdk-taxsettings.gemspec
index 2c23d733270..f4fe219e1fe 100644
--- a/gems/aws-sdk-taxsettings/aws-sdk-taxsettings.gemspec
+++ b/gems/aws-sdk-taxsettings/aws-sdk-taxsettings.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-taxsettings/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings.rb b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings.rb
index 4332111eb2f..40e7c008304 100644
--- a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings.rb
+++ b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::TaxSettings
- GEM_VERSION = '1.7.0'
+ GEM_VERSION = '1.8.0'
end
diff --git a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client.rb b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client.rb
index 9c5c075ad14..99f1b1c0fcd 100644
--- a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client.rb
+++ b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/client.rb
@@ -1275,7 +1275,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-taxsettings'
- context[:gem_version] = '1.7.0'
+ context[:gem_version] = '1.8.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/endpoints.rb b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/endpoints.rb
index bdc9c49253c..ced0020f774 100644
--- a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/endpoints.rb
+++ b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/endpoints.rb
@@ -14,13 +14,10 @@ module Endpoints
class BatchDeleteTaxRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TaxSettings::EndpointParameters.new(
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -28,13 +25,10 @@ def self.build(context)
class BatchPutTaxRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TaxSettings::EndpointParameters.new(
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -42,13 +36,10 @@ def self.build(context)
class DeleteTaxRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TaxSettings::EndpointParameters.new(
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -56,13 +47,10 @@ def self.build(context)
class GetTaxRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TaxSettings::EndpointParameters.new(
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -70,13 +58,10 @@ def self.build(context)
class GetTaxRegistrationDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TaxSettings::EndpointParameters.new(
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -84,13 +69,10 @@ def self.build(context)
class ListTaxRegistrations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TaxSettings::EndpointParameters.new(
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
@@ -98,13 +80,10 @@ def self.build(context)
class PutTaxRegistration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TaxSettings::EndpointParameters.new(
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
region: context.config.region,
)
end
diff --git a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/plugins/endpoints.rb b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/plugins/endpoints.rb
index 9e7df17f97a..5f3d22682c7 100644
--- a/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/plugins/endpoints.rb
+++ b/gems/aws-sdk-taxsettings/lib/aws-sdk-taxsettings/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-taxsettings/spec/endpoint_provider_spec.rb b/gems/aws-sdk-taxsettings/spec/endpoint_provider_spec.rb
index f2c74b46c00..e46398e632e 100644
--- a/gems/aws-sdk-taxsettings/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-taxsettings/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::TaxSettings
describe EndpointProvider do
subject { Aws::TaxSettings::EndpointProvider.new }
- context 'For custom endpoint with region not set and fips disabled' do
+ context "For custom endpoint with region not set and fips disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -28,7 +28,7 @@ module Aws::TaxSettings
end
end
- context 'For custom endpoint with fips enabled' do
+ context "For custom endpoint with fips enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -41,7 +41,7 @@ module Aws::TaxSettings
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -54,7 +54,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1"}]}, "url"=>"https://tax-fips.us-east-1.api.aws"}}
end
@@ -68,7 +68,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1"}]}, "url"=>"https://tax-fips.us-east-1.amazonaws.com"}}
end
@@ -82,7 +82,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1"}]}, "url"=>"https://tax.us-east-1.api.aws"}}
end
@@ -96,7 +96,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-east-1"}]}, "url"=>"https://tax.us-east-1.amazonaws.com"}}
end
@@ -110,7 +110,7 @@ module Aws::TaxSettings
end
end
- context 'For region cn-northwest-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-northwest-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://tax-fips.cn-northwest-1.api.amazonwebservices.com.cn"}}
end
@@ -124,7 +124,7 @@ module Aws::TaxSettings
end
end
- context 'For region cn-northwest-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://tax-fips.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -138,7 +138,7 @@ module Aws::TaxSettings
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://tax.cn-northwest-1.api.amazonwebservices.com.cn"}}
end
@@ -152,7 +152,7 @@ module Aws::TaxSettings
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"cn-northwest-1"}]}, "url"=>"https://tax.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -166,7 +166,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://tax-fips.us-gov-west-1.api.aws"}}
end
@@ -180,7 +180,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://tax-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -194,7 +194,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://tax.us-gov-west-1.api.aws"}}
end
@@ -208,7 +208,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-gov-west-1"}]}, "url"=>"https://tax.us-gov-west-1.amazonaws.com"}}
end
@@ -222,7 +222,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -235,7 +235,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://tax-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -249,7 +249,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -262,7 +262,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-iso-east-1"}]}, "url"=>"https://tax.us-iso-east-1.c2s.ic.gov"}}
end
@@ -276,7 +276,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -289,7 +289,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://tax-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -303,7 +303,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -316,7 +316,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isob-east-1"}]}, "url"=>"https://tax.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -330,7 +330,7 @@ module Aws::TaxSettings
end
end
- context 'For region eu-isoe-west-1 with FIPS enabled and DualStack enabled' do
+ context "For region eu-isoe-west-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -343,7 +343,7 @@ module Aws::TaxSettings
end
end
- context 'For region eu-isoe-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-isoe-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"eu-isoe-west-1"}]}, "url"=>"https://tax-fips.eu-isoe-west-1.cloud.adc-e.uk"}}
end
@@ -357,7 +357,7 @@ module Aws::TaxSettings
end
end
- context 'For region eu-isoe-west-1 with FIPS disabled and DualStack enabled' do
+ context "For region eu-isoe-west-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -370,7 +370,7 @@ module Aws::TaxSettings
end
end
- context 'For region eu-isoe-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-isoe-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"eu-isoe-west-1"}]}, "url"=>"https://tax.eu-isoe-west-1.cloud.adc-e.uk"}}
end
@@ -384,7 +384,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-isof-south-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isof-south-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -397,7 +397,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-isof-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isof-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isof-south-1"}]}, "url"=>"https://tax-fips.us-isof-south-1.csp.hci.ic.gov"}}
end
@@ -411,7 +411,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-isof-south-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isof-south-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -424,7 +424,7 @@ module Aws::TaxSettings
end
end
- context 'For region us-isof-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isof-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingRegion"=>"us-isof-south-1"}]}, "url"=>"https://tax.us-isof-south-1.csp.hci.ic.gov"}}
end
@@ -438,7 +438,7 @@ module Aws::TaxSettings
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-textract/CHANGELOG.md b/gems/aws-sdk-textract/CHANGELOG.md
index 424333eee21..a311d382358 100644
--- a/gems/aws-sdk-textract/CHANGELOG.md
+++ b/gems/aws-sdk-textract/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.66.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.65.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-textract/VERSION b/gems/aws-sdk-textract/VERSION
index 902c74186fb..b6148bc0a75 100644
--- a/gems/aws-sdk-textract/VERSION
+++ b/gems/aws-sdk-textract/VERSION
@@ -1 +1 @@
-1.65.0
+1.66.0
diff --git a/gems/aws-sdk-textract/aws-sdk-textract.gemspec b/gems/aws-sdk-textract/aws-sdk-textract.gemspec
index 71d3c4bf262..44ed671ca86 100644
--- a/gems/aws-sdk-textract/aws-sdk-textract.gemspec
+++ b/gems/aws-sdk-textract/aws-sdk-textract.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-textract/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-textract/lib/aws-sdk-textract.rb b/gems/aws-sdk-textract/lib/aws-sdk-textract.rb
index 6a074991874..4cc0e68c64b 100644
--- a/gems/aws-sdk-textract/lib/aws-sdk-textract.rb
+++ b/gems/aws-sdk-textract/lib/aws-sdk-textract.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Textract
- GEM_VERSION = '1.65.0'
+ GEM_VERSION = '1.66.0'
end
diff --git a/gems/aws-sdk-textract/lib/aws-sdk-textract/client.rb b/gems/aws-sdk-textract/lib/aws-sdk-textract/client.rb
index f977228a4fd..fb2cf5d1811 100644
--- a/gems/aws-sdk-textract/lib/aws-sdk-textract/client.rb
+++ b/gems/aws-sdk-textract/lib/aws-sdk-textract/client.rb
@@ -2788,7 +2788,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-textract'
- context[:gem_version] = '1.65.0'
+ context[:gem_version] = '1.66.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-textract/lib/aws-sdk-textract/endpoints.rb b/gems/aws-sdk-textract/lib/aws-sdk-textract/endpoints.rb
index 139ea83c35a..ac7f615c0e1 100644
--- a/gems/aws-sdk-textract/lib/aws-sdk-textract/endpoints.rb
+++ b/gems/aws-sdk-textract/lib/aws-sdk-textract/endpoints.rb
@@ -14,350 +14,275 @@ module Endpoints
class AnalyzeDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AnalyzeExpense
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AnalyzeID
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAdapter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAdapterVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAdapter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAdapterVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DetectDocumentText
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAdapter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAdapterVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDocumentAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDocumentTextDetection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetExpenseAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLendingAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLendingAnalysisSummary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAdapterVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAdapters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDocumentAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDocumentTextDetection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartExpenseAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartLendingAnalysis
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAdapter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Textract::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-textract/lib/aws-sdk-textract/plugins/endpoints.rb b/gems/aws-sdk-textract/lib/aws-sdk-textract/plugins/endpoints.rb
index f205d2a33bc..910f449e44c 100644
--- a/gems/aws-sdk-textract/lib/aws-sdk-textract/plugins/endpoints.rb
+++ b/gems/aws-sdk-textract/lib/aws-sdk-textract/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-textract/spec/endpoint_provider_spec.rb b/gems/aws-sdk-textract/spec/endpoint_provider_spec.rb
index ab8256031c5..189c5cd78ac 100644
--- a/gems/aws-sdk-textract/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-textract/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Textract
describe EndpointProvider do
subject { Aws::Textract::EndpointProvider.new }
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.ap-northeast-2.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Textract
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.ap-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Textract
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.ap-southeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Textract
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.ap-southeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Textract
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.ca-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Textract
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Textract
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Textract
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Textract
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Textract
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.eu-west-3.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Textract
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Textract
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Textract
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.us-east-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Textract
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.us-east-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Textract
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.us-west-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Textract
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.us-west-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Textract
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.us-west-2.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Textract
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.us-west-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Textract
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::Textract
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::Textract
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::Textract
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::Textract
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::Textract
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.cn-north-1.amazonaws.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::Textract
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Textract
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Textract
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.us-gov-west-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::Textract
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::Textract
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.us-gov-east-1.api.aws"}}
end
@@ -420,7 +420,7 @@ module Aws::Textract
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.us-gov-east-1.api.aws"}}
end
@@ -434,7 +434,7 @@ module Aws::Textract
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -447,7 +447,7 @@ module Aws::Textract
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -461,7 +461,7 @@ module Aws::Textract
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -474,7 +474,7 @@ module Aws::Textract
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.us-iso-east-1.c2s.ic.gov"}}
end
@@ -488,7 +488,7 @@ module Aws::Textract
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -501,7 +501,7 @@ module Aws::Textract
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -515,7 +515,7 @@ module Aws::Textract
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -528,7 +528,7 @@ module Aws::Textract
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://textract.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -542,7 +542,7 @@ module Aws::Textract
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -556,7 +556,7 @@ module Aws::Textract
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -570,7 +570,7 @@ module Aws::Textract
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -583,7 +583,7 @@ module Aws::Textract
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -596,7 +596,7 @@ module Aws::Textract
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-timestreaminfluxdb/CHANGELOG.md b/gems/aws-sdk-timestreaminfluxdb/CHANGELOG.md
index 3ad69031723..b25b50c2eb6 100644
--- a/gems/aws-sdk-timestreaminfluxdb/CHANGELOG.md
+++ b/gems/aws-sdk-timestreaminfluxdb/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.9.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.8.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-timestreaminfluxdb/VERSION b/gems/aws-sdk-timestreaminfluxdb/VERSION
index 27f9cd322bb..f8e233b2733 100644
--- a/gems/aws-sdk-timestreaminfluxdb/VERSION
+++ b/gems/aws-sdk-timestreaminfluxdb/VERSION
@@ -1 +1 @@
-1.8.0
+1.9.0
diff --git a/gems/aws-sdk-timestreaminfluxdb/aws-sdk-timestreaminfluxdb.gemspec b/gems/aws-sdk-timestreaminfluxdb/aws-sdk-timestreaminfluxdb.gemspec
index d27dfc3e913..8a2af49e7ff 100644
--- a/gems/aws-sdk-timestreaminfluxdb/aws-sdk-timestreaminfluxdb.gemspec
+++ b/gems/aws-sdk-timestreaminfluxdb/aws-sdk-timestreaminfluxdb.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-timestreaminfluxdb/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb.rb b/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb.rb
index 539aa1a0d06..5a296adcd73 100644
--- a/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb.rb
+++ b/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::TimestreamInfluxDB
- GEM_VERSION = '1.8.0'
+ GEM_VERSION = '1.9.0'
end
diff --git a/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/client.rb b/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/client.rb
index c47a0f6e48c..50b4846d929 100644
--- a/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/client.rb
+++ b/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/client.rb
@@ -1129,7 +1129,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-timestreaminfluxdb'
- context[:gem_version] = '1.8.0'
+ context[:gem_version] = '1.9.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/endpoints.rb b/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/endpoints.rb
index 109edb4dcd4..4ff046f6bbb 100644
--- a/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/endpoints.rb
+++ b/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/endpoints.rb
@@ -14,154 +14,121 @@ module Endpoints
class CreateDbInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamInfluxDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDbParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamInfluxDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDbInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamInfluxDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDbInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamInfluxDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDbParameterGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamInfluxDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDbInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamInfluxDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDbParameterGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamInfluxDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamInfluxDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamInfluxDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamInfluxDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDbInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamInfluxDB::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/plugins/endpoints.rb b/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/plugins/endpoints.rb
index f595f27d182..89184260923 100644
--- a/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/plugins/endpoints.rb
+++ b/gems/aws-sdk-timestreaminfluxdb/lib/aws-sdk-timestreaminfluxdb/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-timestreaminfluxdb/spec/endpoint_provider_spec.rb b/gems/aws-sdk-timestreaminfluxdb/spec/endpoint_provider_spec.rb
index c7461462589..42c3b56d99e 100644
--- a/gems/aws-sdk-timestreaminfluxdb/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-timestreaminfluxdb/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::TimestreamInfluxDB
describe EndpointProvider do
subject { Aws::TimestreamInfluxDB::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://timestream-influxdb.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::TimestreamInfluxDB
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-timestreamquery/CHANGELOG.md b/gems/aws-sdk-timestreamquery/CHANGELOG.md
index 76b80245f22..3558e512b78 100644
--- a/gems/aws-sdk-timestreamquery/CHANGELOG.md
+++ b/gems/aws-sdk-timestreamquery/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.41.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.40.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-timestreamquery/VERSION b/gems/aws-sdk-timestreamquery/VERSION
index 32b7211cb61..7d47e599800 100644
--- a/gems/aws-sdk-timestreamquery/VERSION
+++ b/gems/aws-sdk-timestreamquery/VERSION
@@ -1 +1 @@
-1.40.0
+1.41.0
diff --git a/gems/aws-sdk-timestreamquery/aws-sdk-timestreamquery.gemspec b/gems/aws-sdk-timestreamquery/aws-sdk-timestreamquery.gemspec
index 652e2948725..37307a1251e 100644
--- a/gems/aws-sdk-timestreamquery/aws-sdk-timestreamquery.gemspec
+++ b/gems/aws-sdk-timestreamquery/aws-sdk-timestreamquery.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-timestreamquery/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery.rb b/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery.rb
index 93856bb9305..1889a23d2a8 100644
--- a/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery.rb
+++ b/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::TimestreamQuery
- GEM_VERSION = '1.40.0'
+ GEM_VERSION = '1.41.0'
end
diff --git a/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/client.rb b/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/client.rb
index 7ce23a5c79e..0ac84b41f91 100644
--- a/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/client.rb
+++ b/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/client.rb
@@ -1342,7 +1342,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-timestreamquery'
- context[:gem_version] = '1.40.0'
+ context[:gem_version] = '1.41.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/endpoints.rb b/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/endpoints.rb
index 68609e2c0dd..3c22910ff9d 100644
--- a/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/endpoints.rb
+++ b/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/endpoints.rb
@@ -14,210 +14,165 @@ module Endpoints
class CancelQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateScheduledQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteScheduledQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeScheduledQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExecuteScheduledQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListScheduledQueries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PrepareQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class Query
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccountSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateScheduledQuery
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamQuery::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/plugins/endpoints.rb b/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/plugins/endpoints.rb
index 59669e05c50..8fc726cd115 100644
--- a/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/plugins/endpoints.rb
+++ b/gems/aws-sdk-timestreamquery/lib/aws-sdk-timestreamquery/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-timestreamquery/spec/endpoint_provider_spec.rb b/gems/aws-sdk-timestreamquery/spec/endpoint_provider_spec.rb
index d2d51a2b0b9..6121e71c649 100644
--- a/gems/aws-sdk-timestreamquery/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-timestreamquery/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::TimestreamQuery
describe EndpointProvider do
subject { Aws::TimestreamQuery::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::TimestreamQuery
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://query.timestream.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::TimestreamQuery
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::TimestreamQuery
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::TimestreamQuery
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::TimestreamQuery
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::TimestreamQuery
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-timestreamwrite/CHANGELOG.md b/gems/aws-sdk-timestreamwrite/CHANGELOG.md
index 5042d05b132..1158113b31a 100644
--- a/gems/aws-sdk-timestreamwrite/CHANGELOG.md
+++ b/gems/aws-sdk-timestreamwrite/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.37.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.36.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-timestreamwrite/VERSION b/gems/aws-sdk-timestreamwrite/VERSION
index 39fc130ef85..bf50e910e62 100644
--- a/gems/aws-sdk-timestreamwrite/VERSION
+++ b/gems/aws-sdk-timestreamwrite/VERSION
@@ -1 +1 @@
-1.36.0
+1.37.0
diff --git a/gems/aws-sdk-timestreamwrite/aws-sdk-timestreamwrite.gemspec b/gems/aws-sdk-timestreamwrite/aws-sdk-timestreamwrite.gemspec
index 13591d304de..6e6c40bb5cc 100644
--- a/gems/aws-sdk-timestreamwrite/aws-sdk-timestreamwrite.gemspec
+++ b/gems/aws-sdk-timestreamwrite/aws-sdk-timestreamwrite.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-timestreamwrite/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite.rb b/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite.rb
index b9939a92231..97acf8e051b 100644
--- a/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite.rb
+++ b/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::TimestreamWrite
- GEM_VERSION = '1.36.0'
+ GEM_VERSION = '1.37.0'
end
diff --git a/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/client.rb b/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/client.rb
index 2300b9aada5..8f696eb2ca9 100644
--- a/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/client.rb
+++ b/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/client.rb
@@ -1651,7 +1651,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-timestreamwrite'
- context[:gem_version] = '1.36.0'
+ context[:gem_version] = '1.37.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/endpoints.rb b/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/endpoints.rb
index 462c0c74834..a7d9bd7f66f 100644
--- a/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/endpoints.rb
+++ b/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/endpoints.rb
@@ -14,266 +14,209 @@ module Endpoints
class CreateBatchLoadTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBatchLoadTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEndpoints
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBatchLoadTasks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDatabases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTables
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResumeBatchLoadTask
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDatabase
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTable
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class WriteRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TimestreamWrite::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/plugins/endpoints.rb b/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/plugins/endpoints.rb
index 275f1656d62..c3921350788 100644
--- a/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/plugins/endpoints.rb
+++ b/gems/aws-sdk-timestreamwrite/lib/aws-sdk-timestreamwrite/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-timestreamwrite/spec/endpoint_provider_spec.rb b/gems/aws-sdk-timestreamwrite/spec/endpoint_provider_spec.rb
index 2b31deef8ec..4e2e8e0e766 100644
--- a/gems/aws-sdk-timestreamwrite/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-timestreamwrite/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::TimestreamWrite
describe EndpointProvider do
subject { Aws::TimestreamWrite::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream.us-gov-west-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream.us-gov-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::TimestreamWrite
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://ingest.timestream.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::TimestreamWrite
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::TimestreamWrite
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::TimestreamWrite
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::TimestreamWrite
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::TimestreamWrite
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-tnb/CHANGELOG.md b/gems/aws-sdk-tnb/CHANGELOG.md
index fddd287424d..0e1e3b47e32 100644
--- a/gems/aws-sdk-tnb/CHANGELOG.md
+++ b/gems/aws-sdk-tnb/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.21.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.20.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-tnb/VERSION b/gems/aws-sdk-tnb/VERSION
index 39893559155..3500250a4b0 100644
--- a/gems/aws-sdk-tnb/VERSION
+++ b/gems/aws-sdk-tnb/VERSION
@@ -1 +1 @@
-1.20.0
+1.21.0
diff --git a/gems/aws-sdk-tnb/aws-sdk-tnb.gemspec b/gems/aws-sdk-tnb/aws-sdk-tnb.gemspec
index 4bd709391e8..29d15fb533b 100644
--- a/gems/aws-sdk-tnb/aws-sdk-tnb.gemspec
+++ b/gems/aws-sdk-tnb/aws-sdk-tnb.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-tnb/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-tnb/lib/aws-sdk-tnb.rb b/gems/aws-sdk-tnb/lib/aws-sdk-tnb.rb
index c3e97c1584d..5483b420348 100644
--- a/gems/aws-sdk-tnb/lib/aws-sdk-tnb.rb
+++ b/gems/aws-sdk-tnb/lib/aws-sdk-tnb.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Tnb
- GEM_VERSION = '1.20.0'
+ GEM_VERSION = '1.21.0'
end
diff --git a/gems/aws-sdk-tnb/lib/aws-sdk-tnb/client.rb b/gems/aws-sdk-tnb/lib/aws-sdk-tnb/client.rb
index e9c90263381..cd08f66b4ce 100644
--- a/gems/aws-sdk-tnb/lib/aws-sdk-tnb/client.rb
+++ b/gems/aws-sdk-tnb/lib/aws-sdk-tnb/client.rb
@@ -2106,7 +2106,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-tnb'
- context[:gem_version] = '1.20.0'
+ context[:gem_version] = '1.21.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-tnb/lib/aws-sdk-tnb/endpoints.rb b/gems/aws-sdk-tnb/lib/aws-sdk-tnb/endpoints.rb
index 21712a573b2..6245e8f050e 100644
--- a/gems/aws-sdk-tnb/lib/aws-sdk-tnb/endpoints.rb
+++ b/gems/aws-sdk-tnb/lib/aws-sdk-tnb/endpoints.rb
@@ -14,462 +14,363 @@ module Endpoints
class CancelSolNetworkOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSolFunctionPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSolNetworkInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSolNetworkPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSolFunctionPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSolNetworkInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSolNetworkPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSolFunctionInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSolFunctionPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSolFunctionPackageContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSolFunctionPackageDescriptor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSolNetworkInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSolNetworkOperation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSolNetworkPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSolNetworkPackageContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSolNetworkPackageDescriptor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InstantiateSolNetworkInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSolFunctionInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSolFunctionPackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSolNetworkInstances
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSolNetworkOperations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSolNetworkPackages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSolFunctionPackageContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSolNetworkPackageContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateSolNetworkInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSolFunctionPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSolNetworkInstance
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSolNetworkPackage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateSolFunctionPackageContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ValidateSolNetworkPackageContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Tnb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-tnb/lib/aws-sdk-tnb/plugins/endpoints.rb b/gems/aws-sdk-tnb/lib/aws-sdk-tnb/plugins/endpoints.rb
index 42ea71e45ed..f82b93e9acb 100644
--- a/gems/aws-sdk-tnb/lib/aws-sdk-tnb/plugins/endpoints.rb
+++ b/gems/aws-sdk-tnb/lib/aws-sdk-tnb/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-tnb/spec/endpoint_provider_spec.rb b/gems/aws-sdk-tnb/spec/endpoint_provider_spec.rb
index 31865efa00e..95dabed4492 100644
--- a/gems/aws-sdk-tnb/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-tnb/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Tnb
describe EndpointProvider do
subject { Aws::Tnb::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::Tnb
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Tnb
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::Tnb
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Tnb
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::Tnb
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::Tnb
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::Tnb
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::Tnb
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::Tnb
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Tnb
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::Tnb
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Tnb
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::Tnb
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::Tnb
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::Tnb
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::Tnb
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::Tnb
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::Tnb
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::Tnb
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://tnb.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::Tnb
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::Tnb
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::Tnb
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::Tnb
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::Tnb
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-transcribeservice/CHANGELOG.md b/gems/aws-sdk-transcribeservice/CHANGELOG.md
index 57883955e46..362b4279d76 100644
--- a/gems/aws-sdk-transcribeservice/CHANGELOG.md
+++ b/gems/aws-sdk-transcribeservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.106.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.105.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-transcribeservice/VERSION b/gems/aws-sdk-transcribeservice/VERSION
index e38c0a0f75c..475dce1f4d1 100644
--- a/gems/aws-sdk-transcribeservice/VERSION
+++ b/gems/aws-sdk-transcribeservice/VERSION
@@ -1 +1 @@
-1.105.0
+1.106.0
diff --git a/gems/aws-sdk-transcribeservice/aws-sdk-transcribeservice.gemspec b/gems/aws-sdk-transcribeservice/aws-sdk-transcribeservice.gemspec
index 7ab7f139b72..7b35eaeae32 100644
--- a/gems/aws-sdk-transcribeservice/aws-sdk-transcribeservice.gemspec
+++ b/gems/aws-sdk-transcribeservice/aws-sdk-transcribeservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-transcribeservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice.rb b/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice.rb
index 95be939d36a..34633ddad74 100644
--- a/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice.rb
+++ b/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::TranscribeService
- GEM_VERSION = '1.105.0'
+ GEM_VERSION = '1.106.0'
end
diff --git a/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/client.rb b/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/client.rb
index ac4d3c31641..8baeb29977f 100644
--- a/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/client.rb
+++ b/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/client.rb
@@ -4477,7 +4477,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-transcribeservice'
- context[:gem_version] = '1.105.0'
+ context[:gem_version] = '1.106.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/endpoints.rb b/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/endpoints.rb
index 74c5aba5dce..4d970c80047 100644
--- a/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/endpoints.rb
+++ b/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/endpoints.rb
@@ -14,602 +14,473 @@ module Endpoints
class CreateCallAnalyticsCategory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLanguageModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMedicalVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateVocabularyFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCallAnalyticsCategory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCallAnalyticsJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLanguageModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMedicalScribeJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMedicalTranscriptionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMedicalVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTranscriptionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteVocabularyFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeLanguageModel
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCallAnalyticsCategory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCallAnalyticsJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMedicalScribeJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMedicalTranscriptionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMedicalVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTranscriptionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetVocabularyFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCallAnalyticsCategories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCallAnalyticsJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLanguageModels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMedicalScribeJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMedicalTranscriptionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMedicalVocabularies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTranscriptionJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVocabularies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListVocabularyFilters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartCallAnalyticsJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMedicalScribeJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMedicalTranscriptionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTranscriptionJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCallAnalyticsCategory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMedicalVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVocabulary
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateVocabularyFilter
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/plugins/endpoints.rb b/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/plugins/endpoints.rb
index c37b9105ca4..203a16717e6 100644
--- a/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-transcribeservice/lib/aws-sdk-transcribeservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-transcribeservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-transcribeservice/spec/endpoint_provider_spec.rb
index b8288f6f0d5..9dbf23c9384 100644
--- a/gems/aws-sdk-transcribeservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-transcribeservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::TranscribeService
describe EndpointProvider do
subject { Aws::TranscribeService::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::TranscribeService
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::TranscribeService
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::TranscribeService
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::TranscribeService
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.ap-south-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::TranscribeService
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.ap-southeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::TranscribeService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.ap-southeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::TranscribeService
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.ca-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::TranscribeService
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.transcribe.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::TranscribeService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.eu-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::TranscribeService
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.eu-north-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::TranscribeService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.eu-west-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::TranscribeService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.eu-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::TranscribeService
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.eu-west-3.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::TranscribeService
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.me-south-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::TranscribeService
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.sa-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.us-east-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.transcribe.us-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.us-east-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.transcribe.us-east-2.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.us-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.transcribe.us-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.us-west-2.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.transcribe.us-west-2.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe-fips.us-east-1.api.aws"}}
end
@@ -364,7 +364,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.us-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::TranscribeService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cn.transcribe.cn-north-1.amazonaws.com.cn"}}
end
@@ -392,7 +392,7 @@ module Aws::TranscribeService
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://cn.transcribe.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -406,7 +406,7 @@ module Aws::TranscribeService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::TranscribeService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::TranscribeService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.us-gov-east-1.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.transcribe.us-gov-east-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.us-gov-west-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://fips.transcribe.us-gov-west-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe-fips.us-gov-east-1.api.aws"}}
end
@@ -518,7 +518,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.us-gov-east-1.api.aws"}}
end
@@ -532,7 +532,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.us-iso-east-1.c2s.ic.gov"}}
end
@@ -546,7 +546,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -559,7 +559,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -573,7 +573,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -586,7 +586,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -599,7 +599,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -613,7 +613,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -626,7 +626,7 @@ module Aws::TranscribeService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribe.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -640,7 +640,7 @@ module Aws::TranscribeService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -654,7 +654,7 @@ module Aws::TranscribeService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -668,7 +668,7 @@ module Aws::TranscribeService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -681,7 +681,7 @@ module Aws::TranscribeService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -694,7 +694,7 @@ module Aws::TranscribeService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-transcribestreamingservice/CHANGELOG.md b/gems/aws-sdk-transcribestreamingservice/CHANGELOG.md
index d4f98cd5f04..bf0be5b4bcd 100644
--- a/gems/aws-sdk-transcribestreamingservice/CHANGELOG.md
+++ b/gems/aws-sdk-transcribestreamingservice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.67.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.66.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-transcribestreamingservice/VERSION b/gems/aws-sdk-transcribestreamingservice/VERSION
index b6148bc0a75..65ee0959841 100644
--- a/gems/aws-sdk-transcribestreamingservice/VERSION
+++ b/gems/aws-sdk-transcribestreamingservice/VERSION
@@ -1 +1 @@
-1.66.0
+1.67.0
diff --git a/gems/aws-sdk-transcribestreamingservice/aws-sdk-transcribestreamingservice.gemspec b/gems/aws-sdk-transcribestreamingservice/aws-sdk-transcribestreamingservice.gemspec
index 3154dcf07c0..dbdee8d96b1 100644
--- a/gems/aws-sdk-transcribestreamingservice/aws-sdk-transcribestreamingservice.gemspec
+++ b/gems/aws-sdk-transcribestreamingservice/aws-sdk-transcribestreamingservice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-transcribestreamingservice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice.rb b/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice.rb
index d57dbfee576..5f18301d53f 100644
--- a/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice.rb
+++ b/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice.rb
@@ -54,6 +54,6 @@
# @!group service
module Aws::TranscribeStreamingService
- GEM_VERSION = '1.66.0'
+ GEM_VERSION = '1.67.0'
end
diff --git a/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/async_client.rb b/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/async_client.rb
index 72728b5fa53..f44f1e1c23a 100644
--- a/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/async_client.rb
+++ b/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/async_client.rb
@@ -1745,7 +1745,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
- context[:gem_version] = '1.66.0'
+ context[:gem_version] = '1.67.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/client.rb b/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/client.rb
index 42a5068ec68..9afdc1c2d19 100644
--- a/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/client.rb
+++ b/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/client.rb
@@ -472,7 +472,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-transcribestreamingservice'
- context[:gem_version] = '1.66.0'
+ context[:gem_version] = '1.67.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/endpoints.rb b/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/endpoints.rb
index dd5caa7b43f..056373c191e 100644
--- a/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/endpoints.rb
+++ b/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/endpoints.rb
@@ -14,42 +14,33 @@ module Endpoints
class StartCallAnalyticsStreamTranscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeStreamingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMedicalStreamTranscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeStreamingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartStreamTranscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TranscribeStreamingService::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/plugins/endpoints.rb b/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/plugins/endpoints.rb
index 1935bb8f43b..338bc928732 100644
--- a/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/plugins/endpoints.rb
+++ b/gems/aws-sdk-transcribestreamingservice/lib/aws-sdk-transcribestreamingservice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-transcribestreamingservice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-transcribestreamingservice/spec/endpoint_provider_spec.rb
index f3c3b5243ef..24fdfdcf1dd 100644
--- a/gems/aws-sdk-transcribestreamingservice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-transcribestreamingservice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::TranscribeStreamingService
describe EndpointProvider do
subject { Aws::TranscribeStreamingService::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.ca-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.eu-central-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.eu-west-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.eu-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.sa-east-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.us-east-2.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.us-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming-fips.us-east-1.api.aws"}}
end
@@ -182,7 +182,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming-fips.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.us-east-1.api.aws"}}
end
@@ -210,7 +210,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.cn-north-1.amazonaws.com.cn"}}
end
@@ -224,7 +224,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -238,7 +238,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.us-gov-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.us-gov-west-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming-fips.us-gov-east-1.api.aws"}}
end
@@ -322,7 +322,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.us-iso-east-1.c2s.ic.gov"}}
end
@@ -364,7 +364,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -377,7 +377,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -391,7 +391,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -404,7 +404,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -417,7 +417,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -431,7 +431,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -444,7 +444,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transcribestreaming.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -458,7 +458,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -472,7 +472,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -486,7 +486,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -499,7 +499,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -512,7 +512,7 @@ module Aws::TranscribeStreamingService
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-transfer/CHANGELOG.md b/gems/aws-sdk-transfer/CHANGELOG.md
index 4dbe7c7c8bc..abb21d459c9 100644
--- a/gems/aws-sdk-transfer/CHANGELOG.md
+++ b/gems/aws-sdk-transfer/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.101.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.100.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-transfer/VERSION b/gems/aws-sdk-transfer/VERSION
index 7a9fecd3f0e..f19e6677313 100644
--- a/gems/aws-sdk-transfer/VERSION
+++ b/gems/aws-sdk-transfer/VERSION
@@ -1 +1 @@
-1.100.0
+1.101.0
diff --git a/gems/aws-sdk-transfer/aws-sdk-transfer.gemspec b/gems/aws-sdk-transfer/aws-sdk-transfer.gemspec
index 7f5e46e2510..88af2f276c1 100644
--- a/gems/aws-sdk-transfer/aws-sdk-transfer.gemspec
+++ b/gems/aws-sdk-transfer/aws-sdk-transfer.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-transfer/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-transfer/lib/aws-sdk-transfer.rb b/gems/aws-sdk-transfer/lib/aws-sdk-transfer.rb
index dd1d002402c..80ff1b55ae8 100644
--- a/gems/aws-sdk-transfer/lib/aws-sdk-transfer.rb
+++ b/gems/aws-sdk-transfer/lib/aws-sdk-transfer.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::Transfer
- GEM_VERSION = '1.100.0'
+ GEM_VERSION = '1.101.0'
end
diff --git a/gems/aws-sdk-transfer/lib/aws-sdk-transfer/client.rb b/gems/aws-sdk-transfer/lib/aws-sdk-transfer/client.rb
index 2cff70097b7..000abcbe6a2 100644
--- a/gems/aws-sdk-transfer/lib/aws-sdk-transfer/client.rb
+++ b/gems/aws-sdk-transfer/lib/aws-sdk-transfer/client.rb
@@ -4848,7 +4848,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-transfer'
- context[:gem_version] = '1.100.0'
+ context[:gem_version] = '1.101.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-transfer/lib/aws-sdk-transfer/endpoints.rb b/gems/aws-sdk-transfer/lib/aws-sdk-transfer/endpoints.rb
index a67b76916b7..d2e908f8cc2 100644
--- a/gems/aws-sdk-transfer/lib/aws-sdk-transfer/endpoints.rb
+++ b/gems/aws-sdk-transfer/lib/aws-sdk-transfer/endpoints.rb
@@ -14,840 +14,660 @@ module Endpoints
class CreateAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAgreement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAgreement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteHostKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSshPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAgreement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeExecution
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeHostKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSecurityPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkflow
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportHostKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportSshPublicKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccesses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAgreements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListConnectors
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListExecutions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListHostKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSecurityPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkflows
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SendWorkflowStepState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartDirectoryListing
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFileTransfer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestConnection
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestIdentityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccess
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAgreement
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnector
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateHostKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Transfer::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-transfer/lib/aws-sdk-transfer/plugins/endpoints.rb b/gems/aws-sdk-transfer/lib/aws-sdk-transfer/plugins/endpoints.rb
index 90e63cee547..e59d17b23f3 100644
--- a/gems/aws-sdk-transfer/lib/aws-sdk-transfer/plugins/endpoints.rb
+++ b/gems/aws-sdk-transfer/lib/aws-sdk-transfer/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-transfer/spec/endpoint_provider_spec.rb b/gems/aws-sdk-transfer/spec/endpoint_provider_spec.rb
index 46e744d5841..782c424d942 100644
--- a/gems/aws-sdk-transfer/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-transfer/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Transfer
describe EndpointProvider do
subject { Aws::Transfer::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Transfer
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Transfer
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Transfer
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Transfer
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Transfer
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Transfer
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Transfer
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Transfer
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.ca-central-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Transfer
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Transfer
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Transfer
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Transfer
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Transfer
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Transfer
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Transfer
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Transfer
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Transfer
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Transfer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Transfer
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::Transfer
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::Transfer
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::Transfer
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::Transfer
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::Transfer
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::Transfer
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Transfer
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::Transfer
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Transfer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::Transfer
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::Transfer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::Transfer
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::Transfer
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::Transfer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::Transfer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::Transfer
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::Transfer
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::Transfer
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::Transfer
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::Transfer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::Transfer
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::Transfer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::Transfer
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::Transfer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::Transfer
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::Transfer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::Transfer
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://transfer.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::Transfer
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::Transfer
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::Transfer
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::Transfer
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::Transfer
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-translate/CHANGELOG.md b/gems/aws-sdk-translate/CHANGELOG.md
index f50a94b0feb..7fab26d4b34 100644
--- a/gems/aws-sdk-translate/CHANGELOG.md
+++ b/gems/aws-sdk-translate/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.73.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.72.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-translate/VERSION b/gems/aws-sdk-translate/VERSION
index 0834888f558..5e3a4256626 100644
--- a/gems/aws-sdk-translate/VERSION
+++ b/gems/aws-sdk-translate/VERSION
@@ -1 +1 @@
-1.72.0
+1.73.0
diff --git a/gems/aws-sdk-translate/aws-sdk-translate.gemspec b/gems/aws-sdk-translate/aws-sdk-translate.gemspec
index 909b90c2bf2..ca83854af80 100644
--- a/gems/aws-sdk-translate/aws-sdk-translate.gemspec
+++ b/gems/aws-sdk-translate/aws-sdk-translate.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-translate/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-translate/lib/aws-sdk-translate.rb b/gems/aws-sdk-translate/lib/aws-sdk-translate.rb
index 28365cc181a..513dd3d1db8 100644
--- a/gems/aws-sdk-translate/lib/aws-sdk-translate.rb
+++ b/gems/aws-sdk-translate/lib/aws-sdk-translate.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::Translate
- GEM_VERSION = '1.72.0'
+ GEM_VERSION = '1.73.0'
end
diff --git a/gems/aws-sdk-translate/lib/aws-sdk-translate/client.rb b/gems/aws-sdk-translate/lib/aws-sdk-translate/client.rb
index 9780629c915..148c38dc064 100644
--- a/gems/aws-sdk-translate/lib/aws-sdk-translate/client.rb
+++ b/gems/aws-sdk-translate/lib/aws-sdk-translate/client.rb
@@ -1715,7 +1715,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-translate'
- context[:gem_version] = '1.72.0'
+ context[:gem_version] = '1.73.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-translate/lib/aws-sdk-translate/endpoints.rb b/gems/aws-sdk-translate/lib/aws-sdk-translate/endpoints.rb
index a3780c45b85..f77f348ca31 100644
--- a/gems/aws-sdk-translate/lib/aws-sdk-translate/endpoints.rb
+++ b/gems/aws-sdk-translate/lib/aws-sdk-translate/endpoints.rb
@@ -14,266 +14,209 @@ module Endpoints
class CreateParallelData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteParallelData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTerminology
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTextTranslationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetParallelData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTerminology
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportTerminology
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLanguages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListParallelData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTerminologies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTextTranslationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartTextTranslationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopTextTranslationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TranslateDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TranslateText
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateParallelData
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::Translate::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-translate/lib/aws-sdk-translate/plugins/endpoints.rb b/gems/aws-sdk-translate/lib/aws-sdk-translate/plugins/endpoints.rb
index 98c0d90f69c..802a21f891b 100644
--- a/gems/aws-sdk-translate/lib/aws-sdk-translate/plugins/endpoints.rb
+++ b/gems/aws-sdk-translate/lib/aws-sdk-translate/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-translate/spec/endpoint_provider_spec.rb b/gems/aws-sdk-translate/spec/endpoint_provider_spec.rb
index 289213c2096..b8520c57e33 100644
--- a/gems/aws-sdk-translate/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-translate/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::Translate
describe EndpointProvider do
subject { Aws::Translate::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::Translate
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::Translate
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::Translate
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::Translate
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::Translate
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::Translate
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::Translate
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::Translate
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::Translate
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::Translate
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::Translate
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::Translate
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.us-east-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::Translate
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate-fips.us-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::Translate
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.us-east-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::Translate
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate-fips.us-east-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::Translate
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.us-west-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::Translate
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.us-west-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::Translate
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate-fips.us-west-2.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::Translate
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate-fips.us-east-1.api.aws"}}
end
@@ -294,7 +294,7 @@ module Aws::Translate
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.us-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::Translate
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::Translate
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::Translate
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::Translate
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::Translate
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.us-gov-west-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::Translate
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::Translate
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate-fips.us-gov-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::Translate
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::Translate
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.us-gov-east-1.api.aws"}}
end
@@ -434,7 +434,7 @@ module Aws::Translate
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.us-gov-east-1.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::Translate
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.us-iso-east-1.c2s.ic.gov"}}
end
@@ -462,7 +462,7 @@ module Aws::Translate
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -475,7 +475,7 @@ module Aws::Translate
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -489,7 +489,7 @@ module Aws::Translate
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -502,7 +502,7 @@ module Aws::Translate
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -515,7 +515,7 @@ module Aws::Translate
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -529,7 +529,7 @@ module Aws::Translate
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -542,7 +542,7 @@ module Aws::Translate
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://translate.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -556,7 +556,7 @@ module Aws::Translate
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -570,7 +570,7 @@ module Aws::Translate
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -584,7 +584,7 @@ module Aws::Translate
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -597,7 +597,7 @@ module Aws::Translate
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -610,7 +610,7 @@ module Aws::Translate
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-trustedadvisor/CHANGELOG.md b/gems/aws-sdk-trustedadvisor/CHANGELOG.md
index 34d55306ca5..1bff6c45b52 100644
--- a/gems/aws-sdk-trustedadvisor/CHANGELOG.md
+++ b/gems/aws-sdk-trustedadvisor/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.13.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.12.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-trustedadvisor/VERSION b/gems/aws-sdk-trustedadvisor/VERSION
index 0eed1a29efd..feaae22bac7 100644
--- a/gems/aws-sdk-trustedadvisor/VERSION
+++ b/gems/aws-sdk-trustedadvisor/VERSION
@@ -1 +1 @@
-1.12.0
+1.13.0
diff --git a/gems/aws-sdk-trustedadvisor/aws-sdk-trustedadvisor.gemspec b/gems/aws-sdk-trustedadvisor/aws-sdk-trustedadvisor.gemspec
index 1a4496115ab..0b234856a82 100644
--- a/gems/aws-sdk-trustedadvisor/aws-sdk-trustedadvisor.gemspec
+++ b/gems/aws-sdk-trustedadvisor/aws-sdk-trustedadvisor.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-trustedadvisor/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor.rb b/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor.rb
index 446f5a13930..c08b83ffffc 100644
--- a/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor.rb
+++ b/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::TrustedAdvisor
- GEM_VERSION = '1.12.0'
+ GEM_VERSION = '1.13.0'
end
diff --git a/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb b/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb
index 15dab8bf3d8..9feda8d192e 100644
--- a/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb
+++ b/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/client.rb
@@ -1112,7 +1112,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-trustedadvisor'
- context[:gem_version] = '1.12.0'
+ context[:gem_version] = '1.13.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/endpoints.rb b/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/endpoints.rb
index e4d1a405049..8e9892dbfc6 100644
--- a/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/endpoints.rb
+++ b/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/endpoints.rb
@@ -14,154 +14,121 @@ module Endpoints
class BatchUpdateRecommendationResourceExclusion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TrustedAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetOrganizationRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TrustedAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRecommendation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TrustedAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListChecks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TrustedAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizationRecommendationAccounts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TrustedAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizationRecommendationResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TrustedAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizationRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TrustedAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommendationResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TrustedAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRecommendations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TrustedAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateOrganizationRecommendationLifecycle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TrustedAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRecommendationLifecycle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::TrustedAdvisor::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/plugins/endpoints.rb b/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/plugins/endpoints.rb
index 4699d9e1483..8a34964c801 100644
--- a/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/plugins/endpoints.rb
+++ b/gems/aws-sdk-trustedadvisor/lib/aws-sdk-trustedadvisor/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-trustedadvisor/spec/endpoint_provider_spec.rb b/gems/aws-sdk-trustedadvisor/spec/endpoint_provider_spec.rb
index 9f8d7b6528f..f1d65aab293 100644
--- a/gems/aws-sdk-trustedadvisor/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-trustedadvisor/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::TrustedAdvisor
describe EndpointProvider do
subject { Aws::TrustedAdvisor::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://trustedadvisor.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::TrustedAdvisor
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::TrustedAdvisor
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-verifiedpermissions/CHANGELOG.md b/gems/aws-sdk-verifiedpermissions/CHANGELOG.md
index eebd0624484..dd8bd807c39 100644
--- a/gems/aws-sdk-verifiedpermissions/CHANGELOG.md
+++ b/gems/aws-sdk-verifiedpermissions/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.31.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.30.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-verifiedpermissions/VERSION b/gems/aws-sdk-verifiedpermissions/VERSION
index 034552a83ee..34aae156b19 100644
--- a/gems/aws-sdk-verifiedpermissions/VERSION
+++ b/gems/aws-sdk-verifiedpermissions/VERSION
@@ -1 +1 @@
-1.30.0
+1.31.0
diff --git a/gems/aws-sdk-verifiedpermissions/aws-sdk-verifiedpermissions.gemspec b/gems/aws-sdk-verifiedpermissions/aws-sdk-verifiedpermissions.gemspec
index 54c18a314ba..30b297996e7 100644
--- a/gems/aws-sdk-verifiedpermissions/aws-sdk-verifiedpermissions.gemspec
+++ b/gems/aws-sdk-verifiedpermissions/aws-sdk-verifiedpermissions.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-verifiedpermissions/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions.rb b/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions.rb
index 37a037d4b69..31b313b9cb4 100644
--- a/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions.rb
+++ b/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions.rb
@@ -53,6 +53,6 @@
# @!group service
module Aws::VerifiedPermissions
- GEM_VERSION = '1.30.0'
+ GEM_VERSION = '1.31.0'
end
diff --git a/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/client.rb b/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/client.rb
index e2735ec120e..5fe88f74bf2 100644
--- a/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/client.rb
+++ b/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/client.rb
@@ -2520,7 +2520,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-verifiedpermissions'
- context[:gem_version] = '1.30.0'
+ context[:gem_version] = '1.31.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/endpoints.rb b/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/endpoints.rb
index bab2aacc468..fa3b3e205a9 100644
--- a/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/endpoints.rb
+++ b/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/endpoints.rb
@@ -14,364 +14,286 @@ module Endpoints
class BatchIsAuthorized
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class BatchIsAuthorizedWithToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIdentitySource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePolicyStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePolicyTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdentitySource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicyStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePolicyTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdentitySource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicyStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPolicyTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class IsAuthorized
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class IsAuthorizedWithToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentitySources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicyStores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPolicyTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutSchema
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIdentitySource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePolicyStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePolicyTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VerifiedPermissions::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/plugins/endpoints.rb b/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/plugins/endpoints.rb
index 0172269a36f..5c38a263ab4 100644
--- a/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/plugins/endpoints.rb
+++ b/gems/aws-sdk-verifiedpermissions/lib/aws-sdk-verifiedpermissions/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-verifiedpermissions/spec/endpoint_provider_spec.rb b/gems/aws-sdk-verifiedpermissions/spec/endpoint_provider_spec.rb
index 0caefbc2a7f..30ce7778b2b 100644
--- a/gems/aws-sdk-verifiedpermissions/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-verifiedpermissions/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::VerifiedPermissions
describe EndpointProvider do
subject { Aws::VerifiedPermissions::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://verifiedpermissions.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::VerifiedPermissions
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::VerifiedPermissions
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-voiceid/CHANGELOG.md b/gems/aws-sdk-voiceid/CHANGELOG.md
index 4bc99a47f47..12865607126 100644
--- a/gems/aws-sdk-voiceid/CHANGELOG.md
+++ b/gems/aws-sdk-voiceid/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.32.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.31.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-voiceid/VERSION b/gems/aws-sdk-voiceid/VERSION
index 34aae156b19..359c41089a4 100644
--- a/gems/aws-sdk-voiceid/VERSION
+++ b/gems/aws-sdk-voiceid/VERSION
@@ -1 +1 @@
-1.31.0
+1.32.0
diff --git a/gems/aws-sdk-voiceid/aws-sdk-voiceid.gemspec b/gems/aws-sdk-voiceid/aws-sdk-voiceid.gemspec
index 312a4c00d52..641924753e0 100644
--- a/gems/aws-sdk-voiceid/aws-sdk-voiceid.gemspec
+++ b/gems/aws-sdk-voiceid/aws-sdk-voiceid.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-voiceid/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid.rb b/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid.rb
index cef567efbe9..cf36157bf06 100644
--- a/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid.rb
+++ b/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::VoiceID
- GEM_VERSION = '1.31.0'
+ GEM_VERSION = '1.32.0'
end
diff --git a/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/client.rb b/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/client.rb
index bc22cf6fc48..b175fb81429 100644
--- a/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/client.rb
+++ b/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/client.rb
@@ -1897,7 +1897,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-voiceid'
- context[:gem_version] = '1.31.0'
+ context[:gem_version] = '1.32.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/endpoints.rb b/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/endpoints.rb
index 9cdb74e8440..039c1193475 100644
--- a/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/endpoints.rb
+++ b/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/endpoints.rb
@@ -14,406 +14,319 @@ module Endpoints
class AssociateFraudster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWatchlist
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFraudster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSpeaker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWatchlist
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFraudster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFraudsterRegistrationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSpeaker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeSpeakerEnrollmentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWatchlist
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateFraudster
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class EvaluateSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFraudsterRegistrationJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListFraudsters
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSpeakerEnrollmentJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSpeakers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWatchlists
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class OptOutSpeaker
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartFraudsterRegistrationJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartSpeakerEnrollmentJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWatchlist
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VoiceID::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/plugins/endpoints.rb b/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/plugins/endpoints.rb
index e93a652e790..0336a7269d9 100644
--- a/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/plugins/endpoints.rb
+++ b/gems/aws-sdk-voiceid/lib/aws-sdk-voiceid/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-voiceid/spec/endpoint_provider_spec.rb b/gems/aws-sdk-voiceid/spec/endpoint_provider_spec.rb
index 2028a4d2bbf..966d6d0c198 100644
--- a/gems/aws-sdk-voiceid/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-voiceid/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::VoiceID
describe EndpointProvider do
subject { Aws::VoiceID::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::VoiceID
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::VoiceID
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::VoiceID
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.eu-central-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::VoiceID
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.eu-west-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::VoiceID
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::VoiceID
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::VoiceID
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid-fips.us-east-1.api.aws"}}
end
@@ -126,7 +126,7 @@ module Aws::VoiceID
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid-fips.us-east-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::VoiceID
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::VoiceID
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::VoiceID
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::VoiceID
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::VoiceID
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::VoiceID
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid-fips.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::VoiceID
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::VoiceID
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::VoiceID
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::VoiceID
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::VoiceID
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::VoiceID
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::VoiceID
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::VoiceID
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::VoiceID
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::VoiceID
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::VoiceID
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://voiceid.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::VoiceID
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::VoiceID
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::VoiceID
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::VoiceID
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::VoiceID
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-vpclattice/CHANGELOG.md b/gems/aws-sdk-vpclattice/CHANGELOG.md
index 1e649d44edd..cd7a02a7d23 100644
--- a/gems/aws-sdk-vpclattice/CHANGELOG.md
+++ b/gems/aws-sdk-vpclattice/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.20.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.19.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-vpclattice/VERSION b/gems/aws-sdk-vpclattice/VERSION
index 815d5ca06d5..39893559155 100644
--- a/gems/aws-sdk-vpclattice/VERSION
+++ b/gems/aws-sdk-vpclattice/VERSION
@@ -1 +1 @@
-1.19.0
+1.20.0
diff --git a/gems/aws-sdk-vpclattice/aws-sdk-vpclattice.gemspec b/gems/aws-sdk-vpclattice/aws-sdk-vpclattice.gemspec
index 039769c943e..cc5f23b503b 100644
--- a/gems/aws-sdk-vpclattice/aws-sdk-vpclattice.gemspec
+++ b/gems/aws-sdk-vpclattice/aws-sdk-vpclattice.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-vpclattice/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.1')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice.rb b/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice.rb
index 692c0cee954..dbb7c75ab15 100644
--- a/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice.rb
+++ b/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::VPCLattice
- GEM_VERSION = '1.19.0'
+ GEM_VERSION = '1.20.0'
end
diff --git a/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb b/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb
index 0acb44ee0f9..29603b4165e 100644
--- a/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb
+++ b/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/client.rb
@@ -3289,7 +3289,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-vpclattice'
- context[:gem_version] = '1.19.0'
+ context[:gem_version] = '1.20.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/endpoints.rb b/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/endpoints.rb
index a2978b177f5..2df7ca40a6e 100644
--- a/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/endpoints.rb
+++ b/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/endpoints.rb
@@ -14,728 +14,572 @@ module Endpoints
class BatchUpdateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccessLogSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServiceNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServiceNetworkServiceAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateServiceNetworkVpcAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTargetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccessLogSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAuthPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServiceNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServiceNetworkServiceAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteServiceNetworkVpcAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTargetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccessLogSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAuthPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceNetworkServiceAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceNetworkVpcAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTargetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessLogSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListListeners
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceNetworkServiceAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceNetworkVpcAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServiceNetworks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListServices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTargetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAuthPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAccessLogSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateListener
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateService
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceNetwork
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateServiceNetworkVpcAssociation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTargetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::VPCLattice::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/plugins/endpoints.rb b/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/plugins/endpoints.rb
index 2ce351a051d..03ecd8a69de 100644
--- a/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/plugins/endpoints.rb
+++ b/gems/aws-sdk-vpclattice/lib/aws-sdk-vpclattice/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-vpclattice/spec/endpoint_provider_spec.rb b/gems/aws-sdk-vpclattice/spec/endpoint_provider_spec.rb
index b92b4d3de58..1173343ae02 100644
--- a/gems/aws-sdk-vpclattice/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-vpclattice/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::VPCLattice
describe EndpointProvider do
subject { Aws::VPCLattice::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::VPCLattice
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::VPCLattice
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::VPCLattice
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::VPCLattice
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::VPCLattice
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://vpc-lattice.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::VPCLattice
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::VPCLattice
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::VPCLattice
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::VPCLattice
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::VPCLattice
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-waf/CHANGELOG.md b/gems/aws-sdk-waf/CHANGELOG.md
index f816e522bd7..df291477d7e 100644
--- a/gems/aws-sdk-waf/CHANGELOG.md
+++ b/gems/aws-sdk-waf/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.69.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.68.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-waf/VERSION b/gems/aws-sdk-waf/VERSION
index ee2f4ca9130..49349856550 100644
--- a/gems/aws-sdk-waf/VERSION
+++ b/gems/aws-sdk-waf/VERSION
@@ -1 +1 @@
-1.68.0
+1.69.0
diff --git a/gems/aws-sdk-waf/aws-sdk-waf.gemspec b/gems/aws-sdk-waf/aws-sdk-waf.gemspec
index 9d4a6ac30b3..127b0d79d3f 100644
--- a/gems/aws-sdk-waf/aws-sdk-waf.gemspec
+++ b/gems/aws-sdk-waf/aws-sdk-waf.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-waf/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-waf/lib/aws-sdk-waf.rb b/gems/aws-sdk-waf/lib/aws-sdk-waf.rb
index 8096e122bfe..664e9f032bc 100644
--- a/gems/aws-sdk-waf/lib/aws-sdk-waf.rb
+++ b/gems/aws-sdk-waf/lib/aws-sdk-waf.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::WAF
- GEM_VERSION = '1.68.0'
+ GEM_VERSION = '1.69.0'
end
diff --git a/gems/aws-sdk-waf/lib/aws-sdk-waf/client.rb b/gems/aws-sdk-waf/lib/aws-sdk-waf/client.rb
index cba447a938a..060537bbea5 100644
--- a/gems/aws-sdk-waf/lib/aws-sdk-waf/client.rb
+++ b/gems/aws-sdk-waf/lib/aws-sdk-waf/client.rb
@@ -6788,7 +6788,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-waf'
- context[:gem_version] = '1.68.0'
+ context[:gem_version] = '1.69.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-waf/lib/aws-sdk-waf/endpoints.rb b/gems/aws-sdk-waf/lib/aws-sdk-waf/endpoints.rb
index 50bb0ab786e..a6f690b4cd1 100644
--- a/gems/aws-sdk-waf/lib/aws-sdk-waf/endpoints.rb
+++ b/gems/aws-sdk-waf/lib/aws-sdk-waf/endpoints.rb
@@ -14,1078 +14,847 @@ module Endpoints
class CreateByteMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGeoMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRateBasedRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRegexMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSizeConstraintSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSqlInjectionMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWebACLMigrationStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateXssMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteByteMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGeoMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePermissionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRateBasedRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegexMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSizeConstraintSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSqlInjectionMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteXssMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetByteMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChangeToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChangeTokenStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGeoMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPermissionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRateBasedRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRateBasedRuleManagedKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegexMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSampledRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSizeConstraintSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSqlInjectionMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetXssMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListActivatedRulesInRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListByteMatchSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGeoMatchSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIPSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLoggingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRateBasedRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRegexMatchSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRegexPatternSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuleGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSizeConstraintSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSqlInjectionMatchSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscribedRuleGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWebACLs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListXssMatchSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPermissionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateByteMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGeoMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRateBasedRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRegexMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSizeConstraintSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSqlInjectionMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateXssMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAF::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-waf/lib/aws-sdk-waf/plugins/endpoints.rb b/gems/aws-sdk-waf/lib/aws-sdk-waf/plugins/endpoints.rb
index 0a2601635f9..568519969f6 100644
--- a/gems/aws-sdk-waf/lib/aws-sdk-waf/plugins/endpoints.rb
+++ b/gems/aws-sdk-waf/lib/aws-sdk-waf/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-waf/spec/endpoint_provider_spec.rb b/gems/aws-sdk-waf/spec/endpoint_provider_spec.rb
index 7a0965d83e1..7cf67c31ae8 100644
--- a/gems/aws-sdk-waf/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-waf/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::WAF
describe EndpointProvider do
subject { Aws::WAF::EndpointProvider.new }
- context 'For region aws-global with FIPS disabled and DualStack disabled' do
+ context "For region aws-global with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"waf", "signingRegion"=>"us-east-1"}]}, "url"=>"https://waf.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::WAF
end
end
- context 'For region aws-global with FIPS enabled and DualStack disabled' do
+ context "For region aws-global with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"waf", "signingRegion"=>"us-east-1"}]}, "url"=>"https://waf-fips.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::WAF
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-fips.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::WAF
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"waf", "signingRegion"=>"us-east-1"}]}, "url"=>"https://waf-fips.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::WAF
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf.us-east-1.api.aws"}}
end
@@ -84,7 +84,7 @@ module Aws::WAF
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"properties"=>{"authSchemes"=>[{"name"=>"sigv4", "signingName"=>"waf", "signingRegion"=>"us-east-1"}]}, "url"=>"https://waf.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::WAF
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::WAF
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::WAF
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::WAF
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::WAF
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::WAF
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::WAF
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::WAF
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::WAF
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::WAF
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::WAF
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::WAF
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::WAF
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::WAF
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::WAF
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::WAF
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::WAF
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::WAF
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::WAF
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::WAF
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::WAF
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-wafregional/CHANGELOG.md b/gems/aws-sdk-wafregional/CHANGELOG.md
index 228cedcf032..a7be21db732 100644
--- a/gems/aws-sdk-wafregional/CHANGELOG.md
+++ b/gems/aws-sdk-wafregional/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.71.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.70.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-wafregional/VERSION b/gems/aws-sdk-wafregional/VERSION
index 832e9afb6c1..df484cbb1d9 100644
--- a/gems/aws-sdk-wafregional/VERSION
+++ b/gems/aws-sdk-wafregional/VERSION
@@ -1 +1 @@
-1.70.0
+1.71.0
diff --git a/gems/aws-sdk-wafregional/aws-sdk-wafregional.gemspec b/gems/aws-sdk-wafregional/aws-sdk-wafregional.gemspec
index 533d3f2e82d..982f40a0bba 100644
--- a/gems/aws-sdk-wafregional/aws-sdk-wafregional.gemspec
+++ b/gems/aws-sdk-wafregional/aws-sdk-wafregional.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-wafregional/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional.rb b/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional.rb
index badce5cc6bf..395ef3cdab4 100644
--- a/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional.rb
+++ b/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::WAFRegional
- GEM_VERSION = '1.70.0'
+ GEM_VERSION = '1.71.0'
end
diff --git a/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/client.rb b/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/client.rb
index a2d227e87e8..87292eb41c3 100644
--- a/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/client.rb
+++ b/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/client.rb
@@ -6991,7 +6991,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-wafregional'
- context[:gem_version] = '1.70.0'
+ context[:gem_version] = '1.71.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/endpoints.rb b/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/endpoints.rb
index bb742aed7c8..3902be6de97 100644
--- a/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/endpoints.rb
+++ b/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/endpoints.rb
@@ -14,1134 +14,891 @@ module Endpoints
class AssociateWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateByteMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGeoMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRateBasedRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRegexMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSizeConstraintSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSqlInjectionMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWebACLMigrationStack
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateXssMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteByteMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGeoMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePermissionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRateBasedRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegexMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSizeConstraintSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSqlInjectionMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteXssMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetByteMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChangeToken
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetChangeTokenStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGeoMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPermissionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRateBasedRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRateBasedRuleManagedKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegexMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSampledRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSizeConstraintSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSqlInjectionMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWebACLForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetXssMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListActivatedRulesInRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListByteMatchSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGeoMatchSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIPSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLoggingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRateBasedRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRegexMatchSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRegexPatternSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourcesForWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuleGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSizeConstraintSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSqlInjectionMatchSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSubscribedRuleGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWebACLs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListXssMatchSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPermissionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateByteMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGeoMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRateBasedRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRegexMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSizeConstraintSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSqlInjectionMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateXssMatchSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFRegional::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/plugins/endpoints.rb b/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/plugins/endpoints.rb
index 16fbb63666a..6c78bcad303 100644
--- a/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/plugins/endpoints.rb
+++ b/gems/aws-sdk-wafregional/lib/aws-sdk-wafregional/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-wafregional/spec/endpoint_provider_spec.rb b/gems/aws-sdk-wafregional/spec/endpoint_provider_spec.rb
index 473997afe1e..183b453ade8 100644
--- a/gems/aws-sdk-wafregional/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-wafregional/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::WAFRegional
describe EndpointProvider do
subject { Aws::WAFRegional::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::WAFRegional
end
end
- context 'For region af-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.af-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.ap-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.ap-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.ap-northeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-northeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.ap-northeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.ap-northeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-northeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.ap-northeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.ap-northeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-northeast-3 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.ap-northeast-3.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.ap-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.ap-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.ap-southeast-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-southeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.ap-southeast-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.ap-southeast-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-southeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.ap-southeast-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.ap-southeast-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::WAFRegional
end
end
- context 'For region ap-southeast-3 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.ap-southeast-3.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::WAFRegional
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.ca-central-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::WAFRegional
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.ca-central-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.eu-central-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.eu-central-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.eu-north-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.eu-north-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.eu-south-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.eu-south-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.eu-west-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.eu-west-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.eu-west-2.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.eu-west-2.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.eu-west-3.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::WAFRegional
end
end
- context 'For region eu-west-3 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.eu-west-3.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::WAFRegional
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.me-south-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::WAFRegional
end
end
- context 'For region me-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.me-south-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::WAFRegional
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.sa-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::WAFRegional
end
end
- context 'For region sa-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.sa-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.us-east-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.us-east-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.us-east-2.amazonaws.com"}}
end
@@ -560,7 +560,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.us-east-2.amazonaws.com"}}
end
@@ -574,7 +574,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.us-west-1.amazonaws.com"}}
end
@@ -588,7 +588,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.us-west-1.amazonaws.com"}}
end
@@ -602,7 +602,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.us-west-2.amazonaws.com"}}
end
@@ -616,7 +616,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.us-west-2.amazonaws.com"}}
end
@@ -630,7 +630,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.us-east-1.api.aws"}}
end
@@ -644,7 +644,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.us-east-1.api.aws"}}
end
@@ -658,7 +658,7 @@ module Aws::WAFRegional
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.cn-north-1.amazonaws.com.cn"}}
end
@@ -672,7 +672,7 @@ module Aws::WAFRegional
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -686,7 +686,7 @@ module Aws::WAFRegional
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -700,7 +700,7 @@ module Aws::WAFRegional
end
end
- context 'For region cn-northwest-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -714,7 +714,7 @@ module Aws::WAFRegional
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -728,7 +728,7 @@ module Aws::WAFRegional
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -742,7 +742,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.us-gov-east-1.amazonaws.com"}}
end
@@ -756,7 +756,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -770,7 +770,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.us-gov-west-1.amazonaws.com"}}
end
@@ -784,7 +784,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -798,7 +798,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.us-gov-east-1.api.aws"}}
end
@@ -812,7 +812,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.us-gov-east-1.api.aws"}}
end
@@ -826,7 +826,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -839,7 +839,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -853,7 +853,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -866,7 +866,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.us-iso-east-1.c2s.ic.gov"}}
end
@@ -880,7 +880,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -893,7 +893,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -907,7 +907,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -920,7 +920,7 @@ module Aws::WAFRegional
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://waf-regional.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -934,7 +934,7 @@ module Aws::WAFRegional
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -948,7 +948,7 @@ module Aws::WAFRegional
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -962,7 +962,7 @@ module Aws::WAFRegional
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -975,7 +975,7 @@ module Aws::WAFRegional
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -988,7 +988,7 @@ module Aws::WAFRegional
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-wafv2/CHANGELOG.md b/gems/aws-sdk-wafv2/CHANGELOG.md
index 89211d3c292..b500f4d171d 100644
--- a/gems/aws-sdk-wafv2/CHANGELOG.md
+++ b/gems/aws-sdk-wafv2/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.92.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.91.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-wafv2/VERSION b/gems/aws-sdk-wafv2/VERSION
index 6979a6c0661..7f229af9647 100644
--- a/gems/aws-sdk-wafv2/VERSION
+++ b/gems/aws-sdk-wafv2/VERSION
@@ -1 +1 @@
-1.91.0
+1.92.0
diff --git a/gems/aws-sdk-wafv2/aws-sdk-wafv2.gemspec b/gems/aws-sdk-wafv2/aws-sdk-wafv2.gemspec
index 9315bf3596d..a9c4ca00cf3 100644
--- a/gems/aws-sdk-wafv2/aws-sdk-wafv2.gemspec
+++ b/gems/aws-sdk-wafv2/aws-sdk-wafv2.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-wafv2/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2.rb b/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2.rb
index 8d5291804bf..4118e0e345c 100644
--- a/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2.rb
+++ b/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::WAFV2
- GEM_VERSION = '1.91.0'
+ GEM_VERSION = '1.92.0'
end
diff --git a/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/client.rb b/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/client.rb
index b36200fc3b5..a93dd4fce75 100644
--- a/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/client.rb
+++ b/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/client.rb
@@ -9221,7 +9221,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-wafv2'
- context[:gem_version] = '1.91.0'
+ context[:gem_version] = '1.92.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/endpoints.rb b/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/endpoints.rb
index 4b6e3f746fa..ce4a4397d63 100644
--- a/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/endpoints.rb
+++ b/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/endpoints.rb
@@ -14,756 +14,594 @@ module Endpoints
class AssociateWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CheckCapacity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAPIKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAPIKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFirewallManagerRuleGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePermissionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAllManagedProducts
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeManagedProductsByVendor
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeManagedRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GenerateMobileSdkReleaseUrl
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDecryptedAPIKey
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetManagedRuleSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMobileSdkRelease
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPermissionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRateBasedStatementManagedKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSampledRequests
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWebACLForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAPIKeys
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAvailableManagedRuleGroupVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAvailableManagedRuleGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIPSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLoggingConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListManagedRuleSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMobileSdkReleases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRegexPatternSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourcesForWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListRuleGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWebACLs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutLoggingConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutManagedRuleSetVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutPermissionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIPSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateManagedRuleSetVersionExpiryDate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRegexPatternSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRuleGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWebACL
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WAFV2::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/plugins/endpoints.rb b/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/plugins/endpoints.rb
index 012863f8e7c..4eb5339195d 100644
--- a/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/plugins/endpoints.rb
+++ b/gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-wafv2/spec/endpoint_provider_spec.rb b/gems/aws-sdk-wafv2/spec/endpoint_provider_spec.rb
index 23731e5748d..8d4c4b15627 100644
--- a/gems/aws-sdk-wafv2/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-wafv2/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::WAFV2
describe EndpointProvider do
subject { Aws::WAFV2::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::WAFV2
end
end
- context 'For region af-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.af-south-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.ap-east-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.ap-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.ap-northeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-northeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.ap-northeast-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.ap-northeast-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-northeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.ap-northeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.ap-northeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-northeast-3 with FIPS enabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.ap-northeast-3.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.ap-south-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.ap-south-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.ap-southeast-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-southeast-1 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.ap-southeast-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.ap-southeast-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-southeast-2 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.ap-southeast-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.ap-southeast-3.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::WAFV2
end
end
- context 'For region ap-southeast-3 with FIPS enabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.ap-southeast-3.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::WAFV2
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.ca-central-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::WAFV2
end
end
- context 'For region ca-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.ca-central-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.eu-central-1.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-central-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.eu-central-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.eu-north-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.eu-north-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.eu-south-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.eu-south-1.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.eu-west-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.eu-west-1.amazonaws.com"}}
end
@@ -406,7 +406,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.eu-west-2.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.eu-west-2.amazonaws.com"}}
end
@@ -434,7 +434,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.eu-west-3.amazonaws.com"}}
end
@@ -448,7 +448,7 @@ module Aws::WAFV2
end
end
- context 'For region eu-west-3 with FIPS enabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.eu-west-3.amazonaws.com"}}
end
@@ -462,7 +462,7 @@ module Aws::WAFV2
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.me-south-1.amazonaws.com"}}
end
@@ -476,7 +476,7 @@ module Aws::WAFV2
end
end
- context 'For region me-south-1 with FIPS enabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.me-south-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::WAFV2
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.sa-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::WAFV2
end
end
- context 'For region sa-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.sa-east-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::WAFV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.us-east-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::WAFV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.us-east-1.amazonaws.com"}}
end
@@ -546,7 +546,7 @@ module Aws::WAFV2
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.us-east-2.amazonaws.com"}}
end
@@ -560,7 +560,7 @@ module Aws::WAFV2
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.us-east-2.amazonaws.com"}}
end
@@ -574,7 +574,7 @@ module Aws::WAFV2
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.us-west-1.amazonaws.com"}}
end
@@ -588,7 +588,7 @@ module Aws::WAFV2
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.us-west-1.amazonaws.com"}}
end
@@ -602,7 +602,7 @@ module Aws::WAFV2
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.us-west-2.amazonaws.com"}}
end
@@ -616,7 +616,7 @@ module Aws::WAFV2
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.us-west-2.amazonaws.com"}}
end
@@ -630,7 +630,7 @@ module Aws::WAFV2
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.us-east-1.api.aws"}}
end
@@ -644,7 +644,7 @@ module Aws::WAFV2
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.us-east-1.api.aws"}}
end
@@ -658,7 +658,7 @@ module Aws::WAFV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.cn-north-1.amazonaws.com.cn"}}
end
@@ -672,7 +672,7 @@ module Aws::WAFV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -686,7 +686,7 @@ module Aws::WAFV2
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -700,7 +700,7 @@ module Aws::WAFV2
end
end
- context 'For region cn-northwest-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -714,7 +714,7 @@ module Aws::WAFV2
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -728,7 +728,7 @@ module Aws::WAFV2
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -742,7 +742,7 @@ module Aws::WAFV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.us-gov-east-1.amazonaws.com"}}
end
@@ -756,7 +756,7 @@ module Aws::WAFV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -770,7 +770,7 @@ module Aws::WAFV2
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.us-gov-west-1.amazonaws.com"}}
end
@@ -784,7 +784,7 @@ module Aws::WAFV2
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -798,7 +798,7 @@ module Aws::WAFV2
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.us-gov-east-1.api.aws"}}
end
@@ -812,7 +812,7 @@ module Aws::WAFV2
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.us-gov-east-1.api.aws"}}
end
@@ -826,7 +826,7 @@ module Aws::WAFV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -839,7 +839,7 @@ module Aws::WAFV2
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -853,7 +853,7 @@ module Aws::WAFV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -866,7 +866,7 @@ module Aws::WAFV2
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.us-iso-east-1.c2s.ic.gov"}}
end
@@ -880,7 +880,7 @@ module Aws::WAFV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -893,7 +893,7 @@ module Aws::WAFV2
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -907,7 +907,7 @@ module Aws::WAFV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -920,7 +920,7 @@ module Aws::WAFV2
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wafv2.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -934,7 +934,7 @@ module Aws::WAFV2
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -948,7 +948,7 @@ module Aws::WAFV2
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -962,7 +962,7 @@ module Aws::WAFV2
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -975,7 +975,7 @@ module Aws::WAFV2
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -988,7 +988,7 @@ module Aws::WAFV2
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-wellarchitected/CHANGELOG.md b/gems/aws-sdk-wellarchitected/CHANGELOG.md
index f3c1b454b55..78a2191fa15 100644
--- a/gems/aws-sdk-wellarchitected/CHANGELOG.md
+++ b/gems/aws-sdk-wellarchitected/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.44.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.43.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-wellarchitected/VERSION b/gems/aws-sdk-wellarchitected/VERSION
index b978278f05f..372cf402c73 100644
--- a/gems/aws-sdk-wellarchitected/VERSION
+++ b/gems/aws-sdk-wellarchitected/VERSION
@@ -1 +1 @@
-1.43.0
+1.44.0
diff --git a/gems/aws-sdk-wellarchitected/aws-sdk-wellarchitected.gemspec b/gems/aws-sdk-wellarchitected/aws-sdk-wellarchitected.gemspec
index 924e6c3fa8f..6fd468d9162 100644
--- a/gems/aws-sdk-wellarchitected/aws-sdk-wellarchitected.gemspec
+++ b/gems/aws-sdk-wellarchitected/aws-sdk-wellarchitected.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-wellarchitected/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected.rb b/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected.rb
index 9694ea57b0c..7bbf1c7d1c7 100644
--- a/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected.rb
+++ b/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::WellArchitected
- GEM_VERSION = '1.43.0'
+ GEM_VERSION = '1.44.0'
end
diff --git a/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb b/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb
index c9f92d59697..9e8f684864b 100644
--- a/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb
+++ b/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/client.rb
@@ -5217,7 +5217,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-wellarchitected'
- context[:gem_version] = '1.43.0'
+ context[:gem_version] = '1.44.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/endpoints.rb b/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/endpoints.rb
index b425093ddec..758922b8183 100644
--- a/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/endpoints.rb
+++ b/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/endpoints.rb
@@ -14,1008 +14,792 @@ module Endpoints
class AssociateLenses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLensShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLensVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMilestone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateProfileShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateReviewTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTemplateShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkloadShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLens
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLensShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteProfileShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteReviewTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTemplateShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkloadShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateLenses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ExportLens
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAnswer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetConsolidatedReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGlobalSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLens
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLensReview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLensReviewReport
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetLensVersionDifference
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMilestone
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetProfileTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReviewTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReviewTemplateAnswer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetReviewTemplateLensReview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetWorkload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportLens
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAnswers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCheckDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListCheckSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLensReviewImprovements
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLensReviews
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLensShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListLenses
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMilestones
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfileNotifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfileShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListProfiles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReviewTemplateAnswers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListReviewTemplates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListShareInvitations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTemplateShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkloadShares
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListWorkloads
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAnswer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGlobalSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIntegration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateLensReview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateProfile
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReviewTemplate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReviewTemplateAnswer
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateReviewTemplateLensReview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateShareInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkloadShare
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpgradeLensReview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpgradeProfileVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpgradeReviewTemplateLensReview
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WellArchitected::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/plugins/endpoints.rb b/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/plugins/endpoints.rb
index 3712fe1254e..d1a20747c3b 100644
--- a/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/plugins/endpoints.rb
+++ b/gems/aws-sdk-wellarchitected/lib/aws-sdk-wellarchitected/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-wellarchitected/spec/endpoint_provider_spec.rb b/gems/aws-sdk-wellarchitected/spec/endpoint_provider_spec.rb
index 351e1face30..254ee1ecc82 100644
--- a/gems/aws-sdk-wellarchitected/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-wellarchitected/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::WellArchitected
describe EndpointProvider do
subject { Aws::WellArchitected::EndpointProvider.new }
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.ap-east-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::WellArchitected
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.ap-northeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::WellArchitected
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.ap-northeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::WellArchitected
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.ap-south-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::WellArchitected
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.ap-southeast-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::WellArchitected
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.ap-southeast-2.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::WellArchitected
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.ca-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::WellArchitected
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.eu-central-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::WellArchitected
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.eu-north-1.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::WellArchitected
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.eu-west-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::WellArchitected
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.eu-west-2.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::WellArchitected
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.eu-west-3.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::WellArchitected
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.me-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::WellArchitected
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.sa-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.us-east-1.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.us-east-2.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.us-west-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.us-west-2.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected-fips.us-east-1.api.aws"}}
end
@@ -280,7 +280,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.us-east-1.api.aws"}}
end
@@ -308,7 +308,7 @@ module Aws::WellArchitected
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -322,7 +322,7 @@ module Aws::WellArchitected
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -336,7 +336,7 @@ module Aws::WellArchitected
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -350,7 +350,7 @@ module Aws::WellArchitected
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.cn-north-1.amazonaws.com.cn"}}
end
@@ -364,7 +364,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected-fips.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.us-gov-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.us-gov-east-1.amazonaws.com"}}
end
@@ -420,7 +420,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -433,7 +433,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -447,7 +447,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -460,7 +460,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.us-iso-east-1.c2s.ic.gov"}}
end
@@ -474,7 +474,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -487,7 +487,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -501,7 +501,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -514,7 +514,7 @@ module Aws::WellArchitected
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://wellarchitected.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -528,7 +528,7 @@ module Aws::WellArchitected
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -542,7 +542,7 @@ module Aws::WellArchitected
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -556,7 +556,7 @@ module Aws::WellArchitected
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -569,7 +569,7 @@ module Aws::WellArchitected
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -582,7 +582,7 @@ module Aws::WellArchitected
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-workdocs/CHANGELOG.md b/gems/aws-sdk-workdocs/CHANGELOG.md
index 45d4928e6dd..96aab726bc3 100644
--- a/gems/aws-sdk-workdocs/CHANGELOG.md
+++ b/gems/aws-sdk-workdocs/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.65.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.64.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-workdocs/VERSION b/gems/aws-sdk-workdocs/VERSION
index 9405730420f..902c74186fb 100644
--- a/gems/aws-sdk-workdocs/VERSION
+++ b/gems/aws-sdk-workdocs/VERSION
@@ -1 +1 @@
-1.64.0
+1.65.0
diff --git a/gems/aws-sdk-workdocs/aws-sdk-workdocs.gemspec b/gems/aws-sdk-workdocs/aws-sdk-workdocs.gemspec
index c8147b60f52..9d5f617ae61 100644
--- a/gems/aws-sdk-workdocs/aws-sdk-workdocs.gemspec
+++ b/gems/aws-sdk-workdocs/aws-sdk-workdocs.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-workdocs/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs.rb b/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs.rb
index 413ac3b11a9..12d48ec0c89 100644
--- a/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs.rb
+++ b/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::WorkDocs
- GEM_VERSION = '1.64.0'
+ GEM_VERSION = '1.65.0'
end
diff --git a/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb b/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb
index c5466cca2e5..4229cd461bb 100644
--- a/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb
+++ b/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/client.rb
@@ -2973,7 +2973,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-workdocs'
- context[:gem_version] = '1.64.0'
+ context[:gem_version] = '1.65.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/endpoints.rb b/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/endpoints.rb
index 5395957d343..1465041e647 100644
--- a/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/endpoints.rb
+++ b/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/endpoints.rb
@@ -14,616 +14,484 @@ module Endpoints
class AbortDocumentVersionUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ActivateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AddResourcePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateComment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateCustomMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateLabels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNotificationSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeactivateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteComment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteCustomMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDocumentVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteFolderContents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteLabels
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNotificationSubscription
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeActivities
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeComments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeDocumentVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeFolderContents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeNotificationSubscriptions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResourcePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeRootFolders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetCurrentUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDocumentPath
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDocumentVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetFolderPath
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class InitiateDocumentVersionUpload
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveAllResourcePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RemoveResourcePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreDocumentVersions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class SearchResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDocument
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDocumentVersion
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateFolder
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkDocs::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/plugins/endpoints.rb b/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/plugins/endpoints.rb
index 881080711f8..8e9375a0ed5 100644
--- a/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/plugins/endpoints.rb
+++ b/gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-workdocs/spec/endpoint_provider_spec.rb b/gems/aws-sdk-workdocs/spec/endpoint_provider_spec.rb
index 2170667b303..ef925b38012 100644
--- a/gems/aws-sdk-workdocs/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-workdocs/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::WorkDocs
describe EndpointProvider do
subject { Aws::WorkDocs::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::WorkDocs
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.ap-southeast-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::WorkDocs
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.ap-southeast-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::WorkDocs
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.eu-west-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs-fips.us-east-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.us-west-2.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs-fips.us-west-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs-fips.us-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.us-east-1.api.aws"}}
end
@@ -154,7 +154,7 @@ module Aws::WorkDocs
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -168,7 +168,7 @@ module Aws::WorkDocs
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -182,7 +182,7 @@ module Aws::WorkDocs
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -196,7 +196,7 @@ module Aws::WorkDocs
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.cn-north-1.amazonaws.com.cn"}}
end
@@ -210,7 +210,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs-fips.us-gov-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.us-gov-east-1.api.aws"}}
end
@@ -252,7 +252,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.us-gov-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -279,7 +279,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -293,7 +293,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -306,7 +306,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.us-iso-east-1.c2s.ic.gov"}}
end
@@ -320,7 +320,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -333,7 +333,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -347,7 +347,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -360,7 +360,7 @@ module Aws::WorkDocs
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workdocs.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -374,7 +374,7 @@ module Aws::WorkDocs
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -388,7 +388,7 @@ module Aws::WorkDocs
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -402,7 +402,7 @@ module Aws::WorkDocs
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -415,7 +415,7 @@ module Aws::WorkDocs
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -428,7 +428,7 @@ module Aws::WorkDocs
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-worklink/CHANGELOG.md b/gems/aws-sdk-worklink/CHANGELOG.md
deleted file mode 100644
index d8fe73940cf..00000000000
--- a/gems/aws-sdk-worklink/CHANGELOG.md
+++ /dev/null
@@ -1,285 +0,0 @@
-Unreleased Changes
-------------------
-
-1.54.0 (2024-09-10)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.53.0 (2024-09-03)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.52.0 (2024-07-02)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.51.0 (2024-06-28)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.50.0 (2024-06-25)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.49.0 (2024-06-24)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.48.0 (2024-06-05)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.47.0 (2024-05-13)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.46.0 (2024-04-25)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.45.0 (2024-01-26)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.44.0 (2023-11-28)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.43.0 (2023-11-22)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.42.0 (2023-09-27)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.41.0 (2023-09-19)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.40.0 (2023-07-11)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.39.0 (2023-07-06)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.38.0 (2023-06-28)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.37.0 (2023-06-15)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.36.0 (2023-05-31)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.35.0 (2023-01-18)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-* Issue - Replace runtime endpoint resolution approach with generated ruby code.
-
-1.34.0 (2022-10-25)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.33.0 (2022-04-19)
-------------------
-
-* Feature - Amazon WorkLink is no longer supported. This will be removed in a future version of the SDK.
-
-1.32.0 (2022-02-24)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.31.0 (2022-02-03)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.30.0 (2021-12-21)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.29.0 (2021-11-30)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.28.0 (2021-11-04)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.27.0 (2021-10-18)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.26.0 (2021-09-01)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.25.0 (2021-07-30)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.24.0 (2021-07-28)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.23.0 (2021-03-10)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.22.0 (2021-02-02)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.21.0 (2020-09-30)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.20.0 (2020-09-15)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.19.0 (2020-08-25)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.18.0 (2020-06-23)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.17.1 (2020-06-11)
-------------------
-
-* Issue - Republish previous version with correct dependency on `aws-sdk-core`.
-
-1.17.0 (2020-06-10)
-------------------
-
-* Issue - This version has been yanked. (#2327).
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.16.0 (2020-06-01)
-------------------
-
-* Feature - Amazon WorkLink now supports resource tagging for fleets.
-
-1.15.0 (2020-05-28)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.14.0 (2020-05-07)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.13.0 (2020-03-09)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.12.0 (2019-10-23)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.11.0 (2019-07-25)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.10.0 (2019-07-01)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.9.0 (2019-06-17)
-------------------
-
-* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
-
-1.8.0 (2019-05-22)
-------------------
-
-* Feature - Amazon WorkLink is a fully managed, cloud-based service that enables secure, one-click access to internal websites and web apps from mobile phones. This release introduces new APIs to associate and manage website authorization providers with Amazon WorkLink fleets.
-
-1.7.0 (2019-05-21)
-------------------
-
-* Feature - API update.
-
-1.6.0 (2019-05-15)
-------------------
-
-* Feature - API update.
-
-1.5.0 (2019-05-14)
-------------------
-
-* Feature - API update.
-
-1.4.0 (2019-04-18)
-------------------
-
-* Feature - API update.
-
-1.3.0 (2019-03-21)
-------------------
-
-* Feature - API update.
-
-1.2.0 (2019-03-18)
-------------------
-
-* Feature - API update.
-
-1.1.0 (2019-03-14)
-------------------
-
-* Feature - API update.
-
-1.0.0 (2019-01-23)
-------------------
-
-* Feature - Initial release of `aws-sdk-worklink`.
diff --git a/gems/aws-sdk-worklink/VERSION b/gems/aws-sdk-worklink/VERSION
deleted file mode 100644
index b7921ae87bc..00000000000
--- a/gems/aws-sdk-worklink/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-1.54.0
diff --git a/gems/aws-sdk-worklink/features/step_definitions.rb b/gems/aws-sdk-worklink/features/step_definitions.rb
deleted file mode 100644
index bed5082895b..00000000000
--- a/gems/aws-sdk-worklink/features/step_definitions.rb
+++ /dev/null
@@ -1,10 +0,0 @@
-# frozen_string_literal: true
-
-Before("@worklink") do
- @service = Aws::WorkLink::Resource.new
- @client = @service.client
-end
-
-After("@worklink") do
- # shared cleanup logic
-end
diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink.rb
deleted file mode 100644
index 20932892597..00000000000
--- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink.rb
+++ /dev/null
@@ -1,57 +0,0 @@
-# frozen_string_literal: true
-
-# WARNING ABOUT GENERATED CODE
-#
-# This file is generated. See the contributing guide for more information:
-# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
-#
-# WARNING ABOUT GENERATED CODE
-
-
-require 'aws-sdk-core'
-require 'aws-sigv4'
-
-require_relative 'aws-sdk-worklink/types'
-require_relative 'aws-sdk-worklink/client_api'
-require_relative 'aws-sdk-worklink/plugins/endpoints.rb'
-require_relative 'aws-sdk-worklink/client'
-require_relative 'aws-sdk-worklink/errors'
-require_relative 'aws-sdk-worklink/resource'
-require_relative 'aws-sdk-worklink/endpoint_parameters'
-require_relative 'aws-sdk-worklink/endpoint_provider'
-require_relative 'aws-sdk-worklink/endpoints'
-require_relative 'aws-sdk-worklink/customizations'
-
-# This module provides support for Amazon WorkLink. This module is available in the
-# `aws-sdk-worklink` gem.
-#
-# # Client
-#
-# The {Client} class provides one method for each API operation. Operation
-# methods each accept a hash of request parameters and return a response
-# structure.
-#
-# work_link = Aws::WorkLink::Client.new
-# resp = work_link.associate_domain(params)
-#
-# See {Client} for more information.
-#
-# # Errors
-#
-# Errors returned from Amazon WorkLink are defined in the
-# {Errors} module and all extend {Errors::ServiceError}.
-#
-# begin
-# # do stuff
-# rescue Aws::WorkLink::Errors::ServiceError
-# # rescues all Amazon WorkLink API errors
-# end
-#
-# See {Errors} for more information.
-#
-# @!group service
-module Aws::WorkLink
-
- GEM_VERSION = '1.54.0'
-
-end
diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb
deleted file mode 100644
index d66fe211bfc..00000000000
--- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client.rb
+++ /dev/null
@@ -1,1615 +0,0 @@
-# frozen_string_literal: true
-
-# WARNING ABOUT GENERATED CODE
-#
-# This file is generated. See the contributing guide for more information:
-# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
-#
-# WARNING ABOUT GENERATED CODE
-
-require 'seahorse/client/plugins/content_length.rb'
-require 'aws-sdk-core/plugins/credentials_configuration.rb'
-require 'aws-sdk-core/plugins/logging.rb'
-require 'aws-sdk-core/plugins/param_converter.rb'
-require 'aws-sdk-core/plugins/param_validator.rb'
-require 'aws-sdk-core/plugins/user_agent.rb'
-require 'aws-sdk-core/plugins/helpful_socket_errors.rb'
-require 'aws-sdk-core/plugins/retry_errors.rb'
-require 'aws-sdk-core/plugins/global_configuration.rb'
-require 'aws-sdk-core/plugins/regional_endpoint.rb'
-require 'aws-sdk-core/plugins/endpoint_discovery.rb'
-require 'aws-sdk-core/plugins/endpoint_pattern.rb'
-require 'aws-sdk-core/plugins/response_paging.rb'
-require 'aws-sdk-core/plugins/stub_responses.rb'
-require 'aws-sdk-core/plugins/idempotency_token.rb'
-require 'aws-sdk-core/plugins/invocation_id.rb'
-require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
-require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
-require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
-require 'aws-sdk-core/plugins/transfer_encoding.rb'
-require 'aws-sdk-core/plugins/http_checksum.rb'
-require 'aws-sdk-core/plugins/checksum_algorithm.rb'
-require 'aws-sdk-core/plugins/request_compression.rb'
-require 'aws-sdk-core/plugins/defaults_mode.rb'
-require 'aws-sdk-core/plugins/recursion_detection.rb'
-require 'aws-sdk-core/plugins/telemetry.rb'
-require 'aws-sdk-core/plugins/sign.rb'
-require 'aws-sdk-core/plugins/protocols/rest_json.rb'
-
-Aws::Plugins::GlobalConfiguration.add_identifier(:worklink)
-
-module Aws::WorkLink
- # An API client for WorkLink. To construct a client, you need to configure a `:region` and `:credentials`.
- #
- # client = Aws::WorkLink::Client.new(
- # region: region_name,
- # credentials: credentials,
- # # ...
- # )
- #
- # For details on configuring region and credentials see
- # the [developer guide](/sdk-for-ruby/v3/developer-guide/setup-config.html).
- #
- # See {#initialize} for a full list of supported configuration options.
- class Client < Seahorse::Client::Base
-
- include Aws::ClientStubs
-
- @identifier = :worklink
-
- set_api(ClientApi::API)
-
- add_plugin(Seahorse::Client::Plugins::ContentLength)
- add_plugin(Aws::Plugins::CredentialsConfiguration)
- add_plugin(Aws::Plugins::Logging)
- add_plugin(Aws::Plugins::ParamConverter)
- add_plugin(Aws::Plugins::ParamValidator)
- add_plugin(Aws::Plugins::UserAgent)
- add_plugin(Aws::Plugins::HelpfulSocketErrors)
- add_plugin(Aws::Plugins::RetryErrors)
- add_plugin(Aws::Plugins::GlobalConfiguration)
- add_plugin(Aws::Plugins::RegionalEndpoint)
- add_plugin(Aws::Plugins::EndpointDiscovery)
- add_plugin(Aws::Plugins::EndpointPattern)
- add_plugin(Aws::Plugins::ResponsePaging)
- add_plugin(Aws::Plugins::StubResponses)
- add_plugin(Aws::Plugins::IdempotencyToken)
- add_plugin(Aws::Plugins::InvocationId)
- add_plugin(Aws::Plugins::JsonvalueConverter)
- add_plugin(Aws::Plugins::ClientMetricsPlugin)
- add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
- add_plugin(Aws::Plugins::TransferEncoding)
- add_plugin(Aws::Plugins::HttpChecksum)
- add_plugin(Aws::Plugins::ChecksumAlgorithm)
- add_plugin(Aws::Plugins::RequestCompression)
- add_plugin(Aws::Plugins::DefaultsMode)
- add_plugin(Aws::Plugins::RecursionDetection)
- add_plugin(Aws::Plugins::Telemetry)
- add_plugin(Aws::Plugins::Sign)
- add_plugin(Aws::Plugins::Protocols::RestJson)
- add_plugin(Aws::WorkLink::Plugins::Endpoints)
-
- # @overload initialize(options)
- # @param [Hash] options
- #
- # @option options [Array] :plugins ([]])
- # A list of plugins to apply to the client. Each plugin is either a
- # class name or an instance of a plugin class.
- #
- # @option options [required, Aws::CredentialProvider] :credentials
- # Your AWS credentials. This can be an instance of any one of the
- # following classes:
- #
- # * `Aws::Credentials` - Used for configuring static, non-refreshing
- # credentials.
- #
- # * `Aws::SharedCredentials` - Used for loading static credentials from a
- # shared file, such as `~/.aws/config`.
- #
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
- #
- # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
- # assume a role after providing credentials via the web.
- #
- # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
- # access token generated from `aws login`.
- #
- # * `Aws::ProcessCredentials` - Used for loading credentials from a
- # process that outputs to stdout.
- #
- # * `Aws::InstanceProfileCredentials` - Used for loading credentials
- # from an EC2 IMDS on an EC2 instance.
- #
- # * `Aws::ECSCredentials` - Used for loading credentials from
- # instances running in ECS.
- #
- # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
- # from the Cognito Identity service.
- #
- # When `:credentials` are not configured directly, the following
- # locations will be searched for credentials:
- #
- # * `Aws.config[:credentials]`
- # * The `:access_key_id`, `:secret_access_key`, and `:session_token` options.
- # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
- # * `~/.aws/credentials`
- # * `~/.aws/config`
- # * EC2/ECS IMDS instance profile - When used by default, the timeouts
- # are very aggressive. Construct and pass an instance of
- # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
- # enable retries and extended timeouts. Instance profile credential
- # fetching can be disabled by setting ENV['AWS_EC2_METADATA_DISABLED']
- # to true.
- #
- # @option options [required, String] :region
- # The AWS region to connect to. The configured `:region` is
- # used to determine the service `:endpoint`. When not passed,
- # a default `:region` is searched for in the following locations:
- #
- # * `Aws.config[:region]`
- # * `ENV['AWS_REGION']`
- # * `ENV['AMAZON_REGION']`
- # * `ENV['AWS_DEFAULT_REGION']`
- # * `~/.aws/credentials`
- # * `~/.aws/config`
- #
- # @option options [String] :access_key_id
- #
- # @option options [Boolean] :active_endpoint_cache (false)
- # When set to `true`, a thread polling for endpoints will be running in
- # the background every 60 secs (default). Defaults to `false`.
- #
- # @option options [Boolean] :adaptive_retry_wait_to_fill (true)
- # Used only in `adaptive` retry mode. When true, the request will sleep
- # until there is sufficent client side capacity to retry the request.
- # When false, the request will raise a `RetryCapacityNotAvailableError` and will
- # not retry instead of sleeping.
- #
- # @option options [Boolean] :client_side_monitoring (false)
- # When `true`, client-side metrics will be collected for all API requests from
- # this client.
- #
- # @option options [String] :client_side_monitoring_client_id ("")
- # Allows you to provide an identifier for this client which will be attached to
- # all generated client side metrics. Defaults to an empty string.
- #
- # @option options [String] :client_side_monitoring_host ("127.0.0.1")
- # Allows you to specify the DNS hostname or IPv4 or IPv6 address that the client
- # side monitoring agent is running on, where client metrics will be published via UDP.
- #
- # @option options [Integer] :client_side_monitoring_port (31000)
- # Required for publishing client metrics. The port that the client side monitoring
- # agent is running on, where client metrics will be published via UDP.
- #
- # @option options [Aws::ClientSideMonitoring::Publisher] :client_side_monitoring_publisher (Aws::ClientSideMonitoring::Publisher)
- # Allows you to provide a custom client-side monitoring publisher class. By default,
- # will use the Client Side Monitoring Agent Publisher.
- #
- # @option options [Boolean] :convert_params (true)
- # When `true`, an attempt is made to coerce request parameters into
- # the required types.
- #
- # @option options [Boolean] :correct_clock_skew (true)
- # Used only in `standard` and adaptive retry modes. Specifies whether to apply
- # a clock skew correction and retry requests with skewed client clocks.
- #
- # @option options [String] :defaults_mode ("legacy")
- # See {Aws::DefaultsModeConfiguration} for a list of the
- # accepted modes and the configuration defaults that are included.
- #
- # @option options [Boolean] :disable_host_prefix_injection (false)
- # Set to true to disable SDK automatically adding host prefix
- # to default service endpoint when available.
- #
- # @option options [Boolean] :disable_request_compression (false)
- # When set to 'true' the request body will not be compressed
- # for supported operations.
- #
- # @option options [String, URI::HTTPS, URI::HTTP] :endpoint
- # Normally you should not configure the `:endpoint` option
- # directly. This is normally constructed from the `:region`
- # option. Configuring `:endpoint` is normally reserved for
- # connecting to test or custom endpoints. The endpoint should
- # be a URI formatted like:
- #
- # 'http://example.com'
- # 'https://example.com'
- # 'http://example.com:123'
- #
- # @option options [Integer] :endpoint_cache_max_entries (1000)
- # Used for the maximum size limit of the LRU cache storing endpoints data
- # for endpoint discovery enabled operations. Defaults to 1000.
- #
- # @option options [Integer] :endpoint_cache_max_threads (10)
- # Used for the maximum threads in use for polling endpoints to be cached, defaults to 10.
- #
- # @option options [Integer] :endpoint_cache_poll_interval (60)
- # When :endpoint_discovery and :active_endpoint_cache is enabled,
- # Use this option to config the time interval in seconds for making
- # requests fetching endpoints information. Defaults to 60 sec.
- #
- # @option options [Boolean] :endpoint_discovery (false)
- # When set to `true`, endpoint discovery will be enabled for operations when available.
- #
- # @option options [Boolean] :ignore_configured_endpoint_urls
- # Setting to true disables use of endpoint URLs provided via environment
- # variables and the shared configuration file.
- #
- # @option options [Aws::Log::Formatter] :log_formatter (Aws::Log::Formatter.default)
- # The log formatter.
- #
- # @option options [Symbol] :log_level (:info)
- # The log level to send messages to the `:logger` at.
- #
- # @option options [Logger] :logger
- # The Logger instance to send log messages to. If this option
- # is not set, logging will be disabled.
- #
- # @option options [Integer] :max_attempts (3)
- # An integer representing the maximum number attempts that will be made for
- # a single request, including the initial attempt. For example,
- # setting this value to 5 will result in a request being retried up to
- # 4 times. Used in `standard` and `adaptive` retry modes.
- #
- # @option options [String] :profile ("default")
- # Used when loading credentials from the shared credentials file
- # at HOME/.aws/credentials. When not specified, 'default' is used.
- #
- # @option options [Integer] :request_min_compression_size_bytes (10240)
- # The minimum size in bytes that triggers compression for request
- # bodies. The value must be non-negative integer value between 0
- # and 10485780 bytes inclusive.
- #
- # @option options [Proc] :retry_backoff
- # A proc or lambda used for backoff. Defaults to 2**retries * retry_base_delay.
- # This option is only used in the `legacy` retry mode.
- #
- # @option options [Float] :retry_base_delay (0.3)
- # The base delay in seconds used by the default backoff function. This option
- # is only used in the `legacy` retry mode.
- #
- # @option options [Symbol] :retry_jitter (:none)
- # A delay randomiser function used by the default backoff function.
- # Some predefined functions can be referenced by name - :none, :equal, :full,
- # otherwise a Proc that takes and returns a number. This option is only used
- # in the `legacy` retry mode.
- #
- # @see https://www.awsarchitectureblog.com/2015/03/backoff.html
- #
- # @option options [Integer] :retry_limit (3)
- # The maximum number of times to retry failed requests. Only
- # ~ 500 level server errors and certain ~ 400 level client errors
- # are retried. Generally, these are throttling errors, data
- # checksum errors, networking errors, timeout errors, auth errors,
- # endpoint discovery, and errors from expired credentials.
- # This option is only used in the `legacy` retry mode.
- #
- # @option options [Integer] :retry_max_delay (0)
- # The maximum number of seconds to delay between retries (0 for no limit)
- # used by the default backoff function. This option is only used in the
- # `legacy` retry mode.
- #
- # @option options [String] :retry_mode ("legacy")
- # Specifies which retry algorithm to use. Values are:
- #
- # * `legacy` - The pre-existing retry behavior. This is default value if
- # no retry mode is provided.
- #
- # * `standard` - A standardized set of retry rules across the AWS SDKs.
- # This includes support for retry quotas, which limit the number of
- # unsuccessful retries a client can make.
- #
- # * `adaptive` - An experimental retry mode that includes all the
- # functionality of `standard` mode along with automatic client side
- # throttling. This is a provisional mode that may change behavior
- # in the future.
- #
- # @option options [String] :sdk_ua_app_id
- # A unique and opaque application ID that is appended to the
- # User-Agent header as app/sdk_ua_app_id. It should have a
- # maximum length of 50. This variable is sourced from environment
- # variable AWS_SDK_UA_APP_ID or the shared config profile attribute sdk_ua_app_id.
- #
- # @option options [String] :secret_access_key
- #
- # @option options [String] :session_token
- #
- # @option options [Array] :sigv4a_signing_region_set
- # A list of regions that should be signed with SigV4a signing. When
- # not passed, a default `:sigv4a_signing_region_set` is searched for
- # in the following locations:
- #
- # * `Aws.config[:sigv4a_signing_region_set]`
- # * `ENV['AWS_SIGV4A_SIGNING_REGION_SET']`
- # * `~/.aws/config`
- #
- # @option options [Boolean] :stub_responses (false)
- # Causes the client to return stubbed responses. By default
- # fake responses are generated and returned. You can specify
- # the response data to return or errors to raise by calling
- # {ClientStubs#stub_responses}. See {ClientStubs} for more information.
- #
- # ** Please note ** When response stubbing is enabled, no HTTP
- # requests are made, and retries are disabled.
- #
- # @option options [Aws::Telemetry::TelemetryProviderBase] :telemetry_provider (Aws::Telemetry::NoOpTelemetryProvider)
- # Allows you to provide a telemetry provider, which is used to
- # emit telemetry data. By default, uses `NoOpTelemetryProvider` which
- # will not record or emit any telemetry data. The SDK supports the
- # following telemetry providers:
- #
- # * OpenTelemetry (OTel) - To use the OTel provider, install and require the
- # `opentelemetry-sdk` gem and then, pass in an instance of a
- # `Aws::Telemetry::OTelProvider` for telemetry provider.
- #
- # @option options [Aws::TokenProvider] :token_provider
- # A Bearer Token Provider. This can be an instance of any one of the
- # following classes:
- #
- # * `Aws::StaticTokenProvider` - Used for configuring static, non-refreshing
- # tokens.
- #
- # * `Aws::SSOTokenProvider` - Used for loading tokens from AWS SSO using an
- # access token generated from `aws login`.
- #
- # When `:token_provider` is not configured directly, the `Aws::TokenProviderChain`
- # will be used to search for tokens configured for your profile in shared configuration files.
- #
- # @option options [Boolean] :use_dualstack_endpoint
- # When set to `true`, dualstack enabled endpoints (with `.aws` TLD)
- # will be used if available.
- #
- # @option options [Boolean] :use_fips_endpoint
- # When set to `true`, fips compatible endpoints will be used if available.
- # When a `fips` region is used, the region is normalized and this config
- # is set to `true`.
- #
- # @option options [Boolean] :validate_params (true)
- # When `true`, request parameters are validated before
- # sending the request.
- #
- # @option options [Aws::WorkLink::EndpointProvider] :endpoint_provider
- # The endpoint provider used to resolve endpoints. Any object that responds to `#resolve_endpoint(parameters)` where `parameters` is a Struct similar to `Aws::WorkLink::EndpointParameters`
- #
- # @option options [Float] :http_continue_timeout (1)
- # The number of seconds to wait for a 100-continue response before sending the
- # request body. This option has no effect unless the request has "Expect"
- # header set to "100-continue". Defaults to `nil` which disables this
- # behaviour. This value can safely be set per request on the session.
- #
- # @option options [Float] :http_idle_timeout (5)
- # The number of seconds a connection is allowed to sit idle before it
- # is considered stale. Stale connections are closed and removed from the
- # pool before making a request.
- #
- # @option options [Float] :http_open_timeout (15)
- # The default number of seconds to wait for response data.
- # This value can safely be set per-request on the session.
- #
- # @option options [URI::HTTP,String] :http_proxy
- # A proxy to send requests through. Formatted like 'http://proxy.com:123'.
- #
- # @option options [Float] :http_read_timeout (60)
- # The default number of seconds to wait for response data.
- # This value can safely be set per-request on the session.
- #
- # @option options [Boolean] :http_wire_trace (false)
- # When `true`, HTTP debug output will be sent to the `:logger`.
- #
- # @option options [Proc] :on_chunk_received
- # When a Proc object is provided, it will be used as callback when each chunk
- # of the response body is received. It provides three arguments: the chunk,
- # the number of bytes received, and the total number of
- # bytes in the response (or nil if the server did not send a `content-length`).
- #
- # @option options [Proc] :on_chunk_sent
- # When a Proc object is provided, it will be used as callback when each chunk
- # of the request body is sent. It provides three arguments: the chunk,
- # the number of bytes read from the body, and the total number of
- # bytes in the body.
- #
- # @option options [Boolean] :raise_response_errors (true)
- # When `true`, response errors are raised.
- #
- # @option options [String] :ssl_ca_bundle
- # Full path to the SSL certificate authority bundle file that should be used when
- # verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
- # `:ssl_ca_directory` the the system default will be used if available.
- #
- # @option options [String] :ssl_ca_directory
- # Full path of the directory that contains the unbundled SSL certificate
- # authority files for verifying peer certificates. If you do
- # not pass `:ssl_ca_bundle` or `:ssl_ca_directory` the the system
- # default will be used if available.
- #
- # @option options [String] :ssl_ca_store
- # Sets the X509::Store to verify peer certificate.
- #
- # @option options [OpenSSL::X509::Certificate] :ssl_cert
- # Sets a client certificate when creating http connections.
- #
- # @option options [OpenSSL::PKey] :ssl_key
- # Sets a client key when creating http connections.
- #
- # @option options [Float] :ssl_timeout
- # Sets the SSL timeout in seconds
- #
- # @option options [Boolean] :ssl_verify_peer (true)
- # When `true`, SSL peer certificates are verified when establishing a connection.
- #
- def initialize(*args)
- super
- end
-
- # @!group API Operations
-
- # Specifies a domain to be associated to Amazon WorkLink.
- #
- # @option params [required, String] :fleet_arn
- # The Amazon Resource Name (ARN) of the fleet.
- #
- # @option params [required, String] :domain_name
- # The fully qualified domain name (FQDN).
- #
- # @option params [String] :display_name
- # The name to display.
- #
- # @option params [required, String] :acm_certificate_arn
- # The ARN of an issued ACM certificate that is valid for the domain
- # being associated.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.associate_domain({
- # fleet_arn: "FleetArn", # required
- # domain_name: "DomainName", # required
- # display_name: "DisplayName",
- # acm_certificate_arn: "AcmCertificateArn", # required
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomain AWS API Documentation
- #
- # @overload associate_domain(params = {})
- # @param [Hash] params ({})
- def associate_domain(params = {}, options = {})
- req = build_request(:associate_domain, params)
- req.send_request(options)
- end
-
- # Associates a website authorization provider with a specified fleet.
- # This is used to authorize users against associated websites in the
- # company network.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :authorization_provider_type
- # The authorization provider type.
- #
- # @option params [String] :domain_name
- # The domain name of the authorization provider. This applies only to
- # SAML-based authorization providers.
- #
- # @return [Types::AssociateWebsiteAuthorizationProviderResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::AssociateWebsiteAuthorizationProviderResponse#authorization_provider_id #authorization_provider_id} => String
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.associate_website_authorization_provider({
- # fleet_arn: "FleetArn", # required
- # authorization_provider_type: "SAML", # required, accepts SAML
- # domain_name: "DomainName",
- # })
- #
- # @example Response structure
- #
- # resp.authorization_provider_id #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProvider AWS API Documentation
- #
- # @overload associate_website_authorization_provider(params = {})
- # @param [Hash] params ({})
- def associate_website_authorization_provider(params = {}, options = {})
- req = build_request(:associate_website_authorization_provider, params)
- req.send_request(options)
- end
-
- # Imports the root certificate of a certificate authority (CA) used to
- # obtain TLS certificates used by associated websites within the company
- # network.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :certificate
- # The root certificate of the CA.
- #
- # @option params [String] :display_name
- # The certificate name to display.
- #
- # @return [Types::AssociateWebsiteCertificateAuthorityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::AssociateWebsiteCertificateAuthorityResponse#website_ca_id #website_ca_id} => String
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.associate_website_certificate_authority({
- # fleet_arn: "FleetArn", # required
- # certificate: "Certificate", # required
- # display_name: "DisplayName",
- # })
- #
- # @example Response structure
- #
- # resp.website_ca_id #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteCertificateAuthority AWS API Documentation
- #
- # @overload associate_website_certificate_authority(params = {})
- # @param [Hash] params ({})
- def associate_website_certificate_authority(params = {}, options = {})
- req = build_request(:associate_website_certificate_authority, params)
- req.send_request(options)
- end
-
- # Creates a fleet. A fleet consists of resources and the configuration
- # that delivers associated websites to authorized users who download and
- # set up the Amazon WorkLink app.
- #
- # @option params [required, String] :fleet_name
- # A unique name for the fleet.
- #
- # @option params [String] :display_name
- # The fleet name to display.
- #
- # @option params [Boolean] :optimize_for_end_user_location
- # The option to optimize for better performance by routing traffic
- # through the closest AWS Region to users, which may be outside of your
- # home Region.
- #
- # @option params [Hash] :tags
- # The tags to add to the resource. A tag is a key-value pair.
- #
- # @return [Types::CreateFleetResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::CreateFleetResponse#fleet_arn #fleet_arn} => String
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.create_fleet({
- # fleet_name: "FleetName", # required
- # display_name: "DisplayName",
- # optimize_for_end_user_location: false,
- # tags: {
- # "TagKey" => "TagValue",
- # },
- # })
- #
- # @example Response structure
- #
- # resp.fleet_arn #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleet AWS API Documentation
- #
- # @overload create_fleet(params = {})
- # @param [Hash] params ({})
- def create_fleet(params = {}, options = {})
- req = build_request(:create_fleet, params)
- req.send_request(options)
- end
-
- # Deletes a fleet. Prevents users from accessing previously associated
- # websites.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.delete_fleet({
- # fleet_arn: "FleetArn", # required
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeleteFleet AWS API Documentation
- #
- # @overload delete_fleet(params = {})
- # @param [Hash] params ({})
- def delete_fleet(params = {}, options = {})
- req = build_request(:delete_fleet, params)
- req.send_request(options)
- end
-
- # Describes the configuration for delivering audit streams to the
- # customer account.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @return [Types::DescribeAuditStreamConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::DescribeAuditStreamConfigurationResponse#audit_stream_arn #audit_stream_arn} => String
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.describe_audit_stream_configuration({
- # fleet_arn: "FleetArn", # required
- # })
- #
- # @example Response structure
- #
- # resp.audit_stream_arn #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeAuditStreamConfiguration AWS API Documentation
- #
- # @overload describe_audit_stream_configuration(params = {})
- # @param [Hash] params ({})
- def describe_audit_stream_configuration(params = {}, options = {})
- req = build_request(:describe_audit_stream_configuration, params)
- req.send_request(options)
- end
-
- # Describes the networking configuration to access the internal websites
- # associated with the specified fleet.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @return [Types::DescribeCompanyNetworkConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::DescribeCompanyNetworkConfigurationResponse#vpc_id #vpc_id} => String
- # * {Types::DescribeCompanyNetworkConfigurationResponse#subnet_ids #subnet_ids} => Array<String>
- # * {Types::DescribeCompanyNetworkConfigurationResponse#security_group_ids #security_group_ids} => Array<String>
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.describe_company_network_configuration({
- # fleet_arn: "FleetArn", # required
- # })
- #
- # @example Response structure
- #
- # resp.vpc_id #=> String
- # resp.subnet_ids #=> Array
- # resp.subnet_ids[0] #=> String
- # resp.security_group_ids #=> Array
- # resp.security_group_ids[0] #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeCompanyNetworkConfiguration AWS API Documentation
- #
- # @overload describe_company_network_configuration(params = {})
- # @param [Hash] params ({})
- def describe_company_network_configuration(params = {}, options = {})
- req = build_request(:describe_company_network_configuration, params)
- req.send_request(options)
- end
-
- # Provides information about a user's device.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :device_id
- # A unique identifier for a registered user's device.
- #
- # @return [Types::DescribeDeviceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::DescribeDeviceResponse#status #status} => String
- # * {Types::DescribeDeviceResponse#model #model} => String
- # * {Types::DescribeDeviceResponse#manufacturer #manufacturer} => String
- # * {Types::DescribeDeviceResponse#operating_system #operating_system} => String
- # * {Types::DescribeDeviceResponse#operating_system_version #operating_system_version} => String
- # * {Types::DescribeDeviceResponse#patch_level #patch_level} => String
- # * {Types::DescribeDeviceResponse#first_accessed_time #first_accessed_time} => Time
- # * {Types::DescribeDeviceResponse#last_accessed_time #last_accessed_time} => Time
- # * {Types::DescribeDeviceResponse#username #username} => String
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.describe_device({
- # fleet_arn: "FleetArn", # required
- # device_id: "Id", # required
- # })
- #
- # @example Response structure
- #
- # resp.status #=> String, one of "ACTIVE", "SIGNED_OUT"
- # resp.model #=> String
- # resp.manufacturer #=> String
- # resp.operating_system #=> String
- # resp.operating_system_version #=> String
- # resp.patch_level #=> String
- # resp.first_accessed_time #=> Time
- # resp.last_accessed_time #=> Time
- # resp.username #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevice AWS API Documentation
- #
- # @overload describe_device(params = {})
- # @param [Hash] params ({})
- def describe_device(params = {}, options = {})
- req = build_request(:describe_device, params)
- req.send_request(options)
- end
-
- # Describes the device policy configuration for the specified fleet.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @return [Types::DescribeDevicePolicyConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::DescribeDevicePolicyConfigurationResponse#device_ca_certificate #device_ca_certificate} => String
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.describe_device_policy_configuration({
- # fleet_arn: "FleetArn", # required
- # })
- #
- # @example Response structure
- #
- # resp.device_ca_certificate #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevicePolicyConfiguration AWS API Documentation
- #
- # @overload describe_device_policy_configuration(params = {})
- # @param [Hash] params ({})
- def describe_device_policy_configuration(params = {}, options = {})
- req = build_request(:describe_device_policy_configuration, params)
- req.send_request(options)
- end
-
- # Provides information about the domain.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :domain_name
- # The name of the domain.
- #
- # @return [Types::DescribeDomainResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::DescribeDomainResponse#domain_name #domain_name} => String
- # * {Types::DescribeDomainResponse#display_name #display_name} => String
- # * {Types::DescribeDomainResponse#created_time #created_time} => Time
- # * {Types::DescribeDomainResponse#domain_status #domain_status} => String
- # * {Types::DescribeDomainResponse#acm_certificate_arn #acm_certificate_arn} => String
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.describe_domain({
- # fleet_arn: "FleetArn", # required
- # domain_name: "DomainName", # required
- # })
- #
- # @example Response structure
- #
- # resp.domain_name #=> String
- # resp.display_name #=> String
- # resp.created_time #=> Time
- # resp.domain_status #=> String, one of "PENDING_VALIDATION", "ASSOCIATING", "ACTIVE", "INACTIVE", "DISASSOCIATING", "DISASSOCIATED", "FAILED_TO_ASSOCIATE", "FAILED_TO_DISASSOCIATE"
- # resp.acm_certificate_arn #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomain AWS API Documentation
- #
- # @overload describe_domain(params = {})
- # @param [Hash] params ({})
- def describe_domain(params = {}, options = {})
- req = build_request(:describe_domain, params)
- req.send_request(options)
- end
-
- # Provides basic information for the specified fleet, excluding identity
- # provider, networking, and device configuration details.
- #
- # @option params [required, String] :fleet_arn
- # The Amazon Resource Name (ARN) of the fleet.
- #
- # @return [Types::DescribeFleetMetadataResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::DescribeFleetMetadataResponse#created_time #created_time} => Time
- # * {Types::DescribeFleetMetadataResponse#last_updated_time #last_updated_time} => Time
- # * {Types::DescribeFleetMetadataResponse#fleet_name #fleet_name} => String
- # * {Types::DescribeFleetMetadataResponse#display_name #display_name} => String
- # * {Types::DescribeFleetMetadataResponse#optimize_for_end_user_location #optimize_for_end_user_location} => Boolean
- # * {Types::DescribeFleetMetadataResponse#company_code #company_code} => String
- # * {Types::DescribeFleetMetadataResponse#fleet_status #fleet_status} => String
- # * {Types::DescribeFleetMetadataResponse#tags #tags} => Hash<String,String>
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.describe_fleet_metadata({
- # fleet_arn: "FleetArn", # required
- # })
- #
- # @example Response structure
- #
- # resp.created_time #=> Time
- # resp.last_updated_time #=> Time
- # resp.fleet_name #=> String
- # resp.display_name #=> String
- # resp.optimize_for_end_user_location #=> Boolean
- # resp.company_code #=> String
- # resp.fleet_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED_TO_CREATE", "FAILED_TO_DELETE"
- # resp.tags #=> Hash
- # resp.tags["TagKey"] #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadata AWS API Documentation
- #
- # @overload describe_fleet_metadata(params = {})
- # @param [Hash] params ({})
- def describe_fleet_metadata(params = {}, options = {})
- req = build_request(:describe_fleet_metadata, params)
- req.send_request(options)
- end
-
- # Describes the identity provider configuration of the specified fleet.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @return [Types::DescribeIdentityProviderConfigurationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::DescribeIdentityProviderConfigurationResponse#identity_provider_type #identity_provider_type} => String
- # * {Types::DescribeIdentityProviderConfigurationResponse#service_provider_saml_metadata #service_provider_saml_metadata} => String
- # * {Types::DescribeIdentityProviderConfigurationResponse#identity_provider_saml_metadata #identity_provider_saml_metadata} => String
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.describe_identity_provider_configuration({
- # fleet_arn: "FleetArn", # required
- # })
- #
- # @example Response structure
- #
- # resp.identity_provider_type #=> String, one of "SAML"
- # resp.service_provider_saml_metadata #=> String
- # resp.identity_provider_saml_metadata #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeIdentityProviderConfiguration AWS API Documentation
- #
- # @overload describe_identity_provider_configuration(params = {})
- # @param [Hash] params ({})
- def describe_identity_provider_configuration(params = {}, options = {})
- req = build_request(:describe_identity_provider_configuration, params)
- req.send_request(options)
- end
-
- # Provides information about the certificate authority.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :website_ca_id
- # A unique identifier for the certificate authority.
- #
- # @return [Types::DescribeWebsiteCertificateAuthorityResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::DescribeWebsiteCertificateAuthorityResponse#certificate #certificate} => String
- # * {Types::DescribeWebsiteCertificateAuthorityResponse#created_time #created_time} => Time
- # * {Types::DescribeWebsiteCertificateAuthorityResponse#display_name #display_name} => String
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.describe_website_certificate_authority({
- # fleet_arn: "FleetArn", # required
- # website_ca_id: "Id", # required
- # })
- #
- # @example Response structure
- #
- # resp.certificate #=> String
- # resp.created_time #=> Time
- # resp.display_name #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeWebsiteCertificateAuthority AWS API Documentation
- #
- # @overload describe_website_certificate_authority(params = {})
- # @param [Hash] params ({})
- def describe_website_certificate_authority(params = {}, options = {})
- req = build_request(:describe_website_certificate_authority, params)
- req.send_request(options)
- end
-
- # Disassociates a domain from Amazon WorkLink. End users lose the
- # ability to access the domain with Amazon WorkLink.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :domain_name
- # The name of the domain.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.disassociate_domain({
- # fleet_arn: "FleetArn", # required
- # domain_name: "DomainName", # required
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateDomain AWS API Documentation
- #
- # @overload disassociate_domain(params = {})
- # @param [Hash] params ({})
- def disassociate_domain(params = {}, options = {})
- req = build_request(:disassociate_domain, params)
- req.send_request(options)
- end
-
- # Disassociates a website authorization provider from a specified fleet.
- # After the disassociation, users can't load any associated websites
- # that require this authorization provider.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :authorization_provider_id
- # A unique identifier for the authorization provider.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.disassociate_website_authorization_provider({
- # fleet_arn: "FleetArn", # required
- # authorization_provider_id: "Id", # required
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProvider AWS API Documentation
- #
- # @overload disassociate_website_authorization_provider(params = {})
- # @param [Hash] params ({})
- def disassociate_website_authorization_provider(params = {}, options = {})
- req = build_request(:disassociate_website_authorization_provider, params)
- req.send_request(options)
- end
-
- # Removes a certificate authority (CA).
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :website_ca_id
- # A unique identifier for the CA.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.disassociate_website_certificate_authority({
- # fleet_arn: "FleetArn", # required
- # website_ca_id: "Id", # required
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteCertificateAuthority AWS API Documentation
- #
- # @overload disassociate_website_certificate_authority(params = {})
- # @param [Hash] params ({})
- def disassociate_website_certificate_authority(params = {}, options = {})
- req = build_request(:disassociate_website_certificate_authority, params)
- req.send_request(options)
- end
-
- # Retrieves a list of devices registered with the specified fleet.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [String] :next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If this value is null, it retrieves the first page.
- #
- # @option params [Integer] :max_results
- # The maximum number of results to be included in the next page.
- #
- # @return [Types::ListDevicesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::ListDevicesResponse#devices #devices} => Array<Types::DeviceSummary>
- # * {Types::ListDevicesResponse#next_token #next_token} => String
- #
- # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.list_devices({
- # fleet_arn: "FleetArn", # required
- # next_token: "NextToken",
- # max_results: 1,
- # })
- #
- # @example Response structure
- #
- # resp.devices #=> Array
- # resp.devices[0].device_id #=> String
- # resp.devices[0].device_status #=> String, one of "ACTIVE", "SIGNED_OUT"
- # resp.next_token #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDevices AWS API Documentation
- #
- # @overload list_devices(params = {})
- # @param [Hash] params ({})
- def list_devices(params = {}, options = {})
- req = build_request(:list_devices, params)
- req.send_request(options)
- end
-
- # Retrieves a list of domains associated to a specified fleet.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [String] :next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If this value is null, it retrieves the first page.
- #
- # @option params [Integer] :max_results
- # The maximum number of results to be included in the next page.
- #
- # @return [Types::ListDomainsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::ListDomainsResponse#domains #domains} => Array<Types::DomainSummary>
- # * {Types::ListDomainsResponse#next_token #next_token} => String
- #
- # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.list_domains({
- # fleet_arn: "FleetArn", # required
- # next_token: "NextToken",
- # max_results: 1,
- # })
- #
- # @example Response structure
- #
- # resp.domains #=> Array
- # resp.domains[0].domain_name #=> String
- # resp.domains[0].display_name #=> String
- # resp.domains[0].created_time #=> Time
- # resp.domains[0].domain_status #=> String, one of "PENDING_VALIDATION", "ASSOCIATING", "ACTIVE", "INACTIVE", "DISASSOCIATING", "DISASSOCIATED", "FAILED_TO_ASSOCIATE", "FAILED_TO_DISASSOCIATE"
- # resp.next_token #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDomains AWS API Documentation
- #
- # @overload list_domains(params = {})
- # @param [Hash] params ({})
- def list_domains(params = {}, options = {})
- req = build_request(:list_domains, params)
- req.send_request(options)
- end
-
- # Retrieves a list of fleets for the current account and Region.
- #
- # @option params [String] :next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If this value is null, it retrieves the first page.
- #
- # @option params [Integer] :max_results
- # The maximum number of results to be included in the next page.
- #
- # @return [Types::ListFleetsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::ListFleetsResponse#fleet_summary_list #fleet_summary_list} => Array<Types::FleetSummary>
- # * {Types::ListFleetsResponse#next_token #next_token} => String
- #
- # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.list_fleets({
- # next_token: "NextToken",
- # max_results: 1,
- # })
- #
- # @example Response structure
- #
- # resp.fleet_summary_list #=> Array
- # resp.fleet_summary_list[0].fleet_arn #=> String
- # resp.fleet_summary_list[0].created_time #=> Time
- # resp.fleet_summary_list[0].last_updated_time #=> Time
- # resp.fleet_summary_list[0].fleet_name #=> String
- # resp.fleet_summary_list[0].display_name #=> String
- # resp.fleet_summary_list[0].company_code #=> String
- # resp.fleet_summary_list[0].fleet_status #=> String, one of "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED_TO_CREATE", "FAILED_TO_DELETE"
- # resp.fleet_summary_list[0].tags #=> Hash
- # resp.fleet_summary_list[0].tags["TagKey"] #=> String
- # resp.next_token #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleets AWS API Documentation
- #
- # @overload list_fleets(params = {})
- # @param [Hash] params ({})
- def list_fleets(params = {}, options = {})
- req = build_request(:list_fleets, params)
- req.send_request(options)
- end
-
- # Retrieves a list of tags for the specified resource.
- #
- # @option params [required, String] :resource_arn
- # The Amazon Resource Name (ARN) of the fleet.
- #
- # @return [Types::ListTagsForResourceResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::ListTagsForResourceResponse#tags #tags} => Hash<String,String>
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.list_tags_for_resource({
- # resource_arn: "FleetArn", # required
- # })
- #
- # @example Response structure
- #
- # resp.tags #=> Hash
- # resp.tags["TagKey"] #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResource AWS API Documentation
- #
- # @overload list_tags_for_resource(params = {})
- # @param [Hash] params ({})
- def list_tags_for_resource(params = {}, options = {})
- req = build_request(:list_tags_for_resource, params)
- req.send_request(options)
- end
-
- # Retrieves a list of website authorization providers associated with a
- # specified fleet.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [String] :next_token
- # The pagination token to use to retrieve the next page of results for
- # this operation. If this value is null, it retrieves the first page.
- #
- # @option params [Integer] :max_results
- # The maximum number of results to be included in the next page.
- #
- # @return [Types::ListWebsiteAuthorizationProvidersResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::ListWebsiteAuthorizationProvidersResponse#website_authorization_providers #website_authorization_providers} => Array<Types::WebsiteAuthorizationProviderSummary>
- # * {Types::ListWebsiteAuthorizationProvidersResponse#next_token #next_token} => String
- #
- # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.list_website_authorization_providers({
- # fleet_arn: "FleetArn", # required
- # next_token: "NextToken",
- # max_results: 1,
- # })
- #
- # @example Response structure
- #
- # resp.website_authorization_providers #=> Array
- # resp.website_authorization_providers[0].authorization_provider_id #=> String
- # resp.website_authorization_providers[0].authorization_provider_type #=> String, one of "SAML"
- # resp.website_authorization_providers[0].domain_name #=> String
- # resp.website_authorization_providers[0].created_time #=> Time
- # resp.next_token #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProviders AWS API Documentation
- #
- # @overload list_website_authorization_providers(params = {})
- # @param [Hash] params ({})
- def list_website_authorization_providers(params = {}, options = {})
- req = build_request(:list_website_authorization_providers, params)
- req.send_request(options)
- end
-
- # Retrieves a list of certificate authorities added for the current
- # account and Region.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [Integer] :max_results
- # The maximum number of results to be included in the next page.
- #
- # @option params [String] :next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If this value is null, it retrieves the first page.
- #
- # @return [Types::ListWebsiteCertificateAuthoritiesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
- #
- # * {Types::ListWebsiteCertificateAuthoritiesResponse#website_certificate_authorities #website_certificate_authorities} => Array<Types::WebsiteCaSummary>
- # * {Types::ListWebsiteCertificateAuthoritiesResponse#next_token #next_token} => String
- #
- # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.list_website_certificate_authorities({
- # fleet_arn: "FleetArn", # required
- # max_results: 1,
- # next_token: "NextToken",
- # })
- #
- # @example Response structure
- #
- # resp.website_certificate_authorities #=> Array
- # resp.website_certificate_authorities[0].website_ca_id #=> String
- # resp.website_certificate_authorities[0].created_time #=> Time
- # resp.website_certificate_authorities[0].display_name #=> String
- # resp.next_token #=> String
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteCertificateAuthorities AWS API Documentation
- #
- # @overload list_website_certificate_authorities(params = {})
- # @param [Hash] params ({})
- def list_website_certificate_authorities(params = {}, options = {})
- req = build_request(:list_website_certificate_authorities, params)
- req.send_request(options)
- end
-
- # Moves a domain to ACTIVE status if it was in the INACTIVE status.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :domain_name
- # The name of the domain.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.restore_domain_access({
- # fleet_arn: "FleetArn", # required
- # domain_name: "DomainName", # required
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RestoreDomainAccess AWS API Documentation
- #
- # @overload restore_domain_access(params = {})
- # @param [Hash] params ({})
- def restore_domain_access(params = {}, options = {})
- req = build_request(:restore_domain_access, params)
- req.send_request(options)
- end
-
- # Moves a domain to INACTIVE status if it was in the ACTIVE status.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :domain_name
- # The name of the domain.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.revoke_domain_access({
- # fleet_arn: "FleetArn", # required
- # domain_name: "DomainName", # required
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RevokeDomainAccess AWS API Documentation
- #
- # @overload revoke_domain_access(params = {})
- # @param [Hash] params ({})
- def revoke_domain_access(params = {}, options = {})
- req = build_request(:revoke_domain_access, params)
- req.send_request(options)
- end
-
- # Signs the user out from all of their devices. The user can sign in
- # again if they have valid credentials.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :username
- # The name of the user.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.sign_out_user({
- # fleet_arn: "FleetArn", # required
- # username: "Username", # required
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/SignOutUser AWS API Documentation
- #
- # @overload sign_out_user(params = {})
- # @param [Hash] params ({})
- def sign_out_user(params = {}, options = {})
- req = build_request(:sign_out_user, params)
- req.send_request(options)
- end
-
- # Adds or overwrites one or more tags for the specified resource, such
- # as a fleet. Each tag consists of a key and an optional value. If a
- # resource already has a tag with the same key, this operation updates
- # its value.
- #
- # @option params [required, String] :resource_arn
- # The Amazon Resource Name (ARN) of the fleet.
- #
- # @option params [required, Hash] :tags
- # The tags to add to the resource. A tag is a key-value pair.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.tag_resource({
- # resource_arn: "FleetArn", # required
- # tags: { # required
- # "TagKey" => "TagValue",
- # },
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResource AWS API Documentation
- #
- # @overload tag_resource(params = {})
- # @param [Hash] params ({})
- def tag_resource(params = {}, options = {})
- req = build_request(:tag_resource, params)
- req.send_request(options)
- end
-
- # Removes one or more tags from the specified resource.
- #
- # @option params [required, String] :resource_arn
- # The Amazon Resource Name (ARN) of the fleet.
- #
- # @option params [required, Array] :tag_keys
- # The list of tag keys to remove from the resource.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.untag_resource({
- # resource_arn: "FleetArn", # required
- # tag_keys: ["TagKey"], # required
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResource AWS API Documentation
- #
- # @overload untag_resource(params = {})
- # @param [Hash] params ({})
- def untag_resource(params = {}, options = {})
- req = build_request(:untag_resource, params)
- req.send_request(options)
- end
-
- # Updates the audit stream configuration for the fleet.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [String] :audit_stream_arn
- # The ARN of the Amazon Kinesis data stream that receives the audit
- # events.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.update_audit_stream_configuration({
- # fleet_arn: "FleetArn", # required
- # audit_stream_arn: "AuditStreamArn",
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateAuditStreamConfiguration AWS API Documentation
- #
- # @overload update_audit_stream_configuration(params = {})
- # @param [Hash] params ({})
- def update_audit_stream_configuration(params = {}, options = {})
- req = build_request(:update_audit_stream_configuration, params)
- req.send_request(options)
- end
-
- # Updates the company network configuration for the fleet.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :vpc_id
- # The VPC with connectivity to associated websites.
- #
- # @option params [required, Array] :subnet_ids
- # The subnets used for X-ENI connections from Amazon WorkLink rendering
- # containers.
- #
- # @option params [required, Array] :security_group_ids
- # The security groups associated with access to the provided subnets.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.update_company_network_configuration({
- # fleet_arn: "FleetArn", # required
- # vpc_id: "VpcId", # required
- # subnet_ids: ["SubnetId"], # required
- # security_group_ids: ["SecurityGroupId"], # required
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateCompanyNetworkConfiguration AWS API Documentation
- #
- # @overload update_company_network_configuration(params = {})
- # @param [Hash] params ({})
- def update_company_network_configuration(params = {}, options = {})
- req = build_request(:update_company_network_configuration, params)
- req.send_request(options)
- end
-
- # Updates the device policy configuration for the fleet.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [String] :device_ca_certificate
- # The certificate chain, including intermediate certificates and the
- # root certificate authority certificate used to issue device
- # certificates.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.update_device_policy_configuration({
- # fleet_arn: "FleetArn", # required
- # device_ca_certificate: "CertificateChain",
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDevicePolicyConfiguration AWS API Documentation
- #
- # @overload update_device_policy_configuration(params = {})
- # @param [Hash] params ({})
- def update_device_policy_configuration(params = {}, options = {})
- req = build_request(:update_device_policy_configuration, params)
- req.send_request(options)
- end
-
- # Updates domain metadata, such as DisplayName.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :domain_name
- # The name of the domain.
- #
- # @option params [String] :display_name
- # The name to display.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.update_domain_metadata({
- # fleet_arn: "FleetArn", # required
- # domain_name: "DomainName", # required
- # display_name: "DisplayName",
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDomainMetadata AWS API Documentation
- #
- # @overload update_domain_metadata(params = {})
- # @param [Hash] params ({})
- def update_domain_metadata(params = {}, options = {})
- req = build_request(:update_domain_metadata, params)
- req.send_request(options)
- end
-
- # Updates fleet metadata, such as DisplayName.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [String] :display_name
- # The fleet name to display. The existing DisplayName is unset if null
- # is passed.
- #
- # @option params [Boolean] :optimize_for_end_user_location
- # The option to optimize for better performance by routing traffic
- # through the closest AWS Region to users, which may be outside of your
- # home Region.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.update_fleet_metadata({
- # fleet_arn: "FleetArn", # required
- # display_name: "DisplayName",
- # optimize_for_end_user_location: false,
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateFleetMetadata AWS API Documentation
- #
- # @overload update_fleet_metadata(params = {})
- # @param [Hash] params ({})
- def update_fleet_metadata(params = {}, options = {})
- req = build_request(:update_fleet_metadata, params)
- req.send_request(options)
- end
-
- # Updates the identity provider configuration for the fleet.
- #
- # @option params [required, String] :fleet_arn
- # The ARN of the fleet.
- #
- # @option params [required, String] :identity_provider_type
- # The type of identity provider.
- #
- # @option params [String] :identity_provider_saml_metadata
- # The SAML metadata document provided by the customer’s identity
- # provider. The existing IdentityProviderSamlMetadata is unset if null
- # is passed.
- #
- # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
- #
- # @example Request syntax with placeholder values
- #
- # resp = client.update_identity_provider_configuration({
- # fleet_arn: "FleetArn", # required
- # identity_provider_type: "SAML", # required, accepts SAML
- # identity_provider_saml_metadata: "SamlMetadata",
- # })
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateIdentityProviderConfiguration AWS API Documentation
- #
- # @overload update_identity_provider_configuration(params = {})
- # @param [Hash] params ({})
- def update_identity_provider_configuration(params = {}, options = {})
- req = build_request(:update_identity_provider_configuration, params)
- req.send_request(options)
- end
-
- # @!endgroup
-
- # @param params ({})
- # @api private
- def build_request(operation_name, params = {})
- handlers = @handlers.for(operation_name)
- tracer = config.telemetry_provider.tracer_provider.tracer(
- Aws::Telemetry.module_to_tracer_name('Aws::WorkLink')
- )
- context = Seahorse::Client::RequestContext.new(
- operation_name: operation_name,
- operation: config.api.operation(operation_name),
- client: self,
- params: params,
- config: config,
- tracer: tracer
- )
- context[:gem_name] = 'aws-sdk-worklink'
- context[:gem_version] = '1.54.0'
- Seahorse::Client::Request.new(handlers, context)
- end
-
- # @api private
- # @deprecated
- def waiter_names
- []
- end
-
- class << self
-
- # @api private
- attr_reader :identifier
-
- # @api private
- def errors_module
- Errors
- end
-
- end
- end
-end
diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client_api.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client_api.rb
deleted file mode 100644
index a83362276ee..00000000000
--- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/client_api.rb
+++ /dev/null
@@ -1,962 +0,0 @@
-# frozen_string_literal: true
-
-# WARNING ABOUT GENERATED CODE
-#
-# This file is generated. See the contributing guide for more information:
-# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
-#
-# WARNING ABOUT GENERATED CODE
-
-module Aws::WorkLink
- # @api private
- module ClientApi
-
- include Seahorse::Model
-
- AcmCertificateArn = Shapes::StringShape.new(name: 'AcmCertificateArn')
- AssociateDomainRequest = Shapes::StructureShape.new(name: 'AssociateDomainRequest')
- AssociateDomainResponse = Shapes::StructureShape.new(name: 'AssociateDomainResponse')
- AssociateWebsiteAuthorizationProviderRequest = Shapes::StructureShape.new(name: 'AssociateWebsiteAuthorizationProviderRequest')
- AssociateWebsiteAuthorizationProviderResponse = Shapes::StructureShape.new(name: 'AssociateWebsiteAuthorizationProviderResponse')
- AssociateWebsiteCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'AssociateWebsiteCertificateAuthorityRequest')
- AssociateWebsiteCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'AssociateWebsiteCertificateAuthorityResponse')
- AuditStreamArn = Shapes::StringShape.new(name: 'AuditStreamArn')
- AuthorizationProviderType = Shapes::StringShape.new(name: 'AuthorizationProviderType')
- Boolean = Shapes::BooleanShape.new(name: 'Boolean')
- Certificate = Shapes::StringShape.new(name: 'Certificate')
- CertificateChain = Shapes::StringShape.new(name: 'CertificateChain')
- CompanyCode = Shapes::StringShape.new(name: 'CompanyCode')
- CreateFleetRequest = Shapes::StructureShape.new(name: 'CreateFleetRequest')
- CreateFleetResponse = Shapes::StructureShape.new(name: 'CreateFleetResponse')
- DateTime = Shapes::TimestampShape.new(name: 'DateTime')
- DeleteFleetRequest = Shapes::StructureShape.new(name: 'DeleteFleetRequest')
- DeleteFleetResponse = Shapes::StructureShape.new(name: 'DeleteFleetResponse')
- DescribeAuditStreamConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeAuditStreamConfigurationRequest')
- DescribeAuditStreamConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeAuditStreamConfigurationResponse')
- DescribeCompanyNetworkConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeCompanyNetworkConfigurationRequest')
- DescribeCompanyNetworkConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeCompanyNetworkConfigurationResponse')
- DescribeDevicePolicyConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeDevicePolicyConfigurationRequest')
- DescribeDevicePolicyConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeDevicePolicyConfigurationResponse')
- DescribeDeviceRequest = Shapes::StructureShape.new(name: 'DescribeDeviceRequest')
- DescribeDeviceResponse = Shapes::StructureShape.new(name: 'DescribeDeviceResponse')
- DescribeDomainRequest = Shapes::StructureShape.new(name: 'DescribeDomainRequest')
- DescribeDomainResponse = Shapes::StructureShape.new(name: 'DescribeDomainResponse')
- DescribeFleetMetadataRequest = Shapes::StructureShape.new(name: 'DescribeFleetMetadataRequest')
- DescribeFleetMetadataResponse = Shapes::StructureShape.new(name: 'DescribeFleetMetadataResponse')
- DescribeIdentityProviderConfigurationRequest = Shapes::StructureShape.new(name: 'DescribeIdentityProviderConfigurationRequest')
- DescribeIdentityProviderConfigurationResponse = Shapes::StructureShape.new(name: 'DescribeIdentityProviderConfigurationResponse')
- DescribeWebsiteCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'DescribeWebsiteCertificateAuthorityRequest')
- DescribeWebsiteCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'DescribeWebsiteCertificateAuthorityResponse')
- DeviceManufacturer = Shapes::StringShape.new(name: 'DeviceManufacturer')
- DeviceModel = Shapes::StringShape.new(name: 'DeviceModel')
- DeviceOperatingSystemName = Shapes::StringShape.new(name: 'DeviceOperatingSystemName')
- DeviceOperatingSystemVersion = Shapes::StringShape.new(name: 'DeviceOperatingSystemVersion')
- DevicePatchLevel = Shapes::StringShape.new(name: 'DevicePatchLevel')
- DeviceStatus = Shapes::StringShape.new(name: 'DeviceStatus')
- DeviceSummary = Shapes::StructureShape.new(name: 'DeviceSummary')
- DeviceSummaryList = Shapes::ListShape.new(name: 'DeviceSummaryList')
- DisassociateDomainRequest = Shapes::StructureShape.new(name: 'DisassociateDomainRequest')
- DisassociateDomainResponse = Shapes::StructureShape.new(name: 'DisassociateDomainResponse')
- DisassociateWebsiteAuthorizationProviderRequest = Shapes::StructureShape.new(name: 'DisassociateWebsiteAuthorizationProviderRequest')
- DisassociateWebsiteAuthorizationProviderResponse = Shapes::StructureShape.new(name: 'DisassociateWebsiteAuthorizationProviderResponse')
- DisassociateWebsiteCertificateAuthorityRequest = Shapes::StructureShape.new(name: 'DisassociateWebsiteCertificateAuthorityRequest')
- DisassociateWebsiteCertificateAuthorityResponse = Shapes::StructureShape.new(name: 'DisassociateWebsiteCertificateAuthorityResponse')
- DisplayName = Shapes::StringShape.new(name: 'DisplayName')
- DomainName = Shapes::StringShape.new(name: 'DomainName')
- DomainStatus = Shapes::StringShape.new(name: 'DomainStatus')
- DomainSummary = Shapes::StructureShape.new(name: 'DomainSummary')
- DomainSummaryList = Shapes::ListShape.new(name: 'DomainSummaryList')
- ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
- FleetArn = Shapes::StringShape.new(name: 'FleetArn')
- FleetName = Shapes::StringShape.new(name: 'FleetName')
- FleetStatus = Shapes::StringShape.new(name: 'FleetStatus')
- FleetSummary = Shapes::StructureShape.new(name: 'FleetSummary')
- FleetSummaryList = Shapes::ListShape.new(name: 'FleetSummaryList')
- Id = Shapes::StringShape.new(name: 'Id')
- IdentityProviderType = Shapes::StringShape.new(name: 'IdentityProviderType')
- InternalServerErrorException = Shapes::StructureShape.new(name: 'InternalServerErrorException')
- InvalidRequestException = Shapes::StructureShape.new(name: 'InvalidRequestException')
- ListDevicesRequest = Shapes::StructureShape.new(name: 'ListDevicesRequest')
- ListDevicesResponse = Shapes::StructureShape.new(name: 'ListDevicesResponse')
- ListDomainsRequest = Shapes::StructureShape.new(name: 'ListDomainsRequest')
- ListDomainsResponse = Shapes::StructureShape.new(name: 'ListDomainsResponse')
- ListFleetsRequest = Shapes::StructureShape.new(name: 'ListFleetsRequest')
- ListFleetsResponse = Shapes::StructureShape.new(name: 'ListFleetsResponse')
- ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
- ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
- ListWebsiteAuthorizationProvidersRequest = Shapes::StructureShape.new(name: 'ListWebsiteAuthorizationProvidersRequest')
- ListWebsiteAuthorizationProvidersResponse = Shapes::StructureShape.new(name: 'ListWebsiteAuthorizationProvidersResponse')
- ListWebsiteCertificateAuthoritiesRequest = Shapes::StructureShape.new(name: 'ListWebsiteCertificateAuthoritiesRequest')
- ListWebsiteCertificateAuthoritiesResponse = Shapes::StructureShape.new(name: 'ListWebsiteCertificateAuthoritiesResponse')
- MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
- NextToken = Shapes::StringShape.new(name: 'NextToken')
- ResourceAlreadyExistsException = Shapes::StructureShape.new(name: 'ResourceAlreadyExistsException')
- ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
- RestoreDomainAccessRequest = Shapes::StructureShape.new(name: 'RestoreDomainAccessRequest')
- RestoreDomainAccessResponse = Shapes::StructureShape.new(name: 'RestoreDomainAccessResponse')
- RevokeDomainAccessRequest = Shapes::StructureShape.new(name: 'RevokeDomainAccessRequest')
- RevokeDomainAccessResponse = Shapes::StructureShape.new(name: 'RevokeDomainAccessResponse')
- SamlMetadata = Shapes::StringShape.new(name: 'SamlMetadata')
- SecurityGroupId = Shapes::StringShape.new(name: 'SecurityGroupId')
- SecurityGroupIds = Shapes::ListShape.new(name: 'SecurityGroupIds')
- SignOutUserRequest = Shapes::StructureShape.new(name: 'SignOutUserRequest')
- SignOutUserResponse = Shapes::StructureShape.new(name: 'SignOutUserResponse')
- SubnetId = Shapes::StringShape.new(name: 'SubnetId')
- SubnetIds = Shapes::ListShape.new(name: 'SubnetIds')
- TagKey = Shapes::StringShape.new(name: 'TagKey')
- TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
- TagMap = Shapes::MapShape.new(name: 'TagMap')
- TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
- TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
- TagValue = Shapes::StringShape.new(name: 'TagValue')
- TooManyRequestsException = Shapes::StructureShape.new(name: 'TooManyRequestsException')
- UnauthorizedException = Shapes::StructureShape.new(name: 'UnauthorizedException')
- UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
- UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
- UpdateAuditStreamConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateAuditStreamConfigurationRequest')
- UpdateAuditStreamConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateAuditStreamConfigurationResponse')
- UpdateCompanyNetworkConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateCompanyNetworkConfigurationRequest')
- UpdateCompanyNetworkConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateCompanyNetworkConfigurationResponse')
- UpdateDevicePolicyConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateDevicePolicyConfigurationRequest')
- UpdateDevicePolicyConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateDevicePolicyConfigurationResponse')
- UpdateDomainMetadataRequest = Shapes::StructureShape.new(name: 'UpdateDomainMetadataRequest')
- UpdateDomainMetadataResponse = Shapes::StructureShape.new(name: 'UpdateDomainMetadataResponse')
- UpdateFleetMetadataRequest = Shapes::StructureShape.new(name: 'UpdateFleetMetadataRequest')
- UpdateFleetMetadataResponse = Shapes::StructureShape.new(name: 'UpdateFleetMetadataResponse')
- UpdateIdentityProviderConfigurationRequest = Shapes::StructureShape.new(name: 'UpdateIdentityProviderConfigurationRequest')
- UpdateIdentityProviderConfigurationResponse = Shapes::StructureShape.new(name: 'UpdateIdentityProviderConfigurationResponse')
- Username = Shapes::StringShape.new(name: 'Username')
- VpcId = Shapes::StringShape.new(name: 'VpcId')
- WebsiteAuthorizationProviderSummary = Shapes::StructureShape.new(name: 'WebsiteAuthorizationProviderSummary')
- WebsiteAuthorizationProvidersSummaryList = Shapes::ListShape.new(name: 'WebsiteAuthorizationProvidersSummaryList')
- WebsiteCaSummary = Shapes::StructureShape.new(name: 'WebsiteCaSummary')
- WebsiteCaSummaryList = Shapes::ListShape.new(name: 'WebsiteCaSummaryList')
-
- AssociateDomainRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- AssociateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
- AssociateDomainRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
- AssociateDomainRequest.add_member(:acm_certificate_arn, Shapes::ShapeRef.new(shape: AcmCertificateArn, required: true, location_name: "AcmCertificateArn"))
- AssociateDomainRequest.struct_class = Types::AssociateDomainRequest
-
- AssociateDomainResponse.struct_class = Types::AssociateDomainResponse
-
- AssociateWebsiteAuthorizationProviderRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- AssociateWebsiteAuthorizationProviderRequest.add_member(:authorization_provider_type, Shapes::ShapeRef.new(shape: AuthorizationProviderType, required: true, location_name: "AuthorizationProviderType"))
- AssociateWebsiteAuthorizationProviderRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
- AssociateWebsiteAuthorizationProviderRequest.struct_class = Types::AssociateWebsiteAuthorizationProviderRequest
-
- AssociateWebsiteAuthorizationProviderResponse.add_member(:authorization_provider_id, Shapes::ShapeRef.new(shape: Id, location_name: "AuthorizationProviderId"))
- AssociateWebsiteAuthorizationProviderResponse.struct_class = Types::AssociateWebsiteAuthorizationProviderResponse
-
- AssociateWebsiteCertificateAuthorityRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- AssociateWebsiteCertificateAuthorityRequest.add_member(:certificate, Shapes::ShapeRef.new(shape: Certificate, required: true, location_name: "Certificate"))
- AssociateWebsiteCertificateAuthorityRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
- AssociateWebsiteCertificateAuthorityRequest.struct_class = Types::AssociateWebsiteCertificateAuthorityRequest
-
- AssociateWebsiteCertificateAuthorityResponse.add_member(:website_ca_id, Shapes::ShapeRef.new(shape: Id, location_name: "WebsiteCaId"))
- AssociateWebsiteCertificateAuthorityResponse.struct_class = Types::AssociateWebsiteCertificateAuthorityResponse
-
- CreateFleetRequest.add_member(:fleet_name, Shapes::ShapeRef.new(shape: FleetName, required: true, location_name: "FleetName"))
- CreateFleetRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
- CreateFleetRequest.add_member(:optimize_for_end_user_location, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptimizeForEndUserLocation"))
- CreateFleetRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
- CreateFleetRequest.struct_class = Types::CreateFleetRequest
-
- CreateFleetResponse.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, location_name: "FleetArn"))
- CreateFleetResponse.struct_class = Types::CreateFleetResponse
-
- DeleteFleetRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DeleteFleetRequest.struct_class = Types::DeleteFleetRequest
-
- DeleteFleetResponse.struct_class = Types::DeleteFleetResponse
-
- DescribeAuditStreamConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DescribeAuditStreamConfigurationRequest.struct_class = Types::DescribeAuditStreamConfigurationRequest
-
- DescribeAuditStreamConfigurationResponse.add_member(:audit_stream_arn, Shapes::ShapeRef.new(shape: AuditStreamArn, location_name: "AuditStreamArn"))
- DescribeAuditStreamConfigurationResponse.struct_class = Types::DescribeAuditStreamConfigurationResponse
-
- DescribeCompanyNetworkConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DescribeCompanyNetworkConfigurationRequest.struct_class = Types::DescribeCompanyNetworkConfigurationRequest
-
- DescribeCompanyNetworkConfigurationResponse.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, location_name: "VpcId"))
- DescribeCompanyNetworkConfigurationResponse.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, location_name: "SubnetIds"))
- DescribeCompanyNetworkConfigurationResponse.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, location_name: "SecurityGroupIds"))
- DescribeCompanyNetworkConfigurationResponse.struct_class = Types::DescribeCompanyNetworkConfigurationResponse
-
- DescribeDevicePolicyConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DescribeDevicePolicyConfigurationRequest.struct_class = Types::DescribeDevicePolicyConfigurationRequest
-
- DescribeDevicePolicyConfigurationResponse.add_member(:device_ca_certificate, Shapes::ShapeRef.new(shape: Certificate, location_name: "DeviceCaCertificate"))
- DescribeDevicePolicyConfigurationResponse.struct_class = Types::DescribeDevicePolicyConfigurationResponse
-
- DescribeDeviceRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DescribeDeviceRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "DeviceId"))
- DescribeDeviceRequest.struct_class = Types::DescribeDeviceRequest
-
- DescribeDeviceResponse.add_member(:status, Shapes::ShapeRef.new(shape: DeviceStatus, location_name: "Status"))
- DescribeDeviceResponse.add_member(:model, Shapes::ShapeRef.new(shape: DeviceModel, location_name: "Model"))
- DescribeDeviceResponse.add_member(:manufacturer, Shapes::ShapeRef.new(shape: DeviceManufacturer, location_name: "Manufacturer"))
- DescribeDeviceResponse.add_member(:operating_system, Shapes::ShapeRef.new(shape: DeviceOperatingSystemName, location_name: "OperatingSystem"))
- DescribeDeviceResponse.add_member(:operating_system_version, Shapes::ShapeRef.new(shape: DeviceOperatingSystemVersion, location_name: "OperatingSystemVersion"))
- DescribeDeviceResponse.add_member(:patch_level, Shapes::ShapeRef.new(shape: DevicePatchLevel, location_name: "PatchLevel"))
- DescribeDeviceResponse.add_member(:first_accessed_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "FirstAccessedTime"))
- DescribeDeviceResponse.add_member(:last_accessed_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastAccessedTime"))
- DescribeDeviceResponse.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "Username"))
- DescribeDeviceResponse.struct_class = Types::DescribeDeviceResponse
-
- DescribeDomainRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DescribeDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
- DescribeDomainRequest.struct_class = Types::DescribeDomainRequest
-
- DescribeDomainResponse.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
- DescribeDomainResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
- DescribeDomainResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime"))
- DescribeDomainResponse.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, location_name: "DomainStatus"))
- DescribeDomainResponse.add_member(:acm_certificate_arn, Shapes::ShapeRef.new(shape: AcmCertificateArn, location_name: "AcmCertificateArn"))
- DescribeDomainResponse.struct_class = Types::DescribeDomainResponse
-
- DescribeFleetMetadataRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DescribeFleetMetadataRequest.struct_class = Types::DescribeFleetMetadataRequest
-
- DescribeFleetMetadataResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime"))
- DescribeFleetMetadataResponse.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastUpdatedTime"))
- DescribeFleetMetadataResponse.add_member(:fleet_name, Shapes::ShapeRef.new(shape: FleetName, location_name: "FleetName"))
- DescribeFleetMetadataResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
- DescribeFleetMetadataResponse.add_member(:optimize_for_end_user_location, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptimizeForEndUserLocation"))
- DescribeFleetMetadataResponse.add_member(:company_code, Shapes::ShapeRef.new(shape: CompanyCode, location_name: "CompanyCode"))
- DescribeFleetMetadataResponse.add_member(:fleet_status, Shapes::ShapeRef.new(shape: FleetStatus, location_name: "FleetStatus"))
- DescribeFleetMetadataResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
- DescribeFleetMetadataResponse.struct_class = Types::DescribeFleetMetadataResponse
-
- DescribeIdentityProviderConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DescribeIdentityProviderConfigurationRequest.struct_class = Types::DescribeIdentityProviderConfigurationRequest
-
- DescribeIdentityProviderConfigurationResponse.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, location_name: "IdentityProviderType"))
- DescribeIdentityProviderConfigurationResponse.add_member(:service_provider_saml_metadata, Shapes::ShapeRef.new(shape: SamlMetadata, location_name: "ServiceProviderSamlMetadata"))
- DescribeIdentityProviderConfigurationResponse.add_member(:identity_provider_saml_metadata, Shapes::ShapeRef.new(shape: SamlMetadata, location_name: "IdentityProviderSamlMetadata"))
- DescribeIdentityProviderConfigurationResponse.struct_class = Types::DescribeIdentityProviderConfigurationResponse
-
- DescribeWebsiteCertificateAuthorityRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DescribeWebsiteCertificateAuthorityRequest.add_member(:website_ca_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "WebsiteCaId"))
- DescribeWebsiteCertificateAuthorityRequest.struct_class = Types::DescribeWebsiteCertificateAuthorityRequest
-
- DescribeWebsiteCertificateAuthorityResponse.add_member(:certificate, Shapes::ShapeRef.new(shape: Certificate, location_name: "Certificate"))
- DescribeWebsiteCertificateAuthorityResponse.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime"))
- DescribeWebsiteCertificateAuthorityResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
- DescribeWebsiteCertificateAuthorityResponse.struct_class = Types::DescribeWebsiteCertificateAuthorityResponse
-
- DeviceSummary.add_member(:device_id, Shapes::ShapeRef.new(shape: Id, location_name: "DeviceId"))
- DeviceSummary.add_member(:device_status, Shapes::ShapeRef.new(shape: DeviceStatus, location_name: "DeviceStatus"))
- DeviceSummary.struct_class = Types::DeviceSummary
-
- DeviceSummaryList.member = Shapes::ShapeRef.new(shape: DeviceSummary)
-
- DisassociateDomainRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DisassociateDomainRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
- DisassociateDomainRequest.struct_class = Types::DisassociateDomainRequest
-
- DisassociateDomainResponse.struct_class = Types::DisassociateDomainResponse
-
- DisassociateWebsiteAuthorizationProviderRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DisassociateWebsiteAuthorizationProviderRequest.add_member(:authorization_provider_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "AuthorizationProviderId"))
- DisassociateWebsiteAuthorizationProviderRequest.struct_class = Types::DisassociateWebsiteAuthorizationProviderRequest
-
- DisassociateWebsiteAuthorizationProviderResponse.struct_class = Types::DisassociateWebsiteAuthorizationProviderResponse
-
- DisassociateWebsiteCertificateAuthorityRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- DisassociateWebsiteCertificateAuthorityRequest.add_member(:website_ca_id, Shapes::ShapeRef.new(shape: Id, required: true, location_name: "WebsiteCaId"))
- DisassociateWebsiteCertificateAuthorityRequest.struct_class = Types::DisassociateWebsiteCertificateAuthorityRequest
-
- DisassociateWebsiteCertificateAuthorityResponse.struct_class = Types::DisassociateWebsiteCertificateAuthorityResponse
-
- DomainSummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
- DomainSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
- DomainSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, required: true, location_name: "CreatedTime"))
- DomainSummary.add_member(:domain_status, Shapes::ShapeRef.new(shape: DomainStatus, required: true, location_name: "DomainStatus"))
- DomainSummary.struct_class = Types::DomainSummary
-
- DomainSummaryList.member = Shapes::ShapeRef.new(shape: DomainSummary)
-
- FleetSummary.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, location_name: "FleetArn"))
- FleetSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime"))
- FleetSummary.add_member(:last_updated_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "LastUpdatedTime"))
- FleetSummary.add_member(:fleet_name, Shapes::ShapeRef.new(shape: FleetName, location_name: "FleetName"))
- FleetSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
- FleetSummary.add_member(:company_code, Shapes::ShapeRef.new(shape: CompanyCode, location_name: "CompanyCode"))
- FleetSummary.add_member(:fleet_status, Shapes::ShapeRef.new(shape: FleetStatus, location_name: "FleetStatus"))
- FleetSummary.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
- FleetSummary.struct_class = Types::FleetSummary
-
- FleetSummaryList.member = Shapes::ShapeRef.new(shape: FleetSummary)
-
- InternalServerErrorException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
- InternalServerErrorException.struct_class = Types::InternalServerErrorException
-
- InvalidRequestException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
- InvalidRequestException.struct_class = Types::InvalidRequestException
-
- ListDevicesRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- ListDevicesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
- ListDevicesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
- ListDevicesRequest.struct_class = Types::ListDevicesRequest
-
- ListDevicesResponse.add_member(:devices, Shapes::ShapeRef.new(shape: DeviceSummaryList, location_name: "Devices"))
- ListDevicesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
- ListDevicesResponse.struct_class = Types::ListDevicesResponse
-
- ListDomainsRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- ListDomainsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
- ListDomainsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
- ListDomainsRequest.struct_class = Types::ListDomainsRequest
-
- ListDomainsResponse.add_member(:domains, Shapes::ShapeRef.new(shape: DomainSummaryList, location_name: "Domains"))
- ListDomainsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
- ListDomainsResponse.struct_class = Types::ListDomainsResponse
-
- ListFleetsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
- ListFleetsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
- ListFleetsRequest.struct_class = Types::ListFleetsRequest
-
- ListFleetsResponse.add_member(:fleet_summary_list, Shapes::ShapeRef.new(shape: FleetSummaryList, location_name: "FleetSummaryList"))
- ListFleetsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
- ListFleetsResponse.struct_class = Types::ListFleetsResponse
-
- ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location: "uri", location_name: "ResourceArn"))
- ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
-
- ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "Tags"))
- ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
-
- ListWebsiteAuthorizationProvidersRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- ListWebsiteAuthorizationProvidersRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
- ListWebsiteAuthorizationProvidersRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
- ListWebsiteAuthorizationProvidersRequest.struct_class = Types::ListWebsiteAuthorizationProvidersRequest
-
- ListWebsiteAuthorizationProvidersResponse.add_member(:website_authorization_providers, Shapes::ShapeRef.new(shape: WebsiteAuthorizationProvidersSummaryList, location_name: "WebsiteAuthorizationProviders"))
- ListWebsiteAuthorizationProvidersResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
- ListWebsiteAuthorizationProvidersResponse.struct_class = Types::ListWebsiteAuthorizationProvidersResponse
-
- ListWebsiteCertificateAuthoritiesRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- ListWebsiteCertificateAuthoritiesRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location_name: "MaxResults"))
- ListWebsiteCertificateAuthoritiesRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
- ListWebsiteCertificateAuthoritiesRequest.struct_class = Types::ListWebsiteCertificateAuthoritiesRequest
-
- ListWebsiteCertificateAuthoritiesResponse.add_member(:website_certificate_authorities, Shapes::ShapeRef.new(shape: WebsiteCaSummaryList, location_name: "WebsiteCertificateAuthorities"))
- ListWebsiteCertificateAuthoritiesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
- ListWebsiteCertificateAuthoritiesResponse.struct_class = Types::ListWebsiteCertificateAuthoritiesResponse
-
- ResourceAlreadyExistsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
- ResourceAlreadyExistsException.struct_class = Types::ResourceAlreadyExistsException
-
- ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
- ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
-
- RestoreDomainAccessRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- RestoreDomainAccessRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
- RestoreDomainAccessRequest.struct_class = Types::RestoreDomainAccessRequest
-
- RestoreDomainAccessResponse.struct_class = Types::RestoreDomainAccessResponse
-
- RevokeDomainAccessRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- RevokeDomainAccessRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
- RevokeDomainAccessRequest.struct_class = Types::RevokeDomainAccessRequest
-
- RevokeDomainAccessResponse.struct_class = Types::RevokeDomainAccessResponse
-
- SecurityGroupIds.member = Shapes::ShapeRef.new(shape: SecurityGroupId)
-
- SignOutUserRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- SignOutUserRequest.add_member(:username, Shapes::ShapeRef.new(shape: Username, required: true, location_name: "Username"))
- SignOutUserRequest.struct_class = Types::SignOutUserRequest
-
- SignOutUserResponse.struct_class = Types::SignOutUserResponse
-
- SubnetIds.member = Shapes::ShapeRef.new(shape: SubnetId)
-
- TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
-
- TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
- TagMap.value = Shapes::ShapeRef.new(shape: TagValue)
-
- TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location: "uri", location_name: "ResourceArn"))
- TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, required: true, location_name: "Tags"))
- TagResourceRequest.struct_class = Types::TagResourceRequest
-
- TagResourceResponse.struct_class = Types::TagResourceResponse
-
- TooManyRequestsException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
- TooManyRequestsException.struct_class = Types::TooManyRequestsException
-
- UnauthorizedException.add_member(:message, Shapes::ShapeRef.new(shape: ExceptionMessage, location_name: "Message"))
- UnauthorizedException.struct_class = Types::UnauthorizedException
-
- UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location: "uri", location_name: "ResourceArn"))
- UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
- UntagResourceRequest.struct_class = Types::UntagResourceRequest
-
- UntagResourceResponse.struct_class = Types::UntagResourceResponse
-
- UpdateAuditStreamConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- UpdateAuditStreamConfigurationRequest.add_member(:audit_stream_arn, Shapes::ShapeRef.new(shape: AuditStreamArn, location_name: "AuditStreamArn"))
- UpdateAuditStreamConfigurationRequest.struct_class = Types::UpdateAuditStreamConfigurationRequest
-
- UpdateAuditStreamConfigurationResponse.struct_class = Types::UpdateAuditStreamConfigurationResponse
-
- UpdateCompanyNetworkConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- UpdateCompanyNetworkConfigurationRequest.add_member(:vpc_id, Shapes::ShapeRef.new(shape: VpcId, required: true, location_name: "VpcId"))
- UpdateCompanyNetworkConfigurationRequest.add_member(:subnet_ids, Shapes::ShapeRef.new(shape: SubnetIds, required: true, location_name: "SubnetIds"))
- UpdateCompanyNetworkConfigurationRequest.add_member(:security_group_ids, Shapes::ShapeRef.new(shape: SecurityGroupIds, required: true, location_name: "SecurityGroupIds"))
- UpdateCompanyNetworkConfigurationRequest.struct_class = Types::UpdateCompanyNetworkConfigurationRequest
-
- UpdateCompanyNetworkConfigurationResponse.struct_class = Types::UpdateCompanyNetworkConfigurationResponse
-
- UpdateDevicePolicyConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- UpdateDevicePolicyConfigurationRequest.add_member(:device_ca_certificate, Shapes::ShapeRef.new(shape: CertificateChain, location_name: "DeviceCaCertificate"))
- UpdateDevicePolicyConfigurationRequest.struct_class = Types::UpdateDevicePolicyConfigurationRequest
-
- UpdateDevicePolicyConfigurationResponse.struct_class = Types::UpdateDevicePolicyConfigurationResponse
-
- UpdateDomainMetadataRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- UpdateDomainMetadataRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, required: true, location_name: "DomainName"))
- UpdateDomainMetadataRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
- UpdateDomainMetadataRequest.struct_class = Types::UpdateDomainMetadataRequest
-
- UpdateDomainMetadataResponse.struct_class = Types::UpdateDomainMetadataResponse
-
- UpdateFleetMetadataRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- UpdateFleetMetadataRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
- UpdateFleetMetadataRequest.add_member(:optimize_for_end_user_location, Shapes::ShapeRef.new(shape: Boolean, location_name: "OptimizeForEndUserLocation"))
- UpdateFleetMetadataRequest.struct_class = Types::UpdateFleetMetadataRequest
-
- UpdateFleetMetadataResponse.struct_class = Types::UpdateFleetMetadataResponse
-
- UpdateIdentityProviderConfigurationRequest.add_member(:fleet_arn, Shapes::ShapeRef.new(shape: FleetArn, required: true, location_name: "FleetArn"))
- UpdateIdentityProviderConfigurationRequest.add_member(:identity_provider_type, Shapes::ShapeRef.new(shape: IdentityProviderType, required: true, location_name: "IdentityProviderType"))
- UpdateIdentityProviderConfigurationRequest.add_member(:identity_provider_saml_metadata, Shapes::ShapeRef.new(shape: SamlMetadata, location_name: "IdentityProviderSamlMetadata"))
- UpdateIdentityProviderConfigurationRequest.struct_class = Types::UpdateIdentityProviderConfigurationRequest
-
- UpdateIdentityProviderConfigurationResponse.struct_class = Types::UpdateIdentityProviderConfigurationResponse
-
- WebsiteAuthorizationProviderSummary.add_member(:authorization_provider_id, Shapes::ShapeRef.new(shape: Id, location_name: "AuthorizationProviderId"))
- WebsiteAuthorizationProviderSummary.add_member(:authorization_provider_type, Shapes::ShapeRef.new(shape: AuthorizationProviderType, required: true, location_name: "AuthorizationProviderType"))
- WebsiteAuthorizationProviderSummary.add_member(:domain_name, Shapes::ShapeRef.new(shape: DomainName, location_name: "DomainName"))
- WebsiteAuthorizationProviderSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime"))
- WebsiteAuthorizationProviderSummary.struct_class = Types::WebsiteAuthorizationProviderSummary
-
- WebsiteAuthorizationProvidersSummaryList.member = Shapes::ShapeRef.new(shape: WebsiteAuthorizationProviderSummary)
-
- WebsiteCaSummary.add_member(:website_ca_id, Shapes::ShapeRef.new(shape: Id, location_name: "WebsiteCaId"))
- WebsiteCaSummary.add_member(:created_time, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedTime"))
- WebsiteCaSummary.add_member(:display_name, Shapes::ShapeRef.new(shape: DisplayName, location_name: "DisplayName"))
- WebsiteCaSummary.struct_class = Types::WebsiteCaSummary
-
- WebsiteCaSummaryList.member = Shapes::ShapeRef.new(shape: WebsiteCaSummary)
-
-
- # @api private
- API = Seahorse::Model::Api.new.tap do |api|
-
- api.version = "2018-09-25"
-
- api.metadata = {
- "apiVersion" => "2018-09-25",
- "auth" => ["aws.auth#sigv4"],
- "endpointPrefix" => "worklink",
- "jsonVersion" => "1.1",
- "protocol" => "rest-json",
- "protocols" => ["rest-json"],
- "serviceAbbreviation" => "WorkLink",
- "serviceFullName" => "Amazon WorkLink",
- "serviceId" => "WorkLink",
- "signatureVersion" => "v4",
- "signingName" => "worklink",
- "uid" => "worklink-2018-09-25",
- }
-
- api.add_operation(:associate_domain, Seahorse::Model::Operation.new.tap do |o|
- o.name = "AssociateDomain"
- o.http_method = "POST"
- o.http_request_uri = "/associateDomain"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: AssociateDomainRequest)
- o.output = Shapes::ShapeRef.new(shape: AssociateDomainResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:associate_website_authorization_provider, Seahorse::Model::Operation.new.tap do |o|
- o.name = "AssociateWebsiteAuthorizationProvider"
- o.http_method = "POST"
- o.http_request_uri = "/associateWebsiteAuthorizationProvider"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: AssociateWebsiteAuthorizationProviderRequest)
- o.output = Shapes::ShapeRef.new(shape: AssociateWebsiteAuthorizationProviderResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:associate_website_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
- o.name = "AssociateWebsiteCertificateAuthority"
- o.http_method = "POST"
- o.http_request_uri = "/associateWebsiteCertificateAuthority"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: AssociateWebsiteCertificateAuthorityRequest)
- o.output = Shapes::ShapeRef.new(shape: AssociateWebsiteCertificateAuthorityResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:create_fleet, Seahorse::Model::Operation.new.tap do |o|
- o.name = "CreateFleet"
- o.http_method = "POST"
- o.http_request_uri = "/createFleet"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: CreateFleetRequest)
- o.output = Shapes::ShapeRef.new(shape: CreateFleetResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:delete_fleet, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DeleteFleet"
- o.http_method = "POST"
- o.http_request_uri = "/deleteFleet"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DeleteFleetRequest)
- o.output = Shapes::ShapeRef.new(shape: DeleteFleetResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:describe_audit_stream_configuration, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DescribeAuditStreamConfiguration"
- o.http_method = "POST"
- o.http_request_uri = "/describeAuditStreamConfiguration"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DescribeAuditStreamConfigurationRequest)
- o.output = Shapes::ShapeRef.new(shape: DescribeAuditStreamConfigurationResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:describe_company_network_configuration, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DescribeCompanyNetworkConfiguration"
- o.http_method = "POST"
- o.http_request_uri = "/describeCompanyNetworkConfiguration"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DescribeCompanyNetworkConfigurationRequest)
- o.output = Shapes::ShapeRef.new(shape: DescribeCompanyNetworkConfigurationResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:describe_device, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DescribeDevice"
- o.http_method = "POST"
- o.http_request_uri = "/describeDevice"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DescribeDeviceRequest)
- o.output = Shapes::ShapeRef.new(shape: DescribeDeviceResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:describe_device_policy_configuration, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DescribeDevicePolicyConfiguration"
- o.http_method = "POST"
- o.http_request_uri = "/describeDevicePolicyConfiguration"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DescribeDevicePolicyConfigurationRequest)
- o.output = Shapes::ShapeRef.new(shape: DescribeDevicePolicyConfigurationResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:describe_domain, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DescribeDomain"
- o.http_method = "POST"
- o.http_request_uri = "/describeDomain"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DescribeDomainRequest)
- o.output = Shapes::ShapeRef.new(shape: DescribeDomainResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:describe_fleet_metadata, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DescribeFleetMetadata"
- o.http_method = "POST"
- o.http_request_uri = "/describeFleetMetadata"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DescribeFleetMetadataRequest)
- o.output = Shapes::ShapeRef.new(shape: DescribeFleetMetadataResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:describe_identity_provider_configuration, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DescribeIdentityProviderConfiguration"
- o.http_method = "POST"
- o.http_request_uri = "/describeIdentityProviderConfiguration"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DescribeIdentityProviderConfigurationRequest)
- o.output = Shapes::ShapeRef.new(shape: DescribeIdentityProviderConfigurationResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:describe_website_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DescribeWebsiteCertificateAuthority"
- o.http_method = "POST"
- o.http_request_uri = "/describeWebsiteCertificateAuthority"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DescribeWebsiteCertificateAuthorityRequest)
- o.output = Shapes::ShapeRef.new(shape: DescribeWebsiteCertificateAuthorityResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:disassociate_domain, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DisassociateDomain"
- o.http_method = "POST"
- o.http_request_uri = "/disassociateDomain"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DisassociateDomainRequest)
- o.output = Shapes::ShapeRef.new(shape: DisassociateDomainResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:disassociate_website_authorization_provider, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DisassociateWebsiteAuthorizationProvider"
- o.http_method = "POST"
- o.http_request_uri = "/disassociateWebsiteAuthorizationProvider"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DisassociateWebsiteAuthorizationProviderRequest)
- o.output = Shapes::ShapeRef.new(shape: DisassociateWebsiteAuthorizationProviderResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceAlreadyExistsException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:disassociate_website_certificate_authority, Seahorse::Model::Operation.new.tap do |o|
- o.name = "DisassociateWebsiteCertificateAuthority"
- o.http_method = "POST"
- o.http_request_uri = "/disassociateWebsiteCertificateAuthority"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: DisassociateWebsiteCertificateAuthorityRequest)
- o.output = Shapes::ShapeRef.new(shape: DisassociateWebsiteCertificateAuthorityResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:list_devices, Seahorse::Model::Operation.new.tap do |o|
- o.name = "ListDevices"
- o.http_method = "POST"
- o.http_request_uri = "/listDevices"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: ListDevicesRequest)
- o.output = Shapes::ShapeRef.new(shape: ListDevicesResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- o[:pager] = Aws::Pager.new(
- limit_key: "max_results",
- tokens: {
- "next_token" => "next_token"
- }
- )
- end)
-
- api.add_operation(:list_domains, Seahorse::Model::Operation.new.tap do |o|
- o.name = "ListDomains"
- o.http_method = "POST"
- o.http_request_uri = "/listDomains"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: ListDomainsRequest)
- o.output = Shapes::ShapeRef.new(shape: ListDomainsResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- o[:pager] = Aws::Pager.new(
- limit_key: "max_results",
- tokens: {
- "next_token" => "next_token"
- }
- )
- end)
-
- api.add_operation(:list_fleets, Seahorse::Model::Operation.new.tap do |o|
- o.name = "ListFleets"
- o.http_method = "POST"
- o.http_request_uri = "/listFleets"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: ListFleetsRequest)
- o.output = Shapes::ShapeRef.new(shape: ListFleetsResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- o[:pager] = Aws::Pager.new(
- limit_key: "max_results",
- tokens: {
- "next_token" => "next_token"
- }
- )
- end)
-
- api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
- o.name = "ListTagsForResource"
- o.http_method = "GET"
- o.http_request_uri = "/tags/{ResourceArn}"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
- o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- end)
-
- api.add_operation(:list_website_authorization_providers, Seahorse::Model::Operation.new.tap do |o|
- o.name = "ListWebsiteAuthorizationProviders"
- o.http_method = "POST"
- o.http_request_uri = "/listWebsiteAuthorizationProviders"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: ListWebsiteAuthorizationProvidersRequest)
- o.output = Shapes::ShapeRef.new(shape: ListWebsiteAuthorizationProvidersResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- o[:pager] = Aws::Pager.new(
- limit_key: "max_results",
- tokens: {
- "next_token" => "next_token"
- }
- )
- end)
-
- api.add_operation(:list_website_certificate_authorities, Seahorse::Model::Operation.new.tap do |o|
- o.name = "ListWebsiteCertificateAuthorities"
- o.http_method = "POST"
- o.http_request_uri = "/listWebsiteCertificateAuthorities"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: ListWebsiteCertificateAuthoritiesRequest)
- o.output = Shapes::ShapeRef.new(shape: ListWebsiteCertificateAuthoritiesResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- o[:pager] = Aws::Pager.new(
- limit_key: "max_results",
- tokens: {
- "next_token" => "next_token"
- }
- )
- end)
-
- api.add_operation(:restore_domain_access, Seahorse::Model::Operation.new.tap do |o|
- o.name = "RestoreDomainAccess"
- o.http_method = "POST"
- o.http_request_uri = "/restoreDomainAccess"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: RestoreDomainAccessRequest)
- o.output = Shapes::ShapeRef.new(shape: RestoreDomainAccessResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:revoke_domain_access, Seahorse::Model::Operation.new.tap do |o|
- o.name = "RevokeDomainAccess"
- o.http_method = "POST"
- o.http_request_uri = "/revokeDomainAccess"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: RevokeDomainAccessRequest)
- o.output = Shapes::ShapeRef.new(shape: RevokeDomainAccessResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:sign_out_user, Seahorse::Model::Operation.new.tap do |o|
- o.name = "SignOutUser"
- o.http_method = "POST"
- o.http_request_uri = "/signOutUser"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: SignOutUserRequest)
- o.output = Shapes::ShapeRef.new(shape: SignOutUserResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
- o.name = "TagResource"
- o.http_method = "POST"
- o.http_request_uri = "/tags/{ResourceArn}"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
- o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- end)
-
- api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
- o.name = "UntagResource"
- o.http_method = "DELETE"
- o.http_request_uri = "/tags/{ResourceArn}"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
- o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- end)
-
- api.add_operation(:update_audit_stream_configuration, Seahorse::Model::Operation.new.tap do |o|
- o.name = "UpdateAuditStreamConfiguration"
- o.http_method = "POST"
- o.http_request_uri = "/updateAuditStreamConfiguration"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: UpdateAuditStreamConfigurationRequest)
- o.output = Shapes::ShapeRef.new(shape: UpdateAuditStreamConfigurationResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:update_company_network_configuration, Seahorse::Model::Operation.new.tap do |o|
- o.name = "UpdateCompanyNetworkConfiguration"
- o.http_method = "POST"
- o.http_request_uri = "/updateCompanyNetworkConfiguration"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: UpdateCompanyNetworkConfigurationRequest)
- o.output = Shapes::ShapeRef.new(shape: UpdateCompanyNetworkConfigurationResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:update_device_policy_configuration, Seahorse::Model::Operation.new.tap do |o|
- o.name = "UpdateDevicePolicyConfiguration"
- o.http_method = "POST"
- o.http_request_uri = "/updateDevicePolicyConfiguration"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: UpdateDevicePolicyConfigurationRequest)
- o.output = Shapes::ShapeRef.new(shape: UpdateDevicePolicyConfigurationResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:update_domain_metadata, Seahorse::Model::Operation.new.tap do |o|
- o.name = "UpdateDomainMetadata"
- o.http_method = "POST"
- o.http_request_uri = "/updateDomainMetadata"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: UpdateDomainMetadataRequest)
- o.output = Shapes::ShapeRef.new(shape: UpdateDomainMetadataResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:update_fleet_metadata, Seahorse::Model::Operation.new.tap do |o|
- o.name = "UpdateFleetMetadata"
- o.http_method = "POST"
- o.http_request_uri = "/UpdateFleetMetadata"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: UpdateFleetMetadataRequest)
- o.output = Shapes::ShapeRef.new(shape: UpdateFleetMetadataResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
-
- api.add_operation(:update_identity_provider_configuration, Seahorse::Model::Operation.new.tap do |o|
- o.name = "UpdateIdentityProviderConfiguration"
- o.http_method = "POST"
- o.http_request_uri = "/updateIdentityProviderConfiguration"
- o.deprecated = true
- o.input = Shapes::ShapeRef.new(shape: UpdateIdentityProviderConfigurationRequest)
- o.output = Shapes::ShapeRef.new(shape: UpdateIdentityProviderConfigurationResponse)
- o.errors << Shapes::ShapeRef.new(shape: UnauthorizedException)
- o.errors << Shapes::ShapeRef.new(shape: InternalServerErrorException)
- o.errors << Shapes::ShapeRef.new(shape: InvalidRequestException)
- o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
- o.errors << Shapes::ShapeRef.new(shape: TooManyRequestsException)
- end)
- end
-
- end
-end
diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoints.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoints.rb
deleted file mode 100644
index bdb0f45bcfd..00000000000
--- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/endpoints.rb
+++ /dev/null
@@ -1,478 +0,0 @@
-# frozen_string_literal: true
-
-# WARNING ABOUT GENERATED CODE
-#
-# This file is generated. See the contributing guide for more information:
-# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
-#
-# WARNING ABOUT GENERATED CODE
-
-
-module Aws::WorkLink
- # @api private
- module Endpoints
-
- class AssociateDomain
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class AssociateWebsiteAuthorizationProvider
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class AssociateWebsiteCertificateAuthority
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class CreateFleet
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DeleteFleet
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DescribeAuditStreamConfiguration
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DescribeCompanyNetworkConfiguration
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DescribeDevice
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DescribeDevicePolicyConfiguration
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DescribeDomain
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DescribeFleetMetadata
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DescribeIdentityProviderConfiguration
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DescribeWebsiteCertificateAuthority
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DisassociateDomain
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DisassociateWebsiteAuthorizationProvider
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class DisassociateWebsiteCertificateAuthority
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class ListDevices
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class ListDomains
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class ListFleets
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class ListTagsForResource
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class ListWebsiteAuthorizationProviders
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class ListWebsiteCertificateAuthorities
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class RestoreDomainAccess
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class RevokeDomainAccess
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class SignOutUser
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class TagResource
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class UntagResource
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class UpdateAuditStreamConfiguration
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class UpdateCompanyNetworkConfiguration
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class UpdateDevicePolicyConfiguration
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class UpdateDomainMetadata
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class UpdateFleetMetadata
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- class UpdateIdentityProviderConfiguration
- def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
- Aws::WorkLink::EndpointParameters.new(
- region: context.config.region,
- use_dual_stack: context.config.use_dualstack_endpoint,
- use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
- )
- end
- end
-
- end
-end
diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/plugins/endpoints.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/plugins/endpoints.rb
deleted file mode 100644
index ae21846375c..00000000000
--- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/plugins/endpoints.rb
+++ /dev/null
@@ -1,136 +0,0 @@
-# frozen_string_literal: true
-
-# WARNING ABOUT GENERATED CODE
-#
-# This file is generated. See the contributing guide for more information:
-# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
-#
-# WARNING ABOUT GENERATED CODE
-
-
-module Aws::WorkLink
- module Plugins
- class Endpoints < Seahorse::Client::Plugin
- option(
- :endpoint_provider,
- doc_type: 'Aws::WorkLink::EndpointProvider',
- rbs_type: 'untyped',
- docstring: 'The endpoint provider used to resolve endpoints. Any '\
- 'object that responds to `#resolve_endpoint(parameters)` '\
- 'where `parameters` is a Struct similar to '\
- '`Aws::WorkLink::EndpointParameters`'
- ) do |cfg|
- Aws::WorkLink::EndpointProvider.new
- end
-
- # @api private
- class Handler < Seahorse::Client::Handler
- def call(context)
- unless context[:discovered_endpoint]
- params = parameters_for_operation(context)
- endpoint = context.config.endpoint_provider.resolve_endpoint(params)
-
- context.http_request.endpoint = endpoint.url
- apply_endpoint_headers(context, endpoint.headers)
-
- context[:endpoint_params] = params
- context[:endpoint_properties] = endpoint.properties
- end
-
- context[:auth_scheme] =
- Aws::Endpoints.resolve_auth_scheme(context, endpoint)
-
- @handler.call(context)
- end
-
- private
-
- def apply_endpoint_headers(context, headers)
- headers.each do |key, values|
- value = values
- .compact
- .map { |s| Seahorse::Util.escape_header_list_string(s.to_s) }
- .join(',')
-
- context.http_request.headers[key] = value
- end
- end
-
- def parameters_for_operation(context)
- case context.operation_name
- when :associate_domain
- Aws::WorkLink::Endpoints::AssociateDomain.build(context)
- when :associate_website_authorization_provider
- Aws::WorkLink::Endpoints::AssociateWebsiteAuthorizationProvider.build(context)
- when :associate_website_certificate_authority
- Aws::WorkLink::Endpoints::AssociateWebsiteCertificateAuthority.build(context)
- when :create_fleet
- Aws::WorkLink::Endpoints::CreateFleet.build(context)
- when :delete_fleet
- Aws::WorkLink::Endpoints::DeleteFleet.build(context)
- when :describe_audit_stream_configuration
- Aws::WorkLink::Endpoints::DescribeAuditStreamConfiguration.build(context)
- when :describe_company_network_configuration
- Aws::WorkLink::Endpoints::DescribeCompanyNetworkConfiguration.build(context)
- when :describe_device
- Aws::WorkLink::Endpoints::DescribeDevice.build(context)
- when :describe_device_policy_configuration
- Aws::WorkLink::Endpoints::DescribeDevicePolicyConfiguration.build(context)
- when :describe_domain
- Aws::WorkLink::Endpoints::DescribeDomain.build(context)
- when :describe_fleet_metadata
- Aws::WorkLink::Endpoints::DescribeFleetMetadata.build(context)
- when :describe_identity_provider_configuration
- Aws::WorkLink::Endpoints::DescribeIdentityProviderConfiguration.build(context)
- when :describe_website_certificate_authority
- Aws::WorkLink::Endpoints::DescribeWebsiteCertificateAuthority.build(context)
- when :disassociate_domain
- Aws::WorkLink::Endpoints::DisassociateDomain.build(context)
- when :disassociate_website_authorization_provider
- Aws::WorkLink::Endpoints::DisassociateWebsiteAuthorizationProvider.build(context)
- when :disassociate_website_certificate_authority
- Aws::WorkLink::Endpoints::DisassociateWebsiteCertificateAuthority.build(context)
- when :list_devices
- Aws::WorkLink::Endpoints::ListDevices.build(context)
- when :list_domains
- Aws::WorkLink::Endpoints::ListDomains.build(context)
- when :list_fleets
- Aws::WorkLink::Endpoints::ListFleets.build(context)
- when :list_tags_for_resource
- Aws::WorkLink::Endpoints::ListTagsForResource.build(context)
- when :list_website_authorization_providers
- Aws::WorkLink::Endpoints::ListWebsiteAuthorizationProviders.build(context)
- when :list_website_certificate_authorities
- Aws::WorkLink::Endpoints::ListWebsiteCertificateAuthorities.build(context)
- when :restore_domain_access
- Aws::WorkLink::Endpoints::RestoreDomainAccess.build(context)
- when :revoke_domain_access
- Aws::WorkLink::Endpoints::RevokeDomainAccess.build(context)
- when :sign_out_user
- Aws::WorkLink::Endpoints::SignOutUser.build(context)
- when :tag_resource
- Aws::WorkLink::Endpoints::TagResource.build(context)
- when :untag_resource
- Aws::WorkLink::Endpoints::UntagResource.build(context)
- when :update_audit_stream_configuration
- Aws::WorkLink::Endpoints::UpdateAuditStreamConfiguration.build(context)
- when :update_company_network_configuration
- Aws::WorkLink::Endpoints::UpdateCompanyNetworkConfiguration.build(context)
- when :update_device_policy_configuration
- Aws::WorkLink::Endpoints::UpdateDevicePolicyConfiguration.build(context)
- when :update_domain_metadata
- Aws::WorkLink::Endpoints::UpdateDomainMetadata.build(context)
- when :update_fleet_metadata
- Aws::WorkLink::Endpoints::UpdateFleetMetadata.build(context)
- when :update_identity_provider_configuration
- Aws::WorkLink::Endpoints::UpdateIdentityProviderConfiguration.build(context)
- end
- end
- end
-
- def add_handlers(handlers, _config)
- handlers.add(Handler, step: :build, priority: 75)
- end
- end
- end
-end
diff --git a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/types.rb b/gems/aws-sdk-worklink/lib/aws-sdk-worklink/types.rb
deleted file mode 100644
index 0b6919228f4..00000000000
--- a/gems/aws-sdk-worklink/lib/aws-sdk-worklink/types.rb
+++ /dev/null
@@ -1,1292 +0,0 @@
-# frozen_string_literal: true
-
-# WARNING ABOUT GENERATED CODE
-#
-# This file is generated. See the contributing guide for more information:
-# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
-#
-# WARNING ABOUT GENERATED CODE
-
-module Aws::WorkLink
- module Types
-
- # @!attribute [rw] fleet_arn
- # The Amazon Resource Name (ARN) of the fleet.
- # @return [String]
- #
- # @!attribute [rw] domain_name
- # The fully qualified domain name (FQDN).
- # @return [String]
- #
- # @!attribute [rw] display_name
- # The name to display.
- # @return [String]
- #
- # @!attribute [rw] acm_certificate_arn
- # The ARN of an issued ACM certificate that is valid for the domain
- # being associated.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomainRequest AWS API Documentation
- #
- class AssociateDomainRequest < Struct.new(
- :fleet_arn,
- :domain_name,
- :display_name,
- :acm_certificate_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateDomainResponse AWS API Documentation
- #
- class AssociateDomainResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] authorization_provider_type
- # The authorization provider type.
- # @return [String]
- #
- # @!attribute [rw] domain_name
- # The domain name of the authorization provider. This applies only to
- # SAML-based authorization providers.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProviderRequest AWS API Documentation
- #
- class AssociateWebsiteAuthorizationProviderRequest < Struct.new(
- :fleet_arn,
- :authorization_provider_type,
- :domain_name)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] authorization_provider_id
- # A unique identifier for the authorization provider.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteAuthorizationProviderResponse AWS API Documentation
- #
- class AssociateWebsiteAuthorizationProviderResponse < Struct.new(
- :authorization_provider_id)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] certificate
- # The root certificate of the CA.
- # @return [String]
- #
- # @!attribute [rw] display_name
- # The certificate name to display.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteCertificateAuthorityRequest AWS API Documentation
- #
- class AssociateWebsiteCertificateAuthorityRequest < Struct.new(
- :fleet_arn,
- :certificate,
- :display_name)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] website_ca_id
- # A unique identifier for the CA.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/AssociateWebsiteCertificateAuthorityResponse AWS API Documentation
- #
- class AssociateWebsiteCertificateAuthorityResponse < Struct.new(
- :website_ca_id)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_name
- # A unique name for the fleet.
- # @return [String]
- #
- # @!attribute [rw] display_name
- # The fleet name to display.
- # @return [String]
- #
- # @!attribute [rw] optimize_for_end_user_location
- # The option to optimize for better performance by routing traffic
- # through the closest AWS Region to users, which may be outside of
- # your home Region.
- # @return [Boolean]
- #
- # @!attribute [rw] tags
- # The tags to add to the resource. A tag is a key-value pair.
- # @return [Hash]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleetRequest AWS API Documentation
- #
- class CreateFleetRequest < Struct.new(
- :fleet_name,
- :display_name,
- :optimize_for_end_user_location,
- :tags)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The Amazon Resource Name (ARN) of the fleet.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/CreateFleetResponse AWS API Documentation
- #
- class CreateFleetResponse < Struct.new(
- :fleet_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeleteFleetRequest AWS API Documentation
- #
- class DeleteFleetRequest < Struct.new(
- :fleet_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeleteFleetResponse AWS API Documentation
- #
- class DeleteFleetResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeAuditStreamConfigurationRequest AWS API Documentation
- #
- class DescribeAuditStreamConfigurationRequest < Struct.new(
- :fleet_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] audit_stream_arn
- # The ARN of the Amazon Kinesis data stream that will receive the
- # audit events.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeAuditStreamConfigurationResponse AWS API Documentation
- #
- class DescribeAuditStreamConfigurationResponse < Struct.new(
- :audit_stream_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeCompanyNetworkConfigurationRequest AWS API Documentation
- #
- class DescribeCompanyNetworkConfigurationRequest < Struct.new(
- :fleet_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] vpc_id
- # The VPC with connectivity to associated websites.
- # @return [String]
- #
- # @!attribute [rw] subnet_ids
- # The subnets used for X-ENI connections from Amazon WorkLink
- # rendering containers.
- # @return [Array]
- #
- # @!attribute [rw] security_group_ids
- # The security groups associated with access to the provided subnets.
- # @return [Array]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeCompanyNetworkConfigurationResponse AWS API Documentation
- #
- class DescribeCompanyNetworkConfigurationResponse < Struct.new(
- :vpc_id,
- :subnet_ids,
- :security_group_ids)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevicePolicyConfigurationRequest AWS API Documentation
- #
- class DescribeDevicePolicyConfigurationRequest < Struct.new(
- :fleet_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] device_ca_certificate
- # The certificate chain, including intermediate certificates and the
- # root certificate authority certificate used to issue device
- # certificates.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDevicePolicyConfigurationResponse AWS API Documentation
- #
- class DescribeDevicePolicyConfigurationResponse < Struct.new(
- :device_ca_certificate)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] device_id
- # A unique identifier for a registered user's device.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDeviceRequest AWS API Documentation
- #
- class DescribeDeviceRequest < Struct.new(
- :fleet_arn,
- :device_id)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] status
- # The current state of the device.
- # @return [String]
- #
- # @!attribute [rw] model
- # The model of the device.
- # @return [String]
- #
- # @!attribute [rw] manufacturer
- # The manufacturer of the device.
- # @return [String]
- #
- # @!attribute [rw] operating_system
- # The operating system of the device.
- # @return [String]
- #
- # @!attribute [rw] operating_system_version
- # The operating system version of the device.
- # @return [String]
- #
- # @!attribute [rw] patch_level
- # The operating system patch level of the device.
- # @return [String]
- #
- # @!attribute [rw] first_accessed_time
- # The date that the device first signed in to Amazon WorkLink.
- # @return [Time]
- #
- # @!attribute [rw] last_accessed_time
- # The date that the device last accessed Amazon WorkLink.
- # @return [Time]
- #
- # @!attribute [rw] username
- # The user name associated with the device.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDeviceResponse AWS API Documentation
- #
- class DescribeDeviceResponse < Struct.new(
- :status,
- :model,
- :manufacturer,
- :operating_system,
- :operating_system_version,
- :patch_level,
- :first_accessed_time,
- :last_accessed_time,
- :username)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] domain_name
- # The name of the domain.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomainRequest AWS API Documentation
- #
- class DescribeDomainRequest < Struct.new(
- :fleet_arn,
- :domain_name)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] domain_name
- # The name of the domain.
- # @return [String]
- #
- # @!attribute [rw] display_name
- # The name to display.
- # @return [String]
- #
- # @!attribute [rw] created_time
- # The time that the domain was added.
- # @return [Time]
- #
- # @!attribute [rw] domain_status
- # The current state for the domain.
- # @return [String]
- #
- # @!attribute [rw] acm_certificate_arn
- # The ARN of an issued ACM certificate that is valid for the domain
- # being associated.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeDomainResponse AWS API Documentation
- #
- class DescribeDomainResponse < Struct.new(
- :domain_name,
- :display_name,
- :created_time,
- :domain_status,
- :acm_certificate_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The Amazon Resource Name (ARN) of the fleet.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadataRequest AWS API Documentation
- #
- class DescribeFleetMetadataRequest < Struct.new(
- :fleet_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] created_time
- # The time that the fleet was created.
- # @return [Time]
- #
- # @!attribute [rw] last_updated_time
- # The time that the fleet was last updated.
- # @return [Time]
- #
- # @!attribute [rw] fleet_name
- # The name of the fleet.
- # @return [String]
- #
- # @!attribute [rw] display_name
- # The name to display.
- # @return [String]
- #
- # @!attribute [rw] optimize_for_end_user_location
- # The option to optimize for better performance by routing traffic
- # through the closest AWS Region to users, which may be outside of
- # your home Region.
- # @return [Boolean]
- #
- # @!attribute [rw] company_code
- # The identifier used by users to sign in to the Amazon WorkLink app.
- # @return [String]
- #
- # @!attribute [rw] fleet_status
- # The current state of the fleet.
- # @return [String]
- #
- # @!attribute [rw] tags
- # The tags attached to the resource. A tag is a key-value pair.
- # @return [Hash]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeFleetMetadataResponse AWS API Documentation
- #
- class DescribeFleetMetadataResponse < Struct.new(
- :created_time,
- :last_updated_time,
- :fleet_name,
- :display_name,
- :optimize_for_end_user_location,
- :company_code,
- :fleet_status,
- :tags)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeIdentityProviderConfigurationRequest AWS API Documentation
- #
- class DescribeIdentityProviderConfigurationRequest < Struct.new(
- :fleet_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] identity_provider_type
- # The type of identity provider.
- # @return [String]
- #
- # @!attribute [rw] service_provider_saml_metadata
- # The SAML metadata document uploaded to the user’s identity provider.
- # @return [String]
- #
- # @!attribute [rw] identity_provider_saml_metadata
- # The SAML metadata document provided by the user’s identity provider.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeIdentityProviderConfigurationResponse AWS API Documentation
- #
- class DescribeIdentityProviderConfigurationResponse < Struct.new(
- :identity_provider_type,
- :service_provider_saml_metadata,
- :identity_provider_saml_metadata)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] website_ca_id
- # A unique identifier for the certificate authority.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeWebsiteCertificateAuthorityRequest AWS API Documentation
- #
- class DescribeWebsiteCertificateAuthorityRequest < Struct.new(
- :fleet_arn,
- :website_ca_id)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] certificate
- # The root certificate of the certificate authority.
- # @return [String]
- #
- # @!attribute [rw] created_time
- # The time that the certificate authority was added.
- # @return [Time]
- #
- # @!attribute [rw] display_name
- # The certificate name to display.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DescribeWebsiteCertificateAuthorityResponse AWS API Documentation
- #
- class DescribeWebsiteCertificateAuthorityResponse < Struct.new(
- :certificate,
- :created_time,
- :display_name)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # The summary of devices.
- #
- # @!attribute [rw] device_id
- # The ID of the device.
- # @return [String]
- #
- # @!attribute [rw] device_status
- # The status of the device.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DeviceSummary AWS API Documentation
- #
- class DeviceSummary < Struct.new(
- :device_id,
- :device_status)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] domain_name
- # The name of the domain.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateDomainRequest AWS API Documentation
- #
- class DisassociateDomainRequest < Struct.new(
- :fleet_arn,
- :domain_name)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateDomainResponse AWS API Documentation
- #
- class DisassociateDomainResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] authorization_provider_id
- # A unique identifier for the authorization provider.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProviderRequest AWS API Documentation
- #
- class DisassociateWebsiteAuthorizationProviderRequest < Struct.new(
- :fleet_arn,
- :authorization_provider_id)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteAuthorizationProviderResponse AWS API Documentation
- #
- class DisassociateWebsiteAuthorizationProviderResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] website_ca_id
- # A unique identifier for the CA.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteCertificateAuthorityRequest AWS API Documentation
- #
- class DisassociateWebsiteCertificateAuthorityRequest < Struct.new(
- :fleet_arn,
- :website_ca_id)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DisassociateWebsiteCertificateAuthorityResponse AWS API Documentation
- #
- class DisassociateWebsiteCertificateAuthorityResponse < Aws::EmptyStructure; end
-
- # The summary of the domain.
- #
- # @!attribute [rw] domain_name
- # The name of the domain.
- # @return [String]
- #
- # @!attribute [rw] display_name
- # The name to display.
- # @return [String]
- #
- # @!attribute [rw] created_time
- # The time that the domain was created.
- # @return [Time]
- #
- # @!attribute [rw] domain_status
- # The status of the domain.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/DomainSummary AWS API Documentation
- #
- class DomainSummary < Struct.new(
- :domain_name,
- :display_name,
- :created_time,
- :domain_status)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # The summary of the fleet.
- #
- # @!attribute [rw] fleet_arn
- # The Amazon Resource Name (ARN) of the fleet.
- # @return [String]
- #
- # @!attribute [rw] created_time
- # The time when the fleet was created.
- # @return [Time]
- #
- # @!attribute [rw] last_updated_time
- # The time when the fleet was last updated.
- # @return [Time]
- #
- # @!attribute [rw] fleet_name
- # The name of the fleet.
- # @return [String]
- #
- # @!attribute [rw] display_name
- # The name of the fleet to display.
- # @return [String]
- #
- # @!attribute [rw] company_code
- # The identifier used by users to sign into the Amazon WorkLink app.
- # @return [String]
- #
- # @!attribute [rw] fleet_status
- # The status of the fleet.
- # @return [String]
- #
- # @!attribute [rw] tags
- # The tags attached to the resource. A tag is a key-value pair.
- # @return [Hash]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/FleetSummary AWS API Documentation
- #
- class FleetSummary < Struct.new(
- :fleet_arn,
- :created_time,
- :last_updated_time,
- :fleet_name,
- :display_name,
- :company_code,
- :fleet_status,
- :tags)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # The service is temporarily unavailable.
- #
- # @!attribute [rw] message
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/InternalServerErrorException AWS API Documentation
- #
- class InternalServerErrorException < Struct.new(
- :message)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # The request is not valid.
- #
- # @!attribute [rw] message
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/InvalidRequestException AWS API Documentation
- #
- class InvalidRequestException < Struct.new(
- :message)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If this value is null, it retrieves the first page.
- # @return [String]
- #
- # @!attribute [rw] max_results
- # The maximum number of results to be included in the next page.
- # @return [Integer]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDevicesRequest AWS API Documentation
- #
- class ListDevicesRequest < Struct.new(
- :fleet_arn,
- :next_token,
- :max_results)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] devices
- # Information about the devices.
- # @return [Array]
- #
- # @!attribute [rw] next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If there are no more pages, this value is null.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDevicesResponse AWS API Documentation
- #
- class ListDevicesResponse < Struct.new(
- :devices,
- :next_token)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If this value is null, it retrieves the first page.
- # @return [String]
- #
- # @!attribute [rw] max_results
- # The maximum number of results to be included in the next page.
- # @return [Integer]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDomainsRequest AWS API Documentation
- #
- class ListDomainsRequest < Struct.new(
- :fleet_arn,
- :next_token,
- :max_results)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] domains
- # Information about the domains.
- # @return [Array]
- #
- # @!attribute [rw] next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If there are no more pages, this value is null.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListDomainsResponse AWS API Documentation
- #
- class ListDomainsResponse < Struct.new(
- :domains,
- :next_token)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If this value is null, it retrieves the first page.
- # @return [String]
- #
- # @!attribute [rw] max_results
- # The maximum number of results to be included in the next page.
- # @return [Integer]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleetsRequest AWS API Documentation
- #
- class ListFleetsRequest < Struct.new(
- :next_token,
- :max_results)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_summary_list
- # The summary list of the fleets.
- # @return [Array]
- #
- # @!attribute [rw] next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If there are no more pages, this value is null.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListFleetsResponse AWS API Documentation
- #
- class ListFleetsResponse < Struct.new(
- :fleet_summary_list,
- :next_token)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] resource_arn
- # The Amazon Resource Name (ARN) of the fleet.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResourceRequest AWS API Documentation
- #
- class ListTagsForResourceRequest < Struct.new(
- :resource_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] tags
- # The tags attached to the resource. A tag is a key-value pair.
- # @return [Hash]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListTagsForResourceResponse AWS API Documentation
- #
- class ListTagsForResourceResponse < Struct.new(
- :tags)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] next_token
- # The pagination token to use to retrieve the next page of results for
- # this operation. If this value is null, it retrieves the first page.
- # @return [String]
- #
- # @!attribute [rw] max_results
- # The maximum number of results to be included in the next page.
- # @return [Integer]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProvidersRequest AWS API Documentation
- #
- class ListWebsiteAuthorizationProvidersRequest < Struct.new(
- :fleet_arn,
- :next_token,
- :max_results)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] website_authorization_providers
- # The website authorization providers.
- # @return [Array]
- #
- # @!attribute [rw] next_token
- # The pagination token to use to retrieve the next page of results for
- # this operation. If this value is null, it retrieves the first page.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteAuthorizationProvidersResponse AWS API Documentation
- #
- class ListWebsiteAuthorizationProvidersResponse < Struct.new(
- :website_authorization_providers,
- :next_token)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] max_results
- # The maximum number of results to be included in the next page.
- # @return [Integer]
- #
- # @!attribute [rw] next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If this value is null, it retrieves the first page.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteCertificateAuthoritiesRequest AWS API Documentation
- #
- class ListWebsiteCertificateAuthoritiesRequest < Struct.new(
- :fleet_arn,
- :max_results,
- :next_token)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] website_certificate_authorities
- # Information about the certificates.
- # @return [Array]
- #
- # @!attribute [rw] next_token
- # The pagination token used to retrieve the next page of results for
- # this operation. If there are no more pages, this value is null.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ListWebsiteCertificateAuthoritiesResponse AWS API Documentation
- #
- class ListWebsiteCertificateAuthoritiesResponse < Struct.new(
- :website_certificate_authorities,
- :next_token)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # The resource already exists.
- #
- # @!attribute [rw] message
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ResourceAlreadyExistsException AWS API Documentation
- #
- class ResourceAlreadyExistsException < Struct.new(
- :message)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # The requested resource was not found.
- #
- # @!attribute [rw] message
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/ResourceNotFoundException AWS API Documentation
- #
- class ResourceNotFoundException < Struct.new(
- :message)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] domain_name
- # The name of the domain.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RestoreDomainAccessRequest AWS API Documentation
- #
- class RestoreDomainAccessRequest < Struct.new(
- :fleet_arn,
- :domain_name)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RestoreDomainAccessResponse AWS API Documentation
- #
- class RestoreDomainAccessResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] domain_name
- # The name of the domain.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RevokeDomainAccessRequest AWS API Documentation
- #
- class RevokeDomainAccessRequest < Struct.new(
- :fleet_arn,
- :domain_name)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/RevokeDomainAccessResponse AWS API Documentation
- #
- class RevokeDomainAccessResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] username
- # The name of the user.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/SignOutUserRequest AWS API Documentation
- #
- class SignOutUserRequest < Struct.new(
- :fleet_arn,
- :username)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/SignOutUserResponse AWS API Documentation
- #
- class SignOutUserResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] resource_arn
- # The Amazon Resource Name (ARN) of the fleet.
- # @return [String]
- #
- # @!attribute [rw] tags
- # The tags to add to the resource. A tag is a key-value pair.
- # @return [Hash]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResourceRequest AWS API Documentation
- #
- class TagResourceRequest < Struct.new(
- :resource_arn,
- :tags)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TagResourceResponse AWS API Documentation
- #
- class TagResourceResponse < Aws::EmptyStructure; end
-
- # The number of requests exceeds the limit.
- #
- # @!attribute [rw] message
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/TooManyRequestsException AWS API Documentation
- #
- class TooManyRequestsException < Struct.new(
- :message)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # You are not authorized to perform this action.
- #
- # @!attribute [rw] message
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UnauthorizedException AWS API Documentation
- #
- class UnauthorizedException < Struct.new(
- :message)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @!attribute [rw] resource_arn
- # The Amazon Resource Name (ARN) of the fleet.
- # @return [String]
- #
- # @!attribute [rw] tag_keys
- # The list of tag keys to remove from the resource.
- # @return [Array]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResourceRequest AWS API Documentation
- #
- class UntagResourceRequest < Struct.new(
- :resource_arn,
- :tag_keys)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UntagResourceResponse AWS API Documentation
- #
- class UntagResourceResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] audit_stream_arn
- # The ARN of the Amazon Kinesis data stream that receives the audit
- # events.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateAuditStreamConfigurationRequest AWS API Documentation
- #
- class UpdateAuditStreamConfigurationRequest < Struct.new(
- :fleet_arn,
- :audit_stream_arn)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateAuditStreamConfigurationResponse AWS API Documentation
- #
- class UpdateAuditStreamConfigurationResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] vpc_id
- # The VPC with connectivity to associated websites.
- # @return [String]
- #
- # @!attribute [rw] subnet_ids
- # The subnets used for X-ENI connections from Amazon WorkLink
- # rendering containers.
- # @return [Array]
- #
- # @!attribute [rw] security_group_ids
- # The security groups associated with access to the provided subnets.
- # @return [Array]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateCompanyNetworkConfigurationRequest AWS API Documentation
- #
- class UpdateCompanyNetworkConfigurationRequest < Struct.new(
- :fleet_arn,
- :vpc_id,
- :subnet_ids,
- :security_group_ids)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateCompanyNetworkConfigurationResponse AWS API Documentation
- #
- class UpdateCompanyNetworkConfigurationResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] device_ca_certificate
- # The certificate chain, including intermediate certificates and the
- # root certificate authority certificate used to issue device
- # certificates.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDevicePolicyConfigurationRequest AWS API Documentation
- #
- class UpdateDevicePolicyConfigurationRequest < Struct.new(
- :fleet_arn,
- :device_ca_certificate)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDevicePolicyConfigurationResponse AWS API Documentation
- #
- class UpdateDevicePolicyConfigurationResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] domain_name
- # The name of the domain.
- # @return [String]
- #
- # @!attribute [rw] display_name
- # The name to display.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDomainMetadataRequest AWS API Documentation
- #
- class UpdateDomainMetadataRequest < Struct.new(
- :fleet_arn,
- :domain_name,
- :display_name)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateDomainMetadataResponse AWS API Documentation
- #
- class UpdateDomainMetadataResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] display_name
- # The fleet name to display. The existing DisplayName is unset if null
- # is passed.
- # @return [String]
- #
- # @!attribute [rw] optimize_for_end_user_location
- # The option to optimize for better performance by routing traffic
- # through the closest AWS Region to users, which may be outside of
- # your home Region.
- # @return [Boolean]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateFleetMetadataRequest AWS API Documentation
- #
- class UpdateFleetMetadataRequest < Struct.new(
- :fleet_arn,
- :display_name,
- :optimize_for_end_user_location)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateFleetMetadataResponse AWS API Documentation
- #
- class UpdateFleetMetadataResponse < Aws::EmptyStructure; end
-
- # @!attribute [rw] fleet_arn
- # The ARN of the fleet.
- # @return [String]
- #
- # @!attribute [rw] identity_provider_type
- # The type of identity provider.
- # @return [String]
- #
- # @!attribute [rw] identity_provider_saml_metadata
- # The SAML metadata document provided by the customer’s identity
- # provider. The existing IdentityProviderSamlMetadata is unset if null
- # is passed.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateIdentityProviderConfigurationRequest AWS API Documentation
- #
- class UpdateIdentityProviderConfigurationRequest < Struct.new(
- :fleet_arn,
- :identity_provider_type,
- :identity_provider_saml_metadata)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/UpdateIdentityProviderConfigurationResponse AWS API Documentation
- #
- class UpdateIdentityProviderConfigurationResponse < Aws::EmptyStructure; end
-
- # The summary of the website authorization provider.
- #
- # @!attribute [rw] authorization_provider_id
- # A unique identifier for the authorization provider.
- # @return [String]
- #
- # @!attribute [rw] authorization_provider_type
- # The authorization provider type.
- # @return [String]
- #
- # @!attribute [rw] domain_name
- # The domain name of the authorization provider. This applies only to
- # SAML-based authorization providers.
- # @return [String]
- #
- # @!attribute [rw] created_time
- # The time of creation.
- # @return [Time]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/WebsiteAuthorizationProviderSummary AWS API Documentation
- #
- class WebsiteAuthorizationProviderSummary < Struct.new(
- :authorization_provider_id,
- :authorization_provider_type,
- :domain_name,
- :created_time)
- SENSITIVE = []
- include Aws::Structure
- end
-
- # The summary of the certificate authority (CA).
- #
- # @!attribute [rw] website_ca_id
- # A unique identifier for the CA.
- # @return [String]
- #
- # @!attribute [rw] created_time
- # The time when the CA was added.
- # @return [Time]
- #
- # @!attribute [rw] display_name
- # The name to display.
- # @return [String]
- #
- # @see http://docs.aws.amazon.com/goto/WebAPI/worklink-2018-09-25/WebsiteCaSummary AWS API Documentation
- #
- class WebsiteCaSummary < Struct.new(
- :website_ca_id,
- :created_time,
- :display_name)
- SENSITIVE = []
- include Aws::Structure
- end
-
- end
-end
diff --git a/gems/aws-sdk-worklink/sig/client.rbs b/gems/aws-sdk-worklink/sig/client.rbs
deleted file mode 100644
index f4769d48c1f..00000000000
--- a/gems/aws-sdk-worklink/sig/client.rbs
+++ /dev/null
@@ -1,464 +0,0 @@
-# WARNING ABOUT GENERATED CODE
-#
-# This file is generated. See the contributing guide for more information:
-# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
-#
-# WARNING ABOUT GENERATED CODE
-
-module Aws
- module WorkLink
- class Client < ::Seahorse::Client::Base
- include ::Aws::ClientStubs
-
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#initialize-instance_method
- def self.new: (
- ?credentials: untyped,
- ?region: String,
- ?access_key_id: String,
- ?active_endpoint_cache: bool,
- ?adaptive_retry_wait_to_fill: bool,
- ?client_side_monitoring: bool,
- ?client_side_monitoring_client_id: String,
- ?client_side_monitoring_host: String,
- ?client_side_monitoring_port: Integer,
- ?client_side_monitoring_publisher: untyped,
- ?convert_params: bool,
- ?correct_clock_skew: bool,
- ?defaults_mode: String,
- ?disable_host_prefix_injection: bool,
- ?disable_request_compression: bool,
- ?endpoint: String,
- ?endpoint_cache_max_entries: Integer,
- ?endpoint_cache_max_threads: Integer,
- ?endpoint_cache_poll_interval: Integer,
- ?endpoint_discovery: bool,
- ?ignore_configured_endpoint_urls: bool,
- ?log_formatter: untyped,
- ?log_level: Symbol,
- ?logger: untyped,
- ?max_attempts: Integer,
- ?profile: String,
- ?request_min_compression_size_bytes: Integer,
- ?retry_backoff: Proc,
- ?retry_base_delay: Float,
- ?retry_jitter: (:none | :equal | :full | ^(Integer) -> Integer),
- ?retry_limit: Integer,
- ?retry_max_delay: Integer,
- ?retry_mode: ("legacy" | "standard" | "adaptive"),
- ?sdk_ua_app_id: String,
- ?secret_access_key: String,
- ?session_token: String,
- ?sigv4a_signing_region_set: Array[String],
- ?stub_responses: untyped,
- ?telemetry_provider: Aws::Telemetry::TelemetryProviderBase,
- ?token_provider: untyped,
- ?use_dualstack_endpoint: bool,
- ?use_fips_endpoint: bool,
- ?validate_params: bool,
- ?endpoint_provider: untyped,
- ?http_proxy: String,
- ?http_open_timeout: (Float | Integer),
- ?http_read_timeout: (Float | Integer),
- ?http_idle_timeout: (Float | Integer),
- ?http_continue_timeout: (Float | Integer),
- ?ssl_timeout: (Float | Integer | nil),
- ?http_wire_trace: bool,
- ?ssl_verify_peer: bool,
- ?ssl_ca_bundle: String,
- ?ssl_ca_directory: String,
- ?ssl_ca_store: String,
- ?on_chunk_received: Proc,
- ?on_chunk_sent: Proc,
- ?raise_response_errors: bool
- ) -> instance
- | (?Hash[Symbol, untyped]) -> instance
-
-
- interface _AssociateDomainResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::AssociateDomainResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#associate_domain-instance_method
- def associate_domain: (
- fleet_arn: ::String,
- domain_name: ::String,
- ?display_name: ::String,
- acm_certificate_arn: ::String
- ) -> _AssociateDomainResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateDomainResponseSuccess
-
- interface _AssociateWebsiteAuthorizationProviderResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::AssociateWebsiteAuthorizationProviderResponse]
- def authorization_provider_id: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#associate_website_authorization_provider-instance_method
- def associate_website_authorization_provider: (
- fleet_arn: ::String,
- authorization_provider_type: ("SAML"),
- ?domain_name: ::String
- ) -> _AssociateWebsiteAuthorizationProviderResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateWebsiteAuthorizationProviderResponseSuccess
-
- interface _AssociateWebsiteCertificateAuthorityResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::AssociateWebsiteCertificateAuthorityResponse]
- def website_ca_id: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#associate_website_certificate_authority-instance_method
- def associate_website_certificate_authority: (
- fleet_arn: ::String,
- certificate: ::String,
- ?display_name: ::String
- ) -> _AssociateWebsiteCertificateAuthorityResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AssociateWebsiteCertificateAuthorityResponseSuccess
-
- interface _CreateFleetResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::CreateFleetResponse]
- def fleet_arn: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#create_fleet-instance_method
- def create_fleet: (
- fleet_name: ::String,
- ?display_name: ::String,
- ?optimize_for_end_user_location: bool,
- ?tags: Hash[::String, ::String]
- ) -> _CreateFleetResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFleetResponseSuccess
-
- interface _DeleteFleetResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DeleteFleetResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#delete_fleet-instance_method
- def delete_fleet: (
- fleet_arn: ::String
- ) -> _DeleteFleetResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteFleetResponseSuccess
-
- interface _DescribeAuditStreamConfigurationResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeAuditStreamConfigurationResponse]
- def audit_stream_arn: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_audit_stream_configuration-instance_method
- def describe_audit_stream_configuration: (
- fleet_arn: ::String
- ) -> _DescribeAuditStreamConfigurationResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeAuditStreamConfigurationResponseSuccess
-
- interface _DescribeCompanyNetworkConfigurationResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeCompanyNetworkConfigurationResponse]
- def vpc_id: () -> ::String
- def subnet_ids: () -> ::Array[::String]
- def security_group_ids: () -> ::Array[::String]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_company_network_configuration-instance_method
- def describe_company_network_configuration: (
- fleet_arn: ::String
- ) -> _DescribeCompanyNetworkConfigurationResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeCompanyNetworkConfigurationResponseSuccess
-
- interface _DescribeDeviceResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDeviceResponse]
- def status: () -> ("ACTIVE" | "SIGNED_OUT")
- def model: () -> ::String
- def manufacturer: () -> ::String
- def operating_system: () -> ::String
- def operating_system_version: () -> ::String
- def patch_level: () -> ::String
- def first_accessed_time: () -> ::Time
- def last_accessed_time: () -> ::Time
- def username: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_device-instance_method
- def describe_device: (
- fleet_arn: ::String,
- device_id: ::String
- ) -> _DescribeDeviceResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDeviceResponseSuccess
-
- interface _DescribeDevicePolicyConfigurationResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDevicePolicyConfigurationResponse]
- def device_ca_certificate: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_device_policy_configuration-instance_method
- def describe_device_policy_configuration: (
- fleet_arn: ::String
- ) -> _DescribeDevicePolicyConfigurationResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDevicePolicyConfigurationResponseSuccess
-
- interface _DescribeDomainResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeDomainResponse]
- def domain_name: () -> ::String
- def display_name: () -> ::String
- def created_time: () -> ::Time
- def domain_status: () -> ("PENDING_VALIDATION" | "ASSOCIATING" | "ACTIVE" | "INACTIVE" | "DISASSOCIATING" | "DISASSOCIATED" | "FAILED_TO_ASSOCIATE" | "FAILED_TO_DISASSOCIATE")
- def acm_certificate_arn: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_domain-instance_method
- def describe_domain: (
- fleet_arn: ::String,
- domain_name: ::String
- ) -> _DescribeDomainResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeDomainResponseSuccess
-
- interface _DescribeFleetMetadataResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeFleetMetadataResponse]
- def created_time: () -> ::Time
- def last_updated_time: () -> ::Time
- def fleet_name: () -> ::String
- def display_name: () -> ::String
- def optimize_for_end_user_location: () -> bool
- def company_code: () -> ::String
- def fleet_status: () -> ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "FAILED_TO_CREATE" | "FAILED_TO_DELETE")
- def tags: () -> ::Hash[::String, ::String]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_fleet_metadata-instance_method
- def describe_fleet_metadata: (
- fleet_arn: ::String
- ) -> _DescribeFleetMetadataResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeFleetMetadataResponseSuccess
-
- interface _DescribeIdentityProviderConfigurationResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeIdentityProviderConfigurationResponse]
- def identity_provider_type: () -> ("SAML")
- def service_provider_saml_metadata: () -> ::String
- def identity_provider_saml_metadata: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_identity_provider_configuration-instance_method
- def describe_identity_provider_configuration: (
- fleet_arn: ::String
- ) -> _DescribeIdentityProviderConfigurationResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeIdentityProviderConfigurationResponseSuccess
-
- interface _DescribeWebsiteCertificateAuthorityResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DescribeWebsiteCertificateAuthorityResponse]
- def certificate: () -> ::String
- def created_time: () -> ::Time
- def display_name: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#describe_website_certificate_authority-instance_method
- def describe_website_certificate_authority: (
- fleet_arn: ::String,
- website_ca_id: ::String
- ) -> _DescribeWebsiteCertificateAuthorityResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DescribeWebsiteCertificateAuthorityResponseSuccess
-
- interface _DisassociateDomainResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateDomainResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#disassociate_domain-instance_method
- def disassociate_domain: (
- fleet_arn: ::String,
- domain_name: ::String
- ) -> _DisassociateDomainResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateDomainResponseSuccess
-
- interface _DisassociateWebsiteAuthorizationProviderResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateWebsiteAuthorizationProviderResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#disassociate_website_authorization_provider-instance_method
- def disassociate_website_authorization_provider: (
- fleet_arn: ::String,
- authorization_provider_id: ::String
- ) -> _DisassociateWebsiteAuthorizationProviderResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateWebsiteAuthorizationProviderResponseSuccess
-
- interface _DisassociateWebsiteCertificateAuthorityResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::DisassociateWebsiteCertificateAuthorityResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#disassociate_website_certificate_authority-instance_method
- def disassociate_website_certificate_authority: (
- fleet_arn: ::String,
- website_ca_id: ::String
- ) -> _DisassociateWebsiteCertificateAuthorityResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateWebsiteCertificateAuthorityResponseSuccess
-
- interface _ListDevicesResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::ListDevicesResponse]
- def devices: () -> ::Array[Types::DeviceSummary]
- def next_token: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_devices-instance_method
- def list_devices: (
- fleet_arn: ::String,
- ?next_token: ::String,
- ?max_results: ::Integer
- ) -> _ListDevicesResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDevicesResponseSuccess
-
- interface _ListDomainsResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::ListDomainsResponse]
- def domains: () -> ::Array[Types::DomainSummary]
- def next_token: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_domains-instance_method
- def list_domains: (
- fleet_arn: ::String,
- ?next_token: ::String,
- ?max_results: ::Integer
- ) -> _ListDomainsResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDomainsResponseSuccess
-
- interface _ListFleetsResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::ListFleetsResponse]
- def fleet_summary_list: () -> ::Array[Types::FleetSummary]
- def next_token: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_fleets-instance_method
- def list_fleets: (
- ?next_token: ::String,
- ?max_results: ::Integer
- ) -> _ListFleetsResponseSuccess
- | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListFleetsResponseSuccess
-
- interface _ListTagsForResourceResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
- def tags: () -> ::Hash[::String, ::String]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_tags_for_resource-instance_method
- def list_tags_for_resource: (
- resource_arn: ::String
- ) -> _ListTagsForResourceResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
-
- interface _ListWebsiteAuthorizationProvidersResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::ListWebsiteAuthorizationProvidersResponse]
- def website_authorization_providers: () -> ::Array[Types::WebsiteAuthorizationProviderSummary]
- def next_token: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_website_authorization_providers-instance_method
- def list_website_authorization_providers: (
- fleet_arn: ::String,
- ?next_token: ::String,
- ?max_results: ::Integer
- ) -> _ListWebsiteAuthorizationProvidersResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebsiteAuthorizationProvidersResponseSuccess
-
- interface _ListWebsiteCertificateAuthoritiesResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::ListWebsiteCertificateAuthoritiesResponse]
- def website_certificate_authorities: () -> ::Array[Types::WebsiteCaSummary]
- def next_token: () -> ::String
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#list_website_certificate_authorities-instance_method
- def list_website_certificate_authorities: (
- fleet_arn: ::String,
- ?max_results: ::Integer,
- ?next_token: ::String
- ) -> _ListWebsiteCertificateAuthoritiesResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListWebsiteCertificateAuthoritiesResponseSuccess
-
- interface _RestoreDomainAccessResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::RestoreDomainAccessResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#restore_domain_access-instance_method
- def restore_domain_access: (
- fleet_arn: ::String,
- domain_name: ::String
- ) -> _RestoreDomainAccessResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RestoreDomainAccessResponseSuccess
-
- interface _RevokeDomainAccessResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::RevokeDomainAccessResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#revoke_domain_access-instance_method
- def revoke_domain_access: (
- fleet_arn: ::String,
- domain_name: ::String
- ) -> _RevokeDomainAccessResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _RevokeDomainAccessResponseSuccess
-
- interface _SignOutUserResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::SignOutUserResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#sign_out_user-instance_method
- def sign_out_user: (
- fleet_arn: ::String,
- username: ::String
- ) -> _SignOutUserResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SignOutUserResponseSuccess
-
- interface _TagResourceResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#tag_resource-instance_method
- def tag_resource: (
- resource_arn: ::String,
- tags: Hash[::String, ::String]
- ) -> _TagResourceResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _TagResourceResponseSuccess
-
- interface _UntagResourceResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::UntagResourceResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#untag_resource-instance_method
- def untag_resource: (
- resource_arn: ::String,
- tag_keys: Array[::String]
- ) -> _UntagResourceResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UntagResourceResponseSuccess
-
- interface _UpdateAuditStreamConfigurationResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAuditStreamConfigurationResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_audit_stream_configuration-instance_method
- def update_audit_stream_configuration: (
- fleet_arn: ::String,
- ?audit_stream_arn: ::String
- ) -> _UpdateAuditStreamConfigurationResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAuditStreamConfigurationResponseSuccess
-
- interface _UpdateCompanyNetworkConfigurationResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCompanyNetworkConfigurationResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_company_network_configuration-instance_method
- def update_company_network_configuration: (
- fleet_arn: ::String,
- vpc_id: ::String,
- subnet_ids: Array[::String],
- security_group_ids: Array[::String]
- ) -> _UpdateCompanyNetworkConfigurationResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCompanyNetworkConfigurationResponseSuccess
-
- interface _UpdateDevicePolicyConfigurationResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDevicePolicyConfigurationResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_device_policy_configuration-instance_method
- def update_device_policy_configuration: (
- fleet_arn: ::String,
- ?device_ca_certificate: ::String
- ) -> _UpdateDevicePolicyConfigurationResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDevicePolicyConfigurationResponseSuccess
-
- interface _UpdateDomainMetadataResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::UpdateDomainMetadataResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_domain_metadata-instance_method
- def update_domain_metadata: (
- fleet_arn: ::String,
- domain_name: ::String,
- ?display_name: ::String
- ) -> _UpdateDomainMetadataResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateDomainMetadataResponseSuccess
-
- interface _UpdateFleetMetadataResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::UpdateFleetMetadataResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_fleet_metadata-instance_method
- def update_fleet_metadata: (
- fleet_arn: ::String,
- ?display_name: ::String,
- ?optimize_for_end_user_location: bool
- ) -> _UpdateFleetMetadataResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFleetMetadataResponseSuccess
-
- interface _UpdateIdentityProviderConfigurationResponseSuccess
- include ::Seahorse::Client::_ResponseSuccess[Types::UpdateIdentityProviderConfigurationResponse]
- end
- # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkLink/Client.html#update_identity_provider_configuration-instance_method
- def update_identity_provider_configuration: (
- fleet_arn: ::String,
- identity_provider_type: ("SAML"),
- ?identity_provider_saml_metadata: ::String
- ) -> _UpdateIdentityProviderConfigurationResponseSuccess
- | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateIdentityProviderConfigurationResponseSuccess
- end
- end
-end
-
diff --git a/gems/aws-sdk-worklink/sig/types.rbs b/gems/aws-sdk-worklink/sig/types.rbs
deleted file mode 100644
index 15d793e8d4a..00000000000
--- a/gems/aws-sdk-worklink/sig/types.rbs
+++ /dev/null
@@ -1,451 +0,0 @@
-# WARNING ABOUT GENERATED CODE
-#
-# This file is generated. See the contributing guide for more information:
-# https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
-#
-# WARNING ABOUT GENERATED CODE
-
-module Aws::WorkLink
- module Types
-
- class AssociateDomainRequest
- attr_accessor fleet_arn: ::String
- attr_accessor domain_name: ::String
- attr_accessor display_name: ::String
- attr_accessor acm_certificate_arn: ::String
- SENSITIVE: []
- end
-
- class AssociateDomainResponse < Aws::EmptyStructure
- end
-
- class AssociateWebsiteAuthorizationProviderRequest
- attr_accessor fleet_arn: ::String
- attr_accessor authorization_provider_type: ("SAML")
- attr_accessor domain_name: ::String
- SENSITIVE: []
- end
-
- class AssociateWebsiteAuthorizationProviderResponse
- attr_accessor authorization_provider_id: ::String
- SENSITIVE: []
- end
-
- class AssociateWebsiteCertificateAuthorityRequest
- attr_accessor fleet_arn: ::String
- attr_accessor certificate: ::String
- attr_accessor display_name: ::String
- SENSITIVE: []
- end
-
- class AssociateWebsiteCertificateAuthorityResponse
- attr_accessor website_ca_id: ::String
- SENSITIVE: []
- end
-
- class CreateFleetRequest
- attr_accessor fleet_name: ::String
- attr_accessor display_name: ::String
- attr_accessor optimize_for_end_user_location: bool
- attr_accessor tags: ::Hash[::String, ::String]
- SENSITIVE: []
- end
-
- class CreateFleetResponse
- attr_accessor fleet_arn: ::String
- SENSITIVE: []
- end
-
- class DeleteFleetRequest
- attr_accessor fleet_arn: ::String
- SENSITIVE: []
- end
-
- class DeleteFleetResponse < Aws::EmptyStructure
- end
-
- class DescribeAuditStreamConfigurationRequest
- attr_accessor fleet_arn: ::String
- SENSITIVE: []
- end
-
- class DescribeAuditStreamConfigurationResponse
- attr_accessor audit_stream_arn: ::String
- SENSITIVE: []
- end
-
- class DescribeCompanyNetworkConfigurationRequest
- attr_accessor fleet_arn: ::String
- SENSITIVE: []
- end
-
- class DescribeCompanyNetworkConfigurationResponse
- attr_accessor vpc_id: ::String
- attr_accessor subnet_ids: ::Array[::String]
- attr_accessor security_group_ids: ::Array[::String]
- SENSITIVE: []
- end
-
- class DescribeDevicePolicyConfigurationRequest
- attr_accessor fleet_arn: ::String
- SENSITIVE: []
- end
-
- class DescribeDevicePolicyConfigurationResponse
- attr_accessor device_ca_certificate: ::String
- SENSITIVE: []
- end
-
- class DescribeDeviceRequest
- attr_accessor fleet_arn: ::String
- attr_accessor device_id: ::String
- SENSITIVE: []
- end
-
- class DescribeDeviceResponse
- attr_accessor status: ("ACTIVE" | "SIGNED_OUT")
- attr_accessor model: ::String
- attr_accessor manufacturer: ::String
- attr_accessor operating_system: ::String
- attr_accessor operating_system_version: ::String
- attr_accessor patch_level: ::String
- attr_accessor first_accessed_time: ::Time
- attr_accessor last_accessed_time: ::Time
- attr_accessor username: ::String
- SENSITIVE: []
- end
-
- class DescribeDomainRequest
- attr_accessor fleet_arn: ::String
- attr_accessor domain_name: ::String
- SENSITIVE: []
- end
-
- class DescribeDomainResponse
- attr_accessor domain_name: ::String
- attr_accessor display_name: ::String
- attr_accessor created_time: ::Time
- attr_accessor domain_status: ("PENDING_VALIDATION" | "ASSOCIATING" | "ACTIVE" | "INACTIVE" | "DISASSOCIATING" | "DISASSOCIATED" | "FAILED_TO_ASSOCIATE" | "FAILED_TO_DISASSOCIATE")
- attr_accessor acm_certificate_arn: ::String
- SENSITIVE: []
- end
-
- class DescribeFleetMetadataRequest
- attr_accessor fleet_arn: ::String
- SENSITIVE: []
- end
-
- class DescribeFleetMetadataResponse
- attr_accessor created_time: ::Time
- attr_accessor last_updated_time: ::Time
- attr_accessor fleet_name: ::String
- attr_accessor display_name: ::String
- attr_accessor optimize_for_end_user_location: bool
- attr_accessor company_code: ::String
- attr_accessor fleet_status: ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "FAILED_TO_CREATE" | "FAILED_TO_DELETE")
- attr_accessor tags: ::Hash[::String, ::String]
- SENSITIVE: []
- end
-
- class DescribeIdentityProviderConfigurationRequest
- attr_accessor fleet_arn: ::String
- SENSITIVE: []
- end
-
- class DescribeIdentityProviderConfigurationResponse
- attr_accessor identity_provider_type: ("SAML")
- attr_accessor service_provider_saml_metadata: ::String
- attr_accessor identity_provider_saml_metadata: ::String
- SENSITIVE: []
- end
-
- class DescribeWebsiteCertificateAuthorityRequest
- attr_accessor fleet_arn: ::String
- attr_accessor website_ca_id: ::String
- SENSITIVE: []
- end
-
- class DescribeWebsiteCertificateAuthorityResponse
- attr_accessor certificate: ::String
- attr_accessor created_time: ::Time
- attr_accessor display_name: ::String
- SENSITIVE: []
- end
-
- class DeviceSummary
- attr_accessor device_id: ::String
- attr_accessor device_status: ("ACTIVE" | "SIGNED_OUT")
- SENSITIVE: []
- end
-
- class DisassociateDomainRequest
- attr_accessor fleet_arn: ::String
- attr_accessor domain_name: ::String
- SENSITIVE: []
- end
-
- class DisassociateDomainResponse < Aws::EmptyStructure
- end
-
- class DisassociateWebsiteAuthorizationProviderRequest
- attr_accessor fleet_arn: ::String
- attr_accessor authorization_provider_id: ::String
- SENSITIVE: []
- end
-
- class DisassociateWebsiteAuthorizationProviderResponse < Aws::EmptyStructure
- end
-
- class DisassociateWebsiteCertificateAuthorityRequest
- attr_accessor fleet_arn: ::String
- attr_accessor website_ca_id: ::String
- SENSITIVE: []
- end
-
- class DisassociateWebsiteCertificateAuthorityResponse < Aws::EmptyStructure
- end
-
- class DomainSummary
- attr_accessor domain_name: ::String
- attr_accessor display_name: ::String
- attr_accessor created_time: ::Time
- attr_accessor domain_status: ("PENDING_VALIDATION" | "ASSOCIATING" | "ACTIVE" | "INACTIVE" | "DISASSOCIATING" | "DISASSOCIATED" | "FAILED_TO_ASSOCIATE" | "FAILED_TO_DISASSOCIATE")
- SENSITIVE: []
- end
-
- class FleetSummary
- attr_accessor fleet_arn: ::String
- attr_accessor created_time: ::Time
- attr_accessor last_updated_time: ::Time
- attr_accessor fleet_name: ::String
- attr_accessor display_name: ::String
- attr_accessor company_code: ::String
- attr_accessor fleet_status: ("CREATING" | "ACTIVE" | "DELETING" | "DELETED" | "FAILED_TO_CREATE" | "FAILED_TO_DELETE")
- attr_accessor tags: ::Hash[::String, ::String]
- SENSITIVE: []
- end
-
- class InternalServerErrorException
- attr_accessor message: ::String
- SENSITIVE: []
- end
-
- class InvalidRequestException
- attr_accessor message: ::String
- SENSITIVE: []
- end
-
- class ListDevicesRequest
- attr_accessor fleet_arn: ::String
- attr_accessor next_token: ::String
- attr_accessor max_results: ::Integer
- SENSITIVE: []
- end
-
- class ListDevicesResponse
- attr_accessor devices: ::Array[Types::DeviceSummary]
- attr_accessor next_token: ::String
- SENSITIVE: []
- end
-
- class ListDomainsRequest
- attr_accessor fleet_arn: ::String
- attr_accessor next_token: ::String
- attr_accessor max_results: ::Integer
- SENSITIVE: []
- end
-
- class ListDomainsResponse
- attr_accessor domains: ::Array[Types::DomainSummary]
- attr_accessor next_token: ::String
- SENSITIVE: []
- end
-
- class ListFleetsRequest
- attr_accessor next_token: ::String
- attr_accessor max_results: ::Integer
- SENSITIVE: []
- end
-
- class ListFleetsResponse
- attr_accessor fleet_summary_list: ::Array[Types::FleetSummary]
- attr_accessor next_token: ::String
- SENSITIVE: []
- end
-
- class ListTagsForResourceRequest
- attr_accessor resource_arn: ::String
- SENSITIVE: []
- end
-
- class ListTagsForResourceResponse
- attr_accessor tags: ::Hash[::String, ::String]
- SENSITIVE: []
- end
-
- class ListWebsiteAuthorizationProvidersRequest
- attr_accessor fleet_arn: ::String
- attr_accessor next_token: ::String
- attr_accessor max_results: ::Integer
- SENSITIVE: []
- end
-
- class ListWebsiteAuthorizationProvidersResponse
- attr_accessor website_authorization_providers: ::Array[Types::WebsiteAuthorizationProviderSummary]
- attr_accessor next_token: ::String
- SENSITIVE: []
- end
-
- class ListWebsiteCertificateAuthoritiesRequest
- attr_accessor fleet_arn: ::String
- attr_accessor max_results: ::Integer
- attr_accessor next_token: ::String
- SENSITIVE: []
- end
-
- class ListWebsiteCertificateAuthoritiesResponse
- attr_accessor website_certificate_authorities: ::Array[Types::WebsiteCaSummary]
- attr_accessor next_token: ::String
- SENSITIVE: []
- end
-
- class ResourceAlreadyExistsException
- attr_accessor message: ::String
- SENSITIVE: []
- end
-
- class ResourceNotFoundException
- attr_accessor message: ::String
- SENSITIVE: []
- end
-
- class RestoreDomainAccessRequest
- attr_accessor fleet_arn: ::String
- attr_accessor domain_name: ::String
- SENSITIVE: []
- end
-
- class RestoreDomainAccessResponse < Aws::EmptyStructure
- end
-
- class RevokeDomainAccessRequest
- attr_accessor fleet_arn: ::String
- attr_accessor domain_name: ::String
- SENSITIVE: []
- end
-
- class RevokeDomainAccessResponse < Aws::EmptyStructure
- end
-
- class SignOutUserRequest
- attr_accessor fleet_arn: ::String
- attr_accessor username: ::String
- SENSITIVE: []
- end
-
- class SignOutUserResponse < Aws::EmptyStructure
- end
-
- class TagResourceRequest
- attr_accessor resource_arn: ::String
- attr_accessor tags: ::Hash[::String, ::String]
- SENSITIVE: []
- end
-
- class TagResourceResponse < Aws::EmptyStructure
- end
-
- class TooManyRequestsException
- attr_accessor message: ::String
- SENSITIVE: []
- end
-
- class UnauthorizedException
- attr_accessor message: ::String
- SENSITIVE: []
- end
-
- class UntagResourceRequest
- attr_accessor resource_arn: ::String
- attr_accessor tag_keys: ::Array[::String]
- SENSITIVE: []
- end
-
- class UntagResourceResponse < Aws::EmptyStructure
- end
-
- class UpdateAuditStreamConfigurationRequest
- attr_accessor fleet_arn: ::String
- attr_accessor audit_stream_arn: ::String
- SENSITIVE: []
- end
-
- class UpdateAuditStreamConfigurationResponse < Aws::EmptyStructure
- end
-
- class UpdateCompanyNetworkConfigurationRequest
- attr_accessor fleet_arn: ::String
- attr_accessor vpc_id: ::String
- attr_accessor subnet_ids: ::Array[::String]
- attr_accessor security_group_ids: ::Array[::String]
- SENSITIVE: []
- end
-
- class UpdateCompanyNetworkConfigurationResponse < Aws::EmptyStructure
- end
-
- class UpdateDevicePolicyConfigurationRequest
- attr_accessor fleet_arn: ::String
- attr_accessor device_ca_certificate: ::String
- SENSITIVE: []
- end
-
- class UpdateDevicePolicyConfigurationResponse < Aws::EmptyStructure
- end
-
- class UpdateDomainMetadataRequest
- attr_accessor fleet_arn: ::String
- attr_accessor domain_name: ::String
- attr_accessor display_name: ::String
- SENSITIVE: []
- end
-
- class UpdateDomainMetadataResponse < Aws::EmptyStructure
- end
-
- class UpdateFleetMetadataRequest
- attr_accessor fleet_arn: ::String
- attr_accessor display_name: ::String
- attr_accessor optimize_for_end_user_location: bool
- SENSITIVE: []
- end
-
- class UpdateFleetMetadataResponse < Aws::EmptyStructure
- end
-
- class UpdateIdentityProviderConfigurationRequest
- attr_accessor fleet_arn: ::String
- attr_accessor identity_provider_type: ("SAML")
- attr_accessor identity_provider_saml_metadata: ::String
- SENSITIVE: []
- end
-
- class UpdateIdentityProviderConfigurationResponse < Aws::EmptyStructure
- end
-
- class WebsiteAuthorizationProviderSummary
- attr_accessor authorization_provider_id: ::String
- attr_accessor authorization_provider_type: ("SAML")
- attr_accessor domain_name: ::String
- attr_accessor created_time: ::Time
- SENSITIVE: []
- end
-
- class WebsiteCaSummary
- attr_accessor website_ca_id: ::String
- attr_accessor created_time: ::Time
- attr_accessor display_name: ::String
- SENSITIVE: []
- end
- end
-end
diff --git a/gems/aws-sdk-workmail/CHANGELOG.md b/gems/aws-sdk-workmail/CHANGELOG.md
index 9e18bd4b4a0..f774aa894cc 100644
--- a/gems/aws-sdk-workmail/CHANGELOG.md
+++ b/gems/aws-sdk-workmail/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.73.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.72.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-workmail/VERSION b/gems/aws-sdk-workmail/VERSION
index 0834888f558..5e3a4256626 100644
--- a/gems/aws-sdk-workmail/VERSION
+++ b/gems/aws-sdk-workmail/VERSION
@@ -1 +1 @@
-1.72.0
+1.73.0
diff --git a/gems/aws-sdk-workmail/aws-sdk-workmail.gemspec b/gems/aws-sdk-workmail/aws-sdk-workmail.gemspec
index 0497c607a84..3b6c3b7a735 100644
--- a/gems/aws-sdk-workmail/aws-sdk-workmail.gemspec
+++ b/gems/aws-sdk-workmail/aws-sdk-workmail.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-workmail/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-workmail/lib/aws-sdk-workmail.rb b/gems/aws-sdk-workmail/lib/aws-sdk-workmail.rb
index 49557eab903..8152a1696dd 100644
--- a/gems/aws-sdk-workmail/lib/aws-sdk-workmail.rb
+++ b/gems/aws-sdk-workmail/lib/aws-sdk-workmail.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::WorkMail
- GEM_VERSION = '1.72.0'
+ GEM_VERSION = '1.73.0'
end
diff --git a/gems/aws-sdk-workmail/lib/aws-sdk-workmail/client.rb b/gems/aws-sdk-workmail/lib/aws-sdk-workmail/client.rb
index bef60cd9d5a..fced6211ed4 100644
--- a/gems/aws-sdk-workmail/lib/aws-sdk-workmail/client.rb
+++ b/gems/aws-sdk-workmail/lib/aws-sdk-workmail/client.rb
@@ -4545,7 +4545,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-workmail'
- context[:gem_version] = '1.72.0'
+ context[:gem_version] = '1.73.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-workmail/lib/aws-sdk-workmail/endpoints.rb b/gems/aws-sdk-workmail/lib/aws-sdk-workmail/endpoints.rb
index a26cc0399d1..19405b6d73d 100644
--- a/gems/aws-sdk-workmail/lib/aws-sdk-workmail/endpoints.rb
+++ b/gems/aws-sdk-workmail/lib/aws-sdk-workmail/endpoints.rb
@@ -14,1176 +14,924 @@ module Endpoints
class AssociateDelegateToResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateMemberToGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssumeImpersonationRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CancelMailboxExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAvailabilityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateImpersonationRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateMobileDeviceAccessRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccessControlRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAvailabilityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEmailMonitoringConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteImpersonationRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMailboxPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMobileDeviceAccessOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteMobileDeviceAccessRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteRetentionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterFromWorkMail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterMailDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEmailMonitoringConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeEntity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeInboundDmarcSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeMailboxExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeOrganization
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateDelegateFromResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateMemberFromGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccessControlEffect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDefaultRetentionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImpersonationRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetImpersonationRoleEffect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMailDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMailboxDetails
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMobileDeviceAccessEffect
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetMobileDeviceAccessOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccessControlRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAvailabilityConfigurations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupMembers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListGroupsForEntity
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListImpersonationRoles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMailDomains
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMailboxExportJobs
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMailboxPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMobileDeviceAccessOverrides
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListMobileDeviceAccessRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListOrganizations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourceDelegates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResources
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUsers
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutAccessControlRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEmailMonitoringConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutInboundDmarcSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMailboxPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutMobileDeviceAccessOverride
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRetentionPolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterMailDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterToWorkMail
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ResetPassword
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartMailboxExportJob
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TestAvailabilityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateAvailabilityConfiguration
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDefaultMailDomain
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateImpersonationRole
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMailboxQuota
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateMobileDeviceAccessRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePrimaryEmailAddress
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUser
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMail::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-workmail/lib/aws-sdk-workmail/plugins/endpoints.rb b/gems/aws-sdk-workmail/lib/aws-sdk-workmail/plugins/endpoints.rb
index dbc6ef88e82..61a3bdf5198 100644
--- a/gems/aws-sdk-workmail/lib/aws-sdk-workmail/plugins/endpoints.rb
+++ b/gems/aws-sdk-workmail/lib/aws-sdk-workmail/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-workmail/spec/endpoint_provider_spec.rb b/gems/aws-sdk-workmail/spec/endpoint_provider_spec.rb
index 9b3ba571f36..603d39d307c 100644
--- a/gems/aws-sdk-workmail/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-workmail/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::WorkMail
describe EndpointProvider do
subject { Aws::WorkMail::EndpointProvider.new }
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail.eu-west-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::WorkMail
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::WorkMail
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail.us-west-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::WorkMail
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail-fips.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::WorkMail
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail-fips.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::WorkMail
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail.us-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::WorkMail
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::WorkMail
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::WorkMail
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::WorkMail
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::WorkMail
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::WorkMail
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::WorkMail
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::WorkMail
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::WorkMail
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::WorkMail
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::WorkMail
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::WorkMail
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::WorkMail
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::WorkMail
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::WorkMail
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::WorkMail
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmail.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::WorkMail
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::WorkMail
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::WorkMail
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::WorkMail
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::WorkMail
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-workmailmessageflow/CHANGELOG.md b/gems/aws-sdk-workmailmessageflow/CHANGELOG.md
index af9b9166c69..0cb69718485 100644
--- a/gems/aws-sdk-workmailmessageflow/CHANGELOG.md
+++ b/gems/aws-sdk-workmailmessageflow/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.43.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.42.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-workmailmessageflow/VERSION b/gems/aws-sdk-workmailmessageflow/VERSION
index a50908ca3da..b978278f05f 100644
--- a/gems/aws-sdk-workmailmessageflow/VERSION
+++ b/gems/aws-sdk-workmailmessageflow/VERSION
@@ -1 +1 @@
-1.42.0
+1.43.0
diff --git a/gems/aws-sdk-workmailmessageflow/aws-sdk-workmailmessageflow.gemspec b/gems/aws-sdk-workmailmessageflow/aws-sdk-workmailmessageflow.gemspec
index 15706afd813..e19abb40d5a 100644
--- a/gems/aws-sdk-workmailmessageflow/aws-sdk-workmailmessageflow.gemspec
+++ b/gems/aws-sdk-workmailmessageflow/aws-sdk-workmailmessageflow.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-workmailmessageflow/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow.rb b/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow.rb
index 239cf5a7880..e30bfa21510 100644
--- a/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow.rb
+++ b/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::WorkMailMessageFlow
- GEM_VERSION = '1.42.0'
+ GEM_VERSION = '1.43.0'
end
diff --git a/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/client.rb b/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/client.rb
index 331d419d118..b44d3882698 100644
--- a/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/client.rb
+++ b/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/client.rb
@@ -541,7 +541,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-workmailmessageflow'
- context[:gem_version] = '1.42.0'
+ context[:gem_version] = '1.43.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/endpoints.rb b/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/endpoints.rb
index 2c225a8a1ea..1221940b762 100644
--- a/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/endpoints.rb
+++ b/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/endpoints.rb
@@ -14,28 +14,22 @@ module Endpoints
class GetRawMessageContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMailMessageFlow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutRawMessageContent
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkMailMessageFlow::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/plugins/endpoints.rb b/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/plugins/endpoints.rb
index f89d415d163..66000e183c7 100644
--- a/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/plugins/endpoints.rb
+++ b/gems/aws-sdk-workmailmessageflow/lib/aws-sdk-workmailmessageflow/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-workmailmessageflow/spec/endpoint_provider_spec.rb b/gems/aws-sdk-workmailmessageflow/spec/endpoint_provider_spec.rb
index 3d88dcaebb9..a2e980b9fb8 100644
--- a/gems/aws-sdk-workmailmessageflow/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-workmailmessageflow/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::WorkMailMessageFlow
describe EndpointProvider do
subject { Aws::WorkMailMessageFlow::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workmailmessageflow.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::WorkMailMessageFlow
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-workspaces/CHANGELOG.md b/gems/aws-sdk-workspaces/CHANGELOG.md
index cd927fe99c0..f3e0dbaa601 100644
--- a/gems/aws-sdk-workspaces/CHANGELOG.md
+++ b/gems/aws-sdk-workspaces/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.117.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.116.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-workspaces/VERSION b/gems/aws-sdk-workspaces/VERSION
index 10c8812fe5e..8de9ac240a8 100644
--- a/gems/aws-sdk-workspaces/VERSION
+++ b/gems/aws-sdk-workspaces/VERSION
@@ -1 +1 @@
-1.116.0
+1.117.0
diff --git a/gems/aws-sdk-workspaces/aws-sdk-workspaces.gemspec b/gems/aws-sdk-workspaces/aws-sdk-workspaces.gemspec
index 26ceab41186..2b0293efd33 100644
--- a/gems/aws-sdk-workspaces/aws-sdk-workspaces.gemspec
+++ b/gems/aws-sdk-workspaces/aws-sdk-workspaces.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-workspaces/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces.rb b/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces.rb
index af136cdff4c..aa20e796fac 100644
--- a/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces.rb
+++ b/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::WorkSpaces
- GEM_VERSION = '1.116.0'
+ GEM_VERSION = '1.117.0'
end
diff --git a/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb b/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb
index 557dce6ca41..c7f4cf5be5c 100644
--- a/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb
+++ b/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/client.rb
@@ -4801,7 +4801,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-workspaces'
- context[:gem_version] = '1.116.0'
+ context[:gem_version] = '1.117.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/endpoints.rb b/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/endpoints.rb
index 590db9fa381..eadb1d9dbef 100644
--- a/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/endpoints.rb
+++ b/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/endpoints.rb
@@ -14,1232 +14,968 @@ module Endpoints
class AcceptAccountLinkInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateConnectionAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateIpGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateWorkspaceApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AuthorizeIpRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CopyWorkspaceImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateAccountLinkInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnectClientAddIn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateConnectionAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIpGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateStandbyWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUpdatedWorkspaceImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkspaceBundle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkspaceImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateWorkspacesPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteAccountLinkInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteClientBranding
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnectClientAddIn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteConnectionAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIpGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkspaceBundle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteWorkspaceImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeployWorkspaceApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterWorkspaceDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeAccountModifications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplicationAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeApplications
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeBundleAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClientBranding
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeClientProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnectClientAddIns
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnectionAliasPermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeConnectionAliases
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeImageAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeIpGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeTags
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspaceAssociations
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspaceBundles
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspaceDirectories
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspaceImagePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspaceImages
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspaceSnapshots
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspacesConnectionStatus
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspacesPoolSessions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DescribeWorkspacesPools
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateConnectionAlias
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateIpGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateWorkspaceApplication
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetAccountLink
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportClientBranding
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ImportWorkspaceImage
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAccountLinks
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListAvailableManagementCidrRanges
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class MigrateWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyAccount
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyCertificateBasedAuthProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyClientProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifySamlProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifySelfservicePermissions
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyStreamingProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyWorkspaceAccessProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyWorkspaceCreationProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyWorkspaceProperties
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ModifyWorkspaceState
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebootWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RebuildWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RegisterWorkspaceDirectory
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RejectAccountLinkInvitation
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RestoreWorkspace
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class RevokeIpRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StartWorkspacesPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class StopWorkspacesPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateWorkspaces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateWorkspacesPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TerminateWorkspacesPoolSession
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnectClientAddIn
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateConnectionAliasPermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateRulesOfIpGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkspaceBundle
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkspaceImagePermission
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateWorkspacesPool
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpaces::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/plugins/endpoints.rb b/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/plugins/endpoints.rb
index d9c47b88f01..557427d9ebe 100644
--- a/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/plugins/endpoints.rb
+++ b/gems/aws-sdk-workspaces/lib/aws-sdk-workspaces/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-workspaces/spec/endpoint_provider_spec.rb b/gems/aws-sdk-workspaces/spec/endpoint_provider_spec.rb
index 5034a3b93b5..95625038a27 100644
--- a/gems/aws-sdk-workspaces/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-workspaces/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::WorkSpaces
describe EndpointProvider do
subject { Aws::WorkSpaces::EndpointProvider.new }
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.ap-northeast-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::WorkSpaces
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.ap-northeast-2.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::WorkSpaces
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.ap-south-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::WorkSpaces
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.ap-southeast-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::WorkSpaces
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.ap-southeast-2.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::WorkSpaces
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.ca-central-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::WorkSpaces
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.eu-central-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::WorkSpaces
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.eu-west-1.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::WorkSpaces
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.eu-west-2.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::WorkSpaces
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.sa-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.us-east-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-fips.us-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.us-west-2.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-fips.us-west-2.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-fips.us-east-1.api.aws"}}
end
@@ -224,7 +224,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.us-east-1.api.aws"}}
end
@@ -238,7 +238,7 @@ module Aws::WorkSpaces
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -252,7 +252,7 @@ module Aws::WorkSpaces
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -266,7 +266,7 @@ module Aws::WorkSpaces
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -280,7 +280,7 @@ module Aws::WorkSpaces
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -294,7 +294,7 @@ module Aws::WorkSpaces
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.cn-north-1.amazonaws.com.cn"}}
end
@@ -308,7 +308,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.us-gov-west-1.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-fips.us-gov-east-1.api.aws"}}
end
@@ -350,7 +350,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.us-gov-east-1.api.aws"}}
end
@@ -378,7 +378,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.us-gov-east-1.amazonaws.com"}}
end
@@ -392,7 +392,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.us-iso-east-1.c2s.ic.gov"}}
end
@@ -406,7 +406,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -419,7 +419,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -433,7 +433,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -446,7 +446,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -460,7 +460,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -473,7 +473,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -487,7 +487,7 @@ module Aws::WorkSpaces
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -500,7 +500,7 @@ module Aws::WorkSpaces
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -514,7 +514,7 @@ module Aws::WorkSpaces
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -528,7 +528,7 @@ module Aws::WorkSpaces
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -541,7 +541,7 @@ module Aws::WorkSpaces
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -554,7 +554,7 @@ module Aws::WorkSpaces
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-workspacesthinclient/CHANGELOG.md b/gems/aws-sdk-workspacesthinclient/CHANGELOG.md
index 464cc5ddbc9..e216ad88430 100644
--- a/gems/aws-sdk-workspacesthinclient/CHANGELOG.md
+++ b/gems/aws-sdk-workspacesthinclient/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.14.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.13.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-workspacesthinclient/VERSION b/gems/aws-sdk-workspacesthinclient/VERSION
index feaae22bac7..850e742404b 100644
--- a/gems/aws-sdk-workspacesthinclient/VERSION
+++ b/gems/aws-sdk-workspacesthinclient/VERSION
@@ -1 +1 @@
-1.13.0
+1.14.0
diff --git a/gems/aws-sdk-workspacesthinclient/aws-sdk-workspacesthinclient.gemspec b/gems/aws-sdk-workspacesthinclient/aws-sdk-workspacesthinclient.gemspec
index ff6dc96db53..a727e9f8000 100644
--- a/gems/aws-sdk-workspacesthinclient/aws-sdk-workspacesthinclient.gemspec
+++ b/gems/aws-sdk-workspacesthinclient/aws-sdk-workspacesthinclient.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-workspacesthinclient/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient.rb b/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient.rb
index 3b302948d04..9c486f14a6c 100644
--- a/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient.rb
+++ b/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::WorkSpacesThinClient
- GEM_VERSION = '1.13.0'
+ GEM_VERSION = '1.14.0'
end
diff --git a/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb b/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb
index d06e796cfb6..6c21ed5abfd 100644
--- a/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb
+++ b/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/client.rb
@@ -1306,7 +1306,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-workspacesthinclient'
- context[:gem_version] = '1.13.0'
+ context[:gem_version] = '1.14.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/endpoints.rb b/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/endpoints.rb
index 3f6ec141366..e9297a0e8a0 100644
--- a/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/endpoints.rb
+++ b/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/endpoints.rb
@@ -14,224 +14,176 @@ module Endpoints
class CreateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeregisterDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSoftwareSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListDevices
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListEnvironments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListSoftwareSets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateDevice
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateEnvironment
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSoftwareSet
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesThinClient::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/plugins/endpoints.rb b/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/plugins/endpoints.rb
index 2785be91453..9f8729fae91 100644
--- a/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/plugins/endpoints.rb
+++ b/gems/aws-sdk-workspacesthinclient/lib/aws-sdk-workspacesthinclient/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-workspacesthinclient/spec/endpoint_provider_spec.rb b/gems/aws-sdk-workspacesthinclient/spec/endpoint_provider_spec.rb
index 2e8c789fd77..d302d96064b 100644
--- a/gems/aws-sdk-workspacesthinclient/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-workspacesthinclient/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::WorkSpacesThinClient
describe EndpointProvider do
subject { Aws::WorkSpacesThinClient::EndpointProvider.new }
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient-fips.us-east-1.api.aws"}}
end
@@ -28,7 +28,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient-fips.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient.us-east-1.api.aws"}}
end
@@ -56,7 +56,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient.us-east-1.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -84,7 +84,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -98,7 +98,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient-fips.us-gov-east-1.api.aws"}}
end
@@ -140,7 +140,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -195,7 +195,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -209,7 +209,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -222,7 +222,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient.us-iso-east-1.c2s.ic.gov"}}
end
@@ -236,7 +236,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -249,7 +249,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -263,7 +263,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -276,7 +276,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://thinclient.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -290,7 +290,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -304,7 +304,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -318,7 +318,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -331,7 +331,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -344,7 +344,7 @@ module Aws::WorkSpacesThinClient
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-workspacesweb/CHANGELOG.md b/gems/aws-sdk-workspacesweb/CHANGELOG.md
index 0c34bec0f9e..b8ede721886 100644
--- a/gems/aws-sdk-workspacesweb/CHANGELOG.md
+++ b/gems/aws-sdk-workspacesweb/CHANGELOG.md
@@ -1,6 +1,16 @@
Unreleased Changes
------------------
+1.30.0 (2024-09-19)
+------------------
+
+* Feature - WorkSpaces Secure Browser now enables Administrators to view and manage end-user browsing sessions via Session Management APIs.
+
+1.29.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.28.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-workspacesweb/VERSION b/gems/aws-sdk-workspacesweb/VERSION
index cfc730712d5..034552a83ee 100644
--- a/gems/aws-sdk-workspacesweb/VERSION
+++ b/gems/aws-sdk-workspacesweb/VERSION
@@ -1 +1 @@
-1.28.0
+1.30.0
diff --git a/gems/aws-sdk-workspacesweb/aws-sdk-workspacesweb.gemspec b/gems/aws-sdk-workspacesweb/aws-sdk-workspacesweb.gemspec
index 411a74c7a93..e1dfc079ed3 100644
--- a/gems/aws-sdk-workspacesweb/aws-sdk-workspacesweb.gemspec
+++ b/gems/aws-sdk-workspacesweb/aws-sdk-workspacesweb.gemspec
@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-workspacesweb/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
- spec.add_dependency('aws-sigv4', '~> 1.1')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
+ spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
end
diff --git a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb.rb b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb.rb
index 7748c553efe..40affc15039 100644
--- a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb.rb
+++ b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::WorkSpacesWeb
- GEM_VERSION = '1.28.0'
+ GEM_VERSION = '1.30.0'
end
diff --git a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client.rb b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client.rb
index 2821cb48c7e..53144082f5c 100644
--- a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client.rb
+++ b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client.rb
@@ -1005,10 +1005,9 @@ def create_network_settings(params = {}, options = {})
# provider.
#
# `IAM Identity Center` web portals are authenticated through IAM
- # Identity Center (successor to Single Sign-On). Identity sources
- # (including external identity provider integration), plus user and
- # group access to your web portal, can be configured in the IAM Identity
- # Center.
+ # Identity Center. Identity sources (including external identity
+ # provider integration), plus user and group access to your web portal,
+ # can be configured in the IAM Identity Center.
#
# @option params [String] :client_token
# A unique, case-sensitive identifier that you provide to ensure the
@@ -1618,6 +1617,32 @@ def disassociate_user_settings(params = {}, options = {})
req.send_request(options)
end
+ # Expires an active secure browser session.
+ #
+ # @option params [required, String] :portal_id
+ # The ID of the web portal for the session.
+ #
+ # @option params [required, String] :session_id
+ # The ID of the session to expire.
+ #
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.expire_session({
+ # portal_id: "PortalId", # required
+ # session_id: "SessionId", # required
+ # })
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ExpireSession AWS API Documentation
+ #
+ # @overload expire_session(params = {})
+ # @param [Hash] params ({})
+ def expire_session(params = {}, options = {})
+ req = build_request(:expire_session, params)
+ req.send_request(options)
+ end
+
# Gets browser settings.
#
# @option params [required, String] :browser_settings_arn
@@ -1835,6 +1860,45 @@ def get_portal_service_provider_metadata(params = {}, options = {})
req.send_request(options)
end
+ # Gets information for a secure browser session.
+ #
+ # @option params [required, String] :portal_id
+ # The ID of the web portal for the session.
+ #
+ # @option params [required, String] :session_id
+ # The ID of the session.
+ #
+ # @return [Types::GetSessionResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::GetSessionResponse#session #session} => Types::Session
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.get_session({
+ # portal_id: "PortalId", # required
+ # session_id: "SessionId", # required
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.session.client_ip_addresses #=> Array
+ # resp.session.client_ip_addresses[0] #=> String
+ # resp.session.end_time #=> Time
+ # resp.session.portal_arn #=> String
+ # resp.session.session_id #=> String
+ # resp.session.start_time #=> Time
+ # resp.session.status #=> String, one of "Active", "Terminated"
+ # resp.session.username #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetSession AWS API Documentation
+ #
+ # @overload get_session(params = {})
+ # @param [Hash] params ({})
+ def get_session(params = {}, options = {})
+ req = build_request(:get_session, params)
+ req.send_request(options)
+ end
+
# Gets the trust store.
#
# @option params [required, String] :trust_store_arn
@@ -2199,6 +2263,70 @@ def list_portals(params = {}, options = {})
req.send_request(options)
end
+ # Lists information for multiple secure browser sessions from a specific
+ # portal.
+ #
+ # @option params [Integer] :max_results
+ # The maximum number of results to be included in the next page.
+ #
+ # @option params [String] :next_token
+ # The pagination token used to retrieve the next page of results for
+ # this operation.
+ #
+ # @option params [required, String] :portal_id
+ # The ID of the web portal for the sessions.
+ #
+ # @option params [String] :session_id
+ # The ID of the session.
+ #
+ # @option params [String] :sort_by
+ # The method in which the returned sessions should be sorted.
+ #
+ # @option params [String] :status
+ # The status of the session.
+ #
+ # @option params [String] :username
+ # The username of the session.
+ #
+ # @return [Types::ListSessionsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
+ #
+ # * {Types::ListSessionsResponse#next_token #next_token} => String
+ # * {Types::ListSessionsResponse#sessions #sessions} => Array<Types::SessionSummary>
+ #
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
+ #
+ # @example Request syntax with placeholder values
+ #
+ # resp = client.list_sessions({
+ # max_results: 1,
+ # next_token: "PaginationToken",
+ # portal_id: "PortalId", # required
+ # session_id: "SessionId",
+ # sort_by: "StartTimeAscending", # accepts StartTimeAscending, StartTimeDescending
+ # status: "Active", # accepts Active, Terminated
+ # username: "Username",
+ # })
+ #
+ # @example Response structure
+ #
+ # resp.next_token #=> String
+ # resp.sessions #=> Array
+ # resp.sessions[0].end_time #=> Time
+ # resp.sessions[0].portal_arn #=> String
+ # resp.sessions[0].session_id #=> String
+ # resp.sessions[0].start_time #=> Time
+ # resp.sessions[0].status #=> String, one of "Active", "Terminated"
+ # resp.sessions[0].username #=> String
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListSessions AWS API Documentation
+ #
+ # @overload list_sessions(params = {})
+ # @param [Hash] params ({})
+ def list_sessions(params = {}, options = {})
+ req = build_request(:list_sessions, params)
+ req.send_request(options)
+ end
+
# Retrieves a list of tags for a resource.
#
# @option params [required, String] :resource_arn
@@ -2807,10 +2935,9 @@ def update_network_settings(params = {}, options = {})
# provider.
#
# `IAM Identity Center` web portals are authenticated through IAM
- # Identity Center (successor to Single Sign-On). Identity sources
- # (including external identity provider integration), plus user and
- # group access to your web portal, can be configured in the IAM Identity
- # Center.
+ # Identity Center. Identity sources (including external identity
+ # provider integration), plus user and group access to your web portal,
+ # can be configured in the IAM Identity Center.
#
# @option params [String] :display_name
# The name of the web portal. This is not visible to users who log into
@@ -3114,7 +3241,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-workspacesweb'
- context[:gem_version] = '1.28.0'
+ context[:gem_version] = '1.30.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client_api.rb b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client_api.rb
index fdca1b5bf2d..ebe77e2b048 100644
--- a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client_api.rb
+++ b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/client_api.rb
@@ -100,6 +100,8 @@ module ClientApi
EnabledType = Shapes::StringShape.new(name: 'EnabledType')
EncryptionContextMap = Shapes::MapShape.new(name: 'EncryptionContextMap')
ExceptionMessage = Shapes::StringShape.new(name: 'ExceptionMessage')
+ ExpireSessionRequest = Shapes::StructureShape.new(name: 'ExpireSessionRequest')
+ ExpireSessionResponse = Shapes::StructureShape.new(name: 'ExpireSessionResponse')
FieldName = Shapes::StringShape.new(name: 'FieldName')
GetBrowserSettingsRequest = Shapes::StructureShape.new(name: 'GetBrowserSettingsRequest')
GetBrowserSettingsResponse = Shapes::StructureShape.new(name: 'GetBrowserSettingsResponse')
@@ -113,6 +115,8 @@ module ClientApi
GetPortalResponse = Shapes::StructureShape.new(name: 'GetPortalResponse')
GetPortalServiceProviderMetadataRequest = Shapes::StructureShape.new(name: 'GetPortalServiceProviderMetadataRequest')
GetPortalServiceProviderMetadataResponse = Shapes::StructureShape.new(name: 'GetPortalServiceProviderMetadataResponse')
+ GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
+ GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
GetTrustStoreCertificateRequest = Shapes::StructureShape.new(name: 'GetTrustStoreCertificateRequest')
GetTrustStoreCertificateResponse = Shapes::StructureShape.new(name: 'GetTrustStoreCertificateResponse')
GetTrustStoreRequest = Shapes::StructureShape.new(name: 'GetTrustStoreRequest')
@@ -133,6 +137,8 @@ module ClientApi
IpAccessSettings = Shapes::StructureShape.new(name: 'IpAccessSettings')
IpAccessSettingsList = Shapes::ListShape.new(name: 'IpAccessSettingsList')
IpAccessSettingsSummary = Shapes::StructureShape.new(name: 'IpAccessSettingsSummary')
+ IpAddress = Shapes::StringShape.new(name: 'IpAddress')
+ IpAddressList = Shapes::ListShape.new(name: 'IpAddressList')
IpRange = Shapes::StringShape.new(name: 'IpRange')
IpRule = Shapes::StructureShape.new(name: 'IpRule')
IpRuleList = Shapes::ListShape.new(name: 'IpRuleList')
@@ -147,6 +153,8 @@ module ClientApi
ListNetworkSettingsResponse = Shapes::StructureShape.new(name: 'ListNetworkSettingsResponse')
ListPortalsRequest = Shapes::StructureShape.new(name: 'ListPortalsRequest')
ListPortalsResponse = Shapes::StructureShape.new(name: 'ListPortalsResponse')
+ ListSessionsRequest = Shapes::StructureShape.new(name: 'ListSessionsRequest')
+ ListSessionsResponse = Shapes::StructureShape.new(name: 'ListSessionsResponse')
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
ListTrustStoreCertificatesRequest = Shapes::StructureShape.new(name: 'ListTrustStoreCertificatesRequest')
@@ -165,6 +173,7 @@ module ClientApi
PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
Portal = Shapes::StructureShape.new(name: 'Portal')
PortalEndpoint = Shapes::StringShape.new(name: 'PortalEndpoint')
+ PortalId = Shapes::StringShape.new(name: 'PortalId')
PortalList = Shapes::ListShape.new(name: 'PortalList')
PortalStatus = Shapes::StringShape.new(name: 'PortalStatus')
PortalSummary = Shapes::StructureShape.new(name: 'PortalSummary')
@@ -179,6 +188,12 @@ module ClientApi
SecurityGroupIdList = Shapes::ListShape.new(name: 'SecurityGroupIdList')
ServiceCode = Shapes::StringShape.new(name: 'ServiceCode')
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
+ Session = Shapes::StructureShape.new(name: 'Session')
+ SessionId = Shapes::StringShape.new(name: 'SessionId')
+ SessionSortBy = Shapes::StringShape.new(name: 'SessionSortBy')
+ SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
+ SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
+ SessionSummaryList = Shapes::ListShape.new(name: 'SessionSummaryList')
StatusReason = Shapes::StringShape.new(name: 'StatusReason')
StringType = Shapes::StringShape.new(name: 'StringType')
SubnetId = Shapes::StringShape.new(name: 'SubnetId')
@@ -222,6 +237,7 @@ module ClientApi
UserSettings = Shapes::StructureShape.new(name: 'UserSettings')
UserSettingsList = Shapes::ListShape.new(name: 'UserSettingsList')
UserSettingsSummary = Shapes::StructureShape.new(name: 'UserSettingsSummary')
+ Username = Shapes::StringShape.new(name: 'Username')
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
@@ -495,6 +511,12 @@ module ClientApi
EncryptionContextMap.key = Shapes::ShapeRef.new(shape: StringType)
EncryptionContextMap.value = Shapes::ShapeRef.new(shape: StringType)
+ ExpireSessionRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: PortalId, required: true, location: "uri", location_name: "portalId"))
+ ExpireSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
+ ExpireSessionRequest.struct_class = Types::ExpireSessionRequest
+
+ ExpireSessionResponse.struct_class = Types::ExpireSessionResponse
+
GetBrowserSettingsRequest.add_member(:browser_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "browserSettingsArn"))
GetBrowserSettingsRequest.struct_class = Types::GetBrowserSettingsRequest
@@ -532,6 +554,13 @@ module ClientApi
GetPortalServiceProviderMetadataResponse.add_member(:service_provider_saml_metadata, Shapes::ShapeRef.new(shape: SamlMetadata, location_name: "serviceProviderSamlMetadata"))
GetPortalServiceProviderMetadataResponse.struct_class = Types::GetPortalServiceProviderMetadataResponse
+ GetSessionRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: PortalId, required: true, location: "uri", location_name: "portalId"))
+ GetSessionRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
+ GetSessionRequest.struct_class = Types::GetSessionRequest
+
+ GetSessionResponse.add_member(:session, Shapes::ShapeRef.new(shape: Session, location_name: "session"))
+ GetSessionResponse.struct_class = Types::GetSessionResponse
+
GetTrustStoreCertificateRequest.add_member(:thumbprint, Shapes::ShapeRef.new(shape: CertificateThumbprint, required: true, location: "querystring", location_name: "thumbprint"))
GetTrustStoreCertificateRequest.add_member(:trust_store_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "trustStoreArn"))
GetTrustStoreCertificateRequest.struct_class = Types::GetTrustStoreCertificateRequest
@@ -596,6 +625,8 @@ module ClientApi
IpAccessSettingsSummary.add_member(:ip_access_settings_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location_name: "ipAccessSettingsArn"))
IpAccessSettingsSummary.struct_class = Types::IpAccessSettingsSummary
+ IpAddressList.member = Shapes::ShapeRef.new(shape: IpAddress)
+
IpRule.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
IpRule.add_member(:ip_range, Shapes::ShapeRef.new(shape: IpRange, required: true, location_name: "ipRange"))
IpRule.struct_class = Types::IpRule
@@ -643,6 +674,19 @@ module ClientApi
ListPortalsResponse.add_member(:portals, Shapes::ShapeRef.new(shape: PortalList, location_name: "portals"))
ListPortalsResponse.struct_class = Types::ListPortalsResponse
+ ListSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
+ ListSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location: "querystring", location_name: "nextToken"))
+ ListSessionsRequest.add_member(:portal_id, Shapes::ShapeRef.new(shape: PortalId, required: true, location: "uri", location_name: "portalId"))
+ ListSessionsRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location: "querystring", location_name: "sessionId"))
+ ListSessionsRequest.add_member(:sort_by, Shapes::ShapeRef.new(shape: SessionSortBy, location: "querystring", location_name: "sortBy"))
+ ListSessionsRequest.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location: "querystring", location_name: "status"))
+ ListSessionsRequest.add_member(:username, Shapes::ShapeRef.new(shape: Username, location: "querystring", location_name: "username"))
+ ListSessionsRequest.struct_class = Types::ListSessionsRequest
+
+ ListSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
+ ListSessionsResponse.add_member(:sessions, Shapes::ShapeRef.new(shape: SessionSummaryList, required: true, location_name: "sessions"))
+ ListSessionsResponse.struct_class = Types::ListSessionsResponse
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ARN, required: true, location: "uri", location_name: "resourceArn"))
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
@@ -751,6 +795,25 @@ module ClientApi
ServiceQuotaExceededException.add_member(:service_code, Shapes::ShapeRef.new(shape: ServiceCode, location_name: "serviceCode"))
ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
+ Session.add_member(:client_ip_addresses, Shapes::ShapeRef.new(shape: IpAddressList, location_name: "clientIpAddresses"))
+ Session.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
+ Session.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "portalArn"))
+ Session.add_member(:session_id, Shapes::ShapeRef.new(shape: StringType, location_name: "sessionId"))
+ Session.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
+ Session.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "status"))
+ Session.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "username"))
+ Session.struct_class = Types::Session
+
+ SessionSummary.add_member(:end_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "endTime"))
+ SessionSummary.add_member(:portal_arn, Shapes::ShapeRef.new(shape: ARN, location_name: "portalArn"))
+ SessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: StringType, location_name: "sessionId"))
+ SessionSummary.add_member(:start_time, Shapes::ShapeRef.new(shape: Timestamp, location_name: "startTime"))
+ SessionSummary.add_member(:status, Shapes::ShapeRef.new(shape: SessionStatus, location_name: "status"))
+ SessionSummary.add_member(:username, Shapes::ShapeRef.new(shape: Username, location_name: "username"))
+ SessionSummary.struct_class = Types::SessionSummary
+
+ SessionSummaryList.member = Shapes::ShapeRef.new(shape: SessionSummary)
+
SubnetIdList.member = Shapes::ShapeRef.new(shape: SubnetId)
Tag.add_member(:key, Shapes::ShapeRef.new(shape: TagKey, required: true, location_name: "Key"))
@@ -933,9 +996,11 @@ module ClientApi
api.metadata = {
"apiVersion" => "2020-07-08",
+ "auth" => ["aws.auth#sigv4"],
"endpointPrefix" => "workspaces-web",
"jsonVersion" => "1.1",
"protocol" => "rest-json",
+ "protocols" => ["rest-json"],
"serviceFullName" => "Amazon WorkSpaces Web",
"serviceId" => "WorkSpaces Web",
"signatureVersion" => "v4",
@@ -1330,6 +1395,19 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
end)
+ api.add_operation(:expire_session, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ExpireSession"
+ o.http_method = "DELETE"
+ o.http_request_uri = "/portals/{portalId}/sessions/{sessionId}"
+ o.input = Shapes::ShapeRef.new(shape: ExpireSessionRequest)
+ o.output = Shapes::ShapeRef.new(shape: ExpireSessionResponse)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ end)
+
api.add_operation(:get_browser_settings, Seahorse::Model::Operation.new.tap do |o|
o.name = "GetBrowserSettings"
o.http_method = "GET"
@@ -1408,6 +1486,19 @@ module ClientApi
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
end)
+ api.add_operation(:get_session, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "GetSession"
+ o.http_method = "GET"
+ o.http_request_uri = "/portals/{portalId}/sessions/{sessionId}"
+ o.input = Shapes::ShapeRef.new(shape: GetSessionRequest)
+ o.output = Shapes::ShapeRef.new(shape: GetSessionResponse)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ end)
+
api.add_operation(:get_trust_store, Seahorse::Model::Operation.new.tap do |o|
o.name = "GetTrustStore"
o.http_method = "GET"
@@ -1550,6 +1641,25 @@ module ClientApi
)
end)
+ api.add_operation(:list_sessions, Seahorse::Model::Operation.new.tap do |o|
+ o.name = "ListSessions"
+ o.http_method = "GET"
+ o.http_request_uri = "/portals/{portalId}/sessions"
+ o.input = Shapes::ShapeRef.new(shape: ListSessionsRequest)
+ o.output = Shapes::ShapeRef.new(shape: ListSessionsResponse)
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
+ o[:pager] = Aws::Pager.new(
+ limit_key: "max_results",
+ tokens: {
+ "next_token" => "next_token"
+ }
+ )
+ end)
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
o.name = "ListTagsForResource"
o.http_method = "GET"
diff --git a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/endpoints.rb b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/endpoints.rb
index 0b63dd65574..43bc6b5d42c 100644
--- a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/endpoints.rb
+++ b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/endpoints.rb
@@ -14,812 +14,671 @@ module Endpoints
class AssociateBrowserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateIpAccessSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateNetworkSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateTrustStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateUserAccessLoggingSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class AssociateUserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateBrowserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIdentityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateIpAccessSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateNetworkSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreatePortal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateTrustStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserAccessLoggingSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateUserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteBrowserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIdentityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteIpAccessSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteNetworkSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeletePortal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteTrustStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserAccessLoggingSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteUserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateBrowserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateIpAccessSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateNetworkSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateTrustStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateUserAccessLoggingSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DisassociateUserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ExpireSession
+ def self.build(context)
+ Aws::WorkSpacesWeb::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetBrowserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIdentityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetIpAccessSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetNetworkSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPortal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetPortalServiceProviderMetadata
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class GetSession
+ def self.build(context)
+ Aws::WorkSpacesWeb::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrustStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTrustStoreCertificate
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserAccessLoggingSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetUserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListBrowserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIdentityProviders
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListIpAccessSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListNetworkSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListPortals
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
+ )
+ end
+ end
+
+ class ListSessions
+ def self.build(context)
+ Aws::WorkSpacesWeb::EndpointParameters.new(
+ region: context.config.region,
+ use_dual_stack: context.config.use_dualstack_endpoint,
+ use_fips: context.config.use_fips_endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrustStoreCertificates
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTrustStores
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserAccessLoggingSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListUserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateBrowserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIdentityProvider
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateIpAccessSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateNetworkSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdatePortal
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateTrustStore
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserAccessLoggingSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateUserSettings
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::WorkSpacesWeb::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/plugins/endpoints.rb b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/plugins/endpoints.rb
index ba0f391e8ff..5551f82663e 100644
--- a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/plugins/endpoints.rb
+++ b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
@@ -114,6 +123,8 @@ def parameters_for_operation(context)
Aws::WorkSpacesWeb::Endpoints::DisassociateUserAccessLoggingSettings.build(context)
when :disassociate_user_settings
Aws::WorkSpacesWeb::Endpoints::DisassociateUserSettings.build(context)
+ when :expire_session
+ Aws::WorkSpacesWeb::Endpoints::ExpireSession.build(context)
when :get_browser_settings
Aws::WorkSpacesWeb::Endpoints::GetBrowserSettings.build(context)
when :get_identity_provider
@@ -126,6 +137,8 @@ def parameters_for_operation(context)
Aws::WorkSpacesWeb::Endpoints::GetPortal.build(context)
when :get_portal_service_provider_metadata
Aws::WorkSpacesWeb::Endpoints::GetPortalServiceProviderMetadata.build(context)
+ when :get_session
+ Aws::WorkSpacesWeb::Endpoints::GetSession.build(context)
when :get_trust_store
Aws::WorkSpacesWeb::Endpoints::GetTrustStore.build(context)
when :get_trust_store_certificate
@@ -144,6 +157,8 @@ def parameters_for_operation(context)
Aws::WorkSpacesWeb::Endpoints::ListNetworkSettings.build(context)
when :list_portals
Aws::WorkSpacesWeb::Endpoints::ListPortals.build(context)
+ when :list_sessions
+ Aws::WorkSpacesWeb::Endpoints::ListSessions.build(context)
when :list_tags_for_resource
Aws::WorkSpacesWeb::Endpoints::ListTagsForResource.build(context)
when :list_trust_store_certificates
diff --git a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb
index dfdb698bd1c..9c974705d85 100644
--- a/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb
+++ b/gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb
@@ -749,10 +749,9 @@ class CreateNetworkSettingsResponse < Struct.new(
# provider.
#
# `IAM Identity Center` web portals are authenticated through IAM
- # Identity Center (successor to Single Sign-On). Identity sources
- # (including external identity provider integration), plus user and
- # group access to your web portal, can be configured in the IAM
- # Identity Center.
+ # Identity Center. Identity sources (including external identity
+ # provider integration), plus user and group access to your web
+ # portal, can be configured in the IAM Identity Center.
# @return [String]
#
# @!attribute [rw] client_token
@@ -1246,6 +1245,27 @@ class DisassociateUserSettingsRequest < Struct.new(
#
class DisassociateUserSettingsResponse < Aws::EmptyStructure; end
+ # @!attribute [rw] portal_id
+ # The ID of the web portal for the session.
+ # @return [String]
+ #
+ # @!attribute [rw] session_id
+ # The ID of the session to expire.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ExpireSessionRequest AWS API Documentation
+ #
+ class ExpireSessionRequest < Struct.new(
+ :portal_id,
+ :session_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ExpireSessionResponse AWS API Documentation
+ #
+ class ExpireSessionResponse < Aws::EmptyStructure; end
+
# @!attribute [rw] browser_settings_arn
# The ARN of the browser settings.
# @return [String]
@@ -1395,6 +1415,35 @@ class GetPortalServiceProviderMetadataResponse < Struct.new(
include Aws::Structure
end
+ # @!attribute [rw] portal_id
+ # The ID of the web portal for the session.
+ # @return [String]
+ #
+ # @!attribute [rw] session_id
+ # The ID of the session.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetSessionRequest AWS API Documentation
+ #
+ class GetSessionRequest < Struct.new(
+ :portal_id,
+ :session_id)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] session
+ # The sessions in a list.
+ # @return [Types::Session]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/GetSessionResponse AWS API Documentation
+ #
+ class GetSessionResponse < Struct.new(
+ :session)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# @!attribute [rw] thumbprint
# The thumbprint of the trust store certificate.
# @return [String]
@@ -1925,6 +1974,67 @@ class ListPortalsResponse < Struct.new(
include Aws::Structure
end
+ # @!attribute [rw] max_results
+ # The maximum number of results to be included in the next page.
+ # @return [Integer]
+ #
+ # @!attribute [rw] next_token
+ # The pagination token used to retrieve the next page of results for
+ # this operation.
+ # @return [String]
+ #
+ # @!attribute [rw] portal_id
+ # The ID of the web portal for the sessions.
+ # @return [String]
+ #
+ # @!attribute [rw] session_id
+ # The ID of the session.
+ # @return [String]
+ #
+ # @!attribute [rw] sort_by
+ # The method in which the returned sessions should be sorted.
+ # @return [String]
+ #
+ # @!attribute [rw] status
+ # The status of the session.
+ # @return [String]
+ #
+ # @!attribute [rw] username
+ # The username of the session.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListSessionsRequest AWS API Documentation
+ #
+ class ListSessionsRequest < Struct.new(
+ :max_results,
+ :next_token,
+ :portal_id,
+ :session_id,
+ :sort_by,
+ :status,
+ :username)
+ SENSITIVE = [:username]
+ include Aws::Structure
+ end
+
+ # @!attribute [rw] next_token
+ # The pagination token used to retrieve the next page of results for
+ # this operation.
+ # @return [String]
+ #
+ # @!attribute [rw] sessions
+ # The sessions in a list.
+ # @return [Array]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/ListSessionsResponse AWS API Documentation
+ #
+ class ListSessionsResponse < Struct.new(
+ :next_token,
+ :sessions)
+ SENSITIVE = []
+ include Aws::Structure
+ end
+
# @!attribute [rw] resource_arn
# The ARN of the resource.
# @return [String]
@@ -2179,10 +2289,9 @@ class NetworkSettingsSummary < Struct.new(
# provider.
#
# `IAM Identity Center` web portals are authenticated through IAM
- # Identity Center (successor to Single Sign-On). Identity sources
- # (including external identity provider integration), plus user and
- # group access to your web portal, can be configured in the IAM
- # Identity Center.
+ # Identity Center. Identity sources (including external identity
+ # provider integration), plus user and group access to your web
+ # portal, can be configured in the IAM Identity Center.
# @return [String]
#
# @!attribute [rw] browser_settings_arn
@@ -2297,10 +2406,9 @@ class Portal < Struct.new(
# provider.
#
# `IAM Identity Center` web portals are authenticated through IAM
- # Identity Center (successor to Single Sign-On). Identity sources
- # (including external identity provider integration), plus user and
- # group access to your web portal, can be configured in the IAM
- # Identity Center.
+ # Identity Center. Identity sources (including external identity
+ # provider integration), plus user and group access to your web
+ # portal, can be configured in the IAM Identity Center.
# @return [String]
#
# @!attribute [rw] browser_settings_arn
@@ -2446,6 +2554,89 @@ class ServiceQuotaExceededException < Struct.new(
include Aws::Structure
end
+ # Information about a secure browser session.
+ #
+ # @!attribute [rw] client_ip_addresses
+ # The IP address of the client.
+ # @return [Array]
+ #
+ # @!attribute [rw] end_time
+ # The end time of the session.
+ # @return [Time]
+ #
+ # @!attribute [rw] portal_arn
+ # The ARN of the web portal.
+ # @return [String]
+ #
+ # @!attribute [rw] session_id
+ # The ID of the session.
+ # @return [String]
+ #
+ # @!attribute [rw] start_time
+ # The start time of the session.
+ # @return [Time]
+ #
+ # @!attribute [rw] status
+ # The status of the session.
+ # @return [String]
+ #
+ # @!attribute [rw] username
+ # The username of the session.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/Session AWS API Documentation
+ #
+ class Session < Struct.new(
+ :client_ip_addresses,
+ :end_time,
+ :portal_arn,
+ :session_id,
+ :start_time,
+ :status,
+ :username)
+ SENSITIVE = [:client_ip_addresses, :username]
+ include Aws::Structure
+ end
+
+ # Summary information about a secure browser session.
+ #
+ # @!attribute [rw] end_time
+ # The end time of the session.
+ # @return [Time]
+ #
+ # @!attribute [rw] portal_arn
+ # The ARN of the web portal.
+ # @return [String]
+ #
+ # @!attribute [rw] session_id
+ # The ID of the session.
+ # @return [String]
+ #
+ # @!attribute [rw] start_time
+ # The start time of the session.
+ # @return [Time]
+ #
+ # @!attribute [rw] status
+ # The status of the session.
+ # @return [String]
+ #
+ # @!attribute [rw] username
+ # The username of the session.
+ # @return [String]
+ #
+ # @see http://docs.aws.amazon.com/goto/WebAPI/workspaces-web-2020-07-08/SessionSummary AWS API Documentation
+ #
+ class SessionSummary < Struct.new(
+ :end_time,
+ :portal_arn,
+ :session_id,
+ :start_time,
+ :status,
+ :username)
+ SENSITIVE = [:username]
+ include Aws::Structure
+ end
+
# The tag.
#
# @!attribute [rw] key
@@ -2897,10 +3088,9 @@ class UpdateNetworkSettingsResponse < Struct.new(
# provider.
#
# `IAM Identity Center` web portals are authenticated through IAM
- # Identity Center (successor to Single Sign-On). Identity sources
- # (including external identity provider integration), plus user and
- # group access to your web portal, can be configured in the IAM
- # Identity Center.
+ # Identity Center. Identity sources (including external identity
+ # provider integration), plus user and group access to your web
+ # portal, can be configured in the IAM Identity Center.
# @return [String]
#
# @!attribute [rw] display_name
diff --git a/gems/aws-sdk-workspacesweb/sig/client.rbs b/gems/aws-sdk-workspacesweb/sig/client.rbs
index 85eda5c134a..407e9f32f7e 100644
--- a/gems/aws-sdk-workspacesweb/sig/client.rbs
+++ b/gems/aws-sdk-workspacesweb/sig/client.rbs
@@ -455,6 +455,16 @@ module Aws
) -> _DisassociateUserSettingsResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DisassociateUserSettingsResponseSuccess
+ interface _ExpireSessionResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ExpireSessionResponse]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#expire_session-instance_method
+ def expire_session: (
+ portal_id: ::String,
+ session_id: ::String
+ ) -> _ExpireSessionResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ExpireSessionResponseSuccess
+
interface _GetBrowserSettingsResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetBrowserSettingsResponse]
def browser_settings: () -> Types::BrowserSettings
@@ -516,6 +526,17 @@ module Aws
) -> _GetPortalServiceProviderMetadataResponseSuccess
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetPortalServiceProviderMetadataResponseSuccess
+ interface _GetSessionResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSessionResponse]
+ def session: () -> Types::Session
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#get_session-instance_method
+ def get_session: (
+ portal_id: ::String,
+ session_id: ::String
+ ) -> _GetSessionResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSessionResponseSuccess
+
interface _GetTrustStoreResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::GetTrustStoreResponse]
def trust_store: () -> Types::TrustStore
@@ -619,6 +640,23 @@ module Aws
) -> _ListPortalsResponseSuccess
| (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListPortalsResponseSuccess
+ interface _ListSessionsResponseSuccess
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSessionsResponse]
+ def next_token: () -> ::String
+ def sessions: () -> ::Array[Types::SessionSummary]
+ end
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/WorkSpacesWeb/Client.html#list_sessions-instance_method
+ def list_sessions: (
+ ?max_results: ::Integer,
+ ?next_token: ::String,
+ portal_id: ::String,
+ ?session_id: ::String,
+ ?sort_by: ("StartTimeAscending" | "StartTimeDescending"),
+ ?status: ("Active" | "Terminated"),
+ ?username: ::String
+ ) -> _ListSessionsResponseSuccess
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSessionsResponseSuccess
+
interface _ListTagsForResourceResponseSuccess
include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
def tags: () -> ::Array[Types::Tag]
diff --git a/gems/aws-sdk-workspacesweb/sig/types.rbs b/gems/aws-sdk-workspacesweb/sig/types.rbs
index 1b234778f8b..2805d5f0054 100644
--- a/gems/aws-sdk-workspacesweb/sig/types.rbs
+++ b/gems/aws-sdk-workspacesweb/sig/types.rbs
@@ -373,6 +373,15 @@ module Aws::WorkSpacesWeb
class DisassociateUserSettingsResponse < Aws::EmptyStructure
end
+ class ExpireSessionRequest
+ attr_accessor portal_id: ::String
+ attr_accessor session_id: ::String
+ SENSITIVE: []
+ end
+
+ class ExpireSessionResponse < Aws::EmptyStructure
+ end
+
class GetBrowserSettingsRequest
attr_accessor browser_settings_arn: ::String
SENSITIVE: []
@@ -434,6 +443,17 @@ module Aws::WorkSpacesWeb
SENSITIVE: []
end
+ class GetSessionRequest
+ attr_accessor portal_id: ::String
+ attr_accessor session_id: ::String
+ SENSITIVE: []
+ end
+
+ class GetSessionResponse
+ attr_accessor session: Types::Session
+ SENSITIVE: []
+ end
+
class GetTrustStoreCertificateRequest
attr_accessor thumbprint: ::String
attr_accessor trust_store_arn: ::String
@@ -584,6 +604,23 @@ module Aws::WorkSpacesWeb
SENSITIVE: []
end
+ class ListSessionsRequest
+ attr_accessor max_results: ::Integer
+ attr_accessor next_token: ::String
+ attr_accessor portal_id: ::String
+ attr_accessor session_id: ::String
+ attr_accessor sort_by: ("StartTimeAscending" | "StartTimeDescending")
+ attr_accessor status: ("Active" | "Terminated")
+ attr_accessor username: ::String
+ SENSITIVE: [:username]
+ end
+
+ class ListSessionsResponse
+ attr_accessor next_token: ::String
+ attr_accessor sessions: ::Array[Types::SessionSummary]
+ SENSITIVE: []
+ end
+
class ListTagsForResourceRequest
attr_accessor resource_arn: ::String
SENSITIVE: []
@@ -718,6 +755,27 @@ module Aws::WorkSpacesWeb
SENSITIVE: []
end
+ class Session
+ attr_accessor client_ip_addresses: ::Array[::String]
+ attr_accessor end_time: ::Time
+ attr_accessor portal_arn: ::String
+ attr_accessor session_id: ::String
+ attr_accessor start_time: ::Time
+ attr_accessor status: ("Active" | "Terminated")
+ attr_accessor username: ::String
+ SENSITIVE: [:username]
+ end
+
+ class SessionSummary
+ attr_accessor end_time: ::Time
+ attr_accessor portal_arn: ::String
+ attr_accessor session_id: ::String
+ attr_accessor start_time: ::Time
+ attr_accessor status: ("Active" | "Terminated")
+ attr_accessor username: ::String
+ SENSITIVE: [:username]
+ end
+
class Tag
attr_accessor key: ::String
attr_accessor value: ::String
diff --git a/gems/aws-sdk-workspacesweb/spec/endpoint_provider_spec.rb b/gems/aws-sdk-workspacesweb/spec/endpoint_provider_spec.rb
index 28086cb66bc..5bd9c25f1c2 100644
--- a/gems/aws-sdk-workspacesweb/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-workspacesweb/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::WorkSpacesWeb
describe EndpointProvider do
subject { Aws::WorkSpacesWeb::EndpointProvider.new }
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web.eu-west-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web.us-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web.us-west-2.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web-fips.us-east-1.api.aws"}}
end
@@ -70,7 +70,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web-fips.us-east-1.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web.us-east-1.api.aws"}}
end
@@ -98,7 +98,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -112,7 +112,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -126,7 +126,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -140,7 +140,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web.cn-north-1.amazonaws.com.cn"}}
end
@@ -154,7 +154,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web-fips.us-gov-east-1.api.aws"}}
end
@@ -168,7 +168,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web.us-gov-east-1.api.aws"}}
end
@@ -196,7 +196,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web.us-gov-east-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -223,7 +223,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -237,7 +237,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -250,7 +250,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web.us-iso-east-1.c2s.ic.gov"}}
end
@@ -264,7 +264,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -277,7 +277,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -291,7 +291,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -304,7 +304,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://workspaces-web.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -318,7 +318,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -332,7 +332,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -346,7 +346,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -359,7 +359,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -372,7 +372,7 @@ module Aws::WorkSpacesWeb
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sdk-xray/CHANGELOG.md b/gems/aws-sdk-xray/CHANGELOG.md
index fc7c92b39fc..2d0b14b8c82 100644
--- a/gems/aws-sdk-xray/CHANGELOG.md
+++ b/gems/aws-sdk-xray/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.73.0 (2024-09-11)
+------------------
+
+* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
+
1.72.0 (2024-09-10)
------------------
diff --git a/gems/aws-sdk-xray/VERSION b/gems/aws-sdk-xray/VERSION
index 0834888f558..5e3a4256626 100644
--- a/gems/aws-sdk-xray/VERSION
+++ b/gems/aws-sdk-xray/VERSION
@@ -1 +1 @@
-1.72.0
+1.73.0
diff --git a/gems/aws-sdk-xray/aws-sdk-xray.gemspec b/gems/aws-sdk-xray/aws-sdk-xray.gemspec
index 7a926ec6927..d74916e4da3 100644
--- a/gems/aws-sdk-xray/aws-sdk-xray.gemspec
+++ b/gems/aws-sdk-xray/aws-sdk-xray.gemspec
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
'changelog_uri' => 'https://github.com/aws/aws-sdk-ruby/tree/version-3/gems/aws-sdk-xray/CHANGELOG.md'
}
- spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.203.0')
+ spec.add_dependency('aws-sdk-core', '~> 3', '>= 3.205.0')
spec.add_dependency('aws-sigv4', '~> 1.5')
spec.required_ruby_version = '>= 2.5'
diff --git a/gems/aws-sdk-xray/lib/aws-sdk-xray.rb b/gems/aws-sdk-xray/lib/aws-sdk-xray.rb
index aa5e09d0f8b..9bb30a8d719 100644
--- a/gems/aws-sdk-xray/lib/aws-sdk-xray.rb
+++ b/gems/aws-sdk-xray/lib/aws-sdk-xray.rb
@@ -52,6 +52,6 @@
# @!group service
module Aws::XRay
- GEM_VERSION = '1.72.0'
+ GEM_VERSION = '1.73.0'
end
diff --git a/gems/aws-sdk-xray/lib/aws-sdk-xray/client.rb b/gems/aws-sdk-xray/lib/aws-sdk-xray/client.rb
index 6dd42ce5b77..fdae48352e5 100644
--- a/gems/aws-sdk-xray/lib/aws-sdk-xray/client.rb
+++ b/gems/aws-sdk-xray/lib/aws-sdk-xray/client.rb
@@ -2288,7 +2288,7 @@ def build_request(operation_name, params = {})
tracer: tracer
)
context[:gem_name] = 'aws-sdk-xray'
- context[:gem_version] = '1.72.0'
+ context[:gem_version] = '1.73.0'
Seahorse::Client::Request.new(handlers, context)
end
diff --git a/gems/aws-sdk-xray/lib/aws-sdk-xray/endpoints.rb b/gems/aws-sdk-xray/lib/aws-sdk-xray/endpoints.rb
index 50c4c90e959..d1855ff64c2 100644
--- a/gems/aws-sdk-xray/lib/aws-sdk-xray/endpoints.rb
+++ b/gems/aws-sdk-xray/lib/aws-sdk-xray/endpoints.rb
@@ -14,420 +14,330 @@ module Endpoints
class BatchGetTraces
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class CreateSamplingRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class DeleteSamplingRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetEncryptionConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetGroups
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInsight
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInsightEvents
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInsightImpactGraph
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetInsightSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSamplingRules
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSamplingStatisticSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetSamplingTargets
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetServiceGraph
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTimeSeriesServiceStatistics
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTraceGraph
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class GetTraceSummaries
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListResourcePolicies
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class ListTagsForResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutEncryptionConfig
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutResourcePolicy
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutTelemetryRecords
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class PutTraceSegments
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class TagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UntagResource
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateGroup
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
class UpdateSamplingRule
def self.build(context)
- unless context.config.regional_endpoint
- endpoint = context.config.endpoint.to_s
- end
Aws::XRay::EndpointParameters.new(
region: context.config.region,
use_dual_stack: context.config.use_dualstack_endpoint,
use_fips: context.config.use_fips_endpoint,
- endpoint: endpoint,
+ endpoint: context.config.regional_endpoint ? nil : context.config.endpoint.to_s,
)
end
end
diff --git a/gems/aws-sdk-xray/lib/aws-sdk-xray/plugins/endpoints.rb b/gems/aws-sdk-xray/lib/aws-sdk-xray/plugins/endpoints.rb
index 83575ffafaa..ec846c8ae69 100644
--- a/gems/aws-sdk-xray/lib/aws-sdk-xray/plugins/endpoints.rb
+++ b/gems/aws-sdk-xray/lib/aws-sdk-xray/plugins/endpoints.rb
@@ -40,11 +40,20 @@ def call(context)
context[:auth_scheme] =
Aws::Endpoints.resolve_auth_scheme(context, endpoint)
- @handler.call(context)
+ with_metrics(context) { @handler.call(context) }
end
private
+ def with_metrics(context, &block)
+ metrics = []
+ metrics << 'ENDPOINT_OVERRIDE' unless context.config.regional_endpoint
+ if context[:auth_scheme] && context[:auth_scheme]['name'] == 'sigv4a'
+ metrics << 'SIGV4A_SIGNING'
+ end
+ Aws::Plugins::UserAgent.metric(*metrics, &block)
+ end
+
def apply_endpoint_headers(context, headers)
headers.each do |key, values|
value = values
diff --git a/gems/aws-sdk-xray/spec/endpoint_provider_spec.rb b/gems/aws-sdk-xray/spec/endpoint_provider_spec.rb
index c9b77c4aab5..f9b7c4b2bef 100644
--- a/gems/aws-sdk-xray/spec/endpoint_provider_spec.rb
+++ b/gems/aws-sdk-xray/spec/endpoint_provider_spec.rb
@@ -14,7 +14,7 @@ module Aws::XRay
describe EndpointProvider do
subject { Aws::XRay::EndpointProvider.new }
- context 'For region af-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region af-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.af-south-1.amazonaws.com"}}
end
@@ -28,7 +28,7 @@ module Aws::XRay
end
end
- context 'For region ap-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.ap-east-1.amazonaws.com"}}
end
@@ -42,7 +42,7 @@ module Aws::XRay
end
end
- context 'For region ap-northeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.ap-northeast-1.amazonaws.com"}}
end
@@ -56,7 +56,7 @@ module Aws::XRay
end
end
- context 'For region ap-northeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.ap-northeast-2.amazonaws.com"}}
end
@@ -70,7 +70,7 @@ module Aws::XRay
end
end
- context 'For region ap-northeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-northeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.ap-northeast-3.amazonaws.com"}}
end
@@ -84,7 +84,7 @@ module Aws::XRay
end
end
- context 'For region ap-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.ap-south-1.amazonaws.com"}}
end
@@ -98,7 +98,7 @@ module Aws::XRay
end
end
- context 'For region ap-southeast-1 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.ap-southeast-1.amazonaws.com"}}
end
@@ -112,7 +112,7 @@ module Aws::XRay
end
end
- context 'For region ap-southeast-2 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.ap-southeast-2.amazonaws.com"}}
end
@@ -126,7 +126,7 @@ module Aws::XRay
end
end
- context 'For region ap-southeast-3 with FIPS disabled and DualStack disabled' do
+ context "For region ap-southeast-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.ap-southeast-3.amazonaws.com"}}
end
@@ -140,7 +140,7 @@ module Aws::XRay
end
end
- context 'For region ca-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region ca-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.ca-central-1.amazonaws.com"}}
end
@@ -154,7 +154,7 @@ module Aws::XRay
end
end
- context 'For region eu-central-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-central-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.eu-central-1.amazonaws.com"}}
end
@@ -168,7 +168,7 @@ module Aws::XRay
end
end
- context 'For region eu-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.eu-north-1.amazonaws.com"}}
end
@@ -182,7 +182,7 @@ module Aws::XRay
end
end
- context 'For region eu-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.eu-south-1.amazonaws.com"}}
end
@@ -196,7 +196,7 @@ module Aws::XRay
end
end
- context 'For region eu-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.eu-west-1.amazonaws.com"}}
end
@@ -210,7 +210,7 @@ module Aws::XRay
end
end
- context 'For region eu-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.eu-west-2.amazonaws.com"}}
end
@@ -224,7 +224,7 @@ module Aws::XRay
end
end
- context 'For region eu-west-3 with FIPS disabled and DualStack disabled' do
+ context "For region eu-west-3 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.eu-west-3.amazonaws.com"}}
end
@@ -238,7 +238,7 @@ module Aws::XRay
end
end
- context 'For region me-south-1 with FIPS disabled and DualStack disabled' do
+ context "For region me-south-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.me-south-1.amazonaws.com"}}
end
@@ -252,7 +252,7 @@ module Aws::XRay
end
end
- context 'For region sa-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region sa-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.sa-east-1.amazonaws.com"}}
end
@@ -266,7 +266,7 @@ module Aws::XRay
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.us-east-1.amazonaws.com"}}
end
@@ -280,7 +280,7 @@ module Aws::XRay
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.us-east-1.amazonaws.com"}}
end
@@ -294,7 +294,7 @@ module Aws::XRay
end
end
- context 'For region us-east-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.us-east-2.amazonaws.com"}}
end
@@ -308,7 +308,7 @@ module Aws::XRay
end
end
- context 'For region us-east-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-east-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.us-east-2.amazonaws.com"}}
end
@@ -322,7 +322,7 @@ module Aws::XRay
end
end
- context 'For region us-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.us-west-1.amazonaws.com"}}
end
@@ -336,7 +336,7 @@ module Aws::XRay
end
end
- context 'For region us-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.us-west-1.amazonaws.com"}}
end
@@ -350,7 +350,7 @@ module Aws::XRay
end
end
- context 'For region us-west-2 with FIPS disabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.us-west-2.amazonaws.com"}}
end
@@ -364,7 +364,7 @@ module Aws::XRay
end
end
- context 'For region us-west-2 with FIPS enabled and DualStack disabled' do
+ context "For region us-west-2 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.us-west-2.amazonaws.com"}}
end
@@ -378,7 +378,7 @@ module Aws::XRay
end
end
- context 'For region us-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.us-east-1.api.aws"}}
end
@@ -392,7 +392,7 @@ module Aws::XRay
end
end
- context 'For region us-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.us-east-1.api.aws"}}
end
@@ -406,7 +406,7 @@ module Aws::XRay
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.cn-north-1.amazonaws.com.cn"}}
end
@@ -420,7 +420,7 @@ module Aws::XRay
end
end
- context 'For region cn-northwest-1 with FIPS disabled and DualStack disabled' do
+ context "For region cn-northwest-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.cn-northwest-1.amazonaws.com.cn"}}
end
@@ -434,7 +434,7 @@ module Aws::XRay
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -448,7 +448,7 @@ module Aws::XRay
end
end
- context 'For region cn-north-1 with FIPS enabled and DualStack disabled' do
+ context "For region cn-north-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.cn-north-1.amazonaws.com.cn"}}
end
@@ -462,7 +462,7 @@ module Aws::XRay
end
end
- context 'For region cn-north-1 with FIPS disabled and DualStack enabled' do
+ context "For region cn-north-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.cn-north-1.api.amazonwebservices.com.cn"}}
end
@@ -476,7 +476,7 @@ module Aws::XRay
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.us-gov-east-1.amazonaws.com"}}
end
@@ -490,7 +490,7 @@ module Aws::XRay
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.us-gov-east-1.amazonaws.com"}}
end
@@ -504,7 +504,7 @@ module Aws::XRay
end
end
- context 'For region us-gov-west-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.us-gov-west-1.amazonaws.com"}}
end
@@ -518,7 +518,7 @@ module Aws::XRay
end
end
- context 'For region us-gov-west-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-gov-west-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.us-gov-west-1.amazonaws.com"}}
end
@@ -532,7 +532,7 @@ module Aws::XRay
end
end
- context 'For region us-gov-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.us-gov-east-1.api.aws"}}
end
@@ -546,7 +546,7 @@ module Aws::XRay
end
end
- context 'For region us-gov-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-gov-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.us-gov-east-1.api.aws"}}
end
@@ -560,7 +560,7 @@ module Aws::XRay
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -573,7 +573,7 @@ module Aws::XRay
end
end
- context 'For region us-iso-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.us-iso-east-1.c2s.ic.gov"}}
end
@@ -587,7 +587,7 @@ module Aws::XRay
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -600,7 +600,7 @@ module Aws::XRay
end
end
- context 'For region us-iso-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-iso-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.us-iso-east-1.c2s.ic.gov"}}
end
@@ -614,7 +614,7 @@ module Aws::XRay
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack enabled" do
let(:expected) do
{"error"=>"FIPS and DualStack are enabled, but this partition does not support one or both"}
end
@@ -627,7 +627,7 @@ module Aws::XRay
end
end
- context 'For region us-isob-east-1 with FIPS enabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS enabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray-fips.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -641,7 +641,7 @@ module Aws::XRay
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack enabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack enabled" do
let(:expected) do
{"error"=>"DualStack is enabled but this partition does not support DualStack"}
end
@@ -654,7 +654,7 @@ module Aws::XRay
end
end
- context 'For region us-isob-east-1 with FIPS disabled and DualStack disabled' do
+ context "For region us-isob-east-1 with FIPS disabled and DualStack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://xray.us-isob-east-1.sc2s.sgov.gov"}}
end
@@ -668,7 +668,7 @@ module Aws::XRay
end
end
- context 'For custom endpoint with region set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -682,7 +682,7 @@ module Aws::XRay
end
end
- context 'For custom endpoint with region not set and fips disabled and dualstack disabled' do
+ context "For custom endpoint with region not set and fips disabled and dualstack disabled" do
let(:expected) do
{"endpoint"=>{"url"=>"https://example.com"}}
end
@@ -696,7 +696,7 @@ module Aws::XRay
end
end
- context 'For custom endpoint with fips enabled and dualstack disabled' do
+ context "For custom endpoint with fips enabled and dualstack disabled" do
let(:expected) do
{"error"=>"Invalid Configuration: FIPS and custom endpoint are not supported"}
end
@@ -709,7 +709,7 @@ module Aws::XRay
end
end
- context 'For custom endpoint with fips disabled and dualstack enabled' do
+ context "For custom endpoint with fips disabled and dualstack enabled" do
let(:expected) do
{"error"=>"Invalid Configuration: Dualstack and custom endpoint are not supported"}
end
@@ -722,7 +722,7 @@ module Aws::XRay
end
end
- context 'Missing region' do
+ context "Missing region" do
let(:expected) do
{"error"=>"Invalid Configuration: Missing Region"}
end
diff --git a/gems/aws-sigv4/CHANGELOG.md b/gems/aws-sigv4/CHANGELOG.md
index 2c450fbc80f..2133ff93d88 100644
--- a/gems/aws-sigv4/CHANGELOG.md
+++ b/gems/aws-sigv4/CHANGELOG.md
@@ -1,6 +1,11 @@
Unreleased Changes
------------------
+1.10.0 (2024-09-17)
+------------------
+
+* Feature - Remove CRT `sigv4a` signing capability.
+
1.9.1 (2024-07-29)
------------------
diff --git a/gems/aws-sigv4/VERSION b/gems/aws-sigv4/VERSION
index 9ab8337f396..81c871de46b 100644
--- a/gems/aws-sigv4/VERSION
+++ b/gems/aws-sigv4/VERSION
@@ -1 +1 @@
-1.9.1
+1.10.0
diff --git a/gems/aws-sigv4/lib/aws-sigv4/signer.rb b/gems/aws-sigv4/lib/aws-sigv4/signer.rb
index e1083939efd..bf9a213fc58 100644
--- a/gems/aws-sigv4/lib/aws-sigv4/signer.rb
+++ b/gems/aws-sigv4/lib/aws-sigv4/signer.rb
@@ -74,15 +74,6 @@ module Sigv4
# and `#session_token`.
#
class Signer
-
- @@use_crt =
- begin
- require 'aws-crt'
- true
- rescue LoadError
- false
- end
-
# @overload initialize(service:, region:, access_key_id:, secret_access_key:, session_token:nil, **options)
# @param [String] :service The service signing name, e.g. 's3'.
# @param [String] :region The region name, e.g. 'us-east-1'. When signing
@@ -154,13 +145,6 @@ def initialize(options = {})
@signing_algorithm = options.fetch(:signing_algorithm, :sigv4)
@normalize_path = options.fetch(:normalize_path, true)
@omit_session_token = options.fetch(:omit_session_token, false)
-
- if @signing_algorithm == 'sigv4-s3express'.to_sym &&
- Signer.use_crt? && Aws::Crt::GEM_VERSION <= '0.1.9'
- raise ArgumentError,
- 'This version of aws-crt does not support S3 Express. Please
- update this gem to at least version 0.2.0.'
- end
end
# @return [String]
@@ -236,9 +220,6 @@ def initialize(options = {})
# a `#headers` method. The headers must be applied to your request.
#
def sign_request(request)
-
- return crt_sign_request(request) if Signer.use_crt?
-
creds, _ = fetch_credentials
http_method = extract_http_method(request)
@@ -344,7 +325,6 @@ def sign_request(request)
# signature value (a binary string) used at ':chunk-signature' needs to converted to
# hex-encoded string using #unpack
def sign_event(prior_signature, payload, encoder)
- # Note: CRT does not currently provide event stream signing, so we always use the ruby implementation.
creds, _ = fetch_credentials
time = Time.now
headers = {}
@@ -431,9 +411,6 @@ def sign_event(prior_signature, payload, encoder)
# @return [HTTPS::URI, HTTP::URI]
#
def presign_url(options)
-
- return crt_presign_url(options) if Signer.use_crt?
-
creds, expiration = fetch_credentials
http_method = extract_http_method(options)
@@ -801,129 +778,12 @@ def presigned_url_expiration(options, expiration, datetime)
end
end
- ### CRT Code
-
- # the credentials used by CRT must be a
- # CRT StaticCredentialsProvider object
- def crt_fetch_credentials
- creds, expiration = fetch_credentials
- crt_creds = Aws::Crt::Auth::StaticCredentialsProvider.new(
- creds.access_key_id,
- creds.secret_access_key,
- creds.session_token
- )
- [crt_creds, expiration]
- end
-
- def crt_sign_request(request)
- creds, _ = crt_fetch_credentials
- http_method = extract_http_method(request)
- url = extract_url(request)
- headers = downcase_headers(request[:headers])
-
- datetime =
- if headers.include? 'x-amz-date'
- Time.parse(headers.delete('x-amz-date'))
- end
-
- content_sha256 = headers.delete('x-amz-content-sha256')
- content_sha256 ||= sha256_hexdigest(request[:body] || '')
-
- sigv4_headers = {}
- sigv4_headers['host'] = headers['host'] || host(url)
-
- # Modify the user-agent to add usage of crt-signer
- # This should be temporary during developer preview only
- if headers.include? 'user-agent'
- headers['user-agent'] = "#{headers['user-agent']} crt-signer/#{@signing_algorithm}/#{Aws::Sigv4::VERSION}"
- sigv4_headers['user-agent'] = headers['user-agent']
- end
-
- headers = headers.merge(sigv4_headers) # merge so we do not modify given headers hash
-
- config = Aws::Crt::Auth::SigningConfig.new(
- algorithm: @signing_algorithm,
- signature_type: :http_request_headers,
- region: @region,
- service: @service,
- date: datetime,
- signed_body_value: content_sha256,
- signed_body_header_type: @apply_checksum_header ?
- :sbht_content_sha256 : :sbht_none,
- credentials: creds,
- unsigned_headers: @unsigned_headers,
- use_double_uri_encode: @uri_escape_path,
- should_normalize_uri_path: @normalize_path,
- omit_session_token: @omit_session_token
- )
- http_request = Aws::Crt::Http::Message.new(
- http_method, url.to_s, headers
- )
- signable = Aws::Crt::Auth::Signable.new(http_request)
-
- signing_result = Aws::Crt::Auth::Signer.sign_request(config, signable)
-
- Signature.new(
- headers: sigv4_headers.merge(
- downcase_headers(signing_result[:headers])
- ),
- string_to_sign: 'CRT_INTERNAL',
- canonical_request: 'CRT_INTERNAL',
- content_sha256: content_sha256,
- extra: {config: config, signable: signable}
- )
- end
-
- def crt_presign_url(options)
- creds, expiration = crt_fetch_credentials
-
- http_method = extract_http_method(options)
- url = extract_url(options)
- headers = downcase_headers(options[:headers])
- headers['host'] ||= host(url)
-
- datetime = Time.strptime(headers.delete('x-amz-date'), "%Y%m%dT%H%M%S%Z") if headers['x-amz-date']
- datetime ||= (options[:time] || Time.now)
-
- content_sha256 = headers.delete('x-amz-content-sha256')
- content_sha256 ||= options[:body_digest]
- content_sha256 ||= sha256_hexdigest(options[:body] || '')
-
- config = Aws::Crt::Auth::SigningConfig.new(
- algorithm: @signing_algorithm,
- signature_type: :http_request_query_params,
- region: @region,
- service: @service,
- date: datetime,
- signed_body_value: content_sha256,
- signed_body_header_type: @apply_checksum_header ?
- :sbht_content_sha256 : :sbht_none,
- credentials: creds,
- unsigned_headers: @unsigned_headers,
- use_double_uri_encode: @uri_escape_path,
- should_normalize_uri_path: @normalize_path,
- omit_session_token: @omit_session_token,
- expiration_in_seconds: presigned_url_expiration(options, expiration, datetime)
- )
- http_request = Aws::Crt::Http::Message.new(
- http_method, url.to_s, headers
- )
- signable = Aws::Crt::Auth::Signable.new(http_request)
-
- signing_result = Aws::Crt::Auth::Signer.sign_request(config, signable, http_method, url.to_s)
- url = URI.parse(signing_result[:path])
-
- if options[:extra] && options[:extra].is_a?(Hash)
- options[:extra][:config] = config
- options[:extra][:signable] = signable
- end
- url
- end
-
class << self
+ # Kept for backwards compatability
+ # Always return false since we are not using crt signing functionality
def use_crt?
- @@use_crt
+ false
end
# @api private
diff --git a/gems/aws-sigv4/spec/signer_spec.rb b/gems/aws-sigv4/spec/signer_spec.rb
index 642dae3570e..24da8c2f520 100644
--- a/gems/aws-sigv4/spec/signer_spec.rb
+++ b/gems/aws-sigv4/spec/signer_spec.rb
@@ -357,8 +357,6 @@ module Sigv4
end
it 'escapes path for the canonical request by default' do
- skip("CRT does not provide canonical request") if Signer.use_crt?
-
signature = Signer.new(options).sign_request(
http_method: 'GET',
url: 'https://domain.com/foo%bar'
@@ -367,8 +365,6 @@ module Sigv4
end
it 'escapes path for the canonical request if :uri_escape_path is true' do
- skip("CRT does not provide canonical request") if Signer.use_crt?
-
options[:uri_escape_path] = true
signature = Signer.new(options).sign_request(
http_method: 'GET',
@@ -378,8 +374,6 @@ module Sigv4
end
it 'does not escape path for the canonical request if :uri_escape_path is false' do
- skip("CRT does not provide canonical request") if Signer.use_crt?
-
options[:uri_escape_path] = false
signature = Signer.new(options).sign_request(
http_method: 'GET',
@@ -427,9 +421,6 @@ module Sigv4
end
context ':canonical_request' do
-
- before { skip("CRT Signer does not expose canonical request") if Signer.use_crt? }
-
it 'lower-cases and sort all header keys except authorization' do
signature = Signer.new(options).sign_request(
http_method: 'PUT',
diff --git a/gems/aws-sigv4/spec/sigv4a_suite_spec.rb b/gems/aws-sigv4/spec/sigv4a_suite_spec.rb
index 9afd46bee4f..6f9316f4feb 100644
--- a/gems/aws-sigv4/spec/sigv4a_suite_spec.rb
+++ b/gems/aws-sigv4/spec/sigv4a_suite_spec.rb
@@ -90,51 +90,45 @@ def skip_if_test_missing(path, file_name)
end
context 'header' do
- # CRT does not provide canonical request
- unless Signer.use_crt?
- it 'verifies canonical request' do
- skip_if_test_missing(path, 'header-canonical-request.txt')
+ it 'verifies canonical request' do
+ skip_if_test_missing(path, 'header-canonical-request.txt')
- signature = signer.sign_request(request)
+ signature = signer.sign_request(request)
- computed = signature.canonical_request
- SpecHelper.debug("COMPUTED CANONICAL_REQUEST: |#{computed}|")
- expected = File.read(
- File.join(path, 'header-canonical-request.txt'),
- encoding: 'utf-8'
- )
- SpecHelper.debug("EXPECTED CANONICAL_REQUEST: |#{expected}|")
+ computed = signature.canonical_request
+ SpecHelper.debug("COMPUTED CANONICAL_REQUEST: |#{computed}|")
+ expected = File.read(
+ File.join(path, 'header-canonical-request.txt'),
+ encoding: 'utf-8'
+ )
+ SpecHelper.debug("EXPECTED CANONICAL_REQUEST: |#{expected}|")
- expect(computed).to eq(expected)
- end
+ expect(computed).to eq(expected)
end
- # CRT does not provide signature or pk
- unless Signer.use_crt?
- it 'computes the public key' do
- skip_if_test_missing(path, 'public-key.json')
- expected_pk = JSON.parse(File.read(File.join(path, 'public-key.json')))
+ it 'computes the public key' do
+ skip_if_test_missing(path, 'public-key.json')
+ expected_pk = JSON.parse(File.read(File.join(path, 'public-key.json')))
- expect(extra[:pk_x].to_s(16)).to eq expected_pk['X']
- expect(extra[:pk_y].to_s(16)).to eq expected_pk['Y']
- end
+ expect(extra[:pk_x].to_s(16)).to eq expected_pk['X']
+ expect(extra[:pk_y].to_s(16)).to eq expected_pk['Y']
+ end
- it 'verifies signature' do
- skip_if_test_missing(path, 'header-signature.txt')
+ it 'verifies signature' do
+ skip_if_test_missing(path, 'header-signature.txt')
- signature = signer.sign_request(request)
+ signature = signer.sign_request(request)
- computed = signature.signature
- SpecHelper.debug("COMPUTED SIGNATURE: |#{computed}|")
- expected = File.read(
- File.join(path, 'header-signature.txt'),
- encoding: 'utf-8'
- )
- SpecHelper.debug("EXPECTED SIGNATURE: |#{expected}|")
+ computed = signature.signature
+ SpecHelper.debug("COMPUTED SIGNATURE: |#{computed}|")
+ expected = File.read(
+ File.join(path, 'header-signature.txt'),
+ encoding: 'utf-8'
+ )
+ SpecHelper.debug("EXPECTED SIGNATURE: |#{expected}|")
- sts_digest = OpenSSL::Digest::SHA256.digest(signature.string_to_sign)
- verify_signature(computed, expected, extra, sts_digest)
- end
+ sts_digest = OpenSSL::Digest::SHA256.digest(signature.string_to_sign)
+ verify_signature(computed, expected, extra, sts_digest)
end
it 'verifies signed request' do
@@ -174,23 +168,20 @@ def skip_if_test_missing(path, file_name)
end
end
- # CRT does not provide string to sign
- unless Signer.use_crt?
- it 'verifies string to sign' do
- skip_if_test_missing(path, 'header-string-to-sign.txt')
+ it 'verifies string to sign' do
+ skip_if_test_missing(path, 'header-string-to-sign.txt')
- signature = signer.sign_request(request)
+ signature = signer.sign_request(request)
- computed = signature.string_to_sign
- SpecHelper.debug("COMPUTED STRING TO SIGN: |#{computed}|")
- expected = File.read(
- File.join(path, 'header-string-to-sign.txt'),
- encoding: 'utf-8'
- )
- SpecHelper.debug("EXPECTED STRING TO SIGN: |#{expected}|")
+ computed = signature.string_to_sign
+ SpecHelper.debug("COMPUTED STRING TO SIGN: |#{computed}|")
+ expected = File.read(
+ File.join(path, 'header-string-to-sign.txt'),
+ encoding: 'utf-8'
+ )
+ SpecHelper.debug("EXPECTED STRING TO SIGN: |#{expected}|")
- expect(computed).to eq(expected)
- end
+ expect(computed).to eq(expected)
end
end
diff --git a/gems/aws-sigv4/spec/suite_spec.rb b/gems/aws-sigv4/spec/suite_spec.rb
index 4790945e3ac..923a272c85e 100644
--- a/gems/aws-sigv4/spec/suite_spec.rb
+++ b/gems/aws-sigv4/spec/suite_spec.rb
@@ -36,7 +36,6 @@ module Sigv4
}
it 'computes the canonical request' do # creq
- skip("CRT Signer does not provide canonical request") if Signer.use_crt?
signature = signer.sign_request(request)
computed = signature.canonical_request
expected = File.read("#{prefix}.creq", encoding: "utf-8")
@@ -46,8 +45,6 @@ module Sigv4
end
it 'computes the string to sign' do # sts
- skip("CRT Signer does not provide string to sign") if Signer.use_crt?
-
signature = signer.sign_request(request)
computed = signature.string_to_sign
expected = File.read("#{prefix}.sts", encoding: "utf-8")
diff --git a/services.json b/services.json
index 312f3f9b7b2..1243e599cc0 100644
--- a/services.json
+++ b/services.json
@@ -359,6 +359,9 @@
"DirectoryService": {
"models": "ds/2015-04-16"
},
+ "DirectoryServiceData": {
+ "models": "directory-service-data/2023-05-31"
+ },
"DocDB": {
"models": "docdb/2014-10-31",
"addPlugins": [
@@ -1241,9 +1244,6 @@
"WorkDocs": {
"models": "workdocs/2016-05-01"
},
- "WorkLink": {
- "models": "worklink/2018-09-25"
- },
"WorkMail": {
"models": "workmail/2017-10-01"
},